diff --git a/src/front/dist/assets/AboutInspectionPage-fa37cc96.js b/src/front/dist/assets/AboutInspectionPage-ea64667f.js similarity index 83% rename from src/front/dist/assets/AboutInspectionPage-fa37cc96.js rename to src/front/dist/assets/AboutInspectionPage-ea64667f.js index b5308c55d..91da42c29 100644 --- a/src/front/dist/assets/AboutInspectionPage-fa37cc96.js +++ b/src/front/dist/assets/AboutInspectionPage-ea64667f.js @@ -1 +1 @@ -import{_ as t,aB as a,C as s,D as o,E as e,K as c,F as n,G as r,L as l}from"./index-c88a2b18.js";const p={setup(){a()}};function _(f,i,u,x,d,g){return s(),o(c,null,{default:e(()=>[n(l,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[r(" Об инспекции ")]),_:1})]),_:1})}const V=t(p,[["render",_]]);export{V as default}; +import{_ as t,aB as a,C as s,D as o,E as e,K as c,F as n,G as r,L as l}from"./index-cb66bb90.js";const p={setup(){a()}};function _(f,i,u,x,d,g){return s(),o(c,null,{default:e(()=>[n(l,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[r(" Об инспекции ")]),_:1})]),_:1})}const V=t(p,[["render",_]]);export{V as default}; diff --git a/src/front/dist/assets/AboutPortalPage-a0498869.js b/src/front/dist/assets/AboutPortalPage-a0498869.js new file mode 100644 index 000000000..03c77ae15 --- /dev/null +++ b/src/front/dist/assets/AboutPortalPage-a0498869.js @@ -0,0 +1 @@ +import{p as m,a1 as b,a2 as v,a4 as g,a5 as _,a6 as p,a8 as x,b8 as y,ac as k,F as o,b as T,_ as V,aB as B,r as C,aG as P,C as r,D as w,E as c,K as F,S as t,Y as h,$,Z as D,L as N,ad as f}from"./index-cb66bb90.js";const S=m({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...b(),...v(),...g(),..._()},"VTable"),E=p()({name:"VTable",props:S(),setup(e,i){let{slots:a}=i;const{themeClasses:l}=x(e),{densityClasses:d}=y(e);return k(()=>o(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!a.top,"v-table--has-bottom":!!a.bottom,"v-table--hover":e.hover},l.value,d.value,e.class],style:e.style},{default:()=>{var n,s,u;return[(n=a.top)==null?void 0:n.call(a),a.default?o("div",{class:"v-table__wrapper",style:{height:T(e.height)}},[o("table",null,[a.default()])]):(s=a.wrapper)==null?void 0:s.call(a),(u=a.bottom)==null?void 0:u.call(a)]}})),{}}}),H={setup(){B();const e=C({});return P("api/watcher/counter/",e),{visiting:e}}},L=t("thead",null,[t("tr",null,[t("th",{class:"text-left"}," Страница "),t("th",{class:"text-left"}," Количество посещений ")])],-1);function R(e,i,a,l,d,n){return r(),w(F,null,{default:c(()=>[o(N,{class:"ma-3"},{default:c(()=>[o(E,{density:"compact",class:"mt-3"},{default:c(()=>[L,t("tbody",null,[(r(!0),h(D,null,$(l.visiting.pages,s=>(r(),h("tr",{key:s.name},[t("td",null,f(s.page),1),t("td",null,f(s.count__sum),1)]))),128))])]),_:1})]),_:1})]),_:1})}const G=V(H,[["render",R]]);export{G as default}; diff --git a/src/front/dist/assets/AboutPortalPage-ebcc1a6f.js b/src/front/dist/assets/AboutPortalPage-ebcc1a6f.js deleted file mode 100644 index b71c6143f..000000000 --- a/src/front/dist/assets/AboutPortalPage-ebcc1a6f.js +++ /dev/null @@ -1 +0,0 @@ -import{p as g,a1 as v,a2 as p,a4 as x,a5 as y,a6 as k,a8 as T,b8 as V,ac as B,F as l,b as C,_ as P,aB as w,r as F,aG as D,C as n,D as $,E as c,K as N,S as e,Y as u,$ as m,Z as _,L as S,ad as o}from"./index-c88a2b18.js";const E=g({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...v(),...p(),...x(),...y()},"VTable"),b=k()({name:"VTable",props:E(),setup(t,i){let{slots:a}=i;const{themeClasses:r}=T(t),{densityClasses:h}=V(t);return B(()=>l(t.tag,{class:["v-table",{"v-table--fixed-height":!!t.height,"v-table--fixed-header":t.fixedHeader,"v-table--fixed-footer":t.fixedFooter,"v-table--has-top":!!a.top,"v-table--has-bottom":!!a.bottom,"v-table--hover":t.hover},r.value,h.value,t.class],style:t.style},{default:()=>{var d,s,f;return[(d=a.top)==null?void 0:d.call(a),a.default?l("div",{class:"v-table__wrapper",style:{height:C(t.height)}},[l("table",null,[a.default()])]):(s=a.wrapper)==null?void 0:s.call(a),(f=a.bottom)==null?void 0:f.call(a)]}})),{}}}),H={setup(){w();const t=F({});return D("api/watcher/counter/",t),{visiting:t}}},L=e("thead",null,[e("tr",null,[e("th",{class:"text-left"}," Страница "),e("th",{class:"text-left"}," Количество посещений ")])],-1),R=e("thead",null,[e("tr",null,[e("th",{class:"text-left"}," Пользователь "),e("th",{class:"text-left"}," Страница "),e("th",{class:"text-left"}," Количество посещений ")])],-1);function A(t,i,a,r,h,d){return n(),$(N,null,{default:c(()=>[l(S,{class:"ma-3"},{default:c(()=>[l(b,{density:"compact",class:"mt-3"},{default:c(()=>[L,e("tbody",null,[(n(!0),u(_,null,m(r.visiting.pages,s=>(n(),u("tr",{key:s.name},[e("td",null,o(s.page),1),e("td",null,o(s.count__sum),1)]))),128))])]),_:1}),l(b,{density:"compact",class:"mt-3"},{default:c(()=>[R,e("tbody",null,[(n(!0),u(_,null,m(r.visiting.users,s=>(n(),u("tr",{key:s.name},[e("td",null,o(s.user__username),1),e("td",null,o(s.page),1),e("td",null,o(s.count__sum),1)]))),128))])]),_:1})]),_:1})]),_:1})}const K=P(H,[["render",A]]);export{K as default}; diff --git a/src/front/dist/assets/DefaultPortal-3d054fd1.js b/src/front/dist/assets/DefaultPortal-442167c2.js similarity index 99% rename from src/front/dist/assets/DefaultPortal-3d054fd1.js rename to src/front/dist/assets/DefaultPortal-442167c2.js index f349ceea3..63e591bbf 100644 --- a/src/front/dist/assets/DefaultPortal-3d054fd1.js +++ b/src/front/dist/assets/DefaultPortal-442167c2.js @@ -1 +1 @@ -import{p as Q,i as _e,c as b,r as R,a as te,b as ne,d as ht,s as M,o as pe,e as Oe,f as Wt,h as yt,j as Yt,k as Xt,l as Se,m as Zt,n as Kt,q as Jt,t as pt,w as z,u as Ue,v as C,x as Qt,y as ea,z as He,_ as Le,A as We,B as bt,C as O,D as L,E as h,F as r,V as Y,G as B,H as G,I as wt,J as $t,K as re,L as K,M as _t,N as ta,O as aa,P as na,Q as la,R as we,S as U,T as oa,U as ra,W as ia,X as ye,Y as ae,Z as J,$ as $e,a0 as Qe,a1 as be,a2 as sa,a3 as ua,a4 as ke,a5 as Ae,a6 as de,a7 as ca,a8 as je,a9 as Ye,aa as xt,ab as da,ac as ve,ad as N,ae as le,af as et,ag as Xe,ah as Vt,ai as St,aj as kt,ak as Fe,al as xe,am as Ct,an as Rt,ao as Ot,ap as Et,aq as Tt,ar as Be,as as va,at as ma,au as fa,av as ga,aw as ha,ax as ya,ay as pa,az as ba,aA as wa,aB as $a,aC as _a,aD as xa,aE as Va,aF as Sa}from"./index-c88a2b18.js";import{u as ka,V as q,a as Ca}from"./VBtn-3e30d8f6.js";import{V as Pt}from"./VContainer-efd2f5bf.js";import{V as tt,a as Ee,b as ue,c as ce,d as ze,e as Ra}from"./VList-1710ecfb.js";import{V as It}from"./VSpacer-fbe6a467.js";import{V as Oa}from"./VAlert-e3223400.js";import{C as Lt,V as W}from"./VTooltip-37ca3885.js";import{V as Ea,u as Ze}from"./VTextarea-86c6c8f9.js";import"./VInput-b34b1163.js";import"./VWindowItem-68f94bab.js";const Te=Symbol.for("vuetify:layout"),At=Symbol.for("vuetify:layout-item"),at=1e3,Ta=Q({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),jt=Q({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function Pa(){const e=_e(Te);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Dt(e){const n=_e(Te);if(!n)throw new Error("[Vuetify] Could not find injected layout");const a=e.id??`layout-item-${yt()}`,t=ht("useLayoutItem");Oe(At,{id:a});const l=M(!1);Yt(()=>l.value=!0),Xt(()=>l.value=!1);const{layoutItemStyles:o,layoutItemScrimStyles:u}=n.register(t,{...e,active:b(()=>l.value?!1:e.active.value),id:a});return Se(()=>n.unregister(a)),{layoutItemStyles:o,layoutRect:n.layoutRect,layoutItemScrimStyles:u}}const Ia=(e,n,a,t)=>{let l={top:0,left:0,right:0,bottom:0};const o=[{id:"",layer:{...l}}];for(const u of e){const d=n.get(u),m=a.get(u),c=t.get(u);if(!d||!m||!c)continue;const v={...l,[d.value]:parseInt(l[d.value],10)+(c.value?parseInt(m.value,10):0)};o.push({id:u,layer:v}),l=v}return o};function La(e){const n=_e(Te,null),a=b(()=>n?n.rootZIndex.value-100:at),t=R([]),l=te(new Map),o=te(new Map),u=te(new Map),d=te(new Map),m=te(new Map),{resizeRef:c,contentRect:v}=ka(),i=b(()=>{const $=new Map,x=e.overlaps??[];for(const S of x.filter(E=>E.includes(":"))){const[E,T]=S.split(":");if(!t.value.includes(E)||!t.value.includes(T))continue;const j=l.get(E),H=l.get(T),X=o.get(E),ee=o.get(T);!j||!H||!X||!ee||($.set(T,{position:j.value,amount:parseInt(X.value,10)}),$.set(E,{position:H.value,amount:-parseInt(ee.value,10)}))}return $}),p=b(()=>{const $=[...new Set([...u.values()].map(S=>S.value))].sort((S,E)=>S-E),x=[];for(const S of $){const E=t.value.filter(T=>{var j;return((j=u.get(T))==null?void 0:j.value)===S});x.push(...E)}return Ia(x,l,o,d)}),f=b(()=>!Array.from(m.values()).some($=>$.value)),s=b(()=>p.value[p.value.length-1].layer),g=b(()=>({"--v-layout-left":ne(s.value.left),"--v-layout-right":ne(s.value.right),"--v-layout-top":ne(s.value.top),"--v-layout-bottom":ne(s.value.bottom),...f.value?void 0:{transition:"none"}})),y=b(()=>p.value.slice(1).map(($,x)=>{let{id:S}=$;const{layer:E}=p.value[x],T=o.get(S),j=l.get(S);return{id:S,...E,size:Number(T.value),position:j.value}})),w=$=>y.value.find(x=>x.id===$),V=ht("createLayout"),I=M(!1);pe(()=>{I.value=!0}),Oe(Te,{register:($,x)=>{let{id:S,order:E,position:T,layoutSize:j,elementSize:H,active:X,disableTransitions:ee,absolute:se}=x;u.set(S,E),l.set(S,T),o.set(S,j),d.set(S,X),ee&&m.set(S,ee);const me=Wt(At,V==null?void 0:V.vnode).indexOf($);me>-1?t.value.splice(me,0,S):t.value.push(S);const fe=b(()=>y.value.findIndex(D=>D.id===S)),A=b(()=>a.value+p.value.length*2-fe.value*2),P=b(()=>{const D=T.value==="left"||T.value==="right",ge=T.value==="right",qt=T.value==="bottom",Je={[T.value]:0,zIndex:A.value,transform:`translate${D?"X":"Y"}(${(X.value?0:-110)*(ge||qt?-1:1)}%)`,position:se.value||a.value!==at?"absolute":"fixed",...f.value?void 0:{transition:"none"}};if(!I.value)return Je;const Z=y.value[fe.value];if(!Z)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const Me=i.value.get(S);return Me&&(Z[Me.position]+=Me.amount),{...Je,height:D?`calc(100% - ${Z.top}px - ${Z.bottom}px)`:H.value?`${H.value}px`:void 0,left:ge?void 0:`${Z.left}px`,right:ge?`${Z.right}px`:void 0,top:T.value!=="bottom"?`${Z.top}px`:void 0,bottom:T.value!=="top"?`${Z.bottom}px`:void 0,width:D?H.value?`${H.value}px`:void 0:`calc(100% - ${Z.left}px - ${Z.right}px)`}}),F=b(()=>({zIndex:A.value-1}));return{layoutItemStyles:P,layoutItemScrimStyles:F,zIndex:A}},unregister:$=>{u.delete($),l.delete($),o.delete($),d.delete($),m.delete($),t.value=t.value.filter(x=>x!==$)},mainRect:s,mainStyles:g,getLayoutItem:w,items:y,layoutRect:v,rootZIndex:a});const k=b(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),_=b(()=>({zIndex:a.value,position:n?"relative":void 0,overflow:n?"hidden":void 0}));return{layoutClasses:k,layoutStyles:_,getLayoutItem:w,items:y,layoutRect:v,layoutRef:c}}const Aa=Zt("MainmenuStore",()=>{const e=R([]);return{portallinks:e,loadlinks:async()=>{const a=await Kt.get("api/navigation/links/");e.value=a.data}}});function nt(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),a.push.apply(a,t)}return a}function oe(e){for(var n=1;n1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((a,t)=>(n.includes(t)||(a[t]=C(e[t])),a),{})}function Pe(e){return typeof e=="function"}function Da(e){return Qt(e)||ea(e)}function Mt(e,n,a){let t=e;const l=n.split(".");for(let o=0;oe.some(t=>Mt(n,t,{[a]:!1})[a]))}function ot(e,n,a){return b(()=>e.reduce((t,l)=>{const o=Mt(n,l,{[a]:!1})[a]||[];return t.concat(o)},[]))}function Bt(e,n,a,t){return e.call(t,C(n),C(a),t)}function zt(e){return e.$valid!==void 0?!e.$valid:!e}function Ma(e,n,a,t,l,o,u){let{$lazy:d,$rewardEarly:m}=l,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],v=arguments.length>8?arguments[8]:void 0,i=arguments.length>9?arguments[9]:void 0,p=arguments.length>10?arguments[10]:void 0;const f=R(!!t.value),s=R(0);a.value=!1;const g=z([n,t].concat(c,p),()=>{if(d&&!t.value||m&&!i.value&&!a.value)return;let y;try{y=Bt(e,n,v,u)}catch(w){y=Promise.reject(w)}s.value++,a.value=!!s.value,f.value=!1,Promise.resolve(y).then(w=>{s.value--,a.value=!!s.value,o.value=w,f.value=zt(w)}).catch(w=>{s.value--,a.value=!!s.value,o.value=w,f.value=!0})},{immediate:!0,deep:typeof n=="object"});return{$invalid:f,$unwatch:g}}function Ba(e,n,a,t,l,o,u,d){let{$lazy:m,$rewardEarly:c}=t;const v=()=>({}),i=b(()=>{if(m&&!a.value||c&&!d.value)return!1;let p=!0;try{const f=Bt(e,n,u,o);l.value=f,p=zt(f)}catch(f){l.value=f}return p});return{$unwatch:v,$invalid:i}}function za(e,n,a,t,l,o,u,d,m,c,v){const i=R(!1),p=e.$params||{},f=R(null);let s,g;e.$async?{$invalid:s,$unwatch:g}=Ma(e.$validator,n,i,a,t,f,l,e.$watchTargets,m,c,v):{$invalid:s,$unwatch:g}=Ba(e.$validator,n,a,t,f,l,m,c);const y=e.$message;return{$message:Pe(y)?b(()=>y(lt({$pending:i,$invalid:s,$params:lt(p),$model:n,$response:f,$validator:o,$propertyPath:d,$property:u}))):y||"",$params:p,$pending:i,$invalid:s,$response:f,$unwatch:g}}function Na(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=C(e),a=Object.keys(n),t={},l={},o={};let u=null;return a.forEach(d=>{const m=n[d];switch(!0){case Pe(m.$validator):t[d]=m;break;case Pe(m):t[d]={$validator:m};break;case d==="$validationGroups":u=m;break;case d.startsWith("$"):o[d]=m;break;default:l[d]=m}}),{rules:t,nestedValidators:l,config:o,validationGroups:u}}const Ua="__root";function Ha(e,n,a,t,l,o,u,d,m){const c=Object.keys(e),v=t.get(l,e),i=R(!1),p=R(!1),f=R(0);if(v){if(!v.$partial)return v;v.$unwatch(),i.value=v.$dirty.value}const s={$dirty:i,$path:l,$touch:()=>{i.value||(i.value=!0)},$reset:()=>{i.value&&(i.value=!1)},$commit:()=>{}};return c.length?(c.forEach(g=>{s[g]=za(e[g],n,s.$dirty,o,u,g,a,l,m,p,f)}),s.$externalResults=b(()=>d.value?[].concat(d.value).map((g,y)=>({$propertyPath:l,$property:a,$validator:"$externalResults",$uid:`${l}-externalResult-${y}`,$message:g,$params:{},$response:null,$pending:!1})):[]),s.$invalid=b(()=>{const g=c.some(y=>C(s[y].$invalid));return p.value=g,!!s.$externalResults.value.length||g}),s.$pending=b(()=>c.some(g=>C(s[g].$pending))),s.$error=b(()=>s.$dirty.value?s.$pending.value||s.$invalid.value:!1),s.$silentErrors=b(()=>c.filter(g=>C(s[g].$invalid)).map(g=>{const y=s[g];return te({$propertyPath:l,$property:a,$validator:g,$uid:`${l}-${g}`,$message:y.$message,$params:y.$params,$response:y.$response,$pending:y.$pending})}).concat(s.$externalResults.value)),s.$errors=b(()=>s.$dirty.value?s.$silentErrors.value:[]),s.$unwatch=()=>c.forEach(g=>{s[g].$unwatch()}),s.$commit=()=>{p.value=!0,f.value=Date.now()},t.set(l,e,s),s):(v&&t.set(l,e,s),s)}function Fa(e,n,a,t,l,o,u){const d=Object.keys(e);return d.length?d.reduce((m,c)=>(m[c]=Ge({validations:e[c],state:n,key:c,parentKey:a,resultsCache:t,globalConfig:l,instance:o,externalResults:u}),m),{}):{}}function Ga(e,n,a){const t=b(()=>[n,a].filter(s=>s).reduce((s,g)=>s.concat(Object.values(C(g))),[])),l=b({get(){return e.$dirty.value||(t.value.length?t.value.every(s=>s.$dirty):!1)},set(s){e.$dirty.value=s}}),o=b(()=>{const s=C(e.$silentErrors)||[],g=t.value.filter(y=>(C(y).$silentErrors||[]).length).reduce((y,w)=>y.concat(...w.$silentErrors),[]);return s.concat(g)}),u=b(()=>{const s=C(e.$errors)||[],g=t.value.filter(y=>(C(y).$errors||[]).length).reduce((y,w)=>y.concat(...w.$errors),[]);return s.concat(g)}),d=b(()=>t.value.some(s=>s.$invalid)||C(e.$invalid)||!1),m=b(()=>t.value.some(s=>C(s.$pending))||C(e.$pending)||!1),c=b(()=>t.value.some(s=>s.$dirty)||t.value.some(s=>s.$anyDirty)||l.value),v=b(()=>l.value?m.value||d.value:!1),i=()=>{e.$touch(),t.value.forEach(s=>{s.$touch()})},p=()=>{e.$commit(),t.value.forEach(s=>{s.$commit()})},f=()=>{e.$reset(),t.value.forEach(s=>{s.$reset()})};return t.value.length&&t.value.every(s=>s.$dirty)&&i(),{$dirty:l,$errors:u,$invalid:d,$anyDirty:c,$error:v,$pending:m,$touch:i,$reset:f,$silentErrors:o,$commit:p}}function Ge(e){let{validations:n,state:a,key:t,parentKey:l,childResults:o,resultsCache:u,globalConfig:d={},instance:m,externalResults:c}=e;const v=l?`${l}.${t}`:t,{rules:i,nestedValidators:p,config:f,validationGroups:s}=Na(n),g=oe(oe({},d),f),y=t?b(()=>{const P=C(a);return P?C(P[t]):void 0}):a,w=oe({},C(c)||{}),V=b(()=>{const P=C(c);return t?P?C(P[t]):void 0:P}),I=Ha(i,y,t,u,v,g,m,V,a),k=Fa(p,y,v,u,g,m,V),_={};s&&Object.entries(s).forEach(P=>{let[F,D]=P;_[F]={$invalid:Ne(D,k,"$invalid"),$error:Ne(D,k,"$error"),$pending:Ne(D,k,"$pending"),$errors:ot(D,k,"$errors"),$silentErrors:ot(D,k,"$silentErrors")}});const{$dirty:$,$errors:x,$invalid:S,$anyDirty:E,$error:T,$pending:j,$touch:H,$reset:X,$silentErrors:ee,$commit:se}=Ga(I,k,o),Ce=t?b({get:()=>C(y),set:P=>{$.value=!0;const F=C(a),D=C(c);D&&(D[t]=w[t]),Ue(F[t])?F[t].value=P:F[t]=P}}):null;t&&g.$autoDirty&&z(y,()=>{$.value||H();const P=C(c);P&&(P[t]=w[t])},{flush:"sync"});async function me(){return H(),g.$rewardEarly&&(se(),await He()),await He(),new Promise(P=>{if(!j.value)return P(!S.value);const F=z(j,()=>{P(!S.value),F()})})}function fe(P){return(o.value||{})[P]}function A(){Ue(c)?c.value=w:Object.keys(w).length===0?Object.keys(c).forEach(P=>{delete c[P]}):Object.assign(c,w)}return te(oe(oe(oe({},I),{},{$model:Ce,$dirty:$,$error:T,$errors:x,$invalid:S,$anyDirty:E,$pending:j,$touch:H,$reset:X,$path:v||Ua,$silentErrors:ee,$validate:me,$commit:se},o&&{$getResultsForChild:fe,$clearExternalResults:A,$validationGroups:_}),k))}class qa{constructor(){this.storage=new Map}set(n,a,t){this.storage.set(n,{rules:a,result:t})}checkRulesValidity(n,a,t){const l=Object.keys(t),o=Object.keys(a);return o.length!==l.length||!o.every(d=>l.includes(d))?!1:o.every(d=>a[d].$params?Object.keys(a[d].$params).every(m=>C(t[d].$params[m])===C(a[d].$params[m])):!0)}get(n,a){const t=this.storage.get(n);if(!t)return;const{rules:l,result:o}=t,u=this.checkRulesValidity(n,a,l),d=o.$unwatch?o.$unwatch:()=>({});return u?o:{$dirty:o.$dirty,$partial:!0,$unwatch:d}}}const Re={COLLECT_ALL:!0,COLLECT_NONE:!1},rt=Symbol("vuelidate#injectChildResults"),it=Symbol("vuelidate#removeChildResults");function Wa(e){let{$scope:n,instance:a}=e;const t={},l=R([]),o=b(()=>l.value.reduce((v,i)=>(v[i]=C(t[i]),v),{}));function u(v,i){let{$registerAs:p,$scope:f,$stopPropagation:s}=i;s||n===Re.COLLECT_NONE||f===Re.COLLECT_NONE||n!==Re.COLLECT_ALL&&n!==f||(t[p]=v,l.value.push(p))}a.__vuelidateInjectInstances=[].concat(a.__vuelidateInjectInstances||[],u);function d(v){l.value=l.value.filter(i=>i!==v),delete t[v]}a.__vuelidateRemoveInstances=[].concat(a.__vuelidateRemoveInstances||[],d);const m=_e(rt,[]);Oe(rt,a.__vuelidateInjectInstances);const c=_e(it,[]);return Oe(it,a.__vuelidateRemoveInstances),{childResults:o,sendValidationResultsToParent:m,removeValidationResultsFromParent:c}}function Nt(e){return new Proxy(e,{get(n,a){return typeof n[a]=="object"?Nt(n[a]):b(()=>n[a])}})}let st=0;function Ya(e,n){var a;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(t=e,e=void 0,n=void 0);let{$registerAs:l,$scope:o=Re.COLLECT_ALL,$stopPropagation:u,$externalResults:d,currentVueInstance:m}=t;const c=m||((a=Jt())===null||a===void 0?void 0:a.proxy),v=c?c.$options:{};l||(st+=1,l=`_vuelidate_${st}`);const i=R({}),p=new qa,{childResults:f,sendValidationResultsToParent:s,removeValidationResultsFromParent:g}=c?Wa({$scope:o,instance:c}):{childResults:R({})};if(!e&&v.validations){const y=v.validations;n=R({}),pt(()=>{n.value=c,z(()=>Pe(y)?y.call(n.value,new Nt(n.value)):y,w=>{i.value=Ge({validations:w,state:n,childResults:f,resultsCache:p,globalConfig:t,instance:c,externalResults:d||c.vuelidateExternalResults})},{immediate:!0})}),t=v.validationsConfig||t}else{const y=Ue(e)||Da(e)?e:te(e||{});z(y,w=>{i.value=Ge({validations:w,state:n,childResults:f,resultsCache:p,globalConfig:t,instance:c??{},externalResults:d})},{immediate:!0})}return c&&(s.forEach(y=>y(i,{$registerAs:l,$scope:o,$stopPropagation:u})),Se(()=>g.forEach(y=>y(l)))),b(()=>oe(oe({},C(i.value)),f.value))}function ut(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),a.push.apply(a,t)}return a}function Ve(e){for(var n=1;n1&&arguments[1]!==void 0?arguments[1]:[];const a=De(e);return Ve(Ve({},a),{},{$async:!0,$watchTargets:n})}function Qa(e){return{$validator(n){for(var a=arguments.length,t=new Array(a>1?a-1:0),l=1;l{const m=Object.entries(u).reduce((c,v)=>{let[i,p]=v;const f=e[i]||{},s=Object.entries(f).reduce((g,y)=>{let[w,V]=y;const k=Ht(V).call(this,p,u,d,...t),_=Ut(k);if(g.$data[w]=k,g.$data.$invalid=!_||!!g.$data.$invalid,g.$data.$error=g.$data.$invalid,!_){let $=V.$message||"";const x=V.$params||{};typeof $=="function"&&($=$({$pending:!1,$invalid:!_,$params:x,$model:p,$response:k})),g.$errors.push({$property:i,$message:$,$params:x,$response:k,$model:p,$pending:!1,$validator:w})}return{$valid:g.$valid&&_,$data:g.$data,$errors:g.$errors}},{$valid:!0,$data:{},$errors:[]});return c.$data[i]=s.$data,c.$errors[i]=s.$errors,{$valid:c.$valid&&s.$valid,$data:c.$data,$errors:c.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:o.$valid&&m.$valid,$data:o.$data.concat(m.$data),$errors:o.$errors.concat(m.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:n=>{let{$response:a}=n;return a?a.$errors.map(t=>Object.values(t).map(l=>l.map(o=>o.$message)).reduce((l,o)=>l.concat(o),[])):[]}}}const Ke=e=>{if(e=C(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let n in e)return!0;return!1}return!!String(e).length},en=e=>(e=C(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function ie(){for(var e=arguments.length,n=new Array(e),a=0;a(t=C(t),!Ke(t)||n.every(l=>(l.lastIndex=0,l.test(t))))}var Ft=Object.freeze({__proto__:null,forEach:Qa,len:en,normalizeValidatorObject:De,regex:ie,req:Ke,unwrap:C,unwrapNormalizedValidator:Ht,unwrapValidatorResponse:Ut,withAsync:Ja,withMessage:Ka,withParams:Za});ie(/^[a-zA-Z]*$/);ie(/^[a-zA-Z0-9]*$/);ie(/^\d*(\.\d+)?$/);const tn=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;ie(tn);function an(e){return typeof e=="string"&&(e=e.trim()),Ke(e)}var nn={$validator:an,$message:"Value is required",$params:{type:"required"}};const ln=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;ie(ln);ie(/(^[0-9]*$)|(^-[0-9]+$)/);ie(/^[-]?\d*(\.\d+)?$/);const ct=Ft.withMessage("Обязательное поле",nn),on={setup(e,n){const a=We(),t=bt(),l=R(!1),o=R(""),u=R(!1),d=R(!1),m=te({username:"9966-00-",password:""}),c=b(()=>({username:{req:ct,latin:Ft.withMessage(()=>'Логин имееет вид "0000-00-000"',f=>/(\d{4,4}[-]\d{2,2}[-]\d{3,3})+$/.test(f.toString()))},password:{req:ct}})),v=Ya(c,m),i=f=>v.value[f].$error?v.value[f].$errors[0].$message:"",p=async()=>{if(v.value.$error)console.log(!0);else try{await a.logging(m)}catch{t.loading=!1,u.value=!0,o.value="Ошибка авторизации"}};return pe(()=>{v.value.$validate()}),{accountStore:a,AppStore:t,menuAuthDialog:l,anon:m,v$:v,logging:p,errorer:i,alert:u,err:o,eyeshow:d}}},rn=U("span",{class:"text-h5"},"Вход в портал",-1);function sn(e,n,a,t,l,o){return O(),L(Ee,{modelValue:t.menuAuthDialog,"onUpdate:modelValue":n[6]||(n[6]=u=>t.menuAuthDialog=u),persistent:"",width:"400"},{activator:h(({props:u})=>[r(q,G(u,{"append-icon":"mdi-login",color:"black_and_white"}),{prepend:h(()=>[r(Y,{color:"black_and_white"})]),append:h(()=>[r(Y,{color:"black_and_white"})]),default:h(()=>[B(" Войти ")]),_:2},1040)]),default:h(()=>[r(we,{onKeyup:la(t.logging,["enter"])},{default:h(()=>[r(wt,null,{default:h(()=>[rn]),_:1}),r($t,null,{default:h(()=>[r(Pt,null,{default:h(()=>[r(re,null,{default:h(()=>[r(K,{cols:"12",class:"py-0"},{default:h(()=>[r(tt,{modelValue:t.anon.username,"onUpdate:modelValue":n[0]||(n[0]=u=>t.anon.username=u),label:"Логин",variant:"underlined","error-messages":t.errorer("username")},null,8,["modelValue","error-messages"])]),_:1}),r(K,{cols:"12",class:"py-0"},{default:h(()=>[r(tt,{type:t.eyeshow?"text":"password",modelValue:t.anon.password,"onUpdate:modelValue":n[2]||(n[2]=u=>t.anon.password=u),label:"Пароль",variant:"underlined","error-messages":t.errorer("password"),"onClick:appendInner":n[3]||(n[3]=u=>t.eyeshow=!t.eyeshow)},{"append-inner":h(()=>[r(Y,{size:"x-small",icon:t.eyeshow?"mdi-eye":"mdi-eye-off",onClick:n[1]||(n[1]=u=>t.eyeshow=!t.eyeshow)},null,8,["icon"])]),_:1},8,["type","modelValue","error-messages"])]),_:1})]),_:1})]),_:1})]),_:1}),r(_t,null,{default:h(()=>[r(It),r(q,{color:"modal_btn",variant:"text",onClick:n[4]||(n[4]=u=>t.menuAuthDialog=!1)},{default:h(()=>[B(" Отмена ")]),_:1}),r(q,{color:"modal_btn",variant:"text",onClick:t.logging},{default:h(()=>[B(" Войти ")]),_:1},8,["onClick"])]),_:1}),ta(r(na,{location:"bottom",absolute:"",indeterminate:""},null,512),[[aa,t.AppStore.loading&&!t.alert]])]),_:1},8,["onKeyup"]),r(Oa,{width:"400",position:"fixed",class:"bottom-alertauth bgerroralert",type:"error",density:"compact",title:"Ошибка авторизации",text:e.info,modelValue:t.alert,"onUpdate:modelValue":n[5]||(n[5]=u=>t.alert=u),closable:""},{prepend:h(()=>[r(Y,{icon:"mdi-alert-outline",class:"pt-1"})]),_:1},8,["text","modelValue"])]),_:1},8,["modelValue"])}const un=Le(on,[["render",sn]]),cn={components:{CardUsers:Lt},setup(){const e=R(""),n=R(!1),a={onliner:function(d){let m=new Set(d);console.log(Array.from(m));let c=Array.from(m);c.splice(c.findIndex(v=>v==t.user.login),1),console.log(t.user.login,"accountStore"),l.value=c}},t=We();let l=R([]);const o=new WebSocket(oa+"ws/watcher/?token="+localStorage.access),u=d=>{e.value=d,n.value=!0};return o.onmessage=d=>{let m=JSON.parse(d.data);a[m.message.action](m.message.data)},z(()=>t.cod2user,function(){t.cod2user.value||o.close()}),{loging:e,menuGetUserDialog:n,onlineuser:l,checkremote:ra,spravURL:ia,whatuser:u,accountStore:t}}};function dn(e,n,a,t,l,o){const u=ye("Card-users");return O(),ae("div",null,[(O(!0),ae(J,null,$e(t.onlineuser,d=>(O(),L(ue,{key:d,"prepend-avatar":t.checkremote(`${t.spravURL}${d}.jpg`),title:"x",nav:"",onClick:m=>t.whatuser(d)},null,8,["prepend-avatar","onClick"]))),128)),r(Ee,{modelValue:t.menuGetUserDialog,"onUpdate:modelValue":n[1]||(n[1]=d=>t.menuGetUserDialog=d),persistent:"",width:"600"},{default:h(()=>[r(u,{menuGetUserDialog:t.menuGetUserDialog,loging:t.loging,onMenusClose:n[0]||(n[0]=d=>t.menuGetUserDialog=!1)},null,8,["menuGetUserDialog","loging"])]),_:1},8,["modelValue"])])}const vn=Le(cn,[["render",dn]]);const mn=Q({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:Qe,default:"$ratingEmpty"},fullIcon:{type:Qe,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},ripple:Boolean,...be(),...sa(),...ua(),...ke(),...Ae()},"VRating"),fn=de()({name:"VRating",props:mn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const{t}=ca(),{themeClasses:l}=je(e),o=Ye(e,"modelValue"),u=b(()=>xt(parseFloat(o.value),0,+e.length)),d=b(()=>da(Number(e.length),1)),m=b(()=>d.value.flatMap(g=>e.halfIncrements?[g-.5,g]:[g])),c=M(-1),v=b(()=>m.value.map(g=>{const y=e.hover&&c.value>-1,w=u.value>=g,V=c.value>=g,k=(y?V:w)?e.fullIcon:e.emptyIcon,_=e.activeColor??e.color,$=w||V?_:e.color;return{isFilled:w,isHovered:V,icon:k,color:$}})),i=b(()=>[0,...m.value].map(g=>{function y(){c.value=g}function w(){c.value=-1}function V(){e.disabled||e.readonly||(o.value=u.value===g&&e.clearable?0:g)}return{onMouseenter:e.hover?y:void 0,onMouseleave:e.hover?w:void 0,onClick:V}})),p=b(()=>e.name??`v-rating-${yt()}`);function f(g){var S,E;let{value:y,index:w,showStar:V=!0}=g;const{onMouseenter:I,onMouseleave:k,onClick:_}=i.value[w+1],$=`${p.value}-${String(y).replace(".","-")}`,x={color:(S=v.value[w])==null?void 0:S.color,density:e.density,disabled:e.disabled,icon:(E=v.value[w])==null?void 0:E.icon,ripple:e.ripple,size:e.size,variant:"plain"};return r(J,null,[r("label",{for:$,class:{"v-rating__item--half":e.halfIncrements&&y%1>0,"v-rating__item--full":e.halfIncrements&&y%1===0},onMouseenter:I,onMouseleave:k,onClick:_},[r("span",{class:"v-rating__hidden"},[t(e.itemAriaLabel,y,e.length)]),V?a.item?a.item({...v.value[w],props:x,value:y,index:w,rating:u.value}):r(q,x,null):void 0]),r("input",{class:"v-rating__hidden",name:p.value,id:$,type:"radio",value:y,checked:u.value===y,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function s(g){return a["item-label"]?a["item-label"](g):g.label?r("span",null,[g.label]):r("span",null,[B(" ")])}return ve(()=>{var y;const g=!!((y=e.itemLabels)!=null&&y.length)||a["item-label"];return r(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},l.value,e.class],style:e.style},{default:()=>[r(f,{value:0,index:-1,showStar:!1},null),d.value.map((w,V)=>{var I,k;return r("div",{class:"v-rating__wrapper"},[g&&e.itemLabelPosition==="top"?s({value:w,index:V,label:(I=e.itemLabels)==null?void 0:I[V]}):void 0,r("div",{class:"v-rating__item"},[e.halfIncrements?r(J,null,[r(f,{value:w-.5,index:V*2},null),r(f,{value:w,index:V*2+1},null)]):r(f,{value:w,index:V},null)]),g&&e.itemLabelPosition==="bottom"?s({value:w,index:V,label:(k=e.itemLabels)==null?void 0:k[V]}):void 0])})]})}),{}}}),gn={props:{LikeDialog:{type:Boolean,default:!1}},setup(e,n){const a=R({nowcomment:{comment:""},nowrating:[]});function t(){et.get("api/feedback/feedbackdata/").then(m=>{if(a.value=m.data,a.value.nowrating.length==0)for(let c of a.value.basecrit)a.value.nowrating.push({rating:c.rating,crit:c.id,id:null});a.value.nowcomment===null&&(a.value.nowcomment={comment:"",id:null})})}pe(()=>{t()});const l=b(()=>{const c=a.value.nowrating.reduce((i,p)=>i+p.rating,0)/a.value.nowrating.length;return Number.isInteger(c)?c:c.toFixed(1)});function o(){let m="";return l.value>0&&l.value<=3?m="УПС-С! Мы обязательно все исправим":l.value>2&&l.value<=4?m="Спасибо за обратную связь, мы обратим на это внимание":l.value>4&&l.value<5?m="Класс, будем стараться до 5":m="Спасибо за отзыв и высокую оценку ^__^",m}function u(){n.emit("menusClose")}function d(){et.post("api/feedback/feedbackdata/",{nowrating:a.value.nowrating,nowcomment:a.value.nowcomment}).then(m=>{}),u()}return{feedbackdata:a,average:l,menusCloses:u,myLabel:o,feedSend:d}}},hn=U("span",{class:"text-h5"},"Обратная связь",-1),yn={key:0,class:"pl-5"},pn={class:"font-weight-black"};function bn(e,n,a,t,l,o){return O(),L(we,{class:"pt-2"},{default:h(()=>[r(wt,null,{default:h(()=>[hn]),_:1}),r($t,{class:"px-2 py-0"},{default:h(()=>[r(Pt,null,{default:h(()=>[r(re,null,{default:h(()=>[r(K,{class:"flex-grow-0 py-0 text-no-wrap align-self-center text-button"},{default:h(()=>[B(" Оцените сайт ")]),_:1}),r(ce)]),_:1}),(O(!0),ae(J,null,$e(t.feedbackdata.basecrit,(u,d)=>(O(),L(re,{key:d},{default:h(()=>[r(K,{class:"flex-grow-0 pb-0"},{default:h(()=>[r(Y,{size:"large",color:u.color,icon:u.ico},null,8,["color","icon"])]),_:2},1024),r(K,{class:"pb-0",lg:"3"},{default:h(()=>[B(N(u.name),1)]),_:2},1024),r(K,{class:"py-0"},{default:h(()=>[r(fn,{modelValue:t.feedbackdata.nowrating[d].rating,"onUpdate:modelValue":m=>t.feedbackdata.nowrating[d].rating=m,hover:"","half-increments":"",color:"yellow"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),r(ce)]),_:2},1024))),128)),r(re,{class:"mt-6"},{default:h(()=>[r(K,{class:"pa-0 px-3"},{default:h(()=>[r(Ea,{label:"Ваши комментарии сделают портал лучше","hide-details":"",variant:"outlined",rows:"5","row-height":"15",modelValue:t.feedbackdata.nowcomment.comment,"onUpdate:modelValue":n[0]||(n[0]=u=>t.feedbackdata.nowcomment.comment=u)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),r(_t,{class:"pt-0"},{default:h(()=>[t.average<5||t.feedbackdata.nowcomment.id!=null?(O(),ae("small",yn,[B(" Вы оценили сайт на "),U("span",pn,N(t.average),1),B(" "+N(t.myLabel()),1)])):le("",!0),r(It),r(q,{color:"modal_btn",variant:"text",text:"Закрыть",onClick:t.menusCloses},null,8,["onClick"]),r(q,{color:"modal_btn",variant:"text",text:t.feedbackdata.nowcomment.id==null?"Отправить":"Обновить",onClick:t.feedSend},null,8,["text","onClick"])]),_:1})]),_:1})}const wn=Le(gn,[["render",bn]]);const $n=Q({...be(),...Ta({fullHeight:!0}),...Ae()},"VApp"),_n=de()({name:"VApp",props:$n(),setup(e,n){let{slots:a}=n;const t=je(e),{layoutClasses:l,layoutStyles:o,getLayoutItem:u,items:d,layoutRef:m}=La(e),{rtlClasses:c}=Xe();return ve(()=>{var v;return r("div",{ref:m,class:["v-application",t.themeClasses.value,l.value,c.value,e.class],style:[o.value,e.style]},[r("div",{class:"v-application__wrap"},[(v=a.default)==null?void 0:v.call(a)])])}),{getLayoutItem:u,items:d,theme:t}}});const xn=Q({text:String,...be(),...ke()},"VToolbarTitle"),Vn=de()({name:"VToolbarTitle",props:xn(),setup(e,n){let{slots:a}=n;return ve(()=>{const t=!!(a.default||a.text||e.text);return r(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var l;return[t&&r("div",{class:"v-toolbar-title__placeholder"},[a.text?a.text():e.text,(l=a.default)==null?void 0:l.call(a)])]}})}),{}}}),Sn=[null,"prominent","default","comfortable","compact"],Gt=Q({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>Sn.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Vt(),...be(),...St(),...kt(),...ke({tag:"header"}),...Ae()},"VToolbar"),dt=de()({name:"VToolbar",props:Gt(),setup(e,n){var f;let{slots:a}=n;const{backgroundColorClasses:t,backgroundColorStyles:l}=Fe(xe(e,"color")),{borderClasses:o}=Ct(e),{elevationClasses:u}=Rt(e),{roundedClasses:d}=Ot(e),{themeClasses:m}=je(e),{rtlClasses:c}=Xe(),v=M(!!(e.extended||(f=a.extension)!=null&&f.call(a))),i=b(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),p=b(()=>v.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return Et({VBtn:{variant:"text"}}),ve(()=>{var w;const s=!!(e.title||a.title),g=!!(a.image||e.image),y=(w=a.extension)==null?void 0:w.call(a);return v.value=!!(e.extended||y),r(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},t.value,o.value,u.value,d.value,m.value,c.value,e.class],style:[l.value,e.style]},{default:()=>[g&&r("div",{key:"image",class:"v-toolbar__image"},[a.image?r(Be,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},a.image):r(Tt,{key:"image-img",cover:!0,src:e.image},null)]),r(Be,{defaults:{VTabs:{height:ne(i.value)}}},{default:()=>{var V,I,k;return[r("div",{class:"v-toolbar__content",style:{height:ne(i.value)}},[a.prepend&&r("div",{class:"v-toolbar__prepend"},[(V=a.prepend)==null?void 0:V.call(a)]),s&&r(Vn,{key:"title",text:e.title},{text:a.title}),(I=a.default)==null?void 0:I.call(a),a.append&&r("div",{class:"v-toolbar__append"},[(k=a.append)==null?void 0:k.call(a)])])]}}),r(Be,{defaults:{VTabs:{height:ne(p.value)}}},{default:()=>[r(Ca,null,{default:()=>[v.value&&r("div",{class:"v-toolbar__extension",style:{height:ne(p.value)}},[y])]})]})]})}),{contentHeight:i,extensionHeight:p}}}),kn=Q({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function Cn(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:a}=n;let t=0;const l=R(null),o=M(0),u=M(0),d=M(0),m=M(!1),c=M(!1),v=b(()=>Number(e.scrollThreshold)),i=b(()=>xt((v.value-o.value)/v.value||0)),p=()=>{const f=l.value;!f||a&&!a.value||(t=o.value,o.value="window"in f?f.pageYOffset:f.scrollTop,c.value=o.value{u.value=u.value||o.value}),z(m,()=>{u.value=0}),pe(()=>{z(()=>e.scrollTarget,f=>{var g;const s=f?document.querySelector(f):window;s&&s!==l.value&&((g=l.value)==null||g.removeEventListener("scroll",p),l.value=s,l.value.addEventListener("scroll",p,{passive:!0}))},{immediate:!0})}),Se(()=>{var f;(f=l.value)==null||f.removeEventListener("scroll",p)}),a&&z(a,p,{immediate:!0}),{scrollThreshold:v,currentScroll:o,currentThreshold:d,isScrollActive:m,scrollRatio:i,isScrollingUp:c,savedScroll:u}}const Rn=Q({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...Gt(),...jt(),...kn(),height:{type:[Number,String],default:64}},"VAppBar"),On=de()({name:"VAppBar",props:Rn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const t=R(),l=Ye(e,"modelValue"),o=b(()=>{var V;const w=new Set(((V=e.scrollBehavior)==null?void 0:V.split(" "))??[]);return{hide:w.has("hide"),inverted:w.has("inverted"),collapse:w.has("collapse"),elevate:w.has("elevate"),fadeImage:w.has("fade-image")}}),u=b(()=>{const w=o.value;return w.hide||w.inverted||w.collapse||w.elevate||w.fadeImage||!l.value}),{currentScroll:d,scrollThreshold:m,isScrollingUp:c,scrollRatio:v}=Cn(e,{canScroll:u}),i=b(()=>e.collapse||o.value.collapse&&(o.value.inverted?v.value>0:v.value===0)),p=b(()=>e.flat||o.value.elevate&&(o.value.inverted?d.value>0:d.value===0)),f=b(()=>o.value.fadeImage?o.value.inverted?1-v.value:v.value:void 0),s=b(()=>{var I,k;if(o.value.hide&&o.value.inverted)return 0;const w=((I=t.value)==null?void 0:I.contentHeight)??0,V=((k=t.value)==null?void 0:k.extensionHeight)??0;return w+V});va(b(()=>!!e.scrollBehavior),()=>{ma(()=>{o.value.hide?o.value.inverted?l.value=d.value>m.value:l.value=c.value||d.valueparseInt(e.order,10)),position:xe(e,"location"),layoutSize:s,elementSize:M(void 0),active:l,absolute:xe(e,"absolute")});return ve(()=>{const[w]=dt.filterProps(e);return r(dt,G({ref:t,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...y.value,"--v-toolbar-image-opacity":f.value,height:void 0,...g.value},e.style]},w,{collapse:i.value,flat:p.value}),a)}),{}}});const En=Q({scrollable:Boolean,...be(),...ke({tag:"main"})},"VMain"),vt=de()({name:"VMain",props:En(),setup(e,n){let{slots:a}=n;const{mainStyles:t}=Pa(),{ssrBootStyles:l}=Ze();return ve(()=>r(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[t.value,l.value,e.style]},{default:()=>{var o,u;return[e.scrollable?r("div",{class:"v-main__scroller"},[(o=a.default)==null?void 0:o.call(a)]):(u=a.default)==null?void 0:u.call(a)]}})),{}}});function Tn(e){let{rootEl:n,isSticky:a,layoutItemStyles:t}=e;const l=M(!1),o=M(0),u=b(()=>{const c=typeof l.value=="boolean"?"top":l.value;return[a.value?{top:"auto",bottom:"auto",height:void 0}:void 0,l.value?{[c]:ne(o.value)}:{top:t.value.top}]});pe(()=>{z(a,c=>{c?window.addEventListener("scroll",m,{passive:!0}):window.removeEventListener("scroll",m)},{immediate:!0})}),Se(()=>{window.removeEventListener("scroll",m)});let d=0;function m(){const c=d>window.scrollY?"up":"down",v=n.value.getBoundingClientRect(),i=parseFloat(t.value.top??0),p=window.scrollY-Math.max(0,o.value-i),f=v.height+Math.max(o.value,i)-window.scrollY-window.innerHeight,s=parseFloat(getComputedStyle(n.value).getPropertyValue("--v-body-scroll-y"))||0;v.height0;a--){if(e[a].t===e[a-1].t)continue;const t=mt(n),l=(e[a].d-e[a-1].d)/(e[a].t-e[a-1].t);n+=(l-t)*Math.abs(l),a===e.length-1&&(n*=.5)}return mt(n)*1e3}function Ln(){const e={};function n(l){Array.from(l.changedTouches).forEach(o=>{(e[o.identifier]??(e[o.identifier]=new fa(In))).push([l.timeStamp,o])})}function a(l){Array.from(l.changedTouches).forEach(o=>{delete e[o.identifier]})}function t(l){var c;const o=(c=e[l])==null?void 0:c.values().reverse();if(!o)throw new Error(`No samples for touch id ${l}`);const u=o[0],d=[],m=[];for(const v of o){if(u[0]-v[0]>Pn)break;d.push({t:v[0],d:v[1].clientX}),m.push({t:v[0],d:v[1].clientY})}return{x:ft(d),y:ft(m),get direction(){const{x:v,y:i}=this,[p,f]=[Math.abs(v),Math.abs(i)];return p>f&&v>=0?"right":p>f&&v<=0?"left":f>p&&i>=0?"down":f>p&&i<=0?"up":An()}}}return{addMovement:n,endTouch:a,getVelocity:t}}function An(){throw new Error}function jn(e){let{isActive:n,isTemporary:a,width:t,touchless:l,position:o}=e;pe(()=>{window.addEventListener("touchstart",w,{passive:!0}),window.addEventListener("touchmove",V,{passive:!1}),window.addEventListener("touchend",I,{passive:!0})}),Se(()=>{window.removeEventListener("touchstart",w),window.removeEventListener("touchmove",V),window.removeEventListener("touchend",I)});const u=b(()=>["left","right"].includes(o.value)),{addMovement:d,endTouch:m,getVelocity:c}=Ln();let v=!1;const i=M(!1),p=M(0),f=M(0);let s;function g(_,$){return(o.value==="left"?_:o.value==="right"?document.documentElement.clientWidth-_:o.value==="top"?_:o.value==="bottom"?document.documentElement.clientHeight-_:he())-($?t.value:0)}function y(_){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const x=o.value==="left"?(_-f.value)/t.value:o.value==="right"?(document.documentElement.clientWidth-_-f.value)/t.value:o.value==="top"?(_-f.value)/t.value:o.value==="bottom"?(document.documentElement.clientHeight-_-f.value)/t.value:he();return $?Math.max(0,Math.min(1,x)):x}function w(_){if(l.value)return;const $=_.changedTouches[0].clientX,x=_.changedTouches[0].clientY,S=25,E=o.value==="left"?$document.documentElement.clientWidth-S:o.value==="top"?xdocument.documentElement.clientHeight-S:he(),T=n.value&&(o.value==="left"?$document.documentElement.clientWidth-t.value:o.value==="top"?xdocument.documentElement.clientHeight-t.value:he());(E||T||n.value&&a.value)&&(v=!0,s=[$,x],f.value=g(u.value?$:x,n.value),p.value=y(u.value?$:x),m(_),d(_))}function V(_){const $=_.changedTouches[0].clientX,x=_.changedTouches[0].clientY;if(v){if(!_.cancelable){v=!1;return}const E=Math.abs($-s[0]),T=Math.abs(x-s[1]);(u.value?E>T&&E>3:T>E&&T>3)?(i.value=!0,v=!1):(u.value?T:E)>3&&(v=!1)}if(!i.value)return;_.preventDefault(),d(_);const S=y(u.value?$:x,!1);p.value=Math.max(0,Math.min(1,S)),S>1?f.value=g(u.value?$:x,!0):S<0&&(f.value=g(u.value?$:x,!1))}function I(_){if(v=!1,!i.value)return;d(_),i.value=!1;const $=c(_.changedTouches[0].identifier),x=Math.abs($.x),S=Math.abs($.y);(u.value?x>S&&x>400:S>x&&S>3)?n.value=$.direction===({left:"right",right:"left",top:"down",bottom:"up"}[o.value]||he()):n.value=p.value>.5}const k=b(()=>i.value?{transform:o.value==="left"?`translateX(calc(-100% + ${p.value*t.value}px))`:o.value==="right"?`translateX(calc(100% - ${p.value*t.value}px))`:o.value==="top"?`translateY(calc(-100% + ${p.value*t.value}px))`:o.value==="bottom"?`translateY(calc(100% - ${p.value*t.value}px))`:he(),transition:"none"}:void 0);return{isDragging:i,dragProgress:p,dragStyles:k}}function he(){throw new Error}const Dn=["start","end","left","right","top","bottom"],Mn=Q({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>Dn.includes(e)},sticky:Boolean,...Vt(),...be(),...St(),...jt(),...kt(),...ke({tag:"nav"}),...Ae()},"VNavigationDrawer"),gt=de()({name:"VNavigationDrawer",props:Mn(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,n){let{attrs:a,emit:t,slots:l}=n;const{isRtl:o}=Xe(),{themeClasses:u}=je(e),{borderClasses:d}=Ct(e),{backgroundColorClasses:m,backgroundColorStyles:c}=Fe(xe(e,"color")),{elevationClasses:v}=Rt(e),{mobile:i}=ga(),{roundedClasses:p}=Ot(e),f=ha(),s=Ye(e,"modelValue",null,A=>!!A),{ssrBootStyles:g}=Ze(),{scopeId:y}=ya(),w=R(),V=M(!1),I=b(()=>e.rail&&e.expandOnHover&&V.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),k=b(()=>pa(e.location,o.value)),_=b(()=>!e.permanent&&(i.value||e.temporary)),$=b(()=>e.sticky&&!_.value&&k.value!=="bottom");e.expandOnHover&&e.rail!=null&&z(V,A=>t("update:rail",!A)),e.disableResizeWatcher||z(_,A=>!e.permanent&&He(()=>s.value=!A)),!e.disableRouteWatcher&&f&&z(f.currentRoute,()=>_.value&&(s.value=!1)),z(()=>e.permanent,A=>{A&&(s.value=!0)}),pt(()=>{e.modelValue!=null||_.value||(s.value=e.permanent||!i.value)});const{isDragging:x,dragProgress:S,dragStyles:E}=jn({isActive:s,isTemporary:_,width:I,touchless:xe(e,"touchless"),position:k}),T=b(()=>{const A=_.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):I.value;return x.value?A*S.value:A}),{layoutItemStyles:j,layoutItemScrimStyles:H}=Dt({id:e.name,order:b(()=>parseInt(e.order,10)),position:k,layoutSize:T,elementSize:I,active:b(()=>s.value||x.value),disableTransitions:b(()=>x.value),absolute:b(()=>e.absolute||$.value&&typeof X.value!="string")}),{isStuck:X,stickyStyles:ee}=Tn({rootEl:w,isSticky:$,layoutItemStyles:j}),se=Fe(b(()=>typeof e.scrim=="string"?e.scrim:null)),Ce=b(()=>({...x.value?{opacity:S.value*.2,transition:"none"}:void 0,...H.value}));Et({VList:{bgColor:"transparent"}});function me(){V.value=!0}function fe(){V.value=!1}return ve(()=>{const A=l.image||e.image;return r(J,null,[r(e.tag,G({ref:w,onMouseenter:me,onMouseleave:fe,class:["v-navigation-drawer",`v-navigation-drawer--${k.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":V.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":_.value,"v-navigation-drawer--active":s.value,"v-navigation-drawer--sticky":$.value},u.value,m.value,d.value,v.value,p.value,e.class],style:[c.value,j.value,E.value,g.value,ee.value,e.style]},y,a),{default:()=>{var P,F,D,ge;return[A&&r("div",{key:"image",class:"v-navigation-drawer__img"},[l.image?(P=l.image)==null?void 0:P.call(l,{image:e.image}):r("img",{src:e.image,alt:""},null)]),l.prepend&&r("div",{class:"v-navigation-drawer__prepend"},[(F=l.prepend)==null?void 0:F.call(l)]),r("div",{class:"v-navigation-drawer__content"},[(D=l.default)==null?void 0:D.call(l)]),l.append&&r("div",{class:"v-navigation-drawer__append"},[(ge=l.append)==null?void 0:ge.call(l)])]}}),r(ba,{name:"fade-transition"},{default:()=>[_.value&&(x.value||s.value)&&!!e.scrim&&r("div",G({class:["v-navigation-drawer__scrim",se.backgroundColorClasses.value],style:[Ce.value,se.backgroundColorStyles.value],onClick:()=>s.value=!1},y),null)]})])}),{isStuck:X}}}),Bn={components:{AuthForm:un,OnlineUsers:vn,CardUsers:Lt,CardLike:wn},mixins:[wa],setup(){$a();const e=_a(),n=bt(),a=xa(),t=Aa(),l=We(),o=R(!0),u=R(!0),d=R(!1),m=R(!1),c=R(!1),v=R(!1),i=R(!1),p=Va.slice(0,-1),f=V=>V.slice(0,2).toUpperCase(),s=()=>{a.global.name.value=a.global.current.value.dark?"light":"dark"};t.loadlinks();const g=[{name:"Структура",ico:"mdi-source-branch",submenu:[{name:"ОКиБ",path:"/okib"}]},{name:"Сотрудники",ico:"mdi-account-multiple-outline",submenu:[{name:"Справочник",link:"http://10.252.44.33/accounting6/members.php"}]},{name:"Деятельность",ico:"mdi-bulletin-board",submenu:[{name:"Обеспечивающая",path:"/providing"}]},{name:"Новости",ico:"mdi-newspaper",path:"/news"},{name:"Безопасность",ico:"mdi-routes",path:"/securyty"},{name:"О портале",ico:"mdi-information-variant",path:"/portal"},{name:"Об инспекции",ico:"mdi-city",path:"/inspection"}],y=b(()=>new URL("/assets/FNS-logo-xs-e0e2f5b0.png",self.location).href);return{theme:a,mainmenuStore:t,accountStore:l,drawer:o,drawer_right:u,toggleTheme:s,navigations:g,imageSrc:y,getcard:async()=>{d.value=!0},menuGetUserDialog:d,LikeDialog:m,appStore:n,rail:c,showTooltip:v,menuTruncated:f,router:e,alert:i,burl:p}}},zn=U("span",null,"F.A.Q.",-1),Nn=U("span",null," Сменить тему",-1),Un=U("span",null," Поиск ",-1),Hn=U("span",null," Выход ",-1);function Fn(e,n,a,t,l,o){const u=ye("Card-users"),d=ye("Card-like"),m=ye("Auth-form"),c=ye("router-view"),v=ye("Online-users");return O(),L(_n,null,{default:h(()=>[r(On,{elevation:t.accountStore.cod2user?2:0,density:"compact",color:"app_bar",class:"pl-4"},{image:h(()=>[r(Tt,{class:"bggrad"})]),append:h(()=>[t.accountStore.cod2user?(O(),ae(J,{key:0},[r(we,{class:"bg-transparent",color:"black_and_white",density:"compact","prepend-avatar":t.accountStore.user.photo,title:t.accountStore.user.fio,subtitle:t.accountStore.user.post,variant:"text",onClick:t.getcard},null,8,["prepend-avatar","title","subtitle","onClick"]),r(Ee,{modelValue:t.menuGetUserDialog,"onUpdate:modelValue":n[2]||(n[2]=i=>t.menuGetUserDialog=i),persistent:"",width:"600"},{default:h(()=>[r(u,{menuGetUserDialog:t.menuGetUserDialog,loging:t.accountStore.user.login,onMenusClose:n[1]||(n[1]=i=>t.menuGetUserDialog=!1)},null,8,["menuGetUserDialog","loging"])]),_:1},8,["modelValue"]),r(W,{location:"bottom"},{activator:h(({props:i})=>[r(q,G({color:"black_and_white"},i,{dark:"",to:"/faq",icon:"mdi-comment-question-outline"}),null,16)]),default:h(()=>[zn]),_:1}),r(Ee,{modelValue:t.LikeDialog,"onUpdate:modelValue":n[4]||(n[4]=i=>t.LikeDialog=i),persistent:"",width:"800"},{activator:h(({props:i})=>[r(q,G({color:"black_and_white"},i,{dark:"",icon:"mdi-thumb-up-outline"}),{default:h(()=>[r(Y),r(W,{activator:"parent",location:"bottom"},{default:h(()=>[B("Обратная связь")]),_:1})]),_:2},1040)]),default:h(()=>[r(d,{LikeDialog:t.LikeDialog,onMenusClose:n[3]||(n[3]=i=>t.LikeDialog=!1)},null,8,["LikeDialog"])]),_:1},8,["modelValue"]),r(W,{location:"bottom"},{activator:h(({props:i})=>[r(q,{icon:"",onClick:t.toggleTheme},{default:h(()=>[r(Y,G(i,{class:"mr-1",color:"lampa"}),{default:h(()=>[B(" mdi-lightbulb-outline ")]),_:2},1040)]),_:2},1032,["onClick"])]),default:h(()=>[Nn]),_:1}),r(W,{location:"bottom"},{activator:h(({props:i})=>[r(q,G({color:"black_and_white",icon:"mdi-magnify"},i),null,16)]),default:h(()=>[Un]),_:1}),r(W,{location:"bottom"},{activator:h(({props:i})=>[r(q,G({color:"black_and_white",icon:"mdi-account-multiple-outline",onClick:n[5]||(n[5]=p=>t.drawer_right=!t.drawer_right)},i),null,16)]),default:h(()=>[U("span",null,N(t.drawer_right==!0?"Скрыть пользователей":"Показать пользователей"),1)]),_:1}),r(W,{location:"bottom"},{activator:h(({props:i})=>[r(q,G({color:"black_and_white",icon:"mdi-logout",onClick:t.accountStore.logout},i),null,16,["onClick"])]),default:h(()=>[Hn]),_:1})],64)):(O(),L(re,{key:1,justify:"center"},{default:h(()=>[r(m,{onChallengealert:n[6]||(n[6]=i=>t.alert=!0)})]),_:1}))]),default:h(()=>[t.accountStore.cod2user?(O(),L(Y,{key:0,class:"px-3",size:"20",color:"black_and_white",icon:t.rail?"mdi-chevron-right":"mdi-chevron-left",onClick:n[0]||(n[0]=i=>t.rail=!t.rail)},null,8,["icon"])):le("",!0),r(we,{class:"bg-transparent py",color:"black_and_white",density:"compact","prepend-avatar":t.imageSrc,title:"Портал МИ ФНС России по ЦОД № 2",variant:"text",to:"/"},null,8,["prepend-avatar"])]),_:1},8,["elevation"]),t.accountStore.cod2user?(O(),L(gt,{key:0,width:245,rail:t.rail,permanent:"",modelValue:t.drawer,"onUpdate:modelValue":n[8]||(n[8]=i=>t.drawer=i)},{default:h(()=>[r(re,{class:"my-0 h-100"},{default:h(()=>[r(K,{class:"flex-column d-flex"},{default:h(()=>[r(re,null,{default:h(()=>[r(K,null,{default:h(()=>[r(ze,{nav:"",density:"compact"},{default:h(()=>[(O(!0),ae(J,null,$e(t.navigations,(i,p)=>(O(),ae(J,null,["submenu"in i?(O(),L(Ra,{class:Sa(t.rail?"railmenu":""),key:p,value:i.name},{activator:h(({props:f})=>[r(ue,G(f,{title:i.name,"prepend-icon":i.ico}),{default:h(()=>[t.rail?(O(),L(W,{key:0,activator:"parent",location:"top"},{default:h(()=>[B(N(i.name),1)]),_:2},1024)):le("",!0)]),_:2},1040,["title","prepend-icon"])]),default:h(()=>[(O(!0),ae(J,null,$e(i.submenu,(f,s)=>(O(),L(ue,{href:f.link,key:s,value:f.name,title:t.rail?t.menuTruncated(f.name):f.name,to:f.path,target:f.link?"_blank":""},{default:h(()=>[t.rail?(O(),L(W,{key:0,activator:"parent",location:"top"},{default:h(()=>[B(N(f.name),1)]),_:2},1024)):le("",!0)]),_:2},1032,["href","value","title","to","target"]))),128))]),_:2},1032,["class","value"])):(O(),L(ue,{key:i.key,title:i.name,value:i.name,href:i.link,disabled:i.path=="/securyty",to:i.path,color:"navigation"},{prepend:h(()=>[r(Y,{icon:i.ico},null,8,["icon"]),t.rail?(O(),L(W,{key:0,activator:"parent",location:"top"},{default:h(()=>[B(N(i.name),1)]),_:2},1024)):le("",!0)]),_:2},1032,["title","value","href","disabled","to"]))],64))),256))]),_:1}),r(ze,{nav:"",density:"compact"},{default:h(()=>[(O(!0),ae(J,null,$e(t.mainmenuStore.portallinks,i=>(O(),L(ue,{key:i.name,title:i.name,value:i.name,href:i.link,color:"app_bar",target:i.link?"_blank":""},{prepend:h(()=>[r(Y,{icon:i.imagecode},null,8,["icon"]),t.rail?(O(),L(W,{key:0,activator:"parent",location:"top"},{default:h(()=>[B(N(i.name),1)]),_:2},1024)):le("",!0)]),_:2},1032,["title","value","href","target"]))),128))]),_:1})]),_:1})]),_:1}),r(re,{class:"flex-grow-0"},{default:h(()=>[r(K,{class:"py-0 pl-1 d-flex flex-column"},{default:h(()=>[r(ze,{class:"d-flex flex-column"},{default:h(()=>[t.rail?(O(),L(ue,{key:1,class:"align-center ml-2"},{default:h(()=>[r(W,{modelValue:t.showTooltip,"onUpdate:modelValue":n[7]||(n[7]=i=>t.showTooltip=i),location:"top"},{activator:h(({props:i})=>[r(Y,G(i,{color:"grey"}),{default:h(()=>[B(" mdi-account-eye ")]),_:2},1040)]),default:h(()=>[U("p",null,"Посещений всего: "+N(t.appStore.countvisitor.totalvisit),1),r(ce),U("p",null,"Посещений сегодня: "+N(t.appStore.countvisitor.visittoday),1),r(ce),U("p",null,"Уникальных посещений: "+N(t.appStore.countvisitor.uniqtoday),1)]),_:1},8,["modelValue"])]),_:1})):(O(),L(ue,{key:0,class:"text-caption font-weight-bold text-truncate"},{default:h(()=>[U("p",null,"Посещений всего:"+N(t.appStore.countvisitor.totalvisit),1),r(ce),U("p",null,"Посещений сегодня: "+N(t.appStore.countvisitor.visittoday),1),r(ce),U("p",null,"Уникальных посещений: "+N(t.appStore.countvisitor.uniqtoday),1),r(ce)]),_:1}))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["rail","modelValue"])):le("",!0),t.accountStore.cod2user?(O(),L(vt,{key:1,class:"d-flex bg-main_theme"},{default:h(()=>[r(c)]),_:1})):(O(),L(vt,{key:2,class:"d-flex justify-center align-center text-h3 bg-teal-lighten-2"},{default:h(()=>[r(we,{class:"h-100 w-100 d-flex justify-center rounded-0 flex-column",image:`${t.burl}/media/newsimage/ng.png`},null,8,["image"])]),_:1})),t.accountStore.cod2user?(O(),L(gt,{key:3,modelValue:t.drawer_right,"onUpdate:modelValue":n[9]||(n[9]=i=>t.drawer_right=i),rail:"",permanent:"",location:"right",onClick:n[10]||(n[10]=i=>t.rail=!1)},{default:h(()=>[r(v)]),_:1},8,["modelValue"])):le("",!0)]),_:1})}const tl=Le(Bn,[["render",Fn]]);export{tl as default}; +import{p as Q,i as _e,c as b,r as R,a as te,b as ne,d as ht,s as M,o as pe,e as Oe,f as Wt,h as yt,j as Yt,k as Xt,l as Se,m as Zt,n as Kt,q as Jt,t as pt,w as z,u as Ue,v as C,x as Qt,y as ea,z as He,_ as Le,A as We,B as bt,C as O,D as L,E as h,F as r,V as Y,G as B,H as G,I as wt,J as $t,K as re,L as K,M as _t,N as ta,O as aa,P as na,Q as la,R as we,S as U,T as oa,U as ra,W as ia,X as ye,Y as ae,Z as J,$ as $e,a0 as Qe,a1 as be,a2 as sa,a3 as ua,a4 as ke,a5 as Ae,a6 as de,a7 as ca,a8 as je,a9 as Ye,aa as xt,ab as da,ac as ve,ad as N,ae as le,af as et,ag as Xe,ah as Vt,ai as St,aj as kt,ak as Fe,al as xe,am as Ct,an as Rt,ao as Ot,ap as Et,aq as Tt,ar as Be,as as va,at as ma,au as fa,av as ga,aw as ha,ax as ya,ay as pa,az as ba,aA as wa,aB as $a,aC as _a,aD as xa,aE as Va,aF as Sa}from"./index-cb66bb90.js";import{u as ka,V as q,a as Ca}from"./VBtn-be56359b.js";import{V as Pt}from"./VContainer-5ec7b029.js";import{V as tt,a as Ee,b as ue,c as ce,d as ze,e as Ra}from"./VList-a51d3781.js";import{V as It}from"./VSpacer-ccbf9fb8.js";import{V as Oa}from"./VAlert-03636774.js";import{C as Lt,V as W}from"./VTooltip-104ed121.js";import{V as Ea,u as Ze}from"./VTextarea-5b24e794.js";import"./VInput-6691c158.js";import"./VWindowItem-ffea9ec9.js";const Te=Symbol.for("vuetify:layout"),At=Symbol.for("vuetify:layout-item"),at=1e3,Ta=Q({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),jt=Q({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function Pa(){const e=_e(Te);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Dt(e){const n=_e(Te);if(!n)throw new Error("[Vuetify] Could not find injected layout");const a=e.id??`layout-item-${yt()}`,t=ht("useLayoutItem");Oe(At,{id:a});const l=M(!1);Yt(()=>l.value=!0),Xt(()=>l.value=!1);const{layoutItemStyles:o,layoutItemScrimStyles:u}=n.register(t,{...e,active:b(()=>l.value?!1:e.active.value),id:a});return Se(()=>n.unregister(a)),{layoutItemStyles:o,layoutRect:n.layoutRect,layoutItemScrimStyles:u}}const Ia=(e,n,a,t)=>{let l={top:0,left:0,right:0,bottom:0};const o=[{id:"",layer:{...l}}];for(const u of e){const d=n.get(u),m=a.get(u),c=t.get(u);if(!d||!m||!c)continue;const v={...l,[d.value]:parseInt(l[d.value],10)+(c.value?parseInt(m.value,10):0)};o.push({id:u,layer:v}),l=v}return o};function La(e){const n=_e(Te,null),a=b(()=>n?n.rootZIndex.value-100:at),t=R([]),l=te(new Map),o=te(new Map),u=te(new Map),d=te(new Map),m=te(new Map),{resizeRef:c,contentRect:v}=ka(),i=b(()=>{const $=new Map,x=e.overlaps??[];for(const S of x.filter(E=>E.includes(":"))){const[E,T]=S.split(":");if(!t.value.includes(E)||!t.value.includes(T))continue;const j=l.get(E),H=l.get(T),X=o.get(E),ee=o.get(T);!j||!H||!X||!ee||($.set(T,{position:j.value,amount:parseInt(X.value,10)}),$.set(E,{position:H.value,amount:-parseInt(ee.value,10)}))}return $}),p=b(()=>{const $=[...new Set([...u.values()].map(S=>S.value))].sort((S,E)=>S-E),x=[];for(const S of $){const E=t.value.filter(T=>{var j;return((j=u.get(T))==null?void 0:j.value)===S});x.push(...E)}return Ia(x,l,o,d)}),f=b(()=>!Array.from(m.values()).some($=>$.value)),s=b(()=>p.value[p.value.length-1].layer),g=b(()=>({"--v-layout-left":ne(s.value.left),"--v-layout-right":ne(s.value.right),"--v-layout-top":ne(s.value.top),"--v-layout-bottom":ne(s.value.bottom),...f.value?void 0:{transition:"none"}})),y=b(()=>p.value.slice(1).map(($,x)=>{let{id:S}=$;const{layer:E}=p.value[x],T=o.get(S),j=l.get(S);return{id:S,...E,size:Number(T.value),position:j.value}})),w=$=>y.value.find(x=>x.id===$),V=ht("createLayout"),I=M(!1);pe(()=>{I.value=!0}),Oe(Te,{register:($,x)=>{let{id:S,order:E,position:T,layoutSize:j,elementSize:H,active:X,disableTransitions:ee,absolute:se}=x;u.set(S,E),l.set(S,T),o.set(S,j),d.set(S,X),ee&&m.set(S,ee);const me=Wt(At,V==null?void 0:V.vnode).indexOf($);me>-1?t.value.splice(me,0,S):t.value.push(S);const fe=b(()=>y.value.findIndex(D=>D.id===S)),A=b(()=>a.value+p.value.length*2-fe.value*2),P=b(()=>{const D=T.value==="left"||T.value==="right",ge=T.value==="right",qt=T.value==="bottom",Je={[T.value]:0,zIndex:A.value,transform:`translate${D?"X":"Y"}(${(X.value?0:-110)*(ge||qt?-1:1)}%)`,position:se.value||a.value!==at?"absolute":"fixed",...f.value?void 0:{transition:"none"}};if(!I.value)return Je;const Z=y.value[fe.value];if(!Z)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const Me=i.value.get(S);return Me&&(Z[Me.position]+=Me.amount),{...Je,height:D?`calc(100% - ${Z.top}px - ${Z.bottom}px)`:H.value?`${H.value}px`:void 0,left:ge?void 0:`${Z.left}px`,right:ge?`${Z.right}px`:void 0,top:T.value!=="bottom"?`${Z.top}px`:void 0,bottom:T.value!=="top"?`${Z.bottom}px`:void 0,width:D?H.value?`${H.value}px`:void 0:`calc(100% - ${Z.left}px - ${Z.right}px)`}}),F=b(()=>({zIndex:A.value-1}));return{layoutItemStyles:P,layoutItemScrimStyles:F,zIndex:A}},unregister:$=>{u.delete($),l.delete($),o.delete($),d.delete($),m.delete($),t.value=t.value.filter(x=>x!==$)},mainRect:s,mainStyles:g,getLayoutItem:w,items:y,layoutRect:v,rootZIndex:a});const k=b(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),_=b(()=>({zIndex:a.value,position:n?"relative":void 0,overflow:n?"hidden":void 0}));return{layoutClasses:k,layoutStyles:_,getLayoutItem:w,items:y,layoutRect:v,layoutRef:c}}const Aa=Zt("MainmenuStore",()=>{const e=R([]);return{portallinks:e,loadlinks:async()=>{const a=await Kt.get("api/navigation/links/");e.value=a.data}}});function nt(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),a.push.apply(a,t)}return a}function oe(e){for(var n=1;n1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((a,t)=>(n.includes(t)||(a[t]=C(e[t])),a),{})}function Pe(e){return typeof e=="function"}function Da(e){return Qt(e)||ea(e)}function Mt(e,n,a){let t=e;const l=n.split(".");for(let o=0;oe.some(t=>Mt(n,t,{[a]:!1})[a]))}function ot(e,n,a){return b(()=>e.reduce((t,l)=>{const o=Mt(n,l,{[a]:!1})[a]||[];return t.concat(o)},[]))}function Bt(e,n,a,t){return e.call(t,C(n),C(a),t)}function zt(e){return e.$valid!==void 0?!e.$valid:!e}function Ma(e,n,a,t,l,o,u){let{$lazy:d,$rewardEarly:m}=l,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],v=arguments.length>8?arguments[8]:void 0,i=arguments.length>9?arguments[9]:void 0,p=arguments.length>10?arguments[10]:void 0;const f=R(!!t.value),s=R(0);a.value=!1;const g=z([n,t].concat(c,p),()=>{if(d&&!t.value||m&&!i.value&&!a.value)return;let y;try{y=Bt(e,n,v,u)}catch(w){y=Promise.reject(w)}s.value++,a.value=!!s.value,f.value=!1,Promise.resolve(y).then(w=>{s.value--,a.value=!!s.value,o.value=w,f.value=zt(w)}).catch(w=>{s.value--,a.value=!!s.value,o.value=w,f.value=!0})},{immediate:!0,deep:typeof n=="object"});return{$invalid:f,$unwatch:g}}function Ba(e,n,a,t,l,o,u,d){let{$lazy:m,$rewardEarly:c}=t;const v=()=>({}),i=b(()=>{if(m&&!a.value||c&&!d.value)return!1;let p=!0;try{const f=Bt(e,n,u,o);l.value=f,p=zt(f)}catch(f){l.value=f}return p});return{$unwatch:v,$invalid:i}}function za(e,n,a,t,l,o,u,d,m,c,v){const i=R(!1),p=e.$params||{},f=R(null);let s,g;e.$async?{$invalid:s,$unwatch:g}=Ma(e.$validator,n,i,a,t,f,l,e.$watchTargets,m,c,v):{$invalid:s,$unwatch:g}=Ba(e.$validator,n,a,t,f,l,m,c);const y=e.$message;return{$message:Pe(y)?b(()=>y(lt({$pending:i,$invalid:s,$params:lt(p),$model:n,$response:f,$validator:o,$propertyPath:d,$property:u}))):y||"",$params:p,$pending:i,$invalid:s,$response:f,$unwatch:g}}function Na(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=C(e),a=Object.keys(n),t={},l={},o={};let u=null;return a.forEach(d=>{const m=n[d];switch(!0){case Pe(m.$validator):t[d]=m;break;case Pe(m):t[d]={$validator:m};break;case d==="$validationGroups":u=m;break;case d.startsWith("$"):o[d]=m;break;default:l[d]=m}}),{rules:t,nestedValidators:l,config:o,validationGroups:u}}const Ua="__root";function Ha(e,n,a,t,l,o,u,d,m){const c=Object.keys(e),v=t.get(l,e),i=R(!1),p=R(!1),f=R(0);if(v){if(!v.$partial)return v;v.$unwatch(),i.value=v.$dirty.value}const s={$dirty:i,$path:l,$touch:()=>{i.value||(i.value=!0)},$reset:()=>{i.value&&(i.value=!1)},$commit:()=>{}};return c.length?(c.forEach(g=>{s[g]=za(e[g],n,s.$dirty,o,u,g,a,l,m,p,f)}),s.$externalResults=b(()=>d.value?[].concat(d.value).map((g,y)=>({$propertyPath:l,$property:a,$validator:"$externalResults",$uid:`${l}-externalResult-${y}`,$message:g,$params:{},$response:null,$pending:!1})):[]),s.$invalid=b(()=>{const g=c.some(y=>C(s[y].$invalid));return p.value=g,!!s.$externalResults.value.length||g}),s.$pending=b(()=>c.some(g=>C(s[g].$pending))),s.$error=b(()=>s.$dirty.value?s.$pending.value||s.$invalid.value:!1),s.$silentErrors=b(()=>c.filter(g=>C(s[g].$invalid)).map(g=>{const y=s[g];return te({$propertyPath:l,$property:a,$validator:g,$uid:`${l}-${g}`,$message:y.$message,$params:y.$params,$response:y.$response,$pending:y.$pending})}).concat(s.$externalResults.value)),s.$errors=b(()=>s.$dirty.value?s.$silentErrors.value:[]),s.$unwatch=()=>c.forEach(g=>{s[g].$unwatch()}),s.$commit=()=>{p.value=!0,f.value=Date.now()},t.set(l,e,s),s):(v&&t.set(l,e,s),s)}function Fa(e,n,a,t,l,o,u){const d=Object.keys(e);return d.length?d.reduce((m,c)=>(m[c]=Ge({validations:e[c],state:n,key:c,parentKey:a,resultsCache:t,globalConfig:l,instance:o,externalResults:u}),m),{}):{}}function Ga(e,n,a){const t=b(()=>[n,a].filter(s=>s).reduce((s,g)=>s.concat(Object.values(C(g))),[])),l=b({get(){return e.$dirty.value||(t.value.length?t.value.every(s=>s.$dirty):!1)},set(s){e.$dirty.value=s}}),o=b(()=>{const s=C(e.$silentErrors)||[],g=t.value.filter(y=>(C(y).$silentErrors||[]).length).reduce((y,w)=>y.concat(...w.$silentErrors),[]);return s.concat(g)}),u=b(()=>{const s=C(e.$errors)||[],g=t.value.filter(y=>(C(y).$errors||[]).length).reduce((y,w)=>y.concat(...w.$errors),[]);return s.concat(g)}),d=b(()=>t.value.some(s=>s.$invalid)||C(e.$invalid)||!1),m=b(()=>t.value.some(s=>C(s.$pending))||C(e.$pending)||!1),c=b(()=>t.value.some(s=>s.$dirty)||t.value.some(s=>s.$anyDirty)||l.value),v=b(()=>l.value?m.value||d.value:!1),i=()=>{e.$touch(),t.value.forEach(s=>{s.$touch()})},p=()=>{e.$commit(),t.value.forEach(s=>{s.$commit()})},f=()=>{e.$reset(),t.value.forEach(s=>{s.$reset()})};return t.value.length&&t.value.every(s=>s.$dirty)&&i(),{$dirty:l,$errors:u,$invalid:d,$anyDirty:c,$error:v,$pending:m,$touch:i,$reset:f,$silentErrors:o,$commit:p}}function Ge(e){let{validations:n,state:a,key:t,parentKey:l,childResults:o,resultsCache:u,globalConfig:d={},instance:m,externalResults:c}=e;const v=l?`${l}.${t}`:t,{rules:i,nestedValidators:p,config:f,validationGroups:s}=Na(n),g=oe(oe({},d),f),y=t?b(()=>{const P=C(a);return P?C(P[t]):void 0}):a,w=oe({},C(c)||{}),V=b(()=>{const P=C(c);return t?P?C(P[t]):void 0:P}),I=Ha(i,y,t,u,v,g,m,V,a),k=Fa(p,y,v,u,g,m,V),_={};s&&Object.entries(s).forEach(P=>{let[F,D]=P;_[F]={$invalid:Ne(D,k,"$invalid"),$error:Ne(D,k,"$error"),$pending:Ne(D,k,"$pending"),$errors:ot(D,k,"$errors"),$silentErrors:ot(D,k,"$silentErrors")}});const{$dirty:$,$errors:x,$invalid:S,$anyDirty:E,$error:T,$pending:j,$touch:H,$reset:X,$silentErrors:ee,$commit:se}=Ga(I,k,o),Ce=t?b({get:()=>C(y),set:P=>{$.value=!0;const F=C(a),D=C(c);D&&(D[t]=w[t]),Ue(F[t])?F[t].value=P:F[t]=P}}):null;t&&g.$autoDirty&&z(y,()=>{$.value||H();const P=C(c);P&&(P[t]=w[t])},{flush:"sync"});async function me(){return H(),g.$rewardEarly&&(se(),await He()),await He(),new Promise(P=>{if(!j.value)return P(!S.value);const F=z(j,()=>{P(!S.value),F()})})}function fe(P){return(o.value||{})[P]}function A(){Ue(c)?c.value=w:Object.keys(w).length===0?Object.keys(c).forEach(P=>{delete c[P]}):Object.assign(c,w)}return te(oe(oe(oe({},I),{},{$model:Ce,$dirty:$,$error:T,$errors:x,$invalid:S,$anyDirty:E,$pending:j,$touch:H,$reset:X,$path:v||Ua,$silentErrors:ee,$validate:me,$commit:se},o&&{$getResultsForChild:fe,$clearExternalResults:A,$validationGroups:_}),k))}class qa{constructor(){this.storage=new Map}set(n,a,t){this.storage.set(n,{rules:a,result:t})}checkRulesValidity(n,a,t){const l=Object.keys(t),o=Object.keys(a);return o.length!==l.length||!o.every(d=>l.includes(d))?!1:o.every(d=>a[d].$params?Object.keys(a[d].$params).every(m=>C(t[d].$params[m])===C(a[d].$params[m])):!0)}get(n,a){const t=this.storage.get(n);if(!t)return;const{rules:l,result:o}=t,u=this.checkRulesValidity(n,a,l),d=o.$unwatch?o.$unwatch:()=>({});return u?o:{$dirty:o.$dirty,$partial:!0,$unwatch:d}}}const Re={COLLECT_ALL:!0,COLLECT_NONE:!1},rt=Symbol("vuelidate#injectChildResults"),it=Symbol("vuelidate#removeChildResults");function Wa(e){let{$scope:n,instance:a}=e;const t={},l=R([]),o=b(()=>l.value.reduce((v,i)=>(v[i]=C(t[i]),v),{}));function u(v,i){let{$registerAs:p,$scope:f,$stopPropagation:s}=i;s||n===Re.COLLECT_NONE||f===Re.COLLECT_NONE||n!==Re.COLLECT_ALL&&n!==f||(t[p]=v,l.value.push(p))}a.__vuelidateInjectInstances=[].concat(a.__vuelidateInjectInstances||[],u);function d(v){l.value=l.value.filter(i=>i!==v),delete t[v]}a.__vuelidateRemoveInstances=[].concat(a.__vuelidateRemoveInstances||[],d);const m=_e(rt,[]);Oe(rt,a.__vuelidateInjectInstances);const c=_e(it,[]);return Oe(it,a.__vuelidateRemoveInstances),{childResults:o,sendValidationResultsToParent:m,removeValidationResultsFromParent:c}}function Nt(e){return new Proxy(e,{get(n,a){return typeof n[a]=="object"?Nt(n[a]):b(()=>n[a])}})}let st=0;function Ya(e,n){var a;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(t=e,e=void 0,n=void 0);let{$registerAs:l,$scope:o=Re.COLLECT_ALL,$stopPropagation:u,$externalResults:d,currentVueInstance:m}=t;const c=m||((a=Jt())===null||a===void 0?void 0:a.proxy),v=c?c.$options:{};l||(st+=1,l=`_vuelidate_${st}`);const i=R({}),p=new qa,{childResults:f,sendValidationResultsToParent:s,removeValidationResultsFromParent:g}=c?Wa({$scope:o,instance:c}):{childResults:R({})};if(!e&&v.validations){const y=v.validations;n=R({}),pt(()=>{n.value=c,z(()=>Pe(y)?y.call(n.value,new Nt(n.value)):y,w=>{i.value=Ge({validations:w,state:n,childResults:f,resultsCache:p,globalConfig:t,instance:c,externalResults:d||c.vuelidateExternalResults})},{immediate:!0})}),t=v.validationsConfig||t}else{const y=Ue(e)||Da(e)?e:te(e||{});z(y,w=>{i.value=Ge({validations:w,state:n,childResults:f,resultsCache:p,globalConfig:t,instance:c??{},externalResults:d})},{immediate:!0})}return c&&(s.forEach(y=>y(i,{$registerAs:l,$scope:o,$stopPropagation:u})),Se(()=>g.forEach(y=>y(l)))),b(()=>oe(oe({},C(i.value)),f.value))}function ut(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),a.push.apply(a,t)}return a}function Ve(e){for(var n=1;n1&&arguments[1]!==void 0?arguments[1]:[];const a=De(e);return Ve(Ve({},a),{},{$async:!0,$watchTargets:n})}function Qa(e){return{$validator(n){for(var a=arguments.length,t=new Array(a>1?a-1:0),l=1;l{const m=Object.entries(u).reduce((c,v)=>{let[i,p]=v;const f=e[i]||{},s=Object.entries(f).reduce((g,y)=>{let[w,V]=y;const k=Ht(V).call(this,p,u,d,...t),_=Ut(k);if(g.$data[w]=k,g.$data.$invalid=!_||!!g.$data.$invalid,g.$data.$error=g.$data.$invalid,!_){let $=V.$message||"";const x=V.$params||{};typeof $=="function"&&($=$({$pending:!1,$invalid:!_,$params:x,$model:p,$response:k})),g.$errors.push({$property:i,$message:$,$params:x,$response:k,$model:p,$pending:!1,$validator:w})}return{$valid:g.$valid&&_,$data:g.$data,$errors:g.$errors}},{$valid:!0,$data:{},$errors:[]});return c.$data[i]=s.$data,c.$errors[i]=s.$errors,{$valid:c.$valid&&s.$valid,$data:c.$data,$errors:c.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:o.$valid&&m.$valid,$data:o.$data.concat(m.$data),$errors:o.$errors.concat(m.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:n=>{let{$response:a}=n;return a?a.$errors.map(t=>Object.values(t).map(l=>l.map(o=>o.$message)).reduce((l,o)=>l.concat(o),[])):[]}}}const Ke=e=>{if(e=C(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let n in e)return!0;return!1}return!!String(e).length},en=e=>(e=C(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function ie(){for(var e=arguments.length,n=new Array(e),a=0;a(t=C(t),!Ke(t)||n.every(l=>(l.lastIndex=0,l.test(t))))}var Ft=Object.freeze({__proto__:null,forEach:Qa,len:en,normalizeValidatorObject:De,regex:ie,req:Ke,unwrap:C,unwrapNormalizedValidator:Ht,unwrapValidatorResponse:Ut,withAsync:Ja,withMessage:Ka,withParams:Za});ie(/^[a-zA-Z]*$/);ie(/^[a-zA-Z0-9]*$/);ie(/^\d*(\.\d+)?$/);const tn=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;ie(tn);function an(e){return typeof e=="string"&&(e=e.trim()),Ke(e)}var nn={$validator:an,$message:"Value is required",$params:{type:"required"}};const ln=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;ie(ln);ie(/(^[0-9]*$)|(^-[0-9]+$)/);ie(/^[-]?\d*(\.\d+)?$/);const ct=Ft.withMessage("Обязательное поле",nn),on={setup(e,n){const a=We(),t=bt(),l=R(!1),o=R(""),u=R(!1),d=R(!1),m=te({username:"9966-00-",password:""}),c=b(()=>({username:{req:ct,latin:Ft.withMessage(()=>'Логин имееет вид "0000-00-000"',f=>/(\d{4,4}[-]\d{2,2}[-]\d{3,3})+$/.test(f.toString()))},password:{req:ct}})),v=Ya(c,m),i=f=>v.value[f].$error?v.value[f].$errors[0].$message:"",p=async()=>{if(v.value.$error)console.log(!0);else try{await a.logging(m)}catch{t.loading=!1,u.value=!0,o.value="Ошибка авторизации"}};return pe(()=>{v.value.$validate()}),{accountStore:a,AppStore:t,menuAuthDialog:l,anon:m,v$:v,logging:p,errorer:i,alert:u,err:o,eyeshow:d}}},rn=U("span",{class:"text-h5"},"Вход в портал",-1);function sn(e,n,a,t,l,o){return O(),L(Ee,{modelValue:t.menuAuthDialog,"onUpdate:modelValue":n[6]||(n[6]=u=>t.menuAuthDialog=u),persistent:"",width:"400"},{activator:h(({props:u})=>[r(q,G(u,{"append-icon":"mdi-login",color:"black_and_white"}),{prepend:h(()=>[r(Y,{color:"black_and_white"})]),append:h(()=>[r(Y,{color:"black_and_white"})]),default:h(()=>[B(" Войти ")]),_:2},1040)]),default:h(()=>[r(we,{onKeyup:la(t.logging,["enter"])},{default:h(()=>[r(wt,null,{default:h(()=>[rn]),_:1}),r($t,null,{default:h(()=>[r(Pt,null,{default:h(()=>[r(re,null,{default:h(()=>[r(K,{cols:"12",class:"py-0"},{default:h(()=>[r(tt,{modelValue:t.anon.username,"onUpdate:modelValue":n[0]||(n[0]=u=>t.anon.username=u),label:"Логин",variant:"underlined","error-messages":t.errorer("username")},null,8,["modelValue","error-messages"])]),_:1}),r(K,{cols:"12",class:"py-0"},{default:h(()=>[r(tt,{type:t.eyeshow?"text":"password",modelValue:t.anon.password,"onUpdate:modelValue":n[2]||(n[2]=u=>t.anon.password=u),label:"Пароль",variant:"underlined","error-messages":t.errorer("password"),"onClick:appendInner":n[3]||(n[3]=u=>t.eyeshow=!t.eyeshow)},{"append-inner":h(()=>[r(Y,{size:"x-small",icon:t.eyeshow?"mdi-eye":"mdi-eye-off",onClick:n[1]||(n[1]=u=>t.eyeshow=!t.eyeshow)},null,8,["icon"])]),_:1},8,["type","modelValue","error-messages"])]),_:1})]),_:1})]),_:1})]),_:1}),r(_t,null,{default:h(()=>[r(It),r(q,{color:"modal_btn",variant:"text",onClick:n[4]||(n[4]=u=>t.menuAuthDialog=!1)},{default:h(()=>[B(" Отмена ")]),_:1}),r(q,{color:"modal_btn",variant:"text",onClick:t.logging},{default:h(()=>[B(" Войти ")]),_:1},8,["onClick"])]),_:1}),ta(r(na,{location:"bottom",absolute:"",indeterminate:""},null,512),[[aa,t.AppStore.loading&&!t.alert]])]),_:1},8,["onKeyup"]),r(Oa,{width:"400",position:"fixed",class:"bottom-alertauth bgerroralert",type:"error",density:"compact",title:"Ошибка авторизации",text:e.info,modelValue:t.alert,"onUpdate:modelValue":n[5]||(n[5]=u=>t.alert=u),closable:""},{prepend:h(()=>[r(Y,{icon:"mdi-alert-outline",class:"pt-1"})]),_:1},8,["text","modelValue"])]),_:1},8,["modelValue"])}const un=Le(on,[["render",sn]]),cn={components:{CardUsers:Lt},setup(){const e=R(""),n=R(!1),a={onliner:function(d){let m=new Set(d);console.log(Array.from(m));let c=Array.from(m);c.splice(c.findIndex(v=>v==t.user.login),1),console.log(t.user.login,"accountStore"),l.value=c}},t=We();let l=R([]);const o=new WebSocket(oa+"ws/watcher/?token="+localStorage.access),u=d=>{e.value=d,n.value=!0};return o.onmessage=d=>{let m=JSON.parse(d.data);a[m.message.action](m.message.data)},z(()=>t.cod2user,function(){t.cod2user.value||o.close()}),{loging:e,menuGetUserDialog:n,onlineuser:l,checkremote:ra,spravURL:ia,whatuser:u,accountStore:t}}};function dn(e,n,a,t,l,o){const u=ye("Card-users");return O(),ae("div",null,[(O(!0),ae(J,null,$e(t.onlineuser,d=>(O(),L(ue,{key:d,"prepend-avatar":t.checkremote(`${t.spravURL}${d}.jpg`),title:"x",nav:"",onClick:m=>t.whatuser(d)},null,8,["prepend-avatar","onClick"]))),128)),r(Ee,{modelValue:t.menuGetUserDialog,"onUpdate:modelValue":n[1]||(n[1]=d=>t.menuGetUserDialog=d),persistent:"",width:"600"},{default:h(()=>[r(u,{menuGetUserDialog:t.menuGetUserDialog,loging:t.loging,onMenusClose:n[0]||(n[0]=d=>t.menuGetUserDialog=!1)},null,8,["menuGetUserDialog","loging"])]),_:1},8,["modelValue"])])}const vn=Le(cn,[["render",dn]]);const mn=Q({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:Qe,default:"$ratingEmpty"},fullIcon:{type:Qe,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},ripple:Boolean,...be(),...sa(),...ua(),...ke(),...Ae()},"VRating"),fn=de()({name:"VRating",props:mn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const{t}=ca(),{themeClasses:l}=je(e),o=Ye(e,"modelValue"),u=b(()=>xt(parseFloat(o.value),0,+e.length)),d=b(()=>da(Number(e.length),1)),m=b(()=>d.value.flatMap(g=>e.halfIncrements?[g-.5,g]:[g])),c=M(-1),v=b(()=>m.value.map(g=>{const y=e.hover&&c.value>-1,w=u.value>=g,V=c.value>=g,k=(y?V:w)?e.fullIcon:e.emptyIcon,_=e.activeColor??e.color,$=w||V?_:e.color;return{isFilled:w,isHovered:V,icon:k,color:$}})),i=b(()=>[0,...m.value].map(g=>{function y(){c.value=g}function w(){c.value=-1}function V(){e.disabled||e.readonly||(o.value=u.value===g&&e.clearable?0:g)}return{onMouseenter:e.hover?y:void 0,onMouseleave:e.hover?w:void 0,onClick:V}})),p=b(()=>e.name??`v-rating-${yt()}`);function f(g){var S,E;let{value:y,index:w,showStar:V=!0}=g;const{onMouseenter:I,onMouseleave:k,onClick:_}=i.value[w+1],$=`${p.value}-${String(y).replace(".","-")}`,x={color:(S=v.value[w])==null?void 0:S.color,density:e.density,disabled:e.disabled,icon:(E=v.value[w])==null?void 0:E.icon,ripple:e.ripple,size:e.size,variant:"plain"};return r(J,null,[r("label",{for:$,class:{"v-rating__item--half":e.halfIncrements&&y%1>0,"v-rating__item--full":e.halfIncrements&&y%1===0},onMouseenter:I,onMouseleave:k,onClick:_},[r("span",{class:"v-rating__hidden"},[t(e.itemAriaLabel,y,e.length)]),V?a.item?a.item({...v.value[w],props:x,value:y,index:w,rating:u.value}):r(q,x,null):void 0]),r("input",{class:"v-rating__hidden",name:p.value,id:$,type:"radio",value:y,checked:u.value===y,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function s(g){return a["item-label"]?a["item-label"](g):g.label?r("span",null,[g.label]):r("span",null,[B(" ")])}return ve(()=>{var y;const g=!!((y=e.itemLabels)!=null&&y.length)||a["item-label"];return r(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},l.value,e.class],style:e.style},{default:()=>[r(f,{value:0,index:-1,showStar:!1},null),d.value.map((w,V)=>{var I,k;return r("div",{class:"v-rating__wrapper"},[g&&e.itemLabelPosition==="top"?s({value:w,index:V,label:(I=e.itemLabels)==null?void 0:I[V]}):void 0,r("div",{class:"v-rating__item"},[e.halfIncrements?r(J,null,[r(f,{value:w-.5,index:V*2},null),r(f,{value:w,index:V*2+1},null)]):r(f,{value:w,index:V},null)]),g&&e.itemLabelPosition==="bottom"?s({value:w,index:V,label:(k=e.itemLabels)==null?void 0:k[V]}):void 0])})]})}),{}}}),gn={props:{LikeDialog:{type:Boolean,default:!1}},setup(e,n){const a=R({nowcomment:{comment:""},nowrating:[]});function t(){et.get("api/feedback/feedbackdata/").then(m=>{if(a.value=m.data,a.value.nowrating.length==0)for(let c of a.value.basecrit)a.value.nowrating.push({rating:c.rating,crit:c.id,id:null});a.value.nowcomment===null&&(a.value.nowcomment={comment:"",id:null})})}pe(()=>{t()});const l=b(()=>{const c=a.value.nowrating.reduce((i,p)=>i+p.rating,0)/a.value.nowrating.length;return Number.isInteger(c)?c:c.toFixed(1)});function o(){let m="";return l.value>0&&l.value<=3?m="УПС-С! Мы обязательно все исправим":l.value>2&&l.value<=4?m="Спасибо за обратную связь, мы обратим на это внимание":l.value>4&&l.value<5?m="Класс, будем стараться до 5":m="Спасибо за отзыв и высокую оценку ^__^",m}function u(){n.emit("menusClose")}function d(){et.post("api/feedback/feedbackdata/",{nowrating:a.value.nowrating,nowcomment:a.value.nowcomment}).then(m=>{}),u()}return{feedbackdata:a,average:l,menusCloses:u,myLabel:o,feedSend:d}}},hn=U("span",{class:"text-h5"},"Обратная связь",-1),yn={key:0,class:"pl-5"},pn={class:"font-weight-black"};function bn(e,n,a,t,l,o){return O(),L(we,{class:"pt-2"},{default:h(()=>[r(wt,null,{default:h(()=>[hn]),_:1}),r($t,{class:"px-2 py-0"},{default:h(()=>[r(Pt,null,{default:h(()=>[r(re,null,{default:h(()=>[r(K,{class:"flex-grow-0 py-0 text-no-wrap align-self-center text-button"},{default:h(()=>[B(" Оцените сайт ")]),_:1}),r(ce)]),_:1}),(O(!0),ae(J,null,$e(t.feedbackdata.basecrit,(u,d)=>(O(),L(re,{key:d},{default:h(()=>[r(K,{class:"flex-grow-0 pb-0"},{default:h(()=>[r(Y,{size:"large",color:u.color,icon:u.ico},null,8,["color","icon"])]),_:2},1024),r(K,{class:"pb-0",lg:"3"},{default:h(()=>[B(N(u.name),1)]),_:2},1024),r(K,{class:"py-0"},{default:h(()=>[r(fn,{modelValue:t.feedbackdata.nowrating[d].rating,"onUpdate:modelValue":m=>t.feedbackdata.nowrating[d].rating=m,hover:"","half-increments":"",color:"yellow"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),r(ce)]),_:2},1024))),128)),r(re,{class:"mt-6"},{default:h(()=>[r(K,{class:"pa-0 px-3"},{default:h(()=>[r(Ea,{label:"Ваши комментарии сделают портал лучше","hide-details":"",variant:"outlined",rows:"5","row-height":"15",modelValue:t.feedbackdata.nowcomment.comment,"onUpdate:modelValue":n[0]||(n[0]=u=>t.feedbackdata.nowcomment.comment=u)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),r(_t,{class:"pt-0"},{default:h(()=>[t.average<5||t.feedbackdata.nowcomment.id!=null?(O(),ae("small",yn,[B(" Вы оценили сайт на "),U("span",pn,N(t.average),1),B(" "+N(t.myLabel()),1)])):le("",!0),r(It),r(q,{color:"modal_btn",variant:"text",text:"Закрыть",onClick:t.menusCloses},null,8,["onClick"]),r(q,{color:"modal_btn",variant:"text",text:t.feedbackdata.nowcomment.id==null?"Отправить":"Обновить",onClick:t.feedSend},null,8,["text","onClick"])]),_:1})]),_:1})}const wn=Le(gn,[["render",bn]]);const $n=Q({...be(),...Ta({fullHeight:!0}),...Ae()},"VApp"),_n=de()({name:"VApp",props:$n(),setup(e,n){let{slots:a}=n;const t=je(e),{layoutClasses:l,layoutStyles:o,getLayoutItem:u,items:d,layoutRef:m}=La(e),{rtlClasses:c}=Xe();return ve(()=>{var v;return r("div",{ref:m,class:["v-application",t.themeClasses.value,l.value,c.value,e.class],style:[o.value,e.style]},[r("div",{class:"v-application__wrap"},[(v=a.default)==null?void 0:v.call(a)])])}),{getLayoutItem:u,items:d,theme:t}}});const xn=Q({text:String,...be(),...ke()},"VToolbarTitle"),Vn=de()({name:"VToolbarTitle",props:xn(),setup(e,n){let{slots:a}=n;return ve(()=>{const t=!!(a.default||a.text||e.text);return r(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var l;return[t&&r("div",{class:"v-toolbar-title__placeholder"},[a.text?a.text():e.text,(l=a.default)==null?void 0:l.call(a)])]}})}),{}}}),Sn=[null,"prominent","default","comfortable","compact"],Gt=Q({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>Sn.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Vt(),...be(),...St(),...kt(),...ke({tag:"header"}),...Ae()},"VToolbar"),dt=de()({name:"VToolbar",props:Gt(),setup(e,n){var f;let{slots:a}=n;const{backgroundColorClasses:t,backgroundColorStyles:l}=Fe(xe(e,"color")),{borderClasses:o}=Ct(e),{elevationClasses:u}=Rt(e),{roundedClasses:d}=Ot(e),{themeClasses:m}=je(e),{rtlClasses:c}=Xe(),v=M(!!(e.extended||(f=a.extension)!=null&&f.call(a))),i=b(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),p=b(()=>v.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return Et({VBtn:{variant:"text"}}),ve(()=>{var w;const s=!!(e.title||a.title),g=!!(a.image||e.image),y=(w=a.extension)==null?void 0:w.call(a);return v.value=!!(e.extended||y),r(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},t.value,o.value,u.value,d.value,m.value,c.value,e.class],style:[l.value,e.style]},{default:()=>[g&&r("div",{key:"image",class:"v-toolbar__image"},[a.image?r(Be,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},a.image):r(Tt,{key:"image-img",cover:!0,src:e.image},null)]),r(Be,{defaults:{VTabs:{height:ne(i.value)}}},{default:()=>{var V,I,k;return[r("div",{class:"v-toolbar__content",style:{height:ne(i.value)}},[a.prepend&&r("div",{class:"v-toolbar__prepend"},[(V=a.prepend)==null?void 0:V.call(a)]),s&&r(Vn,{key:"title",text:e.title},{text:a.title}),(I=a.default)==null?void 0:I.call(a),a.append&&r("div",{class:"v-toolbar__append"},[(k=a.append)==null?void 0:k.call(a)])])]}}),r(Be,{defaults:{VTabs:{height:ne(p.value)}}},{default:()=>[r(Ca,null,{default:()=>[v.value&&r("div",{class:"v-toolbar__extension",style:{height:ne(p.value)}},[y])]})]})]})}),{contentHeight:i,extensionHeight:p}}}),kn=Q({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function Cn(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:a}=n;let t=0;const l=R(null),o=M(0),u=M(0),d=M(0),m=M(!1),c=M(!1),v=b(()=>Number(e.scrollThreshold)),i=b(()=>xt((v.value-o.value)/v.value||0)),p=()=>{const f=l.value;!f||a&&!a.value||(t=o.value,o.value="window"in f?f.pageYOffset:f.scrollTop,c.value=o.value{u.value=u.value||o.value}),z(m,()=>{u.value=0}),pe(()=>{z(()=>e.scrollTarget,f=>{var g;const s=f?document.querySelector(f):window;s&&s!==l.value&&((g=l.value)==null||g.removeEventListener("scroll",p),l.value=s,l.value.addEventListener("scroll",p,{passive:!0}))},{immediate:!0})}),Se(()=>{var f;(f=l.value)==null||f.removeEventListener("scroll",p)}),a&&z(a,p,{immediate:!0}),{scrollThreshold:v,currentScroll:o,currentThreshold:d,isScrollActive:m,scrollRatio:i,isScrollingUp:c,savedScroll:u}}const Rn=Q({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...Gt(),...jt(),...kn(),height:{type:[Number,String],default:64}},"VAppBar"),On=de()({name:"VAppBar",props:Rn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const t=R(),l=Ye(e,"modelValue"),o=b(()=>{var V;const w=new Set(((V=e.scrollBehavior)==null?void 0:V.split(" "))??[]);return{hide:w.has("hide"),inverted:w.has("inverted"),collapse:w.has("collapse"),elevate:w.has("elevate"),fadeImage:w.has("fade-image")}}),u=b(()=>{const w=o.value;return w.hide||w.inverted||w.collapse||w.elevate||w.fadeImage||!l.value}),{currentScroll:d,scrollThreshold:m,isScrollingUp:c,scrollRatio:v}=Cn(e,{canScroll:u}),i=b(()=>e.collapse||o.value.collapse&&(o.value.inverted?v.value>0:v.value===0)),p=b(()=>e.flat||o.value.elevate&&(o.value.inverted?d.value>0:d.value===0)),f=b(()=>o.value.fadeImage?o.value.inverted?1-v.value:v.value:void 0),s=b(()=>{var I,k;if(o.value.hide&&o.value.inverted)return 0;const w=((I=t.value)==null?void 0:I.contentHeight)??0,V=((k=t.value)==null?void 0:k.extensionHeight)??0;return w+V});va(b(()=>!!e.scrollBehavior),()=>{ma(()=>{o.value.hide?o.value.inverted?l.value=d.value>m.value:l.value=c.value||d.valueparseInt(e.order,10)),position:xe(e,"location"),layoutSize:s,elementSize:M(void 0),active:l,absolute:xe(e,"absolute")});return ve(()=>{const[w]=dt.filterProps(e);return r(dt,G({ref:t,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...y.value,"--v-toolbar-image-opacity":f.value,height:void 0,...g.value},e.style]},w,{collapse:i.value,flat:p.value}),a)}),{}}});const En=Q({scrollable:Boolean,...be(),...ke({tag:"main"})},"VMain"),vt=de()({name:"VMain",props:En(),setup(e,n){let{slots:a}=n;const{mainStyles:t}=Pa(),{ssrBootStyles:l}=Ze();return ve(()=>r(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[t.value,l.value,e.style]},{default:()=>{var o,u;return[e.scrollable?r("div",{class:"v-main__scroller"},[(o=a.default)==null?void 0:o.call(a)]):(u=a.default)==null?void 0:u.call(a)]}})),{}}});function Tn(e){let{rootEl:n,isSticky:a,layoutItemStyles:t}=e;const l=M(!1),o=M(0),u=b(()=>{const c=typeof l.value=="boolean"?"top":l.value;return[a.value?{top:"auto",bottom:"auto",height:void 0}:void 0,l.value?{[c]:ne(o.value)}:{top:t.value.top}]});pe(()=>{z(a,c=>{c?window.addEventListener("scroll",m,{passive:!0}):window.removeEventListener("scroll",m)},{immediate:!0})}),Se(()=>{window.removeEventListener("scroll",m)});let d=0;function m(){const c=d>window.scrollY?"up":"down",v=n.value.getBoundingClientRect(),i=parseFloat(t.value.top??0),p=window.scrollY-Math.max(0,o.value-i),f=v.height+Math.max(o.value,i)-window.scrollY-window.innerHeight,s=parseFloat(getComputedStyle(n.value).getPropertyValue("--v-body-scroll-y"))||0;v.height0;a--){if(e[a].t===e[a-1].t)continue;const t=mt(n),l=(e[a].d-e[a-1].d)/(e[a].t-e[a-1].t);n+=(l-t)*Math.abs(l),a===e.length-1&&(n*=.5)}return mt(n)*1e3}function Ln(){const e={};function n(l){Array.from(l.changedTouches).forEach(o=>{(e[o.identifier]??(e[o.identifier]=new fa(In))).push([l.timeStamp,o])})}function a(l){Array.from(l.changedTouches).forEach(o=>{delete e[o.identifier]})}function t(l){var c;const o=(c=e[l])==null?void 0:c.values().reverse();if(!o)throw new Error(`No samples for touch id ${l}`);const u=o[0],d=[],m=[];for(const v of o){if(u[0]-v[0]>Pn)break;d.push({t:v[0],d:v[1].clientX}),m.push({t:v[0],d:v[1].clientY})}return{x:ft(d),y:ft(m),get direction(){const{x:v,y:i}=this,[p,f]=[Math.abs(v),Math.abs(i)];return p>f&&v>=0?"right":p>f&&v<=0?"left":f>p&&i>=0?"down":f>p&&i<=0?"up":An()}}}return{addMovement:n,endTouch:a,getVelocity:t}}function An(){throw new Error}function jn(e){let{isActive:n,isTemporary:a,width:t,touchless:l,position:o}=e;pe(()=>{window.addEventListener("touchstart",w,{passive:!0}),window.addEventListener("touchmove",V,{passive:!1}),window.addEventListener("touchend",I,{passive:!0})}),Se(()=>{window.removeEventListener("touchstart",w),window.removeEventListener("touchmove",V),window.removeEventListener("touchend",I)});const u=b(()=>["left","right"].includes(o.value)),{addMovement:d,endTouch:m,getVelocity:c}=Ln();let v=!1;const i=M(!1),p=M(0),f=M(0);let s;function g(_,$){return(o.value==="left"?_:o.value==="right"?document.documentElement.clientWidth-_:o.value==="top"?_:o.value==="bottom"?document.documentElement.clientHeight-_:he())-($?t.value:0)}function y(_){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const x=o.value==="left"?(_-f.value)/t.value:o.value==="right"?(document.documentElement.clientWidth-_-f.value)/t.value:o.value==="top"?(_-f.value)/t.value:o.value==="bottom"?(document.documentElement.clientHeight-_-f.value)/t.value:he();return $?Math.max(0,Math.min(1,x)):x}function w(_){if(l.value)return;const $=_.changedTouches[0].clientX,x=_.changedTouches[0].clientY,S=25,E=o.value==="left"?$document.documentElement.clientWidth-S:o.value==="top"?xdocument.documentElement.clientHeight-S:he(),T=n.value&&(o.value==="left"?$document.documentElement.clientWidth-t.value:o.value==="top"?xdocument.documentElement.clientHeight-t.value:he());(E||T||n.value&&a.value)&&(v=!0,s=[$,x],f.value=g(u.value?$:x,n.value),p.value=y(u.value?$:x),m(_),d(_))}function V(_){const $=_.changedTouches[0].clientX,x=_.changedTouches[0].clientY;if(v){if(!_.cancelable){v=!1;return}const E=Math.abs($-s[0]),T=Math.abs(x-s[1]);(u.value?E>T&&E>3:T>E&&T>3)?(i.value=!0,v=!1):(u.value?T:E)>3&&(v=!1)}if(!i.value)return;_.preventDefault(),d(_);const S=y(u.value?$:x,!1);p.value=Math.max(0,Math.min(1,S)),S>1?f.value=g(u.value?$:x,!0):S<0&&(f.value=g(u.value?$:x,!1))}function I(_){if(v=!1,!i.value)return;d(_),i.value=!1;const $=c(_.changedTouches[0].identifier),x=Math.abs($.x),S=Math.abs($.y);(u.value?x>S&&x>400:S>x&&S>3)?n.value=$.direction===({left:"right",right:"left",top:"down",bottom:"up"}[o.value]||he()):n.value=p.value>.5}const k=b(()=>i.value?{transform:o.value==="left"?`translateX(calc(-100% + ${p.value*t.value}px))`:o.value==="right"?`translateX(calc(100% - ${p.value*t.value}px))`:o.value==="top"?`translateY(calc(-100% + ${p.value*t.value}px))`:o.value==="bottom"?`translateY(calc(100% - ${p.value*t.value}px))`:he(),transition:"none"}:void 0);return{isDragging:i,dragProgress:p,dragStyles:k}}function he(){throw new Error}const Dn=["start","end","left","right","top","bottom"],Mn=Q({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>Dn.includes(e)},sticky:Boolean,...Vt(),...be(),...St(),...jt(),...kt(),...ke({tag:"nav"}),...Ae()},"VNavigationDrawer"),gt=de()({name:"VNavigationDrawer",props:Mn(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,n){let{attrs:a,emit:t,slots:l}=n;const{isRtl:o}=Xe(),{themeClasses:u}=je(e),{borderClasses:d}=Ct(e),{backgroundColorClasses:m,backgroundColorStyles:c}=Fe(xe(e,"color")),{elevationClasses:v}=Rt(e),{mobile:i}=ga(),{roundedClasses:p}=Ot(e),f=ha(),s=Ye(e,"modelValue",null,A=>!!A),{ssrBootStyles:g}=Ze(),{scopeId:y}=ya(),w=R(),V=M(!1),I=b(()=>e.rail&&e.expandOnHover&&V.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),k=b(()=>pa(e.location,o.value)),_=b(()=>!e.permanent&&(i.value||e.temporary)),$=b(()=>e.sticky&&!_.value&&k.value!=="bottom");e.expandOnHover&&e.rail!=null&&z(V,A=>t("update:rail",!A)),e.disableResizeWatcher||z(_,A=>!e.permanent&&He(()=>s.value=!A)),!e.disableRouteWatcher&&f&&z(f.currentRoute,()=>_.value&&(s.value=!1)),z(()=>e.permanent,A=>{A&&(s.value=!0)}),pt(()=>{e.modelValue!=null||_.value||(s.value=e.permanent||!i.value)});const{isDragging:x,dragProgress:S,dragStyles:E}=jn({isActive:s,isTemporary:_,width:I,touchless:xe(e,"touchless"),position:k}),T=b(()=>{const A=_.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):I.value;return x.value?A*S.value:A}),{layoutItemStyles:j,layoutItemScrimStyles:H}=Dt({id:e.name,order:b(()=>parseInt(e.order,10)),position:k,layoutSize:T,elementSize:I,active:b(()=>s.value||x.value),disableTransitions:b(()=>x.value),absolute:b(()=>e.absolute||$.value&&typeof X.value!="string")}),{isStuck:X,stickyStyles:ee}=Tn({rootEl:w,isSticky:$,layoutItemStyles:j}),se=Fe(b(()=>typeof e.scrim=="string"?e.scrim:null)),Ce=b(()=>({...x.value?{opacity:S.value*.2,transition:"none"}:void 0,...H.value}));Et({VList:{bgColor:"transparent"}});function me(){V.value=!0}function fe(){V.value=!1}return ve(()=>{const A=l.image||e.image;return r(J,null,[r(e.tag,G({ref:w,onMouseenter:me,onMouseleave:fe,class:["v-navigation-drawer",`v-navigation-drawer--${k.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":V.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":_.value,"v-navigation-drawer--active":s.value,"v-navigation-drawer--sticky":$.value},u.value,m.value,d.value,v.value,p.value,e.class],style:[c.value,j.value,E.value,g.value,ee.value,e.style]},y,a),{default:()=>{var P,F,D,ge;return[A&&r("div",{key:"image",class:"v-navigation-drawer__img"},[l.image?(P=l.image)==null?void 0:P.call(l,{image:e.image}):r("img",{src:e.image,alt:""},null)]),l.prepend&&r("div",{class:"v-navigation-drawer__prepend"},[(F=l.prepend)==null?void 0:F.call(l)]),r("div",{class:"v-navigation-drawer__content"},[(D=l.default)==null?void 0:D.call(l)]),l.append&&r("div",{class:"v-navigation-drawer__append"},[(ge=l.append)==null?void 0:ge.call(l)])]}}),r(ba,{name:"fade-transition"},{default:()=>[_.value&&(x.value||s.value)&&!!e.scrim&&r("div",G({class:["v-navigation-drawer__scrim",se.backgroundColorClasses.value],style:[Ce.value,se.backgroundColorStyles.value],onClick:()=>s.value=!1},y),null)]})])}),{isStuck:X}}}),Bn={components:{AuthForm:un,OnlineUsers:vn,CardUsers:Lt,CardLike:wn},mixins:[wa],setup(){$a();const e=_a(),n=bt(),a=xa(),t=Aa(),l=We(),o=R(!0),u=R(!0),d=R(!1),m=R(!1),c=R(!1),v=R(!1),i=R(!1),p=Va.slice(0,-1),f=V=>V.slice(0,2).toUpperCase(),s=()=>{a.global.name.value=a.global.current.value.dark?"light":"dark"};t.loadlinks();const g=[{name:"Структура",ico:"mdi-source-branch",submenu:[{name:"ОКиБ",path:"/okib"}]},{name:"Сотрудники",ico:"mdi-account-multiple-outline",submenu:[{name:"Справочник",link:"http://10.252.44.33/accounting6/members.php"}]},{name:"Деятельность",ico:"mdi-bulletin-board",submenu:[{name:"Обеспечивающая",path:"/providing"}]},{name:"Новости",ico:"mdi-newspaper",path:"/news"},{name:"Безопасность",ico:"mdi-routes",path:"/securyty"},{name:"О портале",ico:"mdi-information-variant",path:"/portal"},{name:"Об инспекции",ico:"mdi-city",path:"/inspection"}],y=b(()=>new URL("/assets/FNS-logo-xs-e0e2f5b0.png",self.location).href);return{theme:a,mainmenuStore:t,accountStore:l,drawer:o,drawer_right:u,toggleTheme:s,navigations:g,imageSrc:y,getcard:async()=>{d.value=!0},menuGetUserDialog:d,LikeDialog:m,appStore:n,rail:c,showTooltip:v,menuTruncated:f,router:e,alert:i,burl:p}}},zn=U("span",null,"F.A.Q.",-1),Nn=U("span",null," Сменить тему",-1),Un=U("span",null," Поиск ",-1),Hn=U("span",null," Выход ",-1);function Fn(e,n,a,t,l,o){const u=ye("Card-users"),d=ye("Card-like"),m=ye("Auth-form"),c=ye("router-view"),v=ye("Online-users");return O(),L(_n,null,{default:h(()=>[r(On,{elevation:t.accountStore.cod2user?2:0,density:"compact",color:"app_bar",class:"pl-4"},{image:h(()=>[r(Tt,{class:"bggrad"})]),append:h(()=>[t.accountStore.cod2user?(O(),ae(J,{key:0},[r(we,{class:"bg-transparent",color:"black_and_white",density:"compact","prepend-avatar":t.accountStore.user.photo,title:t.accountStore.user.fio,subtitle:t.accountStore.user.post,variant:"text",onClick:t.getcard},null,8,["prepend-avatar","title","subtitle","onClick"]),r(Ee,{modelValue:t.menuGetUserDialog,"onUpdate:modelValue":n[2]||(n[2]=i=>t.menuGetUserDialog=i),persistent:"",width:"600"},{default:h(()=>[r(u,{menuGetUserDialog:t.menuGetUserDialog,loging:t.accountStore.user.login,onMenusClose:n[1]||(n[1]=i=>t.menuGetUserDialog=!1)},null,8,["menuGetUserDialog","loging"])]),_:1},8,["modelValue"]),r(W,{location:"bottom"},{activator:h(({props:i})=>[r(q,G({color:"black_and_white"},i,{dark:"",to:"/faq",icon:"mdi-comment-question-outline"}),null,16)]),default:h(()=>[zn]),_:1}),r(Ee,{modelValue:t.LikeDialog,"onUpdate:modelValue":n[4]||(n[4]=i=>t.LikeDialog=i),persistent:"",width:"800"},{activator:h(({props:i})=>[r(q,G({color:"black_and_white"},i,{dark:"",icon:"mdi-thumb-up-outline"}),{default:h(()=>[r(Y),r(W,{activator:"parent",location:"bottom"},{default:h(()=>[B("Обратная связь")]),_:1})]),_:2},1040)]),default:h(()=>[r(d,{LikeDialog:t.LikeDialog,onMenusClose:n[3]||(n[3]=i=>t.LikeDialog=!1)},null,8,["LikeDialog"])]),_:1},8,["modelValue"]),r(W,{location:"bottom"},{activator:h(({props:i})=>[r(q,{icon:"",onClick:t.toggleTheme},{default:h(()=>[r(Y,G(i,{class:"mr-1",color:"lampa"}),{default:h(()=>[B(" mdi-lightbulb-outline ")]),_:2},1040)]),_:2},1032,["onClick"])]),default:h(()=>[Nn]),_:1}),r(W,{location:"bottom"},{activator:h(({props:i})=>[r(q,G({color:"black_and_white",icon:"mdi-magnify"},i),null,16)]),default:h(()=>[Un]),_:1}),r(W,{location:"bottom"},{activator:h(({props:i})=>[r(q,G({color:"black_and_white",icon:"mdi-account-multiple-outline",onClick:n[5]||(n[5]=p=>t.drawer_right=!t.drawer_right)},i),null,16)]),default:h(()=>[U("span",null,N(t.drawer_right==!0?"Скрыть пользователей":"Показать пользователей"),1)]),_:1}),r(W,{location:"bottom"},{activator:h(({props:i})=>[r(q,G({color:"black_and_white",icon:"mdi-logout",onClick:t.accountStore.logout},i),null,16,["onClick"])]),default:h(()=>[Hn]),_:1})],64)):(O(),L(re,{key:1,justify:"center"},{default:h(()=>[r(m,{onChallengealert:n[6]||(n[6]=i=>t.alert=!0)})]),_:1}))]),default:h(()=>[t.accountStore.cod2user?(O(),L(Y,{key:0,class:"px-3",size:"20",color:"black_and_white",icon:t.rail?"mdi-chevron-right":"mdi-chevron-left",onClick:n[0]||(n[0]=i=>t.rail=!t.rail)},null,8,["icon"])):le("",!0),r(we,{class:"bg-transparent py",color:"black_and_white",density:"compact","prepend-avatar":t.imageSrc,title:"Портал МИ ФНС России по ЦОД № 2",variant:"text",to:"/"},null,8,["prepend-avatar"])]),_:1},8,["elevation"]),t.accountStore.cod2user?(O(),L(gt,{key:0,width:245,rail:t.rail,permanent:"",modelValue:t.drawer,"onUpdate:modelValue":n[8]||(n[8]=i=>t.drawer=i)},{default:h(()=>[r(re,{class:"my-0 h-100"},{default:h(()=>[r(K,{class:"flex-column d-flex"},{default:h(()=>[r(re,null,{default:h(()=>[r(K,null,{default:h(()=>[r(ze,{nav:"",density:"compact"},{default:h(()=>[(O(!0),ae(J,null,$e(t.navigations,(i,p)=>(O(),ae(J,null,["submenu"in i?(O(),L(Ra,{class:Sa(t.rail?"railmenu":""),key:p,value:i.name},{activator:h(({props:f})=>[r(ue,G(f,{title:i.name,"prepend-icon":i.ico}),{default:h(()=>[t.rail?(O(),L(W,{key:0,activator:"parent",location:"top"},{default:h(()=>[B(N(i.name),1)]),_:2},1024)):le("",!0)]),_:2},1040,["title","prepend-icon"])]),default:h(()=>[(O(!0),ae(J,null,$e(i.submenu,(f,s)=>(O(),L(ue,{href:f.link,key:s,value:f.name,title:t.rail?t.menuTruncated(f.name):f.name,to:f.path,target:f.link?"_blank":""},{default:h(()=>[t.rail?(O(),L(W,{key:0,activator:"parent",location:"top"},{default:h(()=>[B(N(f.name),1)]),_:2},1024)):le("",!0)]),_:2},1032,["href","value","title","to","target"]))),128))]),_:2},1032,["class","value"])):(O(),L(ue,{key:i.key,title:i.name,value:i.name,href:i.link,disabled:i.path=="/securyty",to:i.path,color:"navigation"},{prepend:h(()=>[r(Y,{icon:i.ico},null,8,["icon"]),t.rail?(O(),L(W,{key:0,activator:"parent",location:"top"},{default:h(()=>[B(N(i.name),1)]),_:2},1024)):le("",!0)]),_:2},1032,["title","value","href","disabled","to"]))],64))),256))]),_:1}),r(ze,{nav:"",density:"compact"},{default:h(()=>[(O(!0),ae(J,null,$e(t.mainmenuStore.portallinks,i=>(O(),L(ue,{key:i.name,title:i.name,value:i.name,href:i.link,color:"app_bar",target:i.link?"_blank":""},{prepend:h(()=>[r(Y,{icon:i.imagecode},null,8,["icon"]),t.rail?(O(),L(W,{key:0,activator:"parent",location:"top"},{default:h(()=>[B(N(i.name),1)]),_:2},1024)):le("",!0)]),_:2},1032,["title","value","href","target"]))),128))]),_:1})]),_:1})]),_:1}),r(re,{class:"flex-grow-0"},{default:h(()=>[r(K,{class:"py-0 pl-1 d-flex flex-column"},{default:h(()=>[r(ze,{class:"d-flex flex-column"},{default:h(()=>[t.rail?(O(),L(ue,{key:1,class:"align-center ml-2"},{default:h(()=>[r(W,{modelValue:t.showTooltip,"onUpdate:modelValue":n[7]||(n[7]=i=>t.showTooltip=i),location:"top"},{activator:h(({props:i})=>[r(Y,G(i,{color:"grey"}),{default:h(()=>[B(" mdi-account-eye ")]),_:2},1040)]),default:h(()=>[U("p",null,"Посещений всего: "+N(t.appStore.countvisitor.totalvisit),1),r(ce),U("p",null,"Посещений сегодня: "+N(t.appStore.countvisitor.visittoday),1),r(ce),U("p",null,"Уникальных посещений: "+N(t.appStore.countvisitor.uniqtoday),1)]),_:1},8,["modelValue"])]),_:1})):(O(),L(ue,{key:0,class:"text-caption font-weight-bold text-truncate"},{default:h(()=>[U("p",null,"Посещений всего:"+N(t.appStore.countvisitor.totalvisit),1),r(ce),U("p",null,"Посещений сегодня: "+N(t.appStore.countvisitor.visittoday),1),r(ce),U("p",null,"Уникальных посещений: "+N(t.appStore.countvisitor.uniqtoday),1),r(ce)]),_:1}))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["rail","modelValue"])):le("",!0),t.accountStore.cod2user?(O(),L(vt,{key:1,class:"d-flex bg-main_theme"},{default:h(()=>[r(c)]),_:1})):(O(),L(vt,{key:2,class:"d-flex justify-center align-center text-h3 bg-teal-lighten-2"},{default:h(()=>[r(we,{class:"h-100 w-100 d-flex justify-center rounded-0 flex-column",image:`${t.burl}/media/newsimage/ng.png`},null,8,["image"])]),_:1})),t.accountStore.cod2user?(O(),L(gt,{key:3,modelValue:t.drawer_right,"onUpdate:modelValue":n[9]||(n[9]=i=>t.drawer_right=i),rail:"",permanent:"",location:"right",onClick:n[10]||(n[10]=i=>t.rail=!1)},{default:h(()=>[r(v)]),_:1},8,["modelValue"])):le("",!0)]),_:1})}const tl=Le(Bn,[["render",Fn]]);export{tl as default}; diff --git a/src/front/dist/assets/FAQPage-ab96a294.js b/src/front/dist/assets/FAQPage-6a4dd13f.js similarity index 82% rename from src/front/dist/assets/FAQPage-ab96a294.js rename to src/front/dist/assets/FAQPage-6a4dd13f.js index 23b0ff6db..465a985f6 100644 --- a/src/front/dist/assets/FAQPage-ab96a294.js +++ b/src/front/dist/assets/FAQPage-6a4dd13f.js @@ -1 +1 @@ -import{_ as t,aB as a,C as s,D as o,E as e,K as c,F as r,G as n,L as l}from"./index-c88a2b18.js";const _={setup(){a()}};function f(p,i,u,x,d,g){return s(),o(c,null,{default:e(()=>[r(l,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[n(" F.A.Q. ")]),_:1})]),_:1})}const V=t(_,[["render",f]]);export{V as default}; +import{_ as t,aB as a,C as s,D as o,E as e,K as c,F as r,G as n,L as l}from"./index-cb66bb90.js";const _={setup(){a()}};function f(p,i,u,x,d,g){return s(),o(c,null,{default:e(()=>[r(l,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[n(" F.A.Q. ")]),_:1})]),_:1})}const V=t(_,[["render",f]]);export{V as default}; diff --git a/src/front/dist/assets/FeedbackPage-d06658df.js b/src/front/dist/assets/FeedbackPage-45a81db9.js similarity index 83% rename from src/front/dist/assets/FeedbackPage-d06658df.js rename to src/front/dist/assets/FeedbackPage-45a81db9.js index 23f482476..1c5206a61 100644 --- a/src/front/dist/assets/FeedbackPage-d06658df.js +++ b/src/front/dist/assets/FeedbackPage-45a81db9.js @@ -1 +1 @@ -import{_ as t,aB as a,C as s,D as c,E as e,K as o,F as r,G as n,L as l}from"./index-c88a2b18.js";const _={setup(){a()}};function f(p,d,i,u,x,g){return s(),c(o,null,{default:e(()=>[r(l,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[n(" Обратная связь ")]),_:1})]),_:1})}const V=t(_,[["render",f]]);export{V as default}; +import{_ as t,aB as a,C as s,D as c,E as e,K as o,F as r,G as n,L as l}from"./index-cb66bb90.js";const _={setup(){a()}};function f(p,d,i,u,x,g){return s(),c(o,null,{default:e(()=>[r(l,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[n(" Обратная связь ")]),_:1})]),_:1})}const V=t(_,[["render",f]]);export{V as default}; diff --git a/src/front/dist/assets/FnsHol-10b8ac38.js b/src/front/dist/assets/FnsHol-b484d350.js similarity index 85% rename from src/front/dist/assets/FnsHol-10b8ac38.js rename to src/front/dist/assets/FnsHol-b484d350.js index 3bd9cfcc7..0456f23eb 100644 --- a/src/front/dist/assets/FnsHol-10b8ac38.js +++ b/src/front/dist/assets/FnsHol-b484d350.js @@ -1 +1 @@ -import{_ as m,r as p,af as h,c as _,C as s,D as n,E as e,aE as g,Y as x,$ as w,Z as V,F as a,R as b,I as k,K as d,L as r,G as C,ad as v,aq as u,J as y,ae as T}from"./index-c88a2b18.js";import{V as $,a as H}from"./VCarouselItem-2e9d7f15.js";import{V as F}from"./VContainer-efd2f5bf.js";import{V as I}from"./VTextarea-86c6c8f9.js";import"./VWindowItem-68f94bab.js";import"./VBtn-3e30d8f6.js";import"./VInput-b34b1163.js";const B={setup(){const i=g.slice(0,-1),o=p([{link:""}]);h.get("api/fns/links/").then(t=>{o.value=t.data});const c=_(()=>(console.log(window.innerHeight,window.innerHeight-50),window.innerHeight-50));return{burl:i,carous:o,carushi:c}}};function E(i,o,c,t,L,N){return s(),n($,{cover:"",height:t.carushi,"hide-delimiters":"","hide-delimiter-background":"","show-arrows":"hover",color:"white"},{default:e(()=>[(s(!0),x(V,null,w(t.carous,(l,f)=>(s(),n(H,{key:f,src:`${t.burl}${l.link}`,cover:"",eager:""},{default:e(()=>[a(F,{"fill-height":"",fluid:"","pa-0":"","ma-0":"","pb-3":"",class:"flex-column h-100 d-flex"},{default:e(()=>[a(b,{class:"bgCard h-100 d-flex flex-column"},{default:e(()=>[a(k,{class:"ma-2 text-h3 text-uppercase titles py-5 flex-column"},{default:e(()=>[a(d,null,{default:e(()=>[a(r,{class:"pa-0 pl-1 align-self-center"},{default:e(()=>[C(v(l.title),1)]),_:2},1024),a(r,{class:"flex-grow-0 pa-0 pr-1"},{default:e(()=>[a(u,{width:"50","aspect-ratio":1,src:`${t.burl}${l.sender}`,cover:""},null,8,["src"])]),_:2},1024)]),_:2},1024)]),_:2},1024),"text"in l&&l.text.length>0?(s(),n(y,{key:0,class:"ml-2 mb-0 mb-2 flex-grow-0 pb-3 text-h6 h-100 pl-3 py-3 mr-1"},{default:e(()=>[a(d,null,{default:e(()=>[a(r,{cols:"6",class:"bgText"},{default:e(()=>[a(I,{class:"mt-n3 text-black textareas pt-2 font-weight-medium","model-value":l.text,variant:"plain",readonly:"","auto-grow":"",rows:"1","hide-details":""},null,8,["model-value"])]),_:2},1024),a(r,{cols:"6",class:"bgText"},{default:e(()=>[a(u,{"aspect-ratio":1,src:`${t.burl}${l.link2}`},null,8,["src"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):T("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"]))),128))]),_:1},8,["height"])}const S=m(B,[["render",E]]);export{S as default}; +import{_ as m,r as p,af as h,c as _,C as s,D as n,E as e,aE as g,Y as x,$ as w,Z as V,F as a,R as b,I as k,K as d,L as r,G as C,ad as v,aq as u,J as y,ae as T}from"./index-cb66bb90.js";import{V as $,a as H}from"./VCarouselItem-3dadb2b7.js";import{V as F}from"./VContainer-5ec7b029.js";import{V as I}from"./VTextarea-5b24e794.js";import"./VWindowItem-ffea9ec9.js";import"./VBtn-be56359b.js";import"./VInput-6691c158.js";const B={setup(){const i=g.slice(0,-1),o=p([{link:""}]);h.get("api/fns/links/").then(t=>{o.value=t.data});const c=_(()=>(console.log(window.innerHeight,window.innerHeight-50),window.innerHeight-50));return{burl:i,carous:o,carushi:c}}};function E(i,o,c,t,L,N){return s(),n($,{cover:"",height:t.carushi,"hide-delimiters":"","hide-delimiter-background":"","show-arrows":"hover",color:"white"},{default:e(()=>[(s(!0),x(V,null,w(t.carous,(l,f)=>(s(),n(H,{key:f,src:`${t.burl}${l.link}`,cover:"",eager:""},{default:e(()=>[a(F,{"fill-height":"",fluid:"","pa-0":"","ma-0":"","pb-3":"",class:"flex-column h-100 d-flex"},{default:e(()=>[a(b,{class:"bgCard h-100 d-flex flex-column"},{default:e(()=>[a(k,{class:"ma-2 text-h3 text-uppercase titles py-5 flex-column"},{default:e(()=>[a(d,null,{default:e(()=>[a(r,{class:"pa-0 pl-1 align-self-center"},{default:e(()=>[C(v(l.title),1)]),_:2},1024),a(r,{class:"flex-grow-0 pa-0 pr-1"},{default:e(()=>[a(u,{width:"50","aspect-ratio":1,src:`${t.burl}${l.sender}`,cover:""},null,8,["src"])]),_:2},1024)]),_:2},1024)]),_:2},1024),"text"in l&&l.text.length>0?(s(),n(y,{key:0,class:"ml-2 mb-0 mb-2 flex-grow-0 pb-3 text-h6 h-100 pl-3 py-3 mr-1"},{default:e(()=>[a(d,null,{default:e(()=>[a(r,{cols:"6",class:"bgText"},{default:e(()=>[a(I,{class:"mt-n3 text-black textareas pt-2 font-weight-medium","model-value":l.text,variant:"plain",readonly:"","auto-grow":"",rows:"1","hide-details":""},null,8,["model-value"])]),_:2},1024),a(r,{cols:"6",class:"bgText"},{default:e(()=>[a(u,{"aspect-ratio":1,src:`${t.burl}${l.link2}`},null,8,["src"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):T("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"]))),128))]),_:1},8,["height"])}const S=m(B,[["render",E]]);export{S as default}; diff --git a/src/front/dist/assets/HomePage-2c7c48f9.js b/src/front/dist/assets/HomePage-087d027f.js similarity index 62% rename from src/front/dist/assets/HomePage-2c7c48f9.js rename to src/front/dist/assets/HomePage-087d027f.js index 2b4ceb1a7..2333f9815 100644 --- a/src/front/dist/assets/HomePage-2c7c48f9.js +++ b/src/front/dist/assets/HomePage-087d027f.js @@ -1,6 +1,6 @@ -import{_ as q,r as k,aG as ae,C as v,D as C,E as c,Y as m,$ as A,Z as V,aE as J,F as h,R as H,I as te,K as Y,L as j,G as S,ad as f,aq as Ve,J as Z,p as Oe,ah as qe,a1 as Ke,aH as Xe,ai as Ze,aI as Je,aJ as Qe,aj as et,a4 as tt,a5 as it,a6 as ge,a8 as st,ak as at,al as nt,am as lt,aK as ot,an as rt,aL as dt,aM as ut,ao as ct,ac as Ae,X as W,a as ht,o as le,af as N,A as $e,aN as vt,aO as mt,aP as pt,w as ye,S as D,V as z,aF as L,aQ as _t,aR as gt,c as pe,U as Le,W as He,M as wt,a9 as fe,aS as yt,h as ft,aT as Dt,H as Q,aU as bt,aV as kt,N as Et,O as Tt,aW as K,ae as y,aX as b,aY as B,Q as De,aZ as Ct,az as ue,a_ as _e,a$ as Mt,b0 as be,b1 as g,B as xt,aB as St}from"./index-c88a2b18.js";import{V as Vt,a as Ot}from"./VCarouselItem-2e9d7f15.js";import{V as We}from"./VContainer-efd2f5bf.js";import{V as At}from"./VTextarea-86c6c8f9.js";import{a as $t,b as Lt,C as Ie,V as Pe}from"./VTooltip-37ca3885.js";import{m as Ht,b as Wt,V as ce,c as It,d as Pt}from"./VBtn-3e30d8f6.js";import{f as jt,m as Yt,V as ke}from"./VSelectionControl-32b442ed.js";import{b as Ft,c as we,V as Rt,d as Bt,f as Nt,a as je}from"./VList-1710ecfb.js";import{V as zt,L as Ut}from"./load-round-b73652f0.js";import{m as Gt,u as qt,V as Ee}from"./VInput-b34b1163.js";import"./VWindowItem-68f94bab.js";import"./VChip-e811d273.js";import"./VAlert-e3223400.js";const Kt={setup(){const e=J.slice(0,-1),t=k([{link:""}]);return ae("api/navigation/carousels/",t),{burl:e,carous:t}}};function Xt(e,t,i,a,o,s){return v(),C(Vt,{interval:"10000",cover:"",height:"450","hide-delimiters":"","hide-delimiter-background":"","show-arrows":"hover",color:"white"},{default:c(()=>[(v(!0),m(V,null,A(a.carous,(l,n)=>(v(),C(Ot,{key:n,src:`${a.burl}${l.link}`,cover:"",eager:""},{default:c(()=>[h(We,{"fill-height":"",fluid:"","pa-0":"","ma-0":"","pb-3":"",class:"flex-column h-100 d-flex"},{default:c(()=>[h(H,{class:"bgCard h-100 d-flex flex-column"},{default:c(()=>[h(te,{class:"ma-2 text-h3 text-uppercase titles text-text_carous py-5 flex-column"},{default:c(()=>[h(Y,null,{default:c(()=>[h(j,{class:"pa-0 pl-1 align-self-center"},{default:c(()=>[S(f(l.title),1)]),_:2},1024),h(j,{class:"flex-grow-0 pa-0 pr-1"},{default:c(()=>[h(Ve,{width:"50","aspect-ratio":1,src:`${a.burl}${l.sender}`,cover:""},null,8,["src"])]),_:2},1024)]),_:2},1024)]),_:2},1024),h(Z,{class:"ml-2 mb-0 mb-2 w-50 flex-grow-0 pb-3 text-h6 bgText overflow-auto"},{default:c(()=>[h(At,{class:"text-text_carous mt-n3 text-black textareas pt-2 font-weight-medium","model-value":l.text,variant:"plain",readonly:"","auto-grow":"",rows:"1","hide-details":""},null,8,["model-value"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"]))),128))]),_:1})}const Zt=q(Kt,[["render",Xt]]);const Jt=Oe({color:String,...qe(),...Ke(),...Xe(),...Ze(),...Je(),...Qe(),...et(),...tt(),...it()},"VSheet"),Qt=ge()({name:"VSheet",props:Jt(),setup(e,t){let{slots:i}=t;const{themeClasses:a}=st(e),{backgroundColorClasses:o,backgroundColorStyles:s}=at(nt(e,"color")),{borderClasses:l}=lt(e),{dimensionStyles:n}=ot(e),{elevationClasses:r}=rt(e),{locationStyles:d}=dt(e),{positionClasses:u}=ut(e),{roundedClasses:p}=ct(e);return Ae(()=>h(e.tag,{class:["v-sheet",a.value,o.value,l.value,r.value,u.value,p.value,e.class],style:[s.value,n.value,d.value,e.style]},i)),{}}}),ei=ge()({name:"VSlideGroupItem",props:Ht(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:i}=t;const a=Wt(e,$t);return()=>{var o;return(o=i.default)==null?void 0:o.call(i,{isSelected:a.isSelected.value,select:a.select,toggle:a.toggle,selectedClass:a.selectedClass.value})}}}),ti={props:{digitalData:{type:Object,default:{}}},setup(){const e=J.slice(0,-1);return{model:k(!1),burl:e}}};function ii(e,t,i,a,o,s){const l=W("vue3-autocounter");return v(),C(H,{class:"d-flex ml-3"},{default:c(()=>[h(Qt,{class:"mx-auto",elevation:"0","max-width":"813"},{default:c(()=>[h(Lt,{modelValue:a.model,"onUpdate:modelValue":t[0]||(t[0]=n=>a.model=n),class:"pa-0","selected-class":"bg-primary",mandatory:"","show-arrows":""},{default:c(()=>[(v(!0),m(V,null,A(i.digitalData,n=>(v(),C(ei,{key:n},{default:c(()=>[h(H,{class:"ma-2 mt-4 d-flex flex-column",height:"100",width:"169",elevation:"0"},{default:c(()=>[h(H,{class:"h-100 text-center g text-black_grey"},{default:c(()=>[h(te,{class:"statstyle my-2 py-0 text-overline font-weight-bold"},{default:c(()=>[S(f(n.status),1)]),_:2},1024),h(Z,{class:"numstyle mt-4 py-0 font-weight-bold"},{default:c(()=>[h(l,{ref_for:!0,ref:"counter",startAmount:0,endAmount:Number(n.num),duration:1},null,8,["endAmount"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})}const si=q(ti,[["render",ii]]);const ai={name:"calendar-full",props:{initial:{type:String,default:"multiMonthYear"}},setup(e){const t=ht({plugins:[dayGridPlugin,interactionPlugin,timeGridPlugin,listPlugin,multiMonthPlugin],initialView:e.initial,dayMaxEventRows:3,locale:"ru",buttonText:{today:"Сегодня",month:"Месяц",week:"Неделя",day:"День",list:"Список",year:"Год"},firstDay:"1",events:[],editable:!0,headerToolbar:{left:"prev",center:"title",right:"next"},aspectRatio:1,multiMonthMaxColumns:2,displayEventEnd:!0,height:"100%",stickyHeaderDates:!0,dayMaxEventRows:2,moreLinkContent:function(a){return a.shortText+" события"},views:{multiMonthYear:{moreLinkContent:function(a){return a.num}}},allDayText:"Весь день",noEventsContent:"На сегодня событий нет",selectable:!0,dateClick:a=>{console.log(a.date)}});function i(){N.get("api/general_vacation/generalvacation/").then(a=>{for(let o in a.data)o=="План-график"&&a.data[o].map(s=>{t.events.push({description:"description for All Day Event",title:s.name,start:s.start_work_period,end:s.end_work_period})})})}return le(()=>{i()}),{calendarOptions:t}}};function ni(e,t,i,a,o,s){const l=W("full-calendar");return v(),C(l,{options:a.calendarOptions},null,8,["options"])}const li=q(ai,[["render",ni]]);const Te=$e(),oi={components:{myHelper:vt},setup(){const e=k([]);mt(()=>{e.value=[]});const t=k([]),i=J.slice(0,-1),a=k(""),o=k(0),s=k(1),l=k(2),n=pt();let r=`api/navigation/news/?name=${n.path}&page=${s.value-1}&selected=${l.value}`;n.path=="/news"&&"id"in n.query&&(r=`api/navigation/news/?name=${n.path}&page=${s.value-1}&selected=${l.value}&id=${n.query.id}`),ae(r,t);const d=(w,O)=>{N.post("api/navigation/news/",{news:w,scores:O}).then(E=>{t.value.result[t.value.result.findIndex(P=>P.id==w)].scores=E.data})},u=()=>{N.post("api/navigation/news/",{news:o.value,text:a.value}).then(w=>{t.value.result[t.value.result.findIndex(O=>O.id==w.data.news)].comment=w.data.comment}),a.value=""},p=(w,O)=>{N.post("api/navigation/news/",{delid:w,news:O}).then(E=>{t.value.result[t.value.result.findIndex(P=>P.id==E.data.news)].comment=E.data.comment})},_=()=>{ae(`api/navigation/news/?name=${n.path}&page=${s.value-1}&selected=${l.value}`,t)};return ye(()=>Te.cod2user,(w,O)=>{w&&ae(`api/navigation/news/?name=${n.path}&page=${s.value-1}&selected=${l.value}`,t)},{deep:!0}),ye(()=>l,(w,O)=>{w&&ae(`api/navigation/news/?name=${n.path}&page=${s.value-1}&selected=${w.value}`,t)},{deep:!0}),{newss:t,burl:i,limitText:w=>{let E=new DOMParser().parseFromString(w,"text/html").body.textContent||"";E=E.replaceAll('src="/media/uploads',`src="${J}media/uploads`);const P=E.split(" ").slice(0,25);return`${E.split(" ").slice(0,25).join(" ")} ${P.length<25?"":"..."}`},toggleIncrementLike:d,accountStore:Te,dateformat:w=>jt(new Date(w),"dd.MM.yyyy HH:mm"),splitname:w=>w.familyname+" "+w.name[0]+"."+w.parentname[0]+".",textcomment:a,openComent:w=>{o.value=w},addComment:u,idnews:o,deletComment:p,pagelistNews:_,divs:e,page:s,selecnews:l,route:n}}},Ye=e=>(_t("data-v-73fdd918"),e=e(),gt(),e),ri={class:"flex-column h-100"},di={class:"justify-self-start mt-1"},ui={class:"text-caption me-2"},ci={class:"justify-self-end"},hi={class:"subheading me-2"},vi=Ye(()=>D("span",{class:"me-1"},"·",-1)),mi={class:"subheading me-2"},pi=Ye(()=>D("span",{class:"me-1"},"·",-1)),_i={class:"subheading"},gi=["innerHTML"],wi={class:"pt-1 pl-1 pb-2"};function yi(e,t,i,a,o,s){return v(),m("div",ri,[(v(!0),m(V,null,A(a.newss.result,(l,n)=>(v(),C(H,{ref_for:!0,ref:n,class:L(["mx-auto px-3 pt-3",n>0?"mt-1":""]),key:n},{default:c(()=>[h(te,{class:"py-1"},{default:c(()=>[S(f(l.title),1)]),_:2},1024),h(Ve,{src:`${a.burl}${l.link}`,height:"175px",cover:"",width:"92%",class:"mx-auto"},null,8,["src"]),h(Ft,{class:"w-100"},{append:c(()=>[D("div",ci,[h(z,{size:"x-small",class:"me-1",icon:l.scores.filter(r=>r.user==a.accountStore.user.login&&r.score==!0).length>0?"mdi-thumb-up":"mdi-thumb-up-outline",onClick:r=>a.toggleIncrementLike(l.id,!0)},null,8,["icon","onClick"]),D("span",hi,f(l.scores.filter(r=>r.score==!0).length),1),vi,h(z,{size:"x-small",class:"me-1",icon:l.scores.filter(r=>r.user==a.accountStore.user.login&&r.score==!1).length>0?"mdi-thumb-down":"mdi-thumb-down-outline",onClick:r=>a.toggleIncrementLike(l.id,!1)},null,8,["icon","onClick"]),D("span",mi,f(l.scores.filter(r=>r.score==!1).length),1),pi,h(z,{size:"x-small",class:"me-1",icon:"mdi-message-text-outline"}),D("span",_i,f(l.comment.length),1)])]),default:c(()=>[D("div",di,[h(z,{size:"x-small",class:"me-1",icon:"mdi-account"}),D("span",ui,f(a.splitname(l.author)),1)])]),_:2},1024),h(we),h(Z,{class:"pb-0"},{default:c(()=>[D("div",{innerHTML:a.limitText(l.text)},null,8,gi)]),_:2},1024),D("div",wi,[h(ce,{color:"more_details_btn",variant:"text",to:`/news?id=${l.id}`,size:"small","append-icon":"mdi-step-forward-2"},{default:c(()=>[S(" Подробнее ")]),_:2},1032,["to"])])]),_:2},1032,["class"]))),128))])}const fi=q(oi,[["render",yi],["__scopeId","data-v-73fdd918"]]),Di={components:{CardUsers:Ie},props:{idpos:{type:Number,default:""},namepos:{type:Text,default:""}},setup(e,{emit:t}){const i=k(!1),a=k({}),o=k(""),s=k(""),l=()=>{t("searchClose")};le(()=>{N.get(`api/general_vacation/dailyload/?id=${e.idpos}`).then(d=>{console.log(d.data),a.value=d.data.daily})});const n=async d=>{i.value=!0,o.value=d},r=pe({get(){let d={};return Object.keys(a.value).map(u=>{let p=a.value[u].filter(_=>_.fio.toLowerCase().includes(s.value));p.length>0&&(d[u]=p)}),d}});return{onSubmit:l,checkremote:Le,searchname:s,spravURL:He,t_dailyRound:a,result:r,menuGetUserDialog:i,getcard:n,iduser:o}}};function bi(e,t,i,a,o,s){const l=W("Card-users");return v(),m("div",null,[h(H,{class:"bg-white pa-3 px-0",width:"550",height:"600"},{default:c(()=>[h(H,{class:"mx-auto overflow-auto mx-0 px-3",width:"550",height:"600",flat:""},{default:c(()=>[h(te,{class:"fixed-bar bg-white"},{default:c(()=>[h(Y,{class:"bggrad"},{default:c(()=>[h(j,{class:"text-center text-black_and_white"},{default:c(()=>[S(f(i.namepos),1)]),_:1})]),_:1}),h(Y,null,{default:c(()=>[h(j,{class:"pa-0 mb-3"},{default:c(()=>[h(Rt,{modelValue:a.searchname,"onUpdate:modelValue":t[0]||(t[0]=n=>a.searchname=n),clearable:"","prepend-inner-icon":"mdi-magnify","hide-details":"",class:"mx-0",label:"Поиск",rows:"1","no-resize":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),(v(!0),m(V,null,A(a.result,(n,r)=>(v(),m("div",{key:r,class:"px-3"},[h(Bt,{class:"py-0"},{default:c(()=>[h(Nt,null,{default:c(()=>[S(f(r),1)]),_:2},1024)]),_:2},1024),(v(!0),m(V,null,A(n,d=>(v(),C(H,{key:d,class:"bg-transparent",density:"compact","prepend-avatar":a.checkremote(`${a.spravURL}${d.login}.jpg`),title:d.fio,subtitle:d.post,variant:"text",onClick:u=>a.getcard(d.login)},null,8,["prepend-avatar","title","subtitle","onClick"]))),128))]))),128))]),_:1}),h(we),h(wt,{class:"align-self-end pb-0"},{default:c(()=>[h(ce,{color:"more_details_btn",variant:"text",onClick:a.onSubmit},{default:c(()=>[S(" Закрыть ")]),_:1},8,["onClick"])]),_:1})]),_:1}),h(je,{modelValue:a.menuGetUserDialog,"onUpdate:modelValue":t[2]||(t[2]=n=>a.menuGetUserDialog=n),persistent:"",width:"800"},{default:c(()=>[h(l,{menuGetUserDialog:a.menuGetUserDialog,loging:a.iduser,onMenusClose:t[1]||(t[1]=n=>a.menuGetUserDialog=!1)},null,8,["menuGetUserDialog","loging"])]),_:1},8,["modelValue"])])}const ki=q(Di,[["render",bi]]);const Ei=Oe({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Gt(),...Yt()},"VSwitch"),Ti=ge()({name:"VSwitch",inheritAttrs:!1,props:Ei(),emits:{"update:focused":e=>!0,"update:modelValue":()=>!0,"update:indeterminate":e=>!0},setup(e,t){let{attrs:i,slots:a}=t;const o=fe(e,"indeterminate"),s=fe(e,"modelValue"),{loaderClasses:l}=yt(e),{isFocused:n,focus:r,blur:d}=qt(e),u=pe(()=>typeof e.loading=="string"&&e.loading!==""?e.loading:e.color),p=ft(),_=pe(()=>e.id||`switch-${p}`);function $(){o.value&&(o.value=!1)}return Ae(()=>{const[T,I]=Dt(i),[F,w]=Ee.filterProps(e),[O,E]=ke.filterProps(e),P=k();function G(oe){var re,de;oe.stopPropagation(),oe.preventDefault(),(de=(re=P.value)==null?void 0:re.input)==null||de.click()}return h(Ee,Q({class:["v-switch",{"v-switch--inset":e.inset},{"v-switch--indeterminate":o.value},l.value,e.class],style:e.style},T,F,{id:_.value,focused:n.value}),{...a,default:oe=>{let{id:re,messagesId:de,isDisabled:Be,isReadonly:Ne,isValid:ze}=oe;return h(ke,Q({ref:P},O,{modelValue:s.value,"onUpdate:modelValue":[he=>s.value=he,$],id:re.value,"aria-describedby":de.value,type:"checkbox","aria-checked":o.value?"mixed":void 0,disabled:Be.value,readonly:Ne.value,onFocus:r,onBlur:d},I),{...a,default:()=>h("div",{class:"v-switch__track",onClick:G},null),input:he=>{let{textColorClasses:Ue,textColorStyles:Ge}=he;return h("div",{class:["v-switch__thumb",Ue.value],style:Ge.value},[e.loading&&h(bt,{name:"v-switch",active:!0,color:ze.value===!1?void 0:u.value},{default:ve=>a.loader?a.loader(ve):h(It,{active:ve.isActive,color:ve.color,indeterminate:!0,size:"16",width:"2"},null)})])}})}})}),{}}}),Ci={components:{CardUsers:Ie,DialogSearch:ki},setup(){const e=k([]),t=k(""),i=k(""),a=k(""),o=k(!1),s=k({}),l=k([]),n=k({}),r=k(""),d=k(!1),u=k(""),p=k({}),_=k(!1),$=async E=>{d.value=!0,u.value=E},T=(E,P)=>{i.value=E,a.value=P,o.value=!o.value,N.get(`api/general_vacation/dailyload/?id=${E}`).then(G=>{s.value=G.data,p.value=JSON.parse(JSON.stringify(G.data.daily))})},I=J.slice(0,-1);function F(){N.get("api/feedback/feedbackdata/").then(E=>{e.value=E.data.results})}const w=E=>{const P=new FormData;P.append("dailyfiles",l.value[0]),N.post(`api/general_vacation/dailyroundup/?excel=${E}`,P).then(G=>{n.value=G.data,O()}),l.value=""};function O(){N.get("api/general_vacation/dailyload/").then(E=>{t.value=E.data.daily})}return kt(),le(()=>{O(),F()}),{t_daily:t,detailRound:T,dialogDetailRound:o,t_dailyRound:s,dailyfiles:l,onPickFile:w,info:n,checkremote:Le,searchname:r,spravURL:He,menuGetUserDialog:d,iduser:u,getcard:$,result:p,idpos:i,namepos:a,changeData:_,baseURL:J,burl:I}}},Mi={class:"d-flex h-100"},xi={class:"text-center"};function Si(e,t,i,a,o,s){const l=W("vue3-autocounter"),n=W("dialog-search");return v(),m("div",Mi,[a.t_daily.length>0?(v(),C(H,{key:0,class:"h-100 w-100 d-flex flex-column"},{default:c(()=>[(v(!0),m(V,null,A(a.t_daily,r=>Et((v(),C(Y,{key:r},{default:c(()=>[h(we),h(j,null,{default:c(()=>[h(H,{class:"ma-2 d-flex flex-column",height:"100",elevation:"0"},{default:c(()=>[h(H,{class:"h-100 text-center text-black_grey bg-black_and_white"},{default:c(()=>[h(te,{class:"statstyle py-0 text-overline font-weight-bold bg-black_and_white"},{default:c(()=>[S(f(r.position__name),1)]),_:2},1024),h(Z,{onClick:d=>a.detailRound(r.position,r.position__name),class:"numstyle mt-2 py-0 font-weight-bold pointer bg-black_and_white"},{default:c(()=>[h(l,{ref_for:!0,ref:"counter",startAmount:0,endAmount:Number(r.user__count),duration:2},null,8,["endAmount"])]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)),[[Tt,r.position!=6]])),128))]),_:1})):(v(),C(H,{key:1,class:"h-100 w-100 d-flex justify-center flex-column",image:`${a.burl}/media/newsimage/2023/09/28/sea.jpg`},{default:c(()=>[h(Y,{class:"flex-grow-0"},{default:c(()=>[h(j,{class:"py-0"},{default:c(()=>[h(Ti,{modelValue:a.changeData,"onUpdate:modelValue":t[0]||(t[0]=r=>a.changeData=r),class:"pl-3 d-flex justify-end",color:"teal",onClick:t[1]||(t[1]=r=>a.changeData=!a.changeData)},null,8,["modelValue"])]),_:1})]),_:1}),h(Y,null,{default:c(()=>[a.changeData?(v(),C(Z,{key:0,class:"d-flex flex-column align-self-center"},{default:c(()=>[h(zt,{accept:".xlsx",modelValue:a.dailyfiles,"onUpdate:modelValue":t[2]||(t[2]=r=>a.dailyfiles=r),variant:"underlined",density:"compact","hide-details":"",class:"pt-2 ml-0 text-white"},null,8,["modelValue"]),h(ce,{class:"align-self-center",icon:"mdi-google-play text-white",size:"x-large",variant:"text",color:"teal-darken-4",disabled:a.dailyfiles==0,onClick:t[3]||(t[3]=r=>a.onPickFile("roundfilse"))},null,8,["disabled"])]),_:1})):(v(),C(Z,{key:1},{default:c(()=>[h(Y,{class:"text-h5 text-white text-center h-100","align-content":"center"},{default:c(()=>[S("Данные не загружены ")]),_:1})]),_:1}))]),_:1})]),_:1},8,["image"])),D("div",xi,[h(je,{modelValue:a.dialogDetailRound,"onUpdate:modelValue":t[5]||(t[5]=r=>a.dialogDetailRound=r),width:"500"},{default:c(()=>[h(n,{idpos:a.idpos,namepos:a.namepos,onSearchClose:t[4]||(t[4]=r=>a.dialogDetailRound=!a.dialogDetailRound)},null,8,["idpos","namepos"])]),_:1},8,["modelValue"])])])}const Vi=q(Ci,[["render",Si]]);var Oi=Object.defineProperty,Ai=(e,t,i)=>t in e?Oi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,U=(e,t,i)=>(Ai(e,typeof t!="symbol"?t+"":t,i),i);/** +import{_ as K,r as k,aG as ne,C as h,D as T,E as c,Y as m,$ as A,Z as V,aE as Q,F as v,R as P,I as ie,K as F,L as j,G as x,ad as f,aq as Oe,J,p as Ae,ah as qe,a1 as Ke,aH as Xe,ai as Ze,aI as Je,aJ as Qe,aj as et,a4 as tt,a5 as it,a6 as ge,a8 as st,ak as at,al as nt,am as lt,aK as ot,an as rt,aL as dt,aM as ut,ao as ct,ac as $e,X as W,a as ht,o as oe,af as N,A as we,aN as vt,aO as mt,aP as pt,w as fe,S as D,V as U,aF as H,aQ as _t,aR as gt,c as pe,U as Le,W as He,M as wt,a9 as De,aS as yt,h as ft,aT as Dt,H as ee,aU as bt,aV as kt,ae as y,N as Et,O as Tt,aW as X,aX as b,aY as B,Q as be,aZ as Ct,az as ue,a_ as _e,a$ as Mt,b0 as ke,b1 as g,B as xt,aB as St}from"./index-cb66bb90.js";import{V as Vt,a as Ot}from"./VCarouselItem-3dadb2b7.js";import{V as We}from"./VContainer-5ec7b029.js";import{V as At}from"./VTextarea-5b24e794.js";import{a as $t,b as Lt,C as Ie,V as Pe}from"./VTooltip-104ed121.js";import{m as Ht,b as Wt,V as ce,c as It,d as Pt}from"./VBtn-be56359b.js";import{f as jt,m as Yt,V as Ee}from"./VSelectionControl-91bc1ec7.js";import{b as Ft,c as ye,V as Rt,d as Bt,f as Nt,a as je}from"./VList-a51d3781.js";import{V as zt,L as Ut}from"./load-round-6010a179.js";import{m as Gt,u as qt,V as Te}from"./VInput-6691c158.js";import"./VWindowItem-ffea9ec9.js";import"./VChip-5a86556f.js";import"./VAlert-03636774.js";const Kt={setup(){const e=Q.slice(0,-1),t=k([{link:""}]);return ne("api/navigation/carousels/",t),{burl:e,carous:t}}};function Xt(e,t,i,a,o,s){return h(),T(Vt,{cycle:"",interval:"10000",cover:"",height:"450","hide-delimiters":"","hide-delimiter-background":"","show-arrows":"hover",color:"white"},{default:c(()=>[(h(!0),m(V,null,A(a.carous,(l,n)=>(h(),T(Ot,{key:n,src:`${a.burl}${l.link}`,cover:"",eager:""},{default:c(()=>[v(We,{"fill-height":"",fluid:"","pa-0":"","ma-0":"","pb-3":"",class:"flex-column h-100 d-flex"},{default:c(()=>[v(P,{class:"bgCard h-100 d-flex flex-column"},{default:c(()=>[v(ie,{class:"ma-2 text-h3 text-uppercase titles text-text_carous py-5 flex-column"},{default:c(()=>[v(F,null,{default:c(()=>[v(j,{class:"pa-0 pl-1 align-self-center"},{default:c(()=>[x(f(l.title),1)]),_:2},1024),v(j,{class:"flex-grow-0 pa-0 pr-1"},{default:c(()=>[v(Oe,{width:"50","aspect-ratio":1,src:`${a.burl}${l.sender}`,cover:""},null,8,["src"])]),_:2},1024)]),_:2},1024)]),_:2},1024),v(J,{class:"ml-2 mb-0 mb-2 w-50 flex-grow-0 pb-3 text-h6 bgText overflow-auto"},{default:c(()=>[v(At,{class:"text-text_carous mt-n3 text-black textareas pt-2 font-weight-medium","model-value":l.text,variant:"plain",readonly:"","auto-grow":"",rows:"1","hide-details":""},null,8,["model-value"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"]))),128))]),_:1})}const Zt=K(Kt,[["render",Xt]]);const Jt=Ae({color:String,...qe(),...Ke(),...Xe(),...Ze(),...Je(),...Qe(),...et(),...tt(),...it()},"VSheet"),Qt=ge()({name:"VSheet",props:Jt(),setup(e,t){let{slots:i}=t;const{themeClasses:a}=st(e),{backgroundColorClasses:o,backgroundColorStyles:s}=at(nt(e,"color")),{borderClasses:l}=lt(e),{dimensionStyles:n}=ot(e),{elevationClasses:r}=rt(e),{locationStyles:d}=dt(e),{positionClasses:u}=ut(e),{roundedClasses:p}=ct(e);return $e(()=>v(e.tag,{class:["v-sheet",a.value,o.value,l.value,r.value,u.value,p.value,e.class],style:[s.value,n.value,d.value,e.style]},i)),{}}}),ei=ge()({name:"VSlideGroupItem",props:Ht(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:i}=t;const a=Wt(e,$t);return()=>{var o;return(o=i.default)==null?void 0:o.call(i,{isSelected:a.isSelected.value,select:a.select,toggle:a.toggle,selectedClass:a.selectedClass.value})}}}),ti={props:{digitalData:{type:Object,default:{}}},setup(){const e=Q.slice(0,-1);return{model:k(!1),burl:e}}};function ii(e,t,i,a,o,s){const l=W("vue3-autocounter");return h(),T(P,{class:"d-flex ml-3"},{default:c(()=>[v(Qt,{class:"mx-auto",elevation:"0","max-width":"813"},{default:c(()=>[v(Lt,{modelValue:a.model,"onUpdate:modelValue":t[0]||(t[0]=n=>a.model=n),class:"pa-0","selected-class":"bg-primary",mandatory:"","show-arrows":""},{default:c(()=>[(h(!0),m(V,null,A(i.digitalData,n=>(h(),T(ei,{key:n},{default:c(()=>[v(P,{class:"ma-2 mt-4 d-flex flex-column",height:"100",width:"169",elevation:"0"},{default:c(()=>[v(P,{class:"h-100 text-center g text-black_grey"},{default:c(()=>[v(ie,{class:"statstyle my-2 py-0 text-overline font-weight-bold"},{default:c(()=>[x(f(n.status),1)]),_:2},1024),v(J,{class:"numstyle mt-4 py-0 font-weight-bold"},{default:c(()=>[v(l,{ref_for:!0,ref:"counter",startAmount:0,endAmount:Number(n.num),duration:1},null,8,["endAmount"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})}const si=K(ti,[["render",ii]]);const ai={name:"calendar-full",props:{initial:{type:String,default:"multiMonthYear"}},setup(e){const t=ht({plugins:[dayGridPlugin,interactionPlugin,timeGridPlugin,listPlugin,multiMonthPlugin],initialView:e.initial,dayMaxEventRows:3,locale:"ru",buttonText:{today:"Сегодня",month:"Месяц",week:"Неделя",day:"День",list:"Список",year:"Год"},firstDay:"1",events:[],editable:!0,headerToolbar:{left:"prev",center:"title",right:"next"},aspectRatio:1,multiMonthMaxColumns:2,displayEventEnd:!0,height:"100%",stickyHeaderDates:!0,dayMaxEventRows:2,moreLinkContent:function(a){return a.shortText+" события"},views:{multiMonthYear:{moreLinkContent:function(a){return a.num}}},allDayText:"Весь день",noEventsContent:"На сегодня событий нет",selectable:!0,dateClick:a=>{console.log(a.date)}});function i(){N.get("api/general_vacation/generalvacation/").then(a=>{for(let o in a.data)o=="План-график"&&a.data[o].map(s=>{t.events.push({description:"description for All Day Event",title:s.name,start:s.start_work_period,end:s.end_work_period})})})}return oe(()=>{i()}),{calendarOptions:t}}};function ni(e,t,i,a,o,s){const l=W("full-calendar");return h(),T(l,{options:a.calendarOptions},null,8,["options"])}const li=K(ai,[["render",ni]]);const Ce=we(),oi={components:{myHelper:vt},setup(){const e=k([]);mt(()=>{e.value=[]});const t=k([]),i=Q.slice(0,-1),a=k(""),o=k(0),s=k(1),l=k(2),n=pt();let r=`api/navigation/news/?name=${n.path}&page=${s.value-1}&selected=${l.value}`;n.path=="/news"&&"id"in n.query&&(r=`api/navigation/news/?name=${n.path}&page=${s.value-1}&selected=${l.value}&id=${n.query.id}`),ne(r,t);const d=(w,$)=>{N.post("api/navigation/news/",{news:w,scores:$}).then(O=>{t.value.result[t.value.result.findIndex(S=>S.id==w)].scores=O.data})},u=()=>{N.post("api/navigation/news/",{news:o.value,text:a.value}).then(w=>{t.value.result[t.value.result.findIndex($=>$.id==w.data.news)].comment=w.data.comment}),a.value=""},p=(w,$)=>{N.post("api/navigation/news/",{delid:w,news:$}).then(O=>{t.value.result[t.value.result.findIndex(S=>S.id==O.data.news)].comment=O.data.comment})},_=()=>{ne(`api/navigation/news/?name=${n.path}&page=${s.value-1}&selected=${l.value}`,t)};return fe(()=>Ce.cod2user,(w,$)=>{w&&ne(`api/navigation/news/?name=${n.path}&page=${s.value-1}&selected=${l.value}`,t)},{deep:!0}),fe(()=>l,(w,$)=>{w&&ne(`api/navigation/news/?name=${n.path}&page=${s.value-1}&selected=${w.value}`,t)},{deep:!0}),{newss:t,burl:i,limitText:w=>{let O=new DOMParser().parseFromString(w,"text/html").body.textContent||"";O=O.replaceAll('src="/media/uploads',`src="${Q}media/uploads`);const S=O.split(" ").slice(0,25);return`${O.split(" ").slice(0,25).join(" ")} ${S.length<25?"":"..."}`},toggleIncrementLike:d,accountStore:Ce,dateformat:w=>jt(new Date(w),"dd.MM.yyyy HH:mm"),splitname:w=>w.familyname+" "+w.name[0]+"."+w.parentname[0]+".",textcomment:a,openComent:w=>{o.value=w},addComment:u,idnews:o,deletComment:p,pagelistNews:_,divs:e,page:s,selecnews:l,route:n}}},Ye=e=>(_t("data-v-73fdd918"),e=e(),gt(),e),ri={class:"flex-column h-100"},di={class:"justify-self-start mt-1"},ui={class:"text-caption me-2"},ci={class:"justify-self-end"},hi={class:"subheading me-2"},vi=Ye(()=>D("span",{class:"me-1"},"·",-1)),mi={class:"subheading me-2"},pi=Ye(()=>D("span",{class:"me-1"},"·",-1)),_i={class:"subheading"},gi=["innerHTML"],wi={class:"pt-1 pl-1 pb-2"};function yi(e,t,i,a,o,s){return h(),m("div",ri,[(h(!0),m(V,null,A(a.newss.result,(l,n)=>(h(),T(P,{ref_for:!0,ref:n,class:H(["mx-auto px-3 pt-3",n>0?"mt-1":""]),key:n},{default:c(()=>[v(ie,{class:"py-1"},{default:c(()=>[x(f(l.title),1)]),_:2},1024),v(Oe,{src:`${a.burl}${l.link}`,height:"175px",cover:"",width:"92%",class:"mx-auto"},null,8,["src"]),v(Ft,{class:"w-100"},{append:c(()=>[D("div",ci,[v(U,{size:"x-small",class:"me-1",icon:l.scores.filter(r=>r.user==a.accountStore.user.login&&r.score==!0).length>0?"mdi-thumb-up":"mdi-thumb-up-outline",onClick:r=>a.toggleIncrementLike(l.id,!0)},null,8,["icon","onClick"]),D("span",hi,f(l.scores.filter(r=>r.score==!0).length),1),vi,v(U,{size:"x-small",class:"me-1",icon:l.scores.filter(r=>r.user==a.accountStore.user.login&&r.score==!1).length>0?"mdi-thumb-down":"mdi-thumb-down-outline",onClick:r=>a.toggleIncrementLike(l.id,!1)},null,8,["icon","onClick"]),D("span",mi,f(l.scores.filter(r=>r.score==!1).length),1),pi,v(U,{size:"x-small",class:"me-1",icon:"mdi-message-text-outline"}),D("span",_i,f(l.comment.length),1)])]),default:c(()=>[D("div",di,[v(U,{size:"x-small",class:"me-1",icon:"mdi-account"}),D("span",ui,f(a.splitname(l.author)),1)])]),_:2},1024),v(ye),v(J,{class:"pb-0"},{default:c(()=>[D("div",{innerHTML:a.limitText(l.text)},null,8,gi)]),_:2},1024),D("div",wi,[v(ce,{color:"more_details_btn",variant:"text",to:`/news?id=${l.id}`,size:"small","append-icon":"mdi-step-forward-2"},{default:c(()=>[x(" Подробнее ")]),_:2},1032,["to"])])]),_:2},1032,["class"]))),128))])}const fi=K(oi,[["render",yi],["__scopeId","data-v-73fdd918"]]),Di={components:{CardUsers:Ie},props:{idpos:{type:Number,default:""},namepos:{type:Text,default:""}},setup(e,{emit:t}){const i=k(!1),a=k({}),o=k(""),s=k(""),l=()=>{t("searchClose")};oe(()=>{N.get(`api/general_vacation/dailyload/?id=${e.idpos}`).then(d=>{console.log(d.data),a.value=d.data.daily})});const n=async d=>{i.value=!0,o.value=d},r=pe({get(){let d={};return Object.keys(a.value).map(u=>{let p=a.value[u].filter(_=>_.fio.toLowerCase().includes(s.value));p.length>0&&(d[u]=p)}),d}});return{onSubmit:l,checkremote:Le,searchname:s,spravURL:He,t_dailyRound:a,result:r,menuGetUserDialog:i,getcard:n,iduser:o}}};function bi(e,t,i,a,o,s){const l=W("Card-users");return h(),m("div",null,[v(P,{class:"bg-white pa-3 px-0",width:"550",height:"600"},{default:c(()=>[v(P,{class:"mx-auto overflow-auto mx-0 px-3",width:"550",height:"600",flat:""},{default:c(()=>[v(ie,{class:"fixed-bar bg-white"},{default:c(()=>[v(F,{class:"bggrad"},{default:c(()=>[v(j,{class:"text-center text-black_and_white"},{default:c(()=>[x(f(i.namepos),1)]),_:1})]),_:1}),v(F,null,{default:c(()=>[v(j,{class:"pa-0 mb-3"},{default:c(()=>[v(Rt,{modelValue:a.searchname,"onUpdate:modelValue":t[0]||(t[0]=n=>a.searchname=n),clearable:"","prepend-inner-icon":"mdi-magnify","hide-details":"",class:"mx-0",label:"Поиск",rows:"1","no-resize":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),(h(!0),m(V,null,A(a.result,(n,r)=>(h(),m("div",{key:r,class:"px-3"},[v(Bt,{class:"py-0"},{default:c(()=>[v(Nt,null,{default:c(()=>[x(f(r),1)]),_:2},1024)]),_:2},1024),(h(!0),m(V,null,A(n,d=>(h(),T(P,{key:d,class:"bg-transparent",density:"compact","prepend-avatar":a.checkremote(`${a.spravURL}${d.login}.jpg`),title:d.fio,subtitle:d.post,variant:"text",onClick:u=>a.getcard(d.login)},null,8,["prepend-avatar","title","subtitle","onClick"]))),128))]))),128))]),_:1}),v(ye),v(wt,{class:"align-self-end pb-0"},{default:c(()=>[v(ce,{color:"more_details_btn",variant:"text",onClick:a.onSubmit},{default:c(()=>[x(" Закрыть ")]),_:1},8,["onClick"])]),_:1})]),_:1}),v(je,{modelValue:a.menuGetUserDialog,"onUpdate:modelValue":t[2]||(t[2]=n=>a.menuGetUserDialog=n),persistent:"",width:"800"},{default:c(()=>[v(l,{menuGetUserDialog:a.menuGetUserDialog,loging:a.iduser,onMenusClose:t[1]||(t[1]=n=>a.menuGetUserDialog=!1)},null,8,["menuGetUserDialog","loging"])]),_:1},8,["modelValue"])])}const ki=K(Di,[["render",bi]]);const Ei=Ae({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Gt(),...Yt()},"VSwitch"),Ti=ge()({name:"VSwitch",inheritAttrs:!1,props:Ei(),emits:{"update:focused":e=>!0,"update:modelValue":()=>!0,"update:indeterminate":e=>!0},setup(e,t){let{attrs:i,slots:a}=t;const o=De(e,"indeterminate"),s=De(e,"modelValue"),{loaderClasses:l}=yt(e),{isFocused:n,focus:r,blur:d}=qt(e),u=pe(()=>typeof e.loading=="string"&&e.loading!==""?e.loading:e.color),p=ft(),_=pe(()=>e.id||`switch-${p}`);function L(){o.value&&(o.value=!1)}return $e(()=>{const[E,I]=Dt(i),[Y,w]=Te.filterProps(e),[$,O]=Ee.filterProps(e),S=k();function q(z){var re,de;z.stopPropagation(),z.preventDefault(),(de=(re=S.value)==null?void 0:re.input)==null||de.click()}return v(Te,ee({class:["v-switch",{"v-switch--inset":e.inset},{"v-switch--indeterminate":o.value},l.value,e.class],style:e.style},E,Y,{id:_.value,focused:n.value}),{...a,default:z=>{let{id:re,messagesId:de,isDisabled:Be,isReadonly:Ne,isValid:ze}=z;return v(Ee,ee({ref:S},$,{modelValue:s.value,"onUpdate:modelValue":[he=>s.value=he,L],id:re.value,"aria-describedby":de.value,type:"checkbox","aria-checked":o.value?"mixed":void 0,disabled:Be.value,readonly:Ne.value,onFocus:r,onBlur:d},I),{...a,default:()=>v("div",{class:"v-switch__track",onClick:q},null),input:he=>{let{textColorClasses:Ue,textColorStyles:Ge}=he;return v("div",{class:["v-switch__thumb",Ue.value],style:Ge.value},[e.loading&&v(bt,{name:"v-switch",active:!0,color:ze.value===!1?void 0:u.value},{default:ve=>a.loader?a.loader(ve):v(It,{active:ve.isActive,color:ve.color,indeterminate:!0,size:"16",width:"2"},null)})])}})}})}),{}}}),Ci={components:{CardUsers:Ie,DialogSearch:ki},setup(){const e=k([]),t=k(""),i=k(""),a=k(""),o=k(!1),s=k({}),l=k([]),n=k({}),r=k(""),d=k(!1),u=k(""),p=k({}),_=k(!1),L=we(),E=async S=>{d.value=!0,u.value=S},I=(S,q)=>{i.value=S,a.value=q,o.value=!o.value,N.get(`api/general_vacation/dailyload/?id=${S}`).then(z=>{s.value=z.data,p.value=JSON.parse(JSON.stringify(z.data.daily))})},Y=Q.slice(0,-1);function w(){N.get("api/feedback/feedbackdata/").then(S=>{e.value=S.data.results})}const $=S=>{const q=new FormData;q.append("dailyfiles",l.value[0]),N.post(`api/general_vacation/dailyroundup/?excel=${S}`,q).then(z=>{n.value=z.data,O()}),l.value=""};function O(){N.get("api/general_vacation/dailyload/").then(S=>{t.value=S.data.daily})}return kt(),oe(()=>{O(),w()}),{t_daily:t,detailRound:I,dialogDetailRound:o,t_dailyRound:s,dailyfiles:l,onPickFile:$,info:n,checkremote:Le,searchname:r,spravURL:He,menuGetUserDialog:d,iduser:u,getcard:E,result:p,idpos:i,namepos:a,changeData:_,baseURL:Q,burl:Y,accountStore:L}}},Mi={class:"d-flex h-100"},xi={class:"text-center"};function Si(e,t,i,a,o,s){const l=W("vue3-autocounter"),n=W("dialog-search");return h(),m("div",Mi,[a.t_daily.length>0?(h(),T(P,{key:0,class:"h-100 w-100 d-flex flex-column"},{default:c(()=>[(h(!0),m(V,null,A(a.t_daily,r=>Et((h(),T(F,{key:r},{default:c(()=>[v(ye),v(j,null,{default:c(()=>[v(P,{class:"ma-2 d-flex flex-column",height:"100",elevation:"0"},{default:c(()=>[v(P,{class:"h-100 text-center text-black_grey bg-black_and_white"},{default:c(()=>[v(ie,{class:"statstyle py-0 text-overline font-weight-bold bg-black_and_white"},{default:c(()=>[x(f(r.position__name),1)]),_:2},1024),v(J,{onClick:d=>a.detailRound(r.position,r.position__name),class:"numstyle mt-2 py-0 font-weight-bold pointer bg-black_and_white"},{default:c(()=>[v(l,{ref_for:!0,ref:"counter",startAmount:0,endAmount:Number(r.user__count),duration:2},null,8,["endAmount"])]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)),[[Tt,r.position!=6]])),128))]),_:1})):(h(),T(P,{key:1,class:"h-100 w-100 d-flex justify-center flex-column",image:`${a.burl}/media/newsimage/2023/09/28/sea.jpg`},{default:c(()=>[v(F,{class:"flex-grow-0"},{default:c(()=>[v(j,{class:"py-0"},{default:c(()=>[a.accountStore.user.is_staff?(h(),T(Ti,{key:0,modelValue:a.changeData,"onUpdate:modelValue":t[0]||(t[0]=r=>a.changeData=r),class:"pl-3 d-flex justify-end",color:"teal",onClick:t[1]||(t[1]=r=>a.changeData=!a.changeData)},null,8,["modelValue"])):y("",!0)]),_:1})]),_:1}),v(F,null,{default:c(()=>[a.changeData?(h(),T(J,{key:0,class:"d-flex flex-column align-self-center"},{default:c(()=>[v(zt,{accept:".xlsx",modelValue:a.dailyfiles,"onUpdate:modelValue":t[2]||(t[2]=r=>a.dailyfiles=r),variant:"underlined",density:"compact","hide-details":"",class:"pt-2 ml-0 text-white"},null,8,["modelValue"]),v(ce,{class:"align-self-center",icon:"mdi-google-play text-white",size:"x-large",variant:"text",color:"teal-darken-4",disabled:a.dailyfiles==0,onClick:t[3]||(t[3]=r=>a.onPickFile("roundfilse"))},null,8,["disabled"])]),_:1})):(h(),T(J,{key:1},{default:c(()=>[v(F,{class:"text-h5 text-white text-center h-100","align-content":"center"},{default:c(()=>[x("Данные не загружены ")]),_:1})]),_:1}))]),_:1})]),_:1},8,["image"])),D("div",xi,[v(je,{modelValue:a.dialogDetailRound,"onUpdate:modelValue":t[5]||(t[5]=r=>a.dialogDetailRound=r),width:"500"},{default:c(()=>[v(n,{idpos:a.idpos,namepos:a.namepos,onSearchClose:t[4]||(t[4]=r=>a.dialogDetailRound=!a.dialogDetailRound)},null,8,["idpos","namepos"])]),_:1},8,["modelValue"])])])}const Vi=K(Ci,[["render",Si]]);var Oi=Object.defineProperty,Ai=(e,t,i)=>t in e?Oi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,G=(e,t,i)=>(Ai(e,typeof t!="symbol"?t+"":t,i),i);/** * vue-cal v4.8.1 * (c) 2022 Antoni Andre * @license MIT - */let ie,Ce,Me,R,se={},X={};class $i{constructor(t){U(this,"_vuecal",null),U(this,"selectCell",(i=!1,a,o)=>{this._vuecal.$emit("cell-click",o?{date:a,split:o}:a),this._vuecal.clickToNavigate||i?this._vuecal.switchToNarrowerView():this._vuecal.dblclickToNavigate&&"ontouchstart"in window&&(this._vuecal.domEvents.dblTapACell.taps++,setTimeout(()=>this._vuecal.domEvents.dblTapACell.taps=0,this._vuecal.domEvents.dblTapACell.timeout),this._vuecal.domEvents.dblTapACell.taps>=2&&(this._vuecal.domEvents.dblTapACell.taps=0,this._vuecal.switchToNarrowerView(),this._vuecal.$emit("cell-dblclick",o?{date:a,split:o}:a)))}),U(this,"keyPressEnterCell",(i,a)=>{this._vuecal.$emit("cell-keypress-enter",a?{date:i,split:a}:i),this._vuecal.switchToNarrowerView()}),U(this,"getPosition",i=>{const{left:a,top:o}=this._vuecal.cellsEl.getBoundingClientRect(),{clientX:s,clientY:l}="ontouchstart"in window&&i.touches?i.touches[0]:i;return{x:s-a,y:l-o}}),U(this,"minutesAtCursor",i=>{let a=0,o={x:0,y:0};const{timeStep:s,timeCellHeight:l,timeFrom:n}=this._vuecal.$props;return typeof i=="number"?a=i:typeof i=="object"&&(o=this.getPosition(i),a=Math.round(o.y*s/parseInt(l)+n)),{minutes:Math.max(Math.min(a,1440),0),cursorCoords:o}}),this._vuecal=t}}let M,x,me;class Li{constructor(t,i){U(this,"_vuecal",null),U(this,"eventDefaults",{_eid:null,start:"",startTimeMinutes:0,end:"",endTimeMinutes:0,title:"",content:"",background:!1,allDay:!1,segments:null,repeat:null,daysCount:1,deletable:!0,deleting:!1,titleEditable:!0,resizable:!0,resizing:!1,draggable:!0,dragging:!1,draggingStatic:!1,focused:!1,class:""}),this._vuecal=t,M=i}createAnEvent(t,i,a){if(typeof t=="string"&&(t=M.stringToDate(t)),!(t instanceof Date))return!1;const o=M.dateToMinutes(t),s=o+(i=1*i||120),l=M.addMinutes(new Date(t),i);a.end&&(typeof a.end=="string"&&(a.end=M.stringToDate(a.end)),a.endTimeMinutes=M.dateToMinutes(a.end));const n={...this.eventDefaults,_eid:`${this._vuecal._.uid}_${this._vuecal.eventIdIncrement++}`,start:t,startTimeMinutes:o,end:l,endTimeMinutes:s,segments:null,...a};return typeof this._vuecal.onEventCreate!="function"||this._vuecal.onEventCreate(n,()=>this.deleteAnEvent(n))?(n.startDateF!==n.endDateF&&(n.daysCount=M.countDays(n.start,n.end)),this._vuecal.mutableEvents.push(n),this._vuecal.addEventsToView([n]),this._vuecal.emitWithEvent("event-create",n),this._vuecal.$emit("event-change",{event:this._vuecal.cleanupEvent(n),originalEvent:null}),n):void 0}addEventSegment(t){t.segments||(t.segments={},t.segments[M.formatDateLite(t.start)]={start:t.start,startTimeMinutes:t.startTimeMinutes,endTimeMinutes:1440,isFirstDay:!0,isLastDay:!1});const i=t.segments[M.formatDateLite(t.end)];i&&(i.isLastDay=!1,i.endTimeMinutes=1440);const a=M.addDays(t.end,1),o=M.formatDateLite(a);return a.setHours(0,0,0,0),t.segments[o]={start:a,startTimeMinutes:0,endTimeMinutes:t.endTimeMinutes,isFirstDay:!1,isLastDay:!0},t.end=M.addMinutes(a,t.endTimeMinutes),t.daysCount=Object.keys(t.segments).length,o}removeEventSegment(t){let i=Object.keys(t.segments).length;if(i<=1)return M.formatDateLite(t.end);delete t.segments[M.formatDateLite(t.end)],i--;const a=M.subtractDays(t.end,1),o=M.formatDateLite(a),s=t.segments[o];return i?s&&(s.isLastDay=!0,s.endTimeMinutes=t.endTimeMinutes):t.segments=null,t.daysCount=i||1,t.end=a,o}createEventSegments(t,i,a){const o=i.getTime(),s=a.getTime();let l,n,r,d=t.start.getTime(),u=t.end.getTime(),p=!1;for(t.end.getHours()||t.end.getMinutes()||(u-=1e3),t.segments={},t.repeat?(l=o,n=Math.min(s,t.repeat.until?M.stringToDate(t.repeat.until).getTime():s)):(l=Math.max(o,d),n=Math.min(s,u));l<=n;){let _=!1;const $=M.addDays(new Date(l),1).setHours(0,0,0,0);let T,I,F,w;if(t.repeat){const O=new Date(l),E=M.formatDateLite(O);(p||t.occurrences&&t.occurrences[E])&&(p||(d=t.occurrences[E].start,r=new Date(d).setHours(0,0,0,0),u=t.occurrences[E].end),p=!0,_=!0),T=l===r,I=E===M.formatDateLite(new Date(u)),F=new Date(T?d:l),w=M.formatDateLite(F),I&&(p=!1)}else _=!0,T=l===d,I=n===u&&$>n,F=T?t.start:new Date(l),w=M.formatDateLite(T?t.start:F);_&&(t.segments[w]={start:F,startTimeMinutes:T?t.startTimeMinutes:0,endTimeMinutes:I?t.endTimeMinutes:1440,isFirstDay:T,isLastDay:I}),l=$}return t}deleteAnEvent(t){this._vuecal.emitWithEvent("event-delete",t),this._vuecal.mutableEvents=this._vuecal.mutableEvents.filter(i=>i._eid!==t._eid),this._vuecal.view.events=this._vuecal.view.events.filter(i=>i._eid!==t._eid)}checkCellOverlappingEvents(t,i){me=t.slice(0),x={},t.forEach(o=>{me.shift(),x[o._eid]||(x[o._eid]={overlaps:[],start:o.start,position:0}),x[o._eid].position=0,me.forEach(s=>{x[s._eid]||(x[s._eid]={overlaps:[],start:s.start,position:0});const l=this.eventInRange(s,o.start,o.end),n=i.overlapsPerTimeStep?M.datesInSameTimeStep(o.start,s.start,i.timeStep):1;if(o.background||o.allDay||s.background||s.allDay||!l||!n){let r,d;(r=(x[o._eid]||{overlaps:[]}).overlaps.indexOf(s._eid))>-1&&x[o._eid].overlaps.splice(r,1),(d=(x[s._eid]||{overlaps:[]}).overlaps.indexOf(o._eid))>-1&&x[s._eid].overlaps.splice(d,1),x[s._eid].position--}else x[o._eid].overlaps.push(s._eid),x[o._eid].overlaps=[...new Set(x[o._eid].overlaps)],x[s._eid].overlaps.push(o._eid),x[s._eid].overlaps=[...new Set(x[s._eid].overlaps)],x[s._eid].position++})});let a=0;for(const o in x){const s=x[o],l=s.overlaps.map(n=>({id:n,start:x[n].start}));l.push({id:o,start:s.start}),l.sort((n,r)=>n.startr.start?1:n.id>r.id?-1:1),s.position=l.findIndex(n=>n.id===o),a=Math.max(this.getOverlapsStreak(s,x),a)}return[x,a]}getOverlapsStreak(t,i={}){let a=t.overlaps.length+1,o=[];return t.overlaps.forEach(s=>{o.includes(s)||t.overlaps.filter(l=>l!==s).forEach(l=>{i[l].overlaps.includes(s)||o.push(l)})}),o=[...new Set(o)],a-=o.length,a}eventInRange(t,i,a){if(t.allDay||!this._vuecal.time){const l=new Date(t.start).setHours(0,0,0,0);return new Date(t.end).setHours(23,59,0,0)>=new Date(i).setHours(0,0,0,0)&&l<=new Date(a).setHours(0,0,0,0)}const o=t.start.getTime(),s=t.end.getTime();return oi.getTime()}}const Hi={class:"vuecal__flex vuecal__weekdays-headings"},Wi=["onClick"],Ii={class:"vuecal__flex weekday-label",grow:""},Pi={class:"full"},ji={class:"small"},Yi={class:"xsmall"},Fi={key:0},Ri={key:0,class:"vuecal__flex vuecal__split-days-headers",grow:""},ee=(e,t)=>{const i=e.__vccOpts||e;for(const[a,o]of t)i[a]=o;return i},Fe=ee({inject:["vuecal","utils","view"],props:{transitionDirection:{type:String,default:"right"},weekDays:{type:Array,default:()=>[]},switchToNarrowerView:{type:Function,default:()=>{}}},methods:{selectCell(e,t){e.getTime()!==this.view.selectedDate.getTime()&&(this.view.selectedDate=e),this.utils.cell.selectCell(!1,e,t)},cleanupHeading:e=>({label:e.full,date:e.date,...e.today?{today:e.today}:{}})},computed:{headings(){if(!["month","week"].includes(this.view.id))return[];let e=!1;return this.weekDays.map((t,i)=>{const a=this.utils.date.addDays(this.view.startDate,this.vuecal.startWeekOnSunday?i-1:i);return{hide:t.hide,full:t.label,small:t.short||t.label.substr(0,3),xsmall:t.short||t.label.substr(0,1),...this.view.id==="week"?{dayOfMonth:a.getDate(),date:a,today:!e&&this.utils.date.isToday(a)&&!e++}:{}}})},cellWidth(){return 100/(7-this.weekDays.reduce((e,t)=>e+t.hide,0))},weekdayCellStyles(){return{...this.vuecal.hideWeekdays.length?{width:`${this.cellWidth}%`}:{}}},cellHeadingsClickable(){return this.view.id==="week"&&(this.vuecal.clickToNavigate||this.vuecal.dblclickToNavigate)}}},[["render",function(e,t,i,a,o,s){return v(),m("div",Hi,[(v(!0),m(V,null,A(s.headings,(l,n)=>(v(),m(V,{key:n},[l.hide?y("",!0):(v(),m("div",{key:0,class:L(["vuecal__flex vuecal__heading",{today:l.today,clickable:s.cellHeadingsClickable}]),style:B(s.weekdayCellStyles),onClick:r=>s.view.id==="week"&&s.selectCell(l.date,r),onDblclick:t[0]||(t[0]=r=>s.view.id==="week"&&s.vuecal.dblclickToNavigate&&i.switchToNarrowerView())},[h(ue,{name:`slide-fade--${i.transitionDirection}`,appear:s.vuecal.transitions},{default:c(()=>[(v(),m("div",{class:"vuecal__flex",column:"",key:!!s.vuecal.transitions&&`${n}-${l.dayOfMonth}`},[D("div",Ii,[b(e.$slots,"weekday-heading",{heading:s.cleanupHeading(l),view:s.view},()=>[D("span",Pi,f(l.full),1),D("span",ji,f(l.small),1),D("span",Yi,f(l.xsmall),1),l.dayOfMonth?(v(),m("span",Fi," "+f(l.dayOfMonth),1)):y("",!0)])]),s.vuecal.hasSplits&&s.vuecal.stickySplitLabels?(v(),m("div",Ri,[(v(!0),m(V,null,A(s.vuecal.daySplits,(r,d)=>(v(),m("div",{class:L(["day-split-header",r.class||!1]),key:d},[b(e.$slots,"split-label",{split:r,view:s.view},()=>[S(f(r.label),1)])],2))),128))])):y("",!0)]))]),_:2},1032,["name","appear"])],46,Wi))],64))),128))])}]]),Bi={class:"vuecal__header"},Ni={key:0,class:"vuecal__flex vuecal__menu",role:"tablist","aria-label":"Calendar views navigation"},zi=["onDragenter","onDragleave","onClick","aria-label"],Ui={key:1,class:"vuecal__title-bar"},Gi=["aria-label"],qi={class:"vuecal__flex vuecal__title",grow:""},Ki=["aria-label"],Xi={key:0,class:"vuecal__flex vuecal__split-days-headers"},Zi=ee({inject:["vuecal","previous","next","switchView","updateSelectedDate","modules","view"],components:{WeekdaysHeadings:Fe},props:{options:{type:Object,default:()=>({})},editEvents:{type:Object,required:!0},hasSplits:{type:[Boolean,Number],default:!1},daySplits:{type:Array,default:()=>[]},viewProps:{type:Object,default:()=>({})},weekDays:{type:Array,default:()=>[]},switchToNarrowerView:{type:Function,default:()=>{}}},data:()=>({highlightedControl:null}),methods:{goToToday(){this.updateSelectedDate(new Date(new Date().setHours(0,0,0,0)))},switchToBroaderView(){this.transitionDirection="left",this.broaderView&&this.switchView(this.broaderView)}},computed:{transitionDirection:{get(){return this.vuecal.transitionDirection},set(e){this.vuecal.transitionDirection=e}},broaderView(){const{enabledViews:e}=this.vuecal;return e[e.indexOf(this.view.id)-1]},showDaySplits(){return this.view.id==="day"&&this.hasSplits&&this.options.stickySplitLabels&&!this.options.minSplitWidth},dnd(){return this.modules.dnd}}},[["render",function(e,t,i,a,o,s){const l=W("weekdays-headings");return v(),m("div",Bi,[i.options.hideViewSelector?y("",!0):(v(),m("div",Ni,[(v(!0),m(V,null,A(i.viewProps.views,(n,r)=>(v(),m(V,{key:r},[n.enabled?(v(),m("button",{key:0,class:L(["vuecal__view-btn",{"vuecal__view-btn--active":s.view.id===r,"vuecal__view-btn--highlighted":e.highlightedControl===r}]),type:"button",onDragenter:d=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragEnter(d,r,e.$data),onDragleave:d=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragLeave(d,r,e.$data),onClick:d=>s.switchView(r,null,!0),"aria-label":`${n.label} view`},f(n.label),43,zi)):y("",!0)],64))),128))])),i.options.hideTitleBar?y("",!0):(v(),m("div",Ui,[D("button",{class:L(["vuecal__arrow vuecal__arrow--prev",{"vuecal__arrow--highlighted":e.highlightedControl==="previous"}]),type:"button",onClick:t[0]||(t[0]=(...n)=>s.previous&&s.previous(...n)),onDragenter:t[1]||(t[1]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragEnter(n,"previous",e.$data)),onDragleave:t[2]||(t[2]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragLeave(n,"previous",e.$data)),"aria-label":`Previous ${s.view.id}`},[b(e.$slots,"arrow-prev")],42,Gi),D("div",qi,[h(ue,{name:i.options.transitions?`slide-fade--${s.transitionDirection}`:""},{default:c(()=>[(v(),C(Ct(s.broaderView?"button":"span"),{type:!!s.broaderView&&"button",key:`${s.view.id}${s.view.startDate.toString()}`,onClick:t[3]||(t[3]=n=>!!s.broaderView&&s.switchToBroaderView()),"aria-label":!!s.broaderView&&`Go to ${s.broaderView} view`},{default:c(()=>[b(e.$slots,"title")]),_:3},8,["type","aria-label"]))]),_:3},8,["name"])]),i.options.todayButton?(v(),m("button",{key:0,class:L(["vuecal__today-btn",{"vuecal__today-btn--highlighted":e.highlightedControl==="today"}]),type:"button",onClick:t[4]||(t[4]=(...n)=>s.goToToday&&s.goToToday(...n)),onDragenter:t[5]||(t[5]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragEnter(n,"today",e.$data)),onDragleave:t[6]||(t[6]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragLeave(n,"today",e.$data)),"aria-label":"Today"},[b(e.$slots,"today-button")],34)):y("",!0),D("button",{class:L(["vuecal__arrow vuecal__arrow--next",{"vuecal__arrow--highlighted":e.highlightedControl==="next"}]),type:"button",onClick:t[7]||(t[7]=(...n)=>s.next&&s.next(...n)),onDragenter:t[8]||(t[8]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragEnter(n,"next",e.$data)),onDragleave:t[9]||(t[9]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragLeave(n,"next",e.$data)),"aria-label":`Next ${s.view.id}`},[b(e.$slots,"arrow-next")],42,Ki)])),i.viewProps.weekDaysInHeader?(v(),C(l,{key:2,"week-days":i.weekDays,"transition-direction":s.transitionDirection,"switch-to-narrower-view":i.switchToNarrowerView},_e({_:2},[e.$slots["weekday-heading"]?{name:"weekday-heading",fn:c(({heading:n,view:r})=>[b(e.$slots,"weekday-heading",{heading:n,view:r})]),key:"0"}:void 0,e.$slots["split-label"]?{name:"split-label",fn:c(({split:n})=>[b(e.$slots,"split-label",{split:n,view:s.view})]),key:"1"}:void 0]),1032,["week-days","transition-direction","switch-to-narrower-view"])):y("",!0),h(ue,{name:`slide-fade--${s.transitionDirection}`},{default:c(()=>[s.showDaySplits?(v(),m("div",Xi,[(v(!0),m(V,null,A(i.daySplits,(n,r)=>(v(),m("div",{class:L(["day-split-header",n.class||!1]),key:r},[b(e.$slots,"split-label",{split:n,view:s.view.id},()=>[S(f(n.label),1)])],2))),128))])):y("",!0)]),_:3},8,["name"])])}]]),Ji=["draggable"],Qi={inject:["vuecal","utils","modules","view","domEvents","editEvents"],props:{cellFormattedDate:{type:String,default:""},event:{type:Object,default:()=>({})},cellEvents:{type:Array,default:()=>[]},overlaps:{type:Array,default:()=>[]},eventPosition:{type:Number,default:0},overlapsStreak:{type:Number,default:0},allDay:{type:Boolean,default:!1}},data:()=>({touch:{dragThreshold:30,startX:0,startY:0,dragged:!1}}),methods:{onMouseDown(e,t=!1){if("ontouchstart"in window&&!t)return!1;const{clickHoldAnEvent:i,focusAnEvent:a,resizeAnEvent:o,dragAnEvent:s}=this.domEvents;if(a._eid===this.event._eid&&i._eid===this.event._eid)return!0;this.focusEvent(),i._eid=null,this.vuecal.editEvents.delete&&this.event.deletable&&(i.timeoutId=setTimeout(()=>{o._eid||s._eid||(i._eid=this.event._eid,this.event.deleting=!0)},i.timeout))},onMouseUp(e){this.domEvents.focusAnEvent._eid!==this.event._eid||this.touch.dragged||(this.domEvents.focusAnEvent.mousedUp=!0),this.touch.dragged=!1},onMouseEnter(e){e.preventDefault(),this.vuecal.emitWithEvent("event-mouse-enter",this.event)},onMouseLeave(e){e.preventDefault(),this.vuecal.emitWithEvent("event-mouse-leave",this.event)},onTouchMove(e){if(typeof this.vuecal.onEventClick!="function")return;const{clientX:t,clientY:i}=e.touches[0],{startX:a,startY:o,dragThreshold:s}=this.touch;(Math.abs(t-a)>s||Math.abs(i-o)>s)&&(this.touch.dragged=!0)},onTouchStart(e){this.touch.startX=e.touches[0].clientX,this.touch.startY=e.touches[0].clientY,this.onMouseDown(e,!0)},onEnterKeypress(e){if(typeof this.vuecal.onEventClick=="function")return this.vuecal.onEventClick(this.event,e)},onDblClick(e){if(typeof this.vuecal.onEventDblclick=="function")return this.vuecal.onEventDblclick(this.event,e)},onDragStart(e){this.dnd&&this.dnd.eventDragStart(e,this.event)},onDragEnd(){this.dnd&&this.dnd.eventDragEnd(this.event)},onResizeHandleMouseDown(){this.focusEvent(),this.domEvents.dragAnEvent._eid=null,this.domEvents.resizeAnEvent=Object.assign(this.domEvents.resizeAnEvent,{_eid:this.event._eid,start:(this.segment||this.event).start,split:this.event.split||null,segment:!!this.segment&&this.utils.date.formatDateLite(this.segment.start),originalEnd:new Date((this.segment||this.event).end),originalEndTimeMinutes:this.event.endTimeMinutes}),this.event.resizing=!0},deleteEvent(e=!1){if("ontouchstart"in window&&!e)return!1;this.utils.event.deleteAnEvent(this.event)},touchDeleteEvent(e){this.deleteEvent(!0)},cancelDeleteEvent(){this.event.deleting=!1},focusEvent(){const{focusAnEvent:e}=this.domEvents,t=e._eid;if(t!==this.event._eid){if(t){const i=this.view.events.find(a=>a._eid===t);i&&(i.focused=!1)}this.vuecal.cancelDelete(),this.vuecal.emitWithEvent("event-focus",this.event),e._eid=this.event._eid,this.event.focused=!0}}},computed:{eventDimensions(){const{startTimeMinutes:e,endTimeMinutes:t}=this.segment||this.event;let i=e-this.vuecal.timeFrom;const a=Math.max(Math.round(i*this.vuecal.timeCellHeight/this.vuecal.timeStep),0);i=Math.min(t,this.vuecal.timeTo)-this.vuecal.timeFrom;const o=Math.round(i*this.vuecal.timeCellHeight/this.vuecal.timeStep);return{top:a,height:Math.max(o-a,5)}},eventStyles(){if(this.event.allDay||!this.vuecal.time||!this.event.endTimeMinutes||this.view.id==="month"||this.allDay)return{};let e=100/Math.min(this.overlaps.length+1,this.overlapsStreak),t=100/(this.overlaps.length+1)*this.eventPosition;this.vuecal.minEventWidth&&es.focusEvent&&s.focusEvent(...l)),onKeypress:t[5]||(t[5]=De(K((...l)=>s.onEnterKeypress&&s.onEnterKeypress(...l),["stop"]),["enter"])),onMouseenter:t[6]||(t[6]=(...l)=>s.onMouseEnter&&s.onMouseEnter(...l)),onMouseleave:t[7]||(t[7]=(...l)=>s.onMouseLeave&&s.onMouseLeave(...l)),onTouchstart:t[8]||(t[8]=K((...l)=>s.onTouchStart&&s.onTouchStart(...l),["stop"])),onMousedown:t[9]||(t[9]=l=>s.onMouseDown(l)),onMouseup:t[10]||(t[10]=(...l)=>s.onMouseUp&&s.onMouseUp(...l)),onTouchend:t[11]||(t[11]=(...l)=>s.onMouseUp&&s.onMouseUp(...l)),onTouchmove:t[12]||(t[12]=(...l)=>s.onTouchMove&&s.onTouchMove(...l)),onDblclick:t[13]||(t[13]=(...l)=>s.onDblClick&&s.onDblClick(...l)),draggable:s.draggable,onDragstart:t[14]||(t[14]=l=>s.draggable&&s.onDragStart(l)),onDragend:t[15]||(t[15]=l=>s.draggable&&s.onDragEnd())},[s.vuecal.editEvents.delete&&i.event.deletable?(v(),m("div",{key:0,class:"vuecal__event-delete",onClick:t[0]||(t[0]=K((...l)=>s.deleteEvent&&s.deleteEvent(...l),["stop"])),onTouchstart:t[1]||(t[1]=K((...l)=>s.touchDeleteEvent&&s.touchDeleteEvent(...l),["stop"]))},f(s.vuecal.texts.deleteEvent),33)):y("",!0),b(e.$slots,"event",{event:i.event,view:s.view.id}),s.resizable?(v(),m("div",{key:1,class:"vuecal__event-resize-handle",contenteditable:"false",onMousedown:t[2]||(t[2]=K((...l)=>s.onResizeHandleMouseDown&&s.onResizeHandleMouseDown(...l),["stop","prevent"])),onTouchstart:t[3]||(t[3]=K((...l)=>s.onResizeHandleMouseDown&&s.onResizeHandleMouseDown(...l),["stop","prevent"]))},null,32)):y("",!0)],46,Ji)}]])},props:{options:{type:Object,default:()=>({})},editEvents:{type:Object,required:!0},data:{type:Object,required:!0},cellSplits:{type:Array,default:()=>[]},minTimestamp:{type:[Number,null],default:null},maxTimestamp:{type:[Number,null],default:null},cellWidth:{type:[Number,Boolean],default:!1},allDay:{type:Boolean,default:!1}},data:()=>({cellOverlaps:{},cellOverlapsStreak:1,timeAtCursor:null,highlighted:!1,highlightedSplit:null}),methods:{getSplitAtCursor({target:e}){let t=e.classList.contains("vuecal__cell-split")?e:this.vuecal.findAncestor(e,"vuecal__cell-split");return t&&(t=t.attributes["data-split"].value,parseInt(t).toString()===t.toString()&&(t=parseInt(t))),t||null},splitClasses(e){return{"vuecal__cell-split":!0,"vuecal__cell-split--highlighted":this.highlightedSplit===e.id,[e.class]:!!e.class}},checkCellOverlappingEvents(){this.options.time&&this.eventsCount&&!this.splitsCount&&(this.eventsCount===1?(this.cellOverlaps=[],this.cellOverlapsStreak=1):[this.cellOverlaps,this.cellOverlapsStreak]=this.utils.event.checkCellOverlappingEvents(this.events,this.options))},isDOMElementAnEvent(e){return this.vuecal.isDOMElementAnEvent(e)},selectCell(e,t=!1){const i=this.splitsCount?this.getSplitAtCursor(e):null;this.utils.cell.selectCell(t,this.timeAtCursor,i),this.timeAtCursor=null},onCellkeyPressEnter(e){this.isSelected||this.onCellFocus(e);const t=this.splitsCount?this.getSplitAtCursor(e):null;this.utils.cell.keyPressEnterCell(this.timeAtCursor,t),this.timeAtCursor=null},onCellFocus(e){if(!this.isSelected&&!this.isDisabled){this.isSelected=this.data.startDate;const t=this.splitsCount?this.getSplitAtCursor(e):null,i=this.timeAtCursor||this.data.startDate;this.vuecal.$emit("cell-focus",t?{date:i,split:t}:i)}},onCellMouseDown(e,t=null,i=!1){if("ontouchstart"in window&&!i)return!1;this.isSelected||this.onCellFocus(e);const{clickHoldACell:a,focusAnEvent:o}=this.domEvents;this.domEvents.cancelClickEventCreation=!1,a.eventCreated=!1,this.timeAtCursor=new Date(this.data.startDate);const{minutes:s,cursorCoords:{y:l}}=this.vuecal.minutesAtCursor(e);this.timeAtCursor.setMinutes(s);const n=this.isDOMElementAnEvent(e.target);!n&&o._eid&&((this.view.events.find(r=>r._eid===o._eid)||{}).focused=!1),this.editEvents.create&&!n&&this.setUpEventCreation(e,l)},setUpEventCreation(e,t){if(this.options.dragToCreateEvent&&["week","day"].includes(this.view.id)){const{dragCreateAnEvent:i}=this.domEvents;if(i.startCursorY=t,i.split=this.splitsCount?this.getSplitAtCursor(e):null,i.start=this.timeAtCursor,this.options.snapToTime){let a=60*this.timeAtCursor.getHours()+this.timeAtCursor.getMinutes();const o=a+this.options.snapToTime/2;a=o-o%this.options.snapToTime,i.start.setHours(0,a,0,0)}}else this.options.cellClickHold&&["month","week","day"].includes(this.view.id)&&this.setUpCellHoldTimer(e)},setUpCellHoldTimer(e){const{clickHoldACell:t}=this.domEvents;t.cellId=`${this.vuecal._.uid}_${this.data.formattedDate}`,t.split=this.splitsCount?this.getSplitAtCursor(e):null,t.timeoutId=setTimeout(()=>{if(t.cellId&&!this.domEvents.cancelClickEventCreation){const{_eid:i}=this.utils.event.createAnEvent(this.timeAtCursor,null,t.split?{split:t.split}:{});t.eventCreated=i}},t.timeout)},onCellTouchStart(e,t=null){this.onCellMouseDown(e,t,!0)},onCellClick(e){this.isDOMElementAnEvent(e.target)||this.selectCell(e)},onCellDblClick(e){const t=new Date(this.data.startDate);t.setMinutes(this.vuecal.minutesAtCursor(e).minutes);const i=this.splitsCount?this.getSplitAtCursor(e):null;this.vuecal.$emit("cell-dblclick",i?{date:t,split:i}:t),this.options.dblclickToNavigate&&this.vuecal.switchToNarrowerView()},onCellContextMenu(e){e.stopPropagation(),e.preventDefault();const t=new Date(this.data.startDate),{cursorCoords:i,minutes:a}=this.vuecal.minutesAtCursor(e);t.setMinutes(a);const o=this.splitsCount?this.getSplitAtCursor(e):null;this.vuecal.$emit("cell-contextmenu",{date:t,...i,...o||{},e})}},computed:{dnd(){return this.modules.dnd},nowInMinutes(){return this.utils.date.dateToMinutes(this.vuecal.now)},isBeforeMinDate(){return this.minTimestamp!==null&&this.minTimestamp>this.data.endDate.getTime()},isAfterMaxDate(){return this.maxTimestamp&&this.maxTimestamp{let{from:t,to:i}=e;return t=Math.max(t,this.options.timeFrom),i=Math.min(i,this.options.timeTo),{...e,height:(i-t)*this.timeScale,top:(t-this.options.timeFrom)*this.timeScale}})},events(){const{startDate:e,endDate:t}=this.data;let i=[];if(!["years","year"].includes(this.view.id)||this.options.eventsCountOnYearView){if(i=this.view.events.slice(0),this.view.id==="month"&&i.push(...this.view.outOfScopeEvents),i=i.filter(a=>this.utils.event.eventInRange(a,e,t)),this.options.showAllDayEvents&&this.view.id!=="month"&&(i=i.filter(a=>!!a.allDay===this.allDay)),this.options.time&&this.isWeekOrDayView&&!this.allDay){const{timeFrom:a,timeTo:o}=this.options;i=i.filter(s=>{const l=s.daysCount>1&&s.segments[this.data.formattedDate]||{},n=s.daysCount===1&&s.startTimeMinutesa,r=s.daysCount>1&&l.startTimeMinutesa;return s.allDay||n||r||!1})}!this.options.time||!this.isWeekOrDayView||this.options.showAllDayEvents&&this.allDay||i.sort((a,o)=>a.start{const i=this.events.filter(s=>s.split===e.id),[a,o]=this.utils.event.checkCellOverlappingEvents(i.filter(s=>!s.background&&!s.allDay),this.options);return{...e,overlaps:a,overlapsStreak:o,events:i}})},splitsCount(){return this.splits.length},cellClasses(){return{[this.data.class]:!!this.data.class,"vuecal__cell--current":this.data.current,"vuecal__cell--today":this.data.today,"vuecal__cell--out-of-scope":this.data.outOfScope,"vuecal__cell--before-min":this.isDisabled&&this.isBeforeMinDate,"vuecal__cell--after-max":this.isDisabled&&this.isAfterMaxDate,"vuecal__cell--disabled":this.isDisabled,"vuecal__cell--selected":this.isSelected,"vuecal__cell--highlighted":this.highlighted,"vuecal__cell--has-splits":this.splitsCount,"vuecal__cell--has-events":this.eventsCount}},cellStyles(){return{...this.cellWidth?{width:`${this.cellWidth}%`}:{}}},timelineVisible(){const{time:e,timeTo:t}=this.options;return this.data.today&&this.isWeekOrDayView&&e&&!this.allDay&&this.nowInMinutes<=t},todaysTimePosition(){if(!this.data.today||!this.options.time)return;const e=this.nowInMinutes-this.options.timeFrom;return Math.round(e*this.timeScale)},timeScale(){return this.options.timeCellHeight/this.options.timeStep}}},[["render",function(e,t,i,a,o,s){const l=W("event");return v(),C(Mt,{class:L(["vuecal__cell",s.cellClasses]),name:`slide-fade--${s.transitionDirection}`,tag:"div",appear:i.options.transitions,style:B(s.cellStyles)},{default:c(()=>[(v(!0),m(V,null,A(s.splitsCount?s.splits:1,(n,r)=>(v(),m("div",{class:L(["vuecal__flex vuecal__cell-content",s.splitsCount&&s.splitClasses(n)]),key:i.options.transitions?`${s.view.id}-${i.data.content}-${r}`:r,"data-split":!!s.splitsCount&&n.id,column:"",tabindex:"0","aria-label":i.data.content,onFocus:t[0]||(t[0]=d=>s.onCellFocus(d)),onKeypress:t[1]||(t[1]=De(d=>s.onCellkeyPressEnter(d),["enter"])),onTouchstart:d=>!s.isDisabled&&s.onCellTouchStart(d,s.splitsCount?n.id:null),onMousedown:d=>!s.isDisabled&&s.onCellMouseDown(d,s.splitsCount?n.id:null),onClick:t[2]||(t[2]=d=>!s.isDisabled&&s.onCellClick(d)),onDblclick:t[3]||(t[3]=d=>!s.isDisabled&&s.onCellDblClick(d)),onContextmenu:t[4]||(t[4]=d=>!s.isDisabled&&i.options.cellContextmenu&&s.onCellContextMenu(d)),onDragenter:t[5]||(t[5]=d=>!s.isDisabled&&i.editEvents.drag&&s.dnd&&s.dnd.cellDragEnter(d,e.$data,i.data.startDate)),onDragover:d=>!s.isDisabled&&i.editEvents.drag&&s.dnd&&s.dnd.cellDragOver(d,e.$data,i.data.startDate,s.splitsCount?n.id:null),onDragleave:t[6]||(t[6]=d=>!s.isDisabled&&i.editEvents.drag&&s.dnd&&s.dnd.cellDragLeave(d,e.$data,i.data.startDate)),onDrop:d=>!s.isDisabled&&i.editEvents.drag&&s.dnd&&s.dnd.cellDragDrop(d,e.$data,i.data.startDate,s.splitsCount?n.id:null)},[i.options.showTimeInCells&&i.options.time&&s.isWeekOrDayView&&!i.allDay?(v(),m("div",ts,[(v(!0),m(V,null,A(s.vuecal.timeCells,(d,u)=>(v(),m("span",{class:"cell-time-label",key:u},f(d.label),1))),128))])):y("",!0),s.isWeekOrDayView&&!i.allDay&&s.specialHours.length?(v(!0),m(V,{key:1},A(s.specialHours,(d,u)=>(v(),m("div",{class:L(["vuecal__special-hours",`vuecal__special-hours--day${d.day} ${d.class}`]),style:B(`height: ${d.height}px;top: ${d.top}px`)},[d.label?(v(),m("div",{key:0,class:"special-hours-label",innerHTML:d.label},null,8,is)):y("",!0)],6))),256)):y("",!0),b(e.$slots,"cell-content",{events:s.events,selectCell:d=>s.selectCell(d,!0),split:!!s.splitsCount&&n}),s.eventsCount&&(s.isWeekOrDayView||s.view.id==="month"&&i.options.eventsOnMonthView)?(v(),m("div",ss,[(v(!0),m(V,null,A(s.splitsCount?n.events:s.events,(d,u)=>(v(),C(l,{key:u,"cell-formatted-date":i.data.formattedDate,event:d,"all-day":i.allDay,"cell-events":s.splitsCount?n.events:s.events,overlaps:((s.splitsCount?n.overlaps[d._eid]:e.cellOverlaps[d._eid])||[]).overlaps,"event-position":((s.splitsCount?n.overlaps[d._eid]:e.cellOverlaps[d._eid])||[]).position,"overlaps-streak":s.splitsCount?n.overlapsStreak:e.cellOverlapsStreak},{event:c(({event:p,view:_})=>[b(e.$slots,"event",{view:_,event:p})]),_:2},1032,["cell-formatted-date","event","all-day","cell-events","overlaps","event-position","overlaps-streak"]))),128))])):y("",!0)],42,es))),128)),s.timelineVisible?(v(),m("div",{class:"vuecal__now-line",style:B(`top: ${s.todaysTimePosition}px`),key:i.options.transitions?`${s.view.id}-now-line`:"now-line",title:s.utils.date.formatTime(s.vuecal.now)},null,12,as)):y("",!0)]),_:3},8,["class","name","appear","style"])}]]),ns={key:0,class:"vuecal__all-day-text",style:{width:"3em"}},ls=ee({inject:["vuecal","view","editEvents"],components:{"vuecal-cell":Re},props:{options:{type:Object,required:!0},cells:{type:Array,required:!0},label:{type:String,required:!0},daySplits:{type:Array,default:()=>[]},shortEvents:{type:Boolean,default:!0},height:{type:String,default:""},cellOrSplitMinWidth:{type:Number,default:null}},computed:{hasCellOrSplitWidth(){return!!(this.options.minCellWidth||this.daySplits.length&&this.options.minSplitWidth)}}},[["render",function(e,t,i,a,o,s){const l=W("vuecal-cell");return v(),m("div",{class:"vuecal__flex vuecal__all-day",style:B(i.cellOrSplitMinWidth&&{height:i.height})},[i.cellOrSplitMinWidth?y("",!0):(v(),m("div",ns,[D("span",null,f(i.label),1)])),D("div",{class:L(["vuecal__flex vuecal__cells",`${s.view.id}-view`]),grow:"",style:B(i.cellOrSplitMinWidth?`min-width: ${i.cellOrSplitMinWidth}px`:"")},[(v(!0),m(V,null,A(i.cells,(n,r)=>(v(),C(l,{key:r,options:i.options,"edit-events":s.editEvents,data:n,"all-day":!0,"cell-width":i.options.hideWeekdays.length&&(s.vuecal.isWeekView||s.vuecal.isMonthView)&&s.vuecal.cellWidth,"min-timestamp":i.options.minTimestamp,"max-timestamp":i.options.maxTimestamp,"cell-splits":i.daySplits},{event:c(({event:d,view:u})=>[b(e.$slots,"event",{view:u,event:d})]),_:2},1032,["options","edit-events","data","cell-width","min-timestamp","max-timestamp","cell-splits"]))),128))],6)],4)}]]),os=["lang"],rs=D("i",{class:"angle"},null,-1),ds=D("i",{class:"angle"},null,-1),us={class:"default"},cs={key:0,class:"vuecal__flex vuecal__body",grow:""},hs=["onBlur","innerHTML"],vs=["innerHTML"],ms=["innerHTML"],ps={class:"vuecal__flex",row:"",grow:""},_s={key:0,class:"vuecal__time-column"},gs=D("span",{class:"vuecal__time-cell-line"},null,-1),ws={class:"vuecal__time-cell-label"},ys={key:1,class:"vuecal__flex vuecal__week-numbers",column:""},fs=["wrap","column"],Ds=["onBlur","innerHTML"],bs=["innerHTML"],ks=["innerHTML"],Es=["wrap"],Ts=["innerHTML"],Cs=["innerHTML"],Ms={key:2,class:"vuecal__cell-events-count"},xs={key:3,class:"vuecal__no-event"},Ss=["onBlur","innerHTML"],Vs=["innerHTML"],Os={key:2,class:"vuecal__event-time"},As={key:0},$s={key:1,class:"days-to-end"},Ls=["innerHTML"],Hs={key:0,class:"vuecal__scrollbar-check"},Ws=[D("div",null,null,-1)],ne={weekDays:Array(7).fill(""),weekDaysShort:[],months:Array(12).fill(""),years:"",year:"",month:"",week:"",day:"",today:"",noEvent:"",allDay:"",deleteEvent:"",createEvent:"",dateFormat:"dddd MMMM D, YYYY",am:"am",pm:"pm"},xe=["years","year","month","week","day"],Se=new class{constructor(e,t=!1){U(this,"texts",{}),U(this,"dateToMinutes",i=>60*i.getHours()+i.getMinutes()),R=this,this._texts=e,t||!Date||Date.prototype.addDays||this._initDatePrototypes()}_initDatePrototypes(){Date.prototype.addDays=function(e){return R.addDays(this,e)},Date.prototype.subtractDays=function(e){return R.subtractDays(this,e)},Date.prototype.addHours=function(e){return R.addHours(this,e)},Date.prototype.subtractHours=function(e){return R.subtractHours(this,e)},Date.prototype.addMinutes=function(e){return R.addMinutes(this,e)},Date.prototype.subtractMinutes=function(e){return R.subtractMinutes(this,e)},Date.prototype.getWeek=function(){return R.getWeek(this)},Date.prototype.isToday=function(){return R.isToday(this)},Date.prototype.isLeapYear=function(){return R.isLeapYear(this)},Date.prototype.format=function(e="YYYY-MM-DD"){return R.formatDate(this,e)},Date.prototype.formatTime=function(e="HH:mm"){return R.formatTime(this,e)}}removePrototypes(){delete Date.prototype.addDays,delete Date.prototype.subtractDays,delete Date.prototype.addHours,delete Date.prototype.subtractHours,delete Date.prototype.addMinutes,delete Date.prototype.subtractMinutes,delete Date.prototype.getWeek,delete Date.prototype.isToday,delete Date.prototype.isLeapYear,delete Date.prototype.format,delete Date.prototype.formatTime}updateTexts(e){this._texts=e}_todayFormatted(){return Ce!==new Date().getDate()&&(ie=new Date,Ce=ie.getDate(),Me=`${ie.getFullYear()}-${ie.getMonth()}-${ie.getDate()}`),Me}addDays(e,t){const i=new Date(e.valueOf());return i.setDate(i.getDate()+t),i}subtractDays(e,t){const i=new Date(e.valueOf());return i.setDate(i.getDate()-t),i}addHours(e,t){const i=new Date(e.valueOf());return i.setHours(i.getHours()+t),i}subtractHours(e,t){const i=new Date(e.valueOf());return i.setHours(i.getHours()-t),i}addMinutes(e,t){const i=new Date(e.valueOf());return i.setMinutes(i.getMinutes()+t),i}subtractMinutes(e,t){const i=new Date(e.valueOf());return i.setMinutes(i.getMinutes()-t),i}getWeek(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),i=t.getUTCDay()||7;t.setUTCDate(t.getUTCDate()+4-i);const a=new Date(Date.UTC(t.getUTCFullYear(),0,1));return Math.ceil(((t-a)/864e5+1)/7)}isToday(e){return`${e.getFullYear()}-${e.getMonth()}-${e.getDate()}`===this._todayFormatted()}isLeapYear(e){const t=e.getFullYear();return!(t%400)||t%100&&!(t%4)}getPreviousFirstDayOfWeek(e=null,t){const i=e&&new Date(e.valueOf())||new Date,a=t?7:6;return i.setDate(i.getDate()-(i.getDay()+a)%7),i}stringToDate(e){return e instanceof Date?e:(e.length===10&&(e+=" 00:00"),new Date(e.replace(/-/g,"/")))}countDays(e,t){typeof e=="string"&&(e=e.replace(/-/g,"/")),typeof t=="string"&&(t=t.replace(/-/g,"/")),e=new Date(e).setHours(0,0,0,0),t=new Date(t).setHours(0,0,1,0);const i=60*(new Date(t).getTimezoneOffset()-new Date(e).getTimezoneOffset())*1e3;return Math.ceil((t-e-i)/864e5)}datesInSameTimeStep(e,t,i){return Math.abs(e.getTime()-t.getTime())<=60*i*1e3}formatDate(e,t="YYYY-MM-DD",i=null){if(i||(i=this._texts),t||(t="YYYY-MM-DD"),t==="YYYY-MM-DD")return this.formatDateLite(e);se={},X={};const a={YYYY:()=>this._hydrateDateObject(e,i).YYYY,YY:()=>this._hydrateDateObject(e,i).YY(),M:()=>this._hydrateDateObject(e,i).M,MM:()=>this._hydrateDateObject(e,i).MM(),MMM:()=>this._hydrateDateObject(e,i).MMM(),MMMM:()=>this._hydrateDateObject(e,i).MMMM(),MMMMG:()=>this._hydrateDateObject(e,i).MMMMG(),D:()=>this._hydrateDateObject(e,i).D,DD:()=>this._hydrateDateObject(e,i).DD(),S:()=>this._hydrateDateObject(e,i).S(),d:()=>this._hydrateDateObject(e,i).d,dd:()=>this._hydrateDateObject(e,i).dd(),ddd:()=>this._hydrateDateObject(e,i).ddd(),dddd:()=>this._hydrateDateObject(e,i).dddd(),HH:()=>this._hydrateTimeObject(e,i).HH,H:()=>this._hydrateTimeObject(e,i).H,hh:()=>this._hydrateTimeObject(e,i).hh,h:()=>this._hydrateTimeObject(e,i).h,am:()=>this._hydrateTimeObject(e,i).am,AM:()=>this._hydrateTimeObject(e,i).AM,mm:()=>this._hydrateTimeObject(e,i).mm,m:()=>this._hydrateTimeObject(e,i).m};return t.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,(o,s)=>{const l=a[s.replace(/\{|\}/g,"")];return l!==void 0?l():s})}formatDateLite(e){const t=e.getMonth()+1,i=e.getDate();return`${e.getFullYear()}-${t<10?"0":""}${t}-${i<10?"0":""}${i}`}formatTime(e,t="HH:mm",i=null,a=!1){let o=!1;if(a){const[n,r,d]=[e.getHours(),e.getMinutes(),e.getSeconds()];n+r+d===141&&(o=!0)}if(e instanceof Date&&t==="HH:mm")return o?"24:00":this.formatTimeLite(e);X={},i||(i=this._texts);const s=this._hydrateTimeObject(e,i),l=t.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,(n,r)=>{const d=s[r.replace(/\{|\}/g,"")];return d!==void 0?d:r});return o?l.replace("23:59","24:00"):l}formatTimeLite(e){const t=e.getHours(),i=e.getMinutes();return`${(t<10?"0":"")+t}:${(i<10?"0":"")+i}`}_nth(e){if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}_hydrateDateObject(e,t){if(se.D)return se;const i=e.getFullYear(),a=e.getMonth()+1,o=e.getDate(),s=(e.getDay()-1+7)%7;return se={YYYY:i,YY:()=>i.toString().substring(2),M:a,MM:()=>(a<10?"0":"")+a,MMM:()=>t.months[a-1].substring(0,3),MMMM:()=>t.months[a-1],MMMMG:()=>(t.monthsGenitive||t.months)[a-1],D:o,DD:()=>(o<10?"0":"")+o,S:()=>this._nth(o),d:s+1,dd:()=>t.weekDays[s][0],ddd:()=>t.weekDays[s].substr(0,3),dddd:()=>t.weekDays[s]},se}_hydrateTimeObject(e,t){if(X.am)return X;let i,a;e instanceof Date?(i=e.getHours(),a=e.getMinutes()):(i=Math.floor(e/60),a=Math.floor(e%60));const o=i%12?i%12:12,s=(t||{am:"am",pm:"pm"})[i===24||i<12?"am":"pm"];return X={H:i,h:o,HH:(i<10?"0":"")+i,hh:(o<10?"0":"")+o,am:s,AM:s.toUpperCase(),m:a,mm:(a<10?"0":"")+a},X}}(ne),Is={name:"vue-cal",components:{"vuecal-cell":Re,"vuecal-header":Zi,WeekdaysHeadings:Fe,AllDayBar:ls},provide(){return{vuecal:this,utils:this.utils,modules:this.modules,previous:this.previous,next:this.next,switchView:this.switchView,updateSelectedDate:this.updateSelectedDate,editEvents:this.editEvents,view:this.view,domEvents:this.domEvents}},props:{activeView:{type:String,default:"week"},allDayBarHeight:{type:[String,Number],default:"25px"},cellClickHold:{type:Boolean,default:!0},cellContextmenu:{type:Boolean,default:!1},clickToNavigate:{type:Boolean,default:!1},dblclickToNavigate:{type:Boolean,default:!0},disableDatePrototypes:{type:Boolean,default:!1},disableDays:{type:Array,default:()=>[]},disableViews:{type:Array,default:()=>[]},dragToCreateEvent:{type:Boolean,default:!0},dragToCreateThreshold:{type:Number,default:15},editableEvents:{type:[Boolean,Object],default:!1},events:{type:Array,default:()=>[]},eventsCountOnYearView:{type:Boolean,default:!1},eventsOnMonthView:{type:[Boolean,String],default:!1},hideBody:{type:Boolean,default:!1},hideTitleBar:{type:Boolean,default:!1},hideViewSelector:{type:Boolean,default:!1},hideWeekdays:{type:Array,default:()=>[]},hideWeekends:{type:Boolean,default:!1},locale:{type:[String,Object],default:"en"},maxDate:{type:[String,Date],default:""},minCellWidth:{type:Number,default:0},minDate:{type:[String,Date],default:""},minEventWidth:{type:Number,default:0},minSplitWidth:{type:Number,default:0},onEventClick:{type:[Function,null],default:null},onEventCreate:{type:[Function,null],default:null},onEventDblclick:{type:[Function,null],default:null},overlapsPerTimeStep:{type:Boolean,default:!1},resizeX:{type:Boolean,default:!1},selectedDate:{type:[String,Date],default:""},showAllDayEvents:{type:[Boolean,String],default:!1},showTimeInCells:{type:Boolean,default:!1},showWeekNumbers:{type:[Boolean,String],default:!1},snapToTime:{type:Number,default:0},small:{type:Boolean,default:!1},specialHours:{type:Object,default:()=>({})},splitDays:{type:Array,default:()=>[]},startWeekOnSunday:{type:Boolean,default:!1},stickySplitLabels:{type:Boolean,default:!1},time:{type:Boolean,default:!0},timeCellHeight:{type:Number,default:40},timeFormat:{type:String,default:""},timeFrom:{type:Number,default:0},timeStep:{type:Number,default:60},timeTo:{type:Number,default:1440},todayButton:{type:Boolean,default:!1},transitions:{type:Boolean,default:!0},twelveHour:{type:Boolean,default:!1},watchRealTime:{type:Boolean,default:!1},xsmall:{type:Boolean,default:!1}},data(){return{ready:!1,texts:{...ne},utils:{date:!!this.disableDatePrototypes&&Se.removePrototypes()||Se,cell:null,event:null},modules:{dnd:null},cellsEl:null,view:{id:"",title:"",startDate:null,endDate:null,firstCellDate:null,lastCellDate:null,selectedDate:null,events:[]},eventIdIncrement:1,now:new Date,timeTickerIds:[null,null],domEvents:{resizeAnEvent:{_eid:null,start:null,split:null,segment:null,originalEndTimeMinutes:0,originalEnd:null,end:null,startCell:null,endCell:null},dragAnEvent:{_eid:null},dragCreateAnEvent:{startCursorY:null,start:null,split:null,event:null},focusAnEvent:{_eid:null,mousedUp:!1},clickHoldAnEvent:{_eid:null,timeout:1200,timeoutId:null},dblTapACell:{taps:0,timeout:500},clickHoldACell:{cellId:null,split:null,timeout:1200,timeoutId:null,eventCreated:!1},cancelClickEventCreation:!1},mutableEvents:[],transitionDirection:"right"}},methods:{async loadLocale(e){if(typeof this.locale=="object")return this.texts=Object.assign({},ne,e),void this.utils.date.updateTexts(this.texts);if(this.locale==="en"){const t=await g(()=>import("./en.es-713916b0.js"),[]);this.texts=Object.assign({},ne,t)}else((t,i)=>{const a=t[i];return a?typeof a=="function"?a():Promise.resolve(a):new Promise((o,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+i)))})})(Object.assign({"./i18n/ar.json":()=>g(()=>import("./ar.es-4173cb29.js"),[]),"./i18n/bg.json":()=>g(()=>import("./bg.es-3542f853.js"),[]),"./i18n/bn.json":()=>g(()=>import("./bn.es-55ab5212.js"),[]),"./i18n/bs.json":()=>g(()=>import("./bs.es-ba9dd541.js"),[]),"./i18n/ca.json":()=>g(()=>import("./ca.es-3f4af411.js"),[]),"./i18n/cs.json":()=>g(()=>import("./cs.es-4bf8e61a.js"),[]),"./i18n/da.json":()=>g(()=>import("./da.es-084484fb.js"),[]),"./i18n/de.json":()=>g(()=>import("./de.es-0185602c.js"),[]),"./i18n/el.json":()=>g(()=>import("./el.es-b3db55e7.js"),[]),"./i18n/en.json":()=>g(()=>import("./en.es-713916b0.js"),[]),"./i18n/es.json":()=>g(()=>import("./es.es-2f81ef8f.js"),[]),"./i18n/et.json":()=>g(()=>import("./et.es-feab242e.js"),[]),"./i18n/fa.json":()=>g(()=>import("./fa.es-e30ec481.js"),[]),"./i18n/fr.json":()=>g(()=>import("./fr.es-fd781cdb.js"),[]),"./i18n/he.json":()=>g(()=>import("./he.es-ab017da7.js"),[]),"./i18n/hr.json":()=>g(()=>import("./hr.es-8ff4208c.js"),[]),"./i18n/hu.json":()=>g(()=>import("./hu.es-a826dbea.js"),[]),"./i18n/id.json":()=>g(()=>import("./id.es-09894c24.js"),[]),"./i18n/is.json":()=>g(()=>import("./is.es-9608cdad.js"),[]),"./i18n/it.json":()=>g(()=>import("./it.es-8f484e02.js"),[]),"./i18n/ja.json":()=>g(()=>import("./ja.es-b7fc0eb9.js"),[]),"./i18n/ka.json":()=>g(()=>import("./ka.es-446e6e19.js"),[]),"./i18n/ko.json":()=>g(()=>import("./ko.es-45e7d699.js"),[]),"./i18n/lt.json":()=>g(()=>import("./lt.es-bc184482.js"),[]),"./i18n/mn.json":()=>g(()=>import("./mn.es-5fa17a96.js"),[]),"./i18n/nl.json":()=>g(()=>import("./nl.es-f5998f61.js"),[]),"./i18n/no.json":()=>g(()=>import("./no.es-7a7b8685.js"),[]),"./i18n/pl.json":()=>g(()=>import("./pl.es-2dc4cbea.js"),[]),"./i18n/pt-br.json":()=>g(()=>import("./pt-br.es-82c2bfad.js"),[]),"./i18n/ro.json":()=>g(()=>import("./ro.es-0b230c59.js"),[]),"./i18n/ru.json":()=>g(()=>import("./ru.es-3bc3c295.js"),[]),"./i18n/sk.json":()=>g(()=>import("./sk.es-477d958c.js"),[]),"./i18n/sl.json":()=>g(()=>import("./sl.es-7f9e39ca.js"),[]),"./i18n/sq.json":()=>g(()=>import("./sq.es-484abfbf.js"),[]),"./i18n/sr.json":()=>g(()=>import("./sr.es-79173882.js"),[]),"./i18n/sv.json":()=>g(()=>import("./sv.es-cc28424b.js"),[]),"./i18n/tr.json":()=>g(()=>import("./tr.es-73d31d0a.js"),[]),"./i18n/uk.json":()=>g(()=>import("./uk.es-72aa5132.js"),[]),"./i18n/vi.json":()=>g(()=>import("./vi.es-e48f04c7.js"),[]),"./i18n/zh-cn.json":()=>g(()=>import("./zh-cn.es-d3b0ce92.js"),[]),"./i18n/zh-hk.json":()=>g(()=>import("./zh-hk.es-f0804a56.js"),[])}),`./i18n/${e}.json`).then(t=>{this.texts=Object.assign({},ne,t.default),this.utils.date.updateTexts(this.texts)})},loadDragAndDrop(){g(()=>import("./drag-and-drop.es-801b9187.js"),[]).then(e=>{const{DragAndDrop:t}=e;this.modules.dnd=new t(this)}).catch(()=>console.warn("Vue Cal: Missing drag & drop module."))},validateView(e){return xe.includes(e)||(console.error(`Vue Cal: invalid active-view parameter provided: "${e}". -A valid view must be one of: ${xe.join(", ")}.`),e="week"),this.enabledViews.includes(e)||(console.warn(`Vue Cal: the provided active-view "${e}" is disabled. Using the "${this.enabledViews[0]}" view instead.`),e=this.enabledViews[0]),e},switchToNarrowerView(e=null){this.transitionDirection="right";const t=this.enabledViews[this.enabledViews.indexOf(this.view.id)+1];t&&this.switchView(t,e)},switchView(e,t=null,i=!1){e=this.validateView(e);const a=this.utils.date,o=this.view.startDate&&this.view.startDate.getTime();if(this.transitions&&i){if(this.view.id===e)return;const n=this.enabledViews;this.transitionDirection=n.indexOf(this.view.id)>n.indexOf(e)?"left":"right"}const s=this.view.id;switch(this.view.events=[],this.view.id=e,this.view.firstCellDate=null,this.view.lastCellDate=null,t||(t=this.view.selectedDate||this.view.startDate),e){case"years":this.view.startDate=new Date(25*Math.floor(t.getFullYear()/25)||2e3,0,1),this.view.endDate=new Date(this.view.startDate.getFullYear()+25,0,1),this.view.endDate.setSeconds(-1);break;case"year":this.view.startDate=new Date(t.getFullYear(),0,1),this.view.endDate=new Date(t.getFullYear()+1,0,1),this.view.endDate.setSeconds(-1);break;case"month":{this.view.startDate=new Date(t.getFullYear(),t.getMonth(),1),this.view.endDate=new Date(t.getFullYear(),t.getMonth()+1,1),this.view.endDate.setSeconds(-1);let n=new Date(this.view.startDate);if(n.getDay()!==(this.startWeekOnSunday?0:1)&&(n=a.getPreviousFirstDayOfWeek(n,this.startWeekOnSunday)),this.view.firstCellDate=n,this.view.lastCellDate=a.addDays(n,41),this.view.lastCellDate.setHours(23,59,59,0),this.hideWeekends){if([0,6].includes(this.view.firstCellDate.getDay())){const r=this.view.firstCellDate.getDay()!==6||this.startWeekOnSunday?1:2;this.view.firstCellDate=a.addDays(this.view.firstCellDate,r)}if([0,6].includes(this.view.startDate.getDay())){const r=this.view.startDate.getDay()===6?2:1;this.view.startDate=a.addDays(this.view.startDate,r)}if([0,6].includes(this.view.lastCellDate.getDay())){const r=this.view.lastCellDate.getDay()!==0||this.startWeekOnSunday?1:2;this.view.lastCellDate=a.subtractDays(this.view.lastCellDate,r)}if([0,6].includes(this.view.endDate.getDay())){const r=this.view.endDate.getDay()===0?2:1;this.view.endDate=a.subtractDays(this.view.endDate,r)}}break}case"week":{t=a.getPreviousFirstDayOfWeek(t,this.startWeekOnSunday);const n=this.hideWeekends?5:7;this.view.startDate=this.hideWeekends&&this.startWeekOnSunday?a.addDays(t,1):t,this.view.startDate.setHours(0,0,0,0),this.view.endDate=a.addDays(t,n),this.view.endDate.setSeconds(-1);break}case"day":this.view.startDate=t,this.view.startDate.setHours(0,0,0,0),this.view.endDate=new Date(t),this.view.endDate.setHours(23,59,59,0)}this.addEventsToView();const l=this.view.startDate&&this.view.startDate.getTime();if((s!==e||l!==o)&&(this.$emit("update:activeView",e),this.ready)){const n=this.view.startDate,r={view:e,startDate:n,endDate:this.view.endDate,...this.isMonthView?{firstCellDate:this.view.firstCellDate,lastCellDate:this.view.lastCellDate,outOfScopeEvents:this.view.outOfScopeEvents.map(this.cleanupEvent)}:{},events:this.view.events.map(this.cleanupEvent),...this.isWeekView?{week:a.getWeek(this.startWeekOnSunday?a.addDays(n,1):n)}:{}};this.$emit("view-change",r)}},previous(){this.previousNext(!1)},next(){this.previousNext()},previousNext(e=!0){const t=this.utils.date;this.transitionDirection=e?"right":"left";const i=e?1:-1;let a=null;const{startDate:o,id:s}=this.view;switch(s){case"years":a=new Date(o.getFullYear()+25*i,0,1);break;case"year":a=new Date(o.getFullYear()+1*i,1,1);break;case"month":a=new Date(o.getFullYear(),o.getMonth()+1*i,1);break;case"week":a=t[e?"addDays":"subtractDays"](t.getPreviousFirstDayOfWeek(o,this.startWeekOnSunday),7);break;case"day":a=t[e?"addDays":"subtractDays"](o,1);const l=a.getDay(),n=this.startWeekOnSunday?l:(l||7)-1;if(this.weekDays[n].hide){const r=this.weekDays.map((u,p)=>({...u,i:p}));let d=0;e?([...r.slice(n),...r].find(u=>(d++,!u.hide)).i,d--):[...r,...r.slice(0,n)].reverse().find(u=>(d++,!u.hide)).i,a=t[e?"addDays":"subtractDays"](a,d)}}a&&this.switchView(s,a)},addEventsToView(e=[]){const t=this.utils.event,{startDate:i,endDate:a,firstCellDate:o,lastCellDate:s}=this.view;if(e.length||(this.view.events=[]),!(e=e.length?e:[...this.mutableEvents])||this.isYearsOrYearView&&!this.eventsCountOnYearView)return;let l=e.filter(n=>t.eventInRange(n,i,a));this.isYearsOrYearView||this.isMonthView&&!this.eventsOnMonthView||(l=l.map(n=>n.daysCount>1?t.createEventSegments(n,o||i,s||a):n)),this.view.events.push(...l),this.isMonthView&&(this.view.outOfScopeEvents=[],e.forEach(n=>{(t.eventInRange(n,o,i)||t.eventInRange(n,a,s))&&(this.view.events.some(r=>r._eid===n._eid)||this.view.outOfScopeEvents.push(n))}))},findAncestor(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e},isDOMElementAnEvent(e){return e.classList.contains("vuecal__event")||this.findAncestor(e,"vuecal__event")},onMouseMove(e){const{resizeAnEvent:t,dragAnEvent:i,dragCreateAnEvent:a}=this.domEvents;(t._eid!==null||i._eid!==null||a.start)&&(e.preventDefault(),t._eid?this.eventResizing(e):this.dragToCreateEvent&&a.start&&this.eventDragCreation(e))},onMouseUp(e){const{focusAnEvent:t,resizeAnEvent:i,clickHoldAnEvent:a,clickHoldACell:o,dragCreateAnEvent:s}=this.domEvents,{_eid:l}=a,{_eid:n}=i;let r=!1;const{event:d,start:u}=s,p=this.isDOMElementAnEvent(e.target),_=t.mousedUp;if(t.mousedUp=!1,p&&(this.domEvents.cancelClickEventCreation=!0),o.eventCreated)return;if(n){const{originalEnd:T,originalEndTimeMinutes:I,endTimeMinutes:F}=i,w=this.view.events.find(O=>O._eid===i._eid);if(r=F&&F!==I,w&&w.end.getTime()!==T.getTime()){const O=this.mutableEvents.find(G=>G._eid===i._eid);O.endTimeMinutes=w.endTimeMinutes,O.end=w.end;const E=this.cleanupEvent(w),P={...this.cleanupEvent(w),end:T,endTimeMinutes:w.originalEndTimeMinutes};this.$emit("event-duration-change",{event:E,oldDate:i.originalEnd,originalEvent:P}),this.$emit("event-change",{event:E,originalEvent:P})}w&&(w.resizing=!1),i._eid=null,i.start=null,i.split=null,i.segment=null,i.originalEndTimeMinutes=null,i.originalEnd=null,i.endTimeMinutes=null,i.startCell=null,i.endCell=null}else u&&(d&&(this.emitWithEvent("event-drag-create",d),s.event.resizing=!1),s.start=null,s.split=null,s.event=null);p||n||this.unfocusEvent(),a.timeoutId&&!l&&(clearTimeout(a.timeoutId),a.timeoutId=null),o.timeoutId&&(clearTimeout(o.timeoutId),o.timeoutId=null);const $=typeof this.onEventClick=="function";if(_&&!r&&!l&&!d&&$){let T=this.view.events.find(I=>I._eid===t._eid);return!T&&this.isMonthView&&(T=this.view.outOfScopeEvents.find(I=>I._eid===t._eid)),T&&this.onEventClick(T,e)}},onKeyUp(e){e.keyCode===27&&this.cancelDelete()},eventResizing(e){const{resizeAnEvent:t}=this.domEvents,i=this.view.events.find(d=>d._eid===t._eid)||{segments:{}},{minutes:a,cursorCoords:o}=this.minutesAtCursor(e),s=i.segments&&i.segments[t.segment],{date:l,event:n}=this.utils,r=Math.max(a,this.timeFrom+1,(s||i).startTimeMinutes+1);if(i.endTimeMinutes=t.endTimeMinutes=r,this.snapToTime){const d=i.endTimeMinutes+this.snapToTime/2;i.endTimeMinutes=d-d%this.snapToTime}if(s&&(s.endTimeMinutes=i.endTimeMinutes),i.end.setHours(0,i.endTimeMinutes,i.endTimeMinutes===1440?-1:0,0),this.resizeX&&this.isWeekView){i.daysCount=l.countDays(i.start,i.end);const d=this.cellsEl,u=d.offsetWidth/d.childElementCount,p=Math.floor(o.x/u);if(t.startCell===null&&(t.startCell=p-(i.daysCount-1)),t.endCell!==p){t.endCell=p;const _=l.addDays(i.start,p-t.startCell),$=Math.max(l.countDays(i.start,_),1);if($!==i.daysCount){let T=null;T=$>i.daysCount?n.addEventSegment(i):n.removeEventSegment(i),t.segment=T,i.endTimeMinutes+=.001}}}this.$emit("event-resizing",{_eid:i._eid,end:i.end,endTimeMinutes:i.endTimeMinutes})},eventDragCreation(e){const{dragCreateAnEvent:t}=this.domEvents,{start:i,startCursorY:a,split:o}=t,s=new Date(i),{minutes:l,cursorCoords:{y:n}}=this.minutesAtCursor(e);if(t.event||!(Math.abs(a-n)a._eid===(e._eid||t._eid));e._eid=null,t._eid=null,i&&(i.focused=!1,i.deleting=!1)},cancelDelete(){const{clickHoldAnEvent:e}=this.domEvents;if(e._eid){const t=this.view.events.find(i=>i._eid===e._eid);t&&(t.deleting=!1),e._eid=null,e.timeoutId=null}},onEventTitleBlur(e,t){if(t.title===e.target.innerHTML)return;const i=t.title;t.title=e.target.innerHTML;const a=this.cleanupEvent(t);this.$emit("event-title-change",{event:a,oldTitle:i}),this.$emit("event-change",{event:a,originalEvent:{...a,title:i}})},updateMutableEvents(){const e=this.utils.date;this.mutableEvents=[],this.events.forEach(t=>{const i=typeof t.start=="string"?e.stringToDate(t.start):t.start,a=e.formatDateLite(i),o=e.dateToMinutes(i);let s=null;typeof t.end=="string"&&t.end.includes("24:00")?(s=new Date(t.end.replace(" 24:00","")),s.setHours(23,59,59,0)):s=typeof t.end=="string"?e.stringToDate(t.end):t.end;let l=e.formatDateLite(s),n=e.dateToMinutes(s);n&&n!==1440||(!this.time||typeof t.end=="string"&&t.end.length===10?s.setHours(23,59,59,0):s.setSeconds(s.getSeconds()-1),l=e.formatDateLite(s),n=1440);const r=a!==l;t=Object.assign({...this.utils.event.eventDefaults},t,{_eid:`${this._.uid}_${this.eventIdIncrement++}`,segments:r?{}:null,start:i,startTimeMinutes:o,end:s,endTimeMinutes:n,daysCount:r?e.countDays(i,s):1,class:t.class}),this.mutableEvents.push(t)})},minutesAtCursor(e){return this.utils.cell.minutesAtCursor(e)},createEvent(e,t,i={}){return this.utils.event.createAnEvent(e,t,i)},cleanupEvent(e){return e={...e},["segments","deletable","deleting","titleEditable","resizable","resizing","draggable","dragging","draggingStatic","focused"].forEach(t=>{t in e&&delete e[t]}),e.repeat||delete e.repeat,e},emitWithEvent(e,t){this.$emit(e,this.cleanupEvent(t))},updateSelectedDate(e){if((e=e&&typeof e=="string"?this.utils.date.stringToDate(e):new Date(e))&&e instanceof Date){const{selectedDate:t}=this.view;t&&(this.transitionDirection=t.getTime()>e.getTime()?"left":"right"),e.setHours(0,0,0,0),t&&t.getTime()===e.getTime()||(this.view.selectedDate=e),this.switchView(this.view.id)}this.$emit("update:selected-date",this.view.selectedDate)},getWeekNumber(e){const t=this.utils.date,i=this.firstCellDateWeekNumber+e,a=this.startWeekOnSunday?1:0;return i>52?t.getWeek(t.addDays(this.view.firstCellDate,7*e+a)):i},timeTick(){this.now=new Date,this.timeTickerIds[1]=setTimeout(this.timeTick,6e4)},updateDateTexts(){this.utils.date.updateTexts(this.texts)},alignWithScrollbar(){if(document.getElementById("vuecal-align-with-scrollbar"))return;const e=this.$refs.vuecal.getElementsByClassName("vuecal__scrollbar-check")[0],t=e.offsetWidth-e.children[0].offsetWidth;if(t){const i=document.createElement("style");i.id="vuecal-align-with-scrollbar",i.type="text/css",i.innerHTML=`.vuecal--view-with-time .vuecal__weekdays-headings,.vuecal--view-with-time .vuecal__all-day {padding-right: ${t}px}`,document.head.appendChild(i)}},cellOrSplitHasEvents:(e,t=null)=>e.length&&(!t&&e.length||t&&e.some(i=>i.split===t.id))},created(){this.utils.cell=new $i(this),this.utils.event=new Li(this,this.utils.date),this.loadLocale(this.locale),this.editEvents.drag&&this.loadDragAndDrop(),this.updateMutableEvents(this.events),this.view.id=this.currentView,this.selectedDate?this.updateSelectedDate(this.selectedDate):(this.view.selectedDate=new Date,this.switchView(this.currentView)),this.time&&this.watchRealTime&&(this.timeTickerIds[0]=setTimeout(this.timeTick,1e3*(60-this.now.getSeconds())))},mounted(){const e=this.utils.date,t="ontouchstart"in window,{resize:i,drag:a,create:o,delete:s,title:l}=this.editEvents,n=this.onEventClick&&typeof this.onEventClick=="function";(i||a||o||s||l||n)&&window.addEventListener(t?"touchend":"mouseup",this.onMouseUp),(i||a||o&&this.dragToCreateEvent)&&window.addEventListener(t?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),l&&window.addEventListener("keyup",this.onKeyUp),t&&(this.$refs.vuecal.oncontextmenu=function(u){u.preventDefault(),u.stopPropagation()}),this.hideBody||this.alignWithScrollbar();const r=this.view.startDate,d={view:this.view.id,startDate:r,endDate:this.view.endDate,...this.isMonthView?{firstCellDate:this.view.firstCellDate,lastCellDate:this.view.lastCellDate}:{},events:this.view.events.map(this.cleanupEvent),...this.isWeekView?{week:e.getWeek(this.startWeekOnSunday?e.addDays(r,1):r)}:{}};this.$emit("ready",d),this.ready=!0},beforeUnmount(){const e="ontouchstart"in window;window.removeEventListener(e?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),window.removeEventListener(e?"touchend":"mouseup",this.onMouseUp),window.removeEventListener("keyup",this.onKeyUp),this.timeTickerIds[0]&&clearTimeout(this.timeTickerIds[0]),this.timeTickerIds[1]&&clearTimeout(this.timeTickerIds[1]),this.timeTickerIds=[null,null]},computed:{editEvents(){return this.editableEvents&&typeof this.editableEvents=="object"?{title:!!this.editableEvents.title,drag:!!this.editableEvents.drag,resize:!!this.editableEvents.resize,create:!!this.editableEvents.create,delete:!!this.editableEvents.delete}:{title:!!this.editableEvents,drag:!!this.editableEvents,resize:!!this.editableEvents,create:!!this.editableEvents,delete:!!this.editableEvents}},views(){return{years:{label:this.texts.years,enabled:!this.disableViews.includes("years")},year:{label:this.texts.year,enabled:!this.disableViews.includes("year")},month:{label:this.texts.month,enabled:!this.disableViews.includes("month")},week:{label:this.texts.week,enabled:!this.disableViews.includes("week")},day:{label:this.texts.day,enabled:!this.disableViews.includes("day")}}},currentView(){return this.validateView(this.activeView)},enabledViews(){return Object.keys(this.views).filter(e=>this.views[e].enabled)},hasTimeColumn(){return this.time&&this.isWeekOrDayView},isShortMonthView(){return this.isMonthView&&this.eventsOnMonthView==="short"},firstCellDateWeekNumber(){const e=this.utils.date,t=this.view.firstCellDate;return e.getWeek(this.startWeekOnSunday?e.addDays(t,1):t)},timeCells(){const e=[];for(let t=this.timeFrom,i=this.timeTo;t!e.hide)||[]).map((e,t)=>({...e,id:e.id||t+1}))},hasSplits(){return this.daySplits.length&&this.isWeekOrDayView},hasShortEvents(){return this.showAllDayEvents==="short"},cellOrSplitMinWidth(){let e=null;return this.hasSplits&&this.minSplitWidth?e=this.visibleDaysCount*this.minSplitWidth*this.daySplits.length:this.minCellWidth&&this.isWeekView&&(e=this.visibleDaysCount*this.minCellWidth),e},allDayBar(){let e=this.allDayBarHeight||null;return e&&!isNaN(e)&&(e+="px"),{cells:this.viewCells,options:this.$props,label:this.texts.allDay,shortEvents:this.hasShortEvents,daySplits:this.hasSplits&&this.daySplits||[],cellOrSplitMinWidth:this.cellOrSplitMinWidth,height:e}},minTimestamp(){let e=null;return this.minDate&&typeof this.minDate=="string"?e=this.utils.date.stringToDate(this.minDate):this.minDate&&this.minDate instanceof Date&&(e=this.minDate),e?e.getTime():null},maxTimestamp(){let e=null;return this.maxDate&&typeof this.maxDate=="string"?e=this.utils.date.stringToDate(this.maxDate):this.maxDate&&this.minDate instanceof Date&&(e=this.maxDate),e?e.getTime():null},weekDays(){let{weekDays:e,weekDaysShort:t=[]}=this.texts;return e=e.slice(0).map((i,a)=>({label:i,...t.length?{short:t[a]}:{},hide:this.hideWeekends&&a>=5||this.hideWeekdays.length&&this.hideWeekdays.includes(a+1)})),this.startWeekOnSunday&&e.unshift(e.pop()),e},weekDaysInHeader(){return this.isMonthView||this.isWeekView&&!this.minCellWidth&&!(this.hasSplits&&this.minSplitWidth)},months(){return this.texts.months.map(e=>({label:e}))},specialDayHours(){return this.specialHours&&Object.keys(this.specialHours).length?Array(7).fill("").map((e,t)=>{let i=this.specialHours[t+1]||[];return Array.isArray(i)||(i=[i]),e=[],i.forEach(({from:a,to:o,class:s,label:l},n)=>{e[n]={day:t+1,from:[null,void 0].includes(a)?null:1*a,to:[null,void 0].includes(o)?null:1*o,class:s||"",label:l||""}}),e}):{}},viewTitle(){const e=this.utils.date;let t="";const i=this.view.startDate,a=i.getFullYear(),o=i.getMonth();switch(this.view.id){case"years":t=this.texts.years;break;case"year":t=a;break;case"month":t=`${this.months[o].label} ${a}`;break;case"week":{const s=this.view.endDate,l=i.getFullYear();let n=this.texts.months[i.getMonth()];this.xsmall&&(n=n.substring(0,3));let r=`${n} ${l}`;if(s.getMonth()!==i.getMonth()){const d=s.getFullYear();let u=this.texts.months[s.getMonth()];this.xsmall&&(u=u.substring(0,3)),r=l===d?`${n} - ${u} ${l}`:this.small?`${n.substring(0,3)} ${l} - ${u.substring(0,3)} ${d}`:`${n} ${l} - ${u} ${d}`}t=`${this.texts.week} ${e.getWeek(this.startWeekOnSunday?e.addDays(i,1):i)} (${r})`;break}case"day":t=this.utils.date.formatDate(i,this.texts.dateFormat,this.texts)}return t},viewCells(){const e=this.utils.date;let t=[],i=null,a=!1;this.watchRealTime||(this.now=new Date);const o=this.now;switch(this.view.id){case"years":i=this.view.startDate.getFullYear(),t=Array.apply(null,Array(25)).map((s,l)=>{const n=new Date(i+l,0,1),r=new Date(i+l+1,0,1);return r.setSeconds(-1),{startDate:n,formattedDate:e.formatDateLite(n),endDate:r,content:i+l,current:i+l===o.getFullYear()}});break;case"year":i=this.view.startDate.getFullYear(),t=Array.apply(null,Array(12)).map((s,l)=>{const n=new Date(i,l,1),r=new Date(i,l+1,1);return r.setSeconds(-1),{startDate:n,formattedDate:e.formatDateLite(n),endDate:r,content:this.xsmall?this.months[l].label.substr(0,3):this.months[l].label,current:l===o.getMonth()&&i===o.getFullYear()}});break;case"month":{const s=this.view.startDate.getMonth(),l=new Date(this.view.firstCellDate);a=!1,t=Array.apply(null,Array(42)).map((n,r)=>{const d=e.addDays(l,r),u=new Date(d);u.setHours(23,59,59,0);const p=!a&&e.isToday(d)&&!a++;return{startDate:d,formattedDate:e.formatDateLite(d),endDate:u,content:d.getDate(),today:p,outOfScope:d.getMonth()!==s,class:`vuecal__cell--day${d.getDay()||7}`}}),(this.hideWeekends||this.hideWeekdays.length)&&(t=t.filter(n=>{const r=n.startDate.getDay()||7;return!(this.hideWeekends&&r>=6||this.hideWeekdays.length&&this.hideWeekdays.includes(r))}));break}case"week":{a=!1;const s=this.view.startDate,l=this.weekDays;t=l.map((n,r)=>{const d=e.addDays(s,this.startWeekOnSunday?r-1:r),u=new Date(d);u.setHours(23,59,59,0);const p=(d.getDay()||7)-1;return{startDate:d,formattedDate:e.formatDateLite(d),endDate:u,today:!a&&e.isToday(d)&&!a++,specialHours:this.specialDayHours[p]||[]}}).filter((n,r)=>!l[r].hide);break}case"day":{const s=this.view.startDate,l=new Date(this.view.startDate);l.setHours(23,59,59,0);const n=(s.getDay()||7)-1;t=[{startDate:s,formattedDate:e.formatDateLite(s),endDate:l,today:e.isToday(s),specialHours:this.specialDayHours[n]||[]}];break}}return t},visibleDaysCount(){return this.isDayView?1:7-this.weekDays.reduce((e,t)=>e+t.hide,0)},cellWidth(){return 100/this.visibleDaysCount},cssClasses(){const{resizeAnEvent:e,dragAnEvent:t,dragCreateAnEvent:i}=this.domEvents;return{[`vuecal--${this.view.id}-view`]:!0,[`vuecal--${this.locale}`]:this.locale,"vuecal--no-time":!this.time,"vuecal--view-with-time":this.hasTimeColumn,"vuecal--week-numbers":this.showWeekNumbers&&this.isMonthView,"vuecal--twelve-hour":this.twelveHour,"vuecal--click-to-navigate":this.clickToNavigate,"vuecal--hide-weekends":this.hideWeekends,"vuecal--split-days":this.hasSplits,"vuecal--sticky-split-labels":this.hasSplits&&this.stickySplitLabels,"vuecal--overflow-x":this.minCellWidth&&this.isWeekView||this.hasSplits&&this.minSplitWidth,"vuecal--small":this.small,"vuecal--xsmall":this.xsmall,"vuecal--resizing-event":e._eid,"vuecal--drag-creating-event":i.event,"vuecal--dragging-event":t._eid,"vuecal--events-on-month-view":this.eventsOnMonthView,"vuecal--short-events":this.isMonthView&&this.eventsOnMonthView==="short","vuecal--has-touch":typeof window<"u"&&"ontouchstart"in window}},isYearsOrYearView(){return["years","year"].includes(this.view.id)},isYearsView(){return this.view.id==="years"},isYearView(){return this.view.id==="year"},isMonthView(){return this.view.id==="month"},isWeekOrDayView(){return["week","day"].includes(this.view.id)},isWeekView(){return this.view.id==="week"},isDayView(){return this.view.id==="day"}},watch:{events:{handler(e,t){this.updateMutableEvents(e),this.addEventsToView()},deep:!0},locale(e){this.loadLocale(e)},selectedDate(e){this.updateSelectedDate(e)},activeView(e){this.switchView(e)}}},Ps=ee(Is,[["render",function(e,t,i,a,o,s){const l=W("vuecal-header"),n=W("all-day-bar"),r=W("weekdays-headings"),d=W("vuecal-cell");return v(),m("div",{class:L(["vuecal__flex vuecal",s.cssClasses]),column:"",ref:"vuecal",lang:i.locale},[h(l,{options:e.$props,"edit-events":s.editEvents,"view-props":{views:s.views,weekDaysInHeader:s.weekDaysInHeader},"week-days":s.weekDays,"has-splits":s.hasSplits,"day-splits":s.daySplits,"switch-to-narrower-view":s.switchToNarrowerView},_e({"arrow-prev":c(()=>[b(e.$slots,"arrow-prev",{},()=>[S(" "),rs,S(" ")])]),"arrow-next":c(()=>[b(e.$slots,"arrow-next",{},()=>[S(" "),ds,S(" ")])]),"today-button":c(()=>[b(e.$slots,"today-button",{},()=>[D("span",us,f(o.texts.today),1)])]),title:c(()=>[b(e.$slots,"title",{title:s.viewTitle,view:o.view},()=>[S(f(s.viewTitle),1)])]),_:2},[e.$slots["weekday-heading"]?{name:"weekday-heading",fn:c(({heading:u,view:p})=>[b(e.$slots,"weekday-heading",{heading:u,view:p})]),key:"0"}:void 0,e.$slots["split-label"]?{name:"split-label",fn:c(({split:u})=>[b(e.$slots,"split-label",{split:u,view:o.view.id})]),key:"1"}:void 0]),1032,["options","edit-events","view-props","week-days","has-splits","day-splits","switch-to-narrower-view"]),i.hideBody?y("",!0):(v(),m("div",cs,[h(ue,{name:`slide-fade--${o.transitionDirection}`,appear:i.transitions},{default:c(()=>[(v(),m("div",{class:"vuecal__flex",style:{"min-width":"100%"},key:!!i.transitions&&o.view.id,column:""},[i.showAllDayEvents&&s.hasTimeColumn&&(!s.cellOrSplitMinWidth||s.isDayView&&!i.minSplitWidth)?(v(),C(n,be(Q({key:0},s.allDayBar)),{event:c(({event:u,view:p})=>[b(e.$slots,"event",{view:p,event:u},()=>[s.editEvents.title&&u.titleEditable?(v(),m("div",{key:0,class:"vuecal__event-title vuecal__event-title--edit",contenteditable:"",onBlur:_=>s.onEventTitleBlur(_,u),innerHTML:u.title},null,40,hs)):u.title?(v(),m("div",{key:1,class:"vuecal__event-title",innerHTML:u.title},null,8,vs)):y("",!0),!u.content||s.hasShortEvents||s.isShortMonthView?y("",!0):(v(),m("div",{key:2,class:"vuecal__event-content",innerHTML:u.content},null,8,ms))])]),_:3},16)):y("",!0),D("div",{class:L(["vuecal__bg",{vuecal__flex:!s.hasTimeColumn}]),column:""},[D("div",ps,[s.hasTimeColumn?(v(),m("div",_s,[i.showAllDayEvents&&s.cellOrSplitMinWidth&&(!s.isDayView||i.minSplitWidth)?(v(),m("div",{key:0,class:"vuecal__all-day-text",style:B({height:s.allDayBar.height})},[D("span",null,f(o.texts.allDay),1)],4)):y("",!0),(v(!0),m(V,null,A(s.timeCells,(u,p)=>(v(),m("div",{class:"vuecal__time-cell",key:p,style:B(`height: ${i.timeCellHeight}px`)},[b(e.$slots,"time-cell",{hours:u.hours,minutes:u.minutes},()=>[gs,D("span",ws,f(u.label),1)])],4))),128))])):y("",!0),i.showWeekNumbers&&s.isMonthView?(v(),m("div",ys,[(v(),m(V,null,A(6,u=>D("div",{class:"vuecal__flex vuecal__week-number-cell",key:u,grow:""},[b(e.$slots,"week-number-cell",{week:s.getWeekNumber(u-1)},()=>[S(f(s.getWeekNumber(u-1)),1)])])),64))])):y("",!0),D("div",{class:L(["vuecal__flex vuecal__cells",`${o.view.id}-view`]),grow:"",wrap:!s.cellOrSplitMinWidth||!s.isWeekView,column:!!s.cellOrSplitMinWidth},[s.cellOrSplitMinWidth&&s.isWeekView?(v(),C(r,{key:0,"transition-direction":o.transitionDirection,"week-days":s.weekDays,"switch-to-narrower-view":s.switchToNarrowerView,style:B(s.cellOrSplitMinWidth?`min-width: ${s.cellOrSplitMinWidth}px`:"")},_e({_:2},[e.$slots["weekday-heading"]?{name:"weekday-heading",fn:c(({heading:u,view:p})=>[b(e.$slots,"weekday-heading",{heading:u,view:p})]),key:"0"}:void 0,e.$slots["split-label"]?{name:"split-label",fn:c(({split:u})=>[b(e.$slots,"split-label",{split:u,view:o.view.id})]),key:"1"}:void 0]),1032,["transition-direction","week-days","switch-to-narrower-view","style"])):s.hasSplits&&i.stickySplitLabels&&i.minSplitWidth?(v(),m("div",{key:1,class:"vuecal__flex vuecal__split-days-headers",style:B(s.cellOrSplitMinWidth?`min-width: ${s.cellOrSplitMinWidth}px`:"")},[(v(!0),m(V,null,A(s.daySplits,(u,p)=>(v(),m("div",{class:L(["day-split-header",u.class||!1]),key:p},[b(e.$slots,"split-label",{split:u,view:o.view.id},()=>[S(f(u.label),1)])],2))),128))],4)):y("",!0),i.showAllDayEvents&&s.hasTimeColumn&&(s.isWeekView&&s.cellOrSplitMinWidth||s.isDayView&&s.hasSplits&&i.minSplitWidth)?(v(),C(n,be(Q({key:2},s.allDayBar)),{event:c(({event:u,view:p})=>[b(e.$slots,"event",{view:p,event:u},()=>[s.editEvents.title&&u.titleEditable?(v(),m("div",{key:0,class:"vuecal__event-title vuecal__event-title--edit",contenteditable:"",onBlur:_=>s.onEventTitleBlur(_,u),innerHTML:u.title},null,40,Ds)):u.title?(v(),m("div",{key:1,class:"vuecal__event-title",innerHTML:u.title},null,8,bs)):y("",!0),!u.content||s.hasShortEvents||s.isShortMonthView?y("",!0):(v(),m("div",{key:2,class:"vuecal__event-content",innerHTML:u.content},null,8,ks))])]),_:3},16)):y("",!0),D("div",{class:"vuecal__flex",ref:u=>o.cellsEl=u,grow:"",wrap:!s.cellOrSplitMinWidth||!s.isWeekView,style:B(s.cellOrSplitMinWidth?`min-width: ${s.cellOrSplitMinWidth}px`:"")},[(v(!0),m(V,null,A(s.viewCells,(u,p)=>(v(),C(d,{key:p,options:e.$props,"edit-events":s.editEvents,data:u,"cell-width":i.hideWeekdays.length&&(s.isWeekView||s.isMonthView)&&s.cellWidth,"min-timestamp":s.minTimestamp,"max-timestamp":s.maxTimestamp,"cell-splits":s.hasSplits&&s.daySplits||[]},{"cell-content":c(({events:_,split:$,selectCell:T})=>[b(e.$slots,"cell-content",{cell:u,view:o.view,goNarrower:T,events:_},()=>[$&&!i.stickySplitLabels?(v(),m("div",{key:0,class:"split-label",innerHTML:$.label},null,8,Ts)):y("",!0),u.content?(v(),m("div",{key:1,class:"vuecal__cell-date",innerHTML:u.content},null,8,Cs)):y("",!0),(s.isMonthView&&!i.eventsOnMonthView||s.isYearsOrYearView&&i.eventsCountOnYearView)&&_.length?(v(),m("div",Ms,[b(e.$slots,"events-count",{view:o.view,events:_},()=>[S(f(_.length),1)])])):y("",!0),!s.cellOrSplitHasEvents(_,$)&&s.isWeekOrDayView?(v(),m("div",xs,[b(e.$slots,"no-event",{},()=>[S(f(o.texts.noEvent),1)])])):y("",!0)])]),event:c(({event:_,view:$})=>[b(e.$slots,"event",{view:$,event:_},()=>[s.editEvents.title&&_.titleEditable?(v(),m("div",{key:0,class:"vuecal__event-title vuecal__event-title--edit",contenteditable:"",onBlur:T=>s.onEventTitleBlur(T,_),innerHTML:_.title},null,40,Ss)):_.title?(v(),m("div",{key:1,class:"vuecal__event-title",innerHTML:_.title},null,8,Vs)):y("",!0),!i.time||_.allDay||s.isMonthView&&(_.allDay||i.showAllDayEvents==="short")||s.isShortMonthView?y("",!0):(v(),m("div",Os,[S(f(o.utils.date.formatTime(_.start,s.TimeFormat)),1),_.endTimeMinutes?(v(),m("span",As," - "+f(o.utils.date.formatTime(_.end,s.TimeFormat,null,!0)),1)):y("",!0),_.daysCount>1&&(_.segments[u.formattedDate]||{}).isFirstDay?(v(),m("small",$s," +"+f(_.daysCount-1)+f((o.texts.day[0]||"").toLowerCase()),1)):y("",!0)])),!_.content||s.isMonthView&&_.allDay&&i.showAllDayEvents==="short"||s.isShortMonthView?y("",!0):(v(),m("div",{key:3,class:"vuecal__event-content",innerHTML:_.content},null,8,Ls))])]),"no-event":c(()=>[b(e.$slots,"no-event",{},()=>[S(f(o.texts.noEvent),1)])]),_:2},1032,["options","edit-events","data","cell-width","min-timestamp","max-timestamp","cell-splits"]))),128))],12,Es)],10,fs)])],2)]))]),_:3},8,["name","appear"]),o.ready?y("",!0):(v(),m("div",Hs,Ws))]))],10,os)}]]);const js={components:{VueCal:Ps},setup(){const e=k([]);function t(){N.get("api/general_vacation/generalvacation/").then(o=>{console.log(o.data,"----------------------");for(let s in o.data)s=="План-график"&&o.data[s].map(l=>{e.value.push({name:l.name,start:l.start_work_period,end:l.end_work_period,content:l.name})})})}le(()=>{t()});const i=k(null);function a(o){const s=new Date(o);let l="сегодня";return s.getFullYear()!="1970"&&(l=`${s.getDate()} число`),l}return{events:e,selectedDate:i,f_generalvacation:t,dayformat:a}}};function Ys(e,t,i,a,o,s){const l=W("vue-cal");return v(),C(Y,null,{default:c(()=>[h(j,{class:"flex-column"},{default:c(()=>[h(H,{class:"h-100"},{default:c(()=>[h(l,{locale:"ru",xsmall:"",time:!1,"hide-view-selector":"","disable-views":["years","year","week","day"],"events-count-on-year-view":"","active-view":"month",events:a.events,todayButton:"",onCellFocus:t[1]||(t[1]=n=>a.selectedDate=n)},{"arrow-prev":c(()=>[h(z,{icon:"mdi-menu-left"})]),"arrow-next":c(()=>[h(z,{icon:"mdi-menu-right"})]),"today-button":c(()=>[h(Pe,{text:"Сегодня",location:"bottom"},{activator:c(({props:n})=>[h(z,Q({onClick:t[0]||(t[0]=r=>a.selectedDate=new Date)},n,{icon:"mdi-crosshairs-gps",size:"x-small",class:"pt-1 pr-3",color:"more_details_btn"}),null,16)]),_:1})]),_:1},8,["events"])]),_:1})]),_:1}),h(j,null,{default:c(()=>[h(H,{class:"h-100"},{default:c(()=>[h(te,{class:"text-center"},{default:c(()=>[S("События на "+f(a.dayformat(a.selectedDate)),1)]),_:1}),h(l,{locale:"ru",xsmall:"",time:!1,"hide-view-selector":"",hideTitleBar:"",split:"","header-format":"DD",events:a.events,"active-view":"day","disable-views":["years","year","month","week"],"selected-date":a.selectedDate},{"arrow-prev":c(()=>[h(z,{icon:"mdi-menu-left"})]),"arrow-next":c(()=>[h(z,{icon:"mdi-menu-right"})]),"today-button":c(()=>[]),_:1},8,["events","selected-date"])]),_:1})]),_:1})]),_:1})}const Fs=q(js,[["render",Ys]]);const Rs={components:{CarouselList:Zt,CarouselNumbers:si,CalendarFull:li,NewsListHome:fi,LoadRound:Ut,DigitalLetna:Vi,EventCalendar:Fs},setup(){const e=xt(),t=k([]),i=k(null);St();const a=$e();le(()=>{o()});const o=()=>{N.get("api/watcher/selectedlinks/").then(s=>{t.value=s.data})};return{accountStore:a,appStore:e,favoritLinks:o,favorit:t,toggle:i}}};function Bs(e,t,i,a,o,s){const l=W("Carousel-list"),n=W("event-calendar"),r=W("digital-letna"),d=W("News-list-home");return v(),C(We,{fluid:"",class:"d-flex mx-0 h-100"},{default:c(()=>[h(Y,null,{default:c(()=>[h(j,{class:"d-flex flex-column",lg:"7"},{default:c(()=>[h(Y,{class:"flex-grow-0"},{default:c(()=>[h(j,{class:"pr-0 pb-0"},{default:c(()=>[h(l)]),_:1})]),_:1}),h(Y,null,{default:c(()=>[h(j,{class:"pr-0 pt-0 flex-column"},{default:c(()=>[h(H,{class:"h-100 bg-transparent pa-2 d-flex flex-column"},{default:c(()=>[h(Y,{class:"d-flex"},{default:c(()=>[h(j,{class:"flex-column d-flex"},{default:c(()=>[h(n)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),h(j,{class:"flex-column d-flex ma-3"},{default:c(()=>[h(Y,null,{default:c(()=>[h(j,{cols:"4",class:"flex-grow-0 pa-0 pb-3"},{default:c(()=>[h(r)]),_:1}),h(j,{class:"flex-column d-flex pr-0 pt-0 pb-0"},{default:c(()=>[h(H,{class:"flex-column pik overflow-auto"},{default:c(()=>[h(d)]),_:1})]),_:1})]),_:1}),h(Y,{class:"flex-grow-0"},{default:c(()=>[h(j,{class:"pa-0"},{default:c(()=>[h(H,{class:"flex-colmn"},{default:c(()=>[h(Pt,{modelValue:a.toggle,"onUpdate:modelValue":t[0]||(t[0]=u=>a.toggle=u),divided:"",variant:"outlined"},{default:c(()=>[(v(!0),m(V,null,A(a.favorit,u=>(v(),C(Pe,{key:u,text:u.page,location:"top"},{activator:c(({props:p})=>[h(ce,Q(p,{icon:u.ico,to:u.fullPath}),null,16,["icon","to"])]),_:2},1032,["text"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const sa=q(Rs,[["render",Bs]]);export{sa as default}; + */let se,Me,xe,R,ae={},Z={};class $i{constructor(t){G(this,"_vuecal",null),G(this,"selectCell",(i=!1,a,o)=>{this._vuecal.$emit("cell-click",o?{date:a,split:o}:a),this._vuecal.clickToNavigate||i?this._vuecal.switchToNarrowerView():this._vuecal.dblclickToNavigate&&"ontouchstart"in window&&(this._vuecal.domEvents.dblTapACell.taps++,setTimeout(()=>this._vuecal.domEvents.dblTapACell.taps=0,this._vuecal.domEvents.dblTapACell.timeout),this._vuecal.domEvents.dblTapACell.taps>=2&&(this._vuecal.domEvents.dblTapACell.taps=0,this._vuecal.switchToNarrowerView(),this._vuecal.$emit("cell-dblclick",o?{date:a,split:o}:a)))}),G(this,"keyPressEnterCell",(i,a)=>{this._vuecal.$emit("cell-keypress-enter",a?{date:i,split:a}:i),this._vuecal.switchToNarrowerView()}),G(this,"getPosition",i=>{const{left:a,top:o}=this._vuecal.cellsEl.getBoundingClientRect(),{clientX:s,clientY:l}="ontouchstart"in window&&i.touches?i.touches[0]:i;return{x:s-a,y:l-o}}),G(this,"minutesAtCursor",i=>{let a=0,o={x:0,y:0};const{timeStep:s,timeCellHeight:l,timeFrom:n}=this._vuecal.$props;return typeof i=="number"?a=i:typeof i=="object"&&(o=this.getPosition(i),a=Math.round(o.y*s/parseInt(l)+n)),{minutes:Math.max(Math.min(a,1440),0),cursorCoords:o}}),this._vuecal=t}}let C,M,me;class Li{constructor(t,i){G(this,"_vuecal",null),G(this,"eventDefaults",{_eid:null,start:"",startTimeMinutes:0,end:"",endTimeMinutes:0,title:"",content:"",background:!1,allDay:!1,segments:null,repeat:null,daysCount:1,deletable:!0,deleting:!1,titleEditable:!0,resizable:!0,resizing:!1,draggable:!0,dragging:!1,draggingStatic:!1,focused:!1,class:""}),this._vuecal=t,C=i}createAnEvent(t,i,a){if(typeof t=="string"&&(t=C.stringToDate(t)),!(t instanceof Date))return!1;const o=C.dateToMinutes(t),s=o+(i=1*i||120),l=C.addMinutes(new Date(t),i);a.end&&(typeof a.end=="string"&&(a.end=C.stringToDate(a.end)),a.endTimeMinutes=C.dateToMinutes(a.end));const n={...this.eventDefaults,_eid:`${this._vuecal._.uid}_${this._vuecal.eventIdIncrement++}`,start:t,startTimeMinutes:o,end:l,endTimeMinutes:s,segments:null,...a};return typeof this._vuecal.onEventCreate!="function"||this._vuecal.onEventCreate(n,()=>this.deleteAnEvent(n))?(n.startDateF!==n.endDateF&&(n.daysCount=C.countDays(n.start,n.end)),this._vuecal.mutableEvents.push(n),this._vuecal.addEventsToView([n]),this._vuecal.emitWithEvent("event-create",n),this._vuecal.$emit("event-change",{event:this._vuecal.cleanupEvent(n),originalEvent:null}),n):void 0}addEventSegment(t){t.segments||(t.segments={},t.segments[C.formatDateLite(t.start)]={start:t.start,startTimeMinutes:t.startTimeMinutes,endTimeMinutes:1440,isFirstDay:!0,isLastDay:!1});const i=t.segments[C.formatDateLite(t.end)];i&&(i.isLastDay=!1,i.endTimeMinutes=1440);const a=C.addDays(t.end,1),o=C.formatDateLite(a);return a.setHours(0,0,0,0),t.segments[o]={start:a,startTimeMinutes:0,endTimeMinutes:t.endTimeMinutes,isFirstDay:!1,isLastDay:!0},t.end=C.addMinutes(a,t.endTimeMinutes),t.daysCount=Object.keys(t.segments).length,o}removeEventSegment(t){let i=Object.keys(t.segments).length;if(i<=1)return C.formatDateLite(t.end);delete t.segments[C.formatDateLite(t.end)],i--;const a=C.subtractDays(t.end,1),o=C.formatDateLite(a),s=t.segments[o];return i?s&&(s.isLastDay=!0,s.endTimeMinutes=t.endTimeMinutes):t.segments=null,t.daysCount=i||1,t.end=a,o}createEventSegments(t,i,a){const o=i.getTime(),s=a.getTime();let l,n,r,d=t.start.getTime(),u=t.end.getTime(),p=!1;for(t.end.getHours()||t.end.getMinutes()||(u-=1e3),t.segments={},t.repeat?(l=o,n=Math.min(s,t.repeat.until?C.stringToDate(t.repeat.until).getTime():s)):(l=Math.max(o,d),n=Math.min(s,u));l<=n;){let _=!1;const L=C.addDays(new Date(l),1).setHours(0,0,0,0);let E,I,Y,w;if(t.repeat){const $=new Date(l),O=C.formatDateLite($);(p||t.occurrences&&t.occurrences[O])&&(p||(d=t.occurrences[O].start,r=new Date(d).setHours(0,0,0,0),u=t.occurrences[O].end),p=!0,_=!0),E=l===r,I=O===C.formatDateLite(new Date(u)),Y=new Date(E?d:l),w=C.formatDateLite(Y),I&&(p=!1)}else _=!0,E=l===d,I=n===u&&L>n,Y=E?t.start:new Date(l),w=C.formatDateLite(E?t.start:Y);_&&(t.segments[w]={start:Y,startTimeMinutes:E?t.startTimeMinutes:0,endTimeMinutes:I?t.endTimeMinutes:1440,isFirstDay:E,isLastDay:I}),l=L}return t}deleteAnEvent(t){this._vuecal.emitWithEvent("event-delete",t),this._vuecal.mutableEvents=this._vuecal.mutableEvents.filter(i=>i._eid!==t._eid),this._vuecal.view.events=this._vuecal.view.events.filter(i=>i._eid!==t._eid)}checkCellOverlappingEvents(t,i){me=t.slice(0),M={},t.forEach(o=>{me.shift(),M[o._eid]||(M[o._eid]={overlaps:[],start:o.start,position:0}),M[o._eid].position=0,me.forEach(s=>{M[s._eid]||(M[s._eid]={overlaps:[],start:s.start,position:0});const l=this.eventInRange(s,o.start,o.end),n=i.overlapsPerTimeStep?C.datesInSameTimeStep(o.start,s.start,i.timeStep):1;if(o.background||o.allDay||s.background||s.allDay||!l||!n){let r,d;(r=(M[o._eid]||{overlaps:[]}).overlaps.indexOf(s._eid))>-1&&M[o._eid].overlaps.splice(r,1),(d=(M[s._eid]||{overlaps:[]}).overlaps.indexOf(o._eid))>-1&&M[s._eid].overlaps.splice(d,1),M[s._eid].position--}else M[o._eid].overlaps.push(s._eid),M[o._eid].overlaps=[...new Set(M[o._eid].overlaps)],M[s._eid].overlaps.push(o._eid),M[s._eid].overlaps=[...new Set(M[s._eid].overlaps)],M[s._eid].position++})});let a=0;for(const o in M){const s=M[o],l=s.overlaps.map(n=>({id:n,start:M[n].start}));l.push({id:o,start:s.start}),l.sort((n,r)=>n.startr.start?1:n.id>r.id?-1:1),s.position=l.findIndex(n=>n.id===o),a=Math.max(this.getOverlapsStreak(s,M),a)}return[M,a]}getOverlapsStreak(t,i={}){let a=t.overlaps.length+1,o=[];return t.overlaps.forEach(s=>{o.includes(s)||t.overlaps.filter(l=>l!==s).forEach(l=>{i[l].overlaps.includes(s)||o.push(l)})}),o=[...new Set(o)],a-=o.length,a}eventInRange(t,i,a){if(t.allDay||!this._vuecal.time){const l=new Date(t.start).setHours(0,0,0,0);return new Date(t.end).setHours(23,59,0,0)>=new Date(i).setHours(0,0,0,0)&&l<=new Date(a).setHours(0,0,0,0)}const o=t.start.getTime(),s=t.end.getTime();return oi.getTime()}}const Hi={class:"vuecal__flex vuecal__weekdays-headings"},Wi=["onClick"],Ii={class:"vuecal__flex weekday-label",grow:""},Pi={class:"full"},ji={class:"small"},Yi={class:"xsmall"},Fi={key:0},Ri={key:0,class:"vuecal__flex vuecal__split-days-headers",grow:""},te=(e,t)=>{const i=e.__vccOpts||e;for(const[a,o]of t)i[a]=o;return i},Fe=te({inject:["vuecal","utils","view"],props:{transitionDirection:{type:String,default:"right"},weekDays:{type:Array,default:()=>[]},switchToNarrowerView:{type:Function,default:()=>{}}},methods:{selectCell(e,t){e.getTime()!==this.view.selectedDate.getTime()&&(this.view.selectedDate=e),this.utils.cell.selectCell(!1,e,t)},cleanupHeading:e=>({label:e.full,date:e.date,...e.today?{today:e.today}:{}})},computed:{headings(){if(!["month","week"].includes(this.view.id))return[];let e=!1;return this.weekDays.map((t,i)=>{const a=this.utils.date.addDays(this.view.startDate,this.vuecal.startWeekOnSunday?i-1:i);return{hide:t.hide,full:t.label,small:t.short||t.label.substr(0,3),xsmall:t.short||t.label.substr(0,1),...this.view.id==="week"?{dayOfMonth:a.getDate(),date:a,today:!e&&this.utils.date.isToday(a)&&!e++}:{}}})},cellWidth(){return 100/(7-this.weekDays.reduce((e,t)=>e+t.hide,0))},weekdayCellStyles(){return{...this.vuecal.hideWeekdays.length?{width:`${this.cellWidth}%`}:{}}},cellHeadingsClickable(){return this.view.id==="week"&&(this.vuecal.clickToNavigate||this.vuecal.dblclickToNavigate)}}},[["render",function(e,t,i,a,o,s){return h(),m("div",Hi,[(h(!0),m(V,null,A(s.headings,(l,n)=>(h(),m(V,{key:n},[l.hide?y("",!0):(h(),m("div",{key:0,class:H(["vuecal__flex vuecal__heading",{today:l.today,clickable:s.cellHeadingsClickable}]),style:B(s.weekdayCellStyles),onClick:r=>s.view.id==="week"&&s.selectCell(l.date,r),onDblclick:t[0]||(t[0]=r=>s.view.id==="week"&&s.vuecal.dblclickToNavigate&&i.switchToNarrowerView())},[v(ue,{name:`slide-fade--${i.transitionDirection}`,appear:s.vuecal.transitions},{default:c(()=>[(h(),m("div",{class:"vuecal__flex",column:"",key:!!s.vuecal.transitions&&`${n}-${l.dayOfMonth}`},[D("div",Ii,[b(e.$slots,"weekday-heading",{heading:s.cleanupHeading(l),view:s.view},()=>[D("span",Pi,f(l.full),1),D("span",ji,f(l.small),1),D("span",Yi,f(l.xsmall),1),l.dayOfMonth?(h(),m("span",Fi," "+f(l.dayOfMonth),1)):y("",!0)])]),s.vuecal.hasSplits&&s.vuecal.stickySplitLabels?(h(),m("div",Ri,[(h(!0),m(V,null,A(s.vuecal.daySplits,(r,d)=>(h(),m("div",{class:H(["day-split-header",r.class||!1]),key:d},[b(e.$slots,"split-label",{split:r,view:s.view},()=>[x(f(r.label),1)])],2))),128))])):y("",!0)]))]),_:2},1032,["name","appear"])],46,Wi))],64))),128))])}]]),Bi={class:"vuecal__header"},Ni={key:0,class:"vuecal__flex vuecal__menu",role:"tablist","aria-label":"Calendar views navigation"},zi=["onDragenter","onDragleave","onClick","aria-label"],Ui={key:1,class:"vuecal__title-bar"},Gi=["aria-label"],qi={class:"vuecal__flex vuecal__title",grow:""},Ki=["aria-label"],Xi={key:0,class:"vuecal__flex vuecal__split-days-headers"},Zi=te({inject:["vuecal","previous","next","switchView","updateSelectedDate","modules","view"],components:{WeekdaysHeadings:Fe},props:{options:{type:Object,default:()=>({})},editEvents:{type:Object,required:!0},hasSplits:{type:[Boolean,Number],default:!1},daySplits:{type:Array,default:()=>[]},viewProps:{type:Object,default:()=>({})},weekDays:{type:Array,default:()=>[]},switchToNarrowerView:{type:Function,default:()=>{}}},data:()=>({highlightedControl:null}),methods:{goToToday(){this.updateSelectedDate(new Date(new Date().setHours(0,0,0,0)))},switchToBroaderView(){this.transitionDirection="left",this.broaderView&&this.switchView(this.broaderView)}},computed:{transitionDirection:{get(){return this.vuecal.transitionDirection},set(e){this.vuecal.transitionDirection=e}},broaderView(){const{enabledViews:e}=this.vuecal;return e[e.indexOf(this.view.id)-1]},showDaySplits(){return this.view.id==="day"&&this.hasSplits&&this.options.stickySplitLabels&&!this.options.minSplitWidth},dnd(){return this.modules.dnd}}},[["render",function(e,t,i,a,o,s){const l=W("weekdays-headings");return h(),m("div",Bi,[i.options.hideViewSelector?y("",!0):(h(),m("div",Ni,[(h(!0),m(V,null,A(i.viewProps.views,(n,r)=>(h(),m(V,{key:r},[n.enabled?(h(),m("button",{key:0,class:H(["vuecal__view-btn",{"vuecal__view-btn--active":s.view.id===r,"vuecal__view-btn--highlighted":e.highlightedControl===r}]),type:"button",onDragenter:d=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragEnter(d,r,e.$data),onDragleave:d=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragLeave(d,r,e.$data),onClick:d=>s.switchView(r,null,!0),"aria-label":`${n.label} view`},f(n.label),43,zi)):y("",!0)],64))),128))])),i.options.hideTitleBar?y("",!0):(h(),m("div",Ui,[D("button",{class:H(["vuecal__arrow vuecal__arrow--prev",{"vuecal__arrow--highlighted":e.highlightedControl==="previous"}]),type:"button",onClick:t[0]||(t[0]=(...n)=>s.previous&&s.previous(...n)),onDragenter:t[1]||(t[1]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragEnter(n,"previous",e.$data)),onDragleave:t[2]||(t[2]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragLeave(n,"previous",e.$data)),"aria-label":`Previous ${s.view.id}`},[b(e.$slots,"arrow-prev")],42,Gi),D("div",qi,[v(ue,{name:i.options.transitions?`slide-fade--${s.transitionDirection}`:""},{default:c(()=>[(h(),T(Ct(s.broaderView?"button":"span"),{type:!!s.broaderView&&"button",key:`${s.view.id}${s.view.startDate.toString()}`,onClick:t[3]||(t[3]=n=>!!s.broaderView&&s.switchToBroaderView()),"aria-label":!!s.broaderView&&`Go to ${s.broaderView} view`},{default:c(()=>[b(e.$slots,"title")]),_:3},8,["type","aria-label"]))]),_:3},8,["name"])]),i.options.todayButton?(h(),m("button",{key:0,class:H(["vuecal__today-btn",{"vuecal__today-btn--highlighted":e.highlightedControl==="today"}]),type:"button",onClick:t[4]||(t[4]=(...n)=>s.goToToday&&s.goToToday(...n)),onDragenter:t[5]||(t[5]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragEnter(n,"today",e.$data)),onDragleave:t[6]||(t[6]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragLeave(n,"today",e.$data)),"aria-label":"Today"},[b(e.$slots,"today-button")],34)):y("",!0),D("button",{class:H(["vuecal__arrow vuecal__arrow--next",{"vuecal__arrow--highlighted":e.highlightedControl==="next"}]),type:"button",onClick:t[7]||(t[7]=(...n)=>s.next&&s.next(...n)),onDragenter:t[8]||(t[8]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragEnter(n,"next",e.$data)),onDragleave:t[9]||(t[9]=n=>i.editEvents.drag&&s.dnd&&s.dnd.viewSelectorDragLeave(n,"next",e.$data)),"aria-label":`Next ${s.view.id}`},[b(e.$slots,"arrow-next")],42,Ki)])),i.viewProps.weekDaysInHeader?(h(),T(l,{key:2,"week-days":i.weekDays,"transition-direction":s.transitionDirection,"switch-to-narrower-view":i.switchToNarrowerView},_e({_:2},[e.$slots["weekday-heading"]?{name:"weekday-heading",fn:c(({heading:n,view:r})=>[b(e.$slots,"weekday-heading",{heading:n,view:r})]),key:"0"}:void 0,e.$slots["split-label"]?{name:"split-label",fn:c(({split:n})=>[b(e.$slots,"split-label",{split:n,view:s.view})]),key:"1"}:void 0]),1032,["week-days","transition-direction","switch-to-narrower-view"])):y("",!0),v(ue,{name:`slide-fade--${s.transitionDirection}`},{default:c(()=>[s.showDaySplits?(h(),m("div",Xi,[(h(!0),m(V,null,A(i.daySplits,(n,r)=>(h(),m("div",{class:H(["day-split-header",n.class||!1]),key:r},[b(e.$slots,"split-label",{split:n,view:s.view.id},()=>[x(f(n.label),1)])],2))),128))])):y("",!0)]),_:3},8,["name"])])}]]),Ji=["draggable"],Qi={inject:["vuecal","utils","modules","view","domEvents","editEvents"],props:{cellFormattedDate:{type:String,default:""},event:{type:Object,default:()=>({})},cellEvents:{type:Array,default:()=>[]},overlaps:{type:Array,default:()=>[]},eventPosition:{type:Number,default:0},overlapsStreak:{type:Number,default:0},allDay:{type:Boolean,default:!1}},data:()=>({touch:{dragThreshold:30,startX:0,startY:0,dragged:!1}}),methods:{onMouseDown(e,t=!1){if("ontouchstart"in window&&!t)return!1;const{clickHoldAnEvent:i,focusAnEvent:a,resizeAnEvent:o,dragAnEvent:s}=this.domEvents;if(a._eid===this.event._eid&&i._eid===this.event._eid)return!0;this.focusEvent(),i._eid=null,this.vuecal.editEvents.delete&&this.event.deletable&&(i.timeoutId=setTimeout(()=>{o._eid||s._eid||(i._eid=this.event._eid,this.event.deleting=!0)},i.timeout))},onMouseUp(e){this.domEvents.focusAnEvent._eid!==this.event._eid||this.touch.dragged||(this.domEvents.focusAnEvent.mousedUp=!0),this.touch.dragged=!1},onMouseEnter(e){e.preventDefault(),this.vuecal.emitWithEvent("event-mouse-enter",this.event)},onMouseLeave(e){e.preventDefault(),this.vuecal.emitWithEvent("event-mouse-leave",this.event)},onTouchMove(e){if(typeof this.vuecal.onEventClick!="function")return;const{clientX:t,clientY:i}=e.touches[0],{startX:a,startY:o,dragThreshold:s}=this.touch;(Math.abs(t-a)>s||Math.abs(i-o)>s)&&(this.touch.dragged=!0)},onTouchStart(e){this.touch.startX=e.touches[0].clientX,this.touch.startY=e.touches[0].clientY,this.onMouseDown(e,!0)},onEnterKeypress(e){if(typeof this.vuecal.onEventClick=="function")return this.vuecal.onEventClick(this.event,e)},onDblClick(e){if(typeof this.vuecal.onEventDblclick=="function")return this.vuecal.onEventDblclick(this.event,e)},onDragStart(e){this.dnd&&this.dnd.eventDragStart(e,this.event)},onDragEnd(){this.dnd&&this.dnd.eventDragEnd(this.event)},onResizeHandleMouseDown(){this.focusEvent(),this.domEvents.dragAnEvent._eid=null,this.domEvents.resizeAnEvent=Object.assign(this.domEvents.resizeAnEvent,{_eid:this.event._eid,start:(this.segment||this.event).start,split:this.event.split||null,segment:!!this.segment&&this.utils.date.formatDateLite(this.segment.start),originalEnd:new Date((this.segment||this.event).end),originalEndTimeMinutes:this.event.endTimeMinutes}),this.event.resizing=!0},deleteEvent(e=!1){if("ontouchstart"in window&&!e)return!1;this.utils.event.deleteAnEvent(this.event)},touchDeleteEvent(e){this.deleteEvent(!0)},cancelDeleteEvent(){this.event.deleting=!1},focusEvent(){const{focusAnEvent:e}=this.domEvents,t=e._eid;if(t!==this.event._eid){if(t){const i=this.view.events.find(a=>a._eid===t);i&&(i.focused=!1)}this.vuecal.cancelDelete(),this.vuecal.emitWithEvent("event-focus",this.event),e._eid=this.event._eid,this.event.focused=!0}}},computed:{eventDimensions(){const{startTimeMinutes:e,endTimeMinutes:t}=this.segment||this.event;let i=e-this.vuecal.timeFrom;const a=Math.max(Math.round(i*this.vuecal.timeCellHeight/this.vuecal.timeStep),0);i=Math.min(t,this.vuecal.timeTo)-this.vuecal.timeFrom;const o=Math.round(i*this.vuecal.timeCellHeight/this.vuecal.timeStep);return{top:a,height:Math.max(o-a,5)}},eventStyles(){if(this.event.allDay||!this.vuecal.time||!this.event.endTimeMinutes||this.view.id==="month"||this.allDay)return{};let e=100/Math.min(this.overlaps.length+1,this.overlapsStreak),t=100/(this.overlaps.length+1)*this.eventPosition;this.vuecal.minEventWidth&&es.focusEvent&&s.focusEvent(...l)),onKeypress:t[5]||(t[5]=be(X((...l)=>s.onEnterKeypress&&s.onEnterKeypress(...l),["stop"]),["enter"])),onMouseenter:t[6]||(t[6]=(...l)=>s.onMouseEnter&&s.onMouseEnter(...l)),onMouseleave:t[7]||(t[7]=(...l)=>s.onMouseLeave&&s.onMouseLeave(...l)),onTouchstart:t[8]||(t[8]=X((...l)=>s.onTouchStart&&s.onTouchStart(...l),["stop"])),onMousedown:t[9]||(t[9]=l=>s.onMouseDown(l)),onMouseup:t[10]||(t[10]=(...l)=>s.onMouseUp&&s.onMouseUp(...l)),onTouchend:t[11]||(t[11]=(...l)=>s.onMouseUp&&s.onMouseUp(...l)),onTouchmove:t[12]||(t[12]=(...l)=>s.onTouchMove&&s.onTouchMove(...l)),onDblclick:t[13]||(t[13]=(...l)=>s.onDblClick&&s.onDblClick(...l)),draggable:s.draggable,onDragstart:t[14]||(t[14]=l=>s.draggable&&s.onDragStart(l)),onDragend:t[15]||(t[15]=l=>s.draggable&&s.onDragEnd())},[s.vuecal.editEvents.delete&&i.event.deletable?(h(),m("div",{key:0,class:"vuecal__event-delete",onClick:t[0]||(t[0]=X((...l)=>s.deleteEvent&&s.deleteEvent(...l),["stop"])),onTouchstart:t[1]||(t[1]=X((...l)=>s.touchDeleteEvent&&s.touchDeleteEvent(...l),["stop"]))},f(s.vuecal.texts.deleteEvent),33)):y("",!0),b(e.$slots,"event",{event:i.event,view:s.view.id}),s.resizable?(h(),m("div",{key:1,class:"vuecal__event-resize-handle",contenteditable:"false",onMousedown:t[2]||(t[2]=X((...l)=>s.onResizeHandleMouseDown&&s.onResizeHandleMouseDown(...l),["stop","prevent"])),onTouchstart:t[3]||(t[3]=X((...l)=>s.onResizeHandleMouseDown&&s.onResizeHandleMouseDown(...l),["stop","prevent"]))},null,32)):y("",!0)],46,Ji)}]])},props:{options:{type:Object,default:()=>({})},editEvents:{type:Object,required:!0},data:{type:Object,required:!0},cellSplits:{type:Array,default:()=>[]},minTimestamp:{type:[Number,null],default:null},maxTimestamp:{type:[Number,null],default:null},cellWidth:{type:[Number,Boolean],default:!1},allDay:{type:Boolean,default:!1}},data:()=>({cellOverlaps:{},cellOverlapsStreak:1,timeAtCursor:null,highlighted:!1,highlightedSplit:null}),methods:{getSplitAtCursor({target:e}){let t=e.classList.contains("vuecal__cell-split")?e:this.vuecal.findAncestor(e,"vuecal__cell-split");return t&&(t=t.attributes["data-split"].value,parseInt(t).toString()===t.toString()&&(t=parseInt(t))),t||null},splitClasses(e){return{"vuecal__cell-split":!0,"vuecal__cell-split--highlighted":this.highlightedSplit===e.id,[e.class]:!!e.class}},checkCellOverlappingEvents(){this.options.time&&this.eventsCount&&!this.splitsCount&&(this.eventsCount===1?(this.cellOverlaps=[],this.cellOverlapsStreak=1):[this.cellOverlaps,this.cellOverlapsStreak]=this.utils.event.checkCellOverlappingEvents(this.events,this.options))},isDOMElementAnEvent(e){return this.vuecal.isDOMElementAnEvent(e)},selectCell(e,t=!1){const i=this.splitsCount?this.getSplitAtCursor(e):null;this.utils.cell.selectCell(t,this.timeAtCursor,i),this.timeAtCursor=null},onCellkeyPressEnter(e){this.isSelected||this.onCellFocus(e);const t=this.splitsCount?this.getSplitAtCursor(e):null;this.utils.cell.keyPressEnterCell(this.timeAtCursor,t),this.timeAtCursor=null},onCellFocus(e){if(!this.isSelected&&!this.isDisabled){this.isSelected=this.data.startDate;const t=this.splitsCount?this.getSplitAtCursor(e):null,i=this.timeAtCursor||this.data.startDate;this.vuecal.$emit("cell-focus",t?{date:i,split:t}:i)}},onCellMouseDown(e,t=null,i=!1){if("ontouchstart"in window&&!i)return!1;this.isSelected||this.onCellFocus(e);const{clickHoldACell:a,focusAnEvent:o}=this.domEvents;this.domEvents.cancelClickEventCreation=!1,a.eventCreated=!1,this.timeAtCursor=new Date(this.data.startDate);const{minutes:s,cursorCoords:{y:l}}=this.vuecal.minutesAtCursor(e);this.timeAtCursor.setMinutes(s);const n=this.isDOMElementAnEvent(e.target);!n&&o._eid&&((this.view.events.find(r=>r._eid===o._eid)||{}).focused=!1),this.editEvents.create&&!n&&this.setUpEventCreation(e,l)},setUpEventCreation(e,t){if(this.options.dragToCreateEvent&&["week","day"].includes(this.view.id)){const{dragCreateAnEvent:i}=this.domEvents;if(i.startCursorY=t,i.split=this.splitsCount?this.getSplitAtCursor(e):null,i.start=this.timeAtCursor,this.options.snapToTime){let a=60*this.timeAtCursor.getHours()+this.timeAtCursor.getMinutes();const o=a+this.options.snapToTime/2;a=o-o%this.options.snapToTime,i.start.setHours(0,a,0,0)}}else this.options.cellClickHold&&["month","week","day"].includes(this.view.id)&&this.setUpCellHoldTimer(e)},setUpCellHoldTimer(e){const{clickHoldACell:t}=this.domEvents;t.cellId=`${this.vuecal._.uid}_${this.data.formattedDate}`,t.split=this.splitsCount?this.getSplitAtCursor(e):null,t.timeoutId=setTimeout(()=>{if(t.cellId&&!this.domEvents.cancelClickEventCreation){const{_eid:i}=this.utils.event.createAnEvent(this.timeAtCursor,null,t.split?{split:t.split}:{});t.eventCreated=i}},t.timeout)},onCellTouchStart(e,t=null){this.onCellMouseDown(e,t,!0)},onCellClick(e){this.isDOMElementAnEvent(e.target)||this.selectCell(e)},onCellDblClick(e){const t=new Date(this.data.startDate);t.setMinutes(this.vuecal.minutesAtCursor(e).minutes);const i=this.splitsCount?this.getSplitAtCursor(e):null;this.vuecal.$emit("cell-dblclick",i?{date:t,split:i}:t),this.options.dblclickToNavigate&&this.vuecal.switchToNarrowerView()},onCellContextMenu(e){e.stopPropagation(),e.preventDefault();const t=new Date(this.data.startDate),{cursorCoords:i,minutes:a}=this.vuecal.minutesAtCursor(e);t.setMinutes(a);const o=this.splitsCount?this.getSplitAtCursor(e):null;this.vuecal.$emit("cell-contextmenu",{date:t,...i,...o||{},e})}},computed:{dnd(){return this.modules.dnd},nowInMinutes(){return this.utils.date.dateToMinutes(this.vuecal.now)},isBeforeMinDate(){return this.minTimestamp!==null&&this.minTimestamp>this.data.endDate.getTime()},isAfterMaxDate(){return this.maxTimestamp&&this.maxTimestamp{let{from:t,to:i}=e;return t=Math.max(t,this.options.timeFrom),i=Math.min(i,this.options.timeTo),{...e,height:(i-t)*this.timeScale,top:(t-this.options.timeFrom)*this.timeScale}})},events(){const{startDate:e,endDate:t}=this.data;let i=[];if(!["years","year"].includes(this.view.id)||this.options.eventsCountOnYearView){if(i=this.view.events.slice(0),this.view.id==="month"&&i.push(...this.view.outOfScopeEvents),i=i.filter(a=>this.utils.event.eventInRange(a,e,t)),this.options.showAllDayEvents&&this.view.id!=="month"&&(i=i.filter(a=>!!a.allDay===this.allDay)),this.options.time&&this.isWeekOrDayView&&!this.allDay){const{timeFrom:a,timeTo:o}=this.options;i=i.filter(s=>{const l=s.daysCount>1&&s.segments[this.data.formattedDate]||{},n=s.daysCount===1&&s.startTimeMinutesa,r=s.daysCount>1&&l.startTimeMinutesa;return s.allDay||n||r||!1})}!this.options.time||!this.isWeekOrDayView||this.options.showAllDayEvents&&this.allDay||i.sort((a,o)=>a.start{const i=this.events.filter(s=>s.split===e.id),[a,o]=this.utils.event.checkCellOverlappingEvents(i.filter(s=>!s.background&&!s.allDay),this.options);return{...e,overlaps:a,overlapsStreak:o,events:i}})},splitsCount(){return this.splits.length},cellClasses(){return{[this.data.class]:!!this.data.class,"vuecal__cell--current":this.data.current,"vuecal__cell--today":this.data.today,"vuecal__cell--out-of-scope":this.data.outOfScope,"vuecal__cell--before-min":this.isDisabled&&this.isBeforeMinDate,"vuecal__cell--after-max":this.isDisabled&&this.isAfterMaxDate,"vuecal__cell--disabled":this.isDisabled,"vuecal__cell--selected":this.isSelected,"vuecal__cell--highlighted":this.highlighted,"vuecal__cell--has-splits":this.splitsCount,"vuecal__cell--has-events":this.eventsCount}},cellStyles(){return{...this.cellWidth?{width:`${this.cellWidth}%`}:{}}},timelineVisible(){const{time:e,timeTo:t}=this.options;return this.data.today&&this.isWeekOrDayView&&e&&!this.allDay&&this.nowInMinutes<=t},todaysTimePosition(){if(!this.data.today||!this.options.time)return;const e=this.nowInMinutes-this.options.timeFrom;return Math.round(e*this.timeScale)},timeScale(){return this.options.timeCellHeight/this.options.timeStep}}},[["render",function(e,t,i,a,o,s){const l=W("event");return h(),T(Mt,{class:H(["vuecal__cell",s.cellClasses]),name:`slide-fade--${s.transitionDirection}`,tag:"div",appear:i.options.transitions,style:B(s.cellStyles)},{default:c(()=>[(h(!0),m(V,null,A(s.splitsCount?s.splits:1,(n,r)=>(h(),m("div",{class:H(["vuecal__flex vuecal__cell-content",s.splitsCount&&s.splitClasses(n)]),key:i.options.transitions?`${s.view.id}-${i.data.content}-${r}`:r,"data-split":!!s.splitsCount&&n.id,column:"",tabindex:"0","aria-label":i.data.content,onFocus:t[0]||(t[0]=d=>s.onCellFocus(d)),onKeypress:t[1]||(t[1]=be(d=>s.onCellkeyPressEnter(d),["enter"])),onTouchstart:d=>!s.isDisabled&&s.onCellTouchStart(d,s.splitsCount?n.id:null),onMousedown:d=>!s.isDisabled&&s.onCellMouseDown(d,s.splitsCount?n.id:null),onClick:t[2]||(t[2]=d=>!s.isDisabled&&s.onCellClick(d)),onDblclick:t[3]||(t[3]=d=>!s.isDisabled&&s.onCellDblClick(d)),onContextmenu:t[4]||(t[4]=d=>!s.isDisabled&&i.options.cellContextmenu&&s.onCellContextMenu(d)),onDragenter:t[5]||(t[5]=d=>!s.isDisabled&&i.editEvents.drag&&s.dnd&&s.dnd.cellDragEnter(d,e.$data,i.data.startDate)),onDragover:d=>!s.isDisabled&&i.editEvents.drag&&s.dnd&&s.dnd.cellDragOver(d,e.$data,i.data.startDate,s.splitsCount?n.id:null),onDragleave:t[6]||(t[6]=d=>!s.isDisabled&&i.editEvents.drag&&s.dnd&&s.dnd.cellDragLeave(d,e.$data,i.data.startDate)),onDrop:d=>!s.isDisabled&&i.editEvents.drag&&s.dnd&&s.dnd.cellDragDrop(d,e.$data,i.data.startDate,s.splitsCount?n.id:null)},[i.options.showTimeInCells&&i.options.time&&s.isWeekOrDayView&&!i.allDay?(h(),m("div",ts,[(h(!0),m(V,null,A(s.vuecal.timeCells,(d,u)=>(h(),m("span",{class:"cell-time-label",key:u},f(d.label),1))),128))])):y("",!0),s.isWeekOrDayView&&!i.allDay&&s.specialHours.length?(h(!0),m(V,{key:1},A(s.specialHours,(d,u)=>(h(),m("div",{class:H(["vuecal__special-hours",`vuecal__special-hours--day${d.day} ${d.class}`]),style:B(`height: ${d.height}px;top: ${d.top}px`)},[d.label?(h(),m("div",{key:0,class:"special-hours-label",innerHTML:d.label},null,8,is)):y("",!0)],6))),256)):y("",!0),b(e.$slots,"cell-content",{events:s.events,selectCell:d=>s.selectCell(d,!0),split:!!s.splitsCount&&n}),s.eventsCount&&(s.isWeekOrDayView||s.view.id==="month"&&i.options.eventsOnMonthView)?(h(),m("div",ss,[(h(!0),m(V,null,A(s.splitsCount?n.events:s.events,(d,u)=>(h(),T(l,{key:u,"cell-formatted-date":i.data.formattedDate,event:d,"all-day":i.allDay,"cell-events":s.splitsCount?n.events:s.events,overlaps:((s.splitsCount?n.overlaps[d._eid]:e.cellOverlaps[d._eid])||[]).overlaps,"event-position":((s.splitsCount?n.overlaps[d._eid]:e.cellOverlaps[d._eid])||[]).position,"overlaps-streak":s.splitsCount?n.overlapsStreak:e.cellOverlapsStreak},{event:c(({event:p,view:_})=>[b(e.$slots,"event",{view:_,event:p})]),_:2},1032,["cell-formatted-date","event","all-day","cell-events","overlaps","event-position","overlaps-streak"]))),128))])):y("",!0)],42,es))),128)),s.timelineVisible?(h(),m("div",{class:"vuecal__now-line",style:B(`top: ${s.todaysTimePosition}px`),key:i.options.transitions?`${s.view.id}-now-line`:"now-line",title:s.utils.date.formatTime(s.vuecal.now)},null,12,as)):y("",!0)]),_:3},8,["class","name","appear","style"])}]]),ns={key:0,class:"vuecal__all-day-text",style:{width:"3em"}},ls=te({inject:["vuecal","view","editEvents"],components:{"vuecal-cell":Re},props:{options:{type:Object,required:!0},cells:{type:Array,required:!0},label:{type:String,required:!0},daySplits:{type:Array,default:()=>[]},shortEvents:{type:Boolean,default:!0},height:{type:String,default:""},cellOrSplitMinWidth:{type:Number,default:null}},computed:{hasCellOrSplitWidth(){return!!(this.options.minCellWidth||this.daySplits.length&&this.options.minSplitWidth)}}},[["render",function(e,t,i,a,o,s){const l=W("vuecal-cell");return h(),m("div",{class:"vuecal__flex vuecal__all-day",style:B(i.cellOrSplitMinWidth&&{height:i.height})},[i.cellOrSplitMinWidth?y("",!0):(h(),m("div",ns,[D("span",null,f(i.label),1)])),D("div",{class:H(["vuecal__flex vuecal__cells",`${s.view.id}-view`]),grow:"",style:B(i.cellOrSplitMinWidth?`min-width: ${i.cellOrSplitMinWidth}px`:"")},[(h(!0),m(V,null,A(i.cells,(n,r)=>(h(),T(l,{key:r,options:i.options,"edit-events":s.editEvents,data:n,"all-day":!0,"cell-width":i.options.hideWeekdays.length&&(s.vuecal.isWeekView||s.vuecal.isMonthView)&&s.vuecal.cellWidth,"min-timestamp":i.options.minTimestamp,"max-timestamp":i.options.maxTimestamp,"cell-splits":i.daySplits},{event:c(({event:d,view:u})=>[b(e.$slots,"event",{view:u,event:d})]),_:2},1032,["options","edit-events","data","cell-width","min-timestamp","max-timestamp","cell-splits"]))),128))],6)],4)}]]),os=["lang"],rs=D("i",{class:"angle"},null,-1),ds=D("i",{class:"angle"},null,-1),us={class:"default"},cs={key:0,class:"vuecal__flex vuecal__body",grow:""},hs=["onBlur","innerHTML"],vs=["innerHTML"],ms=["innerHTML"],ps={class:"vuecal__flex",row:"",grow:""},_s={key:0,class:"vuecal__time-column"},gs=D("span",{class:"vuecal__time-cell-line"},null,-1),ws={class:"vuecal__time-cell-label"},ys={key:1,class:"vuecal__flex vuecal__week-numbers",column:""},fs=["wrap","column"],Ds=["onBlur","innerHTML"],bs=["innerHTML"],ks=["innerHTML"],Es=["wrap"],Ts=["innerHTML"],Cs=["innerHTML"],Ms={key:2,class:"vuecal__cell-events-count"},xs={key:3,class:"vuecal__no-event"},Ss=["onBlur","innerHTML"],Vs=["innerHTML"],Os={key:2,class:"vuecal__event-time"},As={key:0},$s={key:1,class:"days-to-end"},Ls=["innerHTML"],Hs={key:0,class:"vuecal__scrollbar-check"},Ws=[D("div",null,null,-1)],le={weekDays:Array(7).fill(""),weekDaysShort:[],months:Array(12).fill(""),years:"",year:"",month:"",week:"",day:"",today:"",noEvent:"",allDay:"",deleteEvent:"",createEvent:"",dateFormat:"dddd MMMM D, YYYY",am:"am",pm:"pm"},Se=["years","year","month","week","day"],Ve=new class{constructor(e,t=!1){G(this,"texts",{}),G(this,"dateToMinutes",i=>60*i.getHours()+i.getMinutes()),R=this,this._texts=e,t||!Date||Date.prototype.addDays||this._initDatePrototypes()}_initDatePrototypes(){Date.prototype.addDays=function(e){return R.addDays(this,e)},Date.prototype.subtractDays=function(e){return R.subtractDays(this,e)},Date.prototype.addHours=function(e){return R.addHours(this,e)},Date.prototype.subtractHours=function(e){return R.subtractHours(this,e)},Date.prototype.addMinutes=function(e){return R.addMinutes(this,e)},Date.prototype.subtractMinutes=function(e){return R.subtractMinutes(this,e)},Date.prototype.getWeek=function(){return R.getWeek(this)},Date.prototype.isToday=function(){return R.isToday(this)},Date.prototype.isLeapYear=function(){return R.isLeapYear(this)},Date.prototype.format=function(e="YYYY-MM-DD"){return R.formatDate(this,e)},Date.prototype.formatTime=function(e="HH:mm"){return R.formatTime(this,e)}}removePrototypes(){delete Date.prototype.addDays,delete Date.prototype.subtractDays,delete Date.prototype.addHours,delete Date.prototype.subtractHours,delete Date.prototype.addMinutes,delete Date.prototype.subtractMinutes,delete Date.prototype.getWeek,delete Date.prototype.isToday,delete Date.prototype.isLeapYear,delete Date.prototype.format,delete Date.prototype.formatTime}updateTexts(e){this._texts=e}_todayFormatted(){return Me!==new Date().getDate()&&(se=new Date,Me=se.getDate(),xe=`${se.getFullYear()}-${se.getMonth()}-${se.getDate()}`),xe}addDays(e,t){const i=new Date(e.valueOf());return i.setDate(i.getDate()+t),i}subtractDays(e,t){const i=new Date(e.valueOf());return i.setDate(i.getDate()-t),i}addHours(e,t){const i=new Date(e.valueOf());return i.setHours(i.getHours()+t),i}subtractHours(e,t){const i=new Date(e.valueOf());return i.setHours(i.getHours()-t),i}addMinutes(e,t){const i=new Date(e.valueOf());return i.setMinutes(i.getMinutes()+t),i}subtractMinutes(e,t){const i=new Date(e.valueOf());return i.setMinutes(i.getMinutes()-t),i}getWeek(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),i=t.getUTCDay()||7;t.setUTCDate(t.getUTCDate()+4-i);const a=new Date(Date.UTC(t.getUTCFullYear(),0,1));return Math.ceil(((t-a)/864e5+1)/7)}isToday(e){return`${e.getFullYear()}-${e.getMonth()}-${e.getDate()}`===this._todayFormatted()}isLeapYear(e){const t=e.getFullYear();return!(t%400)||t%100&&!(t%4)}getPreviousFirstDayOfWeek(e=null,t){const i=e&&new Date(e.valueOf())||new Date,a=t?7:6;return i.setDate(i.getDate()-(i.getDay()+a)%7),i}stringToDate(e){return e instanceof Date?e:(e.length===10&&(e+=" 00:00"),new Date(e.replace(/-/g,"/")))}countDays(e,t){typeof e=="string"&&(e=e.replace(/-/g,"/")),typeof t=="string"&&(t=t.replace(/-/g,"/")),e=new Date(e).setHours(0,0,0,0),t=new Date(t).setHours(0,0,1,0);const i=60*(new Date(t).getTimezoneOffset()-new Date(e).getTimezoneOffset())*1e3;return Math.ceil((t-e-i)/864e5)}datesInSameTimeStep(e,t,i){return Math.abs(e.getTime()-t.getTime())<=60*i*1e3}formatDate(e,t="YYYY-MM-DD",i=null){if(i||(i=this._texts),t||(t="YYYY-MM-DD"),t==="YYYY-MM-DD")return this.formatDateLite(e);ae={},Z={};const a={YYYY:()=>this._hydrateDateObject(e,i).YYYY,YY:()=>this._hydrateDateObject(e,i).YY(),M:()=>this._hydrateDateObject(e,i).M,MM:()=>this._hydrateDateObject(e,i).MM(),MMM:()=>this._hydrateDateObject(e,i).MMM(),MMMM:()=>this._hydrateDateObject(e,i).MMMM(),MMMMG:()=>this._hydrateDateObject(e,i).MMMMG(),D:()=>this._hydrateDateObject(e,i).D,DD:()=>this._hydrateDateObject(e,i).DD(),S:()=>this._hydrateDateObject(e,i).S(),d:()=>this._hydrateDateObject(e,i).d,dd:()=>this._hydrateDateObject(e,i).dd(),ddd:()=>this._hydrateDateObject(e,i).ddd(),dddd:()=>this._hydrateDateObject(e,i).dddd(),HH:()=>this._hydrateTimeObject(e,i).HH,H:()=>this._hydrateTimeObject(e,i).H,hh:()=>this._hydrateTimeObject(e,i).hh,h:()=>this._hydrateTimeObject(e,i).h,am:()=>this._hydrateTimeObject(e,i).am,AM:()=>this._hydrateTimeObject(e,i).AM,mm:()=>this._hydrateTimeObject(e,i).mm,m:()=>this._hydrateTimeObject(e,i).m};return t.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,(o,s)=>{const l=a[s.replace(/\{|\}/g,"")];return l!==void 0?l():s})}formatDateLite(e){const t=e.getMonth()+1,i=e.getDate();return`${e.getFullYear()}-${t<10?"0":""}${t}-${i<10?"0":""}${i}`}formatTime(e,t="HH:mm",i=null,a=!1){let o=!1;if(a){const[n,r,d]=[e.getHours(),e.getMinutes(),e.getSeconds()];n+r+d===141&&(o=!0)}if(e instanceof Date&&t==="HH:mm")return o?"24:00":this.formatTimeLite(e);Z={},i||(i=this._texts);const s=this._hydrateTimeObject(e,i),l=t.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,(n,r)=>{const d=s[r.replace(/\{|\}/g,"")];return d!==void 0?d:r});return o?l.replace("23:59","24:00"):l}formatTimeLite(e){const t=e.getHours(),i=e.getMinutes();return`${(t<10?"0":"")+t}:${(i<10?"0":"")+i}`}_nth(e){if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}_hydrateDateObject(e,t){if(ae.D)return ae;const i=e.getFullYear(),a=e.getMonth()+1,o=e.getDate(),s=(e.getDay()-1+7)%7;return ae={YYYY:i,YY:()=>i.toString().substring(2),M:a,MM:()=>(a<10?"0":"")+a,MMM:()=>t.months[a-1].substring(0,3),MMMM:()=>t.months[a-1],MMMMG:()=>(t.monthsGenitive||t.months)[a-1],D:o,DD:()=>(o<10?"0":"")+o,S:()=>this._nth(o),d:s+1,dd:()=>t.weekDays[s][0],ddd:()=>t.weekDays[s].substr(0,3),dddd:()=>t.weekDays[s]},ae}_hydrateTimeObject(e,t){if(Z.am)return Z;let i,a;e instanceof Date?(i=e.getHours(),a=e.getMinutes()):(i=Math.floor(e/60),a=Math.floor(e%60));const o=i%12?i%12:12,s=(t||{am:"am",pm:"pm"})[i===24||i<12?"am":"pm"];return Z={H:i,h:o,HH:(i<10?"0":"")+i,hh:(o<10?"0":"")+o,am:s,AM:s.toUpperCase(),m:a,mm:(a<10?"0":"")+a},Z}}(le),Is={name:"vue-cal",components:{"vuecal-cell":Re,"vuecal-header":Zi,WeekdaysHeadings:Fe,AllDayBar:ls},provide(){return{vuecal:this,utils:this.utils,modules:this.modules,previous:this.previous,next:this.next,switchView:this.switchView,updateSelectedDate:this.updateSelectedDate,editEvents:this.editEvents,view:this.view,domEvents:this.domEvents}},props:{activeView:{type:String,default:"week"},allDayBarHeight:{type:[String,Number],default:"25px"},cellClickHold:{type:Boolean,default:!0},cellContextmenu:{type:Boolean,default:!1},clickToNavigate:{type:Boolean,default:!1},dblclickToNavigate:{type:Boolean,default:!0},disableDatePrototypes:{type:Boolean,default:!1},disableDays:{type:Array,default:()=>[]},disableViews:{type:Array,default:()=>[]},dragToCreateEvent:{type:Boolean,default:!0},dragToCreateThreshold:{type:Number,default:15},editableEvents:{type:[Boolean,Object],default:!1},events:{type:Array,default:()=>[]},eventsCountOnYearView:{type:Boolean,default:!1},eventsOnMonthView:{type:[Boolean,String],default:!1},hideBody:{type:Boolean,default:!1},hideTitleBar:{type:Boolean,default:!1},hideViewSelector:{type:Boolean,default:!1},hideWeekdays:{type:Array,default:()=>[]},hideWeekends:{type:Boolean,default:!1},locale:{type:[String,Object],default:"en"},maxDate:{type:[String,Date],default:""},minCellWidth:{type:Number,default:0},minDate:{type:[String,Date],default:""},minEventWidth:{type:Number,default:0},minSplitWidth:{type:Number,default:0},onEventClick:{type:[Function,null],default:null},onEventCreate:{type:[Function,null],default:null},onEventDblclick:{type:[Function,null],default:null},overlapsPerTimeStep:{type:Boolean,default:!1},resizeX:{type:Boolean,default:!1},selectedDate:{type:[String,Date],default:""},showAllDayEvents:{type:[Boolean,String],default:!1},showTimeInCells:{type:Boolean,default:!1},showWeekNumbers:{type:[Boolean,String],default:!1},snapToTime:{type:Number,default:0},small:{type:Boolean,default:!1},specialHours:{type:Object,default:()=>({})},splitDays:{type:Array,default:()=>[]},startWeekOnSunday:{type:Boolean,default:!1},stickySplitLabels:{type:Boolean,default:!1},time:{type:Boolean,default:!0},timeCellHeight:{type:Number,default:40},timeFormat:{type:String,default:""},timeFrom:{type:Number,default:0},timeStep:{type:Number,default:60},timeTo:{type:Number,default:1440},todayButton:{type:Boolean,default:!1},transitions:{type:Boolean,default:!0},twelveHour:{type:Boolean,default:!1},watchRealTime:{type:Boolean,default:!1},xsmall:{type:Boolean,default:!1}},data(){return{ready:!1,texts:{...le},utils:{date:!!this.disableDatePrototypes&&Ve.removePrototypes()||Ve,cell:null,event:null},modules:{dnd:null},cellsEl:null,view:{id:"",title:"",startDate:null,endDate:null,firstCellDate:null,lastCellDate:null,selectedDate:null,events:[]},eventIdIncrement:1,now:new Date,timeTickerIds:[null,null],domEvents:{resizeAnEvent:{_eid:null,start:null,split:null,segment:null,originalEndTimeMinutes:0,originalEnd:null,end:null,startCell:null,endCell:null},dragAnEvent:{_eid:null},dragCreateAnEvent:{startCursorY:null,start:null,split:null,event:null},focusAnEvent:{_eid:null,mousedUp:!1},clickHoldAnEvent:{_eid:null,timeout:1200,timeoutId:null},dblTapACell:{taps:0,timeout:500},clickHoldACell:{cellId:null,split:null,timeout:1200,timeoutId:null,eventCreated:!1},cancelClickEventCreation:!1},mutableEvents:[],transitionDirection:"right"}},methods:{async loadLocale(e){if(typeof this.locale=="object")return this.texts=Object.assign({},le,e),void this.utils.date.updateTexts(this.texts);if(this.locale==="en"){const t=await g(()=>import("./en.es-713916b0.js"),[]);this.texts=Object.assign({},le,t)}else((t,i)=>{const a=t[i];return a?typeof a=="function"?a():Promise.resolve(a):new Promise((o,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+i)))})})(Object.assign({"./i18n/ar.json":()=>g(()=>import("./ar.es-4173cb29.js"),[]),"./i18n/bg.json":()=>g(()=>import("./bg.es-3542f853.js"),[]),"./i18n/bn.json":()=>g(()=>import("./bn.es-55ab5212.js"),[]),"./i18n/bs.json":()=>g(()=>import("./bs.es-ba9dd541.js"),[]),"./i18n/ca.json":()=>g(()=>import("./ca.es-3f4af411.js"),[]),"./i18n/cs.json":()=>g(()=>import("./cs.es-4bf8e61a.js"),[]),"./i18n/da.json":()=>g(()=>import("./da.es-084484fb.js"),[]),"./i18n/de.json":()=>g(()=>import("./de.es-0185602c.js"),[]),"./i18n/el.json":()=>g(()=>import("./el.es-b3db55e7.js"),[]),"./i18n/en.json":()=>g(()=>import("./en.es-713916b0.js"),[]),"./i18n/es.json":()=>g(()=>import("./es.es-2f81ef8f.js"),[]),"./i18n/et.json":()=>g(()=>import("./et.es-feab242e.js"),[]),"./i18n/fa.json":()=>g(()=>import("./fa.es-e30ec481.js"),[]),"./i18n/fr.json":()=>g(()=>import("./fr.es-fd781cdb.js"),[]),"./i18n/he.json":()=>g(()=>import("./he.es-ab017da7.js"),[]),"./i18n/hr.json":()=>g(()=>import("./hr.es-8ff4208c.js"),[]),"./i18n/hu.json":()=>g(()=>import("./hu.es-a826dbea.js"),[]),"./i18n/id.json":()=>g(()=>import("./id.es-09894c24.js"),[]),"./i18n/is.json":()=>g(()=>import("./is.es-9608cdad.js"),[]),"./i18n/it.json":()=>g(()=>import("./it.es-8f484e02.js"),[]),"./i18n/ja.json":()=>g(()=>import("./ja.es-b7fc0eb9.js"),[]),"./i18n/ka.json":()=>g(()=>import("./ka.es-446e6e19.js"),[]),"./i18n/ko.json":()=>g(()=>import("./ko.es-45e7d699.js"),[]),"./i18n/lt.json":()=>g(()=>import("./lt.es-bc184482.js"),[]),"./i18n/mn.json":()=>g(()=>import("./mn.es-5fa17a96.js"),[]),"./i18n/nl.json":()=>g(()=>import("./nl.es-f5998f61.js"),[]),"./i18n/no.json":()=>g(()=>import("./no.es-7a7b8685.js"),[]),"./i18n/pl.json":()=>g(()=>import("./pl.es-2dc4cbea.js"),[]),"./i18n/pt-br.json":()=>g(()=>import("./pt-br.es-82c2bfad.js"),[]),"./i18n/ro.json":()=>g(()=>import("./ro.es-0b230c59.js"),[]),"./i18n/ru.json":()=>g(()=>import("./ru.es-3bc3c295.js"),[]),"./i18n/sk.json":()=>g(()=>import("./sk.es-477d958c.js"),[]),"./i18n/sl.json":()=>g(()=>import("./sl.es-7f9e39ca.js"),[]),"./i18n/sq.json":()=>g(()=>import("./sq.es-484abfbf.js"),[]),"./i18n/sr.json":()=>g(()=>import("./sr.es-79173882.js"),[]),"./i18n/sv.json":()=>g(()=>import("./sv.es-cc28424b.js"),[]),"./i18n/tr.json":()=>g(()=>import("./tr.es-73d31d0a.js"),[]),"./i18n/uk.json":()=>g(()=>import("./uk.es-72aa5132.js"),[]),"./i18n/vi.json":()=>g(()=>import("./vi.es-e48f04c7.js"),[]),"./i18n/zh-cn.json":()=>g(()=>import("./zh-cn.es-d3b0ce92.js"),[]),"./i18n/zh-hk.json":()=>g(()=>import("./zh-hk.es-f0804a56.js"),[])}),`./i18n/${e}.json`).then(t=>{this.texts=Object.assign({},le,t.default),this.utils.date.updateTexts(this.texts)})},loadDragAndDrop(){g(()=>import("./drag-and-drop.es-801b9187.js"),[]).then(e=>{const{DragAndDrop:t}=e;this.modules.dnd=new t(this)}).catch(()=>console.warn("Vue Cal: Missing drag & drop module."))},validateView(e){return Se.includes(e)||(console.error(`Vue Cal: invalid active-view parameter provided: "${e}". +A valid view must be one of: ${Se.join(", ")}.`),e="week"),this.enabledViews.includes(e)||(console.warn(`Vue Cal: the provided active-view "${e}" is disabled. Using the "${this.enabledViews[0]}" view instead.`),e=this.enabledViews[0]),e},switchToNarrowerView(e=null){this.transitionDirection="right";const t=this.enabledViews[this.enabledViews.indexOf(this.view.id)+1];t&&this.switchView(t,e)},switchView(e,t=null,i=!1){e=this.validateView(e);const a=this.utils.date,o=this.view.startDate&&this.view.startDate.getTime();if(this.transitions&&i){if(this.view.id===e)return;const n=this.enabledViews;this.transitionDirection=n.indexOf(this.view.id)>n.indexOf(e)?"left":"right"}const s=this.view.id;switch(this.view.events=[],this.view.id=e,this.view.firstCellDate=null,this.view.lastCellDate=null,t||(t=this.view.selectedDate||this.view.startDate),e){case"years":this.view.startDate=new Date(25*Math.floor(t.getFullYear()/25)||2e3,0,1),this.view.endDate=new Date(this.view.startDate.getFullYear()+25,0,1),this.view.endDate.setSeconds(-1);break;case"year":this.view.startDate=new Date(t.getFullYear(),0,1),this.view.endDate=new Date(t.getFullYear()+1,0,1),this.view.endDate.setSeconds(-1);break;case"month":{this.view.startDate=new Date(t.getFullYear(),t.getMonth(),1),this.view.endDate=new Date(t.getFullYear(),t.getMonth()+1,1),this.view.endDate.setSeconds(-1);let n=new Date(this.view.startDate);if(n.getDay()!==(this.startWeekOnSunday?0:1)&&(n=a.getPreviousFirstDayOfWeek(n,this.startWeekOnSunday)),this.view.firstCellDate=n,this.view.lastCellDate=a.addDays(n,41),this.view.lastCellDate.setHours(23,59,59,0),this.hideWeekends){if([0,6].includes(this.view.firstCellDate.getDay())){const r=this.view.firstCellDate.getDay()!==6||this.startWeekOnSunday?1:2;this.view.firstCellDate=a.addDays(this.view.firstCellDate,r)}if([0,6].includes(this.view.startDate.getDay())){const r=this.view.startDate.getDay()===6?2:1;this.view.startDate=a.addDays(this.view.startDate,r)}if([0,6].includes(this.view.lastCellDate.getDay())){const r=this.view.lastCellDate.getDay()!==0||this.startWeekOnSunday?1:2;this.view.lastCellDate=a.subtractDays(this.view.lastCellDate,r)}if([0,6].includes(this.view.endDate.getDay())){const r=this.view.endDate.getDay()===0?2:1;this.view.endDate=a.subtractDays(this.view.endDate,r)}}break}case"week":{t=a.getPreviousFirstDayOfWeek(t,this.startWeekOnSunday);const n=this.hideWeekends?5:7;this.view.startDate=this.hideWeekends&&this.startWeekOnSunday?a.addDays(t,1):t,this.view.startDate.setHours(0,0,0,0),this.view.endDate=a.addDays(t,n),this.view.endDate.setSeconds(-1);break}case"day":this.view.startDate=t,this.view.startDate.setHours(0,0,0,0),this.view.endDate=new Date(t),this.view.endDate.setHours(23,59,59,0)}this.addEventsToView();const l=this.view.startDate&&this.view.startDate.getTime();if((s!==e||l!==o)&&(this.$emit("update:activeView",e),this.ready)){const n=this.view.startDate,r={view:e,startDate:n,endDate:this.view.endDate,...this.isMonthView?{firstCellDate:this.view.firstCellDate,lastCellDate:this.view.lastCellDate,outOfScopeEvents:this.view.outOfScopeEvents.map(this.cleanupEvent)}:{},events:this.view.events.map(this.cleanupEvent),...this.isWeekView?{week:a.getWeek(this.startWeekOnSunday?a.addDays(n,1):n)}:{}};this.$emit("view-change",r)}},previous(){this.previousNext(!1)},next(){this.previousNext()},previousNext(e=!0){const t=this.utils.date;this.transitionDirection=e?"right":"left";const i=e?1:-1;let a=null;const{startDate:o,id:s}=this.view;switch(s){case"years":a=new Date(o.getFullYear()+25*i,0,1);break;case"year":a=new Date(o.getFullYear()+1*i,1,1);break;case"month":a=new Date(o.getFullYear(),o.getMonth()+1*i,1);break;case"week":a=t[e?"addDays":"subtractDays"](t.getPreviousFirstDayOfWeek(o,this.startWeekOnSunday),7);break;case"day":a=t[e?"addDays":"subtractDays"](o,1);const l=a.getDay(),n=this.startWeekOnSunday?l:(l||7)-1;if(this.weekDays[n].hide){const r=this.weekDays.map((u,p)=>({...u,i:p}));let d=0;e?([...r.slice(n),...r].find(u=>(d++,!u.hide)).i,d--):[...r,...r.slice(0,n)].reverse().find(u=>(d++,!u.hide)).i,a=t[e?"addDays":"subtractDays"](a,d)}}a&&this.switchView(s,a)},addEventsToView(e=[]){const t=this.utils.event,{startDate:i,endDate:a,firstCellDate:o,lastCellDate:s}=this.view;if(e.length||(this.view.events=[]),!(e=e.length?e:[...this.mutableEvents])||this.isYearsOrYearView&&!this.eventsCountOnYearView)return;let l=e.filter(n=>t.eventInRange(n,i,a));this.isYearsOrYearView||this.isMonthView&&!this.eventsOnMonthView||(l=l.map(n=>n.daysCount>1?t.createEventSegments(n,o||i,s||a):n)),this.view.events.push(...l),this.isMonthView&&(this.view.outOfScopeEvents=[],e.forEach(n=>{(t.eventInRange(n,o,i)||t.eventInRange(n,a,s))&&(this.view.events.some(r=>r._eid===n._eid)||this.view.outOfScopeEvents.push(n))}))},findAncestor(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e},isDOMElementAnEvent(e){return e.classList.contains("vuecal__event")||this.findAncestor(e,"vuecal__event")},onMouseMove(e){const{resizeAnEvent:t,dragAnEvent:i,dragCreateAnEvent:a}=this.domEvents;(t._eid!==null||i._eid!==null||a.start)&&(e.preventDefault(),t._eid?this.eventResizing(e):this.dragToCreateEvent&&a.start&&this.eventDragCreation(e))},onMouseUp(e){const{focusAnEvent:t,resizeAnEvent:i,clickHoldAnEvent:a,clickHoldACell:o,dragCreateAnEvent:s}=this.domEvents,{_eid:l}=a,{_eid:n}=i;let r=!1;const{event:d,start:u}=s,p=this.isDOMElementAnEvent(e.target),_=t.mousedUp;if(t.mousedUp=!1,p&&(this.domEvents.cancelClickEventCreation=!0),o.eventCreated)return;if(n){const{originalEnd:E,originalEndTimeMinutes:I,endTimeMinutes:Y}=i,w=this.view.events.find($=>$._eid===i._eid);if(r=Y&&Y!==I,w&&w.end.getTime()!==E.getTime()){const $=this.mutableEvents.find(q=>q._eid===i._eid);$.endTimeMinutes=w.endTimeMinutes,$.end=w.end;const O=this.cleanupEvent(w),S={...this.cleanupEvent(w),end:E,endTimeMinutes:w.originalEndTimeMinutes};this.$emit("event-duration-change",{event:O,oldDate:i.originalEnd,originalEvent:S}),this.$emit("event-change",{event:O,originalEvent:S})}w&&(w.resizing=!1),i._eid=null,i.start=null,i.split=null,i.segment=null,i.originalEndTimeMinutes=null,i.originalEnd=null,i.endTimeMinutes=null,i.startCell=null,i.endCell=null}else u&&(d&&(this.emitWithEvent("event-drag-create",d),s.event.resizing=!1),s.start=null,s.split=null,s.event=null);p||n||this.unfocusEvent(),a.timeoutId&&!l&&(clearTimeout(a.timeoutId),a.timeoutId=null),o.timeoutId&&(clearTimeout(o.timeoutId),o.timeoutId=null);const L=typeof this.onEventClick=="function";if(_&&!r&&!l&&!d&&L){let E=this.view.events.find(I=>I._eid===t._eid);return!E&&this.isMonthView&&(E=this.view.outOfScopeEvents.find(I=>I._eid===t._eid)),E&&this.onEventClick(E,e)}},onKeyUp(e){e.keyCode===27&&this.cancelDelete()},eventResizing(e){const{resizeAnEvent:t}=this.domEvents,i=this.view.events.find(d=>d._eid===t._eid)||{segments:{}},{minutes:a,cursorCoords:o}=this.minutesAtCursor(e),s=i.segments&&i.segments[t.segment],{date:l,event:n}=this.utils,r=Math.max(a,this.timeFrom+1,(s||i).startTimeMinutes+1);if(i.endTimeMinutes=t.endTimeMinutes=r,this.snapToTime){const d=i.endTimeMinutes+this.snapToTime/2;i.endTimeMinutes=d-d%this.snapToTime}if(s&&(s.endTimeMinutes=i.endTimeMinutes),i.end.setHours(0,i.endTimeMinutes,i.endTimeMinutes===1440?-1:0,0),this.resizeX&&this.isWeekView){i.daysCount=l.countDays(i.start,i.end);const d=this.cellsEl,u=d.offsetWidth/d.childElementCount,p=Math.floor(o.x/u);if(t.startCell===null&&(t.startCell=p-(i.daysCount-1)),t.endCell!==p){t.endCell=p;const _=l.addDays(i.start,p-t.startCell),L=Math.max(l.countDays(i.start,_),1);if(L!==i.daysCount){let E=null;E=L>i.daysCount?n.addEventSegment(i):n.removeEventSegment(i),t.segment=E,i.endTimeMinutes+=.001}}}this.$emit("event-resizing",{_eid:i._eid,end:i.end,endTimeMinutes:i.endTimeMinutes})},eventDragCreation(e){const{dragCreateAnEvent:t}=this.domEvents,{start:i,startCursorY:a,split:o}=t,s=new Date(i),{minutes:l,cursorCoords:{y:n}}=this.minutesAtCursor(e);if(t.event||!(Math.abs(a-n)a._eid===(e._eid||t._eid));e._eid=null,t._eid=null,i&&(i.focused=!1,i.deleting=!1)},cancelDelete(){const{clickHoldAnEvent:e}=this.domEvents;if(e._eid){const t=this.view.events.find(i=>i._eid===e._eid);t&&(t.deleting=!1),e._eid=null,e.timeoutId=null}},onEventTitleBlur(e,t){if(t.title===e.target.innerHTML)return;const i=t.title;t.title=e.target.innerHTML;const a=this.cleanupEvent(t);this.$emit("event-title-change",{event:a,oldTitle:i}),this.$emit("event-change",{event:a,originalEvent:{...a,title:i}})},updateMutableEvents(){const e=this.utils.date;this.mutableEvents=[],this.events.forEach(t=>{const i=typeof t.start=="string"?e.stringToDate(t.start):t.start,a=e.formatDateLite(i),o=e.dateToMinutes(i);let s=null;typeof t.end=="string"&&t.end.includes("24:00")?(s=new Date(t.end.replace(" 24:00","")),s.setHours(23,59,59,0)):s=typeof t.end=="string"?e.stringToDate(t.end):t.end;let l=e.formatDateLite(s),n=e.dateToMinutes(s);n&&n!==1440||(!this.time||typeof t.end=="string"&&t.end.length===10?s.setHours(23,59,59,0):s.setSeconds(s.getSeconds()-1),l=e.formatDateLite(s),n=1440);const r=a!==l;t=Object.assign({...this.utils.event.eventDefaults},t,{_eid:`${this._.uid}_${this.eventIdIncrement++}`,segments:r?{}:null,start:i,startTimeMinutes:o,end:s,endTimeMinutes:n,daysCount:r?e.countDays(i,s):1,class:t.class}),this.mutableEvents.push(t)})},minutesAtCursor(e){return this.utils.cell.minutesAtCursor(e)},createEvent(e,t,i={}){return this.utils.event.createAnEvent(e,t,i)},cleanupEvent(e){return e={...e},["segments","deletable","deleting","titleEditable","resizable","resizing","draggable","dragging","draggingStatic","focused"].forEach(t=>{t in e&&delete e[t]}),e.repeat||delete e.repeat,e},emitWithEvent(e,t){this.$emit(e,this.cleanupEvent(t))},updateSelectedDate(e){if((e=e&&typeof e=="string"?this.utils.date.stringToDate(e):new Date(e))&&e instanceof Date){const{selectedDate:t}=this.view;t&&(this.transitionDirection=t.getTime()>e.getTime()?"left":"right"),e.setHours(0,0,0,0),t&&t.getTime()===e.getTime()||(this.view.selectedDate=e),this.switchView(this.view.id)}this.$emit("update:selected-date",this.view.selectedDate)},getWeekNumber(e){const t=this.utils.date,i=this.firstCellDateWeekNumber+e,a=this.startWeekOnSunday?1:0;return i>52?t.getWeek(t.addDays(this.view.firstCellDate,7*e+a)):i},timeTick(){this.now=new Date,this.timeTickerIds[1]=setTimeout(this.timeTick,6e4)},updateDateTexts(){this.utils.date.updateTexts(this.texts)},alignWithScrollbar(){if(document.getElementById("vuecal-align-with-scrollbar"))return;const e=this.$refs.vuecal.getElementsByClassName("vuecal__scrollbar-check")[0],t=e.offsetWidth-e.children[0].offsetWidth;if(t){const i=document.createElement("style");i.id="vuecal-align-with-scrollbar",i.type="text/css",i.innerHTML=`.vuecal--view-with-time .vuecal__weekdays-headings,.vuecal--view-with-time .vuecal__all-day {padding-right: ${t}px}`,document.head.appendChild(i)}},cellOrSplitHasEvents:(e,t=null)=>e.length&&(!t&&e.length||t&&e.some(i=>i.split===t.id))},created(){this.utils.cell=new $i(this),this.utils.event=new Li(this,this.utils.date),this.loadLocale(this.locale),this.editEvents.drag&&this.loadDragAndDrop(),this.updateMutableEvents(this.events),this.view.id=this.currentView,this.selectedDate?this.updateSelectedDate(this.selectedDate):(this.view.selectedDate=new Date,this.switchView(this.currentView)),this.time&&this.watchRealTime&&(this.timeTickerIds[0]=setTimeout(this.timeTick,1e3*(60-this.now.getSeconds())))},mounted(){const e=this.utils.date,t="ontouchstart"in window,{resize:i,drag:a,create:o,delete:s,title:l}=this.editEvents,n=this.onEventClick&&typeof this.onEventClick=="function";(i||a||o||s||l||n)&&window.addEventListener(t?"touchend":"mouseup",this.onMouseUp),(i||a||o&&this.dragToCreateEvent)&&window.addEventListener(t?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),l&&window.addEventListener("keyup",this.onKeyUp),t&&(this.$refs.vuecal.oncontextmenu=function(u){u.preventDefault(),u.stopPropagation()}),this.hideBody||this.alignWithScrollbar();const r=this.view.startDate,d={view:this.view.id,startDate:r,endDate:this.view.endDate,...this.isMonthView?{firstCellDate:this.view.firstCellDate,lastCellDate:this.view.lastCellDate}:{},events:this.view.events.map(this.cleanupEvent),...this.isWeekView?{week:e.getWeek(this.startWeekOnSunday?e.addDays(r,1):r)}:{}};this.$emit("ready",d),this.ready=!0},beforeUnmount(){const e="ontouchstart"in window;window.removeEventListener(e?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),window.removeEventListener(e?"touchend":"mouseup",this.onMouseUp),window.removeEventListener("keyup",this.onKeyUp),this.timeTickerIds[0]&&clearTimeout(this.timeTickerIds[0]),this.timeTickerIds[1]&&clearTimeout(this.timeTickerIds[1]),this.timeTickerIds=[null,null]},computed:{editEvents(){return this.editableEvents&&typeof this.editableEvents=="object"?{title:!!this.editableEvents.title,drag:!!this.editableEvents.drag,resize:!!this.editableEvents.resize,create:!!this.editableEvents.create,delete:!!this.editableEvents.delete}:{title:!!this.editableEvents,drag:!!this.editableEvents,resize:!!this.editableEvents,create:!!this.editableEvents,delete:!!this.editableEvents}},views(){return{years:{label:this.texts.years,enabled:!this.disableViews.includes("years")},year:{label:this.texts.year,enabled:!this.disableViews.includes("year")},month:{label:this.texts.month,enabled:!this.disableViews.includes("month")},week:{label:this.texts.week,enabled:!this.disableViews.includes("week")},day:{label:this.texts.day,enabled:!this.disableViews.includes("day")}}},currentView(){return this.validateView(this.activeView)},enabledViews(){return Object.keys(this.views).filter(e=>this.views[e].enabled)},hasTimeColumn(){return this.time&&this.isWeekOrDayView},isShortMonthView(){return this.isMonthView&&this.eventsOnMonthView==="short"},firstCellDateWeekNumber(){const e=this.utils.date,t=this.view.firstCellDate;return e.getWeek(this.startWeekOnSunday?e.addDays(t,1):t)},timeCells(){const e=[];for(let t=this.timeFrom,i=this.timeTo;t!e.hide)||[]).map((e,t)=>({...e,id:e.id||t+1}))},hasSplits(){return this.daySplits.length&&this.isWeekOrDayView},hasShortEvents(){return this.showAllDayEvents==="short"},cellOrSplitMinWidth(){let e=null;return this.hasSplits&&this.minSplitWidth?e=this.visibleDaysCount*this.minSplitWidth*this.daySplits.length:this.minCellWidth&&this.isWeekView&&(e=this.visibleDaysCount*this.minCellWidth),e},allDayBar(){let e=this.allDayBarHeight||null;return e&&!isNaN(e)&&(e+="px"),{cells:this.viewCells,options:this.$props,label:this.texts.allDay,shortEvents:this.hasShortEvents,daySplits:this.hasSplits&&this.daySplits||[],cellOrSplitMinWidth:this.cellOrSplitMinWidth,height:e}},minTimestamp(){let e=null;return this.minDate&&typeof this.minDate=="string"?e=this.utils.date.stringToDate(this.minDate):this.minDate&&this.minDate instanceof Date&&(e=this.minDate),e?e.getTime():null},maxTimestamp(){let e=null;return this.maxDate&&typeof this.maxDate=="string"?e=this.utils.date.stringToDate(this.maxDate):this.maxDate&&this.minDate instanceof Date&&(e=this.maxDate),e?e.getTime():null},weekDays(){let{weekDays:e,weekDaysShort:t=[]}=this.texts;return e=e.slice(0).map((i,a)=>({label:i,...t.length?{short:t[a]}:{},hide:this.hideWeekends&&a>=5||this.hideWeekdays.length&&this.hideWeekdays.includes(a+1)})),this.startWeekOnSunday&&e.unshift(e.pop()),e},weekDaysInHeader(){return this.isMonthView||this.isWeekView&&!this.minCellWidth&&!(this.hasSplits&&this.minSplitWidth)},months(){return this.texts.months.map(e=>({label:e}))},specialDayHours(){return this.specialHours&&Object.keys(this.specialHours).length?Array(7).fill("").map((e,t)=>{let i=this.specialHours[t+1]||[];return Array.isArray(i)||(i=[i]),e=[],i.forEach(({from:a,to:o,class:s,label:l},n)=>{e[n]={day:t+1,from:[null,void 0].includes(a)?null:1*a,to:[null,void 0].includes(o)?null:1*o,class:s||"",label:l||""}}),e}):{}},viewTitle(){const e=this.utils.date;let t="";const i=this.view.startDate,a=i.getFullYear(),o=i.getMonth();switch(this.view.id){case"years":t=this.texts.years;break;case"year":t=a;break;case"month":t=`${this.months[o].label} ${a}`;break;case"week":{const s=this.view.endDate,l=i.getFullYear();let n=this.texts.months[i.getMonth()];this.xsmall&&(n=n.substring(0,3));let r=`${n} ${l}`;if(s.getMonth()!==i.getMonth()){const d=s.getFullYear();let u=this.texts.months[s.getMonth()];this.xsmall&&(u=u.substring(0,3)),r=l===d?`${n} - ${u} ${l}`:this.small?`${n.substring(0,3)} ${l} - ${u.substring(0,3)} ${d}`:`${n} ${l} - ${u} ${d}`}t=`${this.texts.week} ${e.getWeek(this.startWeekOnSunday?e.addDays(i,1):i)} (${r})`;break}case"day":t=this.utils.date.formatDate(i,this.texts.dateFormat,this.texts)}return t},viewCells(){const e=this.utils.date;let t=[],i=null,a=!1;this.watchRealTime||(this.now=new Date);const o=this.now;switch(this.view.id){case"years":i=this.view.startDate.getFullYear(),t=Array.apply(null,Array(25)).map((s,l)=>{const n=new Date(i+l,0,1),r=new Date(i+l+1,0,1);return r.setSeconds(-1),{startDate:n,formattedDate:e.formatDateLite(n),endDate:r,content:i+l,current:i+l===o.getFullYear()}});break;case"year":i=this.view.startDate.getFullYear(),t=Array.apply(null,Array(12)).map((s,l)=>{const n=new Date(i,l,1),r=new Date(i,l+1,1);return r.setSeconds(-1),{startDate:n,formattedDate:e.formatDateLite(n),endDate:r,content:this.xsmall?this.months[l].label.substr(0,3):this.months[l].label,current:l===o.getMonth()&&i===o.getFullYear()}});break;case"month":{const s=this.view.startDate.getMonth(),l=new Date(this.view.firstCellDate);a=!1,t=Array.apply(null,Array(42)).map((n,r)=>{const d=e.addDays(l,r),u=new Date(d);u.setHours(23,59,59,0);const p=!a&&e.isToday(d)&&!a++;return{startDate:d,formattedDate:e.formatDateLite(d),endDate:u,content:d.getDate(),today:p,outOfScope:d.getMonth()!==s,class:`vuecal__cell--day${d.getDay()||7}`}}),(this.hideWeekends||this.hideWeekdays.length)&&(t=t.filter(n=>{const r=n.startDate.getDay()||7;return!(this.hideWeekends&&r>=6||this.hideWeekdays.length&&this.hideWeekdays.includes(r))}));break}case"week":{a=!1;const s=this.view.startDate,l=this.weekDays;t=l.map((n,r)=>{const d=e.addDays(s,this.startWeekOnSunday?r-1:r),u=new Date(d);u.setHours(23,59,59,0);const p=(d.getDay()||7)-1;return{startDate:d,formattedDate:e.formatDateLite(d),endDate:u,today:!a&&e.isToday(d)&&!a++,specialHours:this.specialDayHours[p]||[]}}).filter((n,r)=>!l[r].hide);break}case"day":{const s=this.view.startDate,l=new Date(this.view.startDate);l.setHours(23,59,59,0);const n=(s.getDay()||7)-1;t=[{startDate:s,formattedDate:e.formatDateLite(s),endDate:l,today:e.isToday(s),specialHours:this.specialDayHours[n]||[]}];break}}return t},visibleDaysCount(){return this.isDayView?1:7-this.weekDays.reduce((e,t)=>e+t.hide,0)},cellWidth(){return 100/this.visibleDaysCount},cssClasses(){const{resizeAnEvent:e,dragAnEvent:t,dragCreateAnEvent:i}=this.domEvents;return{[`vuecal--${this.view.id}-view`]:!0,[`vuecal--${this.locale}`]:this.locale,"vuecal--no-time":!this.time,"vuecal--view-with-time":this.hasTimeColumn,"vuecal--week-numbers":this.showWeekNumbers&&this.isMonthView,"vuecal--twelve-hour":this.twelveHour,"vuecal--click-to-navigate":this.clickToNavigate,"vuecal--hide-weekends":this.hideWeekends,"vuecal--split-days":this.hasSplits,"vuecal--sticky-split-labels":this.hasSplits&&this.stickySplitLabels,"vuecal--overflow-x":this.minCellWidth&&this.isWeekView||this.hasSplits&&this.minSplitWidth,"vuecal--small":this.small,"vuecal--xsmall":this.xsmall,"vuecal--resizing-event":e._eid,"vuecal--drag-creating-event":i.event,"vuecal--dragging-event":t._eid,"vuecal--events-on-month-view":this.eventsOnMonthView,"vuecal--short-events":this.isMonthView&&this.eventsOnMonthView==="short","vuecal--has-touch":typeof window<"u"&&"ontouchstart"in window}},isYearsOrYearView(){return["years","year"].includes(this.view.id)},isYearsView(){return this.view.id==="years"},isYearView(){return this.view.id==="year"},isMonthView(){return this.view.id==="month"},isWeekOrDayView(){return["week","day"].includes(this.view.id)},isWeekView(){return this.view.id==="week"},isDayView(){return this.view.id==="day"}},watch:{events:{handler(e,t){this.updateMutableEvents(e),this.addEventsToView()},deep:!0},locale(e){this.loadLocale(e)},selectedDate(e){this.updateSelectedDate(e)},activeView(e){this.switchView(e)}}},Ps=te(Is,[["render",function(e,t,i,a,o,s){const l=W("vuecal-header"),n=W("all-day-bar"),r=W("weekdays-headings"),d=W("vuecal-cell");return h(),m("div",{class:H(["vuecal__flex vuecal",s.cssClasses]),column:"",ref:"vuecal",lang:i.locale},[v(l,{options:e.$props,"edit-events":s.editEvents,"view-props":{views:s.views,weekDaysInHeader:s.weekDaysInHeader},"week-days":s.weekDays,"has-splits":s.hasSplits,"day-splits":s.daySplits,"switch-to-narrower-view":s.switchToNarrowerView},_e({"arrow-prev":c(()=>[b(e.$slots,"arrow-prev",{},()=>[x(" "),rs,x(" ")])]),"arrow-next":c(()=>[b(e.$slots,"arrow-next",{},()=>[x(" "),ds,x(" ")])]),"today-button":c(()=>[b(e.$slots,"today-button",{},()=>[D("span",us,f(o.texts.today),1)])]),title:c(()=>[b(e.$slots,"title",{title:s.viewTitle,view:o.view},()=>[x(f(s.viewTitle),1)])]),_:2},[e.$slots["weekday-heading"]?{name:"weekday-heading",fn:c(({heading:u,view:p})=>[b(e.$slots,"weekday-heading",{heading:u,view:p})]),key:"0"}:void 0,e.$slots["split-label"]?{name:"split-label",fn:c(({split:u})=>[b(e.$slots,"split-label",{split:u,view:o.view.id})]),key:"1"}:void 0]),1032,["options","edit-events","view-props","week-days","has-splits","day-splits","switch-to-narrower-view"]),i.hideBody?y("",!0):(h(),m("div",cs,[v(ue,{name:`slide-fade--${o.transitionDirection}`,appear:i.transitions},{default:c(()=>[(h(),m("div",{class:"vuecal__flex",style:{"min-width":"100%"},key:!!i.transitions&&o.view.id,column:""},[i.showAllDayEvents&&s.hasTimeColumn&&(!s.cellOrSplitMinWidth||s.isDayView&&!i.minSplitWidth)?(h(),T(n,ke(ee({key:0},s.allDayBar)),{event:c(({event:u,view:p})=>[b(e.$slots,"event",{view:p,event:u},()=>[s.editEvents.title&&u.titleEditable?(h(),m("div",{key:0,class:"vuecal__event-title vuecal__event-title--edit",contenteditable:"",onBlur:_=>s.onEventTitleBlur(_,u),innerHTML:u.title},null,40,hs)):u.title?(h(),m("div",{key:1,class:"vuecal__event-title",innerHTML:u.title},null,8,vs)):y("",!0),!u.content||s.hasShortEvents||s.isShortMonthView?y("",!0):(h(),m("div",{key:2,class:"vuecal__event-content",innerHTML:u.content},null,8,ms))])]),_:3},16)):y("",!0),D("div",{class:H(["vuecal__bg",{vuecal__flex:!s.hasTimeColumn}]),column:""},[D("div",ps,[s.hasTimeColumn?(h(),m("div",_s,[i.showAllDayEvents&&s.cellOrSplitMinWidth&&(!s.isDayView||i.minSplitWidth)?(h(),m("div",{key:0,class:"vuecal__all-day-text",style:B({height:s.allDayBar.height})},[D("span",null,f(o.texts.allDay),1)],4)):y("",!0),(h(!0),m(V,null,A(s.timeCells,(u,p)=>(h(),m("div",{class:"vuecal__time-cell",key:p,style:B(`height: ${i.timeCellHeight}px`)},[b(e.$slots,"time-cell",{hours:u.hours,minutes:u.minutes},()=>[gs,D("span",ws,f(u.label),1)])],4))),128))])):y("",!0),i.showWeekNumbers&&s.isMonthView?(h(),m("div",ys,[(h(),m(V,null,A(6,u=>D("div",{class:"vuecal__flex vuecal__week-number-cell",key:u,grow:""},[b(e.$slots,"week-number-cell",{week:s.getWeekNumber(u-1)},()=>[x(f(s.getWeekNumber(u-1)),1)])])),64))])):y("",!0),D("div",{class:H(["vuecal__flex vuecal__cells",`${o.view.id}-view`]),grow:"",wrap:!s.cellOrSplitMinWidth||!s.isWeekView,column:!!s.cellOrSplitMinWidth},[s.cellOrSplitMinWidth&&s.isWeekView?(h(),T(r,{key:0,"transition-direction":o.transitionDirection,"week-days":s.weekDays,"switch-to-narrower-view":s.switchToNarrowerView,style:B(s.cellOrSplitMinWidth?`min-width: ${s.cellOrSplitMinWidth}px`:"")},_e({_:2},[e.$slots["weekday-heading"]?{name:"weekday-heading",fn:c(({heading:u,view:p})=>[b(e.$slots,"weekday-heading",{heading:u,view:p})]),key:"0"}:void 0,e.$slots["split-label"]?{name:"split-label",fn:c(({split:u})=>[b(e.$slots,"split-label",{split:u,view:o.view.id})]),key:"1"}:void 0]),1032,["transition-direction","week-days","switch-to-narrower-view","style"])):s.hasSplits&&i.stickySplitLabels&&i.minSplitWidth?(h(),m("div",{key:1,class:"vuecal__flex vuecal__split-days-headers",style:B(s.cellOrSplitMinWidth?`min-width: ${s.cellOrSplitMinWidth}px`:"")},[(h(!0),m(V,null,A(s.daySplits,(u,p)=>(h(),m("div",{class:H(["day-split-header",u.class||!1]),key:p},[b(e.$slots,"split-label",{split:u,view:o.view.id},()=>[x(f(u.label),1)])],2))),128))],4)):y("",!0),i.showAllDayEvents&&s.hasTimeColumn&&(s.isWeekView&&s.cellOrSplitMinWidth||s.isDayView&&s.hasSplits&&i.minSplitWidth)?(h(),T(n,ke(ee({key:2},s.allDayBar)),{event:c(({event:u,view:p})=>[b(e.$slots,"event",{view:p,event:u},()=>[s.editEvents.title&&u.titleEditable?(h(),m("div",{key:0,class:"vuecal__event-title vuecal__event-title--edit",contenteditable:"",onBlur:_=>s.onEventTitleBlur(_,u),innerHTML:u.title},null,40,Ds)):u.title?(h(),m("div",{key:1,class:"vuecal__event-title",innerHTML:u.title},null,8,bs)):y("",!0),!u.content||s.hasShortEvents||s.isShortMonthView?y("",!0):(h(),m("div",{key:2,class:"vuecal__event-content",innerHTML:u.content},null,8,ks))])]),_:3},16)):y("",!0),D("div",{class:"vuecal__flex",ref:u=>o.cellsEl=u,grow:"",wrap:!s.cellOrSplitMinWidth||!s.isWeekView,style:B(s.cellOrSplitMinWidth?`min-width: ${s.cellOrSplitMinWidth}px`:"")},[(h(!0),m(V,null,A(s.viewCells,(u,p)=>(h(),T(d,{key:p,options:e.$props,"edit-events":s.editEvents,data:u,"cell-width":i.hideWeekdays.length&&(s.isWeekView||s.isMonthView)&&s.cellWidth,"min-timestamp":s.minTimestamp,"max-timestamp":s.maxTimestamp,"cell-splits":s.hasSplits&&s.daySplits||[]},{"cell-content":c(({events:_,split:L,selectCell:E})=>[b(e.$slots,"cell-content",{cell:u,view:o.view,goNarrower:E,events:_},()=>[L&&!i.stickySplitLabels?(h(),m("div",{key:0,class:"split-label",innerHTML:L.label},null,8,Ts)):y("",!0),u.content?(h(),m("div",{key:1,class:"vuecal__cell-date",innerHTML:u.content},null,8,Cs)):y("",!0),(s.isMonthView&&!i.eventsOnMonthView||s.isYearsOrYearView&&i.eventsCountOnYearView)&&_.length?(h(),m("div",Ms,[b(e.$slots,"events-count",{view:o.view,events:_},()=>[x(f(_.length),1)])])):y("",!0),!s.cellOrSplitHasEvents(_,L)&&s.isWeekOrDayView?(h(),m("div",xs,[b(e.$slots,"no-event",{},()=>[x(f(o.texts.noEvent),1)])])):y("",!0)])]),event:c(({event:_,view:L})=>[b(e.$slots,"event",{view:L,event:_},()=>[s.editEvents.title&&_.titleEditable?(h(),m("div",{key:0,class:"vuecal__event-title vuecal__event-title--edit",contenteditable:"",onBlur:E=>s.onEventTitleBlur(E,_),innerHTML:_.title},null,40,Ss)):_.title?(h(),m("div",{key:1,class:"vuecal__event-title",innerHTML:_.title},null,8,Vs)):y("",!0),!i.time||_.allDay||s.isMonthView&&(_.allDay||i.showAllDayEvents==="short")||s.isShortMonthView?y("",!0):(h(),m("div",Os,[x(f(o.utils.date.formatTime(_.start,s.TimeFormat)),1),_.endTimeMinutes?(h(),m("span",As," - "+f(o.utils.date.formatTime(_.end,s.TimeFormat,null,!0)),1)):y("",!0),_.daysCount>1&&(_.segments[u.formattedDate]||{}).isFirstDay?(h(),m("small",$s," +"+f(_.daysCount-1)+f((o.texts.day[0]||"").toLowerCase()),1)):y("",!0)])),!_.content||s.isMonthView&&_.allDay&&i.showAllDayEvents==="short"||s.isShortMonthView?y("",!0):(h(),m("div",{key:3,class:"vuecal__event-content",innerHTML:_.content},null,8,Ls))])]),"no-event":c(()=>[b(e.$slots,"no-event",{},()=>[x(f(o.texts.noEvent),1)])]),_:2},1032,["options","edit-events","data","cell-width","min-timestamp","max-timestamp","cell-splits"]))),128))],12,Es)],10,fs)])],2)]))]),_:3},8,["name","appear"]),o.ready?y("",!0):(h(),m("div",Hs,Ws))]))],10,os)}]]);const js={components:{VueCal:Ps},setup(){const e=k([]);function t(){N.get("api/general_vacation/generalvacation/").then(o=>{console.log(o.data,"----------------------");for(let s in o.data)s=="План-график"&&o.data[s].map(l=>{e.value.push({name:l.name,start:l.start_work_period,end:l.end_work_period,content:l.name})})})}oe(()=>{t()});const i=k(null);function a(o){const s=new Date(o);let l="сегодня";return s.getFullYear()!="1970"&&(l=`${s.getDate()} число`),l}return{events:e,selectedDate:i,f_generalvacation:t,dayformat:a}}};function Ys(e,t,i,a,o,s){const l=W("vue-cal");return h(),T(F,null,{default:c(()=>[v(j,{class:"flex-column pr-0"},{default:c(()=>[v(P,{class:"h-100"},{default:c(()=>[v(l,{locale:"ru",xsmall:"",time:!1,"hide-view-selector":"","disable-views":["years","year","week","day"],"events-count-on-year-view":"","active-view":"month",events:a.events,todayButton:"",onCellFocus:t[1]||(t[1]=n=>a.selectedDate=n)},{"arrow-prev":c(()=>[v(U,{icon:"mdi-menu-left"})]),"arrow-next":c(()=>[v(U,{icon:"mdi-menu-right"})]),"today-button":c(()=>[v(Pe,{text:"Сегодня",location:"bottom"},{activator:c(({props:n})=>[v(U,ee({onClick:t[0]||(t[0]=r=>a.selectedDate=new Date)},n,{icon:"mdi-crosshairs-gps",size:"x-small",class:"pt-1 pr-3",color:"more_details_btn"}),null,16)]),_:1})]),_:1},8,["events"])]),_:1})]),_:1}),v(j,null,{default:c(()=>[v(P,{class:"h-100"},{default:c(()=>[v(ie,{class:"text-center"},{default:c(()=>[x("События на "+f(a.dayformat(a.selectedDate)),1)]),_:1}),v(l,{locale:"ru",xsmall:"",time:!1,"hide-view-selector":"",hideTitleBar:"",split:"","header-format":"DD",events:a.events,"active-view":"day","disable-views":["years","year","month","week"],"selected-date":a.selectedDate},{"arrow-prev":c(()=>[v(U,{icon:"mdi-menu-left"})]),"arrow-next":c(()=>[v(U,{icon:"mdi-menu-right"})]),"today-button":c(()=>[]),_:1},8,["events","selected-date"])]),_:1})]),_:1})]),_:1})}const Fs=K(js,[["render",Ys]]);const Rs={components:{CarouselList:Zt,CarouselNumbers:si,CalendarFull:li,NewsListHome:fi,LoadRound:Ut,DigitalLetna:Vi,EventCalendar:Fs},setup(){const e=xt(),t=k([]),i=k(null);St();const a=we();oe(()=>{o(),console.log(a.user.is_staff,"=1==1=1=1=1=1=1=1=1=1==1==1=1=1=1=1")});const o=()=>{N.get("api/watcher/selectedlinks/").then(s=>{t.value=s.data})};return{accountStore:a,appStore:e,favoritLinks:o,favorit:t,toggle:i}}};function Bs(e,t,i,a,o,s){const l=W("Carousel-list"),n=W("event-calendar"),r=W("digital-letna"),d=W("News-list-home");return h(),T(We,{fluid:"",class:"d-flex mx-0 h-100"},{default:c(()=>[v(F,null,{default:c(()=>[v(j,{class:"d-flex flex-column",lg:"7"},{default:c(()=>[v(F,{class:"flex-grow-0"},{default:c(()=>[v(j,{class:"pr-0 pb-0"},{default:c(()=>[v(l)]),_:1})]),_:1}),v(F,null,{default:c(()=>[v(j,{class:"pr-0 pt-0 d-flex pt-3 flex-column"},{default:c(()=>[v(n)]),_:1})]),_:1})]),_:1}),v(j,{class:"flex-column d-flex ma-3"},{default:c(()=>[v(F,null,{default:c(()=>[v(j,{cols:"4",class:"flex-grow-0 pa-0 pb-3"},{default:c(()=>[v(r)]),_:1}),v(j,{class:"flex-column d-flex pr-0 pt-0 pb-0"},{default:c(()=>[v(P,{class:"flex-column pik overflow-auto"},{default:c(()=>[v(d)]),_:1})]),_:1})]),_:1}),v(F,{class:"flex-grow-0"},{default:c(()=>[v(j,{class:"pa-0"},{default:c(()=>[v(P,{class:"flex-colmn"},{default:c(()=>[v(Pt,{modelValue:a.toggle,"onUpdate:modelValue":t[0]||(t[0]=u=>a.toggle=u),divided:"",variant:"outlined"},{default:c(()=>[(h(!0),m(V,null,A(a.favorit,u=>(h(),T(Pe,{key:u,text:u.page,location:"top"},{activator:c(({props:p})=>[v(ce,ee(p,{icon:u.ico,to:u.fullPath}),null,16,["icon","to"])]),_:2},1032,["text"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const sa=K(Rs,[["render",Bs]]);export{sa as default}; diff --git a/src/front/dist/assets/HomePage-125db1bc.css b/src/front/dist/assets/HomePage-5f22ff2c.css similarity index 99% rename from src/front/dist/assets/HomePage-125db1bc.css rename to src/front/dist/assets/HomePage-5f22ff2c.css index f08e35fcf..5dae58ab2 100644 --- a/src/front/dist/assets/HomePage-125db1bc.css +++ b/src/front/dist/assets/HomePage-5f22ff2c.css @@ -1 +1 @@ -.bgCard{background:#ffffff38}.bgText{background:#ffffffb0;line-height:2.1rem!important}.titles{font-family:cursive!important;background:#ffffff8c}.textareas .v-field__input{font-size:1.3em!important}.numstyle{font-size:2.875rem!important;line-height:2.5rem!important;font-family:cursive!important;background:#ffffffb0}.statstyle{background:#ffffffb0;font-size:1rem!important}.g{background-color:#fff}.v-sheet{display:block;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:0;background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity))}.v-sheet--border{border-width:thin;box-shadow:none}.v-sheet--absolute{position:absolute}.v-sheet--fixed{position:fixed}.v-sheet--relative{position:relative}.v-sheet--sticky{position:sticky}.v-sheet--rounded{border-radius:4px}#fc-dom-1:first-letter{text-transform:capitalize}.fc-toolbar{background-color:#f8f8f8}.fc-day-header{font-weight:700;text-align:center}.fc-day{border:none}.fc-time-grid-event{background-color:#e6e6e6;border:none;color:#000}.fc-event-title{font-weight:700}.fc .fc-toolbar.fc-header-toolbar{padding-bottom:.2em;margin-bottom:0}.fc .fc-popover{top:0!important;left:450px!important;overflow:auto;min-width:500px;height:380px}.fc-h-event .fc-event-title{display:initial!important}.fc{background-color:var("bg-main_theme")}.fc-button{padding:1px!important;border-radius:1em!important;line-height:0!important;background-color:transparent!important;border-color:transparent!important}.fc-icon{color:#000;display:flex}.fc-button:focus,.fc-icon{outline:none!important}.fc-button,.fc-buttonactive,.fc-button:focus{border:none!important}.fc-header-toolbar{background:white!important}.pagination[data-v-73fdd918]{display:flex}.newsVH[data-v-73fdd918]{height:90vh}.bgchat[data-v-73fdd918]{background-color:#efe9f98a}.bgchatnot[data-v-73fdd918]{background-color:#eef9efad}.fiction .v-input__control{display:none}.v-switch .v-label{padding-inline-start:10px}.v-switch__loader{display:flex}.v-switch__track,.v-switch__thumb{background-color:currentColor;transition:none}.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__track,.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__thumb{background-color:rgb(var(--v-theme-error))}.v-selection-control--dirty .v-switch__thumb{color:currentColor}.v-switch__track{border-radius:8px;height:14px;opacity:.6;width:36px;cursor:pointer}.v-switch--inset .v-switch__track{border-radius:14px;height:28px;width:48px}.v-switch__thumb{align-items:center;border-radius:50%;color:rgb(var(--v-theme-surface));display:flex;height:20px;justify-content:center;width:20px;pointer-events:none;transition:.15s transform cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-switch--inset .v-switch__thumb{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-switch:not(.v-switch--loading) .v-icon~.v-switch__thumb{display:none}.v-switch--loading .v-selection-control__input>.v-icon{display:none}.v-switch .v-selection-control{min-height:var(--v-input-control-height)}.v-switch .v-selection-control__input{border-radius:50%;transition:.15s transform cubic-bezier(.4,0,.2,1);transform:translate(-10px);position:absolute}.v-switch .v-selection-control--dirty .v-selection-control__input{transform:translate(10px)}.v-switch.v-switch--indeterminate .v-selection-control__input{transform:scale(.8)}.v-switch.v-switch--indeterminate .v-switch__thumb{transform:scale(.75);box-shadow:none}.v-switch.v-switch--inset .v-selection-control__wrapper{width:auto}.vuecal__weekdays-headings{border-bottom:1px solid #ddd;margin-bottom:-1px}.vuecal--week-numbers .vuecal__weekdays-headings,.vuecal--view-with-time .vuecal__weekdays-headings{padding-left:3em}.vuecal--view-with-time.vuecal--twelve-hour .vuecal__weekdays-headings{font-size:.9em;padding-left:4em}.vuecal--overflow-x.vuecal--view-with-time .vuecal__weekdays-headings{padding-left:0}.vuecal__heading{width:100%;height:2.8em;font-weight:400;justify-content:center;text-align:center;align-items:center;position:relative;overflow:hidden}.vuecal__heading>.vuecal__flex{width:100%;height:100%;align-items:initial!important}.vuecal--sticky-split-labels .vuecal__heading{height:3.4em}.vuecal--month-view .vuecal__heading,.vuecal--week-view .vuecal__heading,.vuecal--day-view .vuecal__heading{width:14.2857%}.vuecal--hide-weekends.vuecal--month-view .vuecal__heading,.vuecal--hide-weekends.vuecal--week-view .vuecal__heading,.vuecal--hide-weekends.vuecal--day-view .vuecal__heading,.vuecal--years-view .vuecal__heading{width:20%}.vuecal--year-view .vuecal__heading{width:33.33%}.vuecal__heading .weekday-label{flex-shrink:0;display:flex;justify-content:center;align-items:center}.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .small,.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal .vuecal__split-days-headers{align-items:center}@media screen and (max-width: 550px){.vuecal__heading{line-height:1.2}.vuecal__heading .small,.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .full,.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .small,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .xsmall{display:block}.vuecal--overflow-x .vuecal__heading .small,.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--small.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .full,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .small{display:none}}@media screen and (max-width: 450px){.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .full,.vuecal__heading .small,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal--small.vuecal--overflow-x .vuecal__heading .small,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .xsmall{display:block}.vuecal--small.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .full,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .small{display:none}}.vuecal__header button{outline:none;font-family:inherit}.vuecal__menu{padding:0;margin:0;list-style-type:none;justify-content:center;background-color:#00000005}.vuecal__view-btn{background:none;border:none;padding:.3em 1em;height:2.2em;font-size:1.3em;border-bottom:0 solid currentColor;cursor:pointer;color:inherit;box-sizing:border-box;transition:.2s}.vuecal__view-btn--active{border-bottom-width:2px;background:rgba(255,255,255,.15)}.vuecal__title-bar{background-color:#0000001a;display:flex;align-items:center;text-align:center;justify-content:space-between;font-size:1.4em;line-height:1.3;min-height:2em}.vuecal--xsmall .vuecal__title-bar{font-size:1.3em}.vuecal__title{position:relative;justify-content:center}.vuecal__title button{cursor:pointer;background:none;border:none}.vuecal__title button.slide-fade--left-leave-active,.vuecal__title button.slide-fade--right-leave-active{width:100%}.vuecal__today-btn{position:relative;align-items:center;display:flex;font-size:.8em;background:none;border:none}.vuecal__today-btn span.default{font-size:.8em;padding:3px 6px;text-transform:uppercase;cursor:pointer}.vuecal__arrow{cursor:pointer;position:relative;z-index:1;background:none;border:none;white-space:nowrap}.vuecal__arrow--prev{margin-left:.6em}.vuecal__arrow--next{margin-right:.6em}.vuecal__arrow i.angle{display:inline-block;border:solid currentColor;border-width:0 2px 2px 0;padding:.25em;transform:rotate(-45deg)}.vuecal__arrow--prev i.angle{border-width:2px 0 0 2px}.vuecal__arrow--highlighted,.vuecal__today-btn--highlighted,.vuecal__view-btn--highlighted{position:relative;background-color:#0000000a}.vuecal__arrow--highlighted *,.vuecal__today-btn--highlighted *,.vuecal__view-btn--highlighted *{pointer-events:none}.vuecal__arrow--highlighted:before,.vuecal__arrow--highlighted:after,.vuecal__today-btn--highlighted:before,.vuecal__today-btn--highlighted:after,.vuecal__view-btn--highlighted:before,.vuecal__view-btn--highlighted:after{content:"";background-color:inherit;animation:sonar .8s infinite ease-out;position:absolute;top:50%;left:50%;pointer-events:none}.vuecal__arrow--highlighted:before,.vuecal__today-btn--highlighted:before,.vuecal__view-btn--highlighted:before{width:3em;height:3em;border-radius:3em;margin-top:-1.5em;margin-left:-1.5em}.vuecal__arrow--highlighted:after,.vuecal__today-btn--highlighted:after,.vuecal__view-btn--highlighted:after{animation-duration:1.5s;animation-delay:.1s;width:2.6em;height:2.6em;border-radius:2.6em;margin-top:-1.3em;margin-left:-1.3em}@keyframes sonar{0%,20%{opacity:1}to{transform:scale(2.5);opacity:0}}@media screen and (max-width: 450px){.vuecal__title{font-size:.9em}.vuecal__view-btn{padding-left:.6em;padding-right:.6em}}@media screen and (max-width: 350px){.vuecal__view-btn{font-size:1.1em}}.vuecal__event{color:#666;background-color:#f8f8f8cc;position:relative;box-sizing:border-box;left:0;width:100%;z-index:1;transition:box-shadow .3s,left .3s,width .3s;overflow:hidden}.vuecal--no-time .vuecal__event{min-height:8px}.vuecal:not(.vuecal--dragging-event) .vuecal__event:hover{z-index:2}.vuecal__cell .vuecal__event *{-webkit-user-select:text;-moz-user-select:text;user-select:text}.vuecal--view-with-time .vuecal__event:not(.vuecal__event--all-day){position:absolute}.vuecal--view-with-time .vuecal__bg .vuecal__event--all-day{position:absolute;top:0;bottom:0;z-index:0;opacity:.6;width:auto;right:0}.vuecal--view-with-time .vuecal__all-day .vuecal__event--all-day{position:relative;left:0}.vuecal__event--background{z-index:0}.vuecal__event--focus,.vuecal__event:focus{box-shadow:1px 1px 6px #0003;z-index:3;outline:none}.vuecal__event.vuecal__event--dragging{opacity:.7}.vuecal__event.vuecal__event--static{opacity:0;transition:opacity .1s}@-moz-document url-prefix(){.vuecal__event.vuecal__event--dragging{opacity:1}}.vuecal__event-resize-handle{position:absolute;bottom:0;left:0;right:0;height:1em;background-color:#ffffff4d;opacity:0;transform:translateY(110%);transition:.3s;cursor:ns-resize}.vuecal__event:hover .vuecal__event-resize-handle,.vuecal__event:focus .vuecal__event-resize-handle,.vuecal__event--focus .vuecal__event-resize-handle,.vuecal__event--resizing .vuecal__event-resize-handle{opacity:1;transform:translateY(0)}.vuecal__event--dragging .vuecal__event-resize-handle{display:none}.vuecal__event-delete{position:absolute;top:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center;height:1.4em;line-height:1.4em;background-color:#dd3333d9;color:#fff;z-index:0;cursor:pointer;transform:translateY(-110%);transition:.3s}.vuecal__event .vuecal__event-delete{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal--full-height-delete .vuecal__event-delete{height:auto;bottom:0}.vuecal--full-height-delete .vuecal__event-delete:before{content:"";width:1.7em;height:1.8em;display:block;background-image:url('data:image/svg+xml;utf8,')}.vuecal__event--deletable .vuecal__event-delete{transform:translateY(0);z-index:1}.vuecal__event--deletable.vuecal__event--dragging .vuecal__event-delete{opacity:0;transition:none}.vuecal--month-view .vuecal__event-title{font-size:.85em}.vuecal--short-events .vuecal__event-title{text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 3px}.vuecal__event-title,.vuecal__event-content{-webkit-hyphens:auto;hyphens:auto}.vuecal__event-title--edit{border-bottom:1px solid transparent;text-align:center;transition:.3s;color:inherit;background-image:url('data:image/svg+xml;utf8,');background-repeat:no-repeat;background-position:120% .15em;background-size:.4em;outline:none;width:100%}.vuecal__event-title--edit:hover,.vuecal__event-title--edit:focus{border-color:#0006;background-position:99% .15em;background-size:1.2em}.vuecal__cell{position:relative;width:100%;display:flex;justify-content:center;align-items:center;text-align:center;transition:.15s ease-in-out background-color}.vuecal__cells.month-view .vuecal__cell,.vuecal__cells.week-view .vuecal__cell{width:14.2857%}.vuecal--hide-weekends .vuecal__cells.month-view .vuecal__cell,.vuecal--hide-weekends .vuecal__cells.week-view .vuecal__cell,.vuecal__cells.years-view .vuecal__cell{width:20%}.vuecal__cells.year-view .vuecal__cell{width:33.33%}.vuecal__cells.day-view .vuecal__cell{flex:1}.vuecal--overflow-x.vuecal--day-view .vuecal__cell{width:auto}.vuecal--click-to-navigate .vuecal__cell:not(.vuecal__cell--disabled){cursor:pointer}.vuecal--view-with-time .vuecal__cell,.vuecal--week-view.vuecal--no-time .vuecal__cell:not(.vuecal__cell--has-splits),.vuecal--day-view.vuecal--no-time .vuecal__cell:not(.vuecal__cell--has-splits){display:block}.vuecal__cell.vuecal__cell--has-splits{flex-direction:row;display:flex}.vuecal__cell:before{content:"";position:absolute;z-index:0;top:0;left:0;right:-1px;bottom:-1px;border:1px solid rgba(196,196,196,.25)}.vuecal--overflow-x.vuecal--day-view .vuecal__cell:before{bottom:0}.vuecal__cell--today,.vuecal__cell--current{background-color:#f0f0ff66;z-index:1}.vuecal__cell--selected{background-color:#ebfff566;z-index:2}.vuecal--day-view .vuecal__cell--selected{background:none}.vuecal__cell--out-of-scope{color:#00000040}.vuecal__cell--disabled{color:#00000040;cursor:not-allowed}.vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal__cell-split.vuecal__cell-split--highlighted{background-color:#0000000a;transition-duration:5ms}.vuecal__cell-content{position:relative;width:100%;height:100%;outline:none}.vuecal--years-view .vuecal__cell-content,.vuecal--year-view .vuecal__cell-content,.vuecal--month-view .vuecal__cell-content{justify-content:center}.vuecal__cell .cell-time-labels{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column}.vuecal__cell .cell-time-label{flex-grow:1;font-size:.8em;opacity:.3;line-height:1.7}.vuecal__cell-split{display:flex;flex-grow:1;flex-direction:column;height:100%;position:relative;transition:.15s ease-in-out background-color}.vuecal__cell-events{width:100%}.vuecal__cell-events-count{position:absolute;left:50%;top:65%;transform:translate(-50%);min-width:12px;height:12px;line-height:12px;padding:0 3px;background:#999;color:#fff;border-radius:12px;font-size:10px;box-sizing:border-box}.vuecal__cell .vuecal__special-hours{position:absolute;left:0;right:0;box-sizing:border-box}.vuecal--overflow-x.vuecal--week-view .vuecal__cell,.vuecal__cell-split{overflow:hidden}.vuecal__no-event{padding-top:1em;color:#aaa;justify-self:flex-start;margin-bottom:auto}.vuecal__all-day .vuecal__no-event{display:none}.vuecal__now-line{position:absolute;left:0;width:100%;height:0;color:red;border-top:1px solid currentColor;opacity:.6;z-index:1}.vuecal__now-line:before{content:"";position:absolute;top:-6px;left:0;border:5px solid transparent;border-left-color:currentColor}.vuecal{height:100%;box-shadow:0 0 0 1px inset #00000014}.vuecal *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal--has-touch *:not(.vuecal__event-title--edit){-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal .clickable{cursor:pointer}.vuecal--resizing-event,.vuecal--drag-creating-event{cursor:ns-resize}.vuecal--dragging-event{cursor:move;cursor:grabbing}.vuecal .dragging-helper{position:absolute;width:60px;height:40px;background:rgba(138,190,230,.8);border:1px solid #61a9e0;z-index:10}.vuecal--xsmall{font-size:.9em}.vuecal__flex{display:flex;flex-direction:row}.vuecal__flex[column]{flex-direction:column;flex:1 1 auto}.vuecal__flex[grow]{flex:1 1 auto;width:100%}.vuecal__flex[wrap]{flex-wrap:wrap}.vuecal__split-days-headers.slide-fade--right-leave-active{display:none}.vuecal--week-numbers.vuecal--month-view .vuecal__split-days-headers{margin-left:3em}.vuecal--day-view:not(.vuecal--overflow-x) .vuecal__split-days-headers{margin-left:3em;height:2.2em}.vuecal--day-view.vuecal--twelve-hour:not(.vuecal--overflow-x) .vuecal__split-days-headers{margin-left:4em}.vuecal__split-days-headers .day-split-header{display:flex;flex-grow:1;flex-basis:0;justify-content:center;align-items:center;height:100%}.vuecal__split-days-headers .vuecal--day-view.vuecal--overflow-x.vuecal--sticky-split-labels .day-split-header{height:1.5em}.vuecal__body{position:relative;overflow:hidden}.vuecal__all-day{min-height:1.7em;margin-bottom:-1px;flex-shrink:0}.vuecal__all-day-text{width:3em;box-sizing:border-box;color:#999;padding-right:2px;display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;border-bottom:1px solid #ddd;-webkit-hyphens:auto;hyphens:auto}.vuecal__all-day-text span{font-size:.85em;text-align:right;line-height:1.1}.vuecal--twelve-hour .vuecal__all-day>span{width:4em}.vuecal__bg{overflow:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;min-height:60px;position:relative;width:100%}.vuecal--no-time .vuecal__bg{display:flex;flex:1 1 auto;overflow:auto}.vuecal__week-numbers{width:3em;flex-shrink:0!important}.vuecal__week-numbers .vuecal__week-number-cell{opacity:.4;font-size:.9em;align-items:center;justify-items:center;justify-content:center}.vuecal__scrollbar-check{position:absolute;top:0;left:0;right:0;bottom:0;overflow:scroll;visibility:hidden;z-index:-1}.vuecal__scrollbar-check div{height:120%}.vuecal__time-column{width:3em;height:100%;flex-shrink:0}.vuecal--twelve-hour .vuecal__time-column{width:4em;font-size:.9em}.vuecal--overflow-x.vuecal--week-view .vuecal__time-column{margin-top:2.8em;box-shadow:0 1px 1px #0000004d}.vuecal--overflow-x.vuecal--week-view.vuecal--sticky-split-labels .vuecal__time-column{margin-top:3.4em}.vuecal--overflow-x.vuecal--day-view.vuecal--sticky-split-labels .vuecal__time-column{margin-top:1.5em}.vuecal__time-column .vuecal__time-cell{color:#999;text-align:right;padding-right:2px;font-size:.9em}.vuecal__time-column .vuecal__time-cell-line:before{content:"";position:absolute;left:0;right:0;border-top:1px solid rgba(196,196,196,.3)}.vuecal__cells{margin:0 1px 1px 0}.vuecal--overflow-x.vuecal--day-view .vuecal__cells{margin:0}.vuecal--events-on-month-view.vuecal--short-events .vuecal__cells{width:99.9%}.vuecal--overflow-x.vuecal--day-view .vuecal__cells,.vuecal--overflow-x.vuecal--week-view .vuecal__cells{flex-wrap:nowrap;overflow:auto}.slide-fade--left-enter-active,.slide-fade--left-leave-active,.slide-fade--right-enter-active,.slide-fade--right-leave-active{transition:.25s ease-out}.slide-fade--left-enter-from,.slide-fade--right-leave-to{transform:translate(-15px);opacity:0}.slide-fade--left-leave-to,.slide-fade--right-enter-from{transform:translate(15px);opacity:0}.slide-fade--left-leave-active,.slide-fade--right-leave-active{position:absolute!important;height:100%}.vuecal__title-bar .slide-fade--left-leave-active,.vuecal__title-bar .slide-fade--right-leave-active{left:0;right:0;height:auto}.vuecal__heading .slide-fade--left-leave-active,.vuecal__heading .slide-fade--right-leave-active{display:flex;align-items:center}.vuecal--green-theme .vuecal__menu,.vuecal--green-theme .vuecal__cell-events-count{background-color:#42b983;color:#fff}.vuecal--green-theme .vuecal__title-bar{background-color:#e4f5ef}.vuecal--green-theme .vuecal__cell--today,.vuecal--green-theme .vuecal__cell--current{background-color:#f0f0ff66}.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--selected{background-color:#ebfff566}.vuecal--green-theme .vuecal__cell--selected:before{border-color:#42b98380}.vuecal--green-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--green-theme .vuecal__cell-split--highlighted{background-color:#c3ffe180}.vuecal--green-theme .vuecal__arrow--highlighted,.vuecal--green-theme .vuecal__today-btn--highlighted,.vuecal--green-theme .vuecal__view-btn--highlighted{background-color:#88ecbf40}.vuecal--blue-theme .vuecal__menu,.vuecal--blue-theme .vuecal__cell-events-count{background-color:#42a3b9cc;color:#fff}.vuecal--blue-theme .vuecal__title-bar{background-color:#00a5bc4d}.vuecal--blue-theme .vuecal__cell--today,.vuecal--blue-theme .vuecal__cell--current{background-color:#f0f0ff66}.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--selected{background-color:#ebfdff66}.vuecal--blue-theme .vuecal__cell--selected:before{border-color:#73bfcc80}.vuecal--blue-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--blue-theme .vuecal__cell-split--highlighted{background-color:#00a5bc0f}.vuecal--blue-theme .vuecal__arrow--highlighted,.vuecal--blue-theme .vuecal__today-btn--highlighted,.vuecal--blue-theme .vuecal__view-btn--highlighted{background-color:#42a3b933}.vuecal--rounded-theme .vuecal__weekdays-headings{border:none}.vuecal--rounded-theme .vuecal__cell,.vuecal--rounded-theme .vuecal__cell:before{background:none;border:none}.vuecal--rounded-theme .vuecal__cell--out-of-scope{opacity:.4}.vuecal--rounded-theme .vuecal__cell-content{width:30px;height:30px;flex-grow:0;border:1px solid transparent;border-radius:30px;color:#333}.vuecal--rounded-theme.vuecal--day-view .vuecal__cell-content{width:auto;background:none}.vuecal--rounded-theme.vuecal--year-view .vuecal__cell{width:33.33%}.vuecal--rounded-theme.vuecal--year-view .vuecal__cell-content{width:85px}.vuecal--rounded-theme.vuecal--years-view .vuecal__cell-content{width:52px}.vuecal--rounded-theme .vuecal__cell{background-color:transparent!important}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell-content{background-color:#f1faf7}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{background-color:#42b983;color:#fff}.vuecal--rounded-theme.vuecal--green-theme .vuecal--day-view .vuecal__cell--today:before{background-color:#42b9830d}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{border-color:#42b983}.vuecal--rounded-theme.vuecal--green-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--rounded-theme.vuecal--green-theme .vuecal__cell-split--highlighted{background-color:#c3ffe180}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell-content{background-color:#64b6ff33}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{background-color:#8fb7e4;color:#fff}.vuecal--rounded-theme.vuecal--blue-theme .vuecal--day-view .vuecal__cell--today:before{background-color:#8fb7e41a}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{border-color:#61a9e0}.vuecal--rounded-theme.vuecal--blue-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--rounded-theme.vuecal--blue-theme .vuecal__cell-split--highlighted{background-color:#00a5bc0f}.vuecal--date-picker .vuecal__title-bar{font-size:1.2em}.vuecal--date-picker .vuecal__heading{height:2.2em;font-weight:500;opacity:.4}.vuecal--date-picker .vuecal__weekdays-headings{border:none}.vuecal--date-picker .vuecal__body{margin-left:1px}.vuecal--date-picker .vuecal__cell,.vuecal--date-picker .vuecal__cell:before{background:none;border:none}.vuecal--date-picker .vuecal__cell-content{height:26px;flex-grow:0;border:1px solid transparent;border-radius:25px;transition:background-color .2s cubic-bezier(.39,.58,.57,1)}.vuecal--date-picker.vuecal--years-view .vuecal__cell-content{flex:0;padding:0 4px;height:24px}.vuecal--date-picker.vuecal--year-view .vuecal__cell-content{flex:0;padding:0 15px}.vuecal--date-picker.vuecal--month-view .vuecal__cell-content{width:26px}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell-content:hover{background-color:#0000001a}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{background-color:#42b982;color:#fff}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--current .vuecal__cell-content,.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{border-color:#42b982}.vuecal__cell-events-count{width:20px;min-width:0;height:11px;padding:0;color:transparent}.vuecal{border-radius:6px}.vuecal__title-bar{border-top-left-radius:3px;border-top-right-radius:3px}.vuecal__title-bar{background:var(--cards)}.vuecal__flex .vuecal__title{font-family:sans-serif}.vuecal__cell-events-count{position:absolute;left:50%;top:65%;transform:translate(-50%);min-width:15px;height:15px;line-height:15px;padding:0;background:linear-gradient(to top right,rgba(19,84,122,.8),rgba(128,208,199,.8));color:#f8fff9!important;border-radius:12px;font-size:10px;box-sizing:border-box}.vuecal__event{color:#666;background-color:transparent;padding:10px;position:relative;box-sizing:border-box;left:0;width:100%;z-index:1;transition:box-shadow .3s,left .3s,width .3s;overflow:hidden;text-align:justify}.vuecal--rounded-theme .vuecal__cell-content{width:30px;height:30px;flex-grow:0;border:1px solid #00a5bc00;background:#c2e9d78c;border-radius:30px;color:#333}.vuecal__cell-content{cursor:pointer}.vuecal__body{position:relative;overflow:auto;height:0}.vuecal--no-time .vuecal__event{min-height:20px}.vuecal__cell--selected:before{border-color:#1e413180}.vuecal__cell--today,.vuecal__cell--current{background-color:#eeb5d68c}.vuecal__cell--selected:before{border-color:#1e413100}.vuecal__cell--selected{background-color:#3a97694a;z-index:2}.v-picker-title,.v-picker__header,.v-picker__actions{display:none}.pik{height:85.48vh}.hicard{height:40%!important;overflow:auto}.fg{height:240px;overflow:auto}.fixed-bar{position:sticky;position:-webkit-sticky;top:0;z-index:2} +.bgCard{background:#ffffff38}.bgText{background:#ffffffb0;line-height:2.1rem!important}.titles{font-family:cursive!important;background:#ffffff8c}.textareas .v-field__input{font-size:1.3em!important}.numstyle{font-size:2.875rem!important;line-height:2.5rem!important;font-family:cursive!important;background:#ffffffb0}.statstyle{background:#ffffffb0;font-size:1rem!important}.g{background-color:#fff}.v-sheet{display:block;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:0;background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity))}.v-sheet--border{border-width:thin;box-shadow:none}.v-sheet--absolute{position:absolute}.v-sheet--fixed{position:fixed}.v-sheet--relative{position:relative}.v-sheet--sticky{position:sticky}.v-sheet--rounded{border-radius:4px}#fc-dom-1:first-letter{text-transform:capitalize}.fc-toolbar{background-color:#f8f8f8}.fc-day-header{font-weight:700;text-align:center}.fc-day{border:none}.fc-time-grid-event{background-color:#e6e6e6;border:none;color:#000}.fc-event-title{font-weight:700}.fc .fc-toolbar.fc-header-toolbar{padding-bottom:.2em;margin-bottom:0}.fc .fc-popover{top:0!important;left:450px!important;overflow:auto;min-width:500px;height:380px}.fc-h-event .fc-event-title{display:initial!important}.fc{background-color:var("bg-main_theme")}.fc-button{padding:1px!important;border-radius:1em!important;line-height:0!important;background-color:transparent!important;border-color:transparent!important}.fc-icon{color:#000;display:flex}.fc-button:focus,.fc-icon{outline:none!important}.fc-button,.fc-buttonactive,.fc-button:focus{border:none!important}.fc-header-toolbar{background:white!important}.pagination[data-v-73fdd918]{display:flex}.newsVH[data-v-73fdd918]{height:90vh}.bgchat[data-v-73fdd918]{background-color:#efe9f98a}.bgchatnot[data-v-73fdd918]{background-color:#eef9efad}.fiction .v-input__control{display:none}.v-switch .v-label{padding-inline-start:10px}.v-switch__loader{display:flex}.v-switch__track,.v-switch__thumb{background-color:currentColor;transition:none}.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__track,.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__thumb{background-color:rgb(var(--v-theme-error))}.v-selection-control--dirty .v-switch__thumb{color:currentColor}.v-switch__track{border-radius:8px;height:14px;opacity:.6;width:36px;cursor:pointer}.v-switch--inset .v-switch__track{border-radius:14px;height:28px;width:48px}.v-switch__thumb{align-items:center;border-radius:50%;color:rgb(var(--v-theme-surface));display:flex;height:20px;justify-content:center;width:20px;pointer-events:none;transition:.15s transform cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-switch--inset .v-switch__thumb{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-switch:not(.v-switch--loading) .v-icon~.v-switch__thumb{display:none}.v-switch--loading .v-selection-control__input>.v-icon{display:none}.v-switch .v-selection-control{min-height:var(--v-input-control-height)}.v-switch .v-selection-control__input{border-radius:50%;transition:.15s transform cubic-bezier(.4,0,.2,1);transform:translate(-10px);position:absolute}.v-switch .v-selection-control--dirty .v-selection-control__input{transform:translate(10px)}.v-switch.v-switch--indeterminate .v-selection-control__input{transform:scale(.8)}.v-switch.v-switch--indeterminate .v-switch__thumb{transform:scale(.75);box-shadow:none}.v-switch.v-switch--inset .v-selection-control__wrapper{width:auto}.vuecal__weekdays-headings{border-bottom:1px solid #ddd;margin-bottom:-1px}.vuecal--week-numbers .vuecal__weekdays-headings,.vuecal--view-with-time .vuecal__weekdays-headings{padding-left:3em}.vuecal--view-with-time.vuecal--twelve-hour .vuecal__weekdays-headings{font-size:.9em;padding-left:4em}.vuecal--overflow-x.vuecal--view-with-time .vuecal__weekdays-headings{padding-left:0}.vuecal__heading{width:100%;height:2.8em;font-weight:400;justify-content:center;text-align:center;align-items:center;position:relative;overflow:hidden}.vuecal__heading>.vuecal__flex{width:100%;height:100%;align-items:initial!important}.vuecal--sticky-split-labels .vuecal__heading{height:3.4em}.vuecal--month-view .vuecal__heading,.vuecal--week-view .vuecal__heading,.vuecal--day-view .vuecal__heading{width:14.2857%}.vuecal--hide-weekends.vuecal--month-view .vuecal__heading,.vuecal--hide-weekends.vuecal--week-view .vuecal__heading,.vuecal--hide-weekends.vuecal--day-view .vuecal__heading,.vuecal--years-view .vuecal__heading{width:20%}.vuecal--year-view .vuecal__heading{width:33.33%}.vuecal__heading .weekday-label{flex-shrink:0;display:flex;justify-content:center;align-items:center}.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .small,.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal .vuecal__split-days-headers{align-items:center}@media screen and (max-width: 550px){.vuecal__heading{line-height:1.2}.vuecal__heading .small,.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .full,.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .small,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .xsmall{display:block}.vuecal--overflow-x .vuecal__heading .small,.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--small.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .full,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .small{display:none}}@media screen and (max-width: 450px){.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .full,.vuecal__heading .small,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal--small.vuecal--overflow-x .vuecal__heading .small,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .xsmall{display:block}.vuecal--small.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .full,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .small{display:none}}.vuecal__header button{outline:none;font-family:inherit}.vuecal__menu{padding:0;margin:0;list-style-type:none;justify-content:center;background-color:#00000005}.vuecal__view-btn{background:none;border:none;padding:.3em 1em;height:2.2em;font-size:1.3em;border-bottom:0 solid currentColor;cursor:pointer;color:inherit;box-sizing:border-box;transition:.2s}.vuecal__view-btn--active{border-bottom-width:2px;background:rgba(255,255,255,.15)}.vuecal__title-bar{background-color:#0000001a;display:flex;align-items:center;text-align:center;justify-content:space-between;font-size:1.4em;line-height:1.3;min-height:2em}.vuecal--xsmall .vuecal__title-bar{font-size:1.3em}.vuecal__title{position:relative;justify-content:center}.vuecal__title button{cursor:pointer;background:none;border:none}.vuecal__title button.slide-fade--left-leave-active,.vuecal__title button.slide-fade--right-leave-active{width:100%}.vuecal__today-btn{position:relative;align-items:center;display:flex;font-size:.8em;background:none;border:none}.vuecal__today-btn span.default{font-size:.8em;padding:3px 6px;text-transform:uppercase;cursor:pointer}.vuecal__arrow{cursor:pointer;position:relative;z-index:1;background:none;border:none;white-space:nowrap}.vuecal__arrow--prev{margin-left:.6em}.vuecal__arrow--next{margin-right:.6em}.vuecal__arrow i.angle{display:inline-block;border:solid currentColor;border-width:0 2px 2px 0;padding:.25em;transform:rotate(-45deg)}.vuecal__arrow--prev i.angle{border-width:2px 0 0 2px}.vuecal__arrow--highlighted,.vuecal__today-btn--highlighted,.vuecal__view-btn--highlighted{position:relative;background-color:#0000000a}.vuecal__arrow--highlighted *,.vuecal__today-btn--highlighted *,.vuecal__view-btn--highlighted *{pointer-events:none}.vuecal__arrow--highlighted:before,.vuecal__arrow--highlighted:after,.vuecal__today-btn--highlighted:before,.vuecal__today-btn--highlighted:after,.vuecal__view-btn--highlighted:before,.vuecal__view-btn--highlighted:after{content:"";background-color:inherit;animation:sonar .8s infinite ease-out;position:absolute;top:50%;left:50%;pointer-events:none}.vuecal__arrow--highlighted:before,.vuecal__today-btn--highlighted:before,.vuecal__view-btn--highlighted:before{width:3em;height:3em;border-radius:3em;margin-top:-1.5em;margin-left:-1.5em}.vuecal__arrow--highlighted:after,.vuecal__today-btn--highlighted:after,.vuecal__view-btn--highlighted:after{animation-duration:1.5s;animation-delay:.1s;width:2.6em;height:2.6em;border-radius:2.6em;margin-top:-1.3em;margin-left:-1.3em}@keyframes sonar{0%,20%{opacity:1}to{transform:scale(2.5);opacity:0}}@media screen and (max-width: 450px){.vuecal__title{font-size:.9em}.vuecal__view-btn{padding-left:.6em;padding-right:.6em}}@media screen and (max-width: 350px){.vuecal__view-btn{font-size:1.1em}}.vuecal__event{color:#666;background-color:#f8f8f8cc;position:relative;box-sizing:border-box;left:0;width:100%;z-index:1;transition:box-shadow .3s,left .3s,width .3s;overflow:hidden}.vuecal--no-time .vuecal__event{min-height:8px}.vuecal:not(.vuecal--dragging-event) .vuecal__event:hover{z-index:2}.vuecal__cell .vuecal__event *{-webkit-user-select:text;-moz-user-select:text;user-select:text}.vuecal--view-with-time .vuecal__event:not(.vuecal__event--all-day){position:absolute}.vuecal--view-with-time .vuecal__bg .vuecal__event--all-day{position:absolute;top:0;bottom:0;z-index:0;opacity:.6;width:auto;right:0}.vuecal--view-with-time .vuecal__all-day .vuecal__event--all-day{position:relative;left:0}.vuecal__event--background{z-index:0}.vuecal__event--focus,.vuecal__event:focus{box-shadow:1px 1px 6px #0003;z-index:3;outline:none}.vuecal__event.vuecal__event--dragging{opacity:.7}.vuecal__event.vuecal__event--static{opacity:0;transition:opacity .1s}@-moz-document url-prefix(){.vuecal__event.vuecal__event--dragging{opacity:1}}.vuecal__event-resize-handle{position:absolute;bottom:0;left:0;right:0;height:1em;background-color:#ffffff4d;opacity:0;transform:translateY(110%);transition:.3s;cursor:ns-resize}.vuecal__event:hover .vuecal__event-resize-handle,.vuecal__event:focus .vuecal__event-resize-handle,.vuecal__event--focus .vuecal__event-resize-handle,.vuecal__event--resizing .vuecal__event-resize-handle{opacity:1;transform:translateY(0)}.vuecal__event--dragging .vuecal__event-resize-handle{display:none}.vuecal__event-delete{position:absolute;top:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center;height:1.4em;line-height:1.4em;background-color:#dd3333d9;color:#fff;z-index:0;cursor:pointer;transform:translateY(-110%);transition:.3s}.vuecal__event .vuecal__event-delete{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal--full-height-delete .vuecal__event-delete{height:auto;bottom:0}.vuecal--full-height-delete .vuecal__event-delete:before{content:"";width:1.7em;height:1.8em;display:block;background-image:url('data:image/svg+xml;utf8,')}.vuecal__event--deletable .vuecal__event-delete{transform:translateY(0);z-index:1}.vuecal__event--deletable.vuecal__event--dragging .vuecal__event-delete{opacity:0;transition:none}.vuecal--month-view .vuecal__event-title{font-size:.85em}.vuecal--short-events .vuecal__event-title{text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 3px}.vuecal__event-title,.vuecal__event-content{-webkit-hyphens:auto;hyphens:auto}.vuecal__event-title--edit{border-bottom:1px solid transparent;text-align:center;transition:.3s;color:inherit;background-image:url('data:image/svg+xml;utf8,');background-repeat:no-repeat;background-position:120% .15em;background-size:.4em;outline:none;width:100%}.vuecal__event-title--edit:hover,.vuecal__event-title--edit:focus{border-color:#0006;background-position:99% .15em;background-size:1.2em}.vuecal__cell{position:relative;width:100%;display:flex;justify-content:center;align-items:center;text-align:center;transition:.15s ease-in-out background-color}.vuecal__cells.month-view .vuecal__cell,.vuecal__cells.week-view .vuecal__cell{width:14.2857%}.vuecal--hide-weekends .vuecal__cells.month-view .vuecal__cell,.vuecal--hide-weekends .vuecal__cells.week-view .vuecal__cell,.vuecal__cells.years-view .vuecal__cell{width:20%}.vuecal__cells.year-view .vuecal__cell{width:33.33%}.vuecal__cells.day-view .vuecal__cell{flex:1}.vuecal--overflow-x.vuecal--day-view .vuecal__cell{width:auto}.vuecal--click-to-navigate .vuecal__cell:not(.vuecal__cell--disabled){cursor:pointer}.vuecal--view-with-time .vuecal__cell,.vuecal--week-view.vuecal--no-time .vuecal__cell:not(.vuecal__cell--has-splits),.vuecal--day-view.vuecal--no-time .vuecal__cell:not(.vuecal__cell--has-splits){display:block}.vuecal__cell.vuecal__cell--has-splits{flex-direction:row;display:flex}.vuecal__cell:before{content:"";position:absolute;z-index:0;top:0;left:0;right:-1px;bottom:-1px;border:1px solid rgba(196,196,196,.25)}.vuecal--overflow-x.vuecal--day-view .vuecal__cell:before{bottom:0}.vuecal__cell--today,.vuecal__cell--current{background-color:#f0f0ff66;z-index:1}.vuecal__cell--selected{background-color:#ebfff566;z-index:2}.vuecal--day-view .vuecal__cell--selected{background:none}.vuecal__cell--out-of-scope{color:#00000040}.vuecal__cell--disabled{color:#00000040;cursor:not-allowed}.vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal__cell-split.vuecal__cell-split--highlighted{background-color:#0000000a;transition-duration:5ms}.vuecal__cell-content{position:relative;width:100%;height:100%;outline:none}.vuecal--years-view .vuecal__cell-content,.vuecal--year-view .vuecal__cell-content,.vuecal--month-view .vuecal__cell-content{justify-content:center}.vuecal__cell .cell-time-labels{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column}.vuecal__cell .cell-time-label{flex-grow:1;font-size:.8em;opacity:.3;line-height:1.7}.vuecal__cell-split{display:flex;flex-grow:1;flex-direction:column;height:100%;position:relative;transition:.15s ease-in-out background-color}.vuecal__cell-events{width:100%}.vuecal__cell-events-count{position:absolute;left:50%;top:65%;transform:translate(-50%);min-width:12px;height:12px;line-height:12px;padding:0 3px;background:#999;color:#fff;border-radius:12px;font-size:10px;box-sizing:border-box}.vuecal__cell .vuecal__special-hours{position:absolute;left:0;right:0;box-sizing:border-box}.vuecal--overflow-x.vuecal--week-view .vuecal__cell,.vuecal__cell-split{overflow:hidden}.vuecal__no-event{padding-top:1em;color:#aaa;justify-self:flex-start;margin-bottom:auto}.vuecal__all-day .vuecal__no-event{display:none}.vuecal__now-line{position:absolute;left:0;width:100%;height:0;color:red;border-top:1px solid currentColor;opacity:.6;z-index:1}.vuecal__now-line:before{content:"";position:absolute;top:-6px;left:0;border:5px solid transparent;border-left-color:currentColor}.vuecal{height:100%;box-shadow:0 0 0 1px inset #00000014}.vuecal *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal--has-touch *:not(.vuecal__event-title--edit){-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal .clickable{cursor:pointer}.vuecal--resizing-event,.vuecal--drag-creating-event{cursor:ns-resize}.vuecal--dragging-event{cursor:move;cursor:grabbing}.vuecal .dragging-helper{position:absolute;width:60px;height:40px;background:rgba(138,190,230,.8);border:1px solid #61a9e0;z-index:10}.vuecal--xsmall{font-size:.9em}.vuecal__flex{display:flex;flex-direction:row}.vuecal__flex[column]{flex-direction:column;flex:1 1 auto}.vuecal__flex[grow]{flex:1 1 auto;width:100%}.vuecal__flex[wrap]{flex-wrap:wrap}.vuecal__split-days-headers.slide-fade--right-leave-active{display:none}.vuecal--week-numbers.vuecal--month-view .vuecal__split-days-headers{margin-left:3em}.vuecal--day-view:not(.vuecal--overflow-x) .vuecal__split-days-headers{margin-left:3em;height:2.2em}.vuecal--day-view.vuecal--twelve-hour:not(.vuecal--overflow-x) .vuecal__split-days-headers{margin-left:4em}.vuecal__split-days-headers .day-split-header{display:flex;flex-grow:1;flex-basis:0;justify-content:center;align-items:center;height:100%}.vuecal__split-days-headers .vuecal--day-view.vuecal--overflow-x.vuecal--sticky-split-labels .day-split-header{height:1.5em}.vuecal__body{position:relative;overflow:hidden}.vuecal__all-day{min-height:1.7em;margin-bottom:-1px;flex-shrink:0}.vuecal__all-day-text{width:3em;box-sizing:border-box;color:#999;padding-right:2px;display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;border-bottom:1px solid #ddd;-webkit-hyphens:auto;hyphens:auto}.vuecal__all-day-text span{font-size:.85em;text-align:right;line-height:1.1}.vuecal--twelve-hour .vuecal__all-day>span{width:4em}.vuecal__bg{overflow:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;min-height:60px;position:relative;width:100%}.vuecal--no-time .vuecal__bg{display:flex;flex:1 1 auto;overflow:auto}.vuecal__week-numbers{width:3em;flex-shrink:0!important}.vuecal__week-numbers .vuecal__week-number-cell{opacity:.4;font-size:.9em;align-items:center;justify-items:center;justify-content:center}.vuecal__scrollbar-check{position:absolute;top:0;left:0;right:0;bottom:0;overflow:scroll;visibility:hidden;z-index:-1}.vuecal__scrollbar-check div{height:120%}.vuecal__time-column{width:3em;height:100%;flex-shrink:0}.vuecal--twelve-hour .vuecal__time-column{width:4em;font-size:.9em}.vuecal--overflow-x.vuecal--week-view .vuecal__time-column{margin-top:2.8em;box-shadow:0 1px 1px #0000004d}.vuecal--overflow-x.vuecal--week-view.vuecal--sticky-split-labels .vuecal__time-column{margin-top:3.4em}.vuecal--overflow-x.vuecal--day-view.vuecal--sticky-split-labels .vuecal__time-column{margin-top:1.5em}.vuecal__time-column .vuecal__time-cell{color:#999;text-align:right;padding-right:2px;font-size:.9em}.vuecal__time-column .vuecal__time-cell-line:before{content:"";position:absolute;left:0;right:0;border-top:1px solid rgba(196,196,196,.3)}.vuecal__cells{margin:0 1px 1px 0}.vuecal--overflow-x.vuecal--day-view .vuecal__cells{margin:0}.vuecal--events-on-month-view.vuecal--short-events .vuecal__cells{width:99.9%}.vuecal--overflow-x.vuecal--day-view .vuecal__cells,.vuecal--overflow-x.vuecal--week-view .vuecal__cells{flex-wrap:nowrap;overflow:auto}.slide-fade--left-enter-active,.slide-fade--left-leave-active,.slide-fade--right-enter-active,.slide-fade--right-leave-active{transition:.25s ease-out}.slide-fade--left-enter-from,.slide-fade--right-leave-to{transform:translate(-15px);opacity:0}.slide-fade--left-leave-to,.slide-fade--right-enter-from{transform:translate(15px);opacity:0}.slide-fade--left-leave-active,.slide-fade--right-leave-active{position:absolute!important;height:100%}.vuecal__title-bar .slide-fade--left-leave-active,.vuecal__title-bar .slide-fade--right-leave-active{left:0;right:0;height:auto}.vuecal__heading .slide-fade--left-leave-active,.vuecal__heading .slide-fade--right-leave-active{display:flex;align-items:center}.vuecal--green-theme .vuecal__menu,.vuecal--green-theme .vuecal__cell-events-count{background-color:#42b983;color:#fff}.vuecal--green-theme .vuecal__title-bar{background-color:#e4f5ef}.vuecal--green-theme .vuecal__cell--today,.vuecal--green-theme .vuecal__cell--current{background-color:#f0f0ff66}.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--selected{background-color:#ebfff566}.vuecal--green-theme .vuecal__cell--selected:before{border-color:#42b98380}.vuecal--green-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--green-theme .vuecal__cell-split--highlighted{background-color:#c3ffe180}.vuecal--green-theme .vuecal__arrow--highlighted,.vuecal--green-theme .vuecal__today-btn--highlighted,.vuecal--green-theme .vuecal__view-btn--highlighted{background-color:#88ecbf40}.vuecal--blue-theme .vuecal__menu,.vuecal--blue-theme .vuecal__cell-events-count{background-color:#42a3b9cc;color:#fff}.vuecal--blue-theme .vuecal__title-bar{background-color:#00a5bc4d}.vuecal--blue-theme .vuecal__cell--today,.vuecal--blue-theme .vuecal__cell--current{background-color:#f0f0ff66}.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--selected{background-color:#ebfdff66}.vuecal--blue-theme .vuecal__cell--selected:before{border-color:#73bfcc80}.vuecal--blue-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--blue-theme .vuecal__cell-split--highlighted{background-color:#00a5bc0f}.vuecal--blue-theme .vuecal__arrow--highlighted,.vuecal--blue-theme .vuecal__today-btn--highlighted,.vuecal--blue-theme .vuecal__view-btn--highlighted{background-color:#42a3b933}.vuecal--rounded-theme .vuecal__weekdays-headings{border:none}.vuecal--rounded-theme .vuecal__cell,.vuecal--rounded-theme .vuecal__cell:before{background:none;border:none}.vuecal--rounded-theme .vuecal__cell--out-of-scope{opacity:.4}.vuecal--rounded-theme .vuecal__cell-content{width:30px;height:30px;flex-grow:0;border:1px solid transparent;border-radius:30px;color:#333}.vuecal--rounded-theme.vuecal--day-view .vuecal__cell-content{width:auto;background:none}.vuecal--rounded-theme.vuecal--year-view .vuecal__cell{width:33.33%}.vuecal--rounded-theme.vuecal--year-view .vuecal__cell-content{width:85px}.vuecal--rounded-theme.vuecal--years-view .vuecal__cell-content{width:52px}.vuecal--rounded-theme .vuecal__cell{background-color:transparent!important}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell-content{background-color:#f1faf7}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{background-color:#42b983;color:#fff}.vuecal--rounded-theme.vuecal--green-theme .vuecal--day-view .vuecal__cell--today:before{background-color:#42b9830d}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{border-color:#42b983}.vuecal--rounded-theme.vuecal--green-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--rounded-theme.vuecal--green-theme .vuecal__cell-split--highlighted{background-color:#c3ffe180}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell-content{background-color:#64b6ff33}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{background-color:#8fb7e4;color:#fff}.vuecal--rounded-theme.vuecal--blue-theme .vuecal--day-view .vuecal__cell--today:before{background-color:#8fb7e41a}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{border-color:#61a9e0}.vuecal--rounded-theme.vuecal--blue-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--rounded-theme.vuecal--blue-theme .vuecal__cell-split--highlighted{background-color:#00a5bc0f}.vuecal--date-picker .vuecal__title-bar{font-size:1.2em}.vuecal--date-picker .vuecal__heading{height:2.2em;font-weight:500;opacity:.4}.vuecal--date-picker .vuecal__weekdays-headings{border:none}.vuecal--date-picker .vuecal__body{margin-left:1px}.vuecal--date-picker .vuecal__cell,.vuecal--date-picker .vuecal__cell:before{background:none;border:none}.vuecal--date-picker .vuecal__cell-content{height:26px;flex-grow:0;border:1px solid transparent;border-radius:25px;transition:background-color .2s cubic-bezier(.39,.58,.57,1)}.vuecal--date-picker.vuecal--years-view .vuecal__cell-content{flex:0;padding:0 4px;height:24px}.vuecal--date-picker.vuecal--year-view .vuecal__cell-content{flex:0;padding:0 15px}.vuecal--date-picker.vuecal--month-view .vuecal__cell-content{width:26px}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell-content:hover{background-color:#0000001a}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{background-color:#42b982;color:#fff}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--current .vuecal__cell-content,.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{border-color:#42b982}.vuecal__cell-events-count{width:20px;min-width:0;height:11px;padding:0;color:transparent}.vuecal{border-radius:6px}.vuecal__title-bar{border-top-left-radius:3px;border-top-right-radius:3px}.vuecal__title-bar{background:var(--cards)}.vuecal__flex .vuecal__title{font-family:sans-serif}.vuecal__cell-events-count{position:absolute;left:50%;top:65%;transform:translate(-50%);min-width:15px;height:15px;line-height:15px;padding:0;background:linear-gradient(to top right,rgba(19,84,122,.8),rgba(128,208,199,.8));color:#f8fff9!important;border-radius:12px;font-size:10px;box-sizing:border-box}.vuecal__event{color:#666;background-color:transparent;padding:10px;position:relative;box-sizing:border-box;left:0;width:100%;z-index:1;transition:box-shadow .3s,left .3s,width .3s;overflow:hidden;text-align:justify}.vuecal--rounded-theme .vuecal__cell-content{width:30px;height:30px;flex-grow:0;border:1px solid #00a5bc00;background:#c2e9d78c;border-radius:30px;color:#333}.vuecal__cell-content{cursor:pointer}.vuecal__body{position:relative;overflow:auto;height:0}.vuecal--no-time .vuecal__event{min-height:20px}.vuecal__cell--selected:before{border-color:#1e413180}.vuecal__cell--today,.vuecal__cell--current{background-color:#eeb5d68c}.vuecal__cell--selected:before{border-color:#1e413100}.vuecal__cell--selected{background-color:#3a97694a;z-index:2}.v-picker-title,.v-picker__header,.v-picker__actions{display:none}.pik{height:84vh}.hicard{height:40%!important;overflow:auto}.fg{height:240px;overflow:auto}.fixed-bar{position:sticky;position:-webkit-sticky;top:0;z-index:2} diff --git a/src/front/dist/assets/LaborProtection-b57201e2.js b/src/front/dist/assets/LaborProtection-275ce736.js similarity index 83% rename from src/front/dist/assets/LaborProtection-b57201e2.js rename to src/front/dist/assets/LaborProtection-275ce736.js index c05e0d609..2b517e6f1 100644 --- a/src/front/dist/assets/LaborProtection-b57201e2.js +++ b/src/front/dist/assets/LaborProtection-275ce736.js @@ -1 +1 @@ -import{_ as t,aB as a,C as o,D as s,E as e,K as r,F as c,G as n,L as l}from"./index-c88a2b18.js";const _={setup(){a()}};function f(i,p,u,x,d,g){return o(),s(r,null,{default:e(()=>[c(l,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[n(" Охрана труда ")]),_:1})]),_:1})}const V=t(_,[["render",f]]);export{V as default}; +import{_ as t,aB as a,C as o,D as s,E as e,K as r,F as c,G as n,L as l}from"./index-cb66bb90.js";const _={setup(){a()}};function f(i,p,u,x,d,g){return o(),s(r,null,{default:e(()=>[c(l,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[n(" Охрана труда ")]),_:1})]),_:1})}const V=t(_,[["render",f]]);export{V as default}; diff --git a/src/front/dist/assets/NewsPage-9ed76a27.css b/src/front/dist/assets/NewsPage-37091833.css similarity index 78% rename from src/front/dist/assets/NewsPage-9ed76a27.css rename to src/front/dist/assets/NewsPage-37091833.css index 95c13cfe7..69ef16270 100644 --- a/src/front/dist/assets/NewsPage-9ed76a27.css +++ b/src/front/dist/assets/NewsPage-37091833.css @@ -1 +1 @@ -.posFooter[data-v-1dd2e7f6]{position:sticky;margin-top:12px;background-color:transparent;bottom:5px}.newsVH[data-v-1dd2e7f6]{height:92vh}.bgchat[data-v-1dd2e7f6]{background-color:#efe9f98a}.bgchatnot[data-v-1dd2e7f6]{background-color:#eef9efad}.mwidth[data-v-1dd2e7f6]{min-width:50px}.heigCard[data-v-1dd2e7f6]{height:46vh}.commentHeight[data-v-1dd2e7f6]{height:91.5vh}.h_cards[data-v-1dd2e7f6]{height:86vh}.place-it[data-v-1dd2e7f6]{place-items:center}.v-pagination__list{display:inline-flex;list-style-type:none;justify-content:center;width:100%}.v-pagination__item,.v-pagination__first,.v-pagination__prev,.v-pagination__next,.v-pagination__last{margin:.3rem}.v-select .v-field .v-text-field__prefix,.v-select .v-field .v-text-field__suffix,.v-select .v-field .v-field__input,.v-select .v-field.v-field{cursor:pointer}.v-select .v-field .v-field__input>input{align-self:flex-start;opacity:1;flex:0 0;position:absolute;width:100%;transition:none;pointer-events:none;caret-color:transparent}.v-select .v-field--dirty .v-select__selection{margin-inline-end:2px}.v-select .v-select__selection-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-select__content{overflow:hidden;box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:4px}.v-select__selection{display:inline-flex;align-items:center;letter-spacing:inherit;line-height:inherit;max-width:100%}.v-select .v-select__selection{margin-top:var(--v-input-chips-margin-top);margin-bottom:var(--v-input-chips-margin-bottom)}.v-select .v-select__selection:first-child{margin-inline-start:0}.v-select--selected .v-field .v-field__input>input{opacity:0}.v-select__menu-icon{margin-inline-start:4px;transition:.2s cubic-bezier(.4,0,.2,1)}.v-select--active-menu .v-select__menu-icon{opacity:var(--v-high-emphasis-opacity);transform:rotate(180deg)}.v-virtual-scroll{display:block;flex:1 1 auto;max-width:100%;overflow:auto;position:relative}.v-virtual-scroll__container{display:block} +.posFooter[data-v-0036c5e2]{position:sticky;margin-top:12px;background-color:transparent;bottom:5px}.newsVH[data-v-0036c5e2]{height:92vh}.bgchat[data-v-0036c5e2]{background-color:#efe9f98a}.bgchatnot[data-v-0036c5e2]{background-color:#eef9efad}.mwidth[data-v-0036c5e2]{min-width:50px}.heigCard[data-v-0036c5e2]{height:46vh}.commentHeight[data-v-0036c5e2]{height:91.5vh}.h_cards[data-v-0036c5e2]{height:86vh}.place-it[data-v-0036c5e2]{place-items:center}.v-pagination__list{display:inline-flex;list-style-type:none;justify-content:center;width:100%}.v-pagination__item,.v-pagination__first,.v-pagination__prev,.v-pagination__next,.v-pagination__last{margin:.3rem}.v-select .v-field .v-text-field__prefix,.v-select .v-field .v-text-field__suffix,.v-select .v-field .v-field__input,.v-select .v-field.v-field{cursor:pointer}.v-select .v-field .v-field__input>input{align-self:flex-start;opacity:1;flex:0 0;position:absolute;width:100%;transition:none;pointer-events:none;caret-color:transparent}.v-select .v-field--dirty .v-select__selection{margin-inline-end:2px}.v-select .v-select__selection-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-select__content{overflow:hidden;box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:4px}.v-select__selection{display:inline-flex;align-items:center;letter-spacing:inherit;line-height:inherit;max-width:100%}.v-select .v-select__selection{margin-top:var(--v-input-chips-margin-top);margin-bottom:var(--v-input-chips-margin-bottom)}.v-select .v-select__selection:first-child{margin-inline-start:0}.v-select--selected .v-field .v-field__input>input{opacity:0}.v-select__menu-icon{margin-inline-start:4px;transition:.2s cubic-bezier(.4,0,.2,1)}.v-select--active-menu .v-select__menu-icon{opacity:var(--v-high-emphasis-opacity);transform:rotate(180deg)}.v-virtual-scroll{display:block;flex:1 1 auto;max-width:100%;overflow:auto;position:relative}.v-virtual-scroll__container{display:block} diff --git a/src/front/dist/assets/NewsPage-3a5c7a0d.js b/src/front/dist/assets/NewsPage-3a5c7a0d.js deleted file mode 100644 index ae6bb4adf..000000000 --- a/src/front/dist/assets/NewsPage-3a5c7a0d.js +++ /dev/null @@ -1 +0,0 @@ -import{r as H,aO as Ke,p as se,a0 as ge,ah as Ze,a1 as Ve,a2 as $e,ai as el,aj as ll,a3 as al,a4 as tl,a5 as nl,bg as ol,a6 as ye,a9 as he,a7 as We,ag as il,a8 as sl,av as Ge,s as pe,ap as Re,c as z,ab as ve,al as ne,ac as _e,F as e,H as Z,bh as Be,z as Te,w as ie,Z as Q,at as rl,aa as De,aH as cl,d as ul,aK as dl,as as gl,b as ke,o as fl,bi as ml,bj as vl,bk as hl,b2 as pl,bl as yl,bm as _l,bn as kl,V as oe,ar as bl,G as b,bb as wl,bc as Cl,A as xl,_ as Xe,aN as Il,aP as Vl,aG as me,U as Al,W as Sl,C as k,D as te,E as n,L as i,S as F,Y as V,$ as ce,K as f,N as ze,O as Me,R as ue,I as xe,J as be,M as Ll,aq as T,ad as y,aE as Fe,af as de,bo as Ne,aF as B,ae as D,aQ as Pl,aR as Rl,aB as Bl,X as Tl}from"./index-c88a2b18.js";import{u as Ae,V as I,a as Dl}from"./VBtn-3e30d8f6.js";import{m as zl,g as Ml,u as Fl,V as Ee,d as Nl,b as Ce,a as Ue,h as He,c as Ie}from"./VList-1710ecfb.js";import{d as El}from"./VInput-b34b1163.js";import{m as Ul,V as Hl,f as Ol}from"./VSelectionControl-32b442ed.js";import{V as jl}from"./VChip-e811d273.js";import{V as ql}from"./VTextarea-86c6c8f9.js";import{V as Kl}from"./VSpacer-fbe6a467.js";import{V as Oe}from"./VAlert-e3223400.js";function Wl(){const o=H([]);Ke(()=>o.value=[]);function r(u,t){o.value[t]=u}return{refs:o,updateRef:r}}const Gl=se({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:o=>o.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:o=>o%1===0},totalVisible:[Number,String],firstIcon:{type:ge,default:"$first"},prevIcon:{type:ge,default:"$prev"},nextIcon:{type:ge,default:"$next"},lastIcon:{type:ge,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Ze(),...Ve(),...$e(),...el(),...ll(),...al(),...tl({tag:"nav"}),...nl(),...ol({variant:"text"})},"VPagination"),Xl=ye()({name:"VPagination",props:Gl(),emits:{"update:modelValue":o=>!0,first:o=>!0,prev:o=>!0,next:o=>!0,last:o=>!0},setup(o,r){let{slots:u,emit:t}=r;const m=he(o,"modelValue"),{t:_,n:a}=We(),{isRtl:d}=il(),{themeClasses:l}=sl(o),{width:c}=Ge(),L=pe(-1);Re(void 0,{scoped:!0});const{resizeRef:x}=Ae(g=>{if(!g.length)return;const{target:h,contentRect:C}=g[0],M=h.querySelector(".v-pagination__list > *");if(!M)return;const E=C.width,G=M.offsetWidth+parseFloat(getComputedStyle(M).marginRight)*2;L.value=N(E,G)}),p=z(()=>parseInt(o.length,10)),w=z(()=>parseInt(o.start,10)),P=z(()=>o.totalVisible?parseInt(o.totalVisible,10):L.value>=0?L.value:N(c.value,58));function N(g,h){const C=o.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((g-h*C)/h).toFixed(2)))}const $=z(()=>{if(p.value<=0||isNaN(p.value)||p.value>Number.MAX_SAFE_INTEGER)return[];if(P.value<=1)return[m.value];if(p.value<=P.value)return ve(p.value,w.value);const g=P.value%2===0,h=g?P.value/2:Math.floor(P.value/2),C=g?h:h+1,M=p.value-h;if(C-m.value>=0)return[...ve(Math.max(1,P.value-1),w.value),o.ellipsis,p.value];if(m.value-M>=(g?1:0)){const E=P.value-1,G=p.value-E+w.value;return[w.value,o.ellipsis,...ve(E,G)]}else{const E=Math.max(1,P.value-3),G=E===1?m.value:m.value-Math.ceil(E/2)+w.value;return[w.value,o.ellipsis,...ve(E,G),o.ellipsis,p.value]}});function j(g,h,C){g.preventDefault(),m.value=h,C&&t(C,h)}const{refs:ee,updateRef:le}=Wl();Re({VPaginationBtn:{color:ne(o,"color"),border:ne(o,"border"),density:ne(o,"density"),size:ne(o,"size"),variant:ne(o,"variant"),rounded:ne(o,"rounded"),elevation:ne(o,"elevation")}});const K=z(()=>$.value.map((g,h)=>{const C=M=>le(M,h);if(typeof g=="string")return{isActive:!1,key:`ellipsis-${h}`,page:g,props:{ref:C,ellipsis:!0,icon:!0,disabled:!0}};{const M=g===m.value;return{isActive:M,key:g,page:a(g),props:{ref:C,ellipsis:!1,icon:!0,disabled:!!o.disabled||+o.length<2,color:M?o.activeColor:o.color,ariaCurrent:M,ariaLabel:_(M?o.currentPageAriaLabel:o.pageAriaLabel,g),onClick:E=>j(E,g)}}}})),O=z(()=>{const g=!!o.disabled||m.value<=w.value,h=!!o.disabled||m.value>=w.value+p.value-1;return{first:o.showFirstLastPage?{icon:d.value?o.lastIcon:o.firstIcon,onClick:C=>j(C,w.value,"first"),disabled:g,ariaLabel:_(o.firstAriaLabel),ariaDisabled:g}:void 0,prev:{icon:d.value?o.nextIcon:o.prevIcon,onClick:C=>j(C,m.value-1,"prev"),disabled:g,ariaLabel:_(o.previousAriaLabel),ariaDisabled:g},next:{icon:d.value?o.prevIcon:o.nextIcon,onClick:C=>j(C,m.value+1,"next"),disabled:h,ariaLabel:_(o.nextAriaLabel),ariaDisabled:h},last:o.showFirstLastPage?{icon:d.value?o.firstIcon:o.lastIcon,onClick:C=>j(C,w.value+p.value-1,"last"),disabled:h,ariaLabel:_(o.lastAriaLabel),ariaDisabled:h}:void 0}});function W(){var h;const g=m.value-w.value;(h=ee.value[g])==null||h.$el.focus()}function A(g){g.key===Be.left&&!o.disabled&&m.value>+o.start?(m.value=m.value-1,Te(W)):g.key===Be.right&&!o.disabled&&m.valuee(o.tag,{ref:x,class:["v-pagination",l.value,o.class],style:o.style,role:"navigation","aria-label":_(o.ariaLabel),onKeydown:A,"data-test":"v-pagination-root"},{default:()=>[e("ul",{class:"v-pagination__list"},[o.showFirstLastPage&&e("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[u.first?u.first(O.value.first):e(I,Z({_as:"VPaginationBtn"},O.value.first),null)]),e("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[u.prev?u.prev(O.value.prev):e(I,Z({_as:"VPaginationBtn"},O.value.prev),null)]),K.value.map((g,h)=>e("li",{key:g.key,class:["v-pagination__item",{"v-pagination__item--is-active":g.isActive}],"data-test":"v-pagination-item"},[u.item?u.item(g):e(I,Z({_as:"VPaginationBtn"},g.props),{default:()=>[g.page]})])),e("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[u.next?u.next(O.value.next):e(I,Z({_as:"VPaginationBtn"},O.value.next),null)]),o.showFirstLastPage&&e("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[u.last?u.last(O.value.last):e(I,Z({_as:"VPaginationBtn"},O.value.last),null)])])]})),{}}});const Yl=se({indeterminate:Boolean,indeterminateIcon:{type:ge,default:"$checkboxIndeterminate"},...Ul({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),Jl=ye()({name:"VCheckboxBtn",props:Yl(),emits:{"update:modelValue":o=>!0,"update:indeterminate":o=>!0},setup(o,r){let{slots:u}=r;const t=he(o,"indeterminate"),m=he(o,"modelValue");function _(l){t.value&&(t.value=!1)}const a=z(()=>t.value?o.indeterminateIcon:o.falseIcon),d=z(()=>t.value?o.indeterminateIcon:o.trueIcon);return _e(()=>e(Hl,Z(o,{modelValue:m.value,"onUpdate:modelValue":[l=>m.value=l,_],class:["v-checkbox-btn",o.class],style:o.style,type:"checkbox",falseIcon:a.value,trueIcon:d.value,"aria-checked":t.value?"mixed":void 0}),u)),{}}});const Ql=se({renderless:Boolean,...Ve()},"VVirtualScrollItem"),Zl=ye()({name:"VVirtualScrollItem",inheritAttrs:!1,props:Ql(),emits:{"update:height":o=>!0},setup(o,r){let{attrs:u,emit:t,slots:m}=r;const{resizeRef:_,contentRect:a}=Ae(void 0,"border");ie(()=>{var d;return(d=a.value)==null?void 0:d.height},d=>{d!=null&&t("update:height",d)}),_e(()=>{var d,l;return o.renderless?e(Q,null,[(d=m.default)==null?void 0:d.call(m,{itemRef:_})]):e("div",Z({ref:_,class:["v-virtual-scroll__item",o.class],style:o.style},u),[(l=m.default)==null?void 0:l.call(m)])})}}),je=-1,qe=1,$l=se({itemHeight:{type:[Number,String],default:48}},"virtual");function ea(o,r,u){const t=pe(0),m=pe(o.itemHeight),_=z({get:()=>parseInt(m.value??0,10),set(A){m.value=A}}),a=H(),{resizeRef:d,contentRect:l}=Ae();rl(()=>{d.value=a.value});const c=Ge(),L=new Map;let x=Array.from({length:r.value.length});const p=z(()=>{const A=(!l.value||a.value===document.documentElement?c.height.value:l.value.height)-((u==null?void 0:u.value)??0);return Math.ceil(A/_.value*1.7+1)});function w(A,g){_.value=Math.max(_.value,g),x[A]=g,L.set(r.value[A],g)}function P(A){return x.slice(0,A).reduce((g,h)=>g+(h||_.value),0)}function N(A){const g=r.value.length;let h=0,C=0;for(;C=G&&(t.value=De(E,0,r.value.length-p.value)),$=g}function ee(A){if(!a.value)return;const g=P(A);a.value.scrollTop=g}const le=z(()=>Math.min(r.value.length,t.value+p.value)),K=z(()=>r.value.slice(t.value,le.value).map((A,g)=>({raw:A,index:g+t.value}))),O=z(()=>P(t.value)),W=z(()=>P(r.value.length)-P(le.value));return ie(()=>r.value.length,()=>{x=ve(r.value.length).map(()=>_.value),L.forEach((A,g)=>{const h=r.value.indexOf(g);h===-1?L.delete(g):x[h]=A})}),{containerRef:a,computedItems:K,itemHeight:_,paddingTop:O,paddingBottom:W,scrollToIndex:ee,handleScroll:j,handleItemResize:w}}const la=se({items:{type:Array,default:()=>[]},renderless:Boolean,...$l(),...Ve(),...cl()},"VVirtualScroll"),aa=ye()({name:"VVirtualScroll",props:la(),setup(o,r){let{slots:u}=r;const t=ul("VVirtualScroll"),{dimensionStyles:m}=dl(o),{containerRef:_,handleScroll:a,handleItemResize:d,scrollToIndex:l,paddingTop:c,paddingBottom:L,computedItems:x}=ea(o,ne(o,"items"));return gl(()=>o.renderless,()=>{fl(()=>{var p;_.value=ml(t.vnode.el,!0),(p=_.value)==null||p.addEventListener("scroll",a)}),vl(()=>{var p;(p=_.value)==null||p.removeEventListener("scroll",a)})}),_e(()=>{const p=x.value.map(w=>e(Zl,{key:w.index,renderless:o.renderless,"onUpdate:height":P=>d(w.index,P)},{default:P=>{var N;return(N=u.default)==null?void 0:N.call(u,{item:w.raw,index:w.index,...P})}}));return o.renderless?e(Q,null,[e("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:ke(c.value)}},null),p,e("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:ke(L.value)}},null)]):e("div",{ref:_,class:["v-virtual-scroll",o.class],onScroll:a,style:[m.value,o.style]},[e("div",{class:"v-virtual-scroll__container",style:{paddingTop:ke(c.value),paddingBottom:ke(L.value)}},[p])])}),{scrollToIndex:l}}});function ta(o,r){const u=pe(!1);let t;function m(d){cancelAnimationFrame(t),u.value=!0,t=requestAnimationFrame(()=>{t=requestAnimationFrame(()=>{u.value=!1})})}async function _(){await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>{if(u.value){const l=ie(u,()=>{l(),d()})}else d()})}async function a(d){var L,x;if(d.key==="Tab"&&((L=r.value)==null||L.focus()),!["PageDown","PageUp","Home","End"].includes(d.key))return;const l=(x=o.value)==null?void 0:x.$el;if(!l)return;(d.key==="Home"||d.key==="End")&&l.scrollTo({top:d.key==="Home"?0:l.scrollHeight,behavior:"smooth"}),await _();const c=l.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(d.key==="PageDown"||d.key==="Home"){const p=l.getBoundingClientRect().top;for(const w of c)if(w.getBoundingClientRect().top>=p){w.focus();break}}else{const p=l.getBoundingClientRect().bottom;for(const w of[...c].reverse())if(w.getBoundingClientRect().bottom<=p){w.focus();break}}}return{onListScroll:m,onListKeydown:a}}const na=se({chips:Boolean,closableChips:Boolean,eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:ge,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,valueComparator:{type:Function,default:hl},...zl({itemChildren:!1})},"Select"),oa=se({...na(),...pl(Ml({modelValue:null}),["validationValue","dirty","appendInnerIcon"]),...yl({transition:{component:_l}})},"VSelect"),ia=ye()({name:"VSelect",props:oa(),emits:{"update:focused":o=>!0,"update:modelValue":o=>!0,"update:menu":o=>!0},setup(o,r){let{slots:u}=r;const{t}=We(),m=H(),_=H(),a=he(o,"menu"),d=z({get:()=>a.value,set:s=>{var v;a.value&&!s&&((v=_.value)!=null&&v.ΨopenChildren)||(a.value=s)}}),{items:l,transformIn:c,transformOut:L}=Fl(o),x=he(o,"modelValue",[],s=>c(s===null?[null]:Cl(s)),s=>{const v=L(s);return o.multiple?v:v[0]??null}),p=El(),w=z(()=>x.value.map(s=>l.value.find(v=>o.valueComparator(v.value,s.value))||s)),P=z(()=>w.value.map(s=>s.props.value)),N=pe(!1);let $="",j;const ee=z(()=>o.hideSelected?l.value.filter(s=>!w.value.some(v=>v===s)):l.value),le=z(()=>o.hideNoData&&!l.value.length||o.readonly||(p==null?void 0:p.isReadonly.value)),K=H(),{onListScroll:O,onListKeydown:W}=ta(K,m);function A(s){o.openOnClear&&(d.value=!0)}function g(){le.value||(d.value=!d.value)}function h(s){var S,q;if(!s.key||o.readonly||p!=null&&p.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(s.key)&&s.preventDefault(),["Enter","ArrowDown"," "].includes(s.key)&&(d.value=!0),["Escape","Tab"].includes(s.key)&&(d.value=!1),s.key==="Home"?(S=K.value)==null||S.focus("first"):s.key==="End"&&((q=K.value)==null||q.focus("last"));const v=1e3;function R(U){const ae=U.key.length===1,Y=!U.ctrlKey&&!U.metaKey&&!U.altKey;return ae&&Y}if(o.multiple||!R(s))return;const X=performance.now();X-j>v&&($=""),$+=s.key.toLowerCase(),j=X;const re=l.value.find(U=>U.title.toLowerCase().startsWith($));re!==void 0&&(x.value=[re])}function C(s){if(o.multiple){const v=P.value.findIndex(R=>o.valueComparator(R,s.value));if(v===-1)x.value=[...x.value,s];else{const R=[...x.value];R.splice(v,1),x.value=R}}else x.value=[s],d.value=!1}function M(s){var v;(v=K.value)!=null&&v.$el.contains(s.relatedTarget)||(d.value=!1)}function E(){var s;N.value&&((s=m.value)==null||s.focus())}function G(s){N.value=!0}function Se(s){var v,R;if(s==null)x.value=[];else if((v=m.value)!=null&&v.matches(":autofill")||(R=m.value)!=null&&R.matches(":-webkit-autofill")){const X=l.value.find(re=>re.title===s);X&&C(X)}else m.value&&(m.value.value="")}return _e(()=>{const s=!!(o.chips||u.chip),v=!!(!o.hideNoData||ee.value.length||u["prepend-item"]||u["append-item"]||u["no-data"]),R=x.value.length>0,[X]=Ee.filterProps(o),re=R||!N.value&&o.label&&!o.persistentPlaceholder?void 0:o.placeholder;return e(Ee,Z({ref:m},X,{modelValue:x.value.map(S=>S.props.value).join(", "),"onUpdate:modelValue":Se,focused:N.value,"onUpdate:focused":S=>N.value=S,validationValue:x.externalValue,dirty:R,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!o.chips,[`v-select--${o.multiple?"multiple":"single"}`]:!0,"v-select--selected":x.value.length,"v-select--selection-slot":!!u.selection},o.class],style:o.style,inputmode:"none",placeholder:re,"onClick:clear":A,"onMousedown:control":g,onBlur:M,onKeydown:h}),{...u,default:()=>e(Q,null,[e(kl,Z({ref:_,modelValue:d.value,"onUpdate:modelValue":S=>d.value=S,activator:"parent",contentClass:"v-select__content",disabled:le.value,eager:o.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:o.transition,onAfterLeave:E},o.menuProps),{default:()=>[v&&e(Nl,{ref:K,selected:P.value,selectStrategy:o.multiple?"independent":"single-independent",onMousedown:S=>S.preventDefault(),onKeydown:W,onFocusin:G,onScrollPassive:O,tabindex:"-1"},{default:()=>{var S,q,U;return[(S=u["prepend-item"])==null?void 0:S.call(u),!ee.value.length&&!o.hideNoData&&(((q=u["no-data"])==null?void 0:q.call(u))??e(Ce,{title:t(o.noDataText)},null)),e(aa,{renderless:!0,items:ee.value},{default:ae=>{var Pe;let{item:Y,index:J,itemRef:Ye}=ae;const Le=Z(Y.props,{ref:Ye,key:J,onClick:()=>C(Y)});return((Pe=u.item)==null?void 0:Pe.call(u,{item:Y,index:J,props:Le}))??e(Ce,Le,{prepend:Je=>{let{isSelected:Qe}=Je;return e(Q,null,[o.multiple&&!o.hideSelected?e(Jl,{key:Y.value,modelValue:Qe,ripple:!1,tabindex:"-1"},null):void 0,Y.props.prependIcon&&e(oe,{icon:Y.props.prependIcon},null)])}})}}),(U=u["append-item"])==null?void 0:U.call(u)]}})]}),w.value.map((S,q)=>{var Y;function U(J){J.stopPropagation(),J.preventDefault(),C(S)}const ae={"onClick:close":U,onMousedown(J){J.preventDefault(),J.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return e("div",{key:S.value,class:"v-select__selection"},[s?u.chip?e(bl,{key:"chip-defaults",defaults:{VChip:{closable:o.closableChips,size:"small",text:S.title}}},{default:()=>{var J;return[(J=u.chip)==null?void 0:J.call(u,{item:S,index:q,props:ae})]}}):e(jl,Z({key:"chip",closable:o.closableChips,size:"small",text:S.title},ae),null):((Y=u.selection)==null?void 0:Y.call(u,{item:S,index:q}))??e("span",{class:"v-select__selection-text"},[S.title,o.multiple&&q{o.value=[]});const r=H([]),u=H(!1),t=H(!1),m=Fe.slice(0,-1),_=H(""),a=H(0),d=H(1),l=H(2),c=Vl(),L=["bg-blue-grey-lighten-5"];let x=`api/navigation/news/?name=${c.path}&page=${d.value-1}&selected=${l.value}`;c.path=="/news"&&"id"in c.query&&(x=`api/navigation/news/?name=${c.path}&page=${d.value-1}&selected=${l.value}&id=${c.query.id}`),me(x,r),(s=>{de.get(s).then(v=>{r.value=v.data,r.value.result[0].gallery.length>0&&(r.value.result[0].gallery.forEach(R=>R.bg=L[Math.floor(Math.random()*L.length)]),t.value=!0)})})(x);const w=(s,v)=>{de.post("api/navigation/news/",{news:s,scores:v}).then(R=>{r.value.result[r.value.result.findIndex(X=>X.id==s)].scores=R.data})},P=()=>{de.post("api/navigation/news/",{news:a.value,text:_.value}).then(s=>{u.value=!u.value,r.value.result[r.value.result.findIndex(v=>v.id==s.data.news)].comment=s.data.comment}),_.value=""},N=(s,v)=>{de.post("api/navigation/news/",{delid:s,news:v}).then(R=>{r.value.result[r.value.result.findIndex(X=>X.id==R.data.news)].comment=R.data.comment})},$=()=>{me(`api/navigation/news/?name=${c.path}&page=${d.value-1}&selected=${l.value}`,r)};ie(()=>c.query,(s,v)=>{s&&(x=`api/navigation/news/?name=${c.path}&page=${d.value-1}&selected=${l.value}`,me(x,r))},{deep:!0}),ie(()=>l,(s,v)=>{s&&me(`api/navigation/news/?name=${c.path}&page=${d.value-1}&selected=${s.value}`,r)},{deep:!0}),ie(()=>we.cod2user,(s,v)=>{s&&me(`api/navigation/news/?name=${c.path}&page=${d.value-1}&selected=${l.value}`,r)},{deep:!0});const j=s=>Ol(new Date(s),"dd.MM.yyyy HH:mm"),ee=s=>{u.value=!u.value,a.value=s},le=s=>s.replaceAll('src="/media/uploads',`src="${Fe}media/uploads`),K=s=>{const v=s.split(" ").slice(0,25);return`${s.split(" ").slice(0,25).join(" ")} ${v.length<25?"":"..."}`},O=s=>s.familyname+" "+s.name[0]+"."+s.parentname[0]+".",W=H([]),A=H(!1),g=H(""),h=s=>{A.value=!0,g.value=r.value.result[0].gallery.findIndex(v=>v.id==s)};return ie(()=>g,(s,v)=>{s&&(W.value=r.value.result[0].gallery[s.value])},{deep:!0}),{newss:r,burl:m,limitText:K,toggleIncrementLike:w,dialogCommentShow:u,accountStore:we,dateformat:j,splitname:O,textcomment:_,openComent:ee,addComment:P,idnews:a,deletComment:N,pagelistNews:$,divs:o,page:d,selecnews:l,checkremote:Al,route:c,spravURL:Sl,formatText:le,gallery:t,openImg:h,dialogfoto:A,galleryimges:W,indximg:g,toggleLike:s=>{de.post("api/navigation/gallery/",{image:s}).then(v=>{W.value.likes=v.data})},heartIco:()=>W.value.likes.filter(s=>s.user==we.user.login).length==1,heartIcoAll:s=>s.likes.filter(v=>v.user==we.user.login).length==1,toggleLikeAll:s=>{de.post("api/navigation/gallery/",{image:s}).then(v=>{r.value.result[0].gallery.filter(R=>R.id==s)[0].likes=v.data})},imagesIn:()=>(console.log(r.value.result[0].gallery.length),r.value.result[0].gallery.length)}}},fe=o=>(Pl("data-v-1dd2e7f6"),o=o(),Rl(),o),ra={class:"d-flex flex-column py-3 h-100"},ca={class:"justify-self-end"},ua={class:"subheading me-2"},da=fe(()=>F("span",{class:"me-1"},"·",-1)),ga={class:"subheading me-2"},fa=fe(()=>F("span",{class:"me-1"},"·",-1)),ma=["onClick"],va={key:0},ha=fe(()=>F("div",{class:"text-subtitle-2"},null,-1)),pa={class:"justify-self-end"},ya={class:"subheading me-2"},_a=fe(()=>F("span",{class:"me-1"},"·",-1)),ka={class:"subheading me-2"},ba=fe(()=>F("span",{class:"me-1"},"·",-1)),wa=["onClick"],Ca=["innerHTML"],xa=fe(()=>F("div",{class:"text-subtitle-2"},null,-1));function Ia(o,r,u,t,m,_){return k(),te(f,{class:"justify-center"},{default:n(()=>[t.route.path=="/news"&&"id"in t.route.query?(k(!0),V(Q,{key:1},ce(t.newss.result,(a,d)=>(k(),te(i,{class:"flex-column d-flex",key:d},{default:n(()=>[e(f,null,{default:n(()=>[e(i,{class:"flex-column d-flex"},{default:n(()=>[e(f,{class:"flex-grow-0"},{default:n(()=>[e(i,{class:"pb-0 pr-0"},{default:n(()=>[e(ue,{height:"350px",class:"rounded-b-0"},{default:n(()=>[e(xe,{class:"pt-0 pb-1"},{default:n(()=>[e(f),b(" "+y(a.title),1)]),_:2},1024),e(T,{src:`${t.burl}${a.link}`,height:"350px",width:"96%",class:"mx-auto",cover:""},null,8,["src"])]),_:2},1024)]),_:2},1024)]),_:2},1024),e(f,null,{default:n(()=>[e(i,{class:"pt-0 pr-0"},{default:n(()=>[e(ue,{class:"rounded-t-0 flex-column d-flex h-100"},{default:n(()=>[e(Ce,{class:"w-100"},{prepend:n(()=>[e(Ne,{color:"loading_avatar",image:t.checkremote(`${t.spravURL}${a.author.login}.jpg`),size:"25"},null,8,["image"]),e(He,{class:"text-caption"},{default:n(()=>[b(y(t.splitname(a.author)),1)]),_:2},1024)]),append:n(()=>[F("div",pa,[e(oe,{class:"me-1",icon:a.scores.filter(l=>l.user==t.accountStore.user.login&&l.score==!0).length>0?"mdi-thumb-up":"mdi-thumb-up-outline",onClick:l=>t.toggleIncrementLike(a.id,!0)},null,8,["icon","onClick"]),F("span",ya,y(a.scores.filter(l=>l.score==!0).length),1),_a,e(oe,{class:"me-1",icon:a.scores.filter(l=>l.user==t.accountStore.user.login&&l.score==!1).length>0?"mdi-thumb-down":"mdi-thumb-down-outline",onClick:l=>t.toggleIncrementLike(a.id,!1)},null,8,["icon","onClick"]),F("span",ka,y(a.scores.filter(l=>l.score==!1).length),1),ba,e(oe,{class:"me-1",icon:"mdi-message-text-outline",onClick:l=>t.openComent(a.id)},null,8,["onClick"]),F("span",{onClick:l=>a.showComment=!a.showComment,class:"pointer subheading"},y(a.comment.length),9,wa)])]),_:2},1024),e(Ie),e(f,{class:"ma-0 my-3 overflow-auto h-0"},{default:n(()=>[e(i,{class:"pa-0"},{default:n(()=>[e(be,{class:"pt-0"},{default:n(()=>[F("div",{innerHTML:t.formatText(a.text)},null,8,Ca)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024),e(i,{class:"flex-column d-flex overflow-auto overflow-x-hidden",style:{height:"94vh"}},{default:n(()=>[t.gallery?(k(),te(f,{key:0,class:"d-flex flex-column"},{default:n(()=>[e(i,{class:"d-flex flex-column"},{default:n(()=>[(k(!0),V(Q,null,ce(Math.ceil(a.gallery.length/19),l=>(k(),V("div",{class:"flex-column d-flex ma-3",key:l},[e(f,{style:{height:"150px"}},{default:n(()=>[(k(),V(Q,null,ce(4,c=>e(i,{class:"flex-column d-flex pa-1",key:c},{default:n(()=>[c-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[c-1+(l-1)*19].img}`,onClick:L=>t.openImg(a.gallery[c-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 pb-1 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[c-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[c-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:L=>t.toggleLikeAll(a.gallery[c-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[c-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024)),64))]),_:2},1024),e(f,{style:{height:"350px"}},{default:n(()=>[e(i,{class:"flex-column d-flex pa-1"},{default:n(()=>[5-1+(l-1)*19[e(i,{class:"pa-1 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[5-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[5-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 pb-1 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[5+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[5+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[5+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[5-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0),6-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[6-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[6-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 pb-1 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[6-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[6-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[6-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[6-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024),e(i,{class:"flex-column d-flex pa-1"},{default:n(()=>[7-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[7-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[7-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[7-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[7-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[7-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[7-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024),e(i,{class:"flex-column d-flex pa-1"},{default:n(()=>[8-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer d-flex",src:`${t.burl}${a.gallery[8-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[8-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[8-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[8-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[8-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[8+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0),9-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto d-flex flex-column"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer d-flex",src:`${t.burl}${a.gallery[9-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[9-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[9-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[9-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[9-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[9-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024)]),_:2},1024),e(f,{style:{height:"200px"}},{default:n(()=>[e(i,{lg:"5",class:"flex-column d-flex pa-1"},{default:n(()=>[10-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[10-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[10-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[10-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[10-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[10-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[10-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024),e(i,{class:"flex-column d-flex pa-1"},{default:n(()=>[11-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[11-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[11-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[11-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[11-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[11-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[11-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024),e(i,{class:"flex-column d-flex pa-1"},{default:n(()=>[12-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[12-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[12-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[12-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[12-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[12-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[12-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024),e(i,{class:"flex-column d-flex pa-1"},{default:n(()=>[13-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[13-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[13-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[13-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[13-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[13-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[13-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024)]),_:2},1024),e(f,{style:{height:"250px"},class:"mb-7"},{default:n(()=>[e(i,{lg:"2",class:"flex-column d-flex pa-1"},{default:n(()=>[14-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[14-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[14-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[14-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[14-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[14-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[14-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024),e(i,{class:"flex-column d-flex pa-1"},{default:n(()=>[15-1+(l-1)*19[e(i,{class:"pa-1 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[15-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[15-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 pb-1 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[15-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[15-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[15-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[15-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0),16-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[16-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[16-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 pb-1 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[16-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[16-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[16-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[16-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024),e(i,{lg:"3",class:"flex-column d-flex pa-1"},{default:n(()=>[17-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[17-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[17-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[17-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[17-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[17-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[17-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024),e(i,{class:"flex-column d-flex pa-1"},{default:n(()=>[18-1+(l-1)*19[e(i,{class:"pa-1 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[18-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[18-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 pb-1 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[18-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[18-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[18-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[18-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0),19-1+(l-1)*19[e(i,{class:"pa-1 pb-0 ma-auto"},{default:n(()=>[e(T,{"aspect-ratio":"2",class:"pointer",src:`${t.burl}${a.gallery[19-1+(l-1)*19].img}`,onClick:c=>t.openImg(a.gallery[19-1+(l-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),e(f,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(i,{class:"pa-0 pb-1 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",size:"small",color:t.heartIcoAll(a.gallery[19-1+(l-1)*19])?"red":"black",icon:t.heartIcoAll(a.gallery[19-1+(l-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:c=>t.toggleLikeAll(a.gallery[19-1+(l-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),e(i,{class:"pa-0 pl-1"},{default:n(()=>[b(y(a.gallery[19-1+(l-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)],2)):D("",!0)]),_:2},1024)]),_:2},1024)]))),128))]),_:2},1024)]),_:2},1024)):(k(),te(f,{key:1},{default:n(()=>[e(i,{class:""},{default:n(()=>[e(ue,{class:"h-100 flex-column d-flex"},{default:n(()=>[e(f,{class:"ma-0 my-3 overflow-auto h-0"},{default:n(()=>[e(i,{class:"pa-0"},{default:n(()=>[e(be,{class:"pt-0"},{default:n(()=>[(k(!0),V(Q,null,ce(a.comment,(l,c)=>(k(),V("div",{key:c,class:"d-flex flex-column pa-3"},[e(f,{class:B(["justify-space-between ma-0 align-center bgchat mr-7",t.accountStore.user.login==l.author.login?"bgchatnot":"bgchat"])},{default:n(()=>[e(i,{class:"flex-grow-1 text-subtitle-2 pl-2 pa-0"},{default:n(()=>[b(y(t.accountStore.user.login==l.author.login?"":t.splitname(l.author)),1)]),_:2},1024),e(i,{class:"pa-0 text-center text-subtitle-2"},{default:n(()=>[b(y(t.dateformat(l.cdate)),1)]),_:2},1024),e(i,{class:"pa-0 pr-2 text-end text-subtitle-2"},{default:n(()=>[b(y(t.accountStore.user.login!=l.author.login?"":t.splitname(l.author)),1)]),_:2},1024)]),_:2},1032,["class"]),xa,e(f,null,{default:n(()=>[e(i,{class:"pr-0"},{default:n(()=>[e(Oe,{color:"bg_white",rounded:"0",border:t.accountStore.user.login==l.author.login?"end":"start","border-color":t.accountStore.user.login==l.author.login?"success":"deep-purple accent-4",elevation:"0"},{default:n(()=>[b(y(l.text),1)]),_:2},1032,["border","border-color"])]),_:2},1024),e(i,{class:B(["flex-grow-0 d-flex pa-0 align-center",t.accountStore.user.login==l.author.login?"pa-0":"pa-5"])},{default:n(()=>[t.accountStore.user.login==l.author.login?(k(),te(I,{key:0,variant:"text",size:"small",icon:"mdi-delete",color:"delete_btn",onClick:L=>t.deletComment(l.id,a.id)},null,8,["onClick"])):D("",!0)]),_:2},1032,["class"])]),_:2},1024)]))),128))]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)):(k(),te(i,{key:0,class:"flex-column",lg:"6"},{default:n(()=>[F("div",ra,[e(f,{class:"flex-grow-1 d-flex h-0 overflow-auto"},{default:n(()=>[e(i,{class:"pa-0"},{default:n(()=>[(k(!0),V(Q,null,ce(t.newss.result,(a,d)=>(k(),te(ue,{class:"rounded-0",key:d},{default:n(()=>[e(xe,{class:"pt-0 pb-1"},{default:n(()=>[b(y(a.title),1)]),_:2},1024),e(T,{src:`${t.burl}${a.link}`,height:"350px",width:"96%",class:"mx-auto",cover:""},null,8,["src"]),e(Ce,{class:"w-100"},{prepend:n(()=>[e(Ne,{color:"loading_avatar",image:t.checkremote(`${t.spravURL}${a.author.login}.jpg`),size:"25"},null,8,["image"]),e(He,{class:"text-caption"},{default:n(()=>[b(y(t.splitname(a.author)),1)]),_:2},1024)]),append:n(()=>[F("div",ca,[e(oe,{class:"me-1",icon:a.scores.filter(l=>l.user==t.accountStore.user.login&&l.score==!0).length>0?"mdi-thumb-up":"mdi-thumb-up-outline",onClick:l=>t.toggleIncrementLike(a.id,!0)},null,8,["icon","onClick"]),F("span",ua,y(a.scores.filter(l=>l.score==!0).length),1),da,e(oe,{class:"me-1",icon:a.scores.filter(l=>l.user==t.accountStore.user.login&&l.score==!1).length>0?"mdi-thumb-down":"mdi-thumb-down-outline",onClick:l=>t.toggleIncrementLike(a.id,!1)},null,8,["icon","onClick"]),F("span",ga,y(a.scores.filter(l=>l.score==!1).length),1),fa,e(oe,{class:"me-1",icon:"mdi-message-text-outline",onClick:l=>t.openComent(a.id)},null,8,["onClick"]),F("span",{onClick:l=>a.showComment=!a.showComment,class:"pointer subheading"},y(a.comment.length),9,ma)])]),_:2},1024),F("div",null,[e(Ie),e(be,null,{default:n(()=>[b(y(a.text),1)]),_:2},1024),e(Ie),e(Dl,null,{default:n(()=>[a.comment.length>0?ze((k(),V("div",va,[(k(!0),V(Q,null,ce(a.comment,(l,c)=>(k(),V("div",{key:c,class:"d-flex flex-column pa-3"},[e(f,{class:B(["justify-space-between ma-0 align-center bgchat mr-7",t.accountStore.user.login==l.author.login?"bgchatnot":"bgchat"])},{default:n(()=>[e(i,{class:"flex-grow-1 text-subtitle-2 pl-2 pa-0"},{default:n(()=>[b(y(t.accountStore.user.login==l.author.login?"":t.splitname(l.author)),1)]),_:2},1024),e(i,{class:"pa-0 text-center text-subtitle-2"},{default:n(()=>[b(y(t.dateformat(l.cdate)),1)]),_:2},1024),e(i,{class:"pa-0 pr-2 text-end text-subtitle-2"},{default:n(()=>[b(y(t.accountStore.user.login!=l.author.login?"":t.splitname(l.author)),1)]),_:2},1024)]),_:2},1032,["class"]),ha,e(f,null,{default:n(()=>[e(i,{class:"pr-0"},{default:n(()=>[e(Oe,{color:"bg_white",rounded:"0",border:t.accountStore.user.login==l.author.login?"end":"start","border-color":t.accountStore.user.login==l.author.login?"success":"deep-purple accent-4",elevation:"0"},{default:n(()=>[b(y(l.text),1)]),_:2},1032,["border","border-color"])]),_:2},1024),e(i,{class:B(["flex-grow-0 d-flex pa-0 align-center",t.accountStore.user.login==l.author.login?"pa-0":"pa-5"])},{default:n(()=>[t.accountStore.user.login==l.author.login?(k(),te(I,{key:0,variant:"text",size:"small",icon:"mdi-delete",color:"delete_btn",onClick:L=>t.deletComment(l.id,a.id)},null,8,["onClick"])):D("",!0)]),_:2},1032,["class"])]),_:2},1024)]))),128))],512)),[[Me,a.showComment]]):D("",!0)]),_:2},1024)])]),_:2},1024))),128))]),_:1})]),_:1}),ze(e(f,{class:"flex-grow-0"},{default:n(()=>[e(i,{class:"ma-0 pa-0 pt-2"},{default:n(()=>[e(Xl,{modelValue:t.page,"onUpdate:modelValue":r[0]||(r[0]=a=>t.page=a),length:t.newss.allnews,"prev-icon":"mdi-menu-left","next-icon":"mdi-menu-right",onClick:t.pagelistNews},null,8,["modelValue","length","onClick"])]),_:1}),e(i,{class:"ma-0 flex-grow-0 mwidth mt-1 pa-0"},{default:n(()=>[e(ia,{"hide-details":"",density:"compact",modelValue:t.selecnews,"onUpdate:modelValue":r[1]||(r[1]=a=>t.selecnews=a),variant:"underlined",items:["1","2","3","4","5","6"]},null,8,["modelValue"])]),_:1})]),_:1},512),[[Me,!(t.route.path=="/news"&&"id"in t.route.query)]])])]),_:1})),e(Ue,{modelValue:t.dialogCommentShow,"onUpdate:modelValue":r[4]||(r[4]=a=>t.dialogCommentShow=a),persistent:"",width:"550"},{default:n(()=>[e(ue,null,{default:n(()=>[e(xe,{class:"text-h5"},{default:n(()=>[b(" Прокоментировать новость ")]),_:1}),e(be,null,{default:n(()=>[e(ql,{variant:"solo","hide-details":"",rows:"5",modelValue:t.textcomment,"onUpdate:modelValue":r[2]||(r[2]=a=>t.textcomment=a)},null,8,["modelValue"])]),_:1}),e(Ll,null,{default:n(()=>[e(Kl),e(I,{color:"modal_btn",variant:"text",onClick:r[3]||(r[3]=a=>t.dialogCommentShow=!1)},{default:n(()=>[b(" Отмена ")]),_:1}),e(I,{color:"modal_btn",variant:"text",onClick:t.addComment},{default:n(()=>[b(" Отправить ")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),e(Ue,{modelValue:t.dialogfoto,"onUpdate:modelValue":r[9]||(r[9]=a=>t.dialogfoto=a),width:"w-100",height:"900",class:"flex-column"},{default:n(()=>[e(ue,{class:"pa-4 h-100 flex-column d-flex"},{default:n(()=>[e(f,{class:"flex-grow-0 justify-space-between"},{default:n(()=>[e(i,{class:"py-0 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",icon:"mdi-cloud-download"})]),_:1}),e(i,{class:"pa-0 flex-grow-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",icon:"mdi-close",onClick:r[5]||(r[5]=a=>t.dialogfoto=!1)})]),_:1})]),_:1}),e(f,null,{default:n(()=>[e(i,{class:"flex-grow-0 align-self-center"},{default:n(()=>[e(I,{density:"compact",variant:"text",icon:"mdi-chevron-left",onClick:r[6]||(r[6]=a=>t.indximg!=0?t.indximg-=1:t.indximg=t.newss.result[0].gallery.length-1)})]),_:1}),e(i,{class:"flex-column h_cards pa-0"},{default:n(()=>[e(T,{class:"d-flex",src:`${t.burl}${t.galleryimges.img}`},null,8,["src"])]),_:1}),e(i,{class:"d-flex flex-column flex-grow-0"},{default:n(()=>[e(f,null,{default:n(()=>[e(i,{class:"flex-column d-flex align-end align-self-center"},{default:n(()=>[e(I,{density:"compact",variant:"text",icon:"mdi-chevron-right",onClick:r[7]||(r[7]=a=>t.indximg!=t.newss.result[0].gallery.length-1?t.indximg+=1:t.indximg=0)})]),_:1})]),_:1})]),_:1})]),_:1}),e(f,{class:"flex-grow-1 align-self-center d-flex placeIt"},{default:n(()=>[e(i,{class:"pa-0"},{default:n(()=>[e(I,{density:"compact",variant:"text",color:t.heartIco()?"red":"black",icon:t.heartIco()?"mdi-heart":"mdi-heart-outline",onClick:r[8]||(r[8]=a=>t.toggleLike(t.galleryimges.id))},null,8,["color","icon"])]),_:1}),e(i,{class:"pa-0 text-overline"},{default:n(()=>[b(y(t.galleryimges.likes.length),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}const Va=Xe(sa,[["render",Ia],["__scopeId","data-v-1dd2e7f6"]]);const Aa={components:{NewsListNews:Va},setup(){Bl()}};function Sa(o,r,u,t,m,_){const a=Tl("news-list-news");return k(),te(f,{class:"justify-center ma-0"},{default:n(()=>[e(i,{class:"flex-column d-flex"},{default:n(()=>[e(a)]),_:1})]),_:1})}const Na=Xe(Aa,[["render",Sa]]);export{Na as default}; diff --git a/src/front/dist/assets/NewsPage-e2524cf0.js b/src/front/dist/assets/NewsPage-e2524cf0.js new file mode 100644 index 000000000..94d7cb1ce --- /dev/null +++ b/src/front/dist/assets/NewsPage-e2524cf0.js @@ -0,0 +1 @@ +import{r as F,aO as Ke,p as oe,a0 as ue,ah as Qe,a1 as Ie,a2 as Ze,ai as ea,aj as aa,a3 as la,a4 as ta,a5 as na,bg as oa,a6 as pe,a9 as ge,a7 as We,ag as sa,a8 as ia,av as Ge,s as he,ap as Re,c as A,ab as me,al as ae,ac as _e,F as a,H as Y,bh as Be,z as Te,w as ne,Z as X,at as ra,aa as De,aH as ua,d as ca,aK as da,as as fa,b as be,o as va,bi as ma,bj as ga,bk as ha,b2 as pa,bl as _a,bm as ba,bn as ya,V as le,ar as ka,G as P,bb as xa,bc as wa,A as Va,_ as $e,aN as Ca,aP as Ia,aG as de,U as Sa,W as La,C as I,D as $,E as o,L as h,S as B,Y as G,$ as ie,K as w,N as Me,O as Fe,R as te,I as Ve,J as ye,M as Pa,aq as ke,ad as L,aE as Ne,af as re,bo as Ee,aF as fe,ae as ve,aQ as Aa,aR as Ra,aB as Ba,X as Ta}from"./index-cb66bb90.js";import{u as Se,V as N,a as Da}from"./VBtn-be56359b.js";import{m as Ma,g as Fa,u as Na,V as Ue,d as Ea,b as we,a as He,h as ze,c as Ce}from"./VList-a51d3781.js";import{d as Ua}from"./VInput-6691c158.js";import{m as Ha,V as za,f as Oa}from"./VSelectionControl-91bc1ec7.js";import{V as ja}from"./VChip-5a86556f.js";import{V as qa}from"./VTextarea-5b24e794.js";import{V as Ka}from"./VSpacer-ccbf9fb8.js";import{V as Oe}from"./VAlert-03636774.js";function Wa(){const e=F([]);Ke(()=>e.value=[]);function i(r,l){e.value[l]=r}return{refs:e,updateRef:i}}const Ga=oe({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1===0},totalVisible:[Number,String],firstIcon:{type:ue,default:"$first"},prevIcon:{type:ue,default:"$prev"},nextIcon:{type:ue,default:"$next"},lastIcon:{type:ue,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Qe(),...Ie(),...Ze(),...ea(),...aa(),...la(),...ta({tag:"nav"}),...na(),...oa({variant:"text"})},"VPagination"),$a=pe()({name:"VPagination",props:Ga(),emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,i){let{slots:r,emit:l}=i;const d=ge(e,"modelValue"),{t:p,n}=We(),{isRtl:u}=sa(),{themeClasses:t}=ia(e),{width:m}=Ge(),V=he(-1);Re(void 0,{scoped:!0});const{resizeRef:y}=Se(c=>{if(!c.length)return;const{target:v,contentRect:b}=c[0],R=v.querySelector(".v-pagination__list > *");if(!R)return;const D=b.width,j=R.offsetWidth+parseFloat(getComputedStyle(R).marginRight)*2;V.value=T(D,j)}),g=A(()=>parseInt(e.length,10)),_=A(()=>parseInt(e.start,10)),C=A(()=>e.totalVisible?parseInt(e.totalVisible,10):V.value>=0?V.value:T(m.value,58));function T(c,v){const b=e.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((c-v*b)/v).toFixed(2)))}const J=A(()=>{if(g.value<=0||isNaN(g.value)||g.value>Number.MAX_SAFE_INTEGER)return[];if(C.value<=1)return[d.value];if(g.value<=C.value)return me(g.value,_.value);const c=C.value%2===0,v=c?C.value/2:Math.floor(C.value/2),b=c?v:v+1,R=g.value-v;if(b-d.value>=0)return[...me(Math.max(1,C.value-1),_.value),e.ellipsis,g.value];if(d.value-R>=(c?1:0)){const D=C.value-1,j=g.value-D+_.value;return[_.value,e.ellipsis,...me(D,j)]}else{const D=Math.max(1,C.value-3),j=D===1?d.value:d.value-Math.ceil(D/2)+_.value;return[_.value,e.ellipsis,...me(D,j),e.ellipsis,g.value]}});function U(c,v,b){c.preventDefault(),d.value=v,b&&l(b,v)}const{refs:Q,updateRef:Z}=Wa();Re({VPaginationBtn:{color:ae(e,"color"),border:ae(e,"border"),density:ae(e,"density"),size:ae(e,"size"),variant:ae(e,"variant"),rounded:ae(e,"rounded"),elevation:ae(e,"elevation")}});const z=A(()=>J.value.map((c,v)=>{const b=R=>Z(R,v);if(typeof c=="string")return{isActive:!1,key:`ellipsis-${v}`,page:c,props:{ref:b,ellipsis:!0,icon:!0,disabled:!0}};{const R=c===d.value;return{isActive:R,key:c,page:n(c),props:{ref:b,ellipsis:!1,icon:!0,disabled:!!e.disabled||+e.length<2,color:R?e.activeColor:e.color,ariaCurrent:R,ariaLabel:p(R?e.currentPageAriaLabel:e.pageAriaLabel,c),onClick:D=>U(D,c)}}}})),E=A(()=>{const c=!!e.disabled||d.value<=_.value,v=!!e.disabled||d.value>=_.value+g.value-1;return{first:e.showFirstLastPage?{icon:u.value?e.lastIcon:e.firstIcon,onClick:b=>U(b,_.value,"first"),disabled:c,ariaLabel:p(e.firstAriaLabel),ariaDisabled:c}:void 0,prev:{icon:u.value?e.nextIcon:e.prevIcon,onClick:b=>U(b,d.value-1,"prev"),disabled:c,ariaLabel:p(e.previousAriaLabel),ariaDisabled:c},next:{icon:u.value?e.prevIcon:e.nextIcon,onClick:b=>U(b,d.value+1,"next"),disabled:v,ariaLabel:p(e.nextAriaLabel),ariaDisabled:v},last:e.showFirstLastPage?{icon:u.value?e.firstIcon:e.lastIcon,onClick:b=>U(b,_.value+g.value-1,"last"),disabled:v,ariaLabel:p(e.lastAriaLabel),ariaDisabled:v}:void 0}});function O(){var v;const c=d.value-_.value;(v=Q.value[c])==null||v.$el.focus()}function k(c){c.key===Be.left&&!e.disabled&&d.value>+e.start?(d.value=d.value-1,Te(O)):c.key===Be.right&&!e.disabled&&d.value<_.value+g.value-1&&(d.value=d.value+1,Te(O))}return _e(()=>a(e.tag,{ref:y,class:["v-pagination",t.value,e.class],style:e.style,role:"navigation","aria-label":p(e.ariaLabel),onKeydown:k,"data-test":"v-pagination-root"},{default:()=>[a("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&a("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(E.value.first):a(N,Y({_as:"VPaginationBtn"},E.value.first),null)]),a("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(E.value.prev):a(N,Y({_as:"VPaginationBtn"},E.value.prev),null)]),z.value.map((c,v)=>a("li",{key:c.key,class:["v-pagination__item",{"v-pagination__item--is-active":c.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(c):a(N,Y({_as:"VPaginationBtn"},c.props),{default:()=>[c.page]})])),a("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(E.value.next):a(N,Y({_as:"VPaginationBtn"},E.value.next),null)]),e.showFirstLastPage&&a("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(E.value.last):a(N,Y({_as:"VPaginationBtn"},E.value.last),null)])])]})),{}}});const Xa=oe({indeterminate:Boolean,indeterminateIcon:{type:ue,default:"$checkboxIndeterminate"},...Ha({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),Ya=pe()({name:"VCheckboxBtn",props:Xa(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,i){let{slots:r}=i;const l=ge(e,"indeterminate"),d=ge(e,"modelValue");function p(t){l.value&&(l.value=!1)}const n=A(()=>l.value?e.indeterminateIcon:e.falseIcon),u=A(()=>l.value?e.indeterminateIcon:e.trueIcon);return _e(()=>a(za,Y(e,{modelValue:d.value,"onUpdate:modelValue":[t=>d.value=t,p],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:n.value,trueIcon:u.value,"aria-checked":l.value?"mixed":void 0}),r)),{}}});const Ja=oe({renderless:Boolean,...Ie()},"VVirtualScrollItem"),Qa=pe()({name:"VVirtualScrollItem",inheritAttrs:!1,props:Ja(),emits:{"update:height":e=>!0},setup(e,i){let{attrs:r,emit:l,slots:d}=i;const{resizeRef:p,contentRect:n}=Se(void 0,"border");ne(()=>{var u;return(u=n.value)==null?void 0:u.height},u=>{u!=null&&l("update:height",u)}),_e(()=>{var u,t;return e.renderless?a(X,null,[(u=d.default)==null?void 0:u.call(d,{itemRef:p})]):a("div",Y({ref:p,class:["v-virtual-scroll__item",e.class],style:e.style},r),[(t=d.default)==null?void 0:t.call(d)])})}}),je=-1,qe=1,Za=oe({itemHeight:{type:[Number,String],default:48}},"virtual");function el(e,i,r){const l=he(0),d=he(e.itemHeight),p=A({get:()=>parseInt(d.value??0,10),set(k){d.value=k}}),n=F(),{resizeRef:u,contentRect:t}=Se();ra(()=>{u.value=n.value});const m=Ge(),V=new Map;let y=Array.from({length:i.value.length});const g=A(()=>{const k=(!t.value||n.value===document.documentElement?m.height.value:t.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(k/p.value*1.7+1)});function _(k,c){p.value=Math.max(p.value,c),y[k]=c,V.set(i.value[k],c)}function C(k){return y.slice(0,k).reduce((c,v)=>c+(v||p.value),0)}function T(k){const c=i.value.length;let v=0,b=0;for(;b=j&&(l.value=De(D,0,i.value.length-g.value)),J=c}function Q(k){if(!n.value)return;const c=C(k);n.value.scrollTop=c}const Z=A(()=>Math.min(i.value.length,l.value+g.value)),z=A(()=>i.value.slice(l.value,Z.value).map((k,c)=>({raw:k,index:c+l.value}))),E=A(()=>C(l.value)),O=A(()=>C(i.value.length)-C(Z.value));return ne(()=>i.value.length,()=>{y=me(i.value.length).map(()=>p.value),V.forEach((k,c)=>{const v=i.value.indexOf(c);v===-1?V.delete(c):y[v]=k})}),{containerRef:n,computedItems:z,itemHeight:p,paddingTop:E,paddingBottom:O,scrollToIndex:Q,handleScroll:U,handleItemResize:_}}const al=oe({items:{type:Array,default:()=>[]},renderless:Boolean,...Za(),...Ie(),...ua()},"VVirtualScroll"),ll=pe()({name:"VVirtualScroll",props:al(),setup(e,i){let{slots:r}=i;const l=ca("VVirtualScroll"),{dimensionStyles:d}=da(e),{containerRef:p,handleScroll:n,handleItemResize:u,scrollToIndex:t,paddingTop:m,paddingBottom:V,computedItems:y}=el(e,ae(e,"items"));return fa(()=>e.renderless,()=>{va(()=>{var g;p.value=ma(l.vnode.el,!0),(g=p.value)==null||g.addEventListener("scroll",n)}),ga(()=>{var g;(g=p.value)==null||g.removeEventListener("scroll",n)})}),_e(()=>{const g=y.value.map(_=>a(Qa,{key:_.index,renderless:e.renderless,"onUpdate:height":C=>u(_.index,C)},{default:C=>{var T;return(T=r.default)==null?void 0:T.call(r,{item:_.raw,index:_.index,...C})}}));return e.renderless?a(X,null,[a("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:be(m.value)}},null),g,a("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:be(V.value)}},null)]):a("div",{ref:p,class:["v-virtual-scroll",e.class],onScroll:n,style:[d.value,e.style]},[a("div",{class:"v-virtual-scroll__container",style:{paddingTop:be(m.value),paddingBottom:be(V.value)}},[g])])}),{scrollToIndex:t}}});function tl(e,i){const r=he(!1);let l;function d(u){cancelAnimationFrame(l),r.value=!0,l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{r.value=!1})})}async function p(){await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>{if(r.value){const t=ne(r,()=>{t(),u()})}else u()})}async function n(u){var V,y;if(u.key==="Tab"&&((V=i.value)==null||V.focus()),!["PageDown","PageUp","Home","End"].includes(u.key))return;const t=(y=e.value)==null?void 0:y.$el;if(!t)return;(u.key==="Home"||u.key==="End")&&t.scrollTo({top:u.key==="Home"?0:t.scrollHeight,behavior:"smooth"}),await p();const m=t.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(u.key==="PageDown"||u.key==="Home"){const g=t.getBoundingClientRect().top;for(const _ of m)if(_.getBoundingClientRect().top>=g){_.focus();break}}else{const g=t.getBoundingClientRect().bottom;for(const _ of[...m].reverse())if(_.getBoundingClientRect().bottom<=g){_.focus();break}}}return{onListScroll:d,onListKeydown:n}}const nl=oe({chips:Boolean,closableChips:Boolean,eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:ue,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,valueComparator:{type:Function,default:ha},...Ma({itemChildren:!1})},"Select"),ol=oe({...nl(),...pa(Fa({modelValue:null}),["validationValue","dirty","appendInnerIcon"]),..._a({transition:{component:ba}})},"VSelect"),sl=pe()({name:"VSelect",props:ol(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,i){let{slots:r}=i;const{t:l}=We(),d=F(),p=F(),n=ge(e,"menu"),u=A({get:()=>n.value,set:s=>{var f;n.value&&!s&&((f=p.value)!=null&&f.ΨopenChildren)||(n.value=s)}}),{items:t,transformIn:m,transformOut:V}=Na(e),y=ge(e,"modelValue",[],s=>m(s===null?[null]:wa(s)),s=>{const f=V(s);return e.multiple?f:f[0]??null}),g=Ua(),_=A(()=>y.value.map(s=>t.value.find(f=>e.valueComparator(f.value,s.value))||s)),C=A(()=>_.value.map(s=>s.props.value)),T=he(!1);let J="",U;const Q=A(()=>e.hideSelected?t.value.filter(s=>!_.value.some(f=>f===s)):t.value),Z=A(()=>e.hideNoData&&!t.value.length||e.readonly||(g==null?void 0:g.isReadonly.value)),z=F(),{onListScroll:E,onListKeydown:O}=tl(z,d);function k(s){e.openOnClear&&(u.value=!0)}function c(){Z.value||(u.value=!u.value)}function v(s){var x,H;if(!s.key||e.readonly||g!=null&&g.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(s.key)&&s.preventDefault(),["Enter","ArrowDown"," "].includes(s.key)&&(u.value=!0),["Escape","Tab"].includes(s.key)&&(u.value=!1),s.key==="Home"?(x=z.value)==null||x.focus("first"):s.key==="End"&&((H=z.value)==null||H.focus("last"));const f=1e3;function S(M){const ee=M.key.length===1,K=!M.ctrlKey&&!M.metaKey&&!M.altKey;return ee&&K}if(e.multiple||!S(s))return;const q=performance.now();q-U>f&&(J=""),J+=s.key.toLowerCase(),U=q;const se=t.value.find(M=>M.title.toLowerCase().startsWith(J));se!==void 0&&(y.value=[se])}function b(s){if(e.multiple){const f=C.value.findIndex(S=>e.valueComparator(S,s.value));if(f===-1)y.value=[...y.value,s];else{const S=[...y.value];S.splice(f,1),y.value=S}}else y.value=[s],u.value=!1}function R(s){var f;(f=z.value)!=null&&f.$el.contains(s.relatedTarget)||(u.value=!1)}function D(){var s;T.value&&((s=d.value)==null||s.focus())}function j(s){T.value=!0}function Le(s){var f,S;if(s==null)y.value=[];else if((f=d.value)!=null&&f.matches(":autofill")||(S=d.value)!=null&&S.matches(":-webkit-autofill")){const q=t.value.find(se=>se.title===s);q&&b(q)}else d.value&&(d.value.value="")}return _e(()=>{const s=!!(e.chips||r.chip),f=!!(!e.hideNoData||Q.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),S=y.value.length>0,[q]=Ue.filterProps(e),se=S||!T.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return a(Ue,Y({ref:d},q,{modelValue:y.value.map(x=>x.props.value).join(", "),"onUpdate:modelValue":Le,focused:T.value,"onUpdate:focused":x=>T.value=x,validationValue:y.externalValue,dirty:S,class:["v-select",{"v-select--active-menu":u.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":y.value.length,"v-select--selection-slot":!!r.selection},e.class],style:e.style,inputmode:"none",placeholder:se,"onClick:clear":k,"onMousedown:control":c,onBlur:R,onKeydown:v}),{...r,default:()=>a(X,null,[a(ya,Y({ref:p,modelValue:u.value,"onUpdate:modelValue":x=>u.value=x,activator:"parent",contentClass:"v-select__content",disabled:Z.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:D},e.menuProps),{default:()=>[f&&a(Ea,{ref:z,selected:C.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:x=>x.preventDefault(),onKeydown:O,onFocusin:j,onScrollPassive:E,tabindex:"-1"},{default:()=>{var x,H,M;return[(x=r["prepend-item"])==null?void 0:x.call(r),!Q.value.length&&!e.hideNoData&&(((H=r["no-data"])==null?void 0:H.call(r))??a(we,{title:l(e.noDataText)},null)),a(ll,{renderless:!0,items:Q.value},{default:ee=>{var Ae;let{item:K,index:W,itemRef:Xe}=ee;const Pe=Y(K.props,{ref:Xe,key:W,onClick:()=>b(K)});return((Ae=r.item)==null?void 0:Ae.call(r,{item:K,index:W,props:Pe}))??a(we,Pe,{prepend:Ye=>{let{isSelected:Je}=Ye;return a(X,null,[e.multiple&&!e.hideSelected?a(Ya,{key:K.value,modelValue:Je,ripple:!1,tabindex:"-1"},null):void 0,K.props.prependIcon&&a(le,{icon:K.props.prependIcon},null)])}})}}),(M=r["append-item"])==null?void 0:M.call(r)]}})]}),_.value.map((x,H)=>{var K;function M(W){W.stopPropagation(),W.preventDefault(),b(x)}const ee={"onClick:close":M,onMousedown(W){W.preventDefault(),W.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return a("div",{key:x.value,class:"v-select__selection"},[s?r.chip?a(ka,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:x.title}}},{default:()=>{var W;return[(W=r.chip)==null?void 0:W.call(r,{item:x,index:H,props:ee})]}}):a(ja,Y({key:"chip",closable:e.closableChips,size:"small",text:x.title},ee),null):((K=r.selection)==null?void 0:K.call(r,{item:x,index:H}))??a("span",{class:"v-select__selection-text"},[x.title,e.multiple&&H<_.value.length-1&&a("span",{class:"v-select__selection-comma"},[P(",")])])])})]),"append-inner":function(){var ee;for(var x=arguments.length,H=new Array(x),M=0;M{e.value=[]});const i=F([]),r=F(!1),l=F(!1),d=Ne.slice(0,-1),p=F(""),n=F(0),u=F(1),t=F(2),m=Ia(),V=[];let y=`api/navigation/news/?name=${m.path}&page=${u.value-1}&selected=${t.value}`;m.path=="/news"&&"id"in m.query&&(y=`api/navigation/news/?name=${m.path}&page=${u.value-1}&selected=${t.value}&id=${m.query.id}`),de(y,i),(s=>{re.get(s).then(f=>{i.value=f.data,i.value.result[0].gallery.length>0&&(i.value.result[0].gallery.forEach(S=>S.bg=V[Math.floor(Math.random()*V.length)]),l.value=!0)})})(y);const _=(s,f)=>{re.post("api/navigation/news/",{news:s,scores:f}).then(S=>{i.value.result[i.value.result.findIndex(q=>q.id==s)].scores=S.data})},C=()=>{re.post("api/navigation/news/",{news:n.value,text:p.value}).then(s=>{r.value=!r.value,i.value.result[i.value.result.findIndex(f=>f.id==s.data.news)].comment=s.data.comment}),p.value=""},T=(s,f)=>{re.post("api/navigation/news/",{delid:s,news:f}).then(S=>{i.value.result[i.value.result.findIndex(q=>q.id==S.data.news)].comment=S.data.comment})},J=()=>{de(`api/navigation/news/?name=${m.path}&page=${u.value-1}&selected=${t.value}`,i)};ne(()=>m.query,(s,f)=>{s&&(y=`api/navigation/news/?name=${m.path}&page=${u.value-1}&selected=${t.value}`,de(y,i))},{deep:!0}),ne(()=>t,(s,f)=>{s&&de(`api/navigation/news/?name=${m.path}&page=${u.value-1}&selected=${s.value}`,i)},{deep:!0}),ne(()=>xe.cod2user,(s,f)=>{s&&de(`api/navigation/news/?name=${m.path}&page=${u.value-1}&selected=${t.value}`,i)},{deep:!0});const U=s=>Oa(new Date(s),"dd.MM.yyyy HH:mm"),Q=s=>{r.value=!r.value,n.value=s},Z=s=>s.replaceAll('src="/media/uploads',`src="${Ne}media/uploads`),z=s=>{const f=s.split(" ").slice(0,25);return`${s.split(" ").slice(0,25).join(" ")} ${f.length<25?"":"..."}`},E=s=>s.familyname+" "+s.name[0]+"."+s.parentname[0]+".",O=F([]),k=F(!1),c=F(""),v=s=>{k.value=!0,c.value=i.value.result[0].gallery.findIndex(f=>f.id==s)};return ne(()=>c,(s,f)=>{s&&(O.value=i.value.result[0].gallery[s.value])},{deep:!0}),{newss:i,burl:d,limitText:z,toggleIncrementLike:_,dialogCommentShow:r,accountStore:xe,dateformat:U,splitname:E,textcomment:p,openComent:Q,addComment:C,idnews:n,deletComment:T,pagelistNews:J,divs:e,page:u,selecnews:t,checkremote:Sa,route:m,spravURL:La,formatText:Z,gallery:l,openImg:v,dialogfoto:k,galleryimges:O,indximg:c,toggleLike:s=>{re.post("api/navigation/gallery/",{image:s}).then(f=>{O.value.likes=f.data})},heartIco:()=>O.value.likes.filter(s=>s.user==xe.user.login).length==1,heartIcoAll:s=>s.likes.filter(f=>f.user==xe.user.login).length==1,toggleLikeAll:s=>{re.post("api/navigation/gallery/",{image:s}).then(f=>{i.value.result[0].gallery.filter(S=>S.id==s)[0].likes=f.data})},imagesIn:()=>(console.log(i.value.result[0].gallery.length),i.value.result[0].gallery.length)}}},ce=e=>(Aa("data-v-0036c5e2"),e=e(),Ra(),e),rl={class:"d-flex flex-column py-3 h-100"},ul={class:"justify-self-end"},cl={class:"subheading me-2"},dl=ce(()=>B("span",{class:"me-1"},"·",-1)),fl={class:"subheading me-2"},vl=ce(()=>B("span",{class:"me-1"},"·",-1)),ml=["onClick"],gl={key:0},hl=ce(()=>B("div",{class:"text-subtitle-2"},null,-1)),pl={class:"justify-self-end"},_l={class:"subheading me-2"},bl=ce(()=>B("span",{class:"me-1"},"·",-1)),yl={class:"subheading me-2"},kl=ce(()=>B("span",{class:"me-1"},"·",-1)),xl=["onClick"],wl=["innerHTML"],Vl={key:0,class:"h-100 w-100 flex-column d-flex"},Cl=ce(()=>B("div",{class:"text-subtitle-2"},null,-1));function Il(e,i,r,l,d,p){return I(),$(w,{class:"justify-center"},{default:o(()=>[l.route.path=="/news"&&"id"in l.route.query?(I(!0),G(X,{key:1},ie(l.newss.result,(n,u)=>(I(),$(h,{class:"flex-column d-flex",key:u},{default:o(()=>[a(w,null,{default:o(()=>[a(h,{class:"flex-column d-flex"},{default:o(()=>[a(w,{class:"flex-grow-0"},{default:o(()=>[a(h,{class:"pb-0 pr-0"},{default:o(()=>[a(te,{height:"350px",class:"rounded-b-0"},{default:o(()=>[a(Ve,{class:"pt-0 pb-1"},{default:o(()=>[a(w),P(" "+L(n.title),1)]),_:2},1024),a(ke,{src:`${l.burl}${n.link}`,height:"350px",width:"96%",class:"mx-auto",cover:""},null,8,["src"])]),_:2},1024)]),_:2},1024)]),_:2},1024),a(w,null,{default:o(()=>[a(h,{class:"pt-0 pr-0"},{default:o(()=>[a(te,{class:"rounded-t-0 flex-column d-flex h-100"},{default:o(()=>[a(we,{class:"w-100"},{prepend:o(()=>[a(Ee,{color:"loading_avatar",image:l.checkremote(`${l.spravURL}${n.author.login}.jpg`),size:"25"},null,8,["image"]),a(ze,{class:"text-caption"},{default:o(()=>[P(L(l.splitname(n.author)),1)]),_:2},1024)]),append:o(()=>[B("div",pl,[a(le,{class:"me-1",icon:n.scores.filter(t=>t.user==l.accountStore.user.login&&t.score==!0).length>0?"mdi-thumb-up":"mdi-thumb-up-outline",onClick:t=>l.toggleIncrementLike(n.id,!0)},null,8,["icon","onClick"]),B("span",_l,L(n.scores.filter(t=>t.score==!0).length),1),bl,a(le,{class:"me-1",icon:n.scores.filter(t=>t.user==l.accountStore.user.login&&t.score==!1).length>0?"mdi-thumb-down":"mdi-thumb-down-outline",onClick:t=>l.toggleIncrementLike(n.id,!1)},null,8,["icon","onClick"]),B("span",yl,L(n.scores.filter(t=>t.score==!1).length),1),kl,a(le,{class:"me-1",icon:"mdi-message-text-outline",onClick:t=>l.openComent(n.id)},null,8,["onClick"]),B("span",{onClick:t=>n.showComment=!n.showComment,class:"pointer subheading"},L(n.comment.length),9,xl)])]),_:2},1024),a(Ce),a(w,{class:"ma-0 my-3 overflow-auto h-0"},{default:o(()=>[a(h,{class:"pa-0"},{default:o(()=>[a(ye,{class:"pt-0"},{default:o(()=>[B("div",{innerHTML:l.formatText(n.text)},null,8,wl)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024),a(h,{class:"flex-column d-flex"},{default:o(()=>[l.gallery?(I(),$(w,{key:0,class:"d-flex flex-column"},{default:o(()=>[a(h,{class:"d-flex flex-column"},{default:o(()=>[a(te,{class:"h-100 flex-column d-flex overflow-auto overflow-x-hidden"},{default:o(()=>[(I(!0),G(X,null,ie(Math.ceil(n.gallery.length/19),t=>(I(),G("div",{class:"flex-column d-flex ma-3",key:t},[5-1+(t-1)*19[(I(!0),G(X,null,ie(n.gallery.length,m=>(I(),$(h,{key:m,lg:Math.floor(Math.random()*(Math.floor(5)-Math.ceil(3))+Math.ceil(2)),class:fe(["flex-column d-flex pa-0 pb-3",n.gallery[m-1+(t-1)*19].bg])},{default:o(()=>[m-1+(t-1)*19[a(h,{class:"d-flex"},{default:o(()=>[a(ke,{cover:"",class:"pointer",src:`${l.burl}${n.gallery[m-1+(t-1)*19].img}`,onClick:V=>l.openImg(n.gallery[m-1+(t-1)*19].id)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1024),a(w,{class:"flex-grow-0 mt-0 align-self-center"},{default:o(()=>[a(h,{class:"pa-0 flex-grow-0"},{default:o(()=>[a(N,{density:"compact",variant:"text",size:"small",color:l.heartIcoAll(n.gallery[m-1+(t-1)*19])?"red":"black",icon:l.heartIcoAll(n.gallery[m-1+(t-1)*19])?"mdi-heart":"mdi-heart-outline",onClick:V=>l.toggleLikeAll(n.gallery[m-1+(t-1)*19].id)},null,8,["color","icon","onClick"])]),_:2},1024),a(h,{class:"pa-0 pl-1"},{default:o(()=>[P(L(n.gallery[m-1+(t-1)*19].likes.length),1)]),_:2},1024)]),_:2},1024)])):ve("",!0)]),_:2},1032,["lg","class"]))),128))]),_:2},1024)):ve("",!0)]))),128))]),_:2},1024)]),_:2},1024)]),_:2},1024)):(I(),$(w,{key:1},{default:o(()=>[a(h,{class:""},{default:o(()=>[a(te,{class:"h-100 flex-column d-flex"},{default:o(()=>[a(w,{class:"ma-0 my-3 overflow-auto h-0"},{default:o(()=>[a(h,{class:"pa-0"},{default:o(()=>[a(ye,{class:"pt-0"},{default:o(()=>[(I(!0),G(X,null,ie(n.comment,(t,m)=>(I(),G("div",{key:m,class:"d-flex flex-column pa-3"},[a(w,{class:fe(["justify-space-between ma-0 align-center bgchat mr-7",l.accountStore.user.login==t.author.login?"bgchatnot":"bgchat"])},{default:o(()=>[a(h,{class:"flex-grow-1 text-subtitle-2 pl-2 pa-0"},{default:o(()=>[P(L(l.accountStore.user.login==t.author.login?"":l.splitname(t.author)),1)]),_:2},1024),a(h,{class:"pa-0 text-center text-subtitle-2"},{default:o(()=>[P(L(l.dateformat(t.cdate)),1)]),_:2},1024),a(h,{class:"pa-0 pr-2 text-end text-subtitle-2"},{default:o(()=>[P(L(l.accountStore.user.login!=t.author.login?"":l.splitname(t.author)),1)]),_:2},1024)]),_:2},1032,["class"]),Cl,a(w,null,{default:o(()=>[a(h,{class:"pr-0"},{default:o(()=>[a(Oe,{color:"bg_white",rounded:"0",border:l.accountStore.user.login==t.author.login?"end":"start","border-color":l.accountStore.user.login==t.author.login?"success":"deep-purple accent-4",elevation:"0"},{default:o(()=>[P(L(t.text),1)]),_:2},1032,["border","border-color"])]),_:2},1024),a(h,{class:fe(["flex-grow-0 d-flex pa-0 align-center",l.accountStore.user.login==t.author.login?"pa-0":"pa-5"])},{default:o(()=>[l.accountStore.user.login==t.author.login?(I(),$(N,{key:0,variant:"text",size:"small",icon:"mdi-delete",color:"delete_btn",onClick:V=>l.deletComment(t.id,n.id)},null,8,["onClick"])):ve("",!0)]),_:2},1032,["class"])]),_:2},1024)]))),128))]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)):(I(),$(h,{key:0,class:"flex-column",lg:"6"},{default:o(()=>[B("div",rl,[a(w,{class:"flex-grow-1 d-flex h-0 overflow-auto"},{default:o(()=>[a(h,{class:"pa-0"},{default:o(()=>[(I(!0),G(X,null,ie(l.newss.result,(n,u)=>(I(),$(te,{class:"rounded-0",key:u},{default:o(()=>[a(Ve,{class:"pt-0 pb-1"},{default:o(()=>[P(L(n.title),1)]),_:2},1024),a(ke,{src:`${l.burl}${n.link}`,height:"350px",width:"96%",class:"mx-auto",cover:""},null,8,["src"]),a(we,{class:"w-100"},{prepend:o(()=>[a(Ee,{color:"loading_avatar",image:l.checkremote(`${l.spravURL}${n.author.login}.jpg`),size:"25"},null,8,["image"]),a(ze,{class:"text-caption"},{default:o(()=>[P(L(l.splitname(n.author)),1)]),_:2},1024)]),append:o(()=>[B("div",ul,[a(le,{class:"me-1",icon:n.scores.filter(t=>t.user==l.accountStore.user.login&&t.score==!0).length>0?"mdi-thumb-up":"mdi-thumb-up-outline",onClick:t=>l.toggleIncrementLike(n.id,!0)},null,8,["icon","onClick"]),B("span",cl,L(n.scores.filter(t=>t.score==!0).length),1),dl,a(le,{class:"me-1",icon:n.scores.filter(t=>t.user==l.accountStore.user.login&&t.score==!1).length>0?"mdi-thumb-down":"mdi-thumb-down-outline",onClick:t=>l.toggleIncrementLike(n.id,!1)},null,8,["icon","onClick"]),B("span",fl,L(n.scores.filter(t=>t.score==!1).length),1),vl,a(le,{class:"me-1",icon:"mdi-message-text-outline",onClick:t=>l.openComent(n.id)},null,8,["onClick"]),B("span",{onClick:t=>n.showComment=!n.showComment,class:"pointer subheading"},L(n.comment.length),9,ml)])]),_:2},1024),B("div",null,[a(Ce),a(ye,null,{default:o(()=>[P(L(n.text),1)]),_:2},1024),a(Ce),a(Da,null,{default:o(()=>[n.comment.length>0?Me((I(),G("div",gl,[(I(!0),G(X,null,ie(n.comment,(t,m)=>(I(),G("div",{key:m,class:"d-flex flex-column pa-3"},[a(w,{class:fe(["justify-space-between ma-0 align-center bgchat mr-7",l.accountStore.user.login==t.author.login?"bgchatnot":"bgchat"])},{default:o(()=>[a(h,{class:"flex-grow-1 text-subtitle-2 pl-2 pa-0"},{default:o(()=>[P(L(l.accountStore.user.login==t.author.login?"":l.splitname(t.author)),1)]),_:2},1024),a(h,{class:"pa-0 text-center text-subtitle-2"},{default:o(()=>[P(L(l.dateformat(t.cdate)),1)]),_:2},1024),a(h,{class:"pa-0 pr-2 text-end text-subtitle-2"},{default:o(()=>[P(L(l.accountStore.user.login!=t.author.login?"":l.splitname(t.author)),1)]),_:2},1024)]),_:2},1032,["class"]),hl,a(w,null,{default:o(()=>[a(h,{class:"pr-0"},{default:o(()=>[a(Oe,{color:"bg_white",rounded:"0",border:l.accountStore.user.login==t.author.login?"end":"start","border-color":l.accountStore.user.login==t.author.login?"success":"deep-purple accent-4",elevation:"0"},{default:o(()=>[P(L(t.text),1)]),_:2},1032,["border","border-color"])]),_:2},1024),a(h,{class:fe(["flex-grow-0 d-flex pa-0 align-center",l.accountStore.user.login==t.author.login?"pa-0":"pa-5"])},{default:o(()=>[l.accountStore.user.login==t.author.login?(I(),$(N,{key:0,variant:"text",size:"small",icon:"mdi-delete",color:"delete_btn",onClick:V=>l.deletComment(t.id,n.id)},null,8,["onClick"])):ve("",!0)]),_:2},1032,["class"])]),_:2},1024)]))),128))],512)),[[Fe,n.showComment]]):ve("",!0)]),_:2},1024)])]),_:2},1024))),128))]),_:1})]),_:1}),Me(a(w,{class:"flex-grow-0"},{default:o(()=>[a(h,{class:"ma-0 pa-0 pt-2"},{default:o(()=>[a($a,{modelValue:l.page,"onUpdate:modelValue":i[0]||(i[0]=n=>l.page=n),length:l.newss.allnews,"prev-icon":"mdi-menu-left","next-icon":"mdi-menu-right",onClick:l.pagelistNews},null,8,["modelValue","length","onClick"])]),_:1}),a(h,{class:"ma-0 flex-grow-0 mwidth mt-1 pa-0"},{default:o(()=>[a(sl,{"hide-details":"",density:"compact",modelValue:l.selecnews,"onUpdate:modelValue":i[1]||(i[1]=n=>l.selecnews=n),variant:"underlined",items:["1","2","3","4","5","6"]},null,8,["modelValue"])]),_:1})]),_:1},512),[[Fe,!(l.route.path=="/news"&&"id"in l.route.query)]])])]),_:1})),a(He,{modelValue:l.dialogCommentShow,"onUpdate:modelValue":i[4]||(i[4]=n=>l.dialogCommentShow=n),persistent:"",width:"550"},{default:o(()=>[a(te,null,{default:o(()=>[a(Ve,{class:"text-h5"},{default:o(()=>[P(" Прокоментировать новость ")]),_:1}),a(ye,null,{default:o(()=>[a(qa,{variant:"solo","hide-details":"",rows:"5",modelValue:l.textcomment,"onUpdate:modelValue":i[2]||(i[2]=n=>l.textcomment=n)},null,8,["modelValue"])]),_:1}),a(Pa,null,{default:o(()=>[a(Ka),a(N,{color:"modal_btn",variant:"text",onClick:i[3]||(i[3]=n=>l.dialogCommentShow=!1)},{default:o(()=>[P(" Отмена ")]),_:1}),a(N,{color:"modal_btn",variant:"text",onClick:l.addComment},{default:o(()=>[P(" Отправить ")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),a(He,{modelValue:l.dialogfoto,"onUpdate:modelValue":i[9]||(i[9]=n=>l.dialogfoto=n),width:"w-100",height:"900",class:"flex-column"},{default:o(()=>[a(te,{class:"pa-4 h-100 flex-column d-flex"},{default:o(()=>[a(w,{class:"flex-grow-0 justify-space-between"},{default:o(()=>[a(h,{class:"py-0 flex-grow-0"},{default:o(()=>[a(N,{density:"compact",variant:"text",icon:"mdi-cloud-download"})]),_:1}),a(h,{class:"pa-0 flex-grow-0"},{default:o(()=>[a(N,{density:"compact",variant:"text",icon:"mdi-close",onClick:i[5]||(i[5]=n=>l.dialogfoto=!1)})]),_:1})]),_:1}),a(w,null,{default:o(()=>[a(h,{class:"flex-grow-0 align-self-center"},{default:o(()=>[a(N,{density:"compact",variant:"text",icon:"mdi-chevron-left",onClick:i[6]||(i[6]=n=>l.indximg!=0?l.indximg-=1:l.indximg=l.newss.result[0].gallery.length-1)})]),_:1}),a(h,{class:"flex-column h_cards pa-0"},{default:o(()=>[a(ke,{class:"d-flex",src:`${l.burl}${l.galleryimges.img}`},null,8,["src"])]),_:1}),a(h,{class:"d-flex flex-column flex-grow-0"},{default:o(()=>[a(w,null,{default:o(()=>[a(h,{class:"flex-column d-flex align-end align-self-center"},{default:o(()=>[a(N,{density:"compact",variant:"text",icon:"mdi-chevron-right",onClick:i[7]||(i[7]=n=>l.indximg!=l.newss.result[0].gallery.length-1?l.indximg+=1:l.indximg=0)})]),_:1})]),_:1})]),_:1})]),_:1}),a(w,{class:"flex-grow-1 align-self-center d-flex placeIt"},{default:o(()=>[a(h,{class:"pa-0"},{default:o(()=>[a(N,{density:"compact",variant:"text",color:l.heartIco()?"red":"black",icon:l.heartIco()?"mdi-heart":"mdi-heart-outline",onClick:i[8]||(i[8]=n=>l.toggleLike(l.galleryimges.id))},null,8,["color","icon"])]),_:1}),a(h,{class:"pa-0 text-overline"},{default:o(()=>[P(L(l.galleryimges.likes.length),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}const Sl=$e(il,[["render",Il],["__scopeId","data-v-0036c5e2"]]);const Ll={components:{NewsListNews:Sl},setup(){Ba()}};function Pl(e,i,r,l,d,p){const n=Ta("news-list-news");return I(),$(w,{class:"justify-center ma-0"},{default:o(()=>[a(h,{class:"flex-column d-flex"},{default:o(()=>[a(n)]),_:1})]),_:1})}const Ul=$e(Ll,[["render",Pl]]);export{Ul as default}; diff --git a/src/front/dist/assets/ProvidingActivitiesPage-69a6a025.js b/src/front/dist/assets/ProvidingActivitiesPage-843ed4eb.js similarity index 91% rename from src/front/dist/assets/ProvidingActivitiesPage-69a6a025.js rename to src/front/dist/assets/ProvidingActivitiesPage-843ed4eb.js index ff80e56d0..2e33ed25f 100644 --- a/src/front/dist/assets/ProvidingActivitiesPage-69a6a025.js +++ b/src/front/dist/assets/ProvidingActivitiesPage-843ed4eb.js @@ -1 +1 @@ -import{p as V,a1 as h,a4 as k,a5 as I,a6 as _,a8 as y,F as l,_ as x,aB as C,C as p,D as d,E as t,K as f,Y as G,$ as S,Z as b,L as g,S as P,ad as B}from"./index-c88a2b18.js";import{f as T,g as $,m as w,b as D,V as N,i as Y}from"./VBtn-3e30d8f6.js";import{V as F}from"./VContainer-efd2f5bf.js";const v=Symbol.for("vuetify:v-item-group"),K=V({...h(),...T({selectedClass:"v-item--selected"}),...k(),...I()},"VItemGroup"),R=_()({name:"VItemGroup",props:K(),emits:{"update:modelValue":e=>!0},setup(e,c){let{slots:a}=c;const{themeClasses:r}=y(e),{isSelected:u,select:i,next:s,prev:o,selected:m}=$(e,v);return()=>l(e.tag,{class:["v-item-group",r.value,e.class],style:e.style},{default:()=>{var n;return[(n=a.default)==null?void 0:n.call(a,{isSelected:u,select:i,next:s,prev:o,selected:m.value})]}})}}),E=_()({name:"VItem",props:w(),emits:{"group:selected":e=>!0},setup(e,c){let{slots:a}=c;const{isSelected:r,select:u,toggle:i,selectedClass:s,value:o,disabled:m}=D(e,v);return()=>{var n;return(n=a.default)==null?void 0:n.call(a,{isSelected:r.value,selectedClass:s.value,select:u,toggle:i,value:o.value,disabled:m.value})}}}),L={setup(){return C(),{activates:[{name:"Комиссии",link:"http://10.252.44.33/accounting6/SOTRYDNIKI.php#tab_committees"},{name:"Ответственность",link:"http://10.252.44.33/accounting6/SOTRYDNIKI.php#tab_departments"}]}}},O={class:"text-h5 text-grey flex-grow-1 text-center"};function j(e,c,a,r,u,i){return p(),d(f,{class:"align-center"},{default:t(()=>[l(g,{class:"mt-4 text--lighten-1 font-weight-light"},{default:t(()=>[l(R,{mandatory:""},{default:t(()=>[l(F,null,{default:t(()=>[l(f,{class:"justify-center"},{default:t(()=>[(p(!0),G(b,null,S(r.activates,s=>(p(),d(g,{key:s,cols:"4",md:"2"},{default:t(()=>[l(E,null,{default:t(({isSelected:o,toggle:m})=>[l(N,{color:o?"primary":"",class:"d-flex align-center pa-6",dark:"",href:s.link,target:s.link?"_blank":""},{default:t(()=>[l(Y,null,{default:t(()=>[P("div",O,B(s.name),1)]),_:2},1024)]),_:2},1032,["color","href","target"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const z=x(L,[["render",j]]);export{z as default}; +import{p as V,a1 as h,a4 as k,a5 as I,a6 as _,a8 as y,F as l,_ as x,aB as C,C as p,D as d,E as t,K as f,Y as G,$ as S,Z as b,L as g,S as P,ad as B}from"./index-cb66bb90.js";import{f as T,g as $,m as w,b as D,V as N,i as Y}from"./VBtn-be56359b.js";import{V as F}from"./VContainer-5ec7b029.js";const v=Symbol.for("vuetify:v-item-group"),K=V({...h(),...T({selectedClass:"v-item--selected"}),...k(),...I()},"VItemGroup"),R=_()({name:"VItemGroup",props:K(),emits:{"update:modelValue":e=>!0},setup(e,c){let{slots:a}=c;const{themeClasses:r}=y(e),{isSelected:u,select:i,next:s,prev:o,selected:m}=$(e,v);return()=>l(e.tag,{class:["v-item-group",r.value,e.class],style:e.style},{default:()=>{var n;return[(n=a.default)==null?void 0:n.call(a,{isSelected:u,select:i,next:s,prev:o,selected:m.value})]}})}}),E=_()({name:"VItem",props:w(),emits:{"group:selected":e=>!0},setup(e,c){let{slots:a}=c;const{isSelected:r,select:u,toggle:i,selectedClass:s,value:o,disabled:m}=D(e,v);return()=>{var n;return(n=a.default)==null?void 0:n.call(a,{isSelected:r.value,selectedClass:s.value,select:u,toggle:i,value:o.value,disabled:m.value})}}}),L={setup(){return C(),{activates:[{name:"Комиссии",link:"http://10.252.44.33/accounting6/SOTRYDNIKI.php#tab_committees"},{name:"Ответственность",link:"http://10.252.44.33/accounting6/SOTRYDNIKI.php#tab_departments"}]}}},O={class:"text-h5 text-grey flex-grow-1 text-center"};function j(e,c,a,r,u,i){return p(),d(f,{class:"align-center"},{default:t(()=>[l(g,{class:"mt-4 text--lighten-1 font-weight-light"},{default:t(()=>[l(R,{mandatory:""},{default:t(()=>[l(F,null,{default:t(()=>[l(f,{class:"justify-center"},{default:t(()=>[(p(!0),G(b,null,S(r.activates,s=>(p(),d(g,{key:s,cols:"4",md:"2"},{default:t(()=>[l(E,null,{default:t(({isSelected:o,toggle:m})=>[l(N,{color:o?"primary":"",class:"d-flex align-center pa-6",dark:"",href:s.link,target:s.link?"_blank":""},{default:t(()=>[l(Y,null,{default:t(()=>[P("div",O,B(s.name),1)]),_:2},1024)]),_:2},1032,["color","href","target"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const z=x(L,[["render",j]]);export{z as default}; diff --git a/src/front/dist/assets/SecurityPage-1e08d502.js b/src/front/dist/assets/SecurityPage-6d096942.js similarity index 83% rename from src/front/dist/assets/SecurityPage-1e08d502.js rename to src/front/dist/assets/SecurityPage-6d096942.js index 2a2445d2a..51fdc26ac 100644 --- a/src/front/dist/assets/SecurityPage-1e08d502.js +++ b/src/front/dist/assets/SecurityPage-6d096942.js @@ -1 +1 @@ -import{_ as t,aB as a,C as s,D as c,E as e,K as o,F as r,G as n,L as l}from"./index-c88a2b18.js";const _={setup(){a()}};function f(i,p,u,x,d,g){return s(),c(o,null,{default:e(()=>[r(l,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[n(" Безопасность ")]),_:1})]),_:1})}const V=t(_,[["render",f]]);export{V as default}; +import{_ as t,aB as a,C as s,D as c,E as e,K as o,F as r,G as n,L as l}from"./index-cb66bb90.js";const _={setup(){a()}};function f(i,p,u,x,d,g){return s(),c(o,null,{default:e(()=>[r(l,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[n(" Безопасность ")]),_:1})]),_:1})}const V=t(_,[["render",f]]);export{V as default}; diff --git a/src/front/dist/assets/UsersInfoPage-64ac49f0.js b/src/front/dist/assets/UsersInfoPage-a267f81b.js similarity index 87% rename from src/front/dist/assets/UsersInfoPage-64ac49f0.js rename to src/front/dist/assets/UsersInfoPage-a267f81b.js index ef4db708a..5b24f817c 100644 --- a/src/front/dist/assets/UsersInfoPage-64ac49f0.js +++ b/src/front/dist/assets/UsersInfoPage-a267f81b.js @@ -1 +1 @@ -import{_ as l,A as i,r as o,aB as u,C as g,Y as p,ad as f,n as d}from"./index-c88a2b18.js";const _={props:{loging:{type:String,default:""}},setup(n,r){const t=i(),e=o([]),s=o(""),a=async()=>{n.loging==""?s.value=t.user.login:s.value=n.loging;const c=await d.get("api/accounts/getuser/?userlogin="+s.value);e.value=c.data};return u(),a(),{userlinks:e}}};function k(n,r,t,e,s,a){return g(),p("div",null," Сотрудники "+f(e.userlinks),1)}const x=l(_,[["render",k]]);export{x as default}; +import{_ as l,A as i,r as o,aB as u,C as g,Y as p,ad as f,n as d}from"./index-cb66bb90.js";const _={props:{loging:{type:String,default:""}},setup(n,r){const t=i(),e=o([]),s=o(""),a=async()=>{n.loging==""?s.value=t.user.login:s.value=n.loging;const c=await d.get("api/accounts/getuser/?userlogin="+s.value);e.value=c.data};return u(),a(),{userlinks:e}}};function k(n,r,t,e,s,a){return g(),p("div",null," Сотрудники "+f(e.userlinks),1)}const x=l(_,[["render",k]]);export{x as default}; diff --git a/src/front/dist/assets/VAlert-e3223400.js b/src/front/dist/assets/VAlert-03636774.js similarity index 95% rename from src/front/dist/assets/VAlert-e3223400.js rename to src/front/dist/assets/VAlert-03636774.js index 4246ff627..01859ab41 100644 --- a/src/front/dist/assets/VAlert-e3223400.js +++ b/src/front/dist/assets/VAlert-03636774.js @@ -1 +1 @@ -import{bp as D,p as L,a0 as $,a1 as z,a2 as F,aH as R,ai as j,aI as p,aJ as w,aj as E,a4 as H,a5 as M,bg as O,a6 as J,a9 as K,c as o,a8 as N,bB as q,b8 as G,aK as Q,an as U,aL as W,aM as X,ao as Y,b3 as Z,al as ee,a7 as ae,F as t,bD as te,V as le,ar as d,H as ne}from"./index-c88a2b18.js";import{V as se}from"./VBtn-3e30d8f6.js";const oe=D("v-alert-title"),re=["success","info","warning","error"],ie=L({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:$,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>re.includes(e)},...z(),...F(),...R(),...j(),...p(),...w(),...E(),...H(),...M(),...O({variant:"flat"})},"VAlert"),de=J()({name:"VAlert",props:ie(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,v){let{emit:m,slots:a}=v;const r=K(e,"modelValue"),n=o(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),y=o(()=>({color:e.color??e.type,variant:e.variant})),{themeClasses:b}=N(e),{colorClasses:f,colorStyles:k,variantClasses:V}=q(y),{densityClasses:P}=G(e),{dimensionStyles:C}=Q(e),{elevationClasses:g}=U(e),{locationStyles:x}=W(e),{positionClasses:S}=X(e),{roundedClasses:_}=Y(e),{textColorClasses:B,textColorStyles:A}=Z(ee(e,"borderColor")),{t:I}=ae(),i=o(()=>({"aria-label":I(e.closeLabel),onClick(s){r.value=!1,m("click:close",s)}}));return()=>{const s=!!(a.prepend||n.value),T=!!(a.title||e.title),h=!!(a.close||e.closable);return r.value&&t(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},b.value,f.value,P.value,g.value,S.value,_.value,V.value,e.class],style:[k.value,C.value,x.value,e.style],role:"alert"},{default:()=>{var c,u;return[te(!1,"v-alert"),e.border&&t("div",{key:"border",class:["v-alert__border",B.value],style:A.value},null),s&&t("div",{key:"prepend",class:"v-alert__prepend"},[a.prepend?t(d,{key:"prepend-defaults",disabled:!n.value,defaults:{VIcon:{density:e.density,icon:n.value,size:e.prominent?44:28}}},a.prepend):t(le,{key:"prepend-icon",density:e.density,icon:n.value,size:e.prominent?44:28},null)]),t("div",{class:"v-alert__content"},[T&&t(oe,{key:"title"},{default:()=>{var l;return[((l=a.title)==null?void 0:l.call(a))??e.title]}}),((c=a.text)==null?void 0:c.call(a))??e.text,(u=a.default)==null?void 0:u.call(a)]),a.append&&t("div",{key:"append",class:"v-alert__append"},[a.append()]),h&&t("div",{key:"close",class:"v-alert__close"},[a.close?t(d,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var l;return[(l=a.close)==null?void 0:l.call(a,{props:i.value})]}}):t(se,ne({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},i.value),null)])]}})}}});export{de as V}; +import{bp as D,p as L,a0 as $,a1 as z,a2 as F,aH as R,ai as j,aI as p,aJ as w,aj as E,a4 as H,a5 as M,bg as O,a6 as J,a9 as K,c as o,a8 as N,bB as q,b8 as G,aK as Q,an as U,aL as W,aM as X,ao as Y,b3 as Z,al as ee,a7 as ae,F as t,bD as te,V as le,ar as d,H as ne}from"./index-cb66bb90.js";import{V as se}from"./VBtn-be56359b.js";const oe=D("v-alert-title"),re=["success","info","warning","error"],ie=L({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:$,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>re.includes(e)},...z(),...F(),...R(),...j(),...p(),...w(),...E(),...H(),...M(),...O({variant:"flat"})},"VAlert"),de=J()({name:"VAlert",props:ie(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,v){let{emit:m,slots:a}=v;const r=K(e,"modelValue"),n=o(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),y=o(()=>({color:e.color??e.type,variant:e.variant})),{themeClasses:b}=N(e),{colorClasses:f,colorStyles:k,variantClasses:V}=q(y),{densityClasses:P}=G(e),{dimensionStyles:C}=Q(e),{elevationClasses:g}=U(e),{locationStyles:x}=W(e),{positionClasses:S}=X(e),{roundedClasses:_}=Y(e),{textColorClasses:B,textColorStyles:A}=Z(ee(e,"borderColor")),{t:I}=ae(),i=o(()=>({"aria-label":I(e.closeLabel),onClick(s){r.value=!1,m("click:close",s)}}));return()=>{const s=!!(a.prepend||n.value),T=!!(a.title||e.title),h=!!(a.close||e.closable);return r.value&&t(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},b.value,f.value,P.value,g.value,S.value,_.value,V.value,e.class],style:[k.value,C.value,x.value,e.style],role:"alert"},{default:()=>{var c,u;return[te(!1,"v-alert"),e.border&&t("div",{key:"border",class:["v-alert__border",B.value],style:A.value},null),s&&t("div",{key:"prepend",class:"v-alert__prepend"},[a.prepend?t(d,{key:"prepend-defaults",disabled:!n.value,defaults:{VIcon:{density:e.density,icon:n.value,size:e.prominent?44:28}}},a.prepend):t(le,{key:"prepend-icon",density:e.density,icon:n.value,size:e.prominent?44:28},null)]),t("div",{class:"v-alert__content"},[T&&t(oe,{key:"title"},{default:()=>{var l;return[((l=a.title)==null?void 0:l.call(a))??e.title]}}),((c=a.text)==null?void 0:c.call(a))??e.text,(u=a.default)==null?void 0:u.call(a)]),a.append&&t("div",{key:"append",class:"v-alert__append"},[a.append()]),h&&t("div",{key:"close",class:"v-alert__close"},[a.close?t(d,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var l;return[(l=a.close)==null?void 0:l.call(a,{props:i.value})]}}):t(se,ne({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},i.value),null)])]}})}}});export{de as V}; diff --git a/src/front/dist/assets/VBtn-3e30d8f6.js b/src/front/dist/assets/VBtn-be56359b.js similarity index 99% rename from src/front/dist/assets/VBtn-3e30d8f6.js rename to src/front/dist/assets/VBtn-be56359b.js index 78f12c1e5..542eec9e9 100644 --- a/src/front/dist/assets/VBtn-3e30d8f6.js +++ b/src/front/dist/assets/VBtn-be56359b.js @@ -1 +1 @@ -import{r as A,b6 as xe,l as $,w as G,bS as W,bM as Se,a6 as w,a$ as ke,az as X,bT as Q,p as P,bU as Ie,ah as Z,a1 as N,a2 as ee,ai as te,aj as ne,a4 as O,a5 as p,bg as ae,a8 as D,b8 as se,am as ie,an as le,ao as oe,ap as Ve,al as B,ac as E,F as f,d as re,h as Be,e as ue,i as Pe,c as y,a as we,a9 as _e,o as Te,bk as Ee,bc as Le,f as Re,H as ze,a3 as de,bH as ce,b3 as J,bV as Ae,b as $e,at as Ge,z as Ne,a0 as Y,aH as Oe,bP as pe,aI as De,aJ as Me,bz as Fe,bq as Ue,bB as He,aK as qe,aS as je,aL as We,aM as Je,bA as Ye,N as Ke,br as Xe,bD as Qe,V as R,ar as z}from"./index-c88a2b18.js";function Ze(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const s=A(),t=A();if(xe){const a=new ResizeObserver(i=>{e==null||e(i,a),i.length&&(o==="content"?t.value=i[0].contentRect:t.value=i[0].target.getBoundingClientRect())});$(()=>{a.disconnect()}),G(s,(i,n)=>{n&&(a.unobserve(W(n)),t.value=void 0),i&&a.observe(W(i))},{flush:"post"})}return{resizeRef:s,contentRect:Se(t)}}const et=P({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function S(e,o,s){return w()({name:e,props:et({mode:s,origin:o}),setup(t,a){let{slots:i}=a;const n={onBeforeEnter(l){t.origin&&(l.style.transformOrigin=t.origin)},onLeave(l){if(t.leaveAbsolute){const{offsetTop:v,offsetLeft:b,offsetWidth:h,offsetHeight:I}=l;l._transitionInitialStyles={position:l.style.position,top:l.style.top,left:l.style.left,width:l.style.width,height:l.style.height},l.style.position="absolute",l.style.top=`${v}px`,l.style.left=`${b}px`,l.style.width=`${h}px`,l.style.height=`${I}px`}t.hideOnLeave&&l.style.setProperty("display","none","important")},onAfterLeave(l){if(t.leaveAbsolute&&(l!=null&&l._transitionInitialStyles)){const{position:v,top:b,left:h,width:I,height:r}=l._transitionInitialStyles;delete l._transitionInitialStyles,l.style.position=v||"",l.style.top=b||"",l.style.left=h||"",l.style.width=I||"",l.style.height=r||""}}};return()=>{const l=t.group?ke:X;return Q(l,{name:t.disabled?"":e,css:!t.disabled,...t.group?void 0:{mode:t.mode},...t.disabled?{}:n},i.default)}}})}function ve(e,o){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return w()({name:e,props:{mode:{type:String,default:s},disabled:Boolean},setup(t,a){let{slots:i}=a;return()=>Q(X,{name:t.disabled?"":e,css:!t.disabled,...t.disabled?{}:o},i.default)}})}function fe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const s=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",t=Ie(`offset-${s}`);return{onBeforeEnter(n){n._parent=n.parentNode,n._initialStyle={transition:n.style.transition,overflow:n.style.overflow,[s]:n.style[s]}},onEnter(n){const l=n._initialStyle;n.style.setProperty("transition","none","important"),n.style.overflow="hidden";const v=`${n[t]}px`;n.style[s]="0",n.offsetHeight,n.style.transition=l.transition,e&&n._parent&&n._parent.classList.add(e),requestAnimationFrame(()=>{n.style[s]=v})},onAfterEnter:i,onEnterCancelled:i,onLeave(n){n._initialStyle={transition:"",overflow:n.style.overflow,[s]:n.style[s]},n.style.overflow="hidden",n.style[s]=`${n[t]}px`,n.offsetHeight,requestAnimationFrame(()=>n.style[s]="0")},onAfterLeave:a,onLeaveCancelled:a};function a(n){e&&n._parent&&n._parent.classList.remove(e),i(n)}function i(n){const l=n._initialStyle[s];n.style.overflow=n._initialStyle.overflow,l!=null&&(n.style[s]=l),delete n._initialStyle}}S("fab-transition","center center","out-in");S("dialog-bottom-transition");S("dialog-top-transition");const ft=S("fade-transition");S("scale-transition");S("scroll-x-transition");S("scroll-x-reverse-transition");const mt=S("scroll-y-transition");S("scroll-y-reverse-transition");S("slide-x-transition");S("slide-x-reverse-transition");const gt=S("slide-y-transition");S("slide-y-reverse-transition");const yt=ve("expand-transition",fe()),bt=ve("expand-x-transition",fe("",!0));const me=P({divided:Boolean,...Z(),...N(),...ee(),...te(),...ne(),...O(),...p(),...ae()},"VBtnGroup"),K=w()({name:"VBtnGroup",props:me(),setup(e,o){let{slots:s}=o;const{themeClasses:t}=D(e),{densityClasses:a}=se(e),{borderClasses:i}=ie(e),{elevationClasses:n}=le(e),{roundedClasses:l}=oe(e);Ve({VBtn:{height:"auto",color:B(e,"color"),density:B(e,"density"),flat:!0,variant:B(e,"variant")}}),E(()=>f(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},t.value,i.value,a.value,n.value,l.value,e.class],style:e.style},s))}}),tt=P({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),nt=P({value:null,disabled:Boolean,selectedClass:String},"group-item");function at(e,o){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const t=re("useGroupItem");if(!t)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=Be();ue(Symbol.for(`${o.description}:id`),a);const i=Pe(o,null);if(!i){if(!s)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const n=B(e,"value"),l=y(()=>i.disabled.value||e.disabled);i.register({id:a,value:n,disabled:l},t),$(()=>{i.unregister(a)});const v=y(()=>i.isSelected(a)),b=y(()=>v.value&&[i.selectedClass.value,e.selectedClass]);return G(v,h=>{t.emit("group:selected",{value:h})}),{id:a,isSelected:v,toggle:()=>i.select(a,!v.value),select:h=>i.select(a,h),selectedClass:b,value:n,disabled:l,group:i}}function st(e,o){let s=!1;const t=we([]),a=_e(e,"modelValue",[],r=>r==null?[]:ge(t,Le(r)),r=>{const d=lt(t,r);return e.multiple?d:d[0]}),i=re("useGroup");function n(r,d){const m=r,c=Symbol.for(`${o.description}:id`),x=Re(c,i==null?void 0:i.vnode).indexOf(d);x>-1?t.splice(x,0,m):t.push(m)}function l(r){if(s)return;v();const d=t.findIndex(m=>m.id===r);t.splice(d,1)}function v(){const r=t.find(d=>!d.disabled);r&&e.mandatory==="force"&&!a.value.length&&(a.value=[r.id])}Te(()=>{v()}),$(()=>{s=!0});function b(r,d){const m=t.find(c=>c.id===r);if(!(d&&(m!=null&&m.disabled)))if(e.multiple){const c=a.value.slice(),C=c.findIndex(u=>u===r),x=~C;if(d=d??!x,x&&e.mandatory&&c.length<=1||!x&&e.max!=null&&c.length+1>e.max)return;C<0&&d?c.push(r):C>=0&&!d&&c.splice(C,1),a.value=c}else{const c=a.value.includes(r);if(e.mandatory&&c)return;a.value=d??!c?[r]:[]}}function h(r){if(e.multiple,a.value.length){const d=a.value[0],m=t.findIndex(x=>x.id===d);let c=(m+r)%t.length,C=t[c];for(;C.disabled&&c!==m;)c=(c+r)%t.length,C=t[c];if(C.disabled)return;a.value=[t[c].id]}else{const d=t.find(m=>!m.disabled);d&&(a.value=[d.id])}}const I={register:n,unregister:l,selected:a,select:b,disabled:B(e,"disabled"),prev:()=>h(t.length-1),next:()=>h(1),isSelected:r=>a.value.includes(r),selectedClass:y(()=>e.selectedClass),items:y(()=>t),getItemIndex:r=>it(t,r)};return ue(o,I),I}function it(e,o){const s=ge(e,[o]);return s.length?e.findIndex(t=>t.id===s[0]):-1}function ge(e,o){const s=[];return o.forEach(t=>{const a=e.find(n=>Ee(t,n.value)),i=e[t];(a==null?void 0:a.value)!=null?s.push(a.id):i!=null&&s.push(i.id)}),s}function lt(e,o){const s=[];return o.forEach(t=>{const a=e.findIndex(i=>i.id===t);if(~a){const i=e[a];s.push(i.value!=null?i.value:a)}}),s}const ye=Symbol.for("vuetify:v-btn-toggle"),ot=P({...me(),...tt()},"VBtnToggle"),ht=w()({name:"VBtnToggle",props:ot(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:s}=o;const{isSelected:t,next:a,prev:i,select:n,selected:l}=st(e,ye);return E(()=>{const[v]=K.filterProps(e);return f(K,ze({class:["v-btn-toggle",e.class]},v,{style:e.style}),{default:()=>{var b;return[(b=s.default)==null?void 0:b.call(s,{isSelected:t,next:a,prev:i,select:n,selected:l})]}})}),{next:a,prev:i,select:n}}});const rt=P({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...N(),...de(),...O({tag:"div"}),...p()},"VProgressCircular"),ut=w()({name:"VProgressCircular",props:rt(),setup(e,o){let{slots:s}=o;const t=20,a=2*Math.PI*t,i=A(),{themeClasses:n}=D(e),{sizeClasses:l,sizeStyles:v}=ce(e),{textColorClasses:b,textColorStyles:h}=J(B(e,"color")),{textColorClasses:I,textColorStyles:r}=J(B(e,"bgColor")),{intersectionRef:d,isIntersecting:m}=Ae(),{resizeRef:c,contentRect:C}=Ze(),x=y(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),u=y(()=>Number(e.width)),g=y(()=>v.value?Number(e.size):C.value?C.value.width:Math.max(u.value,32)),_=y(()=>t/(1-u.value/g.value)*2),V=y(()=>u.value/g.value*_.value),L=y(()=>$e((100-x.value)/100*a));return Ge(()=>{d.value=i.value,c.value=i.value}),E(()=>f(e.tag,{ref:i,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":m.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},n.value,l.value,b.value,e.class],style:[v.value,h.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:x.value},{default:()=>[f("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${_.value} ${_.value}`},[f("circle",{class:["v-progress-circular__underlay",I.value],style:r.value,fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":V.value,"stroke-dasharray":a,"stroke-dashoffset":0},null),f("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":V.value,"stroke-dasharray":a,"stroke-dashoffset":L.value},null)]),s.default&&f("div",{class:"v-progress-circular__content"},[s.default({value:x.value})])]})),{}}});function dt(e,o){G(()=>{var s;return(s=e.isActive)==null?void 0:s.value},s=>{e.isLink.value&&s&&o&&Ne(()=>{o(!0)})},{immediate:!0})}const ct=P({active:{type:Boolean,default:void 0},symbol:{type:null,default:ye},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Y,appendIcon:Y,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Z(),...N(),...ee(),...Oe(),...te(),...nt(),...pe(),...De(),...Me(),...ne(),...Fe(),...de(),...O({tag:"button"}),...p(),...ae({variant:"elevated"})},"VBtn"),Ct=w()({name:"VBtn",directives:{Ripple:Ue},props:ct(),emits:{"group:selected":e=>!0},setup(e,o){let{attrs:s,slots:t}=o;const{themeClasses:a}=D(e),{borderClasses:i}=ie(e),{colorClasses:n,colorStyles:l,variantClasses:v}=He(e),{densityClasses:b}=se(e),{dimensionStyles:h}=qe(e),{elevationClasses:I}=le(e),{loaderClasses:r}=je(e),{locationStyles:d}=We(e),{positionClasses:m}=Je(e),{roundedClasses:c}=oe(e),{sizeClasses:C,sizeStyles:x}=ce(e),u=at(e,e.symbol,!1),g=Ye(e,s),_=y(()=>{var k;return e.active!==void 0?e.active:g.isLink.value?(k=g.isActive)==null?void 0:k.value:u==null?void 0:u.isSelected.value}),V=y(()=>(u==null?void 0:u.disabled.value)||e.disabled),L=y(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),be=y(()=>{if(e.value!==void 0)return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function he(k){var T;V.value||g.isLink.value&&(k.metaKey||k.ctrlKey||k.shiftKey||k.button!==0||s.target==="_blank")||((T=g.navigate)==null||T.call(g,k),u==null||u.toggle())}return dt(g,u==null?void 0:u.select),E(()=>{var U,H;const k=g.isLink.value?"a":e.tag,T=!!(e.prependIcon||t.prepend),Ce=!!(e.appendIcon||t.append),M=!!(e.icon&&e.icon!==!0),F=(u==null?void 0:u.isSelected.value)&&(!g.isLink.value||((U=g.isActive)==null?void 0:U.value))||!u||((H=g.isActive)==null?void 0:H.value);return Ke(f(k,{type:k==="a"?void 0:"button",class:["v-btn",u==null?void 0:u.selectedClass.value,{"v-btn--active":_.value,"v-btn--block":e.block,"v-btn--disabled":V.value,"v-btn--elevated":L.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--stacked":e.stacked},a.value,i.value,F?n.value:void 0,b.value,I.value,r.value,m.value,c.value,C.value,v.value,e.class],style:[F?l.value:void 0,h.value,d.value,x.value,e.style],disabled:V.value||void 0,href:g.href.value,onClick:he,value:be.value},{default:()=>{var q;return[Qe(!0,"v-btn"),!e.icon&&T&&f("span",{key:"prepend",class:"v-btn__prepend"},[t.prepend?f(z,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},t.prepend):f(R,{key:"prepend-icon",icon:e.prependIcon},null)]),f("span",{class:"v-btn__content","data-no-activator":""},[!t.default&&M?f(R,{key:"content-icon",icon:e.icon},null):f(z,{key:"content-defaults",disabled:!M,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var j;return[((j=t.default)==null?void 0:j.call(t))??e.text]}})]),!e.icon&&Ce&&f("span",{key:"append",class:"v-btn__append"},[t.append?f(z,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},t.append):f(R,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&f("span",{key:"loader",class:"v-btn__loader"},[((q=t.loader)==null?void 0:q.call(t))??f(ut,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Xe("ripple"),!V.value&&e.ripple,null]])}),{}}});export{Ct as V,yt as a,at as b,ut as c,ht as d,ct as e,tt as f,st as g,ft as h,mt as i,bt as j,gt as k,nt as m,Ze as u}; +import{r as A,b6 as xe,l as $,w as G,bS as W,bM as Se,a6 as w,a$ as ke,az as X,bT as Q,p as P,bU as Ie,ah as Z,a1 as N,a2 as ee,ai as te,aj as ne,a4 as O,a5 as p,bg as ae,a8 as D,b8 as se,am as ie,an as le,ao as oe,ap as Ve,al as B,ac as E,F as f,d as re,h as Be,e as ue,i as Pe,c as y,a as we,a9 as _e,o as Te,bk as Ee,bc as Le,f as Re,H as ze,a3 as de,bH as ce,b3 as J,bV as Ae,b as $e,at as Ge,z as Ne,a0 as Y,aH as Oe,bP as pe,aI as De,aJ as Me,bz as Fe,bq as Ue,bB as He,aK as qe,aS as je,aL as We,aM as Je,bA as Ye,N as Ke,br as Xe,bD as Qe,V as R,ar as z}from"./index-cb66bb90.js";function Ze(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const s=A(),t=A();if(xe){const a=new ResizeObserver(i=>{e==null||e(i,a),i.length&&(o==="content"?t.value=i[0].contentRect:t.value=i[0].target.getBoundingClientRect())});$(()=>{a.disconnect()}),G(s,(i,n)=>{n&&(a.unobserve(W(n)),t.value=void 0),i&&a.observe(W(i))},{flush:"post"})}return{resizeRef:s,contentRect:Se(t)}}const et=P({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function S(e,o,s){return w()({name:e,props:et({mode:s,origin:o}),setup(t,a){let{slots:i}=a;const n={onBeforeEnter(l){t.origin&&(l.style.transformOrigin=t.origin)},onLeave(l){if(t.leaveAbsolute){const{offsetTop:v,offsetLeft:b,offsetWidth:h,offsetHeight:I}=l;l._transitionInitialStyles={position:l.style.position,top:l.style.top,left:l.style.left,width:l.style.width,height:l.style.height},l.style.position="absolute",l.style.top=`${v}px`,l.style.left=`${b}px`,l.style.width=`${h}px`,l.style.height=`${I}px`}t.hideOnLeave&&l.style.setProperty("display","none","important")},onAfterLeave(l){if(t.leaveAbsolute&&(l!=null&&l._transitionInitialStyles)){const{position:v,top:b,left:h,width:I,height:r}=l._transitionInitialStyles;delete l._transitionInitialStyles,l.style.position=v||"",l.style.top=b||"",l.style.left=h||"",l.style.width=I||"",l.style.height=r||""}}};return()=>{const l=t.group?ke:X;return Q(l,{name:t.disabled?"":e,css:!t.disabled,...t.group?void 0:{mode:t.mode},...t.disabled?{}:n},i.default)}}})}function ve(e,o){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return w()({name:e,props:{mode:{type:String,default:s},disabled:Boolean},setup(t,a){let{slots:i}=a;return()=>Q(X,{name:t.disabled?"":e,css:!t.disabled,...t.disabled?{}:o},i.default)}})}function fe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const s=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",t=Ie(`offset-${s}`);return{onBeforeEnter(n){n._parent=n.parentNode,n._initialStyle={transition:n.style.transition,overflow:n.style.overflow,[s]:n.style[s]}},onEnter(n){const l=n._initialStyle;n.style.setProperty("transition","none","important"),n.style.overflow="hidden";const v=`${n[t]}px`;n.style[s]="0",n.offsetHeight,n.style.transition=l.transition,e&&n._parent&&n._parent.classList.add(e),requestAnimationFrame(()=>{n.style[s]=v})},onAfterEnter:i,onEnterCancelled:i,onLeave(n){n._initialStyle={transition:"",overflow:n.style.overflow,[s]:n.style[s]},n.style.overflow="hidden",n.style[s]=`${n[t]}px`,n.offsetHeight,requestAnimationFrame(()=>n.style[s]="0")},onAfterLeave:a,onLeaveCancelled:a};function a(n){e&&n._parent&&n._parent.classList.remove(e),i(n)}function i(n){const l=n._initialStyle[s];n.style.overflow=n._initialStyle.overflow,l!=null&&(n.style[s]=l),delete n._initialStyle}}S("fab-transition","center center","out-in");S("dialog-bottom-transition");S("dialog-top-transition");const ft=S("fade-transition");S("scale-transition");S("scroll-x-transition");S("scroll-x-reverse-transition");const mt=S("scroll-y-transition");S("scroll-y-reverse-transition");S("slide-x-transition");S("slide-x-reverse-transition");const gt=S("slide-y-transition");S("slide-y-reverse-transition");const yt=ve("expand-transition",fe()),bt=ve("expand-x-transition",fe("",!0));const me=P({divided:Boolean,...Z(),...N(),...ee(),...te(),...ne(),...O(),...p(),...ae()},"VBtnGroup"),K=w()({name:"VBtnGroup",props:me(),setup(e,o){let{slots:s}=o;const{themeClasses:t}=D(e),{densityClasses:a}=se(e),{borderClasses:i}=ie(e),{elevationClasses:n}=le(e),{roundedClasses:l}=oe(e);Ve({VBtn:{height:"auto",color:B(e,"color"),density:B(e,"density"),flat:!0,variant:B(e,"variant")}}),E(()=>f(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},t.value,i.value,a.value,n.value,l.value,e.class],style:e.style},s))}}),tt=P({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),nt=P({value:null,disabled:Boolean,selectedClass:String},"group-item");function at(e,o){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const t=re("useGroupItem");if(!t)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=Be();ue(Symbol.for(`${o.description}:id`),a);const i=Pe(o,null);if(!i){if(!s)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const n=B(e,"value"),l=y(()=>i.disabled.value||e.disabled);i.register({id:a,value:n,disabled:l},t),$(()=>{i.unregister(a)});const v=y(()=>i.isSelected(a)),b=y(()=>v.value&&[i.selectedClass.value,e.selectedClass]);return G(v,h=>{t.emit("group:selected",{value:h})}),{id:a,isSelected:v,toggle:()=>i.select(a,!v.value),select:h=>i.select(a,h),selectedClass:b,value:n,disabled:l,group:i}}function st(e,o){let s=!1;const t=we([]),a=_e(e,"modelValue",[],r=>r==null?[]:ge(t,Le(r)),r=>{const d=lt(t,r);return e.multiple?d:d[0]}),i=re("useGroup");function n(r,d){const m=r,c=Symbol.for(`${o.description}:id`),x=Re(c,i==null?void 0:i.vnode).indexOf(d);x>-1?t.splice(x,0,m):t.push(m)}function l(r){if(s)return;v();const d=t.findIndex(m=>m.id===r);t.splice(d,1)}function v(){const r=t.find(d=>!d.disabled);r&&e.mandatory==="force"&&!a.value.length&&(a.value=[r.id])}Te(()=>{v()}),$(()=>{s=!0});function b(r,d){const m=t.find(c=>c.id===r);if(!(d&&(m!=null&&m.disabled)))if(e.multiple){const c=a.value.slice(),C=c.findIndex(u=>u===r),x=~C;if(d=d??!x,x&&e.mandatory&&c.length<=1||!x&&e.max!=null&&c.length+1>e.max)return;C<0&&d?c.push(r):C>=0&&!d&&c.splice(C,1),a.value=c}else{const c=a.value.includes(r);if(e.mandatory&&c)return;a.value=d??!c?[r]:[]}}function h(r){if(e.multiple,a.value.length){const d=a.value[0],m=t.findIndex(x=>x.id===d);let c=(m+r)%t.length,C=t[c];for(;C.disabled&&c!==m;)c=(c+r)%t.length,C=t[c];if(C.disabled)return;a.value=[t[c].id]}else{const d=t.find(m=>!m.disabled);d&&(a.value=[d.id])}}const I={register:n,unregister:l,selected:a,select:b,disabled:B(e,"disabled"),prev:()=>h(t.length-1),next:()=>h(1),isSelected:r=>a.value.includes(r),selectedClass:y(()=>e.selectedClass),items:y(()=>t),getItemIndex:r=>it(t,r)};return ue(o,I),I}function it(e,o){const s=ge(e,[o]);return s.length?e.findIndex(t=>t.id===s[0]):-1}function ge(e,o){const s=[];return o.forEach(t=>{const a=e.find(n=>Ee(t,n.value)),i=e[t];(a==null?void 0:a.value)!=null?s.push(a.id):i!=null&&s.push(i.id)}),s}function lt(e,o){const s=[];return o.forEach(t=>{const a=e.findIndex(i=>i.id===t);if(~a){const i=e[a];s.push(i.value!=null?i.value:a)}}),s}const ye=Symbol.for("vuetify:v-btn-toggle"),ot=P({...me(),...tt()},"VBtnToggle"),ht=w()({name:"VBtnToggle",props:ot(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:s}=o;const{isSelected:t,next:a,prev:i,select:n,selected:l}=st(e,ye);return E(()=>{const[v]=K.filterProps(e);return f(K,ze({class:["v-btn-toggle",e.class]},v,{style:e.style}),{default:()=>{var b;return[(b=s.default)==null?void 0:b.call(s,{isSelected:t,next:a,prev:i,select:n,selected:l})]}})}),{next:a,prev:i,select:n}}});const rt=P({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...N(),...de(),...O({tag:"div"}),...p()},"VProgressCircular"),ut=w()({name:"VProgressCircular",props:rt(),setup(e,o){let{slots:s}=o;const t=20,a=2*Math.PI*t,i=A(),{themeClasses:n}=D(e),{sizeClasses:l,sizeStyles:v}=ce(e),{textColorClasses:b,textColorStyles:h}=J(B(e,"color")),{textColorClasses:I,textColorStyles:r}=J(B(e,"bgColor")),{intersectionRef:d,isIntersecting:m}=Ae(),{resizeRef:c,contentRect:C}=Ze(),x=y(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),u=y(()=>Number(e.width)),g=y(()=>v.value?Number(e.size):C.value?C.value.width:Math.max(u.value,32)),_=y(()=>t/(1-u.value/g.value)*2),V=y(()=>u.value/g.value*_.value),L=y(()=>$e((100-x.value)/100*a));return Ge(()=>{d.value=i.value,c.value=i.value}),E(()=>f(e.tag,{ref:i,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":m.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},n.value,l.value,b.value,e.class],style:[v.value,h.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:x.value},{default:()=>[f("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${_.value} ${_.value}`},[f("circle",{class:["v-progress-circular__underlay",I.value],style:r.value,fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":V.value,"stroke-dasharray":a,"stroke-dashoffset":0},null),f("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":V.value,"stroke-dasharray":a,"stroke-dashoffset":L.value},null)]),s.default&&f("div",{class:"v-progress-circular__content"},[s.default({value:x.value})])]})),{}}});function dt(e,o){G(()=>{var s;return(s=e.isActive)==null?void 0:s.value},s=>{e.isLink.value&&s&&o&&Ne(()=>{o(!0)})},{immediate:!0})}const ct=P({active:{type:Boolean,default:void 0},symbol:{type:null,default:ye},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Y,appendIcon:Y,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Z(),...N(),...ee(),...Oe(),...te(),...nt(),...pe(),...De(),...Me(),...ne(),...Fe(),...de(),...O({tag:"button"}),...p(),...ae({variant:"elevated"})},"VBtn"),Ct=w()({name:"VBtn",directives:{Ripple:Ue},props:ct(),emits:{"group:selected":e=>!0},setup(e,o){let{attrs:s,slots:t}=o;const{themeClasses:a}=D(e),{borderClasses:i}=ie(e),{colorClasses:n,colorStyles:l,variantClasses:v}=He(e),{densityClasses:b}=se(e),{dimensionStyles:h}=qe(e),{elevationClasses:I}=le(e),{loaderClasses:r}=je(e),{locationStyles:d}=We(e),{positionClasses:m}=Je(e),{roundedClasses:c}=oe(e),{sizeClasses:C,sizeStyles:x}=ce(e),u=at(e,e.symbol,!1),g=Ye(e,s),_=y(()=>{var k;return e.active!==void 0?e.active:g.isLink.value?(k=g.isActive)==null?void 0:k.value:u==null?void 0:u.isSelected.value}),V=y(()=>(u==null?void 0:u.disabled.value)||e.disabled),L=y(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),be=y(()=>{if(e.value!==void 0)return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function he(k){var T;V.value||g.isLink.value&&(k.metaKey||k.ctrlKey||k.shiftKey||k.button!==0||s.target==="_blank")||((T=g.navigate)==null||T.call(g,k),u==null||u.toggle())}return dt(g,u==null?void 0:u.select),E(()=>{var U,H;const k=g.isLink.value?"a":e.tag,T=!!(e.prependIcon||t.prepend),Ce=!!(e.appendIcon||t.append),M=!!(e.icon&&e.icon!==!0),F=(u==null?void 0:u.isSelected.value)&&(!g.isLink.value||((U=g.isActive)==null?void 0:U.value))||!u||((H=g.isActive)==null?void 0:H.value);return Ke(f(k,{type:k==="a"?void 0:"button",class:["v-btn",u==null?void 0:u.selectedClass.value,{"v-btn--active":_.value,"v-btn--block":e.block,"v-btn--disabled":V.value,"v-btn--elevated":L.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--stacked":e.stacked},a.value,i.value,F?n.value:void 0,b.value,I.value,r.value,m.value,c.value,C.value,v.value,e.class],style:[F?l.value:void 0,h.value,d.value,x.value,e.style],disabled:V.value||void 0,href:g.href.value,onClick:he,value:be.value},{default:()=>{var q;return[Qe(!0,"v-btn"),!e.icon&&T&&f("span",{key:"prepend",class:"v-btn__prepend"},[t.prepend?f(z,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},t.prepend):f(R,{key:"prepend-icon",icon:e.prependIcon},null)]),f("span",{class:"v-btn__content","data-no-activator":""},[!t.default&&M?f(R,{key:"content-icon",icon:e.icon},null):f(z,{key:"content-defaults",disabled:!M,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var j;return[((j=t.default)==null?void 0:j.call(t))??e.text]}})]),!e.icon&&Ce&&f("span",{key:"append",class:"v-btn__append"},[t.append?f(z,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},t.append):f(R,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&f("span",{key:"loader",class:"v-btn__loader"},[((q=t.loader)==null?void 0:q.call(t))??f(ut,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Xe("ripple"),!V.value&&e.ripple,null]])}),{}}});export{Ct as V,yt as a,at as b,ut as c,ht as d,ct as e,tt as f,st as g,ft as h,mt as i,bt as j,gt as k,nt as m,Ze as u}; diff --git a/src/front/dist/assets/VCarouselItem-2e9d7f15.js b/src/front/dist/assets/VCarouselItem-3dadb2b7.js similarity index 92% rename from src/front/dist/assets/VCarouselItem-2e9d7f15.js rename to src/front/dist/assets/VCarouselItem-3dadb2b7.js index ce419e2d6..ec8f51134 100644 --- a/src/front/dist/assets/VCarouselItem-2e9d7f15.js +++ b/src/front/dist/assets/VCarouselItem-3dadb2b7.js @@ -1 +1 @@ -import{m as D,a as w,b as k,V as h}from"./VWindowItem-68f94bab.js";import{p as I,a0 as B,a6 as y,a9 as x,a7 as T,r as S,w as g,o as F,ac as C,F as t,Z as N,ar as W,H as s,P as _,b as $,bI as p,aq as P}from"./index-c88a2b18.js";import{V as A}from"./VBtn-3e30d8f6.js";const L=I({color:String,cycle:Boolean,delimiterIcon:{type:B,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:e=>Number(e)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...D({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),z=y()({name:"VCarousel",props:L(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const r=x(e,"modelValue"),{t:u}=T(),o=S();let c=-1;g(r,m),g(()=>e.interval,m),g(()=>e.cycle,d=>{d?m():window.clearTimeout(c)}),F(f);function f(){!e.cycle||!o.value||(c=window.setTimeout(o.value.group.next,+e.interval>0?+e.interval:6e3))}function m(){window.clearTimeout(c),window.requestAnimationFrame(f)}return C(()=>{const[d]=w.filterProps(e);return t(w,s({ref:o},d,{modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,class:["v-carousel",{"v-carousel--hide-delimiter-background":e.hideDelimiterBackground,"v-carousel--vertical-delimiters":e.verticalDelimiters},e.class],style:[{height:$(e.height)},e.style]}),{default:a.default,additional:v=>{let{group:l}=v;return t(N,null,[!e.hideDelimiters&&t("div",{class:"v-carousel__controls",style:{left:e.verticalDelimiters==="left"&&e.verticalDelimiters?0:"auto",right:e.verticalDelimiters==="right"?0:"auto"}},[l.items.value.length>0&&t(W,{defaults:{VBtn:{color:e.color,icon:e.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[l.items.value.map((i,b)=>{const V={id:`carousel-item-${i.id}`,"aria-label":u("$vuetify.carousel.ariaLabel.delimiter",b+1,l.items.value.length),class:[l.isSelected(i.id)&&"v-btn--active"],onClick:()=>l.select(i.id,!0)};return a.item?a.item({props:V,item:i}):t(A,s(i,V),null)})]})]),e.progress&&t(_,{class:"v-carousel__progress",color:typeof e.progress=="string"?e.progress:void 0,modelValue:(l.getItemIndex(r.value)+1)/l.items.value.length*100},null)])},prev:a.prev,next:a.next})}),{}}}),q=I({...p(),...k()},"VCarouselItem"),H=y()({name:"VCarouselItem",inheritAttrs:!1,props:q(),setup(e,n){let{slots:a,attrs:r}=n;C(()=>{const[u]=P.filterProps(e),[o]=h.filterProps(e);return t(h,s({class:"v-carousel-item"},o),{default:()=>[t(P,s(r,u),a)]})})}});export{z as V,H as a}; +import{m as D,a as w,b as k,V as h}from"./VWindowItem-ffea9ec9.js";import{p as I,a0 as B,a6 as y,a9 as x,a7 as T,r as S,w as g,o as F,ac as C,F as t,Z as N,ar as W,H as s,P as _,b as $,bI as p,aq as P}from"./index-cb66bb90.js";import{V as A}from"./VBtn-be56359b.js";const L=I({color:String,cycle:Boolean,delimiterIcon:{type:B,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:e=>Number(e)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...D({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),z=y()({name:"VCarousel",props:L(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:a}=n;const r=x(e,"modelValue"),{t:u}=T(),o=S();let c=-1;g(r,m),g(()=>e.interval,m),g(()=>e.cycle,d=>{d?m():window.clearTimeout(c)}),F(f);function f(){!e.cycle||!o.value||(c=window.setTimeout(o.value.group.next,+e.interval>0?+e.interval:6e3))}function m(){window.clearTimeout(c),window.requestAnimationFrame(f)}return C(()=>{const[d]=w.filterProps(e);return t(w,s({ref:o},d,{modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,class:["v-carousel",{"v-carousel--hide-delimiter-background":e.hideDelimiterBackground,"v-carousel--vertical-delimiters":e.verticalDelimiters},e.class],style:[{height:$(e.height)},e.style]}),{default:a.default,additional:v=>{let{group:l}=v;return t(N,null,[!e.hideDelimiters&&t("div",{class:"v-carousel__controls",style:{left:e.verticalDelimiters==="left"&&e.verticalDelimiters?0:"auto",right:e.verticalDelimiters==="right"?0:"auto"}},[l.items.value.length>0&&t(W,{defaults:{VBtn:{color:e.color,icon:e.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[l.items.value.map((i,b)=>{const V={id:`carousel-item-${i.id}`,"aria-label":u("$vuetify.carousel.ariaLabel.delimiter",b+1,l.items.value.length),class:[l.isSelected(i.id)&&"v-btn--active"],onClick:()=>l.select(i.id,!0)};return a.item?a.item({props:V,item:i}):t(A,s(i,V),null)})]})]),e.progress&&t(_,{class:"v-carousel__progress",color:typeof e.progress=="string"?e.progress:void 0,modelValue:(l.getItemIndex(r.value)+1)/l.items.value.length*100},null)])},prev:a.prev,next:a.next})}),{}}}),q=I({...p(),...k()},"VCarouselItem"),H=y()({name:"VCarouselItem",inheritAttrs:!1,props:q(),setup(e,n){let{slots:a,attrs:r}=n;C(()=>{const[u]=P.filterProps(e),[o]=h.filterProps(e);return t(h,s({class:"v-carousel-item"},o),{default:()=>[t(P,s(r,u),a)]})})}});export{z as V,H as a}; diff --git a/src/front/dist/assets/VChip-e811d273.js b/src/front/dist/assets/VChip-5a86556f.js similarity index 97% rename from src/front/dist/assets/VChip-e811d273.js rename to src/front/dist/assets/VChip-5a86556f.js index ca1176a98..1334107ef 100644 --- a/src/front/dist/assets/VChip-e811d273.js +++ b/src/front/dist/assets/VChip-5a86556f.js @@ -1 +1 @@ -import{p as L,bk as U,a1 as z,a4 as E,a5 as R,bg as F,a6 as T,a8 as w,ap as W,al as r,ac as Y,F as l,a0 as y,by as _,ah as ee,a2 as ae,ai as le,aj as te,bz as ne,a3 as se,bq as ie,a7 as ce,am as de,bB as oe,b8 as ue,an as re,ao as ve,bH as fe,a9 as me,bA as pe,c as C,N as V,br as x,bD as ke,V as v,ar as f,O as be,Z as D,bo as G,H as he}from"./index-c88a2b18.js";import{f as ye,g as Ce,m as Ve,b as ge,j as Ie}from"./VBtn-3e30d8f6.js";const O=Symbol.for("vuetify:v-chip-group"),Pe=L({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:U},...z(),...ye({selectedClass:"v-chip--selected"}),...E(),...R(),...F({variant:"tonal"})},"VChipGroup");T()({name:"VChipGroup",props:Pe(),emits:{"update:modelValue":e=>!0},setup(e,m){let{slots:c}=m;const{themeClasses:o}=w(e),{isSelected:t,select:p,next:k,prev:b,selected:h}=Ce(e,O);return W({VChip:{color:r(e,"color"),disabled:r(e,"disabled"),filter:r(e,"filter"),variant:r(e,"variant")}}),Y(()=>l(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},o.value,e.class],style:e.style},{default:()=>{var u;return[(u=c.default)==null?void 0:u.call(c,{isSelected:t,select:p,next:k,prev:b,selected:h.value})]}})),{}}});const Ae=L({activeClass:String,appendAvatar:String,appendIcon:y,closable:Boolean,closeIcon:{type:y,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:y,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:_(),onClickOnce:_(),...ee(),...z(),...ae(),...le(),...Ve(),...te(),...ne(),...se(),...E({tag:"span"}),...R(),...F({variant:"tonal"})},"VChip"),_e=T()({name:"VChip",directives:{Ripple:ie},props:Ae(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,m){let{attrs:c,emit:o,slots:t}=m;const{t:p}=ce(),{borderClasses:k}=de(e),{colorClasses:b,colorStyles:h,variantClasses:u}=oe(e),{densityClasses:$}=ue(e),{elevationClasses:j}=re(e),{roundedClasses:M}=ve(e),{sizeClasses:q}=fe(e),{themeClasses:H}=w(e),g=me(e,"modelValue"),a=ge(e,O,!1),s=pe(e,c),K=C(()=>e.link!==!1&&s.isLink.value),i=C(()=>!e.disabled&&e.link!==!1&&(!!a||e.link||s.isClickable.value)),N=C(()=>({"aria-label":p(e.closeLabel),onClick(n){g.value=!1,o("click:close",n)}}));function I(n){var d;o("click",n),i.value&&((d=s.navigate)==null||d.call(s,n),a==null||a.toggle())}function X(n){(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),I(n))}return()=>{const n=s.isLink.value?"a":e.tag,d=!!(e.appendIcon||e.appendAvatar),Z=!!(d||t.append),J=!!(t.close||e.closable),P=!!(t.filter||e.filter)&&a,A=!!(e.prependIcon||e.prependAvatar),Q=!!(A||t.prepend),S=!a||a.isSelected.value;return g.value&&V(l(n,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":i.value,"v-chip--filter":P,"v-chip--pill":e.pill},H.value,k.value,S?b.value:void 0,$.value,j.value,M.value,q.value,u.value,a==null?void 0:a.selectedClass.value,e.class],style:[S?h.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:s.href.value,tabindex:i.value?0:void 0,onClick:I,onKeydown:i.value&&!K.value&&X},{default:()=>{var B;return[ke(i.value,"v-chip"),P&&l(Ie,{key:"filter"},{default:()=>[V(l("div",{class:"v-chip__filter"},[t.filter?V(l(f,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},null),[[x("slot"),t.filter,"default"]]):l(v,{key:"filter-icon",icon:e.filterIcon},null)]),[[be,a.isSelected.value]])]}),Q&&l("div",{key:"prepend",class:"v-chip__prepend"},[t.prepend?l(f,{key:"prepend-defaults",disabled:!A,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},t.prepend):l(D,null,[e.prependIcon&&l(v,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&l(G,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),l("div",{class:"v-chip__content"},[((B=t.default)==null?void 0:B.call(t,{isSelected:a==null?void 0:a.isSelected.value,selectedClass:a==null?void 0:a.selectedClass.value,select:a==null?void 0:a.select,toggle:a==null?void 0:a.toggle,value:a==null?void 0:a.value.value,disabled:e.disabled}))??e.text]),Z&&l("div",{key:"append",class:"v-chip__append"},[t.append?l(f,{key:"append-defaults",disabled:!d,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},t.append):l(D,null,[e.appendIcon&&l(v,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&l(G,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),J&&l("div",he({key:"close",class:"v-chip__close"},N.value),[t.close?l(f,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},t.close):l(v,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[x("ripple"),i.value&&e.ripple,null]])}}});export{_e as V}; +import{p as L,bk as U,a1 as z,a4 as E,a5 as R,bg as F,a6 as T,a8 as w,ap as W,al as r,ac as Y,F as l,a0 as y,by as _,ah as ee,a2 as ae,ai as le,aj as te,bz as ne,a3 as se,bq as ie,a7 as ce,am as de,bB as oe,b8 as ue,an as re,ao as ve,bH as fe,a9 as me,bA as pe,c as C,N as V,br as x,bD as ke,V as v,ar as f,O as be,Z as D,bo as G,H as he}from"./index-cb66bb90.js";import{f as ye,g as Ce,m as Ve,b as ge,j as Ie}from"./VBtn-be56359b.js";const O=Symbol.for("vuetify:v-chip-group"),Pe=L({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:U},...z(),...ye({selectedClass:"v-chip--selected"}),...E(),...R(),...F({variant:"tonal"})},"VChipGroup");T()({name:"VChipGroup",props:Pe(),emits:{"update:modelValue":e=>!0},setup(e,m){let{slots:c}=m;const{themeClasses:o}=w(e),{isSelected:t,select:p,next:k,prev:b,selected:h}=Ce(e,O);return W({VChip:{color:r(e,"color"),disabled:r(e,"disabled"),filter:r(e,"filter"),variant:r(e,"variant")}}),Y(()=>l(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},o.value,e.class],style:e.style},{default:()=>{var u;return[(u=c.default)==null?void 0:u.call(c,{isSelected:t,select:p,next:k,prev:b,selected:h.value})]}})),{}}});const Ae=L({activeClass:String,appendAvatar:String,appendIcon:y,closable:Boolean,closeIcon:{type:y,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:y,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:_(),onClickOnce:_(),...ee(),...z(),...ae(),...le(),...Ve(),...te(),...ne(),...se(),...E({tag:"span"}),...R(),...F({variant:"tonal"})},"VChip"),_e=T()({name:"VChip",directives:{Ripple:ie},props:Ae(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,m){let{attrs:c,emit:o,slots:t}=m;const{t:p}=ce(),{borderClasses:k}=de(e),{colorClasses:b,colorStyles:h,variantClasses:u}=oe(e),{densityClasses:$}=ue(e),{elevationClasses:j}=re(e),{roundedClasses:M}=ve(e),{sizeClasses:q}=fe(e),{themeClasses:H}=w(e),g=me(e,"modelValue"),a=ge(e,O,!1),s=pe(e,c),K=C(()=>e.link!==!1&&s.isLink.value),i=C(()=>!e.disabled&&e.link!==!1&&(!!a||e.link||s.isClickable.value)),N=C(()=>({"aria-label":p(e.closeLabel),onClick(n){g.value=!1,o("click:close",n)}}));function I(n){var d;o("click",n),i.value&&((d=s.navigate)==null||d.call(s,n),a==null||a.toggle())}function X(n){(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),I(n))}return()=>{const n=s.isLink.value?"a":e.tag,d=!!(e.appendIcon||e.appendAvatar),Z=!!(d||t.append),J=!!(t.close||e.closable),P=!!(t.filter||e.filter)&&a,A=!!(e.prependIcon||e.prependAvatar),Q=!!(A||t.prepend),S=!a||a.isSelected.value;return g.value&&V(l(n,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":i.value,"v-chip--filter":P,"v-chip--pill":e.pill},H.value,k.value,S?b.value:void 0,$.value,j.value,M.value,q.value,u.value,a==null?void 0:a.selectedClass.value,e.class],style:[S?h.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:s.href.value,tabindex:i.value?0:void 0,onClick:I,onKeydown:i.value&&!K.value&&X},{default:()=>{var B;return[ke(i.value,"v-chip"),P&&l(Ie,{key:"filter"},{default:()=>[V(l("div",{class:"v-chip__filter"},[t.filter?V(l(f,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},null),[[x("slot"),t.filter,"default"]]):l(v,{key:"filter-icon",icon:e.filterIcon},null)]),[[be,a.isSelected.value]])]}),Q&&l("div",{key:"prepend",class:"v-chip__prepend"},[t.prepend?l(f,{key:"prepend-defaults",disabled:!A,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},t.prepend):l(D,null,[e.prependIcon&&l(v,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&l(G,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),l("div",{class:"v-chip__content"},[((B=t.default)==null?void 0:B.call(t,{isSelected:a==null?void 0:a.isSelected.value,selectedClass:a==null?void 0:a.selectedClass.value,select:a==null?void 0:a.select,toggle:a==null?void 0:a.toggle,value:a==null?void 0:a.value.value,disabled:e.disabled}))??e.text]),Z&&l("div",{key:"append",class:"v-chip__append"},[t.append?l(f,{key:"append-defaults",disabled:!d,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},t.append):l(D,null,[e.appendIcon&&l(v,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&l(G,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),J&&l("div",he({key:"close",class:"v-chip__close"},N.value),[t.close?l(f,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},t.close):l(v,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[x("ripple"),i.value&&e.ripple,null]])}}});export{_e as V}; diff --git a/src/front/dist/assets/VContainer-efd2f5bf.js b/src/front/dist/assets/VContainer-5ec7b029.js similarity index 82% rename from src/front/dist/assets/VContainer-efd2f5bf.js rename to src/front/dist/assets/VContainer-5ec7b029.js index 00b4646aa..eceda79b4 100644 --- a/src/front/dist/assets/VContainer-efd2f5bf.js +++ b/src/front/dist/assets/VContainer-5ec7b029.js @@ -1 +1 @@ -import{p as n,a1 as o,a4 as r,a6 as l,ag as c,ac as i,F as u}from"./index-c88a2b18.js";const m=n({fluid:{type:Boolean,default:!1},...o(),...r()},"VContainer"),C=l()({name:"VContainer",props:m(),setup(a,e){let{slots:s}=e;const{rtlClasses:t}=c();return i(()=>u(a.tag,{class:["v-container",{"v-container--fluid":a.fluid},t.value,a.class],style:a.style},s)),{}}});export{C as V}; +import{p as n,a1 as o,a4 as r,a6 as l,ag as c,ac as i,F as u}from"./index-cb66bb90.js";const m=n({fluid:{type:Boolean,default:!1},...o(),...r()},"VContainer"),C=l()({name:"VContainer",props:m(),setup(a,e){let{slots:s}=e;const{rtlClasses:t}=c();return i(()=>u(a.tag,{class:["v-container",{"v-container--fluid":a.fluid},t.value,a.class],style:a.style},s)),{}}});export{C as V}; diff --git a/src/front/dist/assets/VInput-b34b1163.js b/src/front/dist/assets/VInput-6691c158.js similarity index 98% rename from src/front/dist/assets/VInput-b34b1163.js rename to src/front/dist/assets/VInput-6691c158.js index 776c8413b..6899f518c 100644 --- a/src/front/dist/assets/VInput-b34b1163.js +++ b/src/front/dist/assets/VInput-6691c158.js @@ -1 +1 @@ -import{p as B,a1 as w,bl as ee,a6 as R,c as i,ac as D,F as n,N as ae,O as ne,bx as le,a5 as te,a7 as me,V as be,bO as se,a9 as ie,by as L,a0 as E,bP as he,aj as Ve,a8 as Ce,aS as ke,ao as Ie,ag as ue,h as Y,r as Q,ak as pe,al as _e,b3 as re,w as O,bQ as Se,b as xe,b4 as Pe,aU as $e,Z as Be,H as Fe,bR as Me,bF as Ae,b5 as Le,bc as X,i as we,s as G,v as Re,t as De,l as Te,o as ze,as as J,z as Oe,a2 as Ee,b8 as Ne}from"./index-c88a2b18.js";import{k as oe,j as Ue}from"./VBtn-3e30d8f6.js";const je=B({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...w(),...ee({transition:{component:oe}})},"VCounter"),ia=R()({name:"VCounter",functional:!0,props:je(),setup(e,u){let{slots:s}=u;const a=i(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return D(()=>n(le,{transition:e.transition},{default:()=>[ae(n("div",{class:["v-counter",e.class],style:e.style},[s.default?s.default({counter:a.value,max:e.max,value:e.value}):a.value]),[[ne,e.active]])]})),{}}});const He=B({text:String,clickable:Boolean,...w(),...te()},"VLabel"),Ke=R()({name:"VLabel",props:He(),setup(e,u){let{slots:s}=u;return D(()=>{var a;return n("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(a=s.default)==null?void 0:a.call(s)])}),{}}}),We=B({floating:Boolean,...w()},"VFieldLabel"),q=R()({name:"VFieldLabel",props:We(),setup(e,u){let{slots:s}=u;return D(()=>n(Ke,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},s)),{}}});function de(e){const{t:u}=me();function s(a){let{name:l}=a;const t={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],o=e[`onClick:${l}`],c=o&&t?u(`$vuetify.input.${t}`,e.label??""):void 0;return n(be,{icon:e[`${l}Icon`],"aria-label":c,onClick:o},null)}return{InputIcon:s}}const ce=B({focused:Boolean,"onUpdate:focused":L()},"focus");function qe(e){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se();const s=ie(e,"focused"),a=i(()=>({[`${u}--focused`]:s.value}));function l(){s.value=!0}function t(){s.value=!1}return{focusClasses:a,isFocused:s,focus:l,blur:t}}const Qe=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Xe=B({appendInnerIcon:E,bgColor:String,clearable:Boolean,clearIcon:{type:E,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:E,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>Qe.includes(e)},"onClick:clear":L(),"onClick:appendInner":L(),"onClick:prependInner":L(),...w(),...he(),...Ve(),...te()},"VField"),Ye=R()({name:"VField",inheritAttrs:!1,props:{id:String,...ce(),...Xe()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,u){let{attrs:s,emit:a,slots:l}=u;const{themeClasses:t}=Ce(e),{loaderClasses:o}=ke(e),{focusClasses:c,isFocused:F,focus:k,blur:x}=qe(e),{InputIcon:b}=de(e),{roundedClasses:I}=Ie(e),{rtlClasses:p}=ue(),h=i(()=>e.dirty||e.active),_=i(()=>!e.singleLine&&!!(e.label||l.label)),P=Y(),f=i(()=>e.id||`input-${P}`),$=i(()=>`${f.value}-messages`),v=Q(),r=Q(),d=Q(),y=i(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:T,backgroundColorStyles:g}=pe(_e(e,"bgColor")),{textColorClasses:N,textColorStyles:U}=re(i(()=>e.error||e.disabled?void 0:h.value&&F.value?e.color:e.baseColor));O(h,S=>{if(_.value){const m=v.value.$el,V=r.value.$el;requestAnimationFrame(()=>{const M=Se(m),C=V.getBoundingClientRect(),H=C.x-M.x,K=C.y-M.y-(M.height/2-C.height/2),z=C.width/.75,W=Math.abs(z-M.width)>1?{maxWidth:xe(z)}:void 0,ve=getComputedStyle(m),Z=getComputedStyle(V),fe=parseFloat(ve.transitionDuration)*1e3||150,ge=parseFloat(Z.getPropertyValue("--v-field-label-scale")),ye=Z.getPropertyValue("color");m.style.visibility="visible",V.style.visibility="hidden",Pe(m,{transform:`translate(${H}px, ${K}px) scale(${ge})`,color:ye,...W},{duration:fe,easing:Le,direction:S?"normal":"reverse"}).finished.then(()=>{m.style.removeProperty("visibility"),V.style.removeProperty("visibility")})})}},{flush:"post"});const A=i(()=>({isActive:h,isFocused:F,controlRef:d,blur:x,focus:k}));function j(S){S.target!==document.activeElement&&S.preventDefault()}return D(()=>{var H,K,z;const S=e.variant==="outlined",m=l["prepend-inner"]||e.prependInnerIcon,V=!!(e.clearable||l.clear),M=!!(l["append-inner"]||e.appendInnerIcon||V),C=l.label?l.label({...A.value,label:e.label,props:{for:f.value}}):e.label;return n("div",Fe({class:["v-field",{"v-field--active":h.value,"v-field--appended":M,"v-field--center-affix":e.centerAffix??!y.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":m,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!C,[`v-field--variant-${e.variant}`]:!0},t.value,T.value,c.value,o.value,I.value,p.value,e.class],style:[g.value,U.value,e.style],onClick:j},s),[n("div",{class:"v-field__overlay"},null),n($e,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),m&&n("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&n(b,{key:"prepend-icon",name:"prependInner"},null),(H=l["prepend-inner"])==null?void 0:H.call(l,A.value)]),n("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&_.value&&n(q,{key:"floating-label",ref:r,class:[N.value],floating:!0,for:f.value},{default:()=>[C]}),n(q,{ref:v,for:f.value},{default:()=>[C]}),(K=l.default)==null?void 0:K.call(l,{...A.value,props:{id:f.value,class:"v-field__input","aria-describedby":$.value},focus:k,blur:x})]),V&&n(Ue,{key:"clear"},{default:()=>[ae(n("div",{class:"v-field__clearable",onMousedown:W=>{W.preventDefault(),W.stopPropagation()}},[l.clear?l.clear():n(b,{name:"clear"},null)]),[[ne,e.dirty]])]}),M&&n("div",{key:"append",class:"v-field__append-inner"},[(z=l["append-inner"])==null?void 0:z.call(l,A.value),e.appendInnerIcon&&n(b,{key:"append-icon",name:"appendInner"},null)]),n("div",{class:["v-field__outline",N.value]},[S&&n(Be,null,[n("div",{class:"v-field__outline__start"},null),_.value&&n("div",{class:"v-field__outline__notch"},[n(q,{ref:r,floating:!0,for:f.value},{default:()=>[C]})]),n("div",{class:"v-field__outline__end"},null)]),y.value&&_.value&&n(q,{ref:r,floating:!0,for:f.value},{default:()=>[C]})])])}),{controlRef:d}}});function ua(e){const u=Object.keys(Ye.props).filter(s=>!Me(s)&&s!=="class"&&s!=="style");return Ae(e,u)}const Ze=B({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...w(),...ee({transition:{component:oe,leaveAbsolute:!0,group:!0}})},"VMessages"),Ge=R()({name:"VMessages",props:Ze(),setup(e,u){let{slots:s}=u;const a=i(()=>X(e.messages)),{textColorClasses:l,textColorStyles:t}=re(i(()=>e.color));return D(()=>n(le,{transition:e.transition,tag:"div",class:["v-messages",l.value,e.class],style:[t.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&a.value.map((o,c)=>n("div",{class:"v-messages__message",key:`${c}-${a.value}`},[s.message?s.message({message:o}):o]))]})),{}}}),Je=Symbol.for("vuetify:form");function ea(){return we(Je,null)}const aa=B({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...ce()},"validation");function na(e){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se(),s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Y();const a=ie(e,"modelValue"),l=i(()=>e.validationValue===void 0?a.value:e.validationValue),t=ea(),o=Q([]),c=G(!0),F=i(()=>!!(X(a.value===""?null:a.value).length||X(l.value===""?null:l.value).length)),k=i(()=>!!(e.disabled??(t==null?void 0:t.isDisabled.value))),x=i(()=>!!(e.readonly??(t==null?void 0:t.isReadonly.value))),b=i(()=>e.errorMessages.length?X(e.errorMessages).slice(0,Math.max(0,+e.maxErrors)):o.value),I=i(()=>{let r=(e.validateOn??(t==null?void 0:t.validateOn.value))||"input";r==="lazy"&&(r="input lazy");const d=new Set((r==null?void 0:r.split(" "))??[]);return{blur:d.has("blur")||d.has("input"),input:d.has("input"),submit:d.has("submit"),lazy:d.has("lazy")}}),p=i(()=>e.error||e.errorMessages.length?!1:e.rules.length?c.value?o.value.length||I.value.lazy?null:!0:!o.value.length:!0),h=G(!1),_=i(()=>({[`${u}--error`]:p.value===!1,[`${u}--dirty`]:F.value,[`${u}--disabled`]:k.value,[`${u}--readonly`]:x.value})),P=i(()=>e.name??Re(s));De(()=>{t==null||t.register({id:P.value,validate:v,reset:f,resetValidation:$})}),Te(()=>{t==null||t.unregister(P.value)}),ze(async()=>{I.value.lazy||await v(!0),t==null||t.update(P.value,p.value,b.value)}),J(()=>I.value.input,()=>{O(l,()=>{if(l.value!=null)v();else if(e.focused){const r=O(()=>e.focused,d=>{d||v(),r()})}})}),J(()=>I.value.blur,()=>{O(()=>e.focused,r=>{r||v()})}),O(p,()=>{t==null||t.update(P.value,p.value,b.value)});function f(){a.value=null,Oe($)}function $(){c.value=!0,I.value.lazy?o.value=[]:v(!0)}async function v(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const d=[];h.value=!0;for(const y of e.rules){if(d.length>=+(e.maxErrors??1))break;const g=await(typeof y=="function"?y:()=>y)(l.value);if(g!==!0){if(g!==!1&&typeof g!="string"){console.warn(`${g} is not a valid value. Rule functions must return boolean true or a string.`);continue}d.push(g||"")}}return o.value=d,h.value=!1,c.value=r,o.value}return{errorMessages:b,isDirty:F,isDisabled:k,isReadonly:x,isPristine:c,isValid:p,isValidating:h,reset:f,resetValidation:$,validate:v,validationClasses:_}}const la=B({id:String,appendIcon:E,centerAffix:{type:Boolean,default:!0},prependIcon:E,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":L(),"onClick:append":L(),...w(),...Ee(),...aa()},"VInput"),ra=R()({name:"VInput",props:{...la()},emits:{"update:modelValue":e=>!0},setup(e,u){let{attrs:s,slots:a,emit:l}=u;const{densityClasses:t}=Ne(e),{rtlClasses:o}=ue(),{InputIcon:c}=de(e),F=Y(),k=i(()=>e.id||`input-${F}`),x=i(()=>`${k.value}-messages`),{errorMessages:b,isDirty:I,isDisabled:p,isReadonly:h,isPristine:_,isValid:P,isValidating:f,reset:$,resetValidation:v,validate:r,validationClasses:d}=na(e,"v-input",k),y=i(()=>({id:k,messagesId:x,isDirty:I,isDisabled:p,isReadonly:h,isPristine:_,isValid:P,isValidating:f,reset:$,resetValidation:v,validate:r})),T=i(()=>{var g;return(g=e.errorMessages)!=null&&g.length||!_.value&&b.value.length?b.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return D(()=>{var j,S,m,V;const g=!!(a.prepend||e.prependIcon),N=!!(a.append||e.appendIcon),U=T.value.length>0,A=!e.hideDetails||e.hideDetails==="auto"&&(U||!!a.details);return n("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix},t.value,o.value,d.value,e.class],style:e.style},[g&&n("div",{key:"prepend",class:"v-input__prepend"},[(j=a.prepend)==null?void 0:j.call(a,y.value),e.prependIcon&&n(c,{key:"prepend-icon",name:"prepend"},null)]),a.default&&n("div",{class:"v-input__control"},[(S=a.default)==null?void 0:S.call(a,y.value)]),N&&n("div",{key:"append",class:"v-input__append"},[e.appendIcon&&n(c,{key:"append-icon",name:"append"},null),(m=a.append)==null?void 0:m.call(a,y.value)]),A&&n("div",{class:"v-input__details"},[n(Ge,{id:x.value,active:U,messages:T.value},{message:a.message}),(V=a.details)==null?void 0:V.call(a,y.value)])])}),{reset:$,resetValidation:v,validate:r}}});export{ra as V,Xe as a,Ye as b,ia as c,ea as d,Ke as e,ua as f,la as m,qe as u}; +import{p as B,a1 as w,bl as ee,a6 as R,c as i,ac as D,F as n,N as ae,O as ne,bx as le,a5 as te,a7 as me,V as be,bO as se,a9 as ie,by as L,a0 as E,bP as he,aj as Ve,a8 as Ce,aS as ke,ao as Ie,ag as ue,h as Y,r as Q,ak as pe,al as _e,b3 as re,w as O,bQ as Se,b as xe,b4 as Pe,aU as $e,Z as Be,H as Fe,bR as Me,bF as Ae,b5 as Le,bc as X,i as we,s as G,v as Re,t as De,l as Te,o as ze,as as J,z as Oe,a2 as Ee,b8 as Ne}from"./index-cb66bb90.js";import{k as oe,j as Ue}from"./VBtn-be56359b.js";const je=B({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...w(),...ee({transition:{component:oe}})},"VCounter"),ia=R()({name:"VCounter",functional:!0,props:je(),setup(e,u){let{slots:s}=u;const a=i(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return D(()=>n(le,{transition:e.transition},{default:()=>[ae(n("div",{class:["v-counter",e.class],style:e.style},[s.default?s.default({counter:a.value,max:e.max,value:e.value}):a.value]),[[ne,e.active]])]})),{}}});const He=B({text:String,clickable:Boolean,...w(),...te()},"VLabel"),Ke=R()({name:"VLabel",props:He(),setup(e,u){let{slots:s}=u;return D(()=>{var a;return n("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(a=s.default)==null?void 0:a.call(s)])}),{}}}),We=B({floating:Boolean,...w()},"VFieldLabel"),q=R()({name:"VFieldLabel",props:We(),setup(e,u){let{slots:s}=u;return D(()=>n(Ke,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},s)),{}}});function de(e){const{t:u}=me();function s(a){let{name:l}=a;const t={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],o=e[`onClick:${l}`],c=o&&t?u(`$vuetify.input.${t}`,e.label??""):void 0;return n(be,{icon:e[`${l}Icon`],"aria-label":c,onClick:o},null)}return{InputIcon:s}}const ce=B({focused:Boolean,"onUpdate:focused":L()},"focus");function qe(e){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se();const s=ie(e,"focused"),a=i(()=>({[`${u}--focused`]:s.value}));function l(){s.value=!0}function t(){s.value=!1}return{focusClasses:a,isFocused:s,focus:l,blur:t}}const Qe=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Xe=B({appendInnerIcon:E,bgColor:String,clearable:Boolean,clearIcon:{type:E,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:E,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>Qe.includes(e)},"onClick:clear":L(),"onClick:appendInner":L(),"onClick:prependInner":L(),...w(),...he(),...Ve(),...te()},"VField"),Ye=R()({name:"VField",inheritAttrs:!1,props:{id:String,...ce(),...Xe()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,u){let{attrs:s,emit:a,slots:l}=u;const{themeClasses:t}=Ce(e),{loaderClasses:o}=ke(e),{focusClasses:c,isFocused:F,focus:k,blur:x}=qe(e),{InputIcon:b}=de(e),{roundedClasses:I}=Ie(e),{rtlClasses:p}=ue(),h=i(()=>e.dirty||e.active),_=i(()=>!e.singleLine&&!!(e.label||l.label)),P=Y(),f=i(()=>e.id||`input-${P}`),$=i(()=>`${f.value}-messages`),v=Q(),r=Q(),d=Q(),y=i(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:T,backgroundColorStyles:g}=pe(_e(e,"bgColor")),{textColorClasses:N,textColorStyles:U}=re(i(()=>e.error||e.disabled?void 0:h.value&&F.value?e.color:e.baseColor));O(h,S=>{if(_.value){const m=v.value.$el,V=r.value.$el;requestAnimationFrame(()=>{const M=Se(m),C=V.getBoundingClientRect(),H=C.x-M.x,K=C.y-M.y-(M.height/2-C.height/2),z=C.width/.75,W=Math.abs(z-M.width)>1?{maxWidth:xe(z)}:void 0,ve=getComputedStyle(m),Z=getComputedStyle(V),fe=parseFloat(ve.transitionDuration)*1e3||150,ge=parseFloat(Z.getPropertyValue("--v-field-label-scale")),ye=Z.getPropertyValue("color");m.style.visibility="visible",V.style.visibility="hidden",Pe(m,{transform:`translate(${H}px, ${K}px) scale(${ge})`,color:ye,...W},{duration:fe,easing:Le,direction:S?"normal":"reverse"}).finished.then(()=>{m.style.removeProperty("visibility"),V.style.removeProperty("visibility")})})}},{flush:"post"});const A=i(()=>({isActive:h,isFocused:F,controlRef:d,blur:x,focus:k}));function j(S){S.target!==document.activeElement&&S.preventDefault()}return D(()=>{var H,K,z;const S=e.variant==="outlined",m=l["prepend-inner"]||e.prependInnerIcon,V=!!(e.clearable||l.clear),M=!!(l["append-inner"]||e.appendInnerIcon||V),C=l.label?l.label({...A.value,label:e.label,props:{for:f.value}}):e.label;return n("div",Fe({class:["v-field",{"v-field--active":h.value,"v-field--appended":M,"v-field--center-affix":e.centerAffix??!y.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":m,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!C,[`v-field--variant-${e.variant}`]:!0},t.value,T.value,c.value,o.value,I.value,p.value,e.class],style:[g.value,U.value,e.style],onClick:j},s),[n("div",{class:"v-field__overlay"},null),n($e,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),m&&n("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&n(b,{key:"prepend-icon",name:"prependInner"},null),(H=l["prepend-inner"])==null?void 0:H.call(l,A.value)]),n("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&_.value&&n(q,{key:"floating-label",ref:r,class:[N.value],floating:!0,for:f.value},{default:()=>[C]}),n(q,{ref:v,for:f.value},{default:()=>[C]}),(K=l.default)==null?void 0:K.call(l,{...A.value,props:{id:f.value,class:"v-field__input","aria-describedby":$.value},focus:k,blur:x})]),V&&n(Ue,{key:"clear"},{default:()=>[ae(n("div",{class:"v-field__clearable",onMousedown:W=>{W.preventDefault(),W.stopPropagation()}},[l.clear?l.clear():n(b,{name:"clear"},null)]),[[ne,e.dirty]])]}),M&&n("div",{key:"append",class:"v-field__append-inner"},[(z=l["append-inner"])==null?void 0:z.call(l,A.value),e.appendInnerIcon&&n(b,{key:"append-icon",name:"appendInner"},null)]),n("div",{class:["v-field__outline",N.value]},[S&&n(Be,null,[n("div",{class:"v-field__outline__start"},null),_.value&&n("div",{class:"v-field__outline__notch"},[n(q,{ref:r,floating:!0,for:f.value},{default:()=>[C]})]),n("div",{class:"v-field__outline__end"},null)]),y.value&&_.value&&n(q,{ref:r,floating:!0,for:f.value},{default:()=>[C]})])])}),{controlRef:d}}});function ua(e){const u=Object.keys(Ye.props).filter(s=>!Me(s)&&s!=="class"&&s!=="style");return Ae(e,u)}const Ze=B({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...w(),...ee({transition:{component:oe,leaveAbsolute:!0,group:!0}})},"VMessages"),Ge=R()({name:"VMessages",props:Ze(),setup(e,u){let{slots:s}=u;const a=i(()=>X(e.messages)),{textColorClasses:l,textColorStyles:t}=re(i(()=>e.color));return D(()=>n(le,{transition:e.transition,tag:"div",class:["v-messages",l.value,e.class],style:[t.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&a.value.map((o,c)=>n("div",{class:"v-messages__message",key:`${c}-${a.value}`},[s.message?s.message({message:o}):o]))]})),{}}}),Je=Symbol.for("vuetify:form");function ea(){return we(Je,null)}const aa=B({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...ce()},"validation");function na(e){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se(),s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Y();const a=ie(e,"modelValue"),l=i(()=>e.validationValue===void 0?a.value:e.validationValue),t=ea(),o=Q([]),c=G(!0),F=i(()=>!!(X(a.value===""?null:a.value).length||X(l.value===""?null:l.value).length)),k=i(()=>!!(e.disabled??(t==null?void 0:t.isDisabled.value))),x=i(()=>!!(e.readonly??(t==null?void 0:t.isReadonly.value))),b=i(()=>e.errorMessages.length?X(e.errorMessages).slice(0,Math.max(0,+e.maxErrors)):o.value),I=i(()=>{let r=(e.validateOn??(t==null?void 0:t.validateOn.value))||"input";r==="lazy"&&(r="input lazy");const d=new Set((r==null?void 0:r.split(" "))??[]);return{blur:d.has("blur")||d.has("input"),input:d.has("input"),submit:d.has("submit"),lazy:d.has("lazy")}}),p=i(()=>e.error||e.errorMessages.length?!1:e.rules.length?c.value?o.value.length||I.value.lazy?null:!0:!o.value.length:!0),h=G(!1),_=i(()=>({[`${u}--error`]:p.value===!1,[`${u}--dirty`]:F.value,[`${u}--disabled`]:k.value,[`${u}--readonly`]:x.value})),P=i(()=>e.name??Re(s));De(()=>{t==null||t.register({id:P.value,validate:v,reset:f,resetValidation:$})}),Te(()=>{t==null||t.unregister(P.value)}),ze(async()=>{I.value.lazy||await v(!0),t==null||t.update(P.value,p.value,b.value)}),J(()=>I.value.input,()=>{O(l,()=>{if(l.value!=null)v();else if(e.focused){const r=O(()=>e.focused,d=>{d||v(),r()})}})}),J(()=>I.value.blur,()=>{O(()=>e.focused,r=>{r||v()})}),O(p,()=>{t==null||t.update(P.value,p.value,b.value)});function f(){a.value=null,Oe($)}function $(){c.value=!0,I.value.lazy?o.value=[]:v(!0)}async function v(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const d=[];h.value=!0;for(const y of e.rules){if(d.length>=+(e.maxErrors??1))break;const g=await(typeof y=="function"?y:()=>y)(l.value);if(g!==!0){if(g!==!1&&typeof g!="string"){console.warn(`${g} is not a valid value. Rule functions must return boolean true or a string.`);continue}d.push(g||"")}}return o.value=d,h.value=!1,c.value=r,o.value}return{errorMessages:b,isDirty:F,isDisabled:k,isReadonly:x,isPristine:c,isValid:p,isValidating:h,reset:f,resetValidation:$,validate:v,validationClasses:_}}const la=B({id:String,appendIcon:E,centerAffix:{type:Boolean,default:!0},prependIcon:E,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":L(),"onClick:append":L(),...w(),...Ee(),...aa()},"VInput"),ra=R()({name:"VInput",props:{...la()},emits:{"update:modelValue":e=>!0},setup(e,u){let{attrs:s,slots:a,emit:l}=u;const{densityClasses:t}=Ne(e),{rtlClasses:o}=ue(),{InputIcon:c}=de(e),F=Y(),k=i(()=>e.id||`input-${F}`),x=i(()=>`${k.value}-messages`),{errorMessages:b,isDirty:I,isDisabled:p,isReadonly:h,isPristine:_,isValid:P,isValidating:f,reset:$,resetValidation:v,validate:r,validationClasses:d}=na(e,"v-input",k),y=i(()=>({id:k,messagesId:x,isDirty:I,isDisabled:p,isReadonly:h,isPristine:_,isValid:P,isValidating:f,reset:$,resetValidation:v,validate:r})),T=i(()=>{var g;return(g=e.errorMessages)!=null&&g.length||!_.value&&b.value.length?b.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return D(()=>{var j,S,m,V;const g=!!(a.prepend||e.prependIcon),N=!!(a.append||e.appendIcon),U=T.value.length>0,A=!e.hideDetails||e.hideDetails==="auto"&&(U||!!a.details);return n("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix},t.value,o.value,d.value,e.class],style:e.style},[g&&n("div",{key:"prepend",class:"v-input__prepend"},[(j=a.prepend)==null?void 0:j.call(a,y.value),e.prependIcon&&n(c,{key:"prepend-icon",name:"prepend"},null)]),a.default&&n("div",{class:"v-input__control"},[(S=a.default)==null?void 0:S.call(a,y.value)]),N&&n("div",{key:"append",class:"v-input__append"},[e.appendIcon&&n(c,{key:"append-icon",name:"append"},null),(m=a.append)==null?void 0:m.call(a,y.value)]),A&&n("div",{class:"v-input__details"},[n(Ge,{id:x.value,active:U,messages:T.value},{message:a.message}),(V=a.details)==null?void 0:V.call(a,y.value)])])}),{reset:$,resetValidation:v,validate:r}}});export{ra as V,Xe as a,Ye as b,ia as c,ea as d,Ke as e,ua as f,la as m,qe as u}; diff --git a/src/front/dist/assets/VList-1710ecfb.js b/src/front/dist/assets/VList-a51d3781.js similarity index 98% rename from src/front/dist/assets/VList-1710ecfb.js rename to src/front/dist/assets/VList-a51d3781.js index 708d2a47b..93e05ad04 100644 --- a/src/front/dist/assets/VList-1710ecfb.js +++ b/src/front/dist/assets/VList-a51d3781.js @@ -1 +1 @@ -import{p as A,b9 as Qe,bm as Xe,a6 as D,a9 as Q,ax as Ye,r as x,b6 as et,w as re,c as g,H as O,ac as _,ba as ye,F as u,ar as X,bb as Pe,z as oe,b7 as tt,bt as nt,aT as at,N as ce,br as Ie,Z as N,bu as lt,be as it,a1 as q,a5 as de,a8 as ve,b3 as xe,al as I,b as be,i as Y,s as z,e as ee,bv as $,l as we,d as st,h as rt,bw as ot,a0 as G,a4 as te,bx as ut,O as ct,bp as Ae,by as he,ah as Le,a2 as Be,aH as Fe,ai as De,aj as Te,bz as dt,bg as Oe,bq as vt,bA as ft,am as _e,bB as mt,b8 as Ee,aK as Me,an as Re,ao as Ne,bC as gt,bD as yt,bo as Se,V as pe,bk as bt,bE as B,bF as Ge,ak as ht,ap as St,bG as pt}from"./index-c88a2b18.js";import{u as Vt}from"./VTextarea-86c6c8f9.js";import{m as Ct,a as kt,u as Pt,V as Ve,f as It,b as xt,c as wt}from"./VInput-b34b1163.js";import{a as At}from"./VBtn-3e30d8f6.js";const Lt=A({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...Qe({origin:"center center",scrollStrategy:"block",transition:{component:Xe},zIndex:2400})},"VDialog"),rn=D()({name:"VDialog",props:Lt(),emits:{"update:modelValue":e=>!0},setup(e,i){let{slots:t}=i;const n=Q(e,"modelValue"),{scopeId:l}=Ye(),a=x();function s(y){var r,c;const f=y.relatedTarget,m=y.target;if(f!==m&&((r=a.value)!=null&&r.contentEl)&&((c=a.value)!=null&&c.globalTop)&&![document,a.value.contentEl].includes(m)&&!a.value.contentEl.contains(m)){const d=tt(a.value.contentEl);if(!d.length)return;const v=d[0],b=d[d.length-1];f===v?b.focus():v.focus()}}et&&re(()=>n.value&&e.retainFocus,y=>{y?document.addEventListener("focusin",s):document.removeEventListener("focusin",s)},{immediate:!0}),re(n,async y=>{var f,m;await oe(),y?(f=a.value.contentEl)==null||f.focus({preventScroll:!0}):(m=a.value.activatorEl)==null||m.focus({preventScroll:!0})});const o=g(()=>O({"aria-haspopup":"dialog","aria-expanded":String(n.value)},e.activatorProps));return _(()=>{const[y]=ye.filterProps(e);return u(ye,O({ref:a,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},y,{modelValue:n.value,"onUpdate:modelValue":f=>n.value=f,"aria-modal":"true",activatorProps:o.value,role:"dialog"},l),{activator:t.activator,default:function(){for(var f=arguments.length,m=new Array(f),r=0;r{var c;return[(c=t.default)==null?void 0:c.call(t,...m)]}})}})}),Pe({},a)}}),Bt=["color","file","time","date","datetime-local","week","month"],Ft=A({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,type:{type:String,default:"text"},modelModifiers:Object,...Ct(),...kt()},"VTextField"),on=D()({name:"VTextField",directives:{Intersect:nt},inheritAttrs:!1,props:Ft(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,i){let{attrs:t,emit:n,slots:l}=i;const a=Q(e,"modelValue"),{isFocused:s,focus:o,blur:y}=Pt(e),f=g(()=>typeof e.counterValue=="function"?e.counterValue(a.value):(a.value??"").toString().length),m=g(()=>{if(t.maxlength)return t.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),r=g(()=>["plain","underlined"].includes(e.variant));function c(S,P){var C,p;!e.autofocus||!S||(p=(C=P[0].target)==null?void 0:C.focus)==null||p.call(C)}const d=x(),v=x(),b=x(),h=g(()=>Bt.includes(e.type)||e.persistentPlaceholder||s.value||e.active);function k(){var S;b.value!==document.activeElement&&((S=b.value)==null||S.focus()),s.value||o()}function F(S){n("mousedown:control",S),S.target!==b.value&&(k(),S.preventDefault())}function L(S){k(),n("click:control",S)}function j(S){S.stopPropagation(),k(),oe(()=>{a.value=null,it(e["onClick:clear"],S)})}function U(S){var C;const P=S.target;if(a.value=P.value,(C=e.modelModifiers)!=null&&C.trim&&["text","search","password","tel","url"].includes(e.type)){const p=[P.selectionStart,P.selectionEnd];oe(()=>{P.selectionStart=p[0],P.selectionEnd=p[1]})}}return _(()=>{const S=!!(l.counter||e.counter||e.counterValue),P=!!(S||l.details),[C,p]=at(t),[{modelValue:H,...ne}]=Ve.filterProps(e),[ae]=It(e);return u(Ve,O({ref:d,modelValue:a.value,"onUpdate:modelValue":T=>a.value=T,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(e.variant)},e.class],style:e.style},C,ne,{centerAffix:!r.value,focused:s.value}),{...l,default:T=>{let{id:E,isDisabled:M,isDirty:K,isReadonly:le,isValid:V}=T;return u(xt,O({ref:v,onMousedown:F,onClick:L,"onClick:clear":j,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:"textbox"},ae,{id:E.value,active:h.value||K.value,dirty:K.value||e.dirty,disabled:M.value,focused:s.value,error:V.value===!1}),{...l,default:R=>{let{props:{class:ie,...Z}}=R;const J=ce(u("input",O({ref:b,value:a.value,onInput:U,autofocus:e.autofocus,readonly:le.value,disabled:M.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:k,onBlur:y},Z,p),null),[[Ie("intersect"),{handler:c},null,{once:!0}]]);return u(N,null,[e.prefix&&u("span",{class:"v-text-field__prefix"},[u("span",{class:"v-text-field__prefix__text"},[e.prefix])]),u("div",{class:ie,"data-no-activator":""},[l.default?u(N,null,[l.default(),J]):lt(J)]),e.suffix&&u("span",{class:"v-text-field__suffix"},[u("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:P?T=>{var E;return u(N,null,[(E=l.details)==null?void 0:E.call(l,T),S&&u(N,null,[u("span",null,null),u(wt,{active:e.persistentCounter||s.value,value:f.value,max:m.value},l.counter)])])}:void 0})}),Pe({},d,v,b)}});const Dt=A({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...q(),...de()},"VDivider"),Tt=D()({name:"VDivider",props:Dt(),setup(e,i){let{attrs:t}=i;const{themeClasses:n}=ve(e),{textColorClasses:l,textColorStyles:a}=xe(I(e,"color")),s=g(()=>{const o={};return e.length&&(o[e.vertical?"maxHeight":"maxWidth"]=be(e.length)),e.thickness&&(o[e.vertical?"borderRightWidth":"borderTopWidth"]=be(e.thickness)),o});return _(()=>u("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},n.value,l.value,e.class],style:[s.value,a.value,e.style],"aria-orientation":!t.role||t.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${t.role||"separator"}`},null)),{}}});const ue=Symbol.for("vuetify:list");function $e(){const e=Y(ue,{hasPrepend:z(!1),updateHasPrepend:()=>null}),i={hasPrepend:z(!1),updateHasPrepend:t=>{t&&(i.hasPrepend.value=t)}};return ee(ue,i),e}function je(){return Y(ue,null)}const Ot={open:e=>{let{id:i,value:t,opened:n,parents:l}=e;if(t){const a=new Set;a.add(i);let s=l.get(i);for(;s!=null;)a.add(s),s=l.get(s);return a}else return n.delete(i),n},select:()=>null},Ue={open:e=>{let{id:i,value:t,opened:n,parents:l}=e;if(t){let a=l.get(i);for(n.add(i);a!=null&&a!==i;)n.add(a),a=l.get(a);return n}else n.delete(i);return n},select:()=>null},_t={open:Ue.open,select:e=>{let{id:i,value:t,opened:n,parents:l}=e;if(!t)return n;const a=[];let s=l.get(i);for(;s!=null;)a.push(s),s=l.get(s);return new Set(a)}},fe=e=>{const i={select:t=>{let{id:n,value:l,selected:a}=t;if(n=$(n),e&&!l){const s=Array.from(a.entries()).reduce((o,y)=>{let[f,m]=y;return m==="on"?[...o,f]:o},[]);if(s.length===1&&s[0]===n)return a}return a.set(n,l?"on":"off"),a},in:(t,n,l)=>{let a=new Map;for(const s of t||[])a=i.select({id:s,value:!0,selected:new Map(a),children:n,parents:l});return a},out:t=>{const n=[];for(const[l,a]of t.entries())a==="on"&&n.push(l);return n}};return i},He=e=>{const i=fe(e);return{select:n=>{let{selected:l,id:a,...s}=n;a=$(a);const o=l.has(a)?new Map([[a,l.get(a)]]):new Map;return i.select({...s,id:a,selected:o})},in:(n,l,a)=>{let s=new Map;return n!=null&&n.length&&(s=i.in(n.slice(0,1),l,a)),s},out:(n,l,a)=>i.out(n,l,a)}},Et=e=>{const i=fe(e);return{select:n=>{let{id:l,selected:a,children:s,...o}=n;return l=$(l),s.has(l)?a:i.select({id:l,selected:a,children:s,...o})},in:i.in,out:i.out}},Mt=e=>{const i=He(e);return{select:n=>{let{id:l,selected:a,children:s,...o}=n;return l=$(l),s.has(l)?a:i.select({id:l,selected:a,children:s,...o})},in:i.in,out:i.out}},Rt=e=>{const i={select:t=>{let{id:n,value:l,selected:a,children:s,parents:o}=t;n=$(n);const y=new Map(a),f=[n];for(;f.length;){const r=f.shift();a.set(r,l?"on":"off"),s.has(r)&&f.push(...s.get(r))}let m=o.get(n);for(;m;){const r=s.get(m),c=r.every(v=>a.get(v)==="on"),d=r.every(v=>!a.has(v)||a.get(v)==="off");a.set(m,c?"on":d?"off":"indeterminate"),m=o.get(m)}return e&&!l&&Array.from(a.entries()).reduce((c,d)=>{let[v,b]=d;return b==="on"?[...c,v]:c},[]).length===0?y:a},in:(t,n,l)=>{let a=new Map;for(const s of t||[])a=i.select({id:s,value:!0,selected:new Map(a),children:n,parents:l});return a},out:(t,n)=>{const l=[];for(const[a,s]of t.entries())s==="on"&&!n.has(a)&&l.push(a);return l}};return i},W=Symbol.for("vuetify:nested"),Ke={id:z(),root:{register:()=>null,unregister:()=>null,parents:x(new Map),children:x(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:x(new Set),selected:x(new Map),selectedValues:x([])}},Nt=A({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),Gt=e=>{let i=!1;const t=x(new Map),n=x(new Map),l=Q(e,"opened",e.opened,r=>new Set(r),r=>[...r.values()]),a=g(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return Mt(e.mandatory);case"leaf":return Et(e.mandatory);case"independent":return fe(e.mandatory);case"single-independent":return He(e.mandatory);case"classic":default:return Rt(e.mandatory)}}),s=g(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return _t;case"single":return Ot;case"multiple":default:return Ue}}),o=Q(e,"selected",e.selected,r=>a.value.in(r,t.value,n.value),r=>a.value.out(r,t.value,n.value));we(()=>{i=!0});function y(r){const c=[];let d=r;for(;d!=null;)c.unshift(d),d=n.value.get(d);return c}const f=st("nested"),m={id:z(),root:{opened:l,selected:o,selectedValues:g(()=>{const r=[];for(const[c,d]of o.value.entries())d==="on"&&r.push(c);return r}),register:(r,c,d)=>{c&&r!==c&&n.value.set(r,c),d&&t.value.set(r,[]),c!=null&&t.value.set(c,[...t.value.get(c)||[],r])},unregister:r=>{if(i)return;t.value.delete(r);const c=n.value.get(r);if(c){const d=t.value.get(c)??[];t.value.set(c,d.filter(v=>v!==r))}n.value.delete(r),l.value.delete(r)},open:(r,c,d)=>{f.emit("click:open",{id:r,value:c,path:y(r),event:d});const v=s.value.open({id:r,value:c,opened:new Set(l.value),children:t.value,parents:n.value,event:d});v&&(l.value=v)},openOnSelect:(r,c,d)=>{const v=s.value.select({id:r,value:c,selected:new Map(o.value),opened:new Set(l.value),children:t.value,parents:n.value,event:d});v&&(l.value=v)},select:(r,c,d)=>{f.emit("click:select",{id:r,value:c,path:y(r),event:d});const v=a.value.select({id:r,value:c,selected:new Map(o.value),children:t.value,parents:n.value,event:d});v&&(o.value=v),m.root.openOnSelect(r,c,d)},children:t,parents:n}};return ee(W,m),m.root},ze=(e,i)=>{const t=Y(W,Ke),n=Symbol(rt()),l=g(()=>e.value!==void 0?e.value:n),a={...t,id:l,open:(s,o)=>t.root.open(l.value,s,o),openOnSelect:(s,o)=>t.root.openOnSelect(l.value,s,o),isOpen:g(()=>t.root.opened.value.has(l.value)),parent:g(()=>t.root.parents.value.get(l.value)),select:(s,o)=>t.root.select(l.value,s,o),isSelected:g(()=>t.root.selected.value.get($(l.value))==="on"),isIndeterminate:g(()=>t.root.selected.value.get(l.value)==="indeterminate"),isLeaf:g(()=>!t.root.children.value.get(l.value)),isGroupActivator:t.isGroupActivator};return!t.isGroupActivator&&t.root.register(l.value,t.id.value,i),we(()=>{!t.isGroupActivator&&t.root.unregister(l.value)}),i&&ee(W,a),a},$t=()=>{const e=Y(W,Ke);ee(W,{...e,isGroupActivator:!0})},jt=ot({name:"VListGroupActivator",setup(e,i){let{slots:t}=i;return $t(),()=>{var n;return(n=t.default)==null?void 0:n.call(t)}}}),Ut=A({activeColor:String,baseColor:String,color:String,collapseIcon:{type:G,default:"$collapse"},expandIcon:{type:G,default:"$expand"},prependIcon:G,appendIcon:G,fluid:Boolean,subgroup:Boolean,title:String,value:null,...q(),...te()},"VListGroup"),Ce=D()({name:"VListGroup",props:Ut(),setup(e,i){let{slots:t}=i;const{isOpen:n,open:l,id:a}=ze(I(e,"value"),!0),s=g(()=>`v-list-group--id-${String(a.value)}`),o=je(),{isBooted:y}=Vt();function f(d){l(!n.value,d)}const m=g(()=>({onClick:f,class:"v-list-group__header",id:s.value})),r=g(()=>n.value?e.collapseIcon:e.expandIcon),c=g(()=>({VListItem:{active:n.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&r.value,appendIcon:e.appendIcon||!e.subgroup&&r.value,title:e.title,value:e.value}}));return _(()=>u(e.tag,{class:["v-list-group",{"v-list-group--prepend":o==null?void 0:o.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":n.value},e.class],style:e.style},{default:()=>[t.activator&&u(X,{defaults:c.value},{default:()=>[u(jt,null,{default:()=>[t.activator({props:m.value,isOpen:n.value})]})]}),u(ut,{transition:{component:At},disabled:!y.value},{default:()=>{var d;return[ce(u("div",{class:"v-list-group__items",role:"group","aria-labelledby":s.value},[(d=t.default)==null?void 0:d.call(t)]),[[ct,n.value]])]}})]})),{}}});const Ht=Ae("v-list-item-subtitle"),Kt=Ae("v-list-item-title"),zt=A({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:G,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:G,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:he(),onClickOnce:he(),...Le(),...q(),...Be(),...Fe(),...De(),...Te(),...dt(),...te(),...de(),...Oe({variant:"text"})},"VListItem"),ke=D()({name:"VListItem",directives:{Ripple:vt},props:zt(),emits:{click:e=>!0},setup(e,i){let{attrs:t,slots:n,emit:l}=i;const a=ft(e,t),s=g(()=>e.value===void 0?a.href.value:e.value),{select:o,isSelected:y,isIndeterminate:f,isGroupActivator:m,root:r,parent:c,openOnSelect:d}=ze(s,!1),v=je(),b=g(()=>{var V;return e.active!==!1&&(e.active||((V=a.isActive)==null?void 0:V.value)||y.value)}),h=g(()=>e.link!==!1&&a.isLink.value),k=g(()=>!e.disabled&&e.link!==!1&&(e.link||a.isClickable.value||e.value!=null&&!!v)),F=g(()=>e.rounded||e.nav),L=g(()=>e.color??e.activeColor),j=g(()=>({color:b.value?L.value??e.baseColor:e.baseColor,variant:e.variant}));re(()=>{var V;return(V=a.isActive)==null?void 0:V.value},V=>{V&&c.value!=null&&r.open(c.value,!0),V&&d(V)},{immediate:!0});const{themeClasses:U}=ve(e),{borderClasses:S}=_e(e),{colorClasses:P,colorStyles:C,variantClasses:p}=mt(j),{densityClasses:H}=Ee(e),{dimensionStyles:ne}=Me(e),{elevationClasses:ae}=Re(e),{roundedClasses:T}=Ne(F),E=g(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),M=g(()=>({isActive:b.value,select:o,isSelected:y.value,isIndeterminate:f.value}));function K(V){var R;l("click",V),!(m||!k.value)&&((R=a.navigate)==null||R.call(a,V),e.value!=null&&o(!y.value,V))}function le(V){(V.key==="Enter"||V.key===" ")&&(V.preventDefault(),K(V))}return _(()=>{const V=h.value?"a":e.tag,R=n.title||e.title,ie=n.subtitle||e.subtitle,Z=!!(e.appendAvatar||e.appendIcon),J=!!(Z||n.append),me=!!(e.prependAvatar||e.prependIcon),se=!!(me||n.prepend);return v==null||v.updateHasPrepend(se),e.activeColor&>("active-color",["color","base-color"]),ce(u(V,{class:["v-list-item",{"v-list-item--active":b.value,"v-list-item--disabled":e.disabled,"v-list-item--link":k.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!se&&(v==null?void 0:v.hasPrepend.value),[`${e.activeClass}`]:e.activeClass&&b.value},U.value,S.value,P.value,H.value,ae.value,E.value,T.value,p.value,e.class],style:[C.value,ne.value,e.style],href:a.href.value,tabindex:k.value?v?-2:0:void 0,onClick:K,onKeydown:k.value&&!h.value&&le},{default:()=>{var ge;return[yt(k.value||b.value,"v-list-item"),se&&u("div",{key:"prepend",class:"v-list-item__prepend"},[n.prepend?u(X,{key:"prepend-defaults",disabled:!me,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var w;return[(w=n.prepend)==null?void 0:w.call(n,M.value)]}}):u(N,null,[e.prependAvatar&&u(Se,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&u(pe,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),u("div",{class:"v-list-item__content","data-no-activator":""},[R&&u(Kt,{key:"title"},{default:()=>{var w;return[((w=n.title)==null?void 0:w.call(n,{title:e.title}))??e.title]}}),ie&&u(Ht,{key:"subtitle"},{default:()=>{var w;return[((w=n.subtitle)==null?void 0:w.call(n,{subtitle:e.subtitle}))??e.subtitle]}}),(ge=n.default)==null?void 0:ge.call(n,M.value)]),J&&u("div",{key:"append",class:"v-list-item__append"},[n.append?u(X,{key:"append-defaults",disabled:!Z,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var w;return[(w=n.append)==null?void 0:w.call(n,M.value)]}}):u(N,null,[e.appendIcon&&u(pe,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&u(Se,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])]}}),[[Ie("ripple"),k.value&&e.ripple]])}),{}}}),Wt=A({color:String,inset:Boolean,sticky:Boolean,title:String,...q(),...te()},"VListSubheader"),qt=D()({name:"VListSubheader",props:Wt(),setup(e,i){let{slots:t}=i;const{textColorClasses:n,textColorStyles:l}=xe(I(e,"color"));return _(()=>{const a=!!(t.default||e.title);return u(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},n.value,e.class],style:[{textColorStyles:l},e.style]},{default:()=>{var s;return[a&&u("div",{class:"v-list-subheader__text"},[((s=t.default)==null?void 0:s.call(t))??e.title])]}})}),{}}}),Zt=A({items:Array},"VListChildren"),We=D()({name:"VListChildren",props:Zt(),setup(e,i){let{slots:t}=i;return $e(),()=>{var n,l;return((n=t.default)==null?void 0:n.call(t))??((l=e.items)==null?void 0:l.map(a=>{var d,v;let{children:s,props:o,type:y,raw:f}=a;if(y==="divider")return((d=t.divider)==null?void 0:d.call(t,{props:o}))??u(Tt,o,null);if(y==="subheader")return((v=t.subheader)==null?void 0:v.call(t,{props:o}))??u(qt,o,null);const m={subtitle:t.subtitle?b=>{var h;return(h=t.subtitle)==null?void 0:h.call(t,{...b,item:f})}:void 0,prepend:t.prepend?b=>{var h;return(h=t.prepend)==null?void 0:h.call(t,{...b,item:f})}:void 0,append:t.append?b=>{var h;return(h=t.append)==null?void 0:h.call(t,{...b,item:f})}:void 0,title:t.title?b=>{var h;return(h=t.title)==null?void 0:h.call(t,{...b,item:f})}:void 0},[r,c]=Ce.filterProps(o);return s?u(Ce,O({value:o==null?void 0:o.value},r),{activator:b=>{let{props:h}=b;return t.header?t.header({props:{...o,...h}}):u(ke,O(o,h),m)},default:()=>u(We,{items:s},t)}):t.item?t.item({props:o}):u(ke,o,m)}))}}}),Jt=A({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean},"list-items");function qe(e,i){const t=B(i,e.itemTitle,i),n=e.returnObject?i:B(i,e.itemValue,t),l=B(i,e.itemChildren),a=e.itemProps===!0?typeof i=="object"&&i!=null&&!Array.isArray(i)?"children"in i?Ge(i,["children"])[1]:i:void 0:B(i,e.itemProps),s={title:t,value:n,...a};return{title:String(s.title??""),value:s.value,props:s,children:Array.isArray(l)?Ze(e,l):void 0,raw:i}}function Ze(e,i){const t=[];for(const n of i)t.push(qe(e,n));return t}function un(e){const i=g(()=>Ze(e,e.items));return Qt(i,t=>qe(e,t))}function Qt(e,i){function t(l){return l.filter(a=>a!==null||e.value.some(s=>s.value===null)).map(a=>e.value.find(o=>bt(a,o.value))??i(a))}function n(l){return l.map(a=>{let{value:s}=a;return s})}return{items:e,transformIn:t,transformOut:n}}function Xt(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function Yt(e,i){const t=B(i,e.itemType,"item"),n=Xt(i)?i:B(i,e.itemTitle),l=B(i,e.itemValue,void 0),a=B(i,e.itemChildren),s=e.itemProps===!0?Ge(i,["children"])[1]:B(i,e.itemProps),o={title:n,value:l,...s};return{type:t,title:o.title,value:o.value,props:o,children:t==="item"&&a?Je(e,a):void 0,raw:i}}function Je(e,i){const t=[];for(const n of i)t.push(Yt(e,n));return t}function en(e){return{items:g(()=>Je(e,e.items))}}const tn=A({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...Nt({selectStrategy:"single-leaf",openStrategy:"list"}),...Le(),...q(),...Be(),...Fe(),...De(),itemType:{type:String,default:"type"},...Jt(),...Te(),...te(),...de(),...Oe({variant:"text"})},"VList"),cn=D()({name:"VList",props:tn(),emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,i){let{slots:t}=i;const{items:n}=en(e),{themeClasses:l}=ve(e),{backgroundColorClasses:a,backgroundColorStyles:s}=ht(I(e,"bgColor")),{borderClasses:o}=_e(e),{densityClasses:y}=Ee(e),{dimensionStyles:f}=Me(e),{elevationClasses:m}=Re(e),{roundedClasses:r}=Ne(e),{open:c,select:d}=Gt(e),v=g(()=>e.lines?`v-list--${e.lines}-line`:void 0),b=I(e,"activeColor"),h=I(e,"baseColor"),k=I(e,"color");$e(),St({VListGroup:{activeColor:b,baseColor:h,color:k},VListItem:{activeClass:I(e,"activeClass"),activeColor:b,baseColor:h,color:k,density:I(e,"density"),disabled:I(e,"disabled"),lines:I(e,"lines"),nav:I(e,"nav"),variant:I(e,"variant")}});const F=z(!1),L=x();function j(p){F.value=!0}function U(p){F.value=!1}function S(p){var H;!F.value&&!(p.relatedTarget&&((H=L.value)!=null&&H.contains(p.relatedTarget)))&&C()}function P(p){if(L.value){if(p.key==="ArrowDown")C("next");else if(p.key==="ArrowUp")C("prev");else if(p.key==="Home")C("first");else if(p.key==="End")C("last");else return;p.preventDefault()}}function C(p){if(L.value)return pt(L.value,p)}return _(()=>u(e.tag,{ref:L,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},l.value,a.value,o.value,y.value,m.value,v.value,r.value,e.class],style:[s.value,f.value,e.style],tabindex:e.disabled||F.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:j,onFocusout:U,onFocus:S,onKeydown:P},{default:()=>[u(We,{items:n.value},t)]})),{open:c,select:d,focus:C}}});export{on as V,rn as a,ke as b,Tt as c,cn as d,Ce as e,qt as f,Ft as g,Kt as h,Jt as m,un as u}; +import{p as A,b9 as Qe,bm as Xe,a6 as D,a9 as Q,ax as Ye,r as x,b6 as et,w as re,c as g,H as O,ac as _,ba as ye,F as u,ar as X,bb as Pe,z as oe,b7 as tt,bt as nt,aT as at,N as ce,br as Ie,Z as N,bu as lt,be as it,a1 as q,a5 as de,a8 as ve,b3 as xe,al as I,b as be,i as Y,s as z,e as ee,bv as $,l as we,d as st,h as rt,bw as ot,a0 as G,a4 as te,bx as ut,O as ct,bp as Ae,by as he,ah as Le,a2 as Be,aH as Fe,ai as De,aj as Te,bz as dt,bg as Oe,bq as vt,bA as ft,am as _e,bB as mt,b8 as Ee,aK as Me,an as Re,ao as Ne,bC as gt,bD as yt,bo as Se,V as pe,bk as bt,bE as B,bF as Ge,ak as ht,ap as St,bG as pt}from"./index-cb66bb90.js";import{u as Vt}from"./VTextarea-5b24e794.js";import{m as Ct,a as kt,u as Pt,V as Ve,f as It,b as xt,c as wt}from"./VInput-6691c158.js";import{a as At}from"./VBtn-be56359b.js";const Lt=A({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...Qe({origin:"center center",scrollStrategy:"block",transition:{component:Xe},zIndex:2400})},"VDialog"),rn=D()({name:"VDialog",props:Lt(),emits:{"update:modelValue":e=>!0},setup(e,i){let{slots:t}=i;const n=Q(e,"modelValue"),{scopeId:l}=Ye(),a=x();function s(y){var r,c;const f=y.relatedTarget,m=y.target;if(f!==m&&((r=a.value)!=null&&r.contentEl)&&((c=a.value)!=null&&c.globalTop)&&![document,a.value.contentEl].includes(m)&&!a.value.contentEl.contains(m)){const d=tt(a.value.contentEl);if(!d.length)return;const v=d[0],b=d[d.length-1];f===v?b.focus():v.focus()}}et&&re(()=>n.value&&e.retainFocus,y=>{y?document.addEventListener("focusin",s):document.removeEventListener("focusin",s)},{immediate:!0}),re(n,async y=>{var f,m;await oe(),y?(f=a.value.contentEl)==null||f.focus({preventScroll:!0}):(m=a.value.activatorEl)==null||m.focus({preventScroll:!0})});const o=g(()=>O({"aria-haspopup":"dialog","aria-expanded":String(n.value)},e.activatorProps));return _(()=>{const[y]=ye.filterProps(e);return u(ye,O({ref:a,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},y,{modelValue:n.value,"onUpdate:modelValue":f=>n.value=f,"aria-modal":"true",activatorProps:o.value,role:"dialog"},l),{activator:t.activator,default:function(){for(var f=arguments.length,m=new Array(f),r=0;r{var c;return[(c=t.default)==null?void 0:c.call(t,...m)]}})}})}),Pe({},a)}}),Bt=["color","file","time","date","datetime-local","week","month"],Ft=A({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,type:{type:String,default:"text"},modelModifiers:Object,...Ct(),...kt()},"VTextField"),on=D()({name:"VTextField",directives:{Intersect:nt},inheritAttrs:!1,props:Ft(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,i){let{attrs:t,emit:n,slots:l}=i;const a=Q(e,"modelValue"),{isFocused:s,focus:o,blur:y}=Pt(e),f=g(()=>typeof e.counterValue=="function"?e.counterValue(a.value):(a.value??"").toString().length),m=g(()=>{if(t.maxlength)return t.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),r=g(()=>["plain","underlined"].includes(e.variant));function c(S,P){var C,p;!e.autofocus||!S||(p=(C=P[0].target)==null?void 0:C.focus)==null||p.call(C)}const d=x(),v=x(),b=x(),h=g(()=>Bt.includes(e.type)||e.persistentPlaceholder||s.value||e.active);function k(){var S;b.value!==document.activeElement&&((S=b.value)==null||S.focus()),s.value||o()}function F(S){n("mousedown:control",S),S.target!==b.value&&(k(),S.preventDefault())}function L(S){k(),n("click:control",S)}function j(S){S.stopPropagation(),k(),oe(()=>{a.value=null,it(e["onClick:clear"],S)})}function U(S){var C;const P=S.target;if(a.value=P.value,(C=e.modelModifiers)!=null&&C.trim&&["text","search","password","tel","url"].includes(e.type)){const p=[P.selectionStart,P.selectionEnd];oe(()=>{P.selectionStart=p[0],P.selectionEnd=p[1]})}}return _(()=>{const S=!!(l.counter||e.counter||e.counterValue),P=!!(S||l.details),[C,p]=at(t),[{modelValue:H,...ne}]=Ve.filterProps(e),[ae]=It(e);return u(Ve,O({ref:d,modelValue:a.value,"onUpdate:modelValue":T=>a.value=T,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(e.variant)},e.class],style:e.style},C,ne,{centerAffix:!r.value,focused:s.value}),{...l,default:T=>{let{id:E,isDisabled:M,isDirty:K,isReadonly:le,isValid:V}=T;return u(xt,O({ref:v,onMousedown:F,onClick:L,"onClick:clear":j,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:"textbox"},ae,{id:E.value,active:h.value||K.value,dirty:K.value||e.dirty,disabled:M.value,focused:s.value,error:V.value===!1}),{...l,default:R=>{let{props:{class:ie,...Z}}=R;const J=ce(u("input",O({ref:b,value:a.value,onInput:U,autofocus:e.autofocus,readonly:le.value,disabled:M.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:k,onBlur:y},Z,p),null),[[Ie("intersect"),{handler:c},null,{once:!0}]]);return u(N,null,[e.prefix&&u("span",{class:"v-text-field__prefix"},[u("span",{class:"v-text-field__prefix__text"},[e.prefix])]),u("div",{class:ie,"data-no-activator":""},[l.default?u(N,null,[l.default(),J]):lt(J)]),e.suffix&&u("span",{class:"v-text-field__suffix"},[u("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:P?T=>{var E;return u(N,null,[(E=l.details)==null?void 0:E.call(l,T),S&&u(N,null,[u("span",null,null),u(wt,{active:e.persistentCounter||s.value,value:f.value,max:m.value},l.counter)])])}:void 0})}),Pe({},d,v,b)}});const Dt=A({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...q(),...de()},"VDivider"),Tt=D()({name:"VDivider",props:Dt(),setup(e,i){let{attrs:t}=i;const{themeClasses:n}=ve(e),{textColorClasses:l,textColorStyles:a}=xe(I(e,"color")),s=g(()=>{const o={};return e.length&&(o[e.vertical?"maxHeight":"maxWidth"]=be(e.length)),e.thickness&&(o[e.vertical?"borderRightWidth":"borderTopWidth"]=be(e.thickness)),o});return _(()=>u("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},n.value,l.value,e.class],style:[s.value,a.value,e.style],"aria-orientation":!t.role||t.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${t.role||"separator"}`},null)),{}}});const ue=Symbol.for("vuetify:list");function $e(){const e=Y(ue,{hasPrepend:z(!1),updateHasPrepend:()=>null}),i={hasPrepend:z(!1),updateHasPrepend:t=>{t&&(i.hasPrepend.value=t)}};return ee(ue,i),e}function je(){return Y(ue,null)}const Ot={open:e=>{let{id:i,value:t,opened:n,parents:l}=e;if(t){const a=new Set;a.add(i);let s=l.get(i);for(;s!=null;)a.add(s),s=l.get(s);return a}else return n.delete(i),n},select:()=>null},Ue={open:e=>{let{id:i,value:t,opened:n,parents:l}=e;if(t){let a=l.get(i);for(n.add(i);a!=null&&a!==i;)n.add(a),a=l.get(a);return n}else n.delete(i);return n},select:()=>null},_t={open:Ue.open,select:e=>{let{id:i,value:t,opened:n,parents:l}=e;if(!t)return n;const a=[];let s=l.get(i);for(;s!=null;)a.push(s),s=l.get(s);return new Set(a)}},fe=e=>{const i={select:t=>{let{id:n,value:l,selected:a}=t;if(n=$(n),e&&!l){const s=Array.from(a.entries()).reduce((o,y)=>{let[f,m]=y;return m==="on"?[...o,f]:o},[]);if(s.length===1&&s[0]===n)return a}return a.set(n,l?"on":"off"),a},in:(t,n,l)=>{let a=new Map;for(const s of t||[])a=i.select({id:s,value:!0,selected:new Map(a),children:n,parents:l});return a},out:t=>{const n=[];for(const[l,a]of t.entries())a==="on"&&n.push(l);return n}};return i},He=e=>{const i=fe(e);return{select:n=>{let{selected:l,id:a,...s}=n;a=$(a);const o=l.has(a)?new Map([[a,l.get(a)]]):new Map;return i.select({...s,id:a,selected:o})},in:(n,l,a)=>{let s=new Map;return n!=null&&n.length&&(s=i.in(n.slice(0,1),l,a)),s},out:(n,l,a)=>i.out(n,l,a)}},Et=e=>{const i=fe(e);return{select:n=>{let{id:l,selected:a,children:s,...o}=n;return l=$(l),s.has(l)?a:i.select({id:l,selected:a,children:s,...o})},in:i.in,out:i.out}},Mt=e=>{const i=He(e);return{select:n=>{let{id:l,selected:a,children:s,...o}=n;return l=$(l),s.has(l)?a:i.select({id:l,selected:a,children:s,...o})},in:i.in,out:i.out}},Rt=e=>{const i={select:t=>{let{id:n,value:l,selected:a,children:s,parents:o}=t;n=$(n);const y=new Map(a),f=[n];for(;f.length;){const r=f.shift();a.set(r,l?"on":"off"),s.has(r)&&f.push(...s.get(r))}let m=o.get(n);for(;m;){const r=s.get(m),c=r.every(v=>a.get(v)==="on"),d=r.every(v=>!a.has(v)||a.get(v)==="off");a.set(m,c?"on":d?"off":"indeterminate"),m=o.get(m)}return e&&!l&&Array.from(a.entries()).reduce((c,d)=>{let[v,b]=d;return b==="on"?[...c,v]:c},[]).length===0?y:a},in:(t,n,l)=>{let a=new Map;for(const s of t||[])a=i.select({id:s,value:!0,selected:new Map(a),children:n,parents:l});return a},out:(t,n)=>{const l=[];for(const[a,s]of t.entries())s==="on"&&!n.has(a)&&l.push(a);return l}};return i},W=Symbol.for("vuetify:nested"),Ke={id:z(),root:{register:()=>null,unregister:()=>null,parents:x(new Map),children:x(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:x(new Set),selected:x(new Map),selectedValues:x([])}},Nt=A({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),Gt=e=>{let i=!1;const t=x(new Map),n=x(new Map),l=Q(e,"opened",e.opened,r=>new Set(r),r=>[...r.values()]),a=g(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return Mt(e.mandatory);case"leaf":return Et(e.mandatory);case"independent":return fe(e.mandatory);case"single-independent":return He(e.mandatory);case"classic":default:return Rt(e.mandatory)}}),s=g(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return _t;case"single":return Ot;case"multiple":default:return Ue}}),o=Q(e,"selected",e.selected,r=>a.value.in(r,t.value,n.value),r=>a.value.out(r,t.value,n.value));we(()=>{i=!0});function y(r){const c=[];let d=r;for(;d!=null;)c.unshift(d),d=n.value.get(d);return c}const f=st("nested"),m={id:z(),root:{opened:l,selected:o,selectedValues:g(()=>{const r=[];for(const[c,d]of o.value.entries())d==="on"&&r.push(c);return r}),register:(r,c,d)=>{c&&r!==c&&n.value.set(r,c),d&&t.value.set(r,[]),c!=null&&t.value.set(c,[...t.value.get(c)||[],r])},unregister:r=>{if(i)return;t.value.delete(r);const c=n.value.get(r);if(c){const d=t.value.get(c)??[];t.value.set(c,d.filter(v=>v!==r))}n.value.delete(r),l.value.delete(r)},open:(r,c,d)=>{f.emit("click:open",{id:r,value:c,path:y(r),event:d});const v=s.value.open({id:r,value:c,opened:new Set(l.value),children:t.value,parents:n.value,event:d});v&&(l.value=v)},openOnSelect:(r,c,d)=>{const v=s.value.select({id:r,value:c,selected:new Map(o.value),opened:new Set(l.value),children:t.value,parents:n.value,event:d});v&&(l.value=v)},select:(r,c,d)=>{f.emit("click:select",{id:r,value:c,path:y(r),event:d});const v=a.value.select({id:r,value:c,selected:new Map(o.value),children:t.value,parents:n.value,event:d});v&&(o.value=v),m.root.openOnSelect(r,c,d)},children:t,parents:n}};return ee(W,m),m.root},ze=(e,i)=>{const t=Y(W,Ke),n=Symbol(rt()),l=g(()=>e.value!==void 0?e.value:n),a={...t,id:l,open:(s,o)=>t.root.open(l.value,s,o),openOnSelect:(s,o)=>t.root.openOnSelect(l.value,s,o),isOpen:g(()=>t.root.opened.value.has(l.value)),parent:g(()=>t.root.parents.value.get(l.value)),select:(s,o)=>t.root.select(l.value,s,o),isSelected:g(()=>t.root.selected.value.get($(l.value))==="on"),isIndeterminate:g(()=>t.root.selected.value.get(l.value)==="indeterminate"),isLeaf:g(()=>!t.root.children.value.get(l.value)),isGroupActivator:t.isGroupActivator};return!t.isGroupActivator&&t.root.register(l.value,t.id.value,i),we(()=>{!t.isGroupActivator&&t.root.unregister(l.value)}),i&&ee(W,a),a},$t=()=>{const e=Y(W,Ke);ee(W,{...e,isGroupActivator:!0})},jt=ot({name:"VListGroupActivator",setup(e,i){let{slots:t}=i;return $t(),()=>{var n;return(n=t.default)==null?void 0:n.call(t)}}}),Ut=A({activeColor:String,baseColor:String,color:String,collapseIcon:{type:G,default:"$collapse"},expandIcon:{type:G,default:"$expand"},prependIcon:G,appendIcon:G,fluid:Boolean,subgroup:Boolean,title:String,value:null,...q(),...te()},"VListGroup"),Ce=D()({name:"VListGroup",props:Ut(),setup(e,i){let{slots:t}=i;const{isOpen:n,open:l,id:a}=ze(I(e,"value"),!0),s=g(()=>`v-list-group--id-${String(a.value)}`),o=je(),{isBooted:y}=Vt();function f(d){l(!n.value,d)}const m=g(()=>({onClick:f,class:"v-list-group__header",id:s.value})),r=g(()=>n.value?e.collapseIcon:e.expandIcon),c=g(()=>({VListItem:{active:n.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&r.value,appendIcon:e.appendIcon||!e.subgroup&&r.value,title:e.title,value:e.value}}));return _(()=>u(e.tag,{class:["v-list-group",{"v-list-group--prepend":o==null?void 0:o.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":n.value},e.class],style:e.style},{default:()=>[t.activator&&u(X,{defaults:c.value},{default:()=>[u(jt,null,{default:()=>[t.activator({props:m.value,isOpen:n.value})]})]}),u(ut,{transition:{component:At},disabled:!y.value},{default:()=>{var d;return[ce(u("div",{class:"v-list-group__items",role:"group","aria-labelledby":s.value},[(d=t.default)==null?void 0:d.call(t)]),[[ct,n.value]])]}})]})),{}}});const Ht=Ae("v-list-item-subtitle"),Kt=Ae("v-list-item-title"),zt=A({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:G,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:G,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:he(),onClickOnce:he(),...Le(),...q(),...Be(),...Fe(),...De(),...Te(),...dt(),...te(),...de(),...Oe({variant:"text"})},"VListItem"),ke=D()({name:"VListItem",directives:{Ripple:vt},props:zt(),emits:{click:e=>!0},setup(e,i){let{attrs:t,slots:n,emit:l}=i;const a=ft(e,t),s=g(()=>e.value===void 0?a.href.value:e.value),{select:o,isSelected:y,isIndeterminate:f,isGroupActivator:m,root:r,parent:c,openOnSelect:d}=ze(s,!1),v=je(),b=g(()=>{var V;return e.active!==!1&&(e.active||((V=a.isActive)==null?void 0:V.value)||y.value)}),h=g(()=>e.link!==!1&&a.isLink.value),k=g(()=>!e.disabled&&e.link!==!1&&(e.link||a.isClickable.value||e.value!=null&&!!v)),F=g(()=>e.rounded||e.nav),L=g(()=>e.color??e.activeColor),j=g(()=>({color:b.value?L.value??e.baseColor:e.baseColor,variant:e.variant}));re(()=>{var V;return(V=a.isActive)==null?void 0:V.value},V=>{V&&c.value!=null&&r.open(c.value,!0),V&&d(V)},{immediate:!0});const{themeClasses:U}=ve(e),{borderClasses:S}=_e(e),{colorClasses:P,colorStyles:C,variantClasses:p}=mt(j),{densityClasses:H}=Ee(e),{dimensionStyles:ne}=Me(e),{elevationClasses:ae}=Re(e),{roundedClasses:T}=Ne(F),E=g(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),M=g(()=>({isActive:b.value,select:o,isSelected:y.value,isIndeterminate:f.value}));function K(V){var R;l("click",V),!(m||!k.value)&&((R=a.navigate)==null||R.call(a,V),e.value!=null&&o(!y.value,V))}function le(V){(V.key==="Enter"||V.key===" ")&&(V.preventDefault(),K(V))}return _(()=>{const V=h.value?"a":e.tag,R=n.title||e.title,ie=n.subtitle||e.subtitle,Z=!!(e.appendAvatar||e.appendIcon),J=!!(Z||n.append),me=!!(e.prependAvatar||e.prependIcon),se=!!(me||n.prepend);return v==null||v.updateHasPrepend(se),e.activeColor&>("active-color",["color","base-color"]),ce(u(V,{class:["v-list-item",{"v-list-item--active":b.value,"v-list-item--disabled":e.disabled,"v-list-item--link":k.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!se&&(v==null?void 0:v.hasPrepend.value),[`${e.activeClass}`]:e.activeClass&&b.value},U.value,S.value,P.value,H.value,ae.value,E.value,T.value,p.value,e.class],style:[C.value,ne.value,e.style],href:a.href.value,tabindex:k.value?v?-2:0:void 0,onClick:K,onKeydown:k.value&&!h.value&&le},{default:()=>{var ge;return[yt(k.value||b.value,"v-list-item"),se&&u("div",{key:"prepend",class:"v-list-item__prepend"},[n.prepend?u(X,{key:"prepend-defaults",disabled:!me,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var w;return[(w=n.prepend)==null?void 0:w.call(n,M.value)]}}):u(N,null,[e.prependAvatar&&u(Se,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&u(pe,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),u("div",{class:"v-list-item__content","data-no-activator":""},[R&&u(Kt,{key:"title"},{default:()=>{var w;return[((w=n.title)==null?void 0:w.call(n,{title:e.title}))??e.title]}}),ie&&u(Ht,{key:"subtitle"},{default:()=>{var w;return[((w=n.subtitle)==null?void 0:w.call(n,{subtitle:e.subtitle}))??e.subtitle]}}),(ge=n.default)==null?void 0:ge.call(n,M.value)]),J&&u("div",{key:"append",class:"v-list-item__append"},[n.append?u(X,{key:"append-defaults",disabled:!Z,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var w;return[(w=n.append)==null?void 0:w.call(n,M.value)]}}):u(N,null,[e.appendIcon&&u(pe,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&u(Se,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])]}}),[[Ie("ripple"),k.value&&e.ripple]])}),{}}}),Wt=A({color:String,inset:Boolean,sticky:Boolean,title:String,...q(),...te()},"VListSubheader"),qt=D()({name:"VListSubheader",props:Wt(),setup(e,i){let{slots:t}=i;const{textColorClasses:n,textColorStyles:l}=xe(I(e,"color"));return _(()=>{const a=!!(t.default||e.title);return u(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},n.value,e.class],style:[{textColorStyles:l},e.style]},{default:()=>{var s;return[a&&u("div",{class:"v-list-subheader__text"},[((s=t.default)==null?void 0:s.call(t))??e.title])]}})}),{}}}),Zt=A({items:Array},"VListChildren"),We=D()({name:"VListChildren",props:Zt(),setup(e,i){let{slots:t}=i;return $e(),()=>{var n,l;return((n=t.default)==null?void 0:n.call(t))??((l=e.items)==null?void 0:l.map(a=>{var d,v;let{children:s,props:o,type:y,raw:f}=a;if(y==="divider")return((d=t.divider)==null?void 0:d.call(t,{props:o}))??u(Tt,o,null);if(y==="subheader")return((v=t.subheader)==null?void 0:v.call(t,{props:o}))??u(qt,o,null);const m={subtitle:t.subtitle?b=>{var h;return(h=t.subtitle)==null?void 0:h.call(t,{...b,item:f})}:void 0,prepend:t.prepend?b=>{var h;return(h=t.prepend)==null?void 0:h.call(t,{...b,item:f})}:void 0,append:t.append?b=>{var h;return(h=t.append)==null?void 0:h.call(t,{...b,item:f})}:void 0,title:t.title?b=>{var h;return(h=t.title)==null?void 0:h.call(t,{...b,item:f})}:void 0},[r,c]=Ce.filterProps(o);return s?u(Ce,O({value:o==null?void 0:o.value},r),{activator:b=>{let{props:h}=b;return t.header?t.header({props:{...o,...h}}):u(ke,O(o,h),m)},default:()=>u(We,{items:s},t)}):t.item?t.item({props:o}):u(ke,o,m)}))}}}),Jt=A({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean},"list-items");function qe(e,i){const t=B(i,e.itemTitle,i),n=e.returnObject?i:B(i,e.itemValue,t),l=B(i,e.itemChildren),a=e.itemProps===!0?typeof i=="object"&&i!=null&&!Array.isArray(i)?"children"in i?Ge(i,["children"])[1]:i:void 0:B(i,e.itemProps),s={title:t,value:n,...a};return{title:String(s.title??""),value:s.value,props:s,children:Array.isArray(l)?Ze(e,l):void 0,raw:i}}function Ze(e,i){const t=[];for(const n of i)t.push(qe(e,n));return t}function un(e){const i=g(()=>Ze(e,e.items));return Qt(i,t=>qe(e,t))}function Qt(e,i){function t(l){return l.filter(a=>a!==null||e.value.some(s=>s.value===null)).map(a=>e.value.find(o=>bt(a,o.value))??i(a))}function n(l){return l.map(a=>{let{value:s}=a;return s})}return{items:e,transformIn:t,transformOut:n}}function Xt(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function Yt(e,i){const t=B(i,e.itemType,"item"),n=Xt(i)?i:B(i,e.itemTitle),l=B(i,e.itemValue,void 0),a=B(i,e.itemChildren),s=e.itemProps===!0?Ge(i,["children"])[1]:B(i,e.itemProps),o={title:n,value:l,...s};return{type:t,title:o.title,value:o.value,props:o,children:t==="item"&&a?Je(e,a):void 0,raw:i}}function Je(e,i){const t=[];for(const n of i)t.push(Yt(e,n));return t}function en(e){return{items:g(()=>Je(e,e.items))}}const tn=A({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...Nt({selectStrategy:"single-leaf",openStrategy:"list"}),...Le(),...q(),...Be(),...Fe(),...De(),itemType:{type:String,default:"type"},...Jt(),...Te(),...te(),...de(),...Oe({variant:"text"})},"VList"),cn=D()({name:"VList",props:tn(),emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,i){let{slots:t}=i;const{items:n}=en(e),{themeClasses:l}=ve(e),{backgroundColorClasses:a,backgroundColorStyles:s}=ht(I(e,"bgColor")),{borderClasses:o}=_e(e),{densityClasses:y}=Ee(e),{dimensionStyles:f}=Me(e),{elevationClasses:m}=Re(e),{roundedClasses:r}=Ne(e),{open:c,select:d}=Gt(e),v=g(()=>e.lines?`v-list--${e.lines}-line`:void 0),b=I(e,"activeColor"),h=I(e,"baseColor"),k=I(e,"color");$e(),St({VListGroup:{activeColor:b,baseColor:h,color:k},VListItem:{activeClass:I(e,"activeClass"),activeColor:b,baseColor:h,color:k,density:I(e,"density"),disabled:I(e,"disabled"),lines:I(e,"lines"),nav:I(e,"nav"),variant:I(e,"variant")}});const F=z(!1),L=x();function j(p){F.value=!0}function U(p){F.value=!1}function S(p){var H;!F.value&&!(p.relatedTarget&&((H=L.value)!=null&&H.contains(p.relatedTarget)))&&C()}function P(p){if(L.value){if(p.key==="ArrowDown")C("next");else if(p.key==="ArrowUp")C("prev");else if(p.key==="Home")C("first");else if(p.key==="End")C("last");else return;p.preventDefault()}}function C(p){if(L.value)return pt(L.value,p)}return _(()=>u(e.tag,{ref:L,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},l.value,a.value,o.value,y.value,m.value,v.value,r.value,e.class],style:[s.value,f.value,e.style],tabindex:e.disabled||F.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:j,onFocusout:U,onFocus:S,onKeydown:P},{default:()=>[u(We,{items:n.value},t)]})),{open:c,select:d,focus:C}}});export{on as V,rn as a,ke as b,Tt as c,cn as d,Ce as e,qt as f,Ft as g,Kt as h,Jt as m,un as u}; diff --git a/src/front/dist/assets/VSelectionControl-32b442ed.js b/src/front/dist/assets/VSelectionControl-91bc1ec7.js similarity index 99% rename from src/front/dist/assets/VSelectionControl-32b442ed.js rename to src/front/dist/assets/VSelectionControl-91bc1ec7.js index 683a9c05f..2784c9f7d 100644 --- a/src/front/dist/assets/VSelectionControl-32b442ed.js +++ b/src/front/dist/assets/VSelectionControl-91bc1ec7.js @@ -1 +1 @@ -import{p as Q,a0 as X,bk as we,a1 as re,a2 as ye,a5 as be,a6 as ne,a9 as ie,h as oe,c as S,e as Ce,bj as Te,ap as Se,al as y,ac as ue,F as x,bq as pe,s as j,r as De,aT as Oe,N as Me,br as Pe,V as ke,H as J,i as xe,b8 as We,bc as z,b3 as Ue,bs as K,z as _e}from"./index-c88a2b18.js";import{e as Ye}from"./VInput-b34b1163.js";function q(e){"@babel/helpers - typeof";return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},q(e)}function U(e){if(e===null||e===!0||e===!1)return NaN;var a=Number(e);return isNaN(a)?a:a<0?Math.ceil(a):Math.floor(a)}function g(e,a){if(a.length1?"s":"")+" required, but only "+a.length+" present")}function p(e){g(1,arguments);var a=Object.prototype.toString.call(e);return e instanceof Date||q(e)==="object"&&a==="[object Date]"?new Date(e.getTime()):typeof e=="number"||a==="[object Number]"?new Date(e):((typeof e=="string"||a==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ee(e,a){g(2,arguments);var t=p(e).getTime(),r=U(a);return new Date(t+r)}var Ve={};function R(){return Ve}function Fe(e){var a=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return a.setUTCFullYear(e.getFullYear()),e.getTime()-a.getTime()}function Ne(e){return g(1,arguments),e instanceof Date||q(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $e(e){if(g(1,arguments),!Ne(e)&&typeof e!="number")return!1;var a=p(e);return!isNaN(Number(a))}function qe(e,a){g(2,arguments);var t=U(a);return Ee(e,-t)}var Ie=864e5;function Le(e){g(1,arguments);var a=p(e),t=a.getTime();a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0);var r=a.getTime(),n=t-r;return Math.floor(n/Ie)+1}function I(e){g(1,arguments);var a=1,t=p(e),r=t.getUTCDay(),n=(r=n.getTime()?t+1:a.getTime()>=o.getTime()?t:t-1}function Re(e){g(1,arguments);var a=le(e),t=new Date(0);t.setUTCFullYear(a,0,4),t.setUTCHours(0,0,0,0);var r=I(t);return r}var He=6048e5;function Ae(e){g(1,arguments);var a=p(e),t=I(a).getTime()-Re(a).getTime();return Math.round(t/He)+1}function L(e,a){var t,r,n,i,o,u,l,d;g(1,arguments);var v=R(),c=U((t=(r=(n=(i=a==null?void 0:a.weekStartsOn)!==null&&i!==void 0?i:a==null||(o=a.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:v.weekStartsOn)!==null&&r!==void 0?r:(l=v.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&t!==void 0?t:0);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=p(e),m=f.getUTCDay(),h=(m=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(c+1,0,m),h.setUTCHours(0,0,0,0);var b=L(h,a),C=new Date(0);C.setUTCFullYear(c,0,m),C.setUTCHours(0,0,0,0);var D=L(C,a);return v.getTime()>=b.getTime()?c+1:v.getTime()>=D.getTime()?c:c-1}function Be(e,a){var t,r,n,i,o,u,l,d;g(1,arguments);var v=R(),c=U((t=(r=(n=(i=a==null?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:a==null||(o=a.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:v.firstWeekContainsDate)!==null&&r!==void 0?r:(l=v.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1),f=se(e,a),m=new Date(0);m.setUTCFullYear(f,0,c),m.setUTCHours(0,0,0,0);var h=L(m,a);return h}var Ge=6048e5;function Qe(e,a){g(1,arguments);var t=p(e),r=L(t,a).getTime()-Be(t,a).getTime();return Math.round(r/Ge)+1}function s(e,a){for(var t=e<0?"-":"",r=Math.abs(e).toString();r.length0?r:1-r;return s(t==="yy"?n%100:n,t.length)},M:function(a,t){var r=a.getUTCMonth();return t==="M"?String(r+1):s(r+1,2)},d:function(a,t){return s(a.getUTCDate(),t.length)},a:function(a,t){var r=a.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(a,t){return s(a.getUTCHours()%12||12,t.length)},H:function(a,t){return s(a.getUTCHours(),t.length)},m:function(a,t){return s(a.getUTCMinutes(),t.length)},s:function(a,t){return s(a.getUTCSeconds(),t.length)},S:function(a,t){var r=t.length,n=a.getUTCMilliseconds(),i=Math.floor(n*Math.pow(10,r-3));return s(i,t.length)}};const k=Xe;var _={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},je={G:function(a,t,r){var n=a.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(a,t,r){if(t==="yo"){var n=a.getUTCFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return k.y(a,t)},Y:function(a,t,r,n){var i=se(a,n),o=i>0?i:1-i;if(t==="YY"){var u=o%100;return s(u,2)}return t==="Yo"?r.ordinalNumber(o,{unit:"year"}):s(o,t.length)},R:function(a,t){var r=le(a);return s(r,t.length)},u:function(a,t){var r=a.getUTCFullYear();return s(r,t.length)},Q:function(a,t,r){var n=Math.ceil((a.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return s(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(a,t,r){var n=Math.ceil((a.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return s(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(a,t,r){var n=a.getUTCMonth();switch(t){case"M":case"MM":return k.M(a,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(a,t,r){var n=a.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return s(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(a,t,r,n){var i=Qe(a,n);return t==="wo"?r.ordinalNumber(i,{unit:"week"}):s(i,t.length)},I:function(a,t,r){var n=Ae(a);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):s(n,t.length)},d:function(a,t,r){return t==="do"?r.ordinalNumber(a.getUTCDate(),{unit:"date"}):k.d(a,t)},D:function(a,t,r){var n=Le(a);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):s(n,t.length)},E:function(a,t,r){var n=a.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(a,t,r,n){var i=a.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return s(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(a,t,r,n){var i=a.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return s(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(a,t,r){var n=a.getUTCDay(),i=n===0?7:n;switch(t){case"i":return String(i);case"ii":return s(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(a,t,r){var n=a.getUTCHours(),i=n/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(a,t,r){var n=a.getUTCHours(),i;switch(n===12?i=_.noon:n===0?i=_.midnight:i=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(a,t,r){var n=a.getUTCHours(),i;switch(n>=17?i=_.evening:n>=12?i=_.afternoon:n>=4?i=_.morning:i=_.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(a,t,r){if(t==="ho"){var n=a.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return k.h(a,t)},H:function(a,t,r){return t==="Ho"?r.ordinalNumber(a.getUTCHours(),{unit:"hour"}):k.H(a,t)},K:function(a,t,r){var n=a.getUTCHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):s(n,t.length)},k:function(a,t,r){var n=a.getUTCHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):s(n,t.length)},m:function(a,t,r){return t==="mo"?r.ordinalNumber(a.getUTCMinutes(),{unit:"minute"}):k.m(a,t)},s:function(a,t,r){return t==="so"?r.ordinalNumber(a.getUTCSeconds(),{unit:"second"}):k.s(a,t)},S:function(a,t){return k.S(a,t)},X:function(a,t,r,n){var i=n._originalDate||a,o=i.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return ee(o);case"XXXX":case"XX":return W(o);case"XXXXX":case"XXX":default:return W(o,":")}},x:function(a,t,r,n){var i=n._originalDate||a,o=i.getTimezoneOffset();switch(t){case"x":return ee(o);case"xxxx":case"xx":return W(o);case"xxxxx":case"xxx":default:return W(o,":")}},O:function(a,t,r,n){var i=n._originalDate||a,o=i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Z(o,":");case"OOOO":default:return"GMT"+W(o,":")}},z:function(a,t,r,n){var i=n._originalDate||a,o=i.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Z(o,":");case"zzzz":default:return"GMT"+W(o,":")}},t:function(a,t,r,n){var i=n._originalDate||a,o=Math.floor(i.getTime()/1e3);return s(o,t.length)},T:function(a,t,r,n){var i=n._originalDate||a,o=i.getTime();return s(o,t.length)}};function Z(e,a){var t=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),i=r%60;if(i===0)return t+String(n);var o=a||"";return t+String(n)+o+s(i,2)}function ee(e,a){if(e%60===0){var t=e>0?"-":"+";return t+s(Math.abs(e)/60,2)}return W(e,a)}function W(e,a){var t=a||"",r=e>0?"-":"+",n=Math.abs(e),i=s(Math.floor(n/60),2),o=s(n%60,2);return r+i+t+o}const Je=je;var te=function(a,t){switch(a){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},de=function(a,t){switch(a){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},ze=function(a,t){var r=a.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return te(a,t);var o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",te(n,t)).replace("{{time}}",de(i,t))},Ke={p:de,P:ze};const Ze=Ke;var et=["D","DD"],tt=["YY","YYYY"];function at(e){return et.indexOf(e)!==-1}function rt(e){return tt.indexOf(e)!==-1}function ae(e,a,t){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(a,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(a,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(a,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(a,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var nt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},it=function(a,t,r){var n,i=nt[a];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};const ot=it;function G(e){return function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=a.width?String(a.width):e.defaultWidth,r=e.formats[t]||e.formats[e.defaultWidth];return r}}var ut={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},lt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},st={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},dt={date:G({formats:ut,defaultWidth:"full"}),time:G({formats:lt,defaultWidth:"full"}),dateTime:G({formats:st,defaultWidth:"full"})};const ct=dt;var ft={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},mt=function(a,t,r,n){return ft[a]};const vt=mt;function V(e){return function(a,t){var r=t!=null&&t.context?String(t.context):"standalone",n;if(r==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=t!=null&&t.width?String(t.width):i;n=e.formattingValues[o]||e.formattingValues[i]}else{var u=e.defaultWidth,l=t!=null&&t.width?String(t.width):e.defaultWidth;n=e.values[l]||e.values[u]}var d=e.argumentCallback?e.argumentCallback(a):a;return n[d]}}var ht={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},gt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},wt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},yt={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},bt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ct={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Tt=function(a,t){var r=Number(a),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},St={ordinalNumber:Tt,era:V({values:ht,defaultWidth:"wide"}),quarter:V({values:gt,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:V({values:wt,defaultWidth:"wide"}),day:V({values:yt,defaultWidth:"wide"}),dayPeriod:V({values:bt,defaultWidth:"wide",formattingValues:Ct,defaultFormattingWidth:"wide"})};const pt=St;function F(e){return function(a){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=a.match(n);if(!i)return null;var o=i[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(u)?Ot(u,function(c){return c.test(o)}):Dt(u,function(c){return c.test(o)}),d;d=e.valueCallback?e.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;var v=a.slice(o.length);return{value:d,rest:v}}}function Dt(e,a){for(var t in e)if(e.hasOwnProperty(t)&&a(e[t]))return t}function Ot(e,a){for(var t=0;t1&&arguments[1]!==void 0?arguments[1]:{},r=a.match(e.matchPattern);if(!r)return null;var n=r[0],i=a.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=t.valueCallback?t.valueCallback(o):o;var u=a.slice(n.length);return{value:o,rest:u}}}var Pt=/^(\d+)(th|st|nd|rd)?/i,kt=/\d+/i,xt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Wt={any:[/^b/i,/^(a|c)/i]},Ut={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_t={any:[/1/i,/2/i,/3/i,/4/i]},Yt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Et={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Vt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ft={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Nt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},$t={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},qt={ordinalNumber:Mt({matchPattern:Pt,parsePattern:kt,valueCallback:function(a){return parseInt(a,10)}}),era:F({matchPatterns:xt,defaultMatchWidth:"wide",parsePatterns:Wt,defaultParseWidth:"any"}),quarter:F({matchPatterns:Ut,defaultMatchWidth:"wide",parsePatterns:_t,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:F({matchPatterns:Yt,defaultMatchWidth:"wide",parsePatterns:Et,defaultParseWidth:"any"}),day:F({matchPatterns:Vt,defaultMatchWidth:"wide",parsePatterns:Ft,defaultParseWidth:"any"}),dayPeriod:F({matchPatterns:Nt,defaultMatchWidth:"any",parsePatterns:$t,defaultParseWidth:"any"})};const It=qt;var Lt={code:"en-US",formatDistance:ot,formatLong:ct,formatRelative:vt,localize:pt,match:It,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Rt=Lt;var Ht=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,At=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bt=/^'([^]*?)'?$/,Gt=/''/g,Qt=/[a-zA-Z]/;function ea(e,a,t){var r,n,i,o,u,l,d,v,c,f,m,h,b,C,D,Y,T,E;g(2,arguments);var H=String(a),O=R(),M=(r=(n=t==null?void 0:t.locale)!==null&&n!==void 0?n:O.locale)!==null&&r!==void 0?r:Rt,A=U((i=(o=(u=(l=t==null?void 0:t.firstWeekContainsDate)!==null&&l!==void 0?l:t==null||(d=t.locale)===null||d===void 0||(v=d.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&u!==void 0?u:O.firstWeekContainsDate)!==null&&o!==void 0?o:(c=O.locale)===null||c===void 0||(f=c.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var B=U((m=(h=(b=(C=t==null?void 0:t.weekStartsOn)!==null&&C!==void 0?C:t==null||(D=t.locale)===null||D===void 0||(Y=D.options)===null||Y===void 0?void 0:Y.weekStartsOn)!==null&&b!==void 0?b:O.weekStartsOn)!==null&&h!==void 0?h:(T=O.locale)===null||T===void 0||(E=T.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&m!==void 0?m:0);if(!(B>=0&&B<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!M.localize)throw new RangeError("locale must contain localize property");if(!M.formatLong)throw new RangeError("locale must contain formatLong property");var N=p(e);if(!$e(N))throw new RangeError("Invalid time value");var me=Fe(N),ve=qe(N,me),he={firstWeekContainsDate:A,weekStartsOn:B,locale:M,_originalDate:N},ge=H.match(At).map(function(w){var P=w[0];if(P==="p"||P==="P"){var $=Ze[P];return $(w,M.formatLong)}return w}).join("").match(Ht).map(function(w){if(w==="''")return"'";var P=w[0];if(P==="'")return Xt(w);var $=Je[P];if($)return!(t!=null&&t.useAdditionalWeekYearTokens)&&rt(w)&&ae(w,a,String(e)),!(t!=null&&t.useAdditionalDayOfYearTokens)&&at(w)&&ae(w,a,String(e)),$(ve,w,M.localize,he);if(P.match(Qt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return w}).join("");return ge}function Xt(e){var a=e.match(Bt);return a?a[1].replace(Gt,"'"):e}const ce=Symbol.for("vuetify:selection-control-group"),fe=Q({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:X,trueIcon:X,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:we},...re(),...ye(),...be()},"SelectionControlGroup"),jt=Q({...fe({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");ne()({name:"VSelectionControlGroup",props:jt(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:t}=a;const r=ie(e,"modelValue"),n=oe(),i=S(()=>e.id||`v-selection-control-group-${n}`),o=S(()=>e.name||i.value),u=new Set;return Ce(ce,{modelValue:r,forceUpdate:()=>{u.forEach(l=>l())},onForceUpdate:l=>{u.add(l),Te(()=>{u.delete(l)})}}),Se({[e.defaultsTarget]:{color:y(e,"color"),disabled:y(e,"disabled"),density:y(e,"density"),error:y(e,"error"),inline:y(e,"inline"),modelValue:r,multiple:S(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),name:o,falseIcon:y(e,"falseIcon"),trueIcon:y(e,"trueIcon"),readonly:y(e,"readonly"),ripple:y(e,"ripple"),type:y(e,"type"),valueComparator:y(e,"valueComparator")}}),ue(()=>{var l;return x("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(l=t.default)==null?void 0:l.call(t)])}),{}}});const Jt=Q({label:String,trueValue:null,falseValue:null,value:null,...re(),...fe()},"VSelectionControl");function zt(e){const a=xe(ce,void 0),{densityClasses:t}=We(e),r=ie(e,"modelValue"),n=S(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),i=S(()=>e.falseValue!==void 0?e.falseValue:!1),o=S(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),u=S({get(){const c=a?a.modelValue.value:r.value;return o.value?c.some(f=>e.valueComparator(f,n.value)):e.valueComparator(c,n.value)},set(c){if(e.readonly)return;const f=c?n.value:i.value;let m=f;o.value&&(m=c?[...z(r.value),f]:z(r.value).filter(h=>!e.valueComparator(h,n.value))),a?a.modelValue.value=m:r.value=m}}),{textColorClasses:l,textColorStyles:d}=Ue(S(()=>u.value&&!e.error&&!e.disabled?e.color:void 0)),v=S(()=>u.value?e.trueIcon:e.falseIcon);return{group:a,densityClasses:t,trueValue:n,falseValue:i,model:u,textColorClasses:l,textColorStyles:d,icon:v}}const ta=ne()({name:"VSelectionControl",directives:{Ripple:pe},inheritAttrs:!1,props:Jt(),emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:t,slots:r}=a;const{group:n,densityClasses:i,icon:o,model:u,textColorClasses:l,textColorStyles:d,trueValue:v}=zt(e),c=oe(),f=S(()=>e.id||`input-${c}`),m=j(!1),h=j(!1),b=De();n==null||n.onForceUpdate(()=>{b.value&&(b.value.checked=u.value)});function C(T){m.value=!0,(!K||K&&T.target.matches(":focus-visible"))&&(h.value=!0)}function D(){m.value=!1,h.value=!1}function Y(T){e.readonly&&n&&_e(()=>n.forceUpdate()),u.value=T.target.checked}return ue(()=>{var O,M;const T=r.label?r.label({label:e.label,props:{for:f.value}}):e.label,[E,H]=Oe(t);return x("div",J({class:["v-selection-control",{"v-selection-control--dirty":u.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":m.value,"v-selection-control--focus-visible":h.value,"v-selection-control--inline":e.inline},i.value,e.class]},E,{style:e.style}),[x("div",{class:["v-selection-control__wrapper",l.value],style:d.value},[(O=r.default)==null?void 0:O.call(r),Me(x("div",{class:["v-selection-control__input"]},[o.value&&x(ke,{key:"icon",icon:o.value},null),x("input",J({ref:b,checked:u.value,disabled:!!(e.readonly||e.disabled),id:f.value,onBlur:D,onFocus:C,onInput:Y,"aria-disabled":!!(e.readonly||e.disabled),type:e.type,value:v.value,name:e.name,"aria-checked":e.type==="checkbox"?u.value:void 0},H),null),(M=r.input)==null?void 0:M.call(r,{model:u,textColorClasses:l,textColorStyles:d,props:{onFocus:C,onBlur:D,id:f.value}})]),[[Pe("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),T&&x(Ye,{for:f.value,clickable:!0},{default:()=>[T]})])}),{isFocused:m,input:b}}});export{ta as V,ea as f,Jt as m}; +import{p as Q,a0 as X,bk as we,a1 as re,a2 as ye,a5 as be,a6 as ne,a9 as ie,h as oe,c as S,e as Ce,bj as Te,ap as Se,al as y,ac as ue,F as x,bq as pe,s as j,r as De,aT as Oe,N as Me,br as Pe,V as ke,H as J,i as xe,b8 as We,bc as z,b3 as Ue,bs as K,z as _e}from"./index-cb66bb90.js";import{e as Ye}from"./VInput-6691c158.js";function q(e){"@babel/helpers - typeof";return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},q(e)}function U(e){if(e===null||e===!0||e===!1)return NaN;var a=Number(e);return isNaN(a)?a:a<0?Math.ceil(a):Math.floor(a)}function g(e,a){if(a.length1?"s":"")+" required, but only "+a.length+" present")}function p(e){g(1,arguments);var a=Object.prototype.toString.call(e);return e instanceof Date||q(e)==="object"&&a==="[object Date]"?new Date(e.getTime()):typeof e=="number"||a==="[object Number]"?new Date(e):((typeof e=="string"||a==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ee(e,a){g(2,arguments);var t=p(e).getTime(),r=U(a);return new Date(t+r)}var Ve={};function R(){return Ve}function Fe(e){var a=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return a.setUTCFullYear(e.getFullYear()),e.getTime()-a.getTime()}function Ne(e){return g(1,arguments),e instanceof Date||q(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $e(e){if(g(1,arguments),!Ne(e)&&typeof e!="number")return!1;var a=p(e);return!isNaN(Number(a))}function qe(e,a){g(2,arguments);var t=U(a);return Ee(e,-t)}var Ie=864e5;function Le(e){g(1,arguments);var a=p(e),t=a.getTime();a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0);var r=a.getTime(),n=t-r;return Math.floor(n/Ie)+1}function I(e){g(1,arguments);var a=1,t=p(e),r=t.getUTCDay(),n=(r=n.getTime()?t+1:a.getTime()>=o.getTime()?t:t-1}function Re(e){g(1,arguments);var a=le(e),t=new Date(0);t.setUTCFullYear(a,0,4),t.setUTCHours(0,0,0,0);var r=I(t);return r}var He=6048e5;function Ae(e){g(1,arguments);var a=p(e),t=I(a).getTime()-Re(a).getTime();return Math.round(t/He)+1}function L(e,a){var t,r,n,i,o,u,l,d;g(1,arguments);var v=R(),c=U((t=(r=(n=(i=a==null?void 0:a.weekStartsOn)!==null&&i!==void 0?i:a==null||(o=a.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:v.weekStartsOn)!==null&&r!==void 0?r:(l=v.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&t!==void 0?t:0);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=p(e),m=f.getUTCDay(),h=(m=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(c+1,0,m),h.setUTCHours(0,0,0,0);var b=L(h,a),C=new Date(0);C.setUTCFullYear(c,0,m),C.setUTCHours(0,0,0,0);var D=L(C,a);return v.getTime()>=b.getTime()?c+1:v.getTime()>=D.getTime()?c:c-1}function Be(e,a){var t,r,n,i,o,u,l,d;g(1,arguments);var v=R(),c=U((t=(r=(n=(i=a==null?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:a==null||(o=a.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:v.firstWeekContainsDate)!==null&&r!==void 0?r:(l=v.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1),f=se(e,a),m=new Date(0);m.setUTCFullYear(f,0,c),m.setUTCHours(0,0,0,0);var h=L(m,a);return h}var Ge=6048e5;function Qe(e,a){g(1,arguments);var t=p(e),r=L(t,a).getTime()-Be(t,a).getTime();return Math.round(r/Ge)+1}function s(e,a){for(var t=e<0?"-":"",r=Math.abs(e).toString();r.length0?r:1-r;return s(t==="yy"?n%100:n,t.length)},M:function(a,t){var r=a.getUTCMonth();return t==="M"?String(r+1):s(r+1,2)},d:function(a,t){return s(a.getUTCDate(),t.length)},a:function(a,t){var r=a.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(a,t){return s(a.getUTCHours()%12||12,t.length)},H:function(a,t){return s(a.getUTCHours(),t.length)},m:function(a,t){return s(a.getUTCMinutes(),t.length)},s:function(a,t){return s(a.getUTCSeconds(),t.length)},S:function(a,t){var r=t.length,n=a.getUTCMilliseconds(),i=Math.floor(n*Math.pow(10,r-3));return s(i,t.length)}};const k=Xe;var _={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},je={G:function(a,t,r){var n=a.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(a,t,r){if(t==="yo"){var n=a.getUTCFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return k.y(a,t)},Y:function(a,t,r,n){var i=se(a,n),o=i>0?i:1-i;if(t==="YY"){var u=o%100;return s(u,2)}return t==="Yo"?r.ordinalNumber(o,{unit:"year"}):s(o,t.length)},R:function(a,t){var r=le(a);return s(r,t.length)},u:function(a,t){var r=a.getUTCFullYear();return s(r,t.length)},Q:function(a,t,r){var n=Math.ceil((a.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return s(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(a,t,r){var n=Math.ceil((a.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return s(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(a,t,r){var n=a.getUTCMonth();switch(t){case"M":case"MM":return k.M(a,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(a,t,r){var n=a.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return s(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(a,t,r,n){var i=Qe(a,n);return t==="wo"?r.ordinalNumber(i,{unit:"week"}):s(i,t.length)},I:function(a,t,r){var n=Ae(a);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):s(n,t.length)},d:function(a,t,r){return t==="do"?r.ordinalNumber(a.getUTCDate(),{unit:"date"}):k.d(a,t)},D:function(a,t,r){var n=Le(a);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):s(n,t.length)},E:function(a,t,r){var n=a.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(a,t,r,n){var i=a.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return s(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(a,t,r,n){var i=a.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return s(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(a,t,r){var n=a.getUTCDay(),i=n===0?7:n;switch(t){case"i":return String(i);case"ii":return s(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(a,t,r){var n=a.getUTCHours(),i=n/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(a,t,r){var n=a.getUTCHours(),i;switch(n===12?i=_.noon:n===0?i=_.midnight:i=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(a,t,r){var n=a.getUTCHours(),i;switch(n>=17?i=_.evening:n>=12?i=_.afternoon:n>=4?i=_.morning:i=_.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(a,t,r){if(t==="ho"){var n=a.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return k.h(a,t)},H:function(a,t,r){return t==="Ho"?r.ordinalNumber(a.getUTCHours(),{unit:"hour"}):k.H(a,t)},K:function(a,t,r){var n=a.getUTCHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):s(n,t.length)},k:function(a,t,r){var n=a.getUTCHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):s(n,t.length)},m:function(a,t,r){return t==="mo"?r.ordinalNumber(a.getUTCMinutes(),{unit:"minute"}):k.m(a,t)},s:function(a,t,r){return t==="so"?r.ordinalNumber(a.getUTCSeconds(),{unit:"second"}):k.s(a,t)},S:function(a,t){return k.S(a,t)},X:function(a,t,r,n){var i=n._originalDate||a,o=i.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return ee(o);case"XXXX":case"XX":return W(o);case"XXXXX":case"XXX":default:return W(o,":")}},x:function(a,t,r,n){var i=n._originalDate||a,o=i.getTimezoneOffset();switch(t){case"x":return ee(o);case"xxxx":case"xx":return W(o);case"xxxxx":case"xxx":default:return W(o,":")}},O:function(a,t,r,n){var i=n._originalDate||a,o=i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Z(o,":");case"OOOO":default:return"GMT"+W(o,":")}},z:function(a,t,r,n){var i=n._originalDate||a,o=i.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Z(o,":");case"zzzz":default:return"GMT"+W(o,":")}},t:function(a,t,r,n){var i=n._originalDate||a,o=Math.floor(i.getTime()/1e3);return s(o,t.length)},T:function(a,t,r,n){var i=n._originalDate||a,o=i.getTime();return s(o,t.length)}};function Z(e,a){var t=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),i=r%60;if(i===0)return t+String(n);var o=a||"";return t+String(n)+o+s(i,2)}function ee(e,a){if(e%60===0){var t=e>0?"-":"+";return t+s(Math.abs(e)/60,2)}return W(e,a)}function W(e,a){var t=a||"",r=e>0?"-":"+",n=Math.abs(e),i=s(Math.floor(n/60),2),o=s(n%60,2);return r+i+t+o}const Je=je;var te=function(a,t){switch(a){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},de=function(a,t){switch(a){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},ze=function(a,t){var r=a.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return te(a,t);var o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",te(n,t)).replace("{{time}}",de(i,t))},Ke={p:de,P:ze};const Ze=Ke;var et=["D","DD"],tt=["YY","YYYY"];function at(e){return et.indexOf(e)!==-1}function rt(e){return tt.indexOf(e)!==-1}function ae(e,a,t){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(a,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(a,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(a,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(a,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var nt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},it=function(a,t,r){var n,i=nt[a];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};const ot=it;function G(e){return function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=a.width?String(a.width):e.defaultWidth,r=e.formats[t]||e.formats[e.defaultWidth];return r}}var ut={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},lt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},st={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},dt={date:G({formats:ut,defaultWidth:"full"}),time:G({formats:lt,defaultWidth:"full"}),dateTime:G({formats:st,defaultWidth:"full"})};const ct=dt;var ft={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},mt=function(a,t,r,n){return ft[a]};const vt=mt;function V(e){return function(a,t){var r=t!=null&&t.context?String(t.context):"standalone",n;if(r==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=t!=null&&t.width?String(t.width):i;n=e.formattingValues[o]||e.formattingValues[i]}else{var u=e.defaultWidth,l=t!=null&&t.width?String(t.width):e.defaultWidth;n=e.values[l]||e.values[u]}var d=e.argumentCallback?e.argumentCallback(a):a;return n[d]}}var ht={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},gt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},wt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},yt={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},bt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ct={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Tt=function(a,t){var r=Number(a),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},St={ordinalNumber:Tt,era:V({values:ht,defaultWidth:"wide"}),quarter:V({values:gt,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:V({values:wt,defaultWidth:"wide"}),day:V({values:yt,defaultWidth:"wide"}),dayPeriod:V({values:bt,defaultWidth:"wide",formattingValues:Ct,defaultFormattingWidth:"wide"})};const pt=St;function F(e){return function(a){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=a.match(n);if(!i)return null;var o=i[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(u)?Ot(u,function(c){return c.test(o)}):Dt(u,function(c){return c.test(o)}),d;d=e.valueCallback?e.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;var v=a.slice(o.length);return{value:d,rest:v}}}function Dt(e,a){for(var t in e)if(e.hasOwnProperty(t)&&a(e[t]))return t}function Ot(e,a){for(var t=0;t1&&arguments[1]!==void 0?arguments[1]:{},r=a.match(e.matchPattern);if(!r)return null;var n=r[0],i=a.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=t.valueCallback?t.valueCallback(o):o;var u=a.slice(n.length);return{value:o,rest:u}}}var Pt=/^(\d+)(th|st|nd|rd)?/i,kt=/\d+/i,xt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Wt={any:[/^b/i,/^(a|c)/i]},Ut={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_t={any:[/1/i,/2/i,/3/i,/4/i]},Yt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Et={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Vt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ft={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Nt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},$t={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},qt={ordinalNumber:Mt({matchPattern:Pt,parsePattern:kt,valueCallback:function(a){return parseInt(a,10)}}),era:F({matchPatterns:xt,defaultMatchWidth:"wide",parsePatterns:Wt,defaultParseWidth:"any"}),quarter:F({matchPatterns:Ut,defaultMatchWidth:"wide",parsePatterns:_t,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:F({matchPatterns:Yt,defaultMatchWidth:"wide",parsePatterns:Et,defaultParseWidth:"any"}),day:F({matchPatterns:Vt,defaultMatchWidth:"wide",parsePatterns:Ft,defaultParseWidth:"any"}),dayPeriod:F({matchPatterns:Nt,defaultMatchWidth:"any",parsePatterns:$t,defaultParseWidth:"any"})};const It=qt;var Lt={code:"en-US",formatDistance:ot,formatLong:ct,formatRelative:vt,localize:pt,match:It,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Rt=Lt;var Ht=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,At=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bt=/^'([^]*?)'?$/,Gt=/''/g,Qt=/[a-zA-Z]/;function ea(e,a,t){var r,n,i,o,u,l,d,v,c,f,m,h,b,C,D,Y,T,E;g(2,arguments);var H=String(a),O=R(),M=(r=(n=t==null?void 0:t.locale)!==null&&n!==void 0?n:O.locale)!==null&&r!==void 0?r:Rt,A=U((i=(o=(u=(l=t==null?void 0:t.firstWeekContainsDate)!==null&&l!==void 0?l:t==null||(d=t.locale)===null||d===void 0||(v=d.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&u!==void 0?u:O.firstWeekContainsDate)!==null&&o!==void 0?o:(c=O.locale)===null||c===void 0||(f=c.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var B=U((m=(h=(b=(C=t==null?void 0:t.weekStartsOn)!==null&&C!==void 0?C:t==null||(D=t.locale)===null||D===void 0||(Y=D.options)===null||Y===void 0?void 0:Y.weekStartsOn)!==null&&b!==void 0?b:O.weekStartsOn)!==null&&h!==void 0?h:(T=O.locale)===null||T===void 0||(E=T.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&m!==void 0?m:0);if(!(B>=0&&B<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!M.localize)throw new RangeError("locale must contain localize property");if(!M.formatLong)throw new RangeError("locale must contain formatLong property");var N=p(e);if(!$e(N))throw new RangeError("Invalid time value");var me=Fe(N),ve=qe(N,me),he={firstWeekContainsDate:A,weekStartsOn:B,locale:M,_originalDate:N},ge=H.match(At).map(function(w){var P=w[0];if(P==="p"||P==="P"){var $=Ze[P];return $(w,M.formatLong)}return w}).join("").match(Ht).map(function(w){if(w==="''")return"'";var P=w[0];if(P==="'")return Xt(w);var $=Je[P];if($)return!(t!=null&&t.useAdditionalWeekYearTokens)&&rt(w)&&ae(w,a,String(e)),!(t!=null&&t.useAdditionalDayOfYearTokens)&&at(w)&&ae(w,a,String(e)),$(ve,w,M.localize,he);if(P.match(Qt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return w}).join("");return ge}function Xt(e){var a=e.match(Bt);return a?a[1].replace(Gt,"'"):e}const ce=Symbol.for("vuetify:selection-control-group"),fe=Q({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:X,trueIcon:X,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:we},...re(),...ye(),...be()},"SelectionControlGroup"),jt=Q({...fe({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");ne()({name:"VSelectionControlGroup",props:jt(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:t}=a;const r=ie(e,"modelValue"),n=oe(),i=S(()=>e.id||`v-selection-control-group-${n}`),o=S(()=>e.name||i.value),u=new Set;return Ce(ce,{modelValue:r,forceUpdate:()=>{u.forEach(l=>l())},onForceUpdate:l=>{u.add(l),Te(()=>{u.delete(l)})}}),Se({[e.defaultsTarget]:{color:y(e,"color"),disabled:y(e,"disabled"),density:y(e,"density"),error:y(e,"error"),inline:y(e,"inline"),modelValue:r,multiple:S(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),name:o,falseIcon:y(e,"falseIcon"),trueIcon:y(e,"trueIcon"),readonly:y(e,"readonly"),ripple:y(e,"ripple"),type:y(e,"type"),valueComparator:y(e,"valueComparator")}}),ue(()=>{var l;return x("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(l=t.default)==null?void 0:l.call(t)])}),{}}});const Jt=Q({label:String,trueValue:null,falseValue:null,value:null,...re(),...fe()},"VSelectionControl");function zt(e){const a=xe(ce,void 0),{densityClasses:t}=We(e),r=ie(e,"modelValue"),n=S(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),i=S(()=>e.falseValue!==void 0?e.falseValue:!1),o=S(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),u=S({get(){const c=a?a.modelValue.value:r.value;return o.value?c.some(f=>e.valueComparator(f,n.value)):e.valueComparator(c,n.value)},set(c){if(e.readonly)return;const f=c?n.value:i.value;let m=f;o.value&&(m=c?[...z(r.value),f]:z(r.value).filter(h=>!e.valueComparator(h,n.value))),a?a.modelValue.value=m:r.value=m}}),{textColorClasses:l,textColorStyles:d}=Ue(S(()=>u.value&&!e.error&&!e.disabled?e.color:void 0)),v=S(()=>u.value?e.trueIcon:e.falseIcon);return{group:a,densityClasses:t,trueValue:n,falseValue:i,model:u,textColorClasses:l,textColorStyles:d,icon:v}}const ta=ne()({name:"VSelectionControl",directives:{Ripple:pe},inheritAttrs:!1,props:Jt(),emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:t,slots:r}=a;const{group:n,densityClasses:i,icon:o,model:u,textColorClasses:l,textColorStyles:d,trueValue:v}=zt(e),c=oe(),f=S(()=>e.id||`input-${c}`),m=j(!1),h=j(!1),b=De();n==null||n.onForceUpdate(()=>{b.value&&(b.value.checked=u.value)});function C(T){m.value=!0,(!K||K&&T.target.matches(":focus-visible"))&&(h.value=!0)}function D(){m.value=!1,h.value=!1}function Y(T){e.readonly&&n&&_e(()=>n.forceUpdate()),u.value=T.target.checked}return ue(()=>{var O,M;const T=r.label?r.label({label:e.label,props:{for:f.value}}):e.label,[E,H]=Oe(t);return x("div",J({class:["v-selection-control",{"v-selection-control--dirty":u.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":m.value,"v-selection-control--focus-visible":h.value,"v-selection-control--inline":e.inline},i.value,e.class]},E,{style:e.style}),[x("div",{class:["v-selection-control__wrapper",l.value],style:d.value},[(O=r.default)==null?void 0:O.call(r),Me(x("div",{class:["v-selection-control__input"]},[o.value&&x(ke,{key:"icon",icon:o.value},null),x("input",J({ref:b,checked:u.value,disabled:!!(e.readonly||e.disabled),id:f.value,onBlur:D,onFocus:C,onInput:Y,"aria-disabled":!!(e.readonly||e.disabled),type:e.type,value:v.value,name:e.name,"aria-checked":e.type==="checkbox"?u.value:void 0},H),null),(M=r.input)==null?void 0:M.call(r,{model:u,textColorClasses:l,textColorStyles:d,props:{onFocus:C,onBlur:D,id:f.value}})]),[[Pe("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),T&&x(Ye,{for:f.value,clickable:!0},{default:()=>[T]})])}),{isFocused:m,input:b}}});export{ta as V,ea as f,Jt as m}; diff --git a/src/front/dist/assets/VSpacer-ccbf9fb8.js b/src/front/dist/assets/VSpacer-ccbf9fb8.js new file mode 100644 index 000000000..2e169db77 --- /dev/null +++ b/src/front/dist/assets/VSpacer-ccbf9fb8.js @@ -0,0 +1 @@ +import{bp as e}from"./index-cb66bb90.js";const a=e("flex-grow-1","div","VSpacer");export{a as V}; diff --git a/src/front/dist/assets/VSpacer-fbe6a467.js b/src/front/dist/assets/VSpacer-fbe6a467.js deleted file mode 100644 index c849f06de..000000000 --- a/src/front/dist/assets/VSpacer-fbe6a467.js +++ /dev/null @@ -1 +0,0 @@ -import{bp as e}from"./index-c88a2b18.js";const a=e("flex-grow-1","div","VSpacer");export{a as V}; diff --git a/src/front/dist/assets/VTextarea-86c6c8f9.js b/src/front/dist/assets/VTextarea-5b24e794.js similarity index 97% rename from src/front/dist/assets/VTextarea-86c6c8f9.js rename to src/front/dist/assets/VTextarea-5b24e794.js index 716988d53..54bf18cd1 100644 --- a/src/front/dist/assets/VTextarea-86c6c8f9.js +++ b/src/front/dist/assets/VTextarea-5b24e794.js @@ -1 +1 @@ -import{s as G,o as D,c as g,bM as ee,p as te,a6 as ae,bt as ne,a9 as le,r as x,at as oe,w as m,l as ue,ac as ie,aT as re,F as l,H as k,Z as I,N as z,br as se,bN as ce,bb as de,z as R,be as fe,b as ve,aa as xe}from"./index-c88a2b18.js";import{m as me,a as ge,u as he,V as _,f as we,b as Ve,c as ye}from"./VInput-b34b1163.js";function Pe(){const e=G(!1);return D(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:g(()=>e.value?void 0:{transition:"none !important"}),isBooted:ee(e)}}const Fe=te({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...me(),...ge()},"VTextarea"),Se=ae()({name:"VTextarea",directives:{Intersect:ne},inheritAttrs:!1,props:Fe(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,B){let{attrs:F,emit:M,slots:i}=B;const o=le(e,"modelValue"),{isFocused:f,focus:E,blur:U}=he(e),O=g(()=>typeof e.counterValue=="function"?e.counterValue(o.value):(o.value||"").toString().length),$=g(()=>{if(F.maxlength)return F.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter});function j(t,n){var a,u;!e.autofocus||!t||(u=(a=n[0].target)==null?void 0:a.focus)==null||u.call(a)}const N=x(),h=x(),T=G(""),w=x(),q=g(()=>e.persistentPlaceholder||f.value||e.active);function b(){var t;w.value!==document.activeElement&&((t=w.value)==null||t.focus()),f.value||E()}function Z(t){b(),M("click:control",t)}function J(t){M("mousedown:control",t)}function K(t){t.stopPropagation(),b(),R(()=>{o.value="",fe(e["onClick:clear"],t)})}function L(t){var a;const n=t.target;if(o.value=n.value,(a=e.modelModifiers)!=null&&a.trim){const u=[n.selectionStart,n.selectionEnd];R(()=>{n.selectionStart=u[0],n.selectionEnd=u[1]})}}const c=x(),V=x(+e.rows),C=g(()=>["plain","underlined"].includes(e.variant));oe(()=>{e.autoGrow||(V.value=+e.rows)});function d(){e.autoGrow&&R(()=>{if(!c.value||!h.value)return;const t=getComputedStyle(c.value),n=getComputedStyle(h.value.$el),a=parseFloat(t.getPropertyValue("--v-field-padding-top"))+parseFloat(t.getPropertyValue("--v-input-padding-top"))+parseFloat(t.getPropertyValue("--v-field-padding-bottom")),u=c.value.scrollHeight,y=parseFloat(t.lineHeight),P=Math.max(parseFloat(e.rows)*y+a,parseFloat(n.getPropertyValue("--v-input-control-height"))),S=parseFloat(e.maxRows)*y+a||1/0,s=xe(u??0,P,S);V.value=Math.floor((s-a)/y),T.value=ve(s)})}D(d),m(o,d),m(()=>e.rows,d),m(()=>e.maxRows,d),m(()=>e.density,d);let r;return m(c,t=>{t?(r=new ResizeObserver(d),r.observe(c.value)):r==null||r.disconnect()}),ue(()=>{r==null||r.disconnect()}),ie(()=>{const t=!!(i.counter||e.counter||e.counterValue),n=!!(t||i.details),[a,u]=re(F),[{modelValue:y,...P}]=_.filterProps(e),[S]=we(e);return l(_,k({ref:N,modelValue:o.value,"onUpdate:modelValue":s=>o.value=s,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-text-field--plain-underlined":C.value},e.class],style:e.style},a,P,{centerAffix:V.value===1&&!C.value,focused:f.value}),{...i,default:s=>{let{isDisabled:v,isDirty:H,isReadonly:Q,isValid:W}=s;return l(Ve,k({ref:h,style:{"--v-textarea-control-height":T.value},onClick:Z,onMousedown:J,"onClick:clear":K,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:"textbox"},S,{active:q.value||H.value,centerAffix:V.value===1&&!C.value,dirty:H.value||e.dirty,disabled:v.value,focused:f.value,error:W.value===!1}),{...i,default:X=>{let{props:{class:A,...Y}}=X;return l(I,null,[e.prefix&&l("span",{class:"v-text-field__prefix"},[e.prefix]),z(l("textarea",k({ref:w,class:A,value:o.value,onInput:L,autofocus:e.autofocus,readonly:Q.value,disabled:v.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:b,onBlur:U},Y,u),null),[[se("intersect"),{handler:j},null,{once:!0}]]),e.autoGrow&&z(l("textarea",{class:[A,"v-textarea__sizer"],"onUpdate:modelValue":p=>o.value=p,ref:c,readonly:!0,"aria-hidden":"true"},null),[[ce,o.value]]),e.suffix&&l("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:n?s=>{var v;return l(I,null,[(v=i.details)==null?void 0:v.call(i,s),t&&l(I,null,[l("span",null,null),l(ye,{active:e.persistentCounter||f.value,value:O.value,max:$.value},i.counter)])])}:void 0})}),de({},N,h,w)}});export{Se as V,Pe as u}; +import{s as G,o as D,c as g,bM as ee,p as te,a6 as ae,bt as ne,a9 as le,r as x,at as oe,w as m,l as ue,ac as ie,aT as re,F as l,H as k,Z as I,N as z,br as se,bN as ce,bb as de,z as R,be as fe,b as ve,aa as xe}from"./index-cb66bb90.js";import{m as me,a as ge,u as he,V as _,f as we,b as Ve,c as ye}from"./VInput-6691c158.js";function Pe(){const e=G(!1);return D(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:g(()=>e.value?void 0:{transition:"none !important"}),isBooted:ee(e)}}const Fe=te({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...me(),...ge()},"VTextarea"),Se=ae()({name:"VTextarea",directives:{Intersect:ne},inheritAttrs:!1,props:Fe(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,B){let{attrs:F,emit:M,slots:i}=B;const o=le(e,"modelValue"),{isFocused:f,focus:E,blur:U}=he(e),O=g(()=>typeof e.counterValue=="function"?e.counterValue(o.value):(o.value||"").toString().length),$=g(()=>{if(F.maxlength)return F.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter});function j(t,n){var a,u;!e.autofocus||!t||(u=(a=n[0].target)==null?void 0:a.focus)==null||u.call(a)}const N=x(),h=x(),T=G(""),w=x(),q=g(()=>e.persistentPlaceholder||f.value||e.active);function b(){var t;w.value!==document.activeElement&&((t=w.value)==null||t.focus()),f.value||E()}function Z(t){b(),M("click:control",t)}function J(t){M("mousedown:control",t)}function K(t){t.stopPropagation(),b(),R(()=>{o.value="",fe(e["onClick:clear"],t)})}function L(t){var a;const n=t.target;if(o.value=n.value,(a=e.modelModifiers)!=null&&a.trim){const u=[n.selectionStart,n.selectionEnd];R(()=>{n.selectionStart=u[0],n.selectionEnd=u[1]})}}const c=x(),V=x(+e.rows),C=g(()=>["plain","underlined"].includes(e.variant));oe(()=>{e.autoGrow||(V.value=+e.rows)});function d(){e.autoGrow&&R(()=>{if(!c.value||!h.value)return;const t=getComputedStyle(c.value),n=getComputedStyle(h.value.$el),a=parseFloat(t.getPropertyValue("--v-field-padding-top"))+parseFloat(t.getPropertyValue("--v-input-padding-top"))+parseFloat(t.getPropertyValue("--v-field-padding-bottom")),u=c.value.scrollHeight,y=parseFloat(t.lineHeight),P=Math.max(parseFloat(e.rows)*y+a,parseFloat(n.getPropertyValue("--v-input-control-height"))),S=parseFloat(e.maxRows)*y+a||1/0,s=xe(u??0,P,S);V.value=Math.floor((s-a)/y),T.value=ve(s)})}D(d),m(o,d),m(()=>e.rows,d),m(()=>e.maxRows,d),m(()=>e.density,d);let r;return m(c,t=>{t?(r=new ResizeObserver(d),r.observe(c.value)):r==null||r.disconnect()}),ue(()=>{r==null||r.disconnect()}),ie(()=>{const t=!!(i.counter||e.counter||e.counterValue),n=!!(t||i.details),[a,u]=re(F),[{modelValue:y,...P}]=_.filterProps(e),[S]=we(e);return l(_,k({ref:N,modelValue:o.value,"onUpdate:modelValue":s=>o.value=s,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-text-field--plain-underlined":C.value},e.class],style:e.style},a,P,{centerAffix:V.value===1&&!C.value,focused:f.value}),{...i,default:s=>{let{isDisabled:v,isDirty:H,isReadonly:Q,isValid:W}=s;return l(Ve,k({ref:h,style:{"--v-textarea-control-height":T.value},onClick:Z,onMousedown:J,"onClick:clear":K,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:"textbox"},S,{active:q.value||H.value,centerAffix:V.value===1&&!C.value,dirty:H.value||e.dirty,disabled:v.value,focused:f.value,error:W.value===!1}),{...i,default:X=>{let{props:{class:A,...Y}}=X;return l(I,null,[e.prefix&&l("span",{class:"v-text-field__prefix"},[e.prefix]),z(l("textarea",k({ref:w,class:A,value:o.value,onInput:L,autofocus:e.autofocus,readonly:Q.value,disabled:v.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:b,onBlur:U},Y,u),null),[[se("intersect"),{handler:j},null,{once:!0}]]),e.autoGrow&&z(l("textarea",{class:[A,"v-textarea__sizer"],"onUpdate:modelValue":p=>o.value=p,ref:c,readonly:!0,"aria-hidden":"true"},null),[[ce,o.value]]),e.suffix&&l("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:n?s=>{var v;return l(I,null,[(v=i.details)==null?void 0:v.call(i,s),t&&l(I,null,[l("span",null,null),l(ye,{active:e.persistentCounter||f.value,value:O.value,max:$.value},i.counter)])])}:void 0})}),de({},N,h,w)}});export{Se as V,Pe as u}; diff --git a/src/front/dist/assets/VTooltip-37ca3885.js b/src/front/dist/assets/VTooltip-104ed121.js similarity index 98% rename from src/front/dist/assets/VTooltip-37ca3885.js rename to src/front/dist/assets/VTooltip-104ed121.js index 9c3aeaca4..3876ea601 100644 --- a/src/front/dist/assets/VTooltip-37ca3885.js +++ b/src/front/dist/assets/VTooltip-104ed121.js @@ -1 +1 @@ -import{p as D,b2 as Se,a6 as W,b3 as we,c as b,s as P,r as $,ac as N,F as r,H as U,b4 as ze,b5 as Pe,a0 as ae,a1 as Re,a4 as xe,ag as Ie,av as Be,b6 as Ae,w as Oe,V as le,b7 as Ee,aa as Me,a2 as $e,a9 as pe,b8 as Ue,ak as Fe,al as z,ap as Ge,b as He,_ as Le,A as De,U as We,W as Ne,C as M,D as j,E as m,G as se,J as Ye,K as oe,L as ne,aq as qe,Y as ie,$ as re,Z as ue,M as Xe,R as Ke,n as je,S as H,ad as L,b9 as Je,ax as Ze,h as Qe,ba as ce,bb as et}from"./index-c88a2b18.js";import{e as tt,V as J,f as at,g as lt,u as de,h as ve}from"./VBtn-3e30d8f6.js";import{V as st,a as ot}from"./VWindowItem-68f94bab.js";import{d as fe,c as me,b as ge}from"./VList-1710ecfb.js";const Ve=Symbol.for("vuetify:v-tabs"),nt=D({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...Se(tt({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),_e=W()({name:"VTab",props:nt(),setup(e,i){let{slots:o,attrs:t}=i;const{textColorClasses:g,textColorStyles:n}=we(e,"sliderColor"),a=b(()=>e.direction==="horizontal"),l=P(!1),d=$(),u=$();function v(y){var f,V;let{value:h}=y;if(l.value=h,h){const x=(V=(f=d.value)==null?void 0:f.$el.parentElement)==null?void 0:V.querySelector(".v-tab--selected .v-tab__slider"),C=u.value;if(!x||!C)return;const R=getComputedStyle(x).color,_=x.getBoundingClientRect(),k=C.getBoundingClientRect(),I=a.value?"x":"y",B=a.value?"X":"Y",F=a.value?"right":"bottom",T=a.value?"width":"height",A=_[I],Y=k[I],w=A>Y?_[F]-k[F]:_[I]-k[I],q=Math.sign(w)>0?a.value?"right":"bottom":Math.sign(w)<0?a.value?"left":"top":"center",S=(Math.abs(w)+(Math.sign(w)<0?_[T]:k[T]))/Math.max(_[T],k[T]),E=_[T]/k[T],G=1.5;ze(C,{backgroundColor:[R,"currentcolor"],transform:[`translate${B}(${w}px) scale${B}(${E})`,`translate${B}(${w/G}px) scale${B}(${(S-1)/G+1})`,"none"],transformOrigin:Array(3).fill(q)},{duration:225,easing:Pe})}}return N(()=>{const[y]=J.filterProps(e);return r(J,U({symbol:Ve,ref:d,class:["v-tab",e.class],style:e.style,tabindex:l.value?0:-1,role:"tab","aria-selected":String(l.value),active:!1,block:e.fixed,maxWidth:e.fixed?300:void 0,rounded:0},y,t,{"onGroup:selected":v}),{default:()=>{var h;return[((h=o.default)==null?void 0:h.call(o))??e.text,!e.hideSlider&&r("div",{ref:u,class:["v-tab__slider",g.value],style:n.value},null)]}})}),{}}});function be(e){const o=Math.abs(e);return Math.sign(e)*(o/((1/.501-2)*(1-o)+1))}function he(e){let{selectedElement:i,containerSize:o,contentSize:t,isRtl:g,currentScrollOffset:n,isHorizontal:a}=e;const l=a?i.clientWidth:i.clientHeight,d=a?i.offsetLeft:i.offsetTop,u=g&&a?t-d-l:d,v=o+n,y=l+u,h=l*.4;return u<=n?n=Math.max(u-h,0):v<=y&&(n=Math.min(n-(v-y-h),t-o)),n}function it(e){let{selectedElement:i,containerSize:o,contentSize:t,isRtl:g,isHorizontal:n}=e;const a=n?i.clientWidth:i.clientHeight,l=n?i.offsetLeft:i.offsetTop,d=g&&n?t-l-a/2-o/2:l+a/2-o/2;return Math.min(t-o,Math.max(0,d))}const rt=Symbol.for("vuetify:v-slide-group"),ke=D({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:rt},nextIcon:{type:ae,default:"$next"},prevIcon:{type:ae,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["always","desktop","mobile"].includes(e)},...Re(),...xe(),...at({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),ye=W()({name:"VSlideGroup",props:ke(),emits:{"update:modelValue":e=>!0},setup(e,i){let{slots:o}=i;const{isRtl:t}=Ie(),{mobile:g}=Be(),n=lt(e,e.symbol),a=P(!1),l=P(0),d=P(0),u=P(0),v=b(()=>e.direction==="horizontal"),{resizeRef:y,contentRect:h}=de(),{resizeRef:f,contentRect:V}=de(),x=b(()=>n.selected.value.length?n.items.value.findIndex(s=>s.id===n.selected.value[0]):-1),C=b(()=>n.selected.value.length?n.items.value.findIndex(s=>s.id===n.selected.value[n.selected.value.length-1]):-1);if(Ae){let s=-1;Oe(()=>[n.selected.value,h.value,V.value,v.value],()=>{cancelAnimationFrame(s),s=requestAnimationFrame(()=>{if(h.value&&V.value){const c=v.value?"width":"height";d.value=h.value[c],u.value=V.value[c],a.value=d.value+1=0&&f.value){const c=f.value.children[C.value];x.value===0||!a.value?l.value=0:e.centerActive?l.value=it({selectedElement:c,containerSize:d.value,contentSize:u.value,isRtl:t.value,isHorizontal:v.value}):a.value&&(l.value=he({selectedElement:c,containerSize:d.value,contentSize:u.value,isRtl:t.value,currentScrollOffset:l.value,isHorizontal:v.value}))}})})}const R=P(!1);let _=0,k=0;function I(s){const c=v.value?"clientX":"clientY";k=(t.value&&v.value?-1:1)*l.value,_=s.touches[0][c],R.value=!0}function B(s){if(!a.value)return;const c=v.value?"clientX":"clientY",p=t.value&&v.value?-1:1;l.value=p*(k+_-s.touches[0][c])}function F(s){const c=u.value-d.value;l.value<0||!a.value?l.value=0:l.value>=c&&(l.value=c),R.value=!1}function T(){y.value&&(y.value[v.value?"scrollLeft":"scrollTop"]=0)}const A=P(!1);function Y(s){if(A.value=!0,!(!a.value||!f.value)){for(const c of s.composedPath())for(const p of f.value.children)if(p===c){l.value=he({selectedElement:p,containerSize:d.value,contentSize:u.value,isRtl:t.value,currentScrollOffset:l.value,isHorizontal:v.value});return}}}function w(s){A.value=!1}function q(s){var c;!A.value&&!(s.relatedTarget&&((c=f.value)!=null&&c.contains(s.relatedTarget)))&&S()}function Z(s){f.value&&(v.value?s.key==="ArrowRight"?S(t.value?"prev":"next"):s.key==="ArrowLeft"&&S(t.value?"next":"prev"):s.key==="ArrowDown"?S("next"):s.key==="ArrowUp"&&S("prev"),s.key==="Home"?S("first"):s.key==="End"&&S("last"))}function S(s){var c,p,Q,ee,te;if(f.value)if(!s)(c=Ee(f.value)[0])==null||c.focus();else if(s==="next"){const O=(p=f.value.querySelector(":focus"))==null?void 0:p.nextElementSibling;O?O.focus():S("first")}else if(s==="prev"){const O=(Q=f.value.querySelector(":focus"))==null?void 0:Q.previousElementSibling;O?O.focus():S("last")}else s==="first"?(ee=f.value.firstElementChild)==null||ee.focus():s==="last"&&((te=f.value.lastElementChild)==null||te.focus())}function E(s){const c=l.value+(s==="prev"?-1:1)*d.value;l.value=Me(c,0,u.value-d.value)}const G=b(()=>{let s=l.value>u.value-d.value?-(u.value-d.value)+be(u.value-d.value-l.value):-l.value;l.value<=0&&(s=be(-l.value));const c=t.value&&v.value?-1:1;return{transform:`translate${v.value?"X":"Y"}(${c*s}px)`,transition:R.value?"none":"",willChange:R.value?"transform":""}}),X=b(()=>({next:n.next,prev:n.prev,select:n.select,isSelected:n.isSelected})),K=b(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!g.value;case!0:return a.value||Math.abs(l.value)>0;case"mobile":return g.value||a.value||Math.abs(l.value)>0;default:return!g.value&&(a.value||Math.abs(l.value)>0)}}),Ce=b(()=>Math.abs(l.value)>0),Te=b(()=>u.value>Math.abs(l.value)+d.value);return N(()=>r(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!v.value,"v-slide-group--has-affixes":K.value,"v-slide-group--is-overflowing":a.value},e.class],style:e.style,tabindex:A.value||n.selected.value.length?-1:0,onFocus:q},{default:()=>{var s,c,p;return[K.value&&r("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!Ce.value}],onClick:()=>E("prev")},[((s=o.prev)==null?void 0:s.call(o,X.value))??r(ve,null,{default:()=>[r(le,{icon:t.value?e.nextIcon:e.prevIcon},null)]})]),r("div",{key:"container",ref:y,class:"v-slide-group__container",onScroll:T},[r("div",{ref:f,class:"v-slide-group__content",style:G.value,onTouchstartPassive:I,onTouchmovePassive:B,onTouchendPassive:F,onFocusin:Y,onFocusout:w,onKeydown:Z},[(c=o.default)==null?void 0:c.call(o,X.value)])]),K.value&&r("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!Te.value}],onClick:()=>E("next")},[((p=o.next)==null?void 0:p.call(o,X.value))??r(ve,null,{default:()=>[r(le,{icon:t.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:n.selected,scrollTo:E,scrollOffset:l,focus:S}}});function ut(e){return e?e.map(i=>typeof i=="string"?{title:i,value:i}:i):[]}const ct=D({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...ke({mandatory:"force"}),...$e(),...xe()},"VTabs"),dt=W()({name:"VTabs",props:ct(),emits:{"update:modelValue":e=>!0},setup(e,i){let{slots:o}=i;const t=pe(e,"modelValue"),g=b(()=>ut(e.items)),{densityClasses:n}=Ue(e),{backgroundColorClasses:a,backgroundColorStyles:l}=Fe(z(e,"bgColor"));return Ge({VTab:{color:z(e,"color"),direction:z(e,"direction"),stacked:z(e,"stacked"),fixed:z(e,"fixedTabs"),sliderColor:z(e,"sliderColor"),hideSlider:z(e,"hideSlider")}}),N(()=>{const[d]=ye.filterProps(e);return r(ye,U(d,{modelValue:t.value,"onUpdate:modelValue":u=>t.value=u,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},n.value,a.value,e.class],style:[{"--v-tabs-height":He(e.height)},l.value,e.style],role:"tablist",symbol:Ve}),{default:()=>[o.default?o.default():g.value.map(u=>r(_e,U(u,{key:u.title}),null))]})}),{}}}),vt={props:{menuGetUserDialog:{type:Boolean,default:!1},loging:{type:String,default:""}},setup(e,i){const o=De(),t=$([]),g=$(!1),n=async()=>{const u=await je.get("api/accounts/getuser/?userlogin="+e.loging);t.value=u.data},a=()=>[{title:"Отдел:",info:t.value.department},{title:"ФИО:",info:t.value.fio},{title:"Должность:",info:t.value.post}],l=()=>[{title:"E-mail: ",info:t.value.email},{title:"Телефон: ",info:t.value.tel},{title:"Комната: ",info:t.value.room},{title:"Логин: ",info:t.value.login}];function d(){i.emit("menusClose")}return n(),{menusCloses:d,userlinks:t,accountStore:o,basicInformation:a,subInformation:l,checkremote:We,spravURL:Ne,tab:g}}},ft={class:"font-weight-medium"},mt={class:"text-subtitle-1"},gt={class:"font-weight-medium"},bt={class:"text-subtitle-1"};function ht(e,i,o,t,g,n){return M(),j(Ke,null,{default:m(()=>[r(dt,{modelValue:t.tab,"onUpdate:modelValue":i[0]||(i[0]=a=>t.tab=a),"bg-color":"teal-darken-3",class:"bggrad ma-1","slider-color":"teal-darken-2",grow:""},{default:m(()=>[r(_e,{"selected-class":"isActiveTab",rounde:"none",value:"one"},{default:m(()=>[se("Информация")]),_:1})]),_:1},8,["modelValue"]),r(ot,{modelValue:t.tab,"onUpdate:modelValue":i[1]||(i[1]=a=>t.tab=a)},{default:m(()=>[r(st,{class:"highttext",value:"one"},{default:m(()=>[r(Ye,{class:"flex-column d-flex pb-0"},{default:m(()=>[r(oe,{class:"flex-grow-0"},{default:m(()=>[r(ne,{class:"pa-0",lg:"4"},{default:m(()=>[r(qe,{class:"h-100",cover:"",src:t.checkremote(`${t.spravURL}${t.userlinks.login}.jpg`)},null,8,["src"])]),_:1}),r(ne,{class:"pa-0"},{default:m(()=>[r(fe,{class:"pt-0 custom_subtitle"},{default:m(()=>[(M(!0),ie(ue,null,re(t.basicInformation(),a=>(M(),j(ge,{key:a},{title:m(()=>[H("span",ft,L(a.title),1)]),subtitle:m(()=>[H("span",mt,L(a.info),1)]),_:2},1024))),128))]),_:1})]),_:1}),r(me)]),_:1}),r(oe,{class:"flex-grow-0"},{default:m(()=>[r(fe,{class:"pa-0 pt-3 custom_subtitle",density:""},{default:m(()=>[(M(!0),ie(ue,null,re(t.subInformation(),a=>(M(),j(ge,{key:a,class:"py-0"},{title:m(()=>[H("span",gt,L(a.title),1),H("span",bt,L(a.info),1)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),r(me),r(Xe,{class:"align-self-end pt-0"},{default:m(()=>[r(J,{color:"modal_btn",variant:"text",onClick:t.menusCloses},{default:m(()=>[se(" Закрыть ")]),_:1},8,["onClick"])]),_:1})]),_:1})}const _t=Le(vt,[["render",ht]]);const yt=D({id:String,text:String,...Se(Je({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),kt=W()({name:"VTooltip",props:yt(),emits:{"update:modelValue":e=>!0},setup(e,i){let{slots:o}=i;const t=pe(e,"modelValue"),{scopeId:g}=Ze(),n=Qe(),a=b(()=>e.id||`v-tooltip-${n}`),l=$(),d=b(()=>e.location.split(" ").length>1?e.location:e.location+" center"),u=b(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),v=b(()=>e.transition?e.transition:t.value?"scale-transition":"fade-transition"),y=b(()=>U({"aria-describedby":a.value},e.activatorProps));return N(()=>{const[h]=ce.filterProps(e);return r(ce,U({ref:l,class:["v-tooltip",e.class],style:e.style,id:a.value},h,{modelValue:t.value,"onUpdate:modelValue":f=>t.value=f,transition:v.value,absolute:!0,location:d.value,origin:u.value,persistent:!0,role:"tooltip",activatorProps:y.value,_disableGlobalStack:!0},g),{activator:o.activator,default:function(){var C;for(var f=arguments.length,V=new Array(f),x=0;xe.direction==="horizontal"),l=P(!1),d=$(),u=$();function v(y){var f,V;let{value:h}=y;if(l.value=h,h){const x=(V=(f=d.value)==null?void 0:f.$el.parentElement)==null?void 0:V.querySelector(".v-tab--selected .v-tab__slider"),C=u.value;if(!x||!C)return;const R=getComputedStyle(x).color,_=x.getBoundingClientRect(),k=C.getBoundingClientRect(),I=a.value?"x":"y",B=a.value?"X":"Y",F=a.value?"right":"bottom",T=a.value?"width":"height",A=_[I],Y=k[I],w=A>Y?_[F]-k[F]:_[I]-k[I],q=Math.sign(w)>0?a.value?"right":"bottom":Math.sign(w)<0?a.value?"left":"top":"center",S=(Math.abs(w)+(Math.sign(w)<0?_[T]:k[T]))/Math.max(_[T],k[T]),E=_[T]/k[T],G=1.5;ze(C,{backgroundColor:[R,"currentcolor"],transform:[`translate${B}(${w}px) scale${B}(${E})`,`translate${B}(${w/G}px) scale${B}(${(S-1)/G+1})`,"none"],transformOrigin:Array(3).fill(q)},{duration:225,easing:Pe})}}return N(()=>{const[y]=J.filterProps(e);return r(J,U({symbol:Ve,ref:d,class:["v-tab",e.class],style:e.style,tabindex:l.value?0:-1,role:"tab","aria-selected":String(l.value),active:!1,block:e.fixed,maxWidth:e.fixed?300:void 0,rounded:0},y,t,{"onGroup:selected":v}),{default:()=>{var h;return[((h=o.default)==null?void 0:h.call(o))??e.text,!e.hideSlider&&r("div",{ref:u,class:["v-tab__slider",g.value],style:n.value},null)]}})}),{}}});function be(e){const o=Math.abs(e);return Math.sign(e)*(o/((1/.501-2)*(1-o)+1))}function he(e){let{selectedElement:i,containerSize:o,contentSize:t,isRtl:g,currentScrollOffset:n,isHorizontal:a}=e;const l=a?i.clientWidth:i.clientHeight,d=a?i.offsetLeft:i.offsetTop,u=g&&a?t-d-l:d,v=o+n,y=l+u,h=l*.4;return u<=n?n=Math.max(u-h,0):v<=y&&(n=Math.min(n-(v-y-h),t-o)),n}function it(e){let{selectedElement:i,containerSize:o,contentSize:t,isRtl:g,isHorizontal:n}=e;const a=n?i.clientWidth:i.clientHeight,l=n?i.offsetLeft:i.offsetTop,d=g&&n?t-l-a/2-o/2:l+a/2-o/2;return Math.min(t-o,Math.max(0,d))}const rt=Symbol.for("vuetify:v-slide-group"),ke=D({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:rt},nextIcon:{type:ae,default:"$next"},prevIcon:{type:ae,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["always","desktop","mobile"].includes(e)},...Re(),...xe(),...at({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),ye=W()({name:"VSlideGroup",props:ke(),emits:{"update:modelValue":e=>!0},setup(e,i){let{slots:o}=i;const{isRtl:t}=Ie(),{mobile:g}=Be(),n=lt(e,e.symbol),a=P(!1),l=P(0),d=P(0),u=P(0),v=b(()=>e.direction==="horizontal"),{resizeRef:y,contentRect:h}=de(),{resizeRef:f,contentRect:V}=de(),x=b(()=>n.selected.value.length?n.items.value.findIndex(s=>s.id===n.selected.value[0]):-1),C=b(()=>n.selected.value.length?n.items.value.findIndex(s=>s.id===n.selected.value[n.selected.value.length-1]):-1);if(Ae){let s=-1;Oe(()=>[n.selected.value,h.value,V.value,v.value],()=>{cancelAnimationFrame(s),s=requestAnimationFrame(()=>{if(h.value&&V.value){const c=v.value?"width":"height";d.value=h.value[c],u.value=V.value[c],a.value=d.value+1=0&&f.value){const c=f.value.children[C.value];x.value===0||!a.value?l.value=0:e.centerActive?l.value=it({selectedElement:c,containerSize:d.value,contentSize:u.value,isRtl:t.value,isHorizontal:v.value}):a.value&&(l.value=he({selectedElement:c,containerSize:d.value,contentSize:u.value,isRtl:t.value,currentScrollOffset:l.value,isHorizontal:v.value}))}})})}const R=P(!1);let _=0,k=0;function I(s){const c=v.value?"clientX":"clientY";k=(t.value&&v.value?-1:1)*l.value,_=s.touches[0][c],R.value=!0}function B(s){if(!a.value)return;const c=v.value?"clientX":"clientY",p=t.value&&v.value?-1:1;l.value=p*(k+_-s.touches[0][c])}function F(s){const c=u.value-d.value;l.value<0||!a.value?l.value=0:l.value>=c&&(l.value=c),R.value=!1}function T(){y.value&&(y.value[v.value?"scrollLeft":"scrollTop"]=0)}const A=P(!1);function Y(s){if(A.value=!0,!(!a.value||!f.value)){for(const c of s.composedPath())for(const p of f.value.children)if(p===c){l.value=he({selectedElement:p,containerSize:d.value,contentSize:u.value,isRtl:t.value,currentScrollOffset:l.value,isHorizontal:v.value});return}}}function w(s){A.value=!1}function q(s){var c;!A.value&&!(s.relatedTarget&&((c=f.value)!=null&&c.contains(s.relatedTarget)))&&S()}function Z(s){f.value&&(v.value?s.key==="ArrowRight"?S(t.value?"prev":"next"):s.key==="ArrowLeft"&&S(t.value?"next":"prev"):s.key==="ArrowDown"?S("next"):s.key==="ArrowUp"&&S("prev"),s.key==="Home"?S("first"):s.key==="End"&&S("last"))}function S(s){var c,p,Q,ee,te;if(f.value)if(!s)(c=Ee(f.value)[0])==null||c.focus();else if(s==="next"){const O=(p=f.value.querySelector(":focus"))==null?void 0:p.nextElementSibling;O?O.focus():S("first")}else if(s==="prev"){const O=(Q=f.value.querySelector(":focus"))==null?void 0:Q.previousElementSibling;O?O.focus():S("last")}else s==="first"?(ee=f.value.firstElementChild)==null||ee.focus():s==="last"&&((te=f.value.lastElementChild)==null||te.focus())}function E(s){const c=l.value+(s==="prev"?-1:1)*d.value;l.value=Me(c,0,u.value-d.value)}const G=b(()=>{let s=l.value>u.value-d.value?-(u.value-d.value)+be(u.value-d.value-l.value):-l.value;l.value<=0&&(s=be(-l.value));const c=t.value&&v.value?-1:1;return{transform:`translate${v.value?"X":"Y"}(${c*s}px)`,transition:R.value?"none":"",willChange:R.value?"transform":""}}),X=b(()=>({next:n.next,prev:n.prev,select:n.select,isSelected:n.isSelected})),K=b(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!g.value;case!0:return a.value||Math.abs(l.value)>0;case"mobile":return g.value||a.value||Math.abs(l.value)>0;default:return!g.value&&(a.value||Math.abs(l.value)>0)}}),Ce=b(()=>Math.abs(l.value)>0),Te=b(()=>u.value>Math.abs(l.value)+d.value);return N(()=>r(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!v.value,"v-slide-group--has-affixes":K.value,"v-slide-group--is-overflowing":a.value},e.class],style:e.style,tabindex:A.value||n.selected.value.length?-1:0,onFocus:q},{default:()=>{var s,c,p;return[K.value&&r("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!Ce.value}],onClick:()=>E("prev")},[((s=o.prev)==null?void 0:s.call(o,X.value))??r(ve,null,{default:()=>[r(le,{icon:t.value?e.nextIcon:e.prevIcon},null)]})]),r("div",{key:"container",ref:y,class:"v-slide-group__container",onScroll:T},[r("div",{ref:f,class:"v-slide-group__content",style:G.value,onTouchstartPassive:I,onTouchmovePassive:B,onTouchendPassive:F,onFocusin:Y,onFocusout:w,onKeydown:Z},[(c=o.default)==null?void 0:c.call(o,X.value)])]),K.value&&r("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!Te.value}],onClick:()=>E("next")},[((p=o.next)==null?void 0:p.call(o,X.value))??r(ve,null,{default:()=>[r(le,{icon:t.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:n.selected,scrollTo:E,scrollOffset:l,focus:S}}});function ut(e){return e?e.map(i=>typeof i=="string"?{title:i,value:i}:i):[]}const ct=D({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...ke({mandatory:"force"}),...$e(),...xe()},"VTabs"),dt=W()({name:"VTabs",props:ct(),emits:{"update:modelValue":e=>!0},setup(e,i){let{slots:o}=i;const t=pe(e,"modelValue"),g=b(()=>ut(e.items)),{densityClasses:n}=Ue(e),{backgroundColorClasses:a,backgroundColorStyles:l}=Fe(z(e,"bgColor"));return Ge({VTab:{color:z(e,"color"),direction:z(e,"direction"),stacked:z(e,"stacked"),fixed:z(e,"fixedTabs"),sliderColor:z(e,"sliderColor"),hideSlider:z(e,"hideSlider")}}),N(()=>{const[d]=ye.filterProps(e);return r(ye,U(d,{modelValue:t.value,"onUpdate:modelValue":u=>t.value=u,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},n.value,a.value,e.class],style:[{"--v-tabs-height":He(e.height)},l.value,e.style],role:"tablist",symbol:Ve}),{default:()=>[o.default?o.default():g.value.map(u=>r(_e,U(u,{key:u.title}),null))]})}),{}}}),vt={props:{menuGetUserDialog:{type:Boolean,default:!1},loging:{type:String,default:""}},setup(e,i){const o=De(),t=$([]),g=$(!1),n=async()=>{const u=await je.get("api/accounts/getuser/?userlogin="+e.loging);t.value=u.data},a=()=>[{title:"Отдел:",info:t.value.department},{title:"ФИО:",info:t.value.fio},{title:"Должность:",info:t.value.post}],l=()=>[{title:"E-mail: ",info:t.value.email},{title:"Телефон: ",info:t.value.tel},{title:"Комната: ",info:t.value.room},{title:"Логин: ",info:t.value.login}];function d(){i.emit("menusClose")}return n(),{menusCloses:d,userlinks:t,accountStore:o,basicInformation:a,subInformation:l,checkremote:We,spravURL:Ne,tab:g}}},ft={class:"font-weight-medium"},mt={class:"text-subtitle-1"},gt={class:"font-weight-medium"},bt={class:"text-subtitle-1"};function ht(e,i,o,t,g,n){return M(),j(Ke,null,{default:m(()=>[r(dt,{modelValue:t.tab,"onUpdate:modelValue":i[0]||(i[0]=a=>t.tab=a),"bg-color":"teal-darken-3",class:"bggrad ma-1","slider-color":"teal-darken-2",grow:""},{default:m(()=>[r(_e,{"selected-class":"isActiveTab",rounde:"none",value:"one"},{default:m(()=>[se("Информация")]),_:1})]),_:1},8,["modelValue"]),r(ot,{modelValue:t.tab,"onUpdate:modelValue":i[1]||(i[1]=a=>t.tab=a)},{default:m(()=>[r(st,{class:"highttext",value:"one"},{default:m(()=>[r(Ye,{class:"flex-column d-flex pb-0"},{default:m(()=>[r(oe,{class:"flex-grow-0"},{default:m(()=>[r(ne,{class:"pa-0",lg:"4"},{default:m(()=>[r(qe,{class:"h-100",cover:"",src:t.checkremote(`${t.spravURL}${t.userlinks.login}.jpg`)},null,8,["src"])]),_:1}),r(ne,{class:"pa-0"},{default:m(()=>[r(fe,{class:"pt-0 custom_subtitle"},{default:m(()=>[(M(!0),ie(ue,null,re(t.basicInformation(),a=>(M(),j(ge,{key:a},{title:m(()=>[H("span",ft,L(a.title),1)]),subtitle:m(()=>[H("span",mt,L(a.info),1)]),_:2},1024))),128))]),_:1})]),_:1}),r(me)]),_:1}),r(oe,{class:"flex-grow-0"},{default:m(()=>[r(fe,{class:"pa-0 pt-3 custom_subtitle",density:""},{default:m(()=>[(M(!0),ie(ue,null,re(t.subInformation(),a=>(M(),j(ge,{key:a,class:"py-0"},{title:m(()=>[H("span",gt,L(a.title),1),H("span",bt,L(a.info),1)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),r(me),r(Xe,{class:"align-self-end pt-0"},{default:m(()=>[r(J,{color:"modal_btn",variant:"text",onClick:t.menusCloses},{default:m(()=>[se(" Закрыть ")]),_:1},8,["onClick"])]),_:1})]),_:1})}const _t=Le(vt,[["render",ht]]);const yt=D({id:String,text:String,...Se(Je({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),kt=W()({name:"VTooltip",props:yt(),emits:{"update:modelValue":e=>!0},setup(e,i){let{slots:o}=i;const t=pe(e,"modelValue"),{scopeId:g}=Ze(),n=Qe(),a=b(()=>e.id||`v-tooltip-${n}`),l=$(),d=b(()=>e.location.split(" ").length>1?e.location:e.location+" center"),u=b(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),v=b(()=>e.transition?e.transition:t.value?"scale-transition":"fade-transition"),y=b(()=>U({"aria-describedby":a.value},e.activatorProps));return N(()=>{const[h]=ce.filterProps(e);return r(ce,U({ref:l,class:["v-tooltip",e.class],style:e.style,id:a.value},h,{modelValue:t.value,"onUpdate:modelValue":f=>t.value=f,transition:v.value,absolute:!0,location:d.value,origin:u.value,persistent:!0,role:"tooltip",activatorProps:y.value,_disableGlobalStack:!0},g),{activator:o.activator,default:function(){var C;for(var f=arguments.length,V=new Array(f),x=0;x{const{touchstartX:o,touchendX:t,touchstartY:n,touchendY:i}=e,u=.5,s=16;e.offsetX=t-o,e.offsetY=i-n,Math.abs(e.offsetY)o+s&&e.right(e)),Math.abs(e.offsetX)n+s&&e.down(e))};function se(e,o){var n;const t=e.changedTouches[0];o.touchstartX=t.clientX,o.touchstartY=t.clientY,(n=o.start)==null||n.call(o,{originalEvent:e,...o})}function ie(e,o){var n;const t=e.changedTouches[0];o.touchendX=t.clientX,o.touchendY=t.clientY,(n=o.end)==null||n.call(o,{originalEvent:e,...o}),oe(o)}function ae(e,o){var n;const t=e.changedTouches[0];o.touchmoveX=t.clientX,o.touchmoveY=t.clientY,(n=o.move)==null||n.call(o,{originalEvent:e,...o})}function ue(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const o={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:t=>se(t,o),touchend:t=>ie(t,o),touchmove:t=>ae(t,o)}}function ce(e,o){var v;const t=o.value,n=t!=null&&t.parent?e.parentElement:e,i=(t==null?void 0:t.options)??{passive:!0},u=(v=o.instance)==null?void 0:v.$.uid;if(!n||!u)return;const s=ue(o.value);n._touchHandlers=n._touchHandlers??Object.create(null),n._touchHandlers[u]=s,Y(s).forEach(r=>{n.addEventListener(r,s[r],i)})}function le(e,o){var u,s;const t=(u=o.value)!=null&&u.parent?e.parentElement:e,n=(s=o.instance)==null?void 0:s.$.uid;if(!(t!=null&&t._touchHandlers)||!n)return;const i=t._touchHandlers[n];Y(i).forEach(v=>{t.removeEventListener(v,i[v])}),delete t._touchHandlers[n]}const L={mounted:ce,unmounted:le},re=L,R=Symbol.for("vuetify:v-window"),$=Symbol.for("vuetify:v-window-group"),ve=V({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{default:"force"},..._(),...A(),...O()},"VWindow"),ge=H()({name:"VWindow",directives:{Touch:L},props:ve(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:t}=o;const{themeClasses:n}=j(e),{isRtl:i}=F(),{t:u}=G(),s=p(e,$),v=E(),r=h(()=>i.value?!e.reverse:e.reverse),d=x(!1),y=h(()=>{const a=e.direction==="vertical"?"y":"x",f=(r.value?!d.value:d.value)?"-reverse":"";return`v-window-${a}${f}-transition`}),T=x(0),b=E(void 0),g=h(()=>s.items.value.findIndex(a=>s.selected.value.includes(a.id)));z(g,(a,l)=>{const f=s.items.value.length,B=f-1;f<=2?d.value=ae.continuous||g.value!==0),w=h(()=>e.continuous||g.value!==s.items.value.length-1);function C(){c.value&&s.prev()}function I(){w.value&&s.next()}const P=h(()=>{const a=[],l={icon:i.value?e.nextIcon:e.prevIcon,class:`v-window__${r.value?"right":"left"}`,onClick:s.prev,ariaLabel:u("$vuetify.carousel.prev")};a.push(c.value?t.prev?t.prev({props:l}):m(X,l,null):m("div",null,null));const f={icon:i.value?e.prevIcon:e.nextIcon,class:`v-window__${r.value?"left":"right"}`,onClick:s.next,ariaLabel:u("$vuetify.carousel.next")};return a.push(w.value?t.next?t.next({props:f}):m(X,f,null):m("div",null,null)),a}),M=h(()=>e.touch===!1?e.touch:{...{left:()=>{r.value?C():I()},right:()=>{r.value?I():C()},start:l=>{let{originalEvent:f}=l;f.stopPropagation()}},...e.touch===!0?{}:e.touch});return W(()=>k(m(e.tag,{ref:v,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},n.value,e.class],style:e.style},{default:()=>{var a,l;return[m("div",{class:"v-window__container",style:{height:b.value}},[(a=t.default)==null?void 0:a.call(t,{group:s}),e.showArrows!==!1&&m("div",{class:"v-window__controls"},[P.value])]),(l=t.additional)==null?void 0:l.call(t,{group:s})]}}),[[J("touch"),M.value]])),{group:s}}}),de=V({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},..._(),...ee(),...K()},"VWindowItem"),ye=H()({name:"VWindowItem",directives:{Touch:re},props:de(),emits:{"group:selected":e=>!0},setup(e,o){let{slots:t}=o;const n=U(R),i=te(e,$),{isBooted:u}=ne();if(!n||!i)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const s=x(!1),v=h(()=>u.value&&(n.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function r(){!s.value||!n||(s.value=!1,n.transitionCount.value>0&&(n.transitionCount.value-=1,n.transitionCount.value===0&&(n.transitionHeight.value=void 0)))}function d(){var c;s.value||!n||(s.value=!0,n.transitionCount.value===0&&(n.transitionHeight.value=S((c=n.rootRef.value)==null?void 0:c.clientHeight)),n.transitionCount.value+=1)}function y(){r()}function T(c){s.value&&Z(()=>{!v.value||!s.value||!n||(n.transitionHeight.value=S(c.clientHeight))})}const b=h(()=>{const c=n.isReversed.value?e.reverseTransition:e.transition;return v.value?{name:typeof c!="string"?n.transition.value:c,onBeforeEnter:d,onAfterEnter:r,onEnterCancelled:y,onBeforeLeave:d,onAfterLeave:r,onLeaveCancelled:y,onEnter:T}:!1}),{hasContent:g}=q(e,i.isSelected);return W(()=>m(Q,{transition:b.value,disabled:!u.value},{default:()=>{var c;return[k(m("div",{class:["v-window-item",i.selectedClass.value,e.class],style:e.style},[g.value&&((c=t.default)==null?void 0:c.call(t))]),[[N,i.isSelected.value]])]}})),{}}});export{ye as V,ge as a,de as b,ve as m}; +import{bJ as Y,p as V,a1 as _,a4 as A,a5 as O,a6 as H,a8 as j,ag as F,a7 as G,r as E,c as h,s as x,w as z,e as D,F as m,ac as W,N as k,br as J,bK as K,i as U,bL as q,O as N,bx as Q,b as S,z as Z}from"./index-cb66bb90.js";import{g as p,V as X,m as ee,b as te}from"./VBtn-be56359b.js";import{u as ne}from"./VTextarea-5b24e794.js";const oe=e=>{const{touchstartX:o,touchendX:t,touchstartY:n,touchendY:i}=e,u=.5,s=16;e.offsetX=t-o,e.offsetY=i-n,Math.abs(e.offsetY)o+s&&e.right(e)),Math.abs(e.offsetX)n+s&&e.down(e))};function se(e,o){var n;const t=e.changedTouches[0];o.touchstartX=t.clientX,o.touchstartY=t.clientY,(n=o.start)==null||n.call(o,{originalEvent:e,...o})}function ie(e,o){var n;const t=e.changedTouches[0];o.touchendX=t.clientX,o.touchendY=t.clientY,(n=o.end)==null||n.call(o,{originalEvent:e,...o}),oe(o)}function ae(e,o){var n;const t=e.changedTouches[0];o.touchmoveX=t.clientX,o.touchmoveY=t.clientY,(n=o.move)==null||n.call(o,{originalEvent:e,...o})}function ue(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const o={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:t=>se(t,o),touchend:t=>ie(t,o),touchmove:t=>ae(t,o)}}function ce(e,o){var v;const t=o.value,n=t!=null&&t.parent?e.parentElement:e,i=(t==null?void 0:t.options)??{passive:!0},u=(v=o.instance)==null?void 0:v.$.uid;if(!n||!u)return;const s=ue(o.value);n._touchHandlers=n._touchHandlers??Object.create(null),n._touchHandlers[u]=s,Y(s).forEach(r=>{n.addEventListener(r,s[r],i)})}function le(e,o){var u,s;const t=(u=o.value)!=null&&u.parent?e.parentElement:e,n=(s=o.instance)==null?void 0:s.$.uid;if(!(t!=null&&t._touchHandlers)||!n)return;const i=t._touchHandlers[n];Y(i).forEach(v=>{t.removeEventListener(v,i[v])}),delete t._touchHandlers[n]}const L={mounted:ce,unmounted:le},re=L,R=Symbol.for("vuetify:v-window"),$=Symbol.for("vuetify:v-window-group"),ve=V({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{default:"force"},..._(),...A(),...O()},"VWindow"),ge=H()({name:"VWindow",directives:{Touch:L},props:ve(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:t}=o;const{themeClasses:n}=j(e),{isRtl:i}=F(),{t:u}=G(),s=p(e,$),v=E(),r=h(()=>i.value?!e.reverse:e.reverse),d=x(!1),y=h(()=>{const a=e.direction==="vertical"?"y":"x",f=(r.value?!d.value:d.value)?"-reverse":"";return`v-window-${a}${f}-transition`}),T=x(0),b=E(void 0),g=h(()=>s.items.value.findIndex(a=>s.selected.value.includes(a.id)));z(g,(a,l)=>{const f=s.items.value.length,B=f-1;f<=2?d.value=ae.continuous||g.value!==0),w=h(()=>e.continuous||g.value!==s.items.value.length-1);function C(){c.value&&s.prev()}function I(){w.value&&s.next()}const P=h(()=>{const a=[],l={icon:i.value?e.nextIcon:e.prevIcon,class:`v-window__${r.value?"right":"left"}`,onClick:s.prev,ariaLabel:u("$vuetify.carousel.prev")};a.push(c.value?t.prev?t.prev({props:l}):m(X,l,null):m("div",null,null));const f={icon:i.value?e.prevIcon:e.nextIcon,class:`v-window__${r.value?"left":"right"}`,onClick:s.next,ariaLabel:u("$vuetify.carousel.next")};return a.push(w.value?t.next?t.next({props:f}):m(X,f,null):m("div",null,null)),a}),M=h(()=>e.touch===!1?e.touch:{...{left:()=>{r.value?C():I()},right:()=>{r.value?I():C()},start:l=>{let{originalEvent:f}=l;f.stopPropagation()}},...e.touch===!0?{}:e.touch});return W(()=>k(m(e.tag,{ref:v,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},n.value,e.class],style:e.style},{default:()=>{var a,l;return[m("div",{class:"v-window__container",style:{height:b.value}},[(a=t.default)==null?void 0:a.call(t,{group:s}),e.showArrows!==!1&&m("div",{class:"v-window__controls"},[P.value])]),(l=t.additional)==null?void 0:l.call(t,{group:s})]}}),[[J("touch"),M.value]])),{group:s}}}),de=V({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},..._(),...ee(),...K()},"VWindowItem"),ye=H()({name:"VWindowItem",directives:{Touch:re},props:de(),emits:{"group:selected":e=>!0},setup(e,o){let{slots:t}=o;const n=U(R),i=te(e,$),{isBooted:u}=ne();if(!n||!i)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const s=x(!1),v=h(()=>u.value&&(n.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function r(){!s.value||!n||(s.value=!1,n.transitionCount.value>0&&(n.transitionCount.value-=1,n.transitionCount.value===0&&(n.transitionHeight.value=void 0)))}function d(){var c;s.value||!n||(s.value=!0,n.transitionCount.value===0&&(n.transitionHeight.value=S((c=n.rootRef.value)==null?void 0:c.clientHeight)),n.transitionCount.value+=1)}function y(){r()}function T(c){s.value&&Z(()=>{!v.value||!s.value||!n||(n.transitionHeight.value=S(c.clientHeight))})}const b=h(()=>{const c=n.isReversed.value?e.reverseTransition:e.transition;return v.value?{name:typeof c!="string"?n.transition.value:c,onBeforeEnter:d,onAfterEnter:r,onEnterCancelled:y,onBeforeLeave:d,onAfterLeave:r,onLeaveCancelled:y,onEnter:T}:!1}),{hasContent:g}=q(e,i.isSelected);return W(()=>m(Q,{transition:b.value,disabled:!u.value},{default:()=>{var c;return[k(m("div",{class:["v-window-item",i.selectedClass.value,e.class],style:e.style},[g.value&&((c=t.default)==null?void 0:c.call(t))]),[[N,i.isSelected.value]])]}})),{}}});export{ye as V,ge as a,de as b,ve as m}; diff --git a/src/front/dist/assets/index-c88a2b18.js b/src/front/dist/assets/index-cb66bb90.js similarity index 98% rename from src/front/dist/assets/index-c88a2b18.js rename to src/front/dist/assets/index-cb66bb90.js index 08cd564b8..53a0e1e9e 100644 --- a/src/front/dist/assets/index-c88a2b18.js +++ b/src/front/dist/assets/index-cb66bb90.js @@ -10,9 +10,9 @@ * vue-router v4.2.4 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const fn=typeof window<"u";function ug(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const fe=Object.assign;function js(e,t){const n={};for(const r in t){const s=t[r];n[r]=st(s)?s.map(e):e(s)}return n}const Hn=()=>{},st=Array.isArray,fg=/\/$/,dg=e=>e.replace(fg,"");function Vs(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=gg(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function hg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ua(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mg(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&wn(t.matched[r],n.matched[s])&&Iu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function wn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Iu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!pg(e[n],t[n]))return!1;return!0}function pg(e,t){return st(e)?za(e,t):st(t)?za(t,e):e===t}function za(e,t){return st(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function gg(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var er;(function(e){e.pop="pop",e.push="push"})(er||(er={}));var Un;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Un||(Un={}));function vg(e){if(!e)if(fn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),dg(e)}const yg=/^[^#]+#/;function bg(e,t){return e.replace(yg,"#")+t}function wg(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ss=()=>({left:window.pageXOffset,top:window.pageYOffset});function _g(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=wg(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Wa(e,t){return(history.state?history.state.position-t:-1)+e}const wo=new Map;function Eg(e,t){wo.set(e,t)}function Sg(e){const t=wo.get(e);return wo.delete(e),t}let Cg=()=>location.protocol+"//"+location.host;function Nu(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Ua(l,"")}return Ua(n,e)+r+s}function xg(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const m=Nu(e,location),h=n.value,g=t.value;let w=0;if(d){if(n.value=m,t.value=d,i&&i===h){i=null;return}w=g?d.position-g.position:0}else r(m);s.forEach(_=>{_(n.value,h,{delta:w,type:er.pop,direction:w?w>0?Un.forward:Un.back:Un.unknown})})};function l(){i=n.value}function c(d){s.push(d);const m=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return o.push(m),m}function u(){const{history:d}=window;d.state&&d.replaceState(fe({},d.state,{scroll:Ss()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function Ka(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Ss():null}}function Ag(e){const{history:t,location:n}=window,r={value:Nu(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Cg()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(m){console.error(m),n[u?"replace":"assign"](d)}}function i(l,c){const u=fe({},t.state,Ka(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,u,!0),r.value=l}function a(l,c){const u=fe({},s.value,t.state,{forward:l,scroll:Ss()});o(u.current,u,!0);const f=fe({},Ka(r.value,l,null),{position:u.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function Pg(e){e=vg(e);const t=Ag(e),n=xg(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=fe({location:"",base:e,go:r,createHref:bg.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Og(e){return typeof e=="string"||e&&typeof e=="object"}function Du(e){return typeof e=="string"||typeof e=="symbol"}const Ct={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Mu=Symbol("");var qa;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qa||(qa={}));function _n(e,t){return fe(new Error,{type:e,[Mu]:!0},t)}function mt(e,t){return e instanceof Error&&Mu in e&&(t==null||!!(e.type&t))}const Ya="[^/]+?",Rg={sensitive:!1,strict:!1,start:!0,end:!0},Tg=/[.+*?^${}()[\]/\\]/g;function kg(e,t){const n=fe({},Rg,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Lg(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Ig={type:0,value:""},Ng=/[a-zA-Z0-9_]/;function Dg(e){if(!e)return[[]];if(e==="/")return[[Ig]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{i(E)}:Hn}function i(u){if(Du(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!$u(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Xa(u)&&r.set(u.record.name,u)}function c(u,f){let d,m={},h,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw _n(1,{location:u});g=d.record.name,m=fe(Ga(f.params,d.keys.filter(E=>!E.optional).map(E=>E.name)),u.params&&Ga(u.params,d.keys.map(E=>E.name))),h=d.stringify(m)}else if("path"in u)h=u.path,d=n.find(E=>E.re.test(h)),d&&(m=d.parse(h),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(E=>E.re.test(f.path)),!d)throw _n(1,{location:u,currentLocation:f});g=d.record.name,m=fe({},f.params,u.params),h=d.stringify(m)}const w=[];let _=d;for(;_;)w.unshift(_.record),_=_.parent;return{name:g,path:h,params:m,matched:w,meta:Vg(w)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Ga(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Bg(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:jg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function jg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Xa(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Vg(e){return e.reduce((t,n)=>fe(t,n.meta),{})}function Za(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function $u(e,t){return t.children.some(n=>n===e||$u(e,n))}const Bu=/#/g,Hg=/&/g,Ug=/\//g,zg=/=/g,Wg=/\?/g,ju=/\+/g,Kg=/%5B/g,qg=/%5D/g,Vu=/%5E/g,Yg=/%60/g,Hu=/%7B/g,Jg=/%7C/g,Uu=/%7D/g,Gg=/%20/g;function Ei(e){return encodeURI(""+e).replace(Jg,"|").replace(Kg,"[").replace(qg,"]")}function Xg(e){return Ei(e).replace(Hu,"{").replace(Uu,"}").replace(Vu,"^")}function _o(e){return Ei(e).replace(ju,"%2B").replace(Gg,"+").replace(Bu,"%23").replace(Hg,"%26").replace(Yg,"`").replace(Hu,"{").replace(Uu,"}").replace(Vu,"^")}function Zg(e){return _o(e).replace(zg,"%3D")}function Qg(e){return Ei(e).replace(Bu,"%23").replace(Wg,"%3F")}function ev(e){return e==null?"":Qg(e).replace(Ug,"%2F")}function Wr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function tv(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&_o(o)):[r&&_o(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function nv(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=st(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const rv=Symbol(""),el=Symbol(""),Cs=Symbol(""),Si=Symbol(""),Eo=Symbol("");function Tn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(_n(4,{from:n,to:t})):f instanceof Error?a(f):Og(f)?a(_n(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(r&&r.instances[s],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Hs(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(sv(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Ot(c,n,r,o,i))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=ug(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Ot(d,n,r,o,i)()}))}}return s}function sv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tl(e){const t=_e(Cs),n=_e(Si),r=D(()=>t.resolve(ze(e.to))),s=D(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(wn.bind(null,u));if(d>-1)return d;const m=nl(l[c-2]);return c>1&&nl(u)===m&&f[f.length-1].path!==m?f.findIndex(wn.bind(null,l[c-2])):d}),o=D(()=>s.value>-1&&lv(n.params,r.value.params)),i=D(()=>s.value>-1&&s.value===n.matched.length-1&&Iu(n.params,r.value.params));function a(l={}){return av(l)?t[ze(e.replace)?"replace":"push"](ze(e.to)).catch(Hn):Promise.resolve()}return{route:r,href:D(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const ov=us({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:tl,setup(e,{slots:t}){const n=ut(tl(e)),{options:r}=_e(Cs),s=D(()=>({[rl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[rl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Nt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),iv=ov;function av(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function lv(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!st(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function nl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rl=(e,t,n)=>e??t??n,cv=us({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=_e(Eo),s=D(()=>e.route||r.value),o=_e(el,0),i=D(()=>{let c=ze(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=D(()=>s.value.matched[i.value]);Ft(el,D(()=>i.value+1)),Ft(rv,a),Ft(Eo,s);const l=ve();return pe(()=>[l.value,a.value,e.name],([c,u,f],[d,m,h])=>{u&&(u.instances[f]=c,m&&m!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!wn(u,m)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return sl(n.default,{Component:d,route:c});const m=f.props[u],h=m?m===!0?c.params:typeof m=="function"?m(c):m:null,w=Nt(d,fe({},h,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return sl(n.default,{Component:w,route:c})||w}}});function sl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const uv=cv;function fv(e){const t=$g(e.routes,e),n=e.parseQuery||tv,r=e.stringifyQuery||Qa,s=e.history,o=Tn(),i=Tn(),a=Tn(),l=xe(Ct);let c=Ct;fn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=js.bind(null,A=>""+A),f=js.bind(null,ev),d=js.bind(null,Wr);function m(A,V){let M,W;return Du(A)?(M=t.getRecordMatcher(A),W=V):W=A,t.addRoute(W,M)}function h(A){const V=t.getRecordMatcher(A);V&&t.removeRoute(V)}function g(){return t.getRoutes().map(A=>A.record)}function w(A){return!!t.getRecordMatcher(A)}function _(A,V){if(V=fe({},V||l.value),typeof A=="string"){const y=Vs(n,A,V.path),S=t.resolve({path:y.path},V),P=s.createHref(y.fullPath);return fe(y,S,{params:d(S.params),hash:Wr(y.hash),redirectedFrom:void 0,href:P})}let M;if("path"in A)M=fe({},A,{path:Vs(n,A.path,V.path).path});else{const y=fe({},A.params);for(const S in y)y[S]==null&&delete y[S];M=fe({},A,{params:f(y)}),V.params=f(V.params)}const W=t.resolve(M,V),ue=A.hash||"";W.params=u(d(W.params));const p=hg(r,fe({},A,{hash:Xg(ue),path:W.path})),v=s.createHref(p);return fe({fullPath:p,hash:ue,query:r===Qa?nv(A.query):A.query||{}},W,{redirectedFrom:void 0,href:v})}function E(A){return typeof A=="string"?Vs(n,A,l.value.path):fe({},A)}function b(A,V){if(c!==A)return _n(8,{from:V,to:A})}function L(A){return J(A)}function H(A){return L(fe(E(A),{replace:!0}))}function Y(A){const V=A.matched[A.matched.length-1];if(V&&V.redirect){const{redirect:M}=V;let W=typeof M=="function"?M(A):M;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=E(W):{path:W},W.params={}),fe({query:A.query,hash:A.hash,params:"path"in W?{}:A.params},W)}}function J(A,V){const M=c=_(A),W=l.value,ue=A.state,p=A.force,v=A.replace===!0,y=Y(M);if(y)return J(fe(E(y),{state:typeof y=="object"?fe({},ue,y.state):ue,force:p,replace:v}),V||M);const S=M;S.redirectedFrom=V;let P;return!p&&mg(r,W,M)&&(P=_n(16,{to:S,from:W}),Oe(W,W,!0,!1)),(P?Promise.resolve(P):B(S,W)).catch(R=>mt(R)?mt(R,2)?R:Ee(R):X(R,S,W)).then(R=>{if(R){if(mt(R,2))return J(fe({replace:v},E(R.to),{state:typeof R.to=="object"?fe({},ue,R.to.state):ue,force:p}),V||S)}else R=O(S,W,!0,v,ue);return U(S,W,R),R})}function C(A,V){const M=b(A,V);return M?Promise.reject(M):Promise.resolve()}function k(A){const V=tn.values().next().value;return V&&typeof V.runWithContext=="function"?V.runWithContext(A):A()}function B(A,V){let M;const[W,ue,p]=dv(A,V);M=Hs(W.reverse(),"beforeRouteLeave",A,V);for(const y of W)y.leaveGuards.forEach(S=>{M.push(Ot(S,A,V))});const v=C.bind(null,A,V);return M.push(v),Fe(M).then(()=>{M=[];for(const y of o.list())M.push(Ot(y,A,V));return M.push(v),Fe(M)}).then(()=>{M=Hs(ue,"beforeRouteUpdate",A,V);for(const y of ue)y.updateGuards.forEach(S=>{M.push(Ot(S,A,V))});return M.push(v),Fe(M)}).then(()=>{M=[];for(const y of p)if(y.beforeEnter)if(st(y.beforeEnter))for(const S of y.beforeEnter)M.push(Ot(S,A,V));else M.push(Ot(y.beforeEnter,A,V));return M.push(v),Fe(M)}).then(()=>(A.matched.forEach(y=>y.enterCallbacks={}),M=Hs(p,"beforeRouteEnter",A,V),M.push(v),Fe(M))).then(()=>{M=[];for(const y of i.list())M.push(Ot(y,A,V));return M.push(v),Fe(M)}).catch(y=>mt(y,8)?y:Promise.reject(y))}function U(A,V,M){a.list().forEach(W=>k(()=>W(A,V,M)))}function O(A,V,M,W,ue){const p=b(A,V);if(p)return p;const v=V===Ct,y=fn?history.state:{};M&&(W||v?s.replace(A.fullPath,fe({scroll:v&&y&&y.scroll},ue)):s.push(A.fullPath,ue)),l.value=A,Oe(A,V,M,v),Ee()}let j;function te(){j||(j=s.listen((A,V,M)=>{if(!pr.listening)return;const W=_(A),ue=Y(W);if(ue){J(fe(ue,{replace:!0}),W).catch(Hn);return}c=W;const p=l.value;fn&&Eg(Wa(p.fullPath,M.delta),Ss()),B(W,p).catch(v=>mt(v,12)?v:mt(v,2)?(J(v.to,W).then(y=>{mt(y,20)&&!M.delta&&M.type===er.pop&&s.go(-1,!1)}).catch(Hn),Promise.reject()):(M.delta&&s.go(-M.delta,!1),X(v,W,p))).then(v=>{v=v||O(W,p,!1),v&&(M.delta&&!mt(v,8)?s.go(-M.delta,!1):M.type===er.pop&&mt(v,20)&&s.go(-1,!1)),U(W,p,v)}).catch(Hn)}))}let he=Tn(),Z=Tn(),ie;function X(A,V,M){Ee(A);const W=Z.list();return W.length?W.forEach(ue=>ue(A,V,M)):console.error(A),Promise.reject(A)}function se(){return ie&&l.value!==Ct?Promise.resolve():new Promise((A,V)=>{he.add([A,V])})}function Ee(A){return ie||(ie=!A,te(),he.list().forEach(([V,M])=>A?M(A):V()),he.reset()),A}function Oe(A,V,M,W){const{scrollBehavior:ue}=e;if(!fn||!ue)return Promise.resolve();const p=!M&&Sg(Wa(A.fullPath,0))||(W||!M)&&history.state&&history.state.scroll||null;return ft().then(()=>ue(A,V,p)).then(v=>v&&_g(v)).catch(v=>X(v,A,V))}const Me=A=>s.go(A);let en;const tn=new Set,pr={currentRoute:l,listening:!0,addRoute:m,removeRoute:h,hasRoute:w,getRoutes:g,resolve:_,options:e,push:L,replace:H,go:Me,back:()=>Me(-1),forward:()=>Me(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:Z.add,isReady:se,install(A){const V=this;A.component("RouterLink",iv),A.component("RouterView",uv),A.config.globalProperties.$router=V,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>ze(l)}),fn&&!en&&l.value===Ct&&(en=!0,L(s.location).catch(ue=>{}));const M={};for(const ue in Ct)Object.defineProperty(M,ue,{get:()=>l.value[ue],enumerable:!0});A.provide(Cs,V),A.provide(Si,gc(M)),A.provide(Eo,l);const W=A.unmount;tn.add(A),A.unmount=function(){tn.delete(A),tn.size<1&&(c=Ct,j&&j(),j=null,l.value=Ct,en=!1,ie=!1),W()}}};function Fe(A){return A.reduce((V,M)=>V.then(()=>k(M)),Promise.resolve())}return pr}function dv(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iwn(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>wn(c,l))||s.push(l))}return[n,r,s]}function hv(){return _e(Cs)}function q0(){return _e(Si)}const Y0="hello";function J0(e,t){try{pn.get(e).then(n=>{t.value=n.data})}catch(n){console.log(n)}}function G0(e){const t=new URL("@assets/bg-for-number-carousel.png",self.location).href;return console.log(t,"ffffffffffffffffffffffffffffff"),t}function X0(e){return e}function Z0(){const e=hv(),t=Ci(),n=Lu();console.log(e.currentRoute.value.meta,"-------------ttt------------------");let r={user__id:"user"in t&&"id"in t.user?t.user.id:null,page:e.currentRoute.value.meta.title,fullPath:e.currentRoute.value.fullPath,ico:e.currentRoute.value.meta.ico};Fu.post(`${Es}api/watcher/counter/`,r).then(s=>{n.countvisitor=s.data})}const Ci=uu("AccountStore",()=>{const e=Lu(),t=ve({}),n=ve(!1),r=i=>{i.photo=`${Ha}${i.login}.jpg`,t.value=i,console.log(i.photo,"value.photo-------------------")},s=async i=>{console.log(i),e.loading=!0;const a=await Fu.post("api/accounts/token/",i);localStorage.setItem("access",a.data.access),localStorage.setItem("refresh",a.data.refresh);let l=ou.decode(a.data.refresh);l.user.photo=`${Ha}${l.user.login}.jpg`,t.value=l.user,e.loading=!1},o=()=>{t.value={},localStorage.removeItem("access"),localStorage.removeItem("refresh")};return pe(t,(i,a)=>{n.value=!!("login"in i&&i.login.startsWith("9966-"))},{deep:!0}),{user:t,setUser:r,cod2user:n,logging:s,logout:o}});const mv={__name:"App",setup(e){const t=Ci();return(()=>{const r=localStorage.getItem("refresh");if(r){const s=ou.decode(r);t.setUser(s.user)}})(),(r,s)=>{const o=vh("router-view");return lr(),hs(o)}}},pv="modulepreload",gv=function(e){return"/"+e},ol={},$e=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=gv(o),o in ol)return;ol[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let u=s.length-1;u>=0;u--){const f=s[u];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":pv,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})};async function vv(){(await $e(()=>import("./webfontloader-b4dfbbb5.js").then(t=>t.w),[])).load({google:{families:["Roboto:100,300,400,500,700,900&display=swap"]}})}function fr(e,t){let n;function r(){n=ir(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}pe(e,s=>{s&&!n?r():s||(n==null||n.stop(),n=void 0)},{immediate:!0}),We(()=>{n==null||n.stop()})}function il(e,t,n){yv(e,t),t.set(e,n)}function yv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function bv(e,t,n){var r=zu(e,t,"set");return wv(e,r,n),n}function wv(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function Bt(e,t){var n=zu(e,t,"get");return _v(e,n)}function zu(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function _v(e,t){return t.get?t.get.call(e):t.value}function Wu(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let s=0;sEv(e[r],t[r]))}function So(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),Wu(e,t.split("."),n))}function Q0(e,t,n){if(t==null)return e===void 0?n:e;if(e!==Object(e)){if(typeof t!="function")return n;const s=t(e,n);return typeof s>"u"?n:s}if(typeof t=="string")return So(e,t,n);if(Array.isArray(t))return Wu(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function Ku(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function ce(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function Co(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Sv(e){return e&&"$el"in e?e.$el:e}const al=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),ew=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function tw(e){return Object.keys(e)}function Us(e,t){return t.every(n=>e.hasOwnProperty(n))}function qu(e,t,n){const r=Object.create(null),s=Object.create(null);for(const o in e)t.some(i=>i instanceof RegExp?i.test(o):i===o)&&!(n!=null&&n.some(i=>i===o))?r[o]=e[o]:s[o]=e[o];return[r,s]}function Cv(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}function nw(e){return qu(e,["class","style","id",/^data-/])}function rw(e){return e==null?[]:Array.isArray(e)?e:[e]}function xo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function ll(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function xv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r1&&arguments[1]!==void 0?arguments[1]:1e3;if(e=t&&r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const s in e)r[s]=e[s];for(const s in t){const o=e[s],i=t[s];if(Co(o)&&Co(i)){r[s]=qe(o,i,n);continue}if(Array.isArray(o)&&Array.isArray(i)&&n){r[s]=n(o,i);continue}r[s]=i}return r}function Yu(e){return e.map(t=>t.type===ke?Yu(t.children):t).flat()}function Yt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Yt.cache.has(e))return Yt.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Yt.cache.set(e,t),t}Yt.cache=new Map;function zs(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>zs(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>zs(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return zs(e,t.component.subTree).flat(1)}return[]}var Sr=new WeakMap,on=new WeakMap;class ow{constructor(t){il(this,Sr,{writable:!0,value:[]}),il(this,on,{writable:!0,value:0}),this.size=t}push(t){Bt(this,Sr)[Bt(this,on)]=t,bv(this,on,(Bt(this,on)+1)%this.size)}values(){return Bt(this,Sr).slice(Bt(this,on)).concat(Bt(this,Sr).slice(0,Bt(this,on)))}}function xi(e){const t=ut({}),n=D(e);return Zt(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),is(t)}function Kr(e,t){return e.includes(t)}const Av=/^on[^a-z]/,Ju=e=>Av.test(e);function Gu(e){return e[2].toLowerCase()+e.slice(3)}const iw=()=>[Function,Array];function cl(e,t){return t="on"+bt(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function aw(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r`${n}:not([tabindex="-1"]):not([disabled])`).join(", ");return[...e.querySelectorAll(t)]}function Ao(e,t){var s,o,i;const n=Pv(e),r=n.indexOf(document.activeElement);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((s=n[0])==null||s.focus());else if(t==="first")(o=n[0])==null||o.focus();else if(t==="last")(i=n.at(-1))==null||i.focus();else{let a,l=r;const c=t==="next"?1:-1;do l+=c,a=n[l];while((!a||a.offsetParent==null)&&l=0);a?a.focus():Ao(e,t==="next"?"first":"last")}}const Xu=["top","bottom"],Ov=["start","end","left","right"];function Po(e,t){let[n,r]=e.split(" ");return r||(r=Kr(Xu,n)?"start":Kr(Ov,n)?"top":"center"),{side:ul(n,t),align:ul(r,t)}}function ul(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function Ws(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function Ks(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function fl(e){return{side:e.align,align:e.side}}function dl(e){return Kr(Xu,e.side)?"y":"x"}class gn{constructor(t){let{x:n,y:r,width:s,height:o}=t;this.x=n,this.y=r,this.width=s,this.height=o}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function hl(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function Zu(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),r=n.transform;if(r){let s,o,i,a,l;if(r.startsWith("matrix3d("))s=r.slice(9,-1).split(/, /),o=+s[0],i=+s[5],a=+s[12],l=+s[13];else if(r.startsWith("matrix("))s=r.slice(7,-1).split(/, /),o=+s[0],i=+s[3],a=+s[4],l=+s[5];else return new gn(t);const c=n.transformOrigin,u=t.x-a-(1-o)*parseFloat(c),f=t.y-l-(1-i)*parseFloat(c.slice(c.indexOf(" ")+1)),d=o?t.width/o:e.offsetWidth+1,m=i?t.height/i:e.offsetHeight+1;return new gn({x:u,y:f,width:d,height:m})}else return new gn(t)}function Nn(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let r;try{r=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof r.finished>"u"&&(r.finished=new Promise(s=>{r.onfinish=()=>{s(r)}})),r}const Ir=new WeakMap;function Rv(e,t){Object.keys(t).forEach(n=>{if(Ju(n)){const r=Gu(n),s=Ir.get(e);if(t[n]==null)s==null||s.forEach(o=>{const[i,a]=o;i===r&&(e.removeEventListener(r,a),s.delete(o))});else if(!s||![...s].some(o=>o[0]===r&&o[1]===t[n])){e.addEventListener(r,t[n]);const o=s||new Set;o.add([r,t[n]]),Ir.has(e)||Ir.set(e,o)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function Tv(e,t){Object.keys(t).forEach(n=>{if(Ju(n)){const r=Gu(n),s=Ir.get(e);s==null||s.forEach(o=>{const[i,a]=o;i===r&&(e.removeEventListener(r,a),s.delete(o))})}else e.removeAttribute(n)})}function lw(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const qr=.20689655172413793,kv=e=>e>qr**3?Math.cbrt(e):e/(3*qr**2)+4/29,Fv=e=>e>qr?e**3:3*qr**2*(e-4/29);function Qu(e){const t=kv,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function ef(e){const t=Fv,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const Lv=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Iv=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,Nv=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Dv=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function tf(e){const t=Array(3),n=Iv,r=Lv;for(let s=0;s<3;++s)t[s]=Math.round(xo(n(r[s][0]*e[0]+r[s][1]*e[1]+r[s][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Ai(e){let{r:t,g:n,b:r}=e;const s=[0,0,0],o=Dv,i=Nv;t=o(t/255),n=o(n/255),r=o(r/255);for(let a=0;a<3;++a)s[a]=i[a][0]*t+i[a][1]*n+i[a][2]*r;return s}function ml(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}const pl=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Mv={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>gl({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>gl({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>tr({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>tr({h:e,s:t,v:n,a:r})};function Wt(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&pl.test(e)){const{groups:t}=e.match(pl),{fn:n,values:r}=t,s=r.split(/,\s*/).map(o=>o.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(o)/100:parseFloat(o));return Mv[n](...s)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),Bv(t)}else if(typeof e=="object"){if(Us(e,["r","g","b"]))return e;if(Us(e,["h","s","l"]))return tr(nf(e));if(Us(e,["h","s","v"]))return tr(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} + */const fn=typeof window<"u";function ug(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const fe=Object.assign;function js(e,t){const n={};for(const r in t){const s=t[r];n[r]=st(s)?s.map(e):e(s)}return n}const Hn=()=>{},st=Array.isArray,fg=/\/$/,dg=e=>e.replace(fg,"");function Vs(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=gg(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function hg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ua(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mg(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&wn(t.matched[r],n.matched[s])&&Iu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function wn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Iu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!pg(e[n],t[n]))return!1;return!0}function pg(e,t){return st(e)?za(e,t):st(t)?za(t,e):e===t}function za(e,t){return st(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function gg(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var er;(function(e){e.pop="pop",e.push="push"})(er||(er={}));var Un;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Un||(Un={}));function vg(e){if(!e)if(fn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),dg(e)}const yg=/^[^#]+#/;function bg(e,t){return e.replace(yg,"#")+t}function wg(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ss=()=>({left:window.pageXOffset,top:window.pageYOffset});function _g(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=wg(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Wa(e,t){return(history.state?history.state.position-t:-1)+e}const wo=new Map;function Eg(e,t){wo.set(e,t)}function Sg(e){const t=wo.get(e);return wo.delete(e),t}let Cg=()=>location.protocol+"//"+location.host;function Nu(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Ua(l,"")}return Ua(n,e)+r+s}function xg(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const m=Nu(e,location),h=n.value,g=t.value;let w=0;if(d){if(n.value=m,t.value=d,i&&i===h){i=null;return}w=g?d.position-g.position:0}else r(m);s.forEach(_=>{_(n.value,h,{delta:w,type:er.pop,direction:w?w>0?Un.forward:Un.back:Un.unknown})})};function l(){i=n.value}function c(d){s.push(d);const m=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return o.push(m),m}function u(){const{history:d}=window;d.state&&d.replaceState(fe({},d.state,{scroll:Ss()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function Ka(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Ss():null}}function Ag(e){const{history:t,location:n}=window,r={value:Nu(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Cg()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(m){console.error(m),n[u?"replace":"assign"](d)}}function i(l,c){const u=fe({},t.state,Ka(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,u,!0),r.value=l}function a(l,c){const u=fe({},s.value,t.state,{forward:l,scroll:Ss()});o(u.current,u,!0);const f=fe({},Ka(r.value,l,null),{position:u.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function Pg(e){e=vg(e);const t=Ag(e),n=xg(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=fe({location:"",base:e,go:r,createHref:bg.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Og(e){return typeof e=="string"||e&&typeof e=="object"}function Du(e){return typeof e=="string"||typeof e=="symbol"}const Ct={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Mu=Symbol("");var qa;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qa||(qa={}));function _n(e,t){return fe(new Error,{type:e,[Mu]:!0},t)}function mt(e,t){return e instanceof Error&&Mu in e&&(t==null||!!(e.type&t))}const Ya="[^/]+?",Rg={sensitive:!1,strict:!1,start:!0,end:!0},Tg=/[.+*?^${}()[\]/\\]/g;function kg(e,t){const n=fe({},Rg,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Lg(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Ig={type:0,value:""},Ng=/[a-zA-Z0-9_]/;function Dg(e){if(!e)return[[]];if(e==="/")return[[Ig]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{i(E)}:Hn}function i(u){if(Du(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!$u(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Xa(u)&&r.set(u.record.name,u)}function c(u,f){let d,m={},h,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw _n(1,{location:u});g=d.record.name,m=fe(Ga(f.params,d.keys.filter(E=>!E.optional).map(E=>E.name)),u.params&&Ga(u.params,d.keys.map(E=>E.name))),h=d.stringify(m)}else if("path"in u)h=u.path,d=n.find(E=>E.re.test(h)),d&&(m=d.parse(h),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(E=>E.re.test(f.path)),!d)throw _n(1,{location:u,currentLocation:f});g=d.record.name,m=fe({},f.params,u.params),h=d.stringify(m)}const w=[];let _=d;for(;_;)w.unshift(_.record),_=_.parent;return{name:g,path:h,params:m,matched:w,meta:Vg(w)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Ga(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Bg(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:jg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function jg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Xa(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Vg(e){return e.reduce((t,n)=>fe(t,n.meta),{})}function Za(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function $u(e,t){return t.children.some(n=>n===e||$u(e,n))}const Bu=/#/g,Hg=/&/g,Ug=/\//g,zg=/=/g,Wg=/\?/g,ju=/\+/g,Kg=/%5B/g,qg=/%5D/g,Vu=/%5E/g,Yg=/%60/g,Hu=/%7B/g,Jg=/%7C/g,Uu=/%7D/g,Gg=/%20/g;function Ei(e){return encodeURI(""+e).replace(Jg,"|").replace(Kg,"[").replace(qg,"]")}function Xg(e){return Ei(e).replace(Hu,"{").replace(Uu,"}").replace(Vu,"^")}function _o(e){return Ei(e).replace(ju,"%2B").replace(Gg,"+").replace(Bu,"%23").replace(Hg,"%26").replace(Yg,"`").replace(Hu,"{").replace(Uu,"}").replace(Vu,"^")}function Zg(e){return _o(e).replace(zg,"%3D")}function Qg(e){return Ei(e).replace(Bu,"%23").replace(Wg,"%3F")}function ev(e){return e==null?"":Qg(e).replace(Ug,"%2F")}function Wr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function tv(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&_o(o)):[r&&_o(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function nv(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=st(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const rv=Symbol(""),el=Symbol(""),Cs=Symbol(""),Si=Symbol(""),Eo=Symbol("");function Tn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(_n(4,{from:n,to:t})):f instanceof Error?a(f):Og(f)?a(_n(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(r&&r.instances[s],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Hs(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(sv(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Ot(c,n,r,o,i))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=ug(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Ot(d,n,r,o,i)()}))}}return s}function sv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tl(e){const t=_e(Cs),n=_e(Si),r=D(()=>t.resolve(ze(e.to))),s=D(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(wn.bind(null,u));if(d>-1)return d;const m=nl(l[c-2]);return c>1&&nl(u)===m&&f[f.length-1].path!==m?f.findIndex(wn.bind(null,l[c-2])):d}),o=D(()=>s.value>-1&&lv(n.params,r.value.params)),i=D(()=>s.value>-1&&s.value===n.matched.length-1&&Iu(n.params,r.value.params));function a(l={}){return av(l)?t[ze(e.replace)?"replace":"push"](ze(e.to)).catch(Hn):Promise.resolve()}return{route:r,href:D(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const ov=us({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:tl,setup(e,{slots:t}){const n=ut(tl(e)),{options:r}=_e(Cs),s=D(()=>({[rl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[rl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Nt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),iv=ov;function av(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function lv(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!st(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function nl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rl=(e,t,n)=>e??t??n,cv=us({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=_e(Eo),s=D(()=>e.route||r.value),o=_e(el,0),i=D(()=>{let c=ze(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=D(()=>s.value.matched[i.value]);Ft(el,D(()=>i.value+1)),Ft(rv,a),Ft(Eo,s);const l=ve();return pe(()=>[l.value,a.value,e.name],([c,u,f],[d,m,h])=>{u&&(u.instances[f]=c,m&&m!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!wn(u,m)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return sl(n.default,{Component:d,route:c});const m=f.props[u],h=m?m===!0?c.params:typeof m=="function"?m(c):m:null,w=Nt(d,fe({},h,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return sl(n.default,{Component:w,route:c})||w}}});function sl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const uv=cv;function fv(e){const t=$g(e.routes,e),n=e.parseQuery||tv,r=e.stringifyQuery||Qa,s=e.history,o=Tn(),i=Tn(),a=Tn(),l=xe(Ct);let c=Ct;fn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=js.bind(null,A=>""+A),f=js.bind(null,ev),d=js.bind(null,Wr);function m(A,V){let M,W;return Du(A)?(M=t.getRecordMatcher(A),W=V):W=A,t.addRoute(W,M)}function h(A){const V=t.getRecordMatcher(A);V&&t.removeRoute(V)}function g(){return t.getRoutes().map(A=>A.record)}function w(A){return!!t.getRecordMatcher(A)}function _(A,V){if(V=fe({},V||l.value),typeof A=="string"){const y=Vs(n,A,V.path),S=t.resolve({path:y.path},V),P=s.createHref(y.fullPath);return fe(y,S,{params:d(S.params),hash:Wr(y.hash),redirectedFrom:void 0,href:P})}let M;if("path"in A)M=fe({},A,{path:Vs(n,A.path,V.path).path});else{const y=fe({},A.params);for(const S in y)y[S]==null&&delete y[S];M=fe({},A,{params:f(y)}),V.params=f(V.params)}const W=t.resolve(M,V),ue=A.hash||"";W.params=u(d(W.params));const p=hg(r,fe({},A,{hash:Xg(ue),path:W.path})),v=s.createHref(p);return fe({fullPath:p,hash:ue,query:r===Qa?nv(A.query):A.query||{}},W,{redirectedFrom:void 0,href:v})}function E(A){return typeof A=="string"?Vs(n,A,l.value.path):fe({},A)}function b(A,V){if(c!==A)return _n(8,{from:V,to:A})}function L(A){return J(A)}function H(A){return L(fe(E(A),{replace:!0}))}function Y(A){const V=A.matched[A.matched.length-1];if(V&&V.redirect){const{redirect:M}=V;let W=typeof M=="function"?M(A):M;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=E(W):{path:W},W.params={}),fe({query:A.query,hash:A.hash,params:"path"in W?{}:A.params},W)}}function J(A,V){const M=c=_(A),W=l.value,ue=A.state,p=A.force,v=A.replace===!0,y=Y(M);if(y)return J(fe(E(y),{state:typeof y=="object"?fe({},ue,y.state):ue,force:p,replace:v}),V||M);const S=M;S.redirectedFrom=V;let P;return!p&&mg(r,W,M)&&(P=_n(16,{to:S,from:W}),Oe(W,W,!0,!1)),(P?Promise.resolve(P):B(S,W)).catch(R=>mt(R)?mt(R,2)?R:Ee(R):X(R,S,W)).then(R=>{if(R){if(mt(R,2))return J(fe({replace:v},E(R.to),{state:typeof R.to=="object"?fe({},ue,R.to.state):ue,force:p}),V||S)}else R=O(S,W,!0,v,ue);return U(S,W,R),R})}function C(A,V){const M=b(A,V);return M?Promise.reject(M):Promise.resolve()}function k(A){const V=tn.values().next().value;return V&&typeof V.runWithContext=="function"?V.runWithContext(A):A()}function B(A,V){let M;const[W,ue,p]=dv(A,V);M=Hs(W.reverse(),"beforeRouteLeave",A,V);for(const y of W)y.leaveGuards.forEach(S=>{M.push(Ot(S,A,V))});const v=C.bind(null,A,V);return M.push(v),Fe(M).then(()=>{M=[];for(const y of o.list())M.push(Ot(y,A,V));return M.push(v),Fe(M)}).then(()=>{M=Hs(ue,"beforeRouteUpdate",A,V);for(const y of ue)y.updateGuards.forEach(S=>{M.push(Ot(S,A,V))});return M.push(v),Fe(M)}).then(()=>{M=[];for(const y of p)if(y.beforeEnter)if(st(y.beforeEnter))for(const S of y.beforeEnter)M.push(Ot(S,A,V));else M.push(Ot(y.beforeEnter,A,V));return M.push(v),Fe(M)}).then(()=>(A.matched.forEach(y=>y.enterCallbacks={}),M=Hs(p,"beforeRouteEnter",A,V),M.push(v),Fe(M))).then(()=>{M=[];for(const y of i.list())M.push(Ot(y,A,V));return M.push(v),Fe(M)}).catch(y=>mt(y,8)?y:Promise.reject(y))}function U(A,V,M){a.list().forEach(W=>k(()=>W(A,V,M)))}function O(A,V,M,W,ue){const p=b(A,V);if(p)return p;const v=V===Ct,y=fn?history.state:{};M&&(W||v?s.replace(A.fullPath,fe({scroll:v&&y&&y.scroll},ue)):s.push(A.fullPath,ue)),l.value=A,Oe(A,V,M,v),Ee()}let j;function te(){j||(j=s.listen((A,V,M)=>{if(!pr.listening)return;const W=_(A),ue=Y(W);if(ue){J(fe(ue,{replace:!0}),W).catch(Hn);return}c=W;const p=l.value;fn&&Eg(Wa(p.fullPath,M.delta),Ss()),B(W,p).catch(v=>mt(v,12)?v:mt(v,2)?(J(v.to,W).then(y=>{mt(y,20)&&!M.delta&&M.type===er.pop&&s.go(-1,!1)}).catch(Hn),Promise.reject()):(M.delta&&s.go(-M.delta,!1),X(v,W,p))).then(v=>{v=v||O(W,p,!1),v&&(M.delta&&!mt(v,8)?s.go(-M.delta,!1):M.type===er.pop&&mt(v,20)&&s.go(-1,!1)),U(W,p,v)}).catch(Hn)}))}let he=Tn(),Z=Tn(),ie;function X(A,V,M){Ee(A);const W=Z.list();return W.length?W.forEach(ue=>ue(A,V,M)):console.error(A),Promise.reject(A)}function se(){return ie&&l.value!==Ct?Promise.resolve():new Promise((A,V)=>{he.add([A,V])})}function Ee(A){return ie||(ie=!A,te(),he.list().forEach(([V,M])=>A?M(A):V()),he.reset()),A}function Oe(A,V,M,W){const{scrollBehavior:ue}=e;if(!fn||!ue)return Promise.resolve();const p=!M&&Sg(Wa(A.fullPath,0))||(W||!M)&&history.state&&history.state.scroll||null;return ft().then(()=>ue(A,V,p)).then(v=>v&&_g(v)).catch(v=>X(v,A,V))}const Me=A=>s.go(A);let en;const tn=new Set,pr={currentRoute:l,listening:!0,addRoute:m,removeRoute:h,hasRoute:w,getRoutes:g,resolve:_,options:e,push:L,replace:H,go:Me,back:()=>Me(-1),forward:()=>Me(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:Z.add,isReady:se,install(A){const V=this;A.component("RouterLink",iv),A.component("RouterView",uv),A.config.globalProperties.$router=V,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>ze(l)}),fn&&!en&&l.value===Ct&&(en=!0,L(s.location).catch(ue=>{}));const M={};for(const ue in Ct)Object.defineProperty(M,ue,{get:()=>l.value[ue],enumerable:!0});A.provide(Cs,V),A.provide(Si,gc(M)),A.provide(Eo,l);const W=A.unmount;tn.add(A),A.unmount=function(){tn.delete(A),tn.size<1&&(c=Ct,j&&j(),j=null,l.value=Ct,en=!1,ie=!1),W()}}};function Fe(A){return A.reduce((V,M)=>V.then(()=>k(M)),Promise.resolve())}return pr}function dv(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iwn(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>wn(c,l))||s.push(l))}return[n,r,s]}function hv(){return _e(Cs)}function q0(){return _e(Si)}const Y0="hello";function J0(e,t){try{pn.get(e).then(n=>{t.value=n.data})}catch(n){console.log(n)}}function G0(e){const t=new URL("@assets/bg-for-number-carousel.png",self.location).href;return console.log(t,"ffffffffffffffffffffffffffffff"),t}function X0(e){return e}function Z0(){const e=hv(),t=Ci(),n=Lu();console.log(e.currentRoute.value.meta,"-------------ttt------------------");let r={user__id:"user"in t&&"id"in t.user?t.user.id:null,page:e.currentRoute.value.meta.title,fullPath:e.currentRoute.value.fullPath,ico:e.currentRoute.value.meta.ico};Fu.post(`${Es}api/watcher/counter/`,r).then(s=>{n.countvisitor=s.data})}const Ci=uu("AccountStore",()=>{const e=Lu(),t=ve({}),n=ve(!1),r=i=>{i.photo=`${Ha}${i.login}.jpg`,t.value=i,console.log(i.photo,"value.photo-------------------")},s=async i=>{console.log(i),e.loading=!0;const a=await Fu.post("api/accounts/token/",i);localStorage.setItem("access",a.data.access),localStorage.setItem("refresh",a.data.refresh);let l=ou.decode(a.data.refresh);l.user.photo=`${Ha}${l.user.login}.jpg`,t.value=l.user,e.loading=!1},o=()=>{t.value={},localStorage.removeItem("access"),localStorage.removeItem("refresh")};return pe(t,(i,a)=>{n.value=!!("login"in i&&i.login.startsWith("9966-"))},{deep:!0}),{user:t,setUser:r,cod2user:n,logging:s,logout:o}});const mv={__name:"App",setup(e){const t=Ci();return(()=>{const r=localStorage.getItem("refresh");if(r){const s=ou.decode(r);t.setUser(s.user)}})(),(r,s)=>{const o=vh("router-view");return lr(),hs(o)}}},pv="modulepreload",gv=function(e){return"/"+e},ol={},$e=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=gv(o),o in ol)return;ol[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let u=s.length-1;u>=0;u--){const f=s[u];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":pv,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})};async function vv(){(await $e(()=>import("./webfontloader-62e31b85.js").then(t=>t.w),[])).load({google:{families:["Roboto:100,300,400,500,700,900&display=swap"]}})}function fr(e,t){let n;function r(){n=ir(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}pe(e,s=>{s&&!n?r():s||(n==null||n.stop(),n=void 0)},{immediate:!0}),We(()=>{n==null||n.stop()})}function il(e,t,n){yv(e,t),t.set(e,n)}function yv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function bv(e,t,n){var r=zu(e,t,"set");return wv(e,r,n),n}function wv(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function Bt(e,t){var n=zu(e,t,"get");return _v(e,n)}function zu(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function _v(e,t){return t.get?t.get.call(e):t.value}function Wu(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let s=0;sEv(e[r],t[r]))}function So(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),Wu(e,t.split("."),n))}function Q0(e,t,n){if(t==null)return e===void 0?n:e;if(e!==Object(e)){if(typeof t!="function")return n;const s=t(e,n);return typeof s>"u"?n:s}if(typeof t=="string")return So(e,t,n);if(Array.isArray(t))return Wu(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function Ku(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function ce(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function Co(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Sv(e){return e&&"$el"in e?e.$el:e}const al=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),ew=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function tw(e){return Object.keys(e)}function Us(e,t){return t.every(n=>e.hasOwnProperty(n))}function qu(e,t,n){const r=Object.create(null),s=Object.create(null);for(const o in e)t.some(i=>i instanceof RegExp?i.test(o):i===o)&&!(n!=null&&n.some(i=>i===o))?r[o]=e[o]:s[o]=e[o];return[r,s]}function Cv(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}function nw(e){return qu(e,["class","style","id",/^data-/])}function rw(e){return e==null?[]:Array.isArray(e)?e:[e]}function xo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function ll(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function xv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r1&&arguments[1]!==void 0?arguments[1]:1e3;if(e=t&&r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const s in e)r[s]=e[s];for(const s in t){const o=e[s],i=t[s];if(Co(o)&&Co(i)){r[s]=qe(o,i,n);continue}if(Array.isArray(o)&&Array.isArray(i)&&n){r[s]=n(o,i);continue}r[s]=i}return r}function Yu(e){return e.map(t=>t.type===ke?Yu(t.children):t).flat()}function Yt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Yt.cache.has(e))return Yt.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Yt.cache.set(e,t),t}Yt.cache=new Map;function zs(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>zs(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>zs(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return zs(e,t.component.subTree).flat(1)}return[]}var Sr=new WeakMap,on=new WeakMap;class ow{constructor(t){il(this,Sr,{writable:!0,value:[]}),il(this,on,{writable:!0,value:0}),this.size=t}push(t){Bt(this,Sr)[Bt(this,on)]=t,bv(this,on,(Bt(this,on)+1)%this.size)}values(){return Bt(this,Sr).slice(Bt(this,on)).concat(Bt(this,Sr).slice(0,Bt(this,on)))}}function xi(e){const t=ut({}),n=D(e);return Zt(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),is(t)}function Kr(e,t){return e.includes(t)}const Av=/^on[^a-z]/,Ju=e=>Av.test(e);function Gu(e){return e[2].toLowerCase()+e.slice(3)}const iw=()=>[Function,Array];function cl(e,t){return t="on"+bt(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function aw(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r`${n}:not([tabindex="-1"]):not([disabled])`).join(", ");return[...e.querySelectorAll(t)]}function Ao(e,t){var s,o,i;const n=Pv(e),r=n.indexOf(document.activeElement);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((s=n[0])==null||s.focus());else if(t==="first")(o=n[0])==null||o.focus();else if(t==="last")(i=n.at(-1))==null||i.focus();else{let a,l=r;const c=t==="next"?1:-1;do l+=c,a=n[l];while((!a||a.offsetParent==null)&&l=0);a?a.focus():Ao(e,t==="next"?"first":"last")}}const Xu=["top","bottom"],Ov=["start","end","left","right"];function Po(e,t){let[n,r]=e.split(" ");return r||(r=Kr(Xu,n)?"start":Kr(Ov,n)?"top":"center"),{side:ul(n,t),align:ul(r,t)}}function ul(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function Ws(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function Ks(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function fl(e){return{side:e.align,align:e.side}}function dl(e){return Kr(Xu,e.side)?"y":"x"}class gn{constructor(t){let{x:n,y:r,width:s,height:o}=t;this.x=n,this.y=r,this.width=s,this.height=o}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function hl(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function Zu(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),r=n.transform;if(r){let s,o,i,a,l;if(r.startsWith("matrix3d("))s=r.slice(9,-1).split(/, /),o=+s[0],i=+s[5],a=+s[12],l=+s[13];else if(r.startsWith("matrix("))s=r.slice(7,-1).split(/, /),o=+s[0],i=+s[3],a=+s[4],l=+s[5];else return new gn(t);const c=n.transformOrigin,u=t.x-a-(1-o)*parseFloat(c),f=t.y-l-(1-i)*parseFloat(c.slice(c.indexOf(" ")+1)),d=o?t.width/o:e.offsetWidth+1,m=i?t.height/i:e.offsetHeight+1;return new gn({x:u,y:f,width:d,height:m})}else return new gn(t)}function Nn(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let r;try{r=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof r.finished>"u"&&(r.finished=new Promise(s=>{r.onfinish=()=>{s(r)}})),r}const Ir=new WeakMap;function Rv(e,t){Object.keys(t).forEach(n=>{if(Ju(n)){const r=Gu(n),s=Ir.get(e);if(t[n]==null)s==null||s.forEach(o=>{const[i,a]=o;i===r&&(e.removeEventListener(r,a),s.delete(o))});else if(!s||![...s].some(o=>o[0]===r&&o[1]===t[n])){e.addEventListener(r,t[n]);const o=s||new Set;o.add([r,t[n]]),Ir.has(e)||Ir.set(e,o)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function Tv(e,t){Object.keys(t).forEach(n=>{if(Ju(n)){const r=Gu(n),s=Ir.get(e);s==null||s.forEach(o=>{const[i,a]=o;i===r&&(e.removeEventListener(r,a),s.delete(o))})}else e.removeAttribute(n)})}function lw(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const qr=.20689655172413793,kv=e=>e>qr**3?Math.cbrt(e):e/(3*qr**2)+4/29,Fv=e=>e>qr?e**3:3*qr**2*(e-4/29);function Qu(e){const t=kv,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function ef(e){const t=Fv,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const Lv=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Iv=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,Nv=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Dv=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function tf(e){const t=Array(3),n=Iv,r=Lv;for(let s=0;s<3;++s)t[s]=Math.round(xo(n(r[s][0]*e[0]+r[s][1]*e[1]+r[s][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Ai(e){let{r:t,g:n,b:r}=e;const s=[0,0,0],o=Dv,i=Nv;t=o(t/255),n=o(n/255),r=o(r/255);for(let a=0;a<3;++a)s[a]=i[a][0]*t+i[a][1]*n+i[a][2]*r;return s}function ml(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}const pl=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Mv={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>gl({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>gl({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>tr({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>tr({h:e,s:t,v:n,a:r})};function Wt(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&pl.test(e)){const{groups:t}=e.match(pl),{fn:n,values:r}=t,s=r.split(/,\s*/).map(o=>o.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(o)/100:parseFloat(o));return Mv[n](...s)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),Bv(t)}else if(typeof e=="object"){if(Us(e,["r","g","b"]))return e;if(Us(e,["h","s","l"]))return tr(nf(e));if(Us(e,["h","s","v"]))return tr(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function tr(e){const{h:t,s:n,v:r,a:s}=e,o=a=>{const l=(a+t/60)%6;return r-r*n*Math.max(Math.min(l,4-l,1),0)},i=[o(5),o(3),o(1)].map(a=>Math.round(a*255));return{r:i[0],g:i[1],b:i[2],a:s}}function gl(e){return tr(nf(e))}function nf(e){const{h:t,s:n,l:r,a:s}=e,o=r+n*Math.min(r,1-r),i=o===0?0:2-2*r/o;return{h:t,s:i,v:o,a:s}}function Cr(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function $v(e){let{r:t,g:n,b:r,a:s}=e;return`#${[Cr(t),Cr(n),Cr(r),s!==void 0?Cr(Math.round(s*255)):""].join("")}`}function Bv(e){e=jv(e);let[t,n,r,s]=xv(e,2).map(o=>parseInt(o,16));return s=s===void 0?s:s/255,{r:t,g:n,b:r,a:s}}function jv(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=ll(ll(e,6),8,"F")),e}function Vv(e,t){const n=Qu(Ai(e));return n[0]=n[0]+t*10,tf(ef(n))}function Hv(e,t){const n=Qu(Ai(e));return n[0]=n[0]-t*10,tf(ef(n))}function Uv(e){const t=Wt(e);return Ai(t)[1]}function oe(e,t){return n=>Object.keys(e).reduce((r,s)=>{const i=typeof e[s]=="object"&&e[s]!=null&&!Array.isArray(e[s])?e[s]:{type:e[s]};return n&&s in n?r[s]={...i,default:n[s]}:r[s]=i,t&&!r[s].source&&(r[s].source=t),r},{})}const Xe=oe({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function dr(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=oe(e.props??{},e.name)();const t=Object.keys(e.props);e.filterProps=function(r){return qu(r,t,["class","style"])},e.props._as=String,e.setup=function(r,s){const o=ki();if(!o.value)return e._setup(r,s);const{props:i,provideSubDefaults:a}=ey(r,r._as??e.name,o),l=e._setup(i,s);return a(),l}}return e}function Ie(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?dr:us)(t)}function Pi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return Ie()({name:n??bt(rt(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...Xe()},setup(r,s){let{slots:o}=s;return()=>{var i;return Nt(r.tag,{class:[e,r.class],style:r.style},(i=o.default)==null?void 0:i.call(o))}}})}function rf(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const Oo="cubic-bezier(0.4, 0, 0.2, 1)",zv="cubic-bezier(0.0, 0, 0.2, 1)",Wv="cubic-bezier(0.4, 0, 1, 1)";function Ze(e,t){const n=hi();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}function Qt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=Ze(e).type;return Yt((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let sf=0,Nr=new WeakMap;function Oi(){const e=Ze("getUid");if(Nr.has(e))return Nr.get(e);{const t=sf++;return Nr.set(e,t),t}}Oi.reset=()=>{sf=0,Nr=new WeakMap};function Kv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?qv(e):Ri(e))return e;e=e.parentElement}return document.scrollingElement}function Yr(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(Ri(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function Ri(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function qv(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}const Te=typeof window<"u",Ti=Te&&"IntersectionObserver"in window,Yv=Te&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),Jv=Te&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports("selector(:focus-visible)");function Gv(e){const{provides:t}=Ze("injectSelf");if(t&&e in t)return t[e]}function Xv(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function ht(e){const t=Ze("useRender");t.render=e}const nr=Symbol.for("vuetify:defaults");function Zv(e){return ve(e)}function ki(){const e=_e(nr);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function Fi(e,t){const n=ki(),r=ve(e),s=D(()=>{if(ze(t==null?void 0:t.disabled))return n.value;const i=ze(t==null?void 0:t.scoped),a=ze(t==null?void 0:t.reset),l=ze(t==null?void 0:t.root);let c=qe(r.value,{prev:n.value});if(i)return c;if(a||l){const u=Number(a||1/0);for(let f=0;f<=u&&!(!c||!("prev"in c));f++)c=c.prev;return c&&typeof l=="string"&&l in c&&(c=qe(qe(c,{prev:c}),c[l])),c}return c.prev?qe(c.prev,c):c});return Ft(nr,s),s}function Qv(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[Yt(t)])<"u"}function ey(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ki();const r=Ze("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const s=D(()=>{var l;return(l=n.value)==null?void 0:l[e._as??t]}),o=new Proxy(e,{get(l,c){var f,d,m,h;const u=Reflect.get(l,c);return c==="class"||c==="style"?[(f=s.value)==null?void 0:f[c],u].filter(g=>g!=null):typeof c=="string"&&!Qv(r.vnode,c)?((d=s.value)==null?void 0:d[c])??((h=(m=n.value)==null?void 0:m.global)==null?void 0:h[c])??u:u}}),i=xe();Zt(()=>{if(s.value){const l=Object.entries(s.value).filter(c=>{let[u]=c;return u.startsWith(u[0].toUpperCase())});l.length&&(i.value=Object.fromEntries(l))}});function a(){fr(i,()=>{var l;Fi(qe(((l=Gv(nr))==null?void 0:l.value)??{},i.value))})}return{props:o,provideSubDefaults:a}}const xs=["sm","md","lg","xl","xxl"],Ro=Symbol.for("vuetify:display"),vl={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},ty=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:vl;return qe(vl,e)};function yl(e){return Te&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function bl(e){return Te&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function wl(e){const t=Te&&!e?window.navigator.userAgent:"ssr";function n(h){return!!t.match(h)}const r=n(/android/i),s=n(/iphone|ipad|ipod/i),o=n(/cordova/i),i=n(/electron/i),a=n(/chrome/i),l=n(/edge/i),c=n(/firefox/i),u=n(/opera/i),f=n(/win/i),d=n(/mac/i),m=n(/linux/i);return{android:r,ios:s,cordova:o,electron:i,chrome:a,edge:l,firefox:c,opera:u,win:f,mac:d,linux:m,touch:Yv,ssr:t==="ssr"}}function ny(e,t){const{thresholds:n,mobileBreakpoint:r}=ty(e),s=xe(bl(t)),o=xe(wl(t)),i=ut({}),a=xe(yl(t));function l(){s.value=bl(),a.value=yl()}function c(){l(),o.value=wl()}return Zt(()=>{const u=a.value=n.xxl,w=u?"xs":f?"sm":d?"md":m?"lg":h?"xl":"xxl",_=typeof r=="number"?r:n[r],E=a.value<_;i.xs=u,i.sm=f,i.md=d,i.lg=m,i.xl=h,i.xxl=g,i.smAndUp=!u,i.mdAndUp=!(u||f),i.lgAndUp=!(u||f||d),i.xlAndUp=!(u||f||d||m),i.smAndDown=!(d||m||h||g),i.mdAndDown=!(m||h||g),i.lgAndDown=!(h||g),i.xlAndDown=!g,i.name=w,i.height=s.value,i.width=a.value,i.mobile=E,i.mobileBreakpoint=r,i.platform=o.value,i.thresholds=n}),Te&&window.addEventListener("resize",l,{passive:!0}),{...is(i),update:c,ssr:!!t}}function ry(){const e=_e(Ro);if(!e)throw new Error("Could not find Vuetify display injection");return e}const sy={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar"},oy={component:e=>Nt(af,{...e,class:"mdi"})},Gt=[String,Function,Object,Array],To=Symbol.for("vuetify:icons"),As=oe({icon:{type:Gt},tag:{type:String,required:!0}},"icon"),_l=Ie()({name:"VComponentIcon",props:As(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return T(e.tag,null,{default:()=>{var s;return[e.icon?T(r,null,null):(s=n.default)==null?void 0:s.call(n)]}})}}}),of=dr({name:"VSvgIcon",inheritAttrs:!1,props:As(),setup(e,t){let{attrs:n}=t;return()=>T(e.tag,De(n,{style:null}),{default:()=>[T("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?T("path",{d:r[0],"fill-opacity":r[1]},null):T("path",{d:r},null)):T("path",{d:e.icon},null)])]})}});dr({name:"VLigatureIcon",props:As(),setup(e){return()=>T(e.tag,null,{default:()=>[e.icon]})}});const af=dr({name:"VClassIcon",props:As(),setup(e){return()=>T(e.tag,{class:e.icon},null)}}),iy={svg:{component:of},class:{component:af}};function ay(e){return qe({defaultSet:"mdi",sets:{...iy,mdi:oy},aliases:{...sy,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},e)}const ly=e=>{const t=_e(To);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:D(()=>{var l;const r=ze(e);if(!r)return{component:_l};let s=r;if(typeof s=="string"&&(s=s.trim(),s.startsWith("$")&&(s=(l=t.aliases)==null?void 0:l[s.slice(1)])),!s)throw new Error(`Could not find aliased icon "${r}"`);if(Array.isArray(s))return{component:of,icon:s};if(typeof s!="string")return{component:_l,icon:s};const o=Object.keys(t.sets).find(c=>typeof s=="string"&&s.startsWith(`${c}:`)),i=o?s.slice(o.length+1):s;return{component:t.sets[o??t.defaultSet].component,icon:i}})}},cy={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},uy={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function Ps(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const o=Ze("useProxiedModel"),i=ve(e[t]!==void 0?e[t]:n),a=Yt(t),c=D(a!==t?()=>{var f,d,m,h;return e[t],!!(((f=o.vnode.props)!=null&&f.hasOwnProperty(t)||(d=o.vnode.props)!=null&&d.hasOwnProperty(a))&&((m=o.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${t}`)||(h=o.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${a}`)))}:()=>{var f,d;return e[t],!!((f=o.vnode.props)!=null&&f.hasOwnProperty(t)&&((d=o.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${t}`)))});fr(()=>!c.value,()=>{pe(()=>e[t],f=>{i.value=f})});const u=D({get(){const f=e[t];return r(c.value?f:i.value)},set(f){const d=s(f),m=ne(c.value?e[t]:i.value);m===d||r(m)===f||(i.value=d,o==null||o.emit(`update:${t}`,d))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?e[t]:i.value}),u}const El="$vuetify.",Sl=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[+r])),lf=(e,t,n)=>function(r){for(var s=arguments.length,o=new Array(s>1?s-1:0),i=1;inew Intl.NumberFormat([e.value,t.value],r).format(n)}function qs(e,t,n){const r=Ps(e,t,e[t]??n.value);return r.value=e[t]??n.value,pe(n,s=>{e[t]==null&&(r.value=n.value)}),r}function uf(e){return t=>{const n=qs(t,"locale",e.current),r=qs(t,"fallback",e.fallback),s=qs(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:s,t:lf(n,r,s),n:cf(n,r),provide:uf({current:n,fallback:r,messages:s})}}}function fy(e){const t=xe((e==null?void 0:e.locale)??"en"),n=xe((e==null?void 0:e.fallback)??"en"),r=ve({en:cy,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,t:lf(t,n,r),n:cf(t,n),provide:uf({current:t,fallback:n,messages:r})}}const Jr=Symbol.for("vuetify:locale");function dy(e){return e.name!=null}function hy(e){const t=e!=null&&e.adapter&&dy(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:fy(e),n=my(t,e);return{...t,...n}}function cw(){const e=_e(Jr);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function my(e,t){const n=ve((t==null?void 0:t.rtl)??uy),r=D(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:D(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function Li(){const e=_e(Jr);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const an=2.4,Cl=.2126729,xl=.7151522,Al=.072175,py=.55,gy=.58,vy=.57,yy=.62,xr=.03,Pl=1.45,by=5e-4,wy=1.25,_y=1.25,Ol=.078,Rl=12.82051282051282,Ar=.06,Tl=.001;function kl(e,t){const n=(e.r/255)**an,r=(e.g/255)**an,s=(e.b/255)**an,o=(t.r/255)**an,i=(t.g/255)**an,a=(t.b/255)**an;let l=n*Cl+r*xl+s*Al,c=o*Cl+i*xl+a*Al;if(l<=xr&&(l+=(xr-l)**Pl),c<=xr&&(c+=(xr-c)**Pl),Math.abs(c-l)l){const f=(c**py-l**gy)*wy;u=f-Tl?0:f>-Ol?f-f*Rl*Ar:f+Ar}return u*100}const rr=Symbol.for("vuetify:theme"),hr=oe({theme:String},"theme"),kn={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-variant":"#BDBDBD","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function Ey(){var n,r;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:kn;if(!e)return{...kn,isDisabled:!0};const t={};for(const[s,o]of Object.entries(e.themes??{})){const i=o.dark||s==="dark"?(n=kn.themes)==null?void 0:n.dark:(r=kn.themes)==null?void 0:r.light;t[s]=qe(i,o)}return qe(kn,{...e,themes:t})}function Sy(e){const t=Ey(e),n=ve(t.defaultTheme),r=ve(t.themes),s=D(()=>{const u={};for(const[f,d]of Object.entries(r.value)){const m=u[f]={...d,colors:{...d.colors}};if(t.variations)for(const h of t.variations.colors){const g=m.colors[h];if(g)for(const w of["lighten","darken"]){const _=w==="lighten"?Vv:Hv;for(const E of Ku(t.variations[w],1))m.colors[`${h}-${w}-${E}`]=$v(_(Wt(g),E))}}for(const h of Object.keys(m.colors)){if(/^on-[a-z]/.test(h)||m.colors[`on-${h}`])continue;const g=`on-${h}`,w=Wt(m.colors[h]),_=Math.abs(kl(Wt(0),w)),E=Math.abs(kl(Wt(16777215),w));m.colors[g]=E>Math.min(_,50)?"#fff":"#000"}}return u}),o=D(()=>s.value[n.value]),i=D(()=>{const u=[];o.value.dark&&jt(u,":root",["color-scheme: dark"]),jt(u,":root",Fl(o.value));for(const[h,g]of Object.entries(s.value))jt(u,`.v-theme--${h}`,[`color-scheme: ${g.dark?"dark":"normal"}`,...Fl(g)]);const f=[],d=[],m=new Set(Object.values(s.value).flatMap(h=>Object.keys(h.colors)));for(const h of m)/^on-[a-z]/.test(h)?jt(d,`.${h}`,[`color: rgb(var(--v-theme-${h})) !important`]):(jt(f,`.bg-${h}`,[`--v-theme-overlay-multiplier: var(--v-theme-${h}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${h})) !important`,`color: rgb(var(--v-theme-on-${h})) !important`]),jt(d,`.text-${h}`,[`color: rgb(var(--v-theme-${h})) !important`]),jt(d,`.border-${h}`,[`--v-border-color: var(--v-theme-${h})`]));return u.push(...f,...d),u.map((h,g)=>g===0?h:` ${h}`).join("")});function a(){return{style:[{children:i.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function l(u){if(t.isDisabled)return;const f=u._context.provides.usehead;if(f)if(f.push){const d=f.push(a);pe(i,()=>{d.patch(a)})}else Te?(f.addHeadObjs(D(a)),Zt(()=>f.updateDOM())):f.addHeadObjs(a());else{let m=function(){if(typeof document<"u"&&!d){const h=document.createElement("style");h.type="text/css",h.id="vuetify-theme-stylesheet",t.cspNonce&&h.setAttribute("nonce",t.cspNonce),d=h,document.head.appendChild(d)}d&&(d.innerHTML=i.value)},d=Te?document.getElementById("vuetify-theme-stylesheet"):null;pe(i,m,{immediate:!0})}}const c=D(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:l,isDisabled:t.isDisabled,name:n,themes:r,current:o,computedThemes:s,themeClasses:c,styles:i,global:{name:n,current:o}}}function mr(e){Ze("provideTheme");const t=_e(rr,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=D(()=>e.theme??(t==null?void 0:t.name.value)),r=D(()=>t.isDisabled?void 0:`v-theme--${n.value}`),s={...t,name:n,themeClasses:r};return Ft(rr,s),s}function uw(){Ze("useTheme");const e=_e(rr,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function jt(e,t,n){e.push(`${t} { `,...n.map(r=>` ${r}; `),`} -`)}function Fl(e){const t=e.dark?2:1,n=e.dark?1:2,r=[];for(const[s,o]of Object.entries(e.colors)){const i=Wt(o);r.push(`--v-theme-${s}: ${i.r},${i.g},${i.b}`),s.startsWith("on-")||r.push(`--v-theme-${s}-overlay-multiplier: ${Uv(o)>.18?t:n}`)}for(const[s,o]of Object.entries(e.variables)){const i=typeof o=="string"&&o.startsWith("#")?Wt(o):void 0,a=i?`${i.r}, ${i.g}, ${i.b}`:void 0;r.push(`--v-${s}: ${a??o}`)}return r}const ko={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function Cy(e,t){const n=[];let r=[];const s=ff(e),o=df(e),i=s.getDay()-ko[t.slice(-2).toUpperCase()],a=o.getDay()-ko[t.slice(-2).toUpperCase()];for(let l=0;lo.padStart(2,"0")).join("-"),n=new Date().getTimezoneOffset()/-60,r=n<0?"-":"+",s=Math.abs(n).toString().padStart(2,"0");return`${t}T00:00:00.000${r}${s}:00`}const Ay=/([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))/;function Py(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(Ay.test(e)?t=Date.parse(xy(e)):t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const Ll=new Date(2e3,0,2);function Oy(e){const t=ko[e.slice(-2).toUpperCase()];return Ku(7).map(n=>{const r=new Date(Ll);return r.setDate(Ll.getDate()+t+n),new Intl.DateTimeFormat(e,{weekday:"short"}).format(r)})}function Ry(e,t,n){const r=new Date(e);let s={};switch(t){case"fullDateWithWeekday":s={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":s={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":s={};break;case"monthAndDate":s={month:"long",day:"numeric"};break;case"monthAndYear":s={month:"long",year:"numeric"};break;case"dayOfMonth":s={day:"numeric"};break;default:s={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,s).format(r)}function Ty(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function ky(e,t){const n=new Date(e);return n.setMonth(n.getMonth()+t),n}function Fy(e){return e.getFullYear()}function Ly(e){return e.getMonth()}function Iy(e){return new Date(e.getFullYear(),0,1)}function Ny(e){return new Date(e.getFullYear(),11,31)}function Dy(e,t){return Fo(e,t[0])&&$y(e,t[1])}function My(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Fo(e,t){return e.getTime()>t.getTime()}function $y(e,t){return e.getTime()0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=qe(t,n),{aliases:s={},components:o={},directives:i={}}=r,a=Zv(r.defaults),l=ny(r.display,r.ssr),c=Sy(r.theme),u=ay(r.icons),f=hy(r.locale),d=zy(r.date);return{install:h=>{for(const g in i)h.directive(g,i[g]);for(const g in o)h.component(g,o[g]);for(const g in s)h.component(g,dr({...s[g],name:g,aliasName:s[g].name}));if(c.install(h),h.provide(nr,a),h.provide(Ro,l),h.provide(rr,c),h.provide(To,u),h.provide(Jr,f),h.provide(Nl,d),Te&&r.ssr)if(h.$nuxt)h.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:g}=h;h.mount=function(){const w=g(...arguments);return ft(()=>l.update()),h.mount=g,w}}Oi.reset(),h.mixin({computed:{$vuetify(){return ut({defaults:ln.call(this,nr),display:ln.call(this,Ro),theme:ln.call(this,rr),icons:ln.call(this,To),locale:ln.call(this,Jr),date:ln.call(this,Nl)})}}})},defaults:a,display:l,theme:c,icons:u,locale:f,date:d}}const Wy="3.3.10";hf.version=Wy;function ln(e){var r,s;const t=this.$,n=((r=t.parent)==null?void 0:r.provides)??((s=t.vnode.appContext)==null?void 0:s.provides);if(n&&e in n)return n[e]}const Ky=hf({theme:{defaultTheme:"light"},theme:{themes:{light:{colors:{lampa:"#FFFFFF",primary:"#1867C0",secondary:"#5CBBF6",main_theme:"#f7f7f7",scrollbar:"#367F8A",cards:"#F5F5F5",text_carous:"#242424",navigation:"#004D40",black_grey:"#3C3C3C",modal_btn:"#1E88E5",grey:"#7A7A7A",yellow:"#F9A825",more_details_btn:"#01579B",loading_avatar:"#37474F",bg_white:"#FFFFFF",delete_btn:"#546E7A",app_bar:"#004D40",black_and_white:"#FFFFFF"}},dark:{colors:{lampa:"#000000",primary:"#1867C0",secondary:"#5CBBF6",main_theme:"#101311",scrollbar:"#367F8A",cards:"#F5F5F5",text_carous:"#242424",navigation:"#FDF5E6",black_grey:"#3C3C3C",modal_btn:"#1E88E5",grey:"#7A7A7A",yellow:"#F9A825",more_details_btn:"#01579B",loading_avatar:"#37474F",bg_white:"#FFFFFF",delete_btn:"#546E7A",app_bar:"#212121",black_and_white:"#101311"}},options:{customProperties:!0}}}}),qy=jm(),Yy=[{path:"/",component:()=>$e(()=>import("./DefaultPortal-3d054fd1.js"),["assets/DefaultPortal-3d054fd1.js","assets/VBtn-3e30d8f6.js","assets/VBtn-2323aa03.css","assets/VContainer-efd2f5bf.js","assets/VList-1710ecfb.js","assets/VTextarea-86c6c8f9.js","assets/VInput-b34b1163.js","assets/VInput-a9379007.css","assets/VTextarea-41155dd7.css","assets/VList-a4e0cf69.css","assets/VSpacer-fbe6a467.js","assets/VAlert-e3223400.js","assets/VAlert-a473ba34.css","assets/VTooltip-37ca3885.js","assets/VWindowItem-68f94bab.js","assets/VWindowItem-72fb4d35.css","assets/VTooltip-671f28ad.css","assets/DefaultPortal-c48d2679.css"]),children:[{path:"/",name:"HomePage",component:()=>$e(()=>import("./HomePage-2c7c48f9.js"),["assets/HomePage-2c7c48f9.js","assets/VCarouselItem-2e9d7f15.js","assets/VWindowItem-68f94bab.js","assets/VBtn-3e30d8f6.js","assets/VBtn-2323aa03.css","assets/VTextarea-86c6c8f9.js","assets/VInput-b34b1163.js","assets/VInput-a9379007.css","assets/VTextarea-41155dd7.css","assets/VWindowItem-72fb4d35.css","assets/VCarouselItem-149fe76f.css","assets/VContainer-efd2f5bf.js","assets/VTooltip-37ca3885.js","assets/VList-1710ecfb.js","assets/VList-a4e0cf69.css","assets/VTooltip-671f28ad.css","assets/VSelectionControl-32b442ed.js","assets/VSelectionControl-59bfdd15.css","assets/load-round-b73652f0.js","assets/VChip-e811d273.js","assets/VChip-323b10eb.css","assets/VAlert-e3223400.js","assets/VAlert-a473ba34.css","assets/load-round-f06e5e8e.css","assets/HomePage-125db1bc.css"]),meta:{title:"Портал МИ ФНС России по ЦОД №2",ico:"mdi-arrow-top-right"}},{path:"/okib",name:"OKiBPage",component:()=>$e(()=>import("./o_OKiB-0a2c7181.js"),["assets/o_OKiB-0a2c7181.js","assets/load-round-b73652f0.js","assets/VInput-b34b1163.js","assets/VBtn-3e30d8f6.js","assets/VBtn-2323aa03.css","assets/VInput-a9379007.css","assets/VChip-e811d273.js","assets/VChip-323b10eb.css","assets/VAlert-e3223400.js","assets/VAlert-a473ba34.css","assets/load-round-f06e5e8e.css"]),meta:{title:"Отдел кадров и безопасности",ico:"mdi-comment-account-outline"}},{path:"/providing",name:"ProvidingActivitiesPage",component:()=>$e(()=>import("./ProvidingActivitiesPage-69a6a025.js"),["assets/ProvidingActivitiesPage-69a6a025.js","assets/VBtn-3e30d8f6.js","assets/VBtn-2323aa03.css","assets/VContainer-efd2f5bf.js","assets/ProvidingActivitiesPage-d12aecf2.css"]),meta:{title:"Обеспечивающая деятельность",ico:"mdi-bulletin-board"}},{path:"/faq",name:"FAQPage",component:()=>$e(()=>import("./FAQPage-ab96a294.js"),[]),meta:{title:"Часто задаваемые вопросы",ico:"mdi-comment-question-outline"}},{path:"/feedback",name:"FeedbackPage",component:()=>$e(()=>import("./FeedbackPage-d06658df.js"),[]),meta:{title:"Обратная связь",ico:"mdi-thumb-up-outline"}},{path:"/labor",name:"LaborProtection",component:()=>$e(()=>import("./LaborProtection-b57201e2.js"),[]),meta:{title:"Безопасность",ico:"mdi-pharmacy"}},{path:"/securyty",name:"SecurityPage",component:()=>$e(()=>import("./SecurityPage-1e08d502.js"),[]),meta:{title:"Охрана труда",ico:"mdi-ticket"}},{path:"/inspection",name:"AboutInspectionPage",component:()=>$e(()=>import("./AboutInspectionPage-fa37cc96.js"),[]),meta:{title:"Об инспекции",ico:"mdi-city"}},{path:"/portal",name:"AboutPortalPage",component:()=>$e(()=>import("./AboutPortalPage-ebcc1a6f.js"),["assets/AboutPortalPage-ebcc1a6f.js","assets/AboutPortalPage-12dddae5.css"]),meta:{title:"О портале",ico:"mdi-information-variant"}},{path:"/news",name:"AboutNewsPage",component:()=>$e(()=>import("./NewsPage-3a5c7a0d.js"),["assets/NewsPage-3a5c7a0d.js","assets/VBtn-3e30d8f6.js","assets/VBtn-2323aa03.css","assets/VList-1710ecfb.js","assets/VTextarea-86c6c8f9.js","assets/VInput-b34b1163.js","assets/VInput-a9379007.css","assets/VTextarea-41155dd7.css","assets/VList-a4e0cf69.css","assets/VSelectionControl-32b442ed.js","assets/VSelectionControl-59bfdd15.css","assets/VChip-e811d273.js","assets/VChip-323b10eb.css","assets/VSpacer-fbe6a467.js","assets/VAlert-e3223400.js","assets/VAlert-a473ba34.css","assets/NewsPage-9ed76a27.css"]),meta:{title:"Лента новостей",ico:"mdi-newspaper"}},{path:"/userinfo",name:"UsersInfoPage",component:()=>$e(()=>import("./UsersInfoPage-64ac49f0.js"),[]),meta:{title:"Информация о пользователе",ico:"mdi-account"}},{path:"/fnshol",name:"FnsHol.vue",component:()=>$e(()=>import("./FnsHol-10b8ac38.js"),["assets/FnsHol-10b8ac38.js","assets/VCarouselItem-2e9d7f15.js","assets/VWindowItem-68f94bab.js","assets/VBtn-3e30d8f6.js","assets/VBtn-2323aa03.css","assets/VTextarea-86c6c8f9.js","assets/VInput-b34b1163.js","assets/VInput-a9379007.css","assets/VTextarea-41155dd7.css","assets/VWindowItem-72fb4d35.css","assets/VCarouselItem-149fe76f.css","assets/VContainer-efd2f5bf.js","assets/FnsHol-a8a46014.css"]),meta:{title:"К празднику",ico:"mdi-city"}}]}],mf=fv({history:Pg({}.BASE_URL),routes:Yy});mf.beforeEach((e,t,n)=>{document.title=e.meta.title,n()});function Jy(e){vv(),e.use(Ky).use(qy).use(mf)}const Gy=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const Xy=Ie()({name:"VCardActions",props:Xe(),setup(e,t){let{slots:n}=t;return Fi({VBtn:{variant:"text"}}),ht(()=>{var r;return T("div",{class:["v-card-actions",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),Zy=Pi("v-card-subtitle"),Qy=Pi("v-card-title");function Ii(e){return xi(()=>{const t=[],n={};return e.value.background&&(ml(e.value.background)?n.backgroundColor=e.value.background:t.push(`bg-${e.value.background}`)),e.value.text&&(ml(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function pf(e,t){const n=D(()=>({text:me(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:s}=Ii(n);return{textColorClasses:r,textColorStyles:s}}function Lo(e,t){const n=D(()=>({background:me(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:s}=Ii(n);return{backgroundColorClasses:r,backgroundColorStyles:s}}const eb=["x-small","small","default","large","x-large"],gf=oe({size:{type:[String,Number],default:"default"}},"size");function vf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return xi(()=>{let n,r;return Kr(eb,e.size)?n=`${t}--size-${e.size}`:e.size&&(r={width:ce(e.size),height:ce(e.size)}),{sizeClasses:n,sizeStyles:r}})}const xn=oe({tag:{type:String,default:"div"}},"tag"),tb=oe({color:String,start:Boolean,end:Boolean,icon:Gt,...Xe(),...gf(),...xn({tag:"i"}),...hr()},"VIcon"),yf=Ie()({name:"VIcon",props:tb(),setup(e,t){let{attrs:n,slots:r}=t;const s=ve(),{themeClasses:o}=mr(e),{iconData:i}=ly(D(()=>s.value||e.icon)),{sizeClasses:a}=vf(e),{textColorClasses:l,textColorStyles:c}=pf(Zo(e,"color"));return ht(()=>{var f,d;const u=(f=r.default)==null?void 0:f.call(r);return u&&(s.value=(d=Yu(u).filter(m=>m.type===ar&&m.children&&typeof m.children=="string")[0])==null?void 0:d.children),T(i.value.component,{tag:e.tag,icon:i.value.icon,class:["v-icon","notranslate",o.value,a.value,l.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[a.value?void 0:{fontSize:ce(e.size),height:ce(e.size),width:ce(e.size)},c.value,e.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[u]})}),{}}});const Ni=oe({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Di(e){return{dimensionStyles:D(()=>({height:ce(e.height),maxHeight:ce(e.maxHeight),maxWidth:ce(e.maxWidth),minHeight:ce(e.minHeight),minWidth:ce(e.minWidth),width:ce(e.width)}))}}function nb(e){return{aspectStyles:D(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const bf=oe({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Xe(),...Ni()},"VResponsive"),Dl=Ie()({name:"VResponsive",props:bf(),setup(e,t){let{slots:n}=t;const{aspectStyles:r}=nb(e),{dimensionStyles:s}=Di(e);return ht(()=>{var o;return T("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[s.value,e.style]},[T("div",{class:"v-responsive__sizer",style:r.value},null),(o=n.additional)==null?void 0:o.call(n),n.default&&T("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}}),wf=oe({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),Dn=(e,t)=>{let{slots:n}=t;const{transition:r,disabled:s,...o}=e,{component:i=Jt,...a}=typeof r=="object"?r:{};return Nt(i,De(typeof r=="string"?{name:s?"":r}:a,o,{disabled:s}),n)};function rb(e,t){if(!Ti)return;const n=t.modifiers||{},r=t.value,{handler:s,options:o}=typeof r=="object"?r:{handler:r,options:{}},i=new IntersectionObserver(function(){var f;let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const c=(f=e._observe)==null?void 0:f[t.instance.$.uid];if(!c)return;const u=a.some(d=>d.isIntersecting);s&&(!n.quiet||c.init)&&(!n.once||u||c.init)&&s(u,a,l),u&&n.once?_f(e,t):c.init=!0},o);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:i},i.observe(e)}function _f(e,t){var r;const n=(r=e._observe)==null?void 0:r[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const sb={mounted:rb,unmounted:_f},ob=sb,ib=oe({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...bf(),...Xe(),...wf()},"VImg"),Ef=Ie()({name:"VImg",directives:{intersect:ob},props:ib(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:r}=t;const s=xe(""),o=ve(),i=xe(e.eager?"loading":"idle"),a=xe(),l=xe(),c=D(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),u=D(()=>c.value.aspect||a.value/l.value||0);pe(()=>e.src,()=>{f(i.value!=="idle")}),pe(u,(C,k)=>{!C&&k&&o.value&&w(o.value)}),Lc(()=>f());function f(C){if(!(e.eager&&C)&&!(Ti&&!C&&!e.eager)){if(i.value="loading",c.value.lazySrc){const k=new Image;k.src=c.value.lazySrc,w(k,null)}c.value.src&&ft(()=>{var k,B;if(n("loadstart",((k=o.value)==null?void 0:k.currentSrc)||c.value.src),(B=o.value)!=null&&B.complete){if(o.value.naturalWidth||m(),i.value==="error")return;u.value||w(o.value,null),d()}else u.value||w(o.value),h()})}}function d(){var C;h(),i.value="loaded",n("load",((C=o.value)==null?void 0:C.currentSrc)||c.value.src)}function m(){var C;i.value="error",n("error",((C=o.value)==null?void 0:C.currentSrc)||c.value.src)}function h(){const C=o.value;C&&(s.value=C.currentSrc||C.src)}let g=-1;function w(C){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const B=()=>{clearTimeout(g);const{naturalHeight:U,naturalWidth:O}=C;U||O?(a.value=O,l.value=U):!C.complete&&i.value==="loading"&&k!=null?g=window.setTimeout(B,k):(C.currentSrc.endsWith(".svg")||C.currentSrc.startsWith("data:image/svg+xml"))&&(a.value=1,l.value=1)};B()}const _=D(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),E=()=>{var B;if(!c.value.src||i.value==="idle")return null;const C=T("img",{class:["v-img__img",_.value],src:c.value.src,srcset:c.value.srcset,alt:e.alt,sizes:e.sizes,ref:o,onLoad:d,onError:m},null),k=(B=r.sources)==null?void 0:B.call(r);return T(Dn,{transition:e.transition,appear:!0},{default:()=>[Vr(k?T("picture",{class:"v-img__picture"},[k,C]):C,[[ru,i.value==="loaded"]])]})},b=()=>T(Dn,{transition:e.transition},{default:()=>[c.value.lazySrc&&i.value!=="loaded"&&T("img",{class:["v-img__img","v-img__img--preload",_.value],src:c.value.lazySrc,alt:e.alt},null)]}),L=()=>r.placeholder?T(Dn,{transition:e.transition,appear:!0},{default:()=>[(i.value==="loading"||i.value==="error"&&!r.error)&&T("div",{class:"v-img__placeholder"},[r.placeholder()])]}):null,H=()=>r.error?T(Dn,{transition:e.transition,appear:!0},{default:()=>[i.value==="error"&&T("div",{class:"v-img__error"},[r.error()])]}):null,Y=()=>e.gradient?T("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,J=xe(!1);{const C=pe(u,k=>{k&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{J.value=!0})}),C())})}return ht(()=>{const[C]=Dl.filterProps(e);return Vr(T(Dl,De({class:["v-img",{"v-img--booting":!J.value},e.class],style:[{width:ce(e.width==="auto"?a.value:e.width)},e.style]},C,{aspectRatio:u.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>T(ke,null,[T(E,null,null),T(b,null,null),T(Y,null,null),T(L,null,null),T(H,null,null)]),default:r.default}),[[ii("intersect"),{handler:f,options:e.options},null,{once:!0}]])}),{currentSrc:s,image:o,state:i,naturalWidth:a,naturalHeight:l}}}),ab=[null,"default","comfortable","compact"],Mi=oe({density:{type:String,default:"default",validator:e=>ab.includes(e)}},"density");function Sf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return{densityClasses:D(()=>`${t}--density-${e.density}`)}}const $i=oe({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Bi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return{roundedClasses:D(()=>{const r=me(e)?e.value:e.rounded,s=[];if(r===!0||r==="")s.push(`${t}--rounded`);else if(typeof r=="string"||r===0)for(const o of String(r).split(" "))s.push(`rounded-${o}`);return s})}}const lb=["elevated","flat","tonal","outlined","text","plain"];function Cf(e,t){return T(ke,null,[e&&T("span",{key:"overlay",class:`${t}__overlay`},null),T("span",{key:"underlay",class:`${t}__underlay`},null)])}const xf=oe({color:String,variant:{type:String,default:"elevated",validator:e=>lb.includes(e)}},"variant");function Af(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();const n=D(()=>{const{variant:o}=ze(e);return`${t}--variant-${o}`}),{colorClasses:r,colorStyles:s}=Ii(D(()=>{const{variant:o,color:i}=ze(e);return{[["elevated","flat"].includes(o)?"background":"text"]:i}}));return{colorClasses:r,colorStyles:s,variantClasses:n}}const cb=oe({start:Boolean,end:Boolean,icon:Gt,image:String,...Xe(),...Mi(),...$i(),...gf(),...xn(),...hr(),...xf({variant:"flat"})},"VAvatar"),Ml=Ie()({name:"VAvatar",props:cb(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=mr(e),{colorClasses:s,colorStyles:o,variantClasses:i}=Af(e),{densityClasses:a}=Sf(e),{roundedClasses:l}=Bi(e),{sizeClasses:c,sizeStyles:u}=vf(e);return ht(()=>T(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,s.value,a.value,l.value,c.value,i.value,e.class],style:[o.value,u.value,e.style]},{default:()=>{var f;return[e.image?T(Ef,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?T(yf,{key:"icon",icon:e.icon},null):(f=n.default)==null?void 0:f.call(n),Cf(!1,"v-avatar")]}})),{}}}),ub=oe({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Gr=Ie(!1)({name:"VDefaultsProvider",props:ub(),setup(e,t){let{slots:n}=t;const{defaults:r,disabled:s,reset:o,root:i,scoped:a}=is(e);return Fi(r,{reset:o,root:i,scoped:a,disabled:s}),()=>{var l;return(l=n.default)==null?void 0:l.call(n)}}}),fb=oe({appendAvatar:String,appendIcon:Gt,prependAvatar:String,prependIcon:Gt,subtitle:String,title:String,...Xe(),...Mi()},"VCardItem"),db=Ie()({name:"VCardItem",props:fb(),setup(e,t){let{slots:n}=t;return ht(()=>{var c;const r=!!(e.prependAvatar||e.prependIcon),s=!!(r||n.prepend),o=!!(e.appendAvatar||e.appendIcon),i=!!(o||n.append),a=!!(e.title||n.title),l=!!(e.subtitle||n.subtitle);return T("div",{class:["v-card-item",e.class],style:e.style},[s&&T("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?T(Gr,{key:"prepend-defaults",disabled:!r,defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar}}},n.prepend):r&&T(Ml,{key:"prepend-avatar",density:e.density,icon:e.prependIcon,image:e.prependAvatar},null)]),T("div",{class:"v-card-item__content"},[a&&T(Qy,{key:"title"},{default:()=>{var u;return[((u=n.title)==null?void 0:u.call(n))??e.title]}}),l&&T(Zy,{key:"subtitle"},{default:()=>{var u;return[((u=n.subtitle)==null?void 0:u.call(n))??e.subtitle]}}),(c=n.default)==null?void 0:c.call(n)]),i&&T("div",{key:"append",class:"v-card-item__append"},[n.append?T(Gr,{key:"append-defaults",disabled:!o,defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar}}},n.append):o&&T(Ml,{key:"append-avatar",density:e.density,icon:e.appendIcon,image:e.appendAvatar},null)])])}),{}}}),hb=Pi("v-card-text"),mb=oe({border:[Boolean,Number,String]},"border");function pb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return{borderClasses:D(()=>{const r=me(e)?e.value:e.border,s=[];if(r===!0||r==="")s.push(`${t}--border`);else if(typeof r=="string"||r===0)for(const o of String(r).split(" "))s.push(`border-${o}`);return s})}}const gb=oe({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function vb(e){return{elevationClasses:D(()=>{const n=me(e)?e.value:e.elevation,r=[];return n==null||r.push(`elevation-${n}`),r})}}function yb(e,t){const n=ve(),r=xe(!1);if(Ti){const s=new IntersectionObserver(o=>{e==null||e(o,s),r.value=!!o.find(i=>i.isIntersecting)},t);si(()=>{s.disconnect()}),pe(n,(o,i)=>{i&&(s.unobserve(i),r.value=!1),o&&s.observe(o)},{flush:"post"})}return{intersectionRef:n,isIntersecting:r}}const $l={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Pf=oe({location:String},"location");function Of(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:r}=Li();return{locationStyles:D(()=>{if(!e.location)return{};const{side:o,align:i}=Po(e.location.split(" ").length>1?e.location:`${e.location} center`,r.value);function a(c){return n?n(c):0}const l={};return o!=="center"&&(t?l[$l[o]]=`calc(100% - ${a(o)}px)`:l[o]=0),i!=="center"?t?l[$l[i]]=`calc(100% - ${a(i)}px)`:l[i]=0:(o==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[o]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[o]),l})}}const bb=oe({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Xe(),...Pf({location:"top"}),...$i(),...xn(),...hr()},"VProgressLinear"),wb=Ie()({name:"VProgressLinear",props:bb(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=Ps(e,"modelValue"),{isRtl:s,rtlClasses:o}=Li(),{themeClasses:i}=mr(e),{locationStyles:a}=Of(e),{textColorClasses:l,textColorStyles:c}=pf(e,"color"),{backgroundColorClasses:u,backgroundColorStyles:f}=Lo(D(()=>e.bgColor||e.color)),{backgroundColorClasses:d,backgroundColorStyles:m}=Lo(e,"color"),{roundedClasses:h}=Bi(e),{intersectionRef:g,isIntersecting:w}=yb(),_=D(()=>parseInt(e.max,10)),E=D(()=>parseInt(e.height,10)),b=D(()=>parseFloat(e.bufferValue)/_.value*100),L=D(()=>parseFloat(r.value)/_.value*100),H=D(()=>s.value!==e.reverse),Y=D(()=>e.indeterminate?"fade-transition":"slide-x-transition"),J=D(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function C(k){if(!g.value)return;const{left:B,right:U,width:O}=g.value.getBoundingClientRect(),j=H.value?O-k.clientX+(U-O):k.clientX-B;r.value=Math.round(j/O*_.value)}return ht(()=>T(e.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&w.value,"v-progress-linear--reverse":H.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},h.value,i.value,o.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?ce(E.value):0,"--v-progress-linear-height":ce(E.value),...a.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:L.value,onClick:e.clickable&&C},{default:()=>[e.stream&&T("div",{key:"stream",class:["v-progress-linear__stream",l.value],style:{...c.value,[H.value?"left":"right"]:ce(-E.value),borderTop:`${ce(E.value/2)} dotted`,opacity:J.value,top:`calc(50% - ${ce(E.value/4)})`,width:ce(100-b.value,"%"),"--v-progress-linear-stream-to":ce(E.value*(H.value?1:-1))}},null),T("div",{class:["v-progress-linear__background",u.value],style:[f.value,{opacity:J.value,width:ce(e.stream?b.value:100,"%")}]},null),T(Jt,{name:Y.value},{default:()=>[e.indeterminate?T("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(k=>T("div",{key:k,class:["v-progress-linear__indeterminate",k,d.value],style:m.value},null))]):T("div",{class:["v-progress-linear__determinate",d.value],style:[m.value,{width:ce(L.value,"%")}]},null)]}),n.default&&T("div",{class:"v-progress-linear__content"},[n.default({value:L.value,buffer:b.value})])]})),{}}}),_b=oe({loading:[Boolean,String]},"loader");function Eb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return{loaderClasses:D(()=>({[`${t}--loading`]:e.loading}))}}function Sb(e,t){var r;let{slots:n}=t;return T("div",{class:`${e.name}__loader`},[((r=n.default)==null?void 0:r.call(n,{color:e.color,isActive:e.active}))||T(wb,{active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const Cb=["static","relative","fixed","absolute","sticky"],xb=oe({position:{type:String,validator:e=>Cb.includes(e)}},"position");function Ab(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return{positionClasses:D(()=>e.position?`${t}--${e.position}`:void 0)}}function Pb(){var e,t;return(t=(e=Ze("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function Ob(e,t){const n=yh("RouterLink"),r=D(()=>!!(e.href||e.to)),s=D(()=>(r==null?void 0:r.value)||cl(t,"click")||cl(e,"click"));if(typeof n=="string")return{isLink:r,isClickable:s,href:Zo(e,"href")};const o=e.to?n.useLink(e):void 0;return{isLink:r,isClickable:s,route:o==null?void 0:o.route,navigate:o==null?void 0:o.navigate,isActive:o&&D(()=>{var i,a;return e.exact?(i=o.isExactActive)==null?void 0:i.value:(a=o.isActive)==null?void 0:a.value}),href:D(()=>e.to?o==null?void 0:o.route.value.href:e.href)}}const Rb=oe({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Ys=!1;function Tb(e,t){let n=!1,r,s;Te&&(ft(()=>{window.addEventListener("popstate",o),r=e==null?void 0:e.beforeEach((i,a,l)=>{Ys?n?t(l):l():setTimeout(()=>n?t(l):l()),Ys=!0}),s=e==null?void 0:e.afterEach(()=>{Ys=!1})}),We(()=>{window.removeEventListener("popstate",o),r==null||r(),s==null||s()}));function o(i){var a;(a=i.state)!=null&&a.replaced||(n=!0,setTimeout(()=>n=!1))}}const Io=Symbol("rippleStop"),kb=80;function Bl(e,t){e.style.transform=t,e.style.webkitTransform=t}function No(e){return e.constructor.name==="TouchEvent"}function Rf(e){return e.constructor.name==="KeyboardEvent"}const Fb=function(e,t){var f;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=0,s=0;if(!Rf(e)){const d=t.getBoundingClientRect(),m=No(e)?e.touches[e.touches.length-1]:e;r=m.clientX-d.left,s=m.clientY-d.top}let o=0,i=.3;(f=t._ripple)!=null&&f.circle?(i=.15,o=t.clientWidth/2,o=n.center?o:o+Math.sqrt((r-o)**2+(s-o)**2)/4):o=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const a=`${(t.clientWidth-o*2)/2}px`,l=`${(t.clientHeight-o*2)/2}px`,c=n.center?a:`${r-o}px`,u=n.center?l:`${s-o}px`;return{radius:o,scale:i,x:c,y:u,centerX:a,centerY:l}},Xr={show(e,t){var m;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=t==null?void 0:t._ripple)!=null&&m.enabled))return;const r=document.createElement("span"),s=document.createElement("span");r.appendChild(s),r.className="v-ripple__container",n.class&&(r.className+=` ${n.class}`);const{radius:o,scale:i,x:a,y:l,centerX:c,centerY:u}=Fb(e,t,n),f=`${o*2}px`;s.className="v-ripple__animation",s.style.width=f,s.style.height=f,t.appendChild(r);const d=window.getComputedStyle(t);d&&d.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),s.classList.add("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--visible"),Bl(s,`translate(${a}, ${l}) scale3d(${i},${i},${i})`),s.dataset.activated=String(performance.now()),setTimeout(()=>{s.classList.remove("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--in"),Bl(s,`translate(${c}, ${u}) scale3d(1,1,1)`)},0)},hide(e){var o;if(!((o=e==null?void 0:e._ripple)!=null&&o.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const r=performance.now()-Number(n.dataset.activated),s=Math.max(250-r,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var a;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((a=n.parentNode)==null?void 0:a.parentNode)===e&&e.removeChild(n.parentNode)},300)},s)}};function Tf(e){return typeof e>"u"||!!e}function sr(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[Io])){if(e[Io]=!0,No(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||Rf(e),n._ripple.class&&(t.class=n._ripple.class),No(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Xr.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var r;(r=n==null?void 0:n._ripple)!=null&&r.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},kb)}else Xr.show(e,n,t)}}function jl(e){e[Io]=!0}function Ue(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{Ue(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),Xr.hide(t)}}function kf(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let or=!1;function Ff(e){!or&&(e.keyCode===al.enter||e.keyCode===al.space)&&(or=!0,sr(e))}function Lf(e){or=!1,Ue(e)}function If(e){or&&(or=!1,Ue(e))}function Nf(e,t,n){const{value:r,modifiers:s}=t,o=Tf(r);if(o||Xr.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=o,e._ripple.centered=s.center,e._ripple.circle=s.circle,Co(r)&&r.class&&(e._ripple.class=r.class),o&&!n){if(s.stop){e.addEventListener("touchstart",jl,{passive:!0}),e.addEventListener("mousedown",jl);return}e.addEventListener("touchstart",sr,{passive:!0}),e.addEventListener("touchend",Ue,{passive:!0}),e.addEventListener("touchmove",kf,{passive:!0}),e.addEventListener("touchcancel",Ue),e.addEventListener("mousedown",sr),e.addEventListener("mouseup",Ue),e.addEventListener("mouseleave",Ue),e.addEventListener("keydown",Ff),e.addEventListener("keyup",Lf),e.addEventListener("blur",If),e.addEventListener("dragstart",Ue,{passive:!0})}else!o&&n&&Df(e)}function Df(e){e.removeEventListener("mousedown",sr),e.removeEventListener("touchstart",sr),e.removeEventListener("touchend",Ue),e.removeEventListener("touchmove",kf),e.removeEventListener("touchcancel",Ue),e.removeEventListener("mouseup",Ue),e.removeEventListener("mouseleave",Ue),e.removeEventListener("keydown",Ff),e.removeEventListener("keyup",Lf),e.removeEventListener("dragstart",Ue),e.removeEventListener("blur",If)}function Lb(e,t){Nf(e,t,!1)}function Ib(e){delete e._ripple,Df(e)}function Nb(e,t){if(t.value===t.oldValue)return;const n=Tf(t.oldValue);Nf(e,t,n)}const Db={mounted:Lb,unmounted:Ib,updated:Nb},Mb=oe({appendAvatar:String,appendIcon:Gt,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Gt,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...mb(),...Xe(),...Mi(),...Ni(),...gb(),..._b(),...Pf(),...xb(),...$i(),...Rb(),...xn(),...hr(),...xf({variant:"elevated"})},"VCard"),$b=Ie()({name:"VCard",directives:{Ripple:Db},props:Mb(),setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:s}=mr(e),{borderClasses:o}=pb(e),{colorClasses:i,colorStyles:a,variantClasses:l}=Af(e),{densityClasses:c}=Sf(e),{dimensionStyles:u}=Di(e),{elevationClasses:f}=vb(e),{loaderClasses:d}=Eb(e),{locationStyles:m}=Of(e),{positionClasses:h}=Ab(e),{roundedClasses:g}=Bi(e),w=Ob(e,n),_=D(()=>e.link!==!1&&w.isLink.value),E=D(()=>!e.disabled&&e.link!==!1&&(e.link||w.isClickable.value));return ht(()=>{const b=_.value?"a":e.tag,L=!!(r.title||e.title),H=!!(r.subtitle||e.subtitle),Y=L||H,J=!!(r.append||e.appendAvatar||e.appendIcon),C=!!(r.prepend||e.prependAvatar||e.prependIcon),k=!!(r.image||e.image),B=Y||C||J,U=!!(r.text||e.text);return Vr(T(b,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":E.value},s.value,o.value,i.value,c.value,f.value,d.value,h.value,g.value,l.value,e.class],style:[a.value,u.value,m.value,e.style],href:w.href.value,onClick:E.value&&w.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var O;return[k&&T("div",{key:"image",class:"v-card__image"},[r.image?T(Gr,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):T(Ef,{key:"image-img",cover:!0,src:e.image},null)]),T(Sb,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:r.loader}),B&&T(db,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:r.item,prepend:r.prepend,title:r.title,subtitle:r.subtitle,append:r.append}),U&&T(hb,{key:"text"},{default:()=>{var j;return[((j=r.text)==null?void 0:j.call(r))??e.text]}}),(O=r.default)==null?void 0:O.call(r),r.actions&&T(Xy,null,{default:r.actions}),Cf(E.value,"v-card")]}}),[[ii("ripple"),E.value&&e.ripple]])}),{}}});const Mf=(()=>xs.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}))(),$f=(()=>xs.reduce((e,t)=>{const n="offset"+bt(t);return e[n]={type:[String,Number],default:null},e},{}))(),Bf=(()=>xs.reduce((e,t)=>{const n="order"+bt(t);return e[n]={type:[String,Number],default:null},e},{}))(),Vl={col:Object.keys(Mf),offset:Object.keys($f),order:Object.keys(Bf)};function Bb(e,t,n){let r=e;if(!(n==null||n===!1)){if(t){const s=t.replace(e,"");r+=`-${s}`}return e==="col"&&(r="v-"+r),e==="col"&&(n===""||n===!0)||(r+=`-${n}`),r.toLowerCase()}}const jb=["auto","start","end","center","baseline","stretch"],Vb=oe({cols:{type:[Boolean,String,Number],default:!1},...Mf,offset:{type:[String,Number],default:null},...$f,order:{type:[String,Number],default:null},...Bf,alignSelf:{type:String,default:null,validator:e=>jb.includes(e)},...Xe(),...xn()},"VCol"),Hb=Ie()({name:"VCol",props:Vb(),setup(e,t){let{slots:n}=t;const r=D(()=>{const s=[];let o;for(o in Vl)Vl[o].forEach(a=>{const l=e[a],c=Bb(o,a,l);c&&s.push(c)});const i=s.some(a=>a.startsWith("v-col-"));return s.push({"v-col":!i||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),s});return()=>{var s;return Nt(e.tag,{class:[r.value,e.class],style:e.style},(s=n.default)==null?void 0:s.call(n))}}}),ji=["start","end","center"],jf=["space-between","space-around","space-evenly"];function Vi(e,t){return xs.reduce((n,r)=>{const s=e+bt(r);return n[s]=t(),n},{})}const Ub=[...ji,"baseline","stretch"],Vf=e=>Ub.includes(e),Hf=Vi("align",()=>({type:String,default:null,validator:Vf})),zb=[...ji,...jf],Uf=e=>zb.includes(e),zf=Vi("justify",()=>({type:String,default:null,validator:Uf})),Wb=[...ji,...jf,"stretch"],Wf=e=>Wb.includes(e),Kf=Vi("alignContent",()=>({type:String,default:null,validator:Wf})),Hl={align:Object.keys(Hf),justify:Object.keys(zf),alignContent:Object.keys(Kf)},Kb={align:"align",justify:"justify",alignContent:"align-content"};function qb(e,t,n){let r=Kb[e];if(n!=null){if(t){const s=t.replace(e,"");r+=`-${s}`}return r+=`-${n}`,r.toLowerCase()}}const Yb=oe({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Vf},...Hf,justify:{type:String,default:null,validator:Uf},...zf,alignContent:{type:String,default:null,validator:Wf},...Kf,...Xe(),...xn()},"VRow"),Jb=Ie()({name:"VRow",props:Yb(),setup(e,t){let{slots:n}=t;const r=D(()=>{const s=[];let o;for(o in Hl)Hl[o].forEach(i=>{const a=e[i],l=qb(o,i,a);l&&s.push(l)});return s.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),s});return()=>{var s;return Nt(e.tag,{class:["v-row",r.value,e.class],style:e.style},(s=n.default)==null?void 0:s.call(n))}}});const Gb=oe({target:Object},"v-dialog-transition"),Xb=Ie()({name:"VDialogTransition",props:Gb(),setup(e,t){let{slots:n}=t;const r={onBeforeEnter(s){s.style.pointerEvents="none",s.style.visibility="hidden"},async onEnter(s,o){var d;await new Promise(m=>requestAnimationFrame(m)),await new Promise(m=>requestAnimationFrame(m)),s.style.visibility="";const{x:i,y:a,sx:l,sy:c,speed:u}=zl(e.target,s),f=Nn(s,[{transform:`translate(${i}px, ${a}px) scale(${l}, ${c})`,opacity:0},{}],{duration:225*u,easing:zv});(d=Ul(s))==null||d.forEach(m=>{Nn(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*u,easing:Oo})}),f.finished.then(()=>o())},onAfterEnter(s){s.style.removeProperty("pointer-events")},onBeforeLeave(s){s.style.pointerEvents="none"},async onLeave(s,o){var d;await new Promise(m=>requestAnimationFrame(m));const{x:i,y:a,sx:l,sy:c,speed:u}=zl(e.target,s);Nn(s,[{},{transform:`translate(${i}px, ${a}px) scale(${l}, ${c})`,opacity:0}],{duration:125*u,easing:Wv}).finished.then(()=>o()),(d=Ul(s))==null||d.forEach(m=>{Nn(m,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*u,easing:Oo})})},onAfterLeave(s){s.style.removeProperty("pointer-events")}};return()=>e.target?T(Jt,De({name:"dialog-transition"},r,{css:!1}),n):T(Jt,{name:"dialog-transition"},n)}});function Ul(e){var n;const t=(n=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return t&&[...t]}function zl(e,t){const n=e.getBoundingClientRect(),r=Zu(t),[s,o]=getComputedStyle(t).transformOrigin.split(" ").map(_=>parseFloat(_)),[i,a]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=n.left+n.width/2;i==="left"||a==="left"?l-=n.width/2:(i==="right"||a==="right")&&(l+=n.width/2);let c=n.top+n.height/2;i==="top"||a==="top"?c-=n.height/2:(i==="bottom"||a==="bottom")&&(c+=n.height/2);const u=n.width/r.width,f=n.height/r.height,d=Math.max(1,u,f),m=u/d||0,h=f/d||0,g=r.width*r.height/(window.innerWidth*window.innerHeight),w=g>.12?Math.min(1.5,(g-.12)*10+1):1;return{x:l-(s+r.left),y:c-(o+r.top),sx:m,sy:h,speed:w}}function Js(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Zb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Wl(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:r}=e,s=r==="left"?0:r==="center"?t.width/2:r==="right"?t.width:r,o=n==="top"?0:n==="bottom"?t.height:n;return Js({x:s,y:o},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:r}=e,s=n==="left"?0:n==="right"?t.width:n,o=r==="top"?0:r==="center"?t.height/2:r==="bottom"?t.height:r;return Js({x:s,y:o},t)}return Js({x:t.width/2,y:t.height/2},t)}const qf={static:t0,connected:r0},Qb=oe({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in qf},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function e0(e,t){const n=ve({}),r=ve();Te&&(fr(()=>!!(t.isActive.value&&e.locationStrategy),o=>{var i,a;pe(()=>e.locationStrategy,o),We(()=>{r.value=void 0}),typeof e.locationStrategy=="function"?r.value=(i=e.locationStrategy(t,e,n))==null?void 0:i.updateLocation:r.value=(a=qf[e.locationStrategy](t,e,n))==null?void 0:a.updateLocation}),window.addEventListener("resize",s,{passive:!0}),We(()=>{window.removeEventListener("resize",s),r.value=void 0}));function s(o){var i;(i=r.value)==null||i.call(r,o)}return{contentStyles:n,updateLocation:r}}function t0(){}function n0(e,t){t?e.style.removeProperty("left"):e.style.removeProperty("right");const n=Zu(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function r0(e,t,n){Xv(e.activatorEl.value)&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:s,preferredOrigin:o}=xi(()=>{const h=Po(t.location,e.isRtl.value),g=t.origin==="overlap"?h:t.origin==="auto"?Ws(h):Po(t.origin,e.isRtl.value);return h.side===g.side&&h.align===Ks(g).align?{preferredAnchor:fl(h),preferredOrigin:fl(g)}:{preferredAnchor:h,preferredOrigin:g}}),[i,a,l,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(h=>D(()=>{const g=parseFloat(t[h]);return isNaN(g)?1/0:g})),u=D(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const h=t.offset.split(" ").map(parseFloat);return h.length<2&&h.push(0),h}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let f=!1;const d=new ResizeObserver(()=>{f&&m()});pe([e.activatorEl,e.contentEl],(h,g)=>{let[w,_]=h,[E,b]=g;E&&d.unobserve(E),w&&d.observe(w),b&&d.unobserve(b),_&&d.observe(_)},{immediate:!0}),We(()=>{d.disconnect()});function m(){if(f=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>f=!0)}),!e.activatorEl.value||!e.contentEl.value)return;const h=e.activatorEl.value.getBoundingClientRect(),g=n0(e.contentEl.value,e.isRtl.value),w=Yr(e.contentEl.value),_=12;w.length||(w.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const E=w.reduce((U,O)=>{const j=O.getBoundingClientRect(),te=new gn({x:O===document.documentElement?0:j.x,y:O===document.documentElement?0:j.y,width:O.clientWidth,height:O.clientHeight});return U?new gn({x:Math.max(U.left,te.left),y:Math.max(U.top,te.top),width:Math.min(U.right,te.right)-Math.max(U.left,te.left),height:Math.min(U.bottom,te.bottom)-Math.max(U.top,te.top)}):te},void 0);E.x+=_,E.y+=_,E.width-=_*2,E.height-=_*2;let b={anchor:s.value,origin:o.value};function L(U){const O=new gn(g),j=Wl(U.anchor,h),te=Wl(U.origin,O);let{x:he,y:Z}=Zb(j,te);switch(U.anchor.side){case"top":Z-=u.value[0];break;case"bottom":Z+=u.value[0];break;case"left":he-=u.value[0];break;case"right":he+=u.value[0];break}switch(U.anchor.align){case"top":Z-=u.value[1];break;case"bottom":Z+=u.value[1];break;case"left":he-=u.value[1];break;case"right":he+=u.value[1];break}return O.x+=he,O.y+=Z,O.width=Math.min(O.width,l.value),O.height=Math.min(O.height,c.value),{overflows:hl(O,E),x:he,y:Z}}let H=0,Y=0;const J={x:0,y:0},C={x:!1,y:!1};let k=-1;for(;!(k++>10);){const{x:U,y:O,overflows:j}=L(b);H+=U,Y+=O,g.x+=U,g.y+=O;{const te=dl(b.anchor),he=j.x.before||j.x.after,Z=j.y.before||j.y.after;let ie=!1;if(["x","y"].forEach(X=>{if(X==="x"&&he&&!C.x||X==="y"&&Z&&!C.y){const se={anchor:{...b.anchor},origin:{...b.origin}},Ee=X==="x"?te==="y"?Ks:Ws:te==="y"?Ws:Ks;se.anchor=Ee(se.anchor),se.origin=Ee(se.origin);const{overflows:Oe}=L(se);(Oe[X].before<=j[X].before&&Oe[X].after<=j[X].after||Oe[X].before+Oe[X].after<(j[X].before+j[X].after)/2)&&(b=se,ie=C[X]=!0)}}),ie)continue}j.x.before&&(H+=j.x.before,g.x+=j.x.before),j.x.after&&(H-=j.x.after,g.x-=j.x.after),j.y.before&&(Y+=j.y.before,g.y+=j.y.before),j.y.after&&(Y-=j.y.after,g.y-=j.y.after);{const te=hl(g,E);J.x=E.width-te.x.before-te.x.after,J.y=E.height-te.y.before-te.y.after,H+=te.x.before,g.x+=te.x.before,Y+=te.y.before,g.y+=te.y.before}break}const B=dl(b.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:ce(Gs(Y)),left:e.isRtl.value?void 0:ce(Gs(H)),right:e.isRtl.value?ce(Gs(-H)):void 0,minWidth:ce(B==="y"?Math.min(i.value,h.width):i.value),maxWidth:ce(Kl(xo(J.x,i.value===1/0?0:i.value,l.value))),maxHeight:ce(Kl(xo(J.y,a.value===1/0?0:a.value,c.value)))}),{available:J,contentBox:g}}return pe(()=>[s.value,o.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>m()),ft(()=>{const h=m();if(!h)return;const{available:g,contentBox:w}=h;w.height>g.y&&requestAnimationFrame(()=>{m(),requestAnimationFrame(()=>{m()})})}),{updateLocation:m}}function Gs(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Kl(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let Do=!0;const Zr=[];function s0(e){!Do||Zr.length?(Zr.push(e),Mo()):(Do=!1,e(),Mo())}let ql=-1;function Mo(){cancelAnimationFrame(ql),ql=requestAnimationFrame(()=>{const e=Zr.shift();e&&e(),Zr.length?Mo():Do=!0})}const Dr={none:null,close:a0,block:l0,reposition:c0},o0=oe({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Dr}},"VOverlay-scroll-strategies");function i0(e,t){if(!Te)return;let n;Zt(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=ir(),await ft(),n.active&&n.run(()=>{var r;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(r=Dr[e.scrollStrategy])==null||r.call(Dr,t,e,n)}))}),We(()=>{n==null||n.stop()})}function a0(e){function t(n){e.isActive.value=!1}Yf(e.activatorEl.value??e.contentEl.value,t)}function l0(e,t){var i;const n=(i=e.root.value)==null?void 0:i.offsetParent,r=[...new Set([...Yr(e.activatorEl.value,t.contained?n:void 0),...Yr(e.contentEl.value,t.contained?n:void 0)])].filter(a=>!a.classList.contains("v-overlay-scroll-blocked")),s=window.innerWidth-document.documentElement.offsetWidth,o=(a=>Ri(a)&&a)(n||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),r.forEach((a,l)=>{a.style.setProperty("--v-body-scroll-x",ce(-a.scrollLeft)),a.style.setProperty("--v-body-scroll-y",ce(-a.scrollTop)),a!==document.documentElement&&a.style.setProperty("--v-scrollbar-offset",ce(s)),a.classList.add("v-overlay-scroll-blocked")}),We(()=>{r.forEach((a,l)=>{const c=parseFloat(a.style.getPropertyValue("--v-body-scroll-x")),u=parseFloat(a.style.getPropertyValue("--v-body-scroll-y"));a.style.removeProperty("--v-body-scroll-x"),a.style.removeProperty("--v-body-scroll-y"),a.style.removeProperty("--v-scrollbar-offset"),a.classList.remove("v-overlay-scroll-blocked"),a.scrollLeft=-c,a.scrollTop=-u}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function c0(e,t,n){let r=!1,s=-1,o=-1;function i(a){s0(()=>{var u,f;const l=performance.now();(f=(u=e.updateLocation).value)==null||f.call(u,a),r=(performance.now()-l)/(1e3/60)>2})}o=(typeof requestIdleCallback>"u"?a=>a():requestIdleCallback)(()=>{n.run(()=>{Yf(e.activatorEl.value??e.contentEl.value,a=>{r?(cancelAnimationFrame(s),s=requestAnimationFrame(()=>{s=requestAnimationFrame(()=>{i(a)})})):i(a)})})}),We(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(o),cancelAnimationFrame(s)})}function Yf(e,t){const n=[document,...Yr(e)];n.forEach(r=>{r.addEventListener("scroll",t,{passive:!0})}),We(()=>{n.forEach(r=>{r.removeEventListener("scroll",t)})})}const $o=Symbol.for("vuetify:v-menu"),u0=oe({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function f0(e,t){const n={},r=s=>()=>{if(!Te)return Promise.resolve(!0);const o=s==="openDelay";return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise(i=>{const a=parseInt(e[s]??0,10);n[s]=window.setTimeout(()=>{t==null||t(o),i(o)},a)})};return{runCloseDelay:r("closeDelay"),runOpenDelay:r("openDelay")}}const d0=oe({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...u0()},"VOverlay-activator");function h0(e,t){let{isActive:n,isTop:r}=t;const s=ve();let o=!1,i=!1,a=!0;const l=D(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),c=D(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!l.value),{runOpenDelay:u,runCloseDelay:f}=f0(e,b=>{b===(e.openOnHover&&o||l.value&&i)&&!(e.openOnHover&&n.value&&!r.value)&&(n.value!==b&&(a=!0),n.value=b)}),d={onClick:b=>{b.stopPropagation(),s.value=b.currentTarget||b.target,n.value=!n.value},onMouseenter:b=>{var L;(L=b.sourceCapabilities)!=null&&L.firesTouchEvents||(o=!0,s.value=b.currentTarget||b.target,u())},onMouseleave:b=>{o=!1,f()},onFocus:b=>{Jv&&!b.target.matches(":focus-visible")||(i=!0,b.stopPropagation(),s.value=b.currentTarget||b.target,u())},onBlur:b=>{i=!1,b.stopPropagation(),f()}},m=D(()=>{const b={};return c.value&&(b.onClick=d.onClick),e.openOnHover&&(b.onMouseenter=d.onMouseenter,b.onMouseleave=d.onMouseleave),l.value&&(b.onFocus=d.onFocus,b.onBlur=d.onBlur),b}),h=D(()=>{const b={};if(e.openOnHover&&(b.onMouseenter=()=>{o=!0,u()},b.onMouseleave=()=>{o=!1,f()}),l.value&&(b.onFocusin=()=>{i=!0,u()},b.onFocusout=()=>{i=!1,f()}),e.closeOnContentClick){const L=_e($o,null);b.onClick=()=>{n.value=!1,L==null||L.closeParents()}}return b}),g=D(()=>{const b={};return e.openOnHover&&(b.onMouseenter=()=>{a&&(o=!0,a=!1,u())},b.onMouseleave=()=>{o=!1,f()}),b});pe(r,b=>{b&&(e.openOnHover&&!o&&(!l.value||!i)||l.value&&!i&&(!e.openOnHover||!o))&&(n.value=!1)});const w=ve();Zt(()=>{w.value&&ft(()=>{s.value=Sv(w.value)})});const _=Ze("useActivator");let E;return pe(()=>!!e.activator,b=>{b&&Te?(E=ir(),E.run(()=>{m0(e,_,{activatorEl:s,activatorEvents:m})})):E&&E.stop()},{flush:"post",immediate:!0}),We(()=>{E==null||E.stop()}),{activatorEl:s,activatorRef:w,activatorEvents:m,contentEvents:h,scrimEvents:g}}function m0(e,t,n){let{activatorEl:r,activatorEvents:s}=n;pe(()=>e.activator,(l,c)=>{if(c&&l!==c){const u=a(c);u&&i(u)}l&&ft(()=>o())},{immediate:!0}),pe(()=>e.activatorProps,()=>{o()}),We(()=>{i()});function o(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&Rv(l,De(s.value,c))}function i(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&Tv(l,De(s.value,c))}function a(){var u,f;let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator,c;if(l)if(l==="parent"){let d=(f=(u=t==null?void 0:t.proxy)==null?void 0:u.$el)==null?void 0:f.parentNode;for(;d.hasAttribute("data-no-activator");)d=d.parentNode;c=d}else typeof l=="string"?c=document.querySelector(l):"$el"in l?c=l.$el:c=l;return r.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:null,r.value}}function p0(){if(!Te)return xe(!1);const{ssr:e}=ry();if(e){const t=xe(!1);return ri(()=>{t.value=!0}),t}else return xe(!0)}const g0=oe({eager:Boolean},"lazy");function v0(e,t){const n=xe(!1),r=D(()=>n.value||e.eager||t.value);pe(t,()=>n.value=!0);function s(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:r,onAfterLeave:s}}function Jf(){const t=Ze("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const Yl=Symbol.for("vuetify:stack"),Fn=ut([]);function y0(e,t,n){const r=Ze("useStack"),s=!n,o=_e(Yl,void 0),i=ut({activeChildren:new Set});Ft(Yl,i);const a=xe(+t.value);fr(e,()=>{var f;const u=(f=Fn.at(-1))==null?void 0:f[1];a.value=u?u+10:+t.value,s&&Fn.push([r.uid,a.value]),o==null||o.activeChildren.add(r.uid),We(()=>{if(s){const d=ne(Fn).findIndex(m=>m[0]===r.uid);Fn.splice(d,1)}o==null||o.activeChildren.delete(r.uid)})});const l=xe(!0);s&&Zt(()=>{var f;const u=((f=Fn.at(-1))==null?void 0:f[0])===r.uid;setTimeout(()=>l.value=u)});const c=D(()=>!i.activeChildren.size);return{globalTop:Jo(l),localTop:c,stackStyles:D(()=>({zIndex:a.value}))}}function b0(e){return{teleportTarget:D(()=>{const n=e.value;if(n===!0||!Te)return;const r=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(r==null)return;let s=r.querySelector(":scope > .v-overlay-container");return s||(s=document.createElement("div"),s.className="v-overlay-container",r.appendChild(s)),s})}}function w0(){return!0}function Gf(e,t,n){if(!e||Xf(e,n)===!1)return!1;const r=rf(t);if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&r.host===e.target)return!1;const s=(typeof n.value=="object"&&n.value.include||(()=>[]))();return s.push(t),!s.some(o=>o==null?void 0:o.contains(e.target))}function Xf(e,t){return(typeof t.value=="object"&&t.value.closeConditional||w0)(e)}function _0(e,t,n){const r=typeof n.value=="function"?n.value:n.value.handler;t._clickOutside.lastMousedownWasOutside&&Gf(e,t,n)&&setTimeout(()=>{Xf(e,n)&&r&&r(e)},0)}function Jl(e,t){const n=rf(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const E0={mounted(e,t){const n=s=>_0(s,e,t),r=s=>{e._clickOutside.lastMousedownWasOutside=Gf(s,e,t)};Jl(e,s=>{s.addEventListener("click",n,!0),s.addEventListener("mousedown",r,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:r}},unmounted(e,t){e._clickOutside&&(Jl(e,n=>{var o;if(!n||!((o=e._clickOutside)!=null&&o[t.instance.$.uid]))return;const{onClick:r,onMousedown:s}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",r,!0),n.removeEventListener("mousedown",s,!0)}),delete e._clickOutside[t.instance.$.uid])}};function S0(e){const{modelValue:t,color:n,...r}=e;return T(Jt,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&T("div",De({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},r),null)]})}const Zf=oe({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...d0(),...Xe(),...Ni(),...g0(),...Qb(),...o0(),...hr(),...wf()},"VOverlay"),Gl=Ie()({name:"VOverlay",directives:{ClickOutside:E0},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Zf()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:r,emit:s}=t;const o=Ps(e,"modelValue"),i=D({get:()=>o.value,set:se=>{se&&e.disabled||(o.value=se)}}),{teleportTarget:a}=b0(D(()=>e.attach||e.contained)),{themeClasses:l}=mr(e),{rtlClasses:c,isRtl:u}=Li(),{hasContent:f,onAfterLeave:d}=v0(e,i),m=Lo(D(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:h,localTop:g,stackStyles:w}=y0(i,Zo(e,"zIndex"),e._disableGlobalStack),{activatorEl:_,activatorRef:E,activatorEvents:b,contentEvents:L,scrimEvents:H}=h0(e,{isActive:i,isTop:g}),{dimensionStyles:Y}=Di(e),J=p0(),{scopeId:C}=Jf();pe(()=>e.disabled,se=>{se&&(i.value=!1)});const k=ve(),B=ve(),{contentStyles:U,updateLocation:O}=e0(e,{isRtl:u,contentEl:B,activatorEl:_,isActive:i});i0(e,{root:k,contentEl:B,activatorEl:_,isActive:i,updateLocation:O});function j(se){s("click:outside",se),e.persistent?X():i.value=!1}function te(){return i.value&&h.value}Te&&pe(i,se=>{se?window.addEventListener("keydown",he):window.removeEventListener("keydown",he)},{immediate:!0});function he(se){var Ee,Oe;se.key==="Escape"&&h.value&&(e.persistent?X():(i.value=!1,(Ee=B.value)!=null&&Ee.contains(document.activeElement)&&((Oe=_.value)==null||Oe.focus())))}const Z=Pb();fr(()=>e.closeOnBack,()=>{Tb(Z,se=>{h.value&&i.value?(se(!1),e.persistent?X():i.value=!1):se()})});const ie=ve();pe(()=>i.value&&(e.absolute||e.contained)&&a.value==null,se=>{if(se){const Ee=Kv(k.value);Ee&&Ee!==document.scrollingElement&&(ie.value=Ee.scrollTop)}});function X(){e.noClickAnimation||B.value&&Nn(B.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Oo})}return ht(()=>{var se;return T(ke,null,[(se=n.activator)==null?void 0:se.call(n,{isActive:i.value,props:De({ref:E},b.value,e.activatorProps)}),J.value&&f.value&&T(jh,{disabled:!a.value,to:a.value},{default:()=>[T("div",De({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":i.value,"v-overlay--contained":e.contained},l.value,c.value,e.class],style:[w.value,{top:ce(ie.value)},e.style],ref:k},C,r),[T(S0,De({color:m,modelValue:i.value&&!!e.scrim},H.value),null),T(Dn,{appear:!0,persisted:!0,transition:e.transition,target:_.value,onAfterLeave:()=>{d(),s("afterLeave")}},{default:()=>{var Ee;return[Vr(T("div",De({ref:B,class:["v-overlay__content",e.contentClass],style:[Y.value,U.value]},L.value,e.contentProps),[(Ee=n.default)==null?void 0:Ee.call(n,{isActive:i})]),[[ru,i.value],[ii("click-outside"),{handler:j,closeConditional:te,include:()=>[_.value]}]])]}})])]})])}),{activatorEl:_,animateClick:X,contentEl:B,globalTop:h,localTop:g,updateLocation:O}}}),Xs=Symbol("Forwarded refs");function Zs(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function C0(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r!0},setup(e,t){let{slots:n}=t;const r=Ps(e,"modelValue"),{scopeId:s}=Jf(),o=Oi(),i=D(()=>e.id||`v-menu-${o}`),a=ve(),l=_e($o,null),c=xe(0);Ft($o,{register(){++c.value},unregister(){--c.value},closeParents(){setTimeout(()=>{c.value||(r.value=!1,l==null||l.closeParents())},40)}}),pe(r,h=>{h?l==null||l.register():l==null||l.unregister()});function u(){l==null||l.closeParents()}function f(h){var g,w;e.disabled||h.key==="Tab"&&(r.value=!1,(w=(g=a.value)==null?void 0:g.activatorEl)==null||w.focus())}function d(h){var w;if(e.disabled)return;const g=(w=a.value)==null?void 0:w.contentEl;g&&r.value?h.key==="ArrowDown"?(h.preventDefault(),Ao(g,"next")):h.key==="ArrowUp"&&(h.preventDefault(),Ao(g,"prev")):["ArrowDown","ArrowUp"].includes(h.key)&&(r.value=!0,h.preventDefault(),setTimeout(()=>setTimeout(()=>d(h))))}const m=D(()=>De({"aria-haspopup":"menu","aria-expanded":String(r.value),"aria-owns":i.value,onKeydown:d},e.activatorProps));return ht(()=>{const[h]=Gl.filterProps(e);return T(Gl,De({ref:a,class:["v-menu",e.class],style:e.style},h,{modelValue:r.value,"onUpdate:modelValue":g=>r.value=g,absolute:!0,activatorProps:m.value,"onClick:outside":u,onKeydown:f},s),{activator:n.activator,default:function(){for(var g=arguments.length,w=new Array(g),_=0;_{var E;return[(E=n.default)==null?void 0:E.call(n,...w)]}})}})}),C0({id:i,ΨopenChildren:c},a)}}),P0={name:"myHelper",props:{pretext:{type:Object,default:()=>{}}},data:()=>({fav:!0,menu:!1,message:!1,hints:!0})},O0={class:"pa-0 align-self-center"};function R0(e,t,n,r,s,o){return lr(),Hh("div",O0,[T(A0,{modelValue:e.menu,"onUpdate:modelValue":t[1]||(t[1]=i=>e.menu=i),"close-on-content-click":!1,"nudge-width":500,"offset-x":""},{activator:cn(({on:i,attrs:a})=>[T(yf,De(a,bh(i),{size:"large",color:"indigo",icon:"mdi-owl",onClick:t[0]||(t[0]=l=>e.menu=!e.menu)}),null,16)]),default:cn(()=>[T($b,{class:"whmy overflow-auto overflow-x-hidden"},{default:cn(()=>[T(Jb,{class:"ma-3"},{default:cn(()=>[T(Hb,null,{default:cn(()=>[fi("pre",null,""+nc(n.pretext)+` +`)}function Fl(e){const t=e.dark?2:1,n=e.dark?1:2,r=[];for(const[s,o]of Object.entries(e.colors)){const i=Wt(o);r.push(`--v-theme-${s}: ${i.r},${i.g},${i.b}`),s.startsWith("on-")||r.push(`--v-theme-${s}-overlay-multiplier: ${Uv(o)>.18?t:n}`)}for(const[s,o]of Object.entries(e.variables)){const i=typeof o=="string"&&o.startsWith("#")?Wt(o):void 0,a=i?`${i.r}, ${i.g}, ${i.b}`:void 0;r.push(`--v-${s}: ${a??o}`)}return r}const ko={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function Cy(e,t){const n=[];let r=[];const s=ff(e),o=df(e),i=s.getDay()-ko[t.slice(-2).toUpperCase()],a=o.getDay()-ko[t.slice(-2).toUpperCase()];for(let l=0;lo.padStart(2,"0")).join("-"),n=new Date().getTimezoneOffset()/-60,r=n<0?"-":"+",s=Math.abs(n).toString().padStart(2,"0");return`${t}T00:00:00.000${r}${s}:00`}const Ay=/([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))/;function Py(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(Ay.test(e)?t=Date.parse(xy(e)):t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const Ll=new Date(2e3,0,2);function Oy(e){const t=ko[e.slice(-2).toUpperCase()];return Ku(7).map(n=>{const r=new Date(Ll);return r.setDate(Ll.getDate()+t+n),new Intl.DateTimeFormat(e,{weekday:"short"}).format(r)})}function Ry(e,t,n){const r=new Date(e);let s={};switch(t){case"fullDateWithWeekday":s={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":s={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":s={};break;case"monthAndDate":s={month:"long",day:"numeric"};break;case"monthAndYear":s={month:"long",year:"numeric"};break;case"dayOfMonth":s={day:"numeric"};break;default:s={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,s).format(r)}function Ty(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function ky(e,t){const n=new Date(e);return n.setMonth(n.getMonth()+t),n}function Fy(e){return e.getFullYear()}function Ly(e){return e.getMonth()}function Iy(e){return new Date(e.getFullYear(),0,1)}function Ny(e){return new Date(e.getFullYear(),11,31)}function Dy(e,t){return Fo(e,t[0])&&$y(e,t[1])}function My(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Fo(e,t){return e.getTime()>t.getTime()}function $y(e,t){return e.getTime()0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=qe(t,n),{aliases:s={},components:o={},directives:i={}}=r,a=Zv(r.defaults),l=ny(r.display,r.ssr),c=Sy(r.theme),u=ay(r.icons),f=hy(r.locale),d=zy(r.date);return{install:h=>{for(const g in i)h.directive(g,i[g]);for(const g in o)h.component(g,o[g]);for(const g in s)h.component(g,dr({...s[g],name:g,aliasName:s[g].name}));if(c.install(h),h.provide(nr,a),h.provide(Ro,l),h.provide(rr,c),h.provide(To,u),h.provide(Jr,f),h.provide(Nl,d),Te&&r.ssr)if(h.$nuxt)h.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:g}=h;h.mount=function(){const w=g(...arguments);return ft(()=>l.update()),h.mount=g,w}}Oi.reset(),h.mixin({computed:{$vuetify(){return ut({defaults:ln.call(this,nr),display:ln.call(this,Ro),theme:ln.call(this,rr),icons:ln.call(this,To),locale:ln.call(this,Jr),date:ln.call(this,Nl)})}}})},defaults:a,display:l,theme:c,icons:u,locale:f,date:d}}const Wy="3.3.10";hf.version=Wy;function ln(e){var r,s;const t=this.$,n=((r=t.parent)==null?void 0:r.provides)??((s=t.vnode.appContext)==null?void 0:s.provides);if(n&&e in n)return n[e]}const Ky=hf({theme:{defaultTheme:"light"},theme:{themes:{light:{colors:{lampa:"#FFFFFF",primary:"#1867C0",secondary:"#5CBBF6",main_theme:"#f7f7f7",scrollbar:"#367F8A",cards:"#F5F5F5",text_carous:"#242424",navigation:"#004D40",black_grey:"#3C3C3C",modal_btn:"#1E88E5",grey:"#7A7A7A",yellow:"#F9A825",more_details_btn:"#01579B",loading_avatar:"#37474F",bg_white:"#FFFFFF",delete_btn:"#546E7A",app_bar:"#004D40",black_and_white:"#FFFFFF"}},dark:{colors:{lampa:"#000000",primary:"#1867C0",secondary:"#5CBBF6",main_theme:"#101311",scrollbar:"#367F8A",cards:"#F5F5F5",text_carous:"#242424",navigation:"#FDF5E6",black_grey:"#3C3C3C",modal_btn:"#1E88E5",grey:"#7A7A7A",yellow:"#F9A825",more_details_btn:"#01579B",loading_avatar:"#37474F",bg_white:"#FFFFFF",delete_btn:"#546E7A",app_bar:"#212121",black_and_white:"#101311"}},options:{customProperties:!0}}}}),qy=jm(),Yy=[{path:"/",component:()=>$e(()=>import("./DefaultPortal-442167c2.js"),["assets/DefaultPortal-442167c2.js","assets/VBtn-be56359b.js","assets/VBtn-2323aa03.css","assets/VContainer-5ec7b029.js","assets/VList-a51d3781.js","assets/VTextarea-5b24e794.js","assets/VInput-6691c158.js","assets/VInput-a9379007.css","assets/VTextarea-41155dd7.css","assets/VList-a4e0cf69.css","assets/VSpacer-ccbf9fb8.js","assets/VAlert-03636774.js","assets/VAlert-a473ba34.css","assets/VTooltip-104ed121.js","assets/VWindowItem-ffea9ec9.js","assets/VWindowItem-72fb4d35.css","assets/VTooltip-671f28ad.css","assets/DefaultPortal-c48d2679.css"]),children:[{path:"/",name:"HomePage",component:()=>$e(()=>import("./HomePage-087d027f.js"),["assets/HomePage-087d027f.js","assets/VCarouselItem-3dadb2b7.js","assets/VWindowItem-ffea9ec9.js","assets/VBtn-be56359b.js","assets/VBtn-2323aa03.css","assets/VTextarea-5b24e794.js","assets/VInput-6691c158.js","assets/VInput-a9379007.css","assets/VTextarea-41155dd7.css","assets/VWindowItem-72fb4d35.css","assets/VCarouselItem-149fe76f.css","assets/VContainer-5ec7b029.js","assets/VTooltip-104ed121.js","assets/VList-a51d3781.js","assets/VList-a4e0cf69.css","assets/VTooltip-671f28ad.css","assets/VSelectionControl-91bc1ec7.js","assets/VSelectionControl-59bfdd15.css","assets/load-round-6010a179.js","assets/VChip-5a86556f.js","assets/VChip-323b10eb.css","assets/VAlert-03636774.js","assets/VAlert-a473ba34.css","assets/load-round-f06e5e8e.css","assets/HomePage-5f22ff2c.css"]),meta:{title:"Портал МИ ФНС России по ЦОД №2",ico:"mdi-arrow-top-right"}},{path:"/okib",name:"OKiBPage",component:()=>$e(()=>import("./o_OKiB-486aec63.js"),["assets/o_OKiB-486aec63.js","assets/load-round-6010a179.js","assets/VInput-6691c158.js","assets/VBtn-be56359b.js","assets/VBtn-2323aa03.css","assets/VInput-a9379007.css","assets/VChip-5a86556f.js","assets/VChip-323b10eb.css","assets/VAlert-03636774.js","assets/VAlert-a473ba34.css","assets/load-round-f06e5e8e.css"]),meta:{title:"Отдел кадров и безопасности",ico:"mdi-comment-account-outline"}},{path:"/providing",name:"ProvidingActivitiesPage",component:()=>$e(()=>import("./ProvidingActivitiesPage-843ed4eb.js"),["assets/ProvidingActivitiesPage-843ed4eb.js","assets/VBtn-be56359b.js","assets/VBtn-2323aa03.css","assets/VContainer-5ec7b029.js","assets/ProvidingActivitiesPage-d12aecf2.css"]),meta:{title:"Обеспечивающая деятельность",ico:"mdi-bulletin-board"}},{path:"/faq",name:"FAQPage",component:()=>$e(()=>import("./FAQPage-6a4dd13f.js"),[]),meta:{title:"Часто задаваемые вопросы",ico:"mdi-comment-question-outline"}},{path:"/feedback",name:"FeedbackPage",component:()=>$e(()=>import("./FeedbackPage-45a81db9.js"),[]),meta:{title:"Обратная связь",ico:"mdi-thumb-up-outline"}},{path:"/labor",name:"LaborProtection",component:()=>$e(()=>import("./LaborProtection-275ce736.js"),[]),meta:{title:"Безопасность",ico:"mdi-pharmacy"}},{path:"/securyty",name:"SecurityPage",component:()=>$e(()=>import("./SecurityPage-6d096942.js"),[]),meta:{title:"Охрана труда",ico:"mdi-ticket"}},{path:"/inspection",name:"AboutInspectionPage",component:()=>$e(()=>import("./AboutInspectionPage-ea64667f.js"),[]),meta:{title:"Об инспекции",ico:"mdi-city"}},{path:"/portal",name:"AboutPortalPage",component:()=>$e(()=>import("./AboutPortalPage-a0498869.js"),["assets/AboutPortalPage-a0498869.js","assets/AboutPortalPage-12dddae5.css"]),meta:{title:"О портале",ico:"mdi-information-variant"}},{path:"/news",name:"AboutNewsPage",component:()=>$e(()=>import("./NewsPage-e2524cf0.js"),["assets/NewsPage-e2524cf0.js","assets/VBtn-be56359b.js","assets/VBtn-2323aa03.css","assets/VList-a51d3781.js","assets/VTextarea-5b24e794.js","assets/VInput-6691c158.js","assets/VInput-a9379007.css","assets/VTextarea-41155dd7.css","assets/VList-a4e0cf69.css","assets/VSelectionControl-91bc1ec7.js","assets/VSelectionControl-59bfdd15.css","assets/VChip-5a86556f.js","assets/VChip-323b10eb.css","assets/VSpacer-ccbf9fb8.js","assets/VAlert-03636774.js","assets/VAlert-a473ba34.css","assets/NewsPage-37091833.css"]),meta:{title:"Лента новостей",ico:"mdi-newspaper"}},{path:"/userinfo",name:"UsersInfoPage",component:()=>$e(()=>import("./UsersInfoPage-a267f81b.js"),[]),meta:{title:"Информация о пользователе",ico:"mdi-account"}},{path:"/fnshol",name:"FnsHol.vue",component:()=>$e(()=>import("./FnsHol-b484d350.js"),["assets/FnsHol-b484d350.js","assets/VCarouselItem-3dadb2b7.js","assets/VWindowItem-ffea9ec9.js","assets/VBtn-be56359b.js","assets/VBtn-2323aa03.css","assets/VTextarea-5b24e794.js","assets/VInput-6691c158.js","assets/VInput-a9379007.css","assets/VTextarea-41155dd7.css","assets/VWindowItem-72fb4d35.css","assets/VCarouselItem-149fe76f.css","assets/VContainer-5ec7b029.js","assets/FnsHol-a8a46014.css"]),meta:{title:"К празднику",ico:"mdi-city"}}]}],mf=fv({history:Pg({}.BASE_URL),routes:Yy});mf.beforeEach((e,t,n)=>{document.title=e.meta.title,n()});function Jy(e){vv(),e.use(Ky).use(qy).use(mf)}const Gy=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const Xy=Ie()({name:"VCardActions",props:Xe(),setup(e,t){let{slots:n}=t;return Fi({VBtn:{variant:"text"}}),ht(()=>{var r;return T("div",{class:["v-card-actions",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),Zy=Pi("v-card-subtitle"),Qy=Pi("v-card-title");function Ii(e){return xi(()=>{const t=[],n={};return e.value.background&&(ml(e.value.background)?n.backgroundColor=e.value.background:t.push(`bg-${e.value.background}`)),e.value.text&&(ml(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function pf(e,t){const n=D(()=>({text:me(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:s}=Ii(n);return{textColorClasses:r,textColorStyles:s}}function Lo(e,t){const n=D(()=>({background:me(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:s}=Ii(n);return{backgroundColorClasses:r,backgroundColorStyles:s}}const eb=["x-small","small","default","large","x-large"],gf=oe({size:{type:[String,Number],default:"default"}},"size");function vf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return xi(()=>{let n,r;return Kr(eb,e.size)?n=`${t}--size-${e.size}`:e.size&&(r={width:ce(e.size),height:ce(e.size)}),{sizeClasses:n,sizeStyles:r}})}const xn=oe({tag:{type:String,default:"div"}},"tag"),tb=oe({color:String,start:Boolean,end:Boolean,icon:Gt,...Xe(),...gf(),...xn({tag:"i"}),...hr()},"VIcon"),yf=Ie()({name:"VIcon",props:tb(),setup(e,t){let{attrs:n,slots:r}=t;const s=ve(),{themeClasses:o}=mr(e),{iconData:i}=ly(D(()=>s.value||e.icon)),{sizeClasses:a}=vf(e),{textColorClasses:l,textColorStyles:c}=pf(Zo(e,"color"));return ht(()=>{var f,d;const u=(f=r.default)==null?void 0:f.call(r);return u&&(s.value=(d=Yu(u).filter(m=>m.type===ar&&m.children&&typeof m.children=="string")[0])==null?void 0:d.children),T(i.value.component,{tag:e.tag,icon:i.value.icon,class:["v-icon","notranslate",o.value,a.value,l.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[a.value?void 0:{fontSize:ce(e.size),height:ce(e.size),width:ce(e.size)},c.value,e.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[u]})}),{}}});const Ni=oe({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Di(e){return{dimensionStyles:D(()=>({height:ce(e.height),maxHeight:ce(e.maxHeight),maxWidth:ce(e.maxWidth),minHeight:ce(e.minHeight),minWidth:ce(e.minWidth),width:ce(e.width)}))}}function nb(e){return{aspectStyles:D(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const bf=oe({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Xe(),...Ni()},"VResponsive"),Dl=Ie()({name:"VResponsive",props:bf(),setup(e,t){let{slots:n}=t;const{aspectStyles:r}=nb(e),{dimensionStyles:s}=Di(e);return ht(()=>{var o;return T("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[s.value,e.style]},[T("div",{class:"v-responsive__sizer",style:r.value},null),(o=n.additional)==null?void 0:o.call(n),n.default&&T("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}}),wf=oe({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),Dn=(e,t)=>{let{slots:n}=t;const{transition:r,disabled:s,...o}=e,{component:i=Jt,...a}=typeof r=="object"?r:{};return Nt(i,De(typeof r=="string"?{name:s?"":r}:a,o,{disabled:s}),n)};function rb(e,t){if(!Ti)return;const n=t.modifiers||{},r=t.value,{handler:s,options:o}=typeof r=="object"?r:{handler:r,options:{}},i=new IntersectionObserver(function(){var f;let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const c=(f=e._observe)==null?void 0:f[t.instance.$.uid];if(!c)return;const u=a.some(d=>d.isIntersecting);s&&(!n.quiet||c.init)&&(!n.once||u||c.init)&&s(u,a,l),u&&n.once?_f(e,t):c.init=!0},o);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:i},i.observe(e)}function _f(e,t){var r;const n=(r=e._observe)==null?void 0:r[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const sb={mounted:rb,unmounted:_f},ob=sb,ib=oe({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...bf(),...Xe(),...wf()},"VImg"),Ef=Ie()({name:"VImg",directives:{intersect:ob},props:ib(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:r}=t;const s=xe(""),o=ve(),i=xe(e.eager?"loading":"idle"),a=xe(),l=xe(),c=D(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),u=D(()=>c.value.aspect||a.value/l.value||0);pe(()=>e.src,()=>{f(i.value!=="idle")}),pe(u,(C,k)=>{!C&&k&&o.value&&w(o.value)}),Lc(()=>f());function f(C){if(!(e.eager&&C)&&!(Ti&&!C&&!e.eager)){if(i.value="loading",c.value.lazySrc){const k=new Image;k.src=c.value.lazySrc,w(k,null)}c.value.src&&ft(()=>{var k,B;if(n("loadstart",((k=o.value)==null?void 0:k.currentSrc)||c.value.src),(B=o.value)!=null&&B.complete){if(o.value.naturalWidth||m(),i.value==="error")return;u.value||w(o.value,null),d()}else u.value||w(o.value),h()})}}function d(){var C;h(),i.value="loaded",n("load",((C=o.value)==null?void 0:C.currentSrc)||c.value.src)}function m(){var C;i.value="error",n("error",((C=o.value)==null?void 0:C.currentSrc)||c.value.src)}function h(){const C=o.value;C&&(s.value=C.currentSrc||C.src)}let g=-1;function w(C){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const B=()=>{clearTimeout(g);const{naturalHeight:U,naturalWidth:O}=C;U||O?(a.value=O,l.value=U):!C.complete&&i.value==="loading"&&k!=null?g=window.setTimeout(B,k):(C.currentSrc.endsWith(".svg")||C.currentSrc.startsWith("data:image/svg+xml"))&&(a.value=1,l.value=1)};B()}const _=D(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),E=()=>{var B;if(!c.value.src||i.value==="idle")return null;const C=T("img",{class:["v-img__img",_.value],src:c.value.src,srcset:c.value.srcset,alt:e.alt,sizes:e.sizes,ref:o,onLoad:d,onError:m},null),k=(B=r.sources)==null?void 0:B.call(r);return T(Dn,{transition:e.transition,appear:!0},{default:()=>[Vr(k?T("picture",{class:"v-img__picture"},[k,C]):C,[[ru,i.value==="loaded"]])]})},b=()=>T(Dn,{transition:e.transition},{default:()=>[c.value.lazySrc&&i.value!=="loaded"&&T("img",{class:["v-img__img","v-img__img--preload",_.value],src:c.value.lazySrc,alt:e.alt},null)]}),L=()=>r.placeholder?T(Dn,{transition:e.transition,appear:!0},{default:()=>[(i.value==="loading"||i.value==="error"&&!r.error)&&T("div",{class:"v-img__placeholder"},[r.placeholder()])]}):null,H=()=>r.error?T(Dn,{transition:e.transition,appear:!0},{default:()=>[i.value==="error"&&T("div",{class:"v-img__error"},[r.error()])]}):null,Y=()=>e.gradient?T("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,J=xe(!1);{const C=pe(u,k=>{k&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{J.value=!0})}),C())})}return ht(()=>{const[C]=Dl.filterProps(e);return Vr(T(Dl,De({class:["v-img",{"v-img--booting":!J.value},e.class],style:[{width:ce(e.width==="auto"?a.value:e.width)},e.style]},C,{aspectRatio:u.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>T(ke,null,[T(E,null,null),T(b,null,null),T(Y,null,null),T(L,null,null),T(H,null,null)]),default:r.default}),[[ii("intersect"),{handler:f,options:e.options},null,{once:!0}]])}),{currentSrc:s,image:o,state:i,naturalWidth:a,naturalHeight:l}}}),ab=[null,"default","comfortable","compact"],Mi=oe({density:{type:String,default:"default",validator:e=>ab.includes(e)}},"density");function Sf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return{densityClasses:D(()=>`${t}--density-${e.density}`)}}const $i=oe({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Bi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return{roundedClasses:D(()=>{const r=me(e)?e.value:e.rounded,s=[];if(r===!0||r==="")s.push(`${t}--rounded`);else if(typeof r=="string"||r===0)for(const o of String(r).split(" "))s.push(`rounded-${o}`);return s})}}const lb=["elevated","flat","tonal","outlined","text","plain"];function Cf(e,t){return T(ke,null,[e&&T("span",{key:"overlay",class:`${t}__overlay`},null),T("span",{key:"underlay",class:`${t}__underlay`},null)])}const xf=oe({color:String,variant:{type:String,default:"elevated",validator:e=>lb.includes(e)}},"variant");function Af(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();const n=D(()=>{const{variant:o}=ze(e);return`${t}--variant-${o}`}),{colorClasses:r,colorStyles:s}=Ii(D(()=>{const{variant:o,color:i}=ze(e);return{[["elevated","flat"].includes(o)?"background":"text"]:i}}));return{colorClasses:r,colorStyles:s,variantClasses:n}}const cb=oe({start:Boolean,end:Boolean,icon:Gt,image:String,...Xe(),...Mi(),...$i(),...gf(),...xn(),...hr(),...xf({variant:"flat"})},"VAvatar"),Ml=Ie()({name:"VAvatar",props:cb(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=mr(e),{colorClasses:s,colorStyles:o,variantClasses:i}=Af(e),{densityClasses:a}=Sf(e),{roundedClasses:l}=Bi(e),{sizeClasses:c,sizeStyles:u}=vf(e);return ht(()=>T(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,s.value,a.value,l.value,c.value,i.value,e.class],style:[o.value,u.value,e.style]},{default:()=>{var f;return[e.image?T(Ef,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?T(yf,{key:"icon",icon:e.icon},null):(f=n.default)==null?void 0:f.call(n),Cf(!1,"v-avatar")]}})),{}}}),ub=oe({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Gr=Ie(!1)({name:"VDefaultsProvider",props:ub(),setup(e,t){let{slots:n}=t;const{defaults:r,disabled:s,reset:o,root:i,scoped:a}=is(e);return Fi(r,{reset:o,root:i,scoped:a,disabled:s}),()=>{var l;return(l=n.default)==null?void 0:l.call(n)}}}),fb=oe({appendAvatar:String,appendIcon:Gt,prependAvatar:String,prependIcon:Gt,subtitle:String,title:String,...Xe(),...Mi()},"VCardItem"),db=Ie()({name:"VCardItem",props:fb(),setup(e,t){let{slots:n}=t;return ht(()=>{var c;const r=!!(e.prependAvatar||e.prependIcon),s=!!(r||n.prepend),o=!!(e.appendAvatar||e.appendIcon),i=!!(o||n.append),a=!!(e.title||n.title),l=!!(e.subtitle||n.subtitle);return T("div",{class:["v-card-item",e.class],style:e.style},[s&&T("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?T(Gr,{key:"prepend-defaults",disabled:!r,defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar}}},n.prepend):r&&T(Ml,{key:"prepend-avatar",density:e.density,icon:e.prependIcon,image:e.prependAvatar},null)]),T("div",{class:"v-card-item__content"},[a&&T(Qy,{key:"title"},{default:()=>{var u;return[((u=n.title)==null?void 0:u.call(n))??e.title]}}),l&&T(Zy,{key:"subtitle"},{default:()=>{var u;return[((u=n.subtitle)==null?void 0:u.call(n))??e.subtitle]}}),(c=n.default)==null?void 0:c.call(n)]),i&&T("div",{key:"append",class:"v-card-item__append"},[n.append?T(Gr,{key:"append-defaults",disabled:!o,defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar}}},n.append):o&&T(Ml,{key:"append-avatar",density:e.density,icon:e.appendIcon,image:e.appendAvatar},null)])])}),{}}}),hb=Pi("v-card-text"),mb=oe({border:[Boolean,Number,String]},"border");function pb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return{borderClasses:D(()=>{const r=me(e)?e.value:e.border,s=[];if(r===!0||r==="")s.push(`${t}--border`);else if(typeof r=="string"||r===0)for(const o of String(r).split(" "))s.push(`border-${o}`);return s})}}const gb=oe({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function vb(e){return{elevationClasses:D(()=>{const n=me(e)?e.value:e.elevation,r=[];return n==null||r.push(`elevation-${n}`),r})}}function yb(e,t){const n=ve(),r=xe(!1);if(Ti){const s=new IntersectionObserver(o=>{e==null||e(o,s),r.value=!!o.find(i=>i.isIntersecting)},t);si(()=>{s.disconnect()}),pe(n,(o,i)=>{i&&(s.unobserve(i),r.value=!1),o&&s.observe(o)},{flush:"post"})}return{intersectionRef:n,isIntersecting:r}}const $l={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Pf=oe({location:String},"location");function Of(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:r}=Li();return{locationStyles:D(()=>{if(!e.location)return{};const{side:o,align:i}=Po(e.location.split(" ").length>1?e.location:`${e.location} center`,r.value);function a(c){return n?n(c):0}const l={};return o!=="center"&&(t?l[$l[o]]=`calc(100% - ${a(o)}px)`:l[o]=0),i!=="center"?t?l[$l[i]]=`calc(100% - ${a(i)}px)`:l[i]=0:(o==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[o]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[o]),l})}}const bb=oe({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Xe(),...Pf({location:"top"}),...$i(),...xn(),...hr()},"VProgressLinear"),wb=Ie()({name:"VProgressLinear",props:bb(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=Ps(e,"modelValue"),{isRtl:s,rtlClasses:o}=Li(),{themeClasses:i}=mr(e),{locationStyles:a}=Of(e),{textColorClasses:l,textColorStyles:c}=pf(e,"color"),{backgroundColorClasses:u,backgroundColorStyles:f}=Lo(D(()=>e.bgColor||e.color)),{backgroundColorClasses:d,backgroundColorStyles:m}=Lo(e,"color"),{roundedClasses:h}=Bi(e),{intersectionRef:g,isIntersecting:w}=yb(),_=D(()=>parseInt(e.max,10)),E=D(()=>parseInt(e.height,10)),b=D(()=>parseFloat(e.bufferValue)/_.value*100),L=D(()=>parseFloat(r.value)/_.value*100),H=D(()=>s.value!==e.reverse),Y=D(()=>e.indeterminate?"fade-transition":"slide-x-transition"),J=D(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function C(k){if(!g.value)return;const{left:B,right:U,width:O}=g.value.getBoundingClientRect(),j=H.value?O-k.clientX+(U-O):k.clientX-B;r.value=Math.round(j/O*_.value)}return ht(()=>T(e.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&w.value,"v-progress-linear--reverse":H.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},h.value,i.value,o.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?ce(E.value):0,"--v-progress-linear-height":ce(E.value),...a.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:L.value,onClick:e.clickable&&C},{default:()=>[e.stream&&T("div",{key:"stream",class:["v-progress-linear__stream",l.value],style:{...c.value,[H.value?"left":"right"]:ce(-E.value),borderTop:`${ce(E.value/2)} dotted`,opacity:J.value,top:`calc(50% - ${ce(E.value/4)})`,width:ce(100-b.value,"%"),"--v-progress-linear-stream-to":ce(E.value*(H.value?1:-1))}},null),T("div",{class:["v-progress-linear__background",u.value],style:[f.value,{opacity:J.value,width:ce(e.stream?b.value:100,"%")}]},null),T(Jt,{name:Y.value},{default:()=>[e.indeterminate?T("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(k=>T("div",{key:k,class:["v-progress-linear__indeterminate",k,d.value],style:m.value},null))]):T("div",{class:["v-progress-linear__determinate",d.value],style:[m.value,{width:ce(L.value,"%")}]},null)]}),n.default&&T("div",{class:"v-progress-linear__content"},[n.default({value:L.value,buffer:b.value})])]})),{}}}),_b=oe({loading:[Boolean,String]},"loader");function Eb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return{loaderClasses:D(()=>({[`${t}--loading`]:e.loading}))}}function Sb(e,t){var r;let{slots:n}=t;return T("div",{class:`${e.name}__loader`},[((r=n.default)==null?void 0:r.call(n,{color:e.color,isActive:e.active}))||T(wb,{active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const Cb=["static","relative","fixed","absolute","sticky"],xb=oe({position:{type:String,validator:e=>Cb.includes(e)}},"position");function Ab(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt();return{positionClasses:D(()=>e.position?`${t}--${e.position}`:void 0)}}function Pb(){var e,t;return(t=(e=Ze("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function Ob(e,t){const n=yh("RouterLink"),r=D(()=>!!(e.href||e.to)),s=D(()=>(r==null?void 0:r.value)||cl(t,"click")||cl(e,"click"));if(typeof n=="string")return{isLink:r,isClickable:s,href:Zo(e,"href")};const o=e.to?n.useLink(e):void 0;return{isLink:r,isClickable:s,route:o==null?void 0:o.route,navigate:o==null?void 0:o.navigate,isActive:o&&D(()=>{var i,a;return e.exact?(i=o.isExactActive)==null?void 0:i.value:(a=o.isActive)==null?void 0:a.value}),href:D(()=>e.to?o==null?void 0:o.route.value.href:e.href)}}const Rb=oe({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Ys=!1;function Tb(e,t){let n=!1,r,s;Te&&(ft(()=>{window.addEventListener("popstate",o),r=e==null?void 0:e.beforeEach((i,a,l)=>{Ys?n?t(l):l():setTimeout(()=>n?t(l):l()),Ys=!0}),s=e==null?void 0:e.afterEach(()=>{Ys=!1})}),We(()=>{window.removeEventListener("popstate",o),r==null||r(),s==null||s()}));function o(i){var a;(a=i.state)!=null&&a.replaced||(n=!0,setTimeout(()=>n=!1))}}const Io=Symbol("rippleStop"),kb=80;function Bl(e,t){e.style.transform=t,e.style.webkitTransform=t}function No(e){return e.constructor.name==="TouchEvent"}function Rf(e){return e.constructor.name==="KeyboardEvent"}const Fb=function(e,t){var f;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=0,s=0;if(!Rf(e)){const d=t.getBoundingClientRect(),m=No(e)?e.touches[e.touches.length-1]:e;r=m.clientX-d.left,s=m.clientY-d.top}let o=0,i=.3;(f=t._ripple)!=null&&f.circle?(i=.15,o=t.clientWidth/2,o=n.center?o:o+Math.sqrt((r-o)**2+(s-o)**2)/4):o=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const a=`${(t.clientWidth-o*2)/2}px`,l=`${(t.clientHeight-o*2)/2}px`,c=n.center?a:`${r-o}px`,u=n.center?l:`${s-o}px`;return{radius:o,scale:i,x:c,y:u,centerX:a,centerY:l}},Xr={show(e,t){var m;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=t==null?void 0:t._ripple)!=null&&m.enabled))return;const r=document.createElement("span"),s=document.createElement("span");r.appendChild(s),r.className="v-ripple__container",n.class&&(r.className+=` ${n.class}`);const{radius:o,scale:i,x:a,y:l,centerX:c,centerY:u}=Fb(e,t,n),f=`${o*2}px`;s.className="v-ripple__animation",s.style.width=f,s.style.height=f,t.appendChild(r);const d=window.getComputedStyle(t);d&&d.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),s.classList.add("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--visible"),Bl(s,`translate(${a}, ${l}) scale3d(${i},${i},${i})`),s.dataset.activated=String(performance.now()),setTimeout(()=>{s.classList.remove("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--in"),Bl(s,`translate(${c}, ${u}) scale3d(1,1,1)`)},0)},hide(e){var o;if(!((o=e==null?void 0:e._ripple)!=null&&o.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const r=performance.now()-Number(n.dataset.activated),s=Math.max(250-r,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var a;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((a=n.parentNode)==null?void 0:a.parentNode)===e&&e.removeChild(n.parentNode)},300)},s)}};function Tf(e){return typeof e>"u"||!!e}function sr(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[Io])){if(e[Io]=!0,No(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||Rf(e),n._ripple.class&&(t.class=n._ripple.class),No(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Xr.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var r;(r=n==null?void 0:n._ripple)!=null&&r.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},kb)}else Xr.show(e,n,t)}}function jl(e){e[Io]=!0}function Ue(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{Ue(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),Xr.hide(t)}}function kf(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let or=!1;function Ff(e){!or&&(e.keyCode===al.enter||e.keyCode===al.space)&&(or=!0,sr(e))}function Lf(e){or=!1,Ue(e)}function If(e){or&&(or=!1,Ue(e))}function Nf(e,t,n){const{value:r,modifiers:s}=t,o=Tf(r);if(o||Xr.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=o,e._ripple.centered=s.center,e._ripple.circle=s.circle,Co(r)&&r.class&&(e._ripple.class=r.class),o&&!n){if(s.stop){e.addEventListener("touchstart",jl,{passive:!0}),e.addEventListener("mousedown",jl);return}e.addEventListener("touchstart",sr,{passive:!0}),e.addEventListener("touchend",Ue,{passive:!0}),e.addEventListener("touchmove",kf,{passive:!0}),e.addEventListener("touchcancel",Ue),e.addEventListener("mousedown",sr),e.addEventListener("mouseup",Ue),e.addEventListener("mouseleave",Ue),e.addEventListener("keydown",Ff),e.addEventListener("keyup",Lf),e.addEventListener("blur",If),e.addEventListener("dragstart",Ue,{passive:!0})}else!o&&n&&Df(e)}function Df(e){e.removeEventListener("mousedown",sr),e.removeEventListener("touchstart",sr),e.removeEventListener("touchend",Ue),e.removeEventListener("touchmove",kf),e.removeEventListener("touchcancel",Ue),e.removeEventListener("mouseup",Ue),e.removeEventListener("mouseleave",Ue),e.removeEventListener("keydown",Ff),e.removeEventListener("keyup",Lf),e.removeEventListener("dragstart",Ue),e.removeEventListener("blur",If)}function Lb(e,t){Nf(e,t,!1)}function Ib(e){delete e._ripple,Df(e)}function Nb(e,t){if(t.value===t.oldValue)return;const n=Tf(t.oldValue);Nf(e,t,n)}const Db={mounted:Lb,unmounted:Ib,updated:Nb},Mb=oe({appendAvatar:String,appendIcon:Gt,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Gt,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...mb(),...Xe(),...Mi(),...Ni(),...gb(),..._b(),...Pf(),...xb(),...$i(),...Rb(),...xn(),...hr(),...xf({variant:"elevated"})},"VCard"),$b=Ie()({name:"VCard",directives:{Ripple:Db},props:Mb(),setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:s}=mr(e),{borderClasses:o}=pb(e),{colorClasses:i,colorStyles:a,variantClasses:l}=Af(e),{densityClasses:c}=Sf(e),{dimensionStyles:u}=Di(e),{elevationClasses:f}=vb(e),{loaderClasses:d}=Eb(e),{locationStyles:m}=Of(e),{positionClasses:h}=Ab(e),{roundedClasses:g}=Bi(e),w=Ob(e,n),_=D(()=>e.link!==!1&&w.isLink.value),E=D(()=>!e.disabled&&e.link!==!1&&(e.link||w.isClickable.value));return ht(()=>{const b=_.value?"a":e.tag,L=!!(r.title||e.title),H=!!(r.subtitle||e.subtitle),Y=L||H,J=!!(r.append||e.appendAvatar||e.appendIcon),C=!!(r.prepend||e.prependAvatar||e.prependIcon),k=!!(r.image||e.image),B=Y||C||J,U=!!(r.text||e.text);return Vr(T(b,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":E.value},s.value,o.value,i.value,c.value,f.value,d.value,h.value,g.value,l.value,e.class],style:[a.value,u.value,m.value,e.style],href:w.href.value,onClick:E.value&&w.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var O;return[k&&T("div",{key:"image",class:"v-card__image"},[r.image?T(Gr,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):T(Ef,{key:"image-img",cover:!0,src:e.image},null)]),T(Sb,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:r.loader}),B&&T(db,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:r.item,prepend:r.prepend,title:r.title,subtitle:r.subtitle,append:r.append}),U&&T(hb,{key:"text"},{default:()=>{var j;return[((j=r.text)==null?void 0:j.call(r))??e.text]}}),(O=r.default)==null?void 0:O.call(r),r.actions&&T(Xy,null,{default:r.actions}),Cf(E.value,"v-card")]}}),[[ii("ripple"),E.value&&e.ripple]])}),{}}});const Mf=(()=>xs.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}))(),$f=(()=>xs.reduce((e,t)=>{const n="offset"+bt(t);return e[n]={type:[String,Number],default:null},e},{}))(),Bf=(()=>xs.reduce((e,t)=>{const n="order"+bt(t);return e[n]={type:[String,Number],default:null},e},{}))(),Vl={col:Object.keys(Mf),offset:Object.keys($f),order:Object.keys(Bf)};function Bb(e,t,n){let r=e;if(!(n==null||n===!1)){if(t){const s=t.replace(e,"");r+=`-${s}`}return e==="col"&&(r="v-"+r),e==="col"&&(n===""||n===!0)||(r+=`-${n}`),r.toLowerCase()}}const jb=["auto","start","end","center","baseline","stretch"],Vb=oe({cols:{type:[Boolean,String,Number],default:!1},...Mf,offset:{type:[String,Number],default:null},...$f,order:{type:[String,Number],default:null},...Bf,alignSelf:{type:String,default:null,validator:e=>jb.includes(e)},...Xe(),...xn()},"VCol"),Hb=Ie()({name:"VCol",props:Vb(),setup(e,t){let{slots:n}=t;const r=D(()=>{const s=[];let o;for(o in Vl)Vl[o].forEach(a=>{const l=e[a],c=Bb(o,a,l);c&&s.push(c)});const i=s.some(a=>a.startsWith("v-col-"));return s.push({"v-col":!i||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),s});return()=>{var s;return Nt(e.tag,{class:[r.value,e.class],style:e.style},(s=n.default)==null?void 0:s.call(n))}}}),ji=["start","end","center"],jf=["space-between","space-around","space-evenly"];function Vi(e,t){return xs.reduce((n,r)=>{const s=e+bt(r);return n[s]=t(),n},{})}const Ub=[...ji,"baseline","stretch"],Vf=e=>Ub.includes(e),Hf=Vi("align",()=>({type:String,default:null,validator:Vf})),zb=[...ji,...jf],Uf=e=>zb.includes(e),zf=Vi("justify",()=>({type:String,default:null,validator:Uf})),Wb=[...ji,...jf,"stretch"],Wf=e=>Wb.includes(e),Kf=Vi("alignContent",()=>({type:String,default:null,validator:Wf})),Hl={align:Object.keys(Hf),justify:Object.keys(zf),alignContent:Object.keys(Kf)},Kb={align:"align",justify:"justify",alignContent:"align-content"};function qb(e,t,n){let r=Kb[e];if(n!=null){if(t){const s=t.replace(e,"");r+=`-${s}`}return r+=`-${n}`,r.toLowerCase()}}const Yb=oe({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Vf},...Hf,justify:{type:String,default:null,validator:Uf},...zf,alignContent:{type:String,default:null,validator:Wf},...Kf,...Xe(),...xn()},"VRow"),Jb=Ie()({name:"VRow",props:Yb(),setup(e,t){let{slots:n}=t;const r=D(()=>{const s=[];let o;for(o in Hl)Hl[o].forEach(i=>{const a=e[i],l=qb(o,i,a);l&&s.push(l)});return s.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),s});return()=>{var s;return Nt(e.tag,{class:["v-row",r.value,e.class],style:e.style},(s=n.default)==null?void 0:s.call(n))}}});const Gb=oe({target:Object},"v-dialog-transition"),Xb=Ie()({name:"VDialogTransition",props:Gb(),setup(e,t){let{slots:n}=t;const r={onBeforeEnter(s){s.style.pointerEvents="none",s.style.visibility="hidden"},async onEnter(s,o){var d;await new Promise(m=>requestAnimationFrame(m)),await new Promise(m=>requestAnimationFrame(m)),s.style.visibility="";const{x:i,y:a,sx:l,sy:c,speed:u}=zl(e.target,s),f=Nn(s,[{transform:`translate(${i}px, ${a}px) scale(${l}, ${c})`,opacity:0},{}],{duration:225*u,easing:zv});(d=Ul(s))==null||d.forEach(m=>{Nn(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*u,easing:Oo})}),f.finished.then(()=>o())},onAfterEnter(s){s.style.removeProperty("pointer-events")},onBeforeLeave(s){s.style.pointerEvents="none"},async onLeave(s,o){var d;await new Promise(m=>requestAnimationFrame(m));const{x:i,y:a,sx:l,sy:c,speed:u}=zl(e.target,s);Nn(s,[{},{transform:`translate(${i}px, ${a}px) scale(${l}, ${c})`,opacity:0}],{duration:125*u,easing:Wv}).finished.then(()=>o()),(d=Ul(s))==null||d.forEach(m=>{Nn(m,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*u,easing:Oo})})},onAfterLeave(s){s.style.removeProperty("pointer-events")}};return()=>e.target?T(Jt,De({name:"dialog-transition"},r,{css:!1}),n):T(Jt,{name:"dialog-transition"},n)}});function Ul(e){var n;const t=(n=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return t&&[...t]}function zl(e,t){const n=e.getBoundingClientRect(),r=Zu(t),[s,o]=getComputedStyle(t).transformOrigin.split(" ").map(_=>parseFloat(_)),[i,a]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=n.left+n.width/2;i==="left"||a==="left"?l-=n.width/2:(i==="right"||a==="right")&&(l+=n.width/2);let c=n.top+n.height/2;i==="top"||a==="top"?c-=n.height/2:(i==="bottom"||a==="bottom")&&(c+=n.height/2);const u=n.width/r.width,f=n.height/r.height,d=Math.max(1,u,f),m=u/d||0,h=f/d||0,g=r.width*r.height/(window.innerWidth*window.innerHeight),w=g>.12?Math.min(1.5,(g-.12)*10+1):1;return{x:l-(s+r.left),y:c-(o+r.top),sx:m,sy:h,speed:w}}function Js(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Zb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Wl(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:r}=e,s=r==="left"?0:r==="center"?t.width/2:r==="right"?t.width:r,o=n==="top"?0:n==="bottom"?t.height:n;return Js({x:s,y:o},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:r}=e,s=n==="left"?0:n==="right"?t.width:n,o=r==="top"?0:r==="center"?t.height/2:r==="bottom"?t.height:r;return Js({x:s,y:o},t)}return Js({x:t.width/2,y:t.height/2},t)}const qf={static:t0,connected:r0},Qb=oe({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in qf},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function e0(e,t){const n=ve({}),r=ve();Te&&(fr(()=>!!(t.isActive.value&&e.locationStrategy),o=>{var i,a;pe(()=>e.locationStrategy,o),We(()=>{r.value=void 0}),typeof e.locationStrategy=="function"?r.value=(i=e.locationStrategy(t,e,n))==null?void 0:i.updateLocation:r.value=(a=qf[e.locationStrategy](t,e,n))==null?void 0:a.updateLocation}),window.addEventListener("resize",s,{passive:!0}),We(()=>{window.removeEventListener("resize",s),r.value=void 0}));function s(o){var i;(i=r.value)==null||i.call(r,o)}return{contentStyles:n,updateLocation:r}}function t0(){}function n0(e,t){t?e.style.removeProperty("left"):e.style.removeProperty("right");const n=Zu(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function r0(e,t,n){Xv(e.activatorEl.value)&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:s,preferredOrigin:o}=xi(()=>{const h=Po(t.location,e.isRtl.value),g=t.origin==="overlap"?h:t.origin==="auto"?Ws(h):Po(t.origin,e.isRtl.value);return h.side===g.side&&h.align===Ks(g).align?{preferredAnchor:fl(h),preferredOrigin:fl(g)}:{preferredAnchor:h,preferredOrigin:g}}),[i,a,l,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(h=>D(()=>{const g=parseFloat(t[h]);return isNaN(g)?1/0:g})),u=D(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const h=t.offset.split(" ").map(parseFloat);return h.length<2&&h.push(0),h}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let f=!1;const d=new ResizeObserver(()=>{f&&m()});pe([e.activatorEl,e.contentEl],(h,g)=>{let[w,_]=h,[E,b]=g;E&&d.unobserve(E),w&&d.observe(w),b&&d.unobserve(b),_&&d.observe(_)},{immediate:!0}),We(()=>{d.disconnect()});function m(){if(f=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>f=!0)}),!e.activatorEl.value||!e.contentEl.value)return;const h=e.activatorEl.value.getBoundingClientRect(),g=n0(e.contentEl.value,e.isRtl.value),w=Yr(e.contentEl.value),_=12;w.length||(w.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const E=w.reduce((U,O)=>{const j=O.getBoundingClientRect(),te=new gn({x:O===document.documentElement?0:j.x,y:O===document.documentElement?0:j.y,width:O.clientWidth,height:O.clientHeight});return U?new gn({x:Math.max(U.left,te.left),y:Math.max(U.top,te.top),width:Math.min(U.right,te.right)-Math.max(U.left,te.left),height:Math.min(U.bottom,te.bottom)-Math.max(U.top,te.top)}):te},void 0);E.x+=_,E.y+=_,E.width-=_*2,E.height-=_*2;let b={anchor:s.value,origin:o.value};function L(U){const O=new gn(g),j=Wl(U.anchor,h),te=Wl(U.origin,O);let{x:he,y:Z}=Zb(j,te);switch(U.anchor.side){case"top":Z-=u.value[0];break;case"bottom":Z+=u.value[0];break;case"left":he-=u.value[0];break;case"right":he+=u.value[0];break}switch(U.anchor.align){case"top":Z-=u.value[1];break;case"bottom":Z+=u.value[1];break;case"left":he-=u.value[1];break;case"right":he+=u.value[1];break}return O.x+=he,O.y+=Z,O.width=Math.min(O.width,l.value),O.height=Math.min(O.height,c.value),{overflows:hl(O,E),x:he,y:Z}}let H=0,Y=0;const J={x:0,y:0},C={x:!1,y:!1};let k=-1;for(;!(k++>10);){const{x:U,y:O,overflows:j}=L(b);H+=U,Y+=O,g.x+=U,g.y+=O;{const te=dl(b.anchor),he=j.x.before||j.x.after,Z=j.y.before||j.y.after;let ie=!1;if(["x","y"].forEach(X=>{if(X==="x"&&he&&!C.x||X==="y"&&Z&&!C.y){const se={anchor:{...b.anchor},origin:{...b.origin}},Ee=X==="x"?te==="y"?Ks:Ws:te==="y"?Ws:Ks;se.anchor=Ee(se.anchor),se.origin=Ee(se.origin);const{overflows:Oe}=L(se);(Oe[X].before<=j[X].before&&Oe[X].after<=j[X].after||Oe[X].before+Oe[X].after<(j[X].before+j[X].after)/2)&&(b=se,ie=C[X]=!0)}}),ie)continue}j.x.before&&(H+=j.x.before,g.x+=j.x.before),j.x.after&&(H-=j.x.after,g.x-=j.x.after),j.y.before&&(Y+=j.y.before,g.y+=j.y.before),j.y.after&&(Y-=j.y.after,g.y-=j.y.after);{const te=hl(g,E);J.x=E.width-te.x.before-te.x.after,J.y=E.height-te.y.before-te.y.after,H+=te.x.before,g.x+=te.x.before,Y+=te.y.before,g.y+=te.y.before}break}const B=dl(b.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:ce(Gs(Y)),left:e.isRtl.value?void 0:ce(Gs(H)),right:e.isRtl.value?ce(Gs(-H)):void 0,minWidth:ce(B==="y"?Math.min(i.value,h.width):i.value),maxWidth:ce(Kl(xo(J.x,i.value===1/0?0:i.value,l.value))),maxHeight:ce(Kl(xo(J.y,a.value===1/0?0:a.value,c.value)))}),{available:J,contentBox:g}}return pe(()=>[s.value,o.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>m()),ft(()=>{const h=m();if(!h)return;const{available:g,contentBox:w}=h;w.height>g.y&&requestAnimationFrame(()=>{m(),requestAnimationFrame(()=>{m()})})}),{updateLocation:m}}function Gs(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Kl(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let Do=!0;const Zr=[];function s0(e){!Do||Zr.length?(Zr.push(e),Mo()):(Do=!1,e(),Mo())}let ql=-1;function Mo(){cancelAnimationFrame(ql),ql=requestAnimationFrame(()=>{const e=Zr.shift();e&&e(),Zr.length?Mo():Do=!0})}const Dr={none:null,close:a0,block:l0,reposition:c0},o0=oe({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Dr}},"VOverlay-scroll-strategies");function i0(e,t){if(!Te)return;let n;Zt(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=ir(),await ft(),n.active&&n.run(()=>{var r;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(r=Dr[e.scrollStrategy])==null||r.call(Dr,t,e,n)}))}),We(()=>{n==null||n.stop()})}function a0(e){function t(n){e.isActive.value=!1}Yf(e.activatorEl.value??e.contentEl.value,t)}function l0(e,t){var i;const n=(i=e.root.value)==null?void 0:i.offsetParent,r=[...new Set([...Yr(e.activatorEl.value,t.contained?n:void 0),...Yr(e.contentEl.value,t.contained?n:void 0)])].filter(a=>!a.classList.contains("v-overlay-scroll-blocked")),s=window.innerWidth-document.documentElement.offsetWidth,o=(a=>Ri(a)&&a)(n||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),r.forEach((a,l)=>{a.style.setProperty("--v-body-scroll-x",ce(-a.scrollLeft)),a.style.setProperty("--v-body-scroll-y",ce(-a.scrollTop)),a!==document.documentElement&&a.style.setProperty("--v-scrollbar-offset",ce(s)),a.classList.add("v-overlay-scroll-blocked")}),We(()=>{r.forEach((a,l)=>{const c=parseFloat(a.style.getPropertyValue("--v-body-scroll-x")),u=parseFloat(a.style.getPropertyValue("--v-body-scroll-y"));a.style.removeProperty("--v-body-scroll-x"),a.style.removeProperty("--v-body-scroll-y"),a.style.removeProperty("--v-scrollbar-offset"),a.classList.remove("v-overlay-scroll-blocked"),a.scrollLeft=-c,a.scrollTop=-u}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function c0(e,t,n){let r=!1,s=-1,o=-1;function i(a){s0(()=>{var u,f;const l=performance.now();(f=(u=e.updateLocation).value)==null||f.call(u,a),r=(performance.now()-l)/(1e3/60)>2})}o=(typeof requestIdleCallback>"u"?a=>a():requestIdleCallback)(()=>{n.run(()=>{Yf(e.activatorEl.value??e.contentEl.value,a=>{r?(cancelAnimationFrame(s),s=requestAnimationFrame(()=>{s=requestAnimationFrame(()=>{i(a)})})):i(a)})})}),We(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(o),cancelAnimationFrame(s)})}function Yf(e,t){const n=[document,...Yr(e)];n.forEach(r=>{r.addEventListener("scroll",t,{passive:!0})}),We(()=>{n.forEach(r=>{r.removeEventListener("scroll",t)})})}const $o=Symbol.for("vuetify:v-menu"),u0=oe({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function f0(e,t){const n={},r=s=>()=>{if(!Te)return Promise.resolve(!0);const o=s==="openDelay";return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise(i=>{const a=parseInt(e[s]??0,10);n[s]=window.setTimeout(()=>{t==null||t(o),i(o)},a)})};return{runCloseDelay:r("closeDelay"),runOpenDelay:r("openDelay")}}const d0=oe({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...u0()},"VOverlay-activator");function h0(e,t){let{isActive:n,isTop:r}=t;const s=ve();let o=!1,i=!1,a=!0;const l=D(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),c=D(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!l.value),{runOpenDelay:u,runCloseDelay:f}=f0(e,b=>{b===(e.openOnHover&&o||l.value&&i)&&!(e.openOnHover&&n.value&&!r.value)&&(n.value!==b&&(a=!0),n.value=b)}),d={onClick:b=>{b.stopPropagation(),s.value=b.currentTarget||b.target,n.value=!n.value},onMouseenter:b=>{var L;(L=b.sourceCapabilities)!=null&&L.firesTouchEvents||(o=!0,s.value=b.currentTarget||b.target,u())},onMouseleave:b=>{o=!1,f()},onFocus:b=>{Jv&&!b.target.matches(":focus-visible")||(i=!0,b.stopPropagation(),s.value=b.currentTarget||b.target,u())},onBlur:b=>{i=!1,b.stopPropagation(),f()}},m=D(()=>{const b={};return c.value&&(b.onClick=d.onClick),e.openOnHover&&(b.onMouseenter=d.onMouseenter,b.onMouseleave=d.onMouseleave),l.value&&(b.onFocus=d.onFocus,b.onBlur=d.onBlur),b}),h=D(()=>{const b={};if(e.openOnHover&&(b.onMouseenter=()=>{o=!0,u()},b.onMouseleave=()=>{o=!1,f()}),l.value&&(b.onFocusin=()=>{i=!0,u()},b.onFocusout=()=>{i=!1,f()}),e.closeOnContentClick){const L=_e($o,null);b.onClick=()=>{n.value=!1,L==null||L.closeParents()}}return b}),g=D(()=>{const b={};return e.openOnHover&&(b.onMouseenter=()=>{a&&(o=!0,a=!1,u())},b.onMouseleave=()=>{o=!1,f()}),b});pe(r,b=>{b&&(e.openOnHover&&!o&&(!l.value||!i)||l.value&&!i&&(!e.openOnHover||!o))&&(n.value=!1)});const w=ve();Zt(()=>{w.value&&ft(()=>{s.value=Sv(w.value)})});const _=Ze("useActivator");let E;return pe(()=>!!e.activator,b=>{b&&Te?(E=ir(),E.run(()=>{m0(e,_,{activatorEl:s,activatorEvents:m})})):E&&E.stop()},{flush:"post",immediate:!0}),We(()=>{E==null||E.stop()}),{activatorEl:s,activatorRef:w,activatorEvents:m,contentEvents:h,scrimEvents:g}}function m0(e,t,n){let{activatorEl:r,activatorEvents:s}=n;pe(()=>e.activator,(l,c)=>{if(c&&l!==c){const u=a(c);u&&i(u)}l&&ft(()=>o())},{immediate:!0}),pe(()=>e.activatorProps,()=>{o()}),We(()=>{i()});function o(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&Rv(l,De(s.value,c))}function i(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&Tv(l,De(s.value,c))}function a(){var u,f;let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator,c;if(l)if(l==="parent"){let d=(f=(u=t==null?void 0:t.proxy)==null?void 0:u.$el)==null?void 0:f.parentNode;for(;d.hasAttribute("data-no-activator");)d=d.parentNode;c=d}else typeof l=="string"?c=document.querySelector(l):"$el"in l?c=l.$el:c=l;return r.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:null,r.value}}function p0(){if(!Te)return xe(!1);const{ssr:e}=ry();if(e){const t=xe(!1);return ri(()=>{t.value=!0}),t}else return xe(!0)}const g0=oe({eager:Boolean},"lazy");function v0(e,t){const n=xe(!1),r=D(()=>n.value||e.eager||t.value);pe(t,()=>n.value=!0);function s(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:r,onAfterLeave:s}}function Jf(){const t=Ze("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const Yl=Symbol.for("vuetify:stack"),Fn=ut([]);function y0(e,t,n){const r=Ze("useStack"),s=!n,o=_e(Yl,void 0),i=ut({activeChildren:new Set});Ft(Yl,i);const a=xe(+t.value);fr(e,()=>{var f;const u=(f=Fn.at(-1))==null?void 0:f[1];a.value=u?u+10:+t.value,s&&Fn.push([r.uid,a.value]),o==null||o.activeChildren.add(r.uid),We(()=>{if(s){const d=ne(Fn).findIndex(m=>m[0]===r.uid);Fn.splice(d,1)}o==null||o.activeChildren.delete(r.uid)})});const l=xe(!0);s&&Zt(()=>{var f;const u=((f=Fn.at(-1))==null?void 0:f[0])===r.uid;setTimeout(()=>l.value=u)});const c=D(()=>!i.activeChildren.size);return{globalTop:Jo(l),localTop:c,stackStyles:D(()=>({zIndex:a.value}))}}function b0(e){return{teleportTarget:D(()=>{const n=e.value;if(n===!0||!Te)return;const r=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(r==null)return;let s=r.querySelector(":scope > .v-overlay-container");return s||(s=document.createElement("div"),s.className="v-overlay-container",r.appendChild(s)),s})}}function w0(){return!0}function Gf(e,t,n){if(!e||Xf(e,n)===!1)return!1;const r=rf(t);if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&r.host===e.target)return!1;const s=(typeof n.value=="object"&&n.value.include||(()=>[]))();return s.push(t),!s.some(o=>o==null?void 0:o.contains(e.target))}function Xf(e,t){return(typeof t.value=="object"&&t.value.closeConditional||w0)(e)}function _0(e,t,n){const r=typeof n.value=="function"?n.value:n.value.handler;t._clickOutside.lastMousedownWasOutside&&Gf(e,t,n)&&setTimeout(()=>{Xf(e,n)&&r&&r(e)},0)}function Jl(e,t){const n=rf(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const E0={mounted(e,t){const n=s=>_0(s,e,t),r=s=>{e._clickOutside.lastMousedownWasOutside=Gf(s,e,t)};Jl(e,s=>{s.addEventListener("click",n,!0),s.addEventListener("mousedown",r,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:r}},unmounted(e,t){e._clickOutside&&(Jl(e,n=>{var o;if(!n||!((o=e._clickOutside)!=null&&o[t.instance.$.uid]))return;const{onClick:r,onMousedown:s}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",r,!0),n.removeEventListener("mousedown",s,!0)}),delete e._clickOutside[t.instance.$.uid])}};function S0(e){const{modelValue:t,color:n,...r}=e;return T(Jt,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&T("div",De({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},r),null)]})}const Zf=oe({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...d0(),...Xe(),...Ni(),...g0(),...Qb(),...o0(),...hr(),...wf()},"VOverlay"),Gl=Ie()({name:"VOverlay",directives:{ClickOutside:E0},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Zf()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:r,emit:s}=t;const o=Ps(e,"modelValue"),i=D({get:()=>o.value,set:se=>{se&&e.disabled||(o.value=se)}}),{teleportTarget:a}=b0(D(()=>e.attach||e.contained)),{themeClasses:l}=mr(e),{rtlClasses:c,isRtl:u}=Li(),{hasContent:f,onAfterLeave:d}=v0(e,i),m=Lo(D(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:h,localTop:g,stackStyles:w}=y0(i,Zo(e,"zIndex"),e._disableGlobalStack),{activatorEl:_,activatorRef:E,activatorEvents:b,contentEvents:L,scrimEvents:H}=h0(e,{isActive:i,isTop:g}),{dimensionStyles:Y}=Di(e),J=p0(),{scopeId:C}=Jf();pe(()=>e.disabled,se=>{se&&(i.value=!1)});const k=ve(),B=ve(),{contentStyles:U,updateLocation:O}=e0(e,{isRtl:u,contentEl:B,activatorEl:_,isActive:i});i0(e,{root:k,contentEl:B,activatorEl:_,isActive:i,updateLocation:O});function j(se){s("click:outside",se),e.persistent?X():i.value=!1}function te(){return i.value&&h.value}Te&&pe(i,se=>{se?window.addEventListener("keydown",he):window.removeEventListener("keydown",he)},{immediate:!0});function he(se){var Ee,Oe;se.key==="Escape"&&h.value&&(e.persistent?X():(i.value=!1,(Ee=B.value)!=null&&Ee.contains(document.activeElement)&&((Oe=_.value)==null||Oe.focus())))}const Z=Pb();fr(()=>e.closeOnBack,()=>{Tb(Z,se=>{h.value&&i.value?(se(!1),e.persistent?X():i.value=!1):se()})});const ie=ve();pe(()=>i.value&&(e.absolute||e.contained)&&a.value==null,se=>{if(se){const Ee=Kv(k.value);Ee&&Ee!==document.scrollingElement&&(ie.value=Ee.scrollTop)}});function X(){e.noClickAnimation||B.value&&Nn(B.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Oo})}return ht(()=>{var se;return T(ke,null,[(se=n.activator)==null?void 0:se.call(n,{isActive:i.value,props:De({ref:E},b.value,e.activatorProps)}),J.value&&f.value&&T(jh,{disabled:!a.value,to:a.value},{default:()=>[T("div",De({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":i.value,"v-overlay--contained":e.contained},l.value,c.value,e.class],style:[w.value,{top:ce(ie.value)},e.style],ref:k},C,r),[T(S0,De({color:m,modelValue:i.value&&!!e.scrim},H.value),null),T(Dn,{appear:!0,persisted:!0,transition:e.transition,target:_.value,onAfterLeave:()=>{d(),s("afterLeave")}},{default:()=>{var Ee;return[Vr(T("div",De({ref:B,class:["v-overlay__content",e.contentClass],style:[Y.value,U.value]},L.value,e.contentProps),[(Ee=n.default)==null?void 0:Ee.call(n,{isActive:i})]),[[ru,i.value],[ii("click-outside"),{handler:j,closeConditional:te,include:()=>[_.value]}]])]}})])]})])}),{activatorEl:_,animateClick:X,contentEl:B,globalTop:h,localTop:g,updateLocation:O}}}),Xs=Symbol("Forwarded refs");function Zs(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function C0(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r!0},setup(e,t){let{slots:n}=t;const r=Ps(e,"modelValue"),{scopeId:s}=Jf(),o=Oi(),i=D(()=>e.id||`v-menu-${o}`),a=ve(),l=_e($o,null),c=xe(0);Ft($o,{register(){++c.value},unregister(){--c.value},closeParents(){setTimeout(()=>{c.value||(r.value=!1,l==null||l.closeParents())},40)}}),pe(r,h=>{h?l==null||l.register():l==null||l.unregister()});function u(){l==null||l.closeParents()}function f(h){var g,w;e.disabled||h.key==="Tab"&&(r.value=!1,(w=(g=a.value)==null?void 0:g.activatorEl)==null||w.focus())}function d(h){var w;if(e.disabled)return;const g=(w=a.value)==null?void 0:w.contentEl;g&&r.value?h.key==="ArrowDown"?(h.preventDefault(),Ao(g,"next")):h.key==="ArrowUp"&&(h.preventDefault(),Ao(g,"prev")):["ArrowDown","ArrowUp"].includes(h.key)&&(r.value=!0,h.preventDefault(),setTimeout(()=>setTimeout(()=>d(h))))}const m=D(()=>De({"aria-haspopup":"menu","aria-expanded":String(r.value),"aria-owns":i.value,onKeydown:d},e.activatorProps));return ht(()=>{const[h]=Gl.filterProps(e);return T(Gl,De({ref:a,class:["v-menu",e.class],style:e.style},h,{modelValue:r.value,"onUpdate:modelValue":g=>r.value=g,absolute:!0,activatorProps:m.value,"onClick:outside":u,onKeydown:f},s),{activator:n.activator,default:function(){for(var g=arguments.length,w=new Array(g),_=0;_{var E;return[(E=n.default)==null?void 0:E.call(n,...w)]}})}})}),C0({id:i,ΨopenChildren:c},a)}}),P0={name:"myHelper",props:{pretext:{type:Object,default:()=>{}}},data:()=>({fav:!0,menu:!1,message:!1,hints:!0})},O0={class:"pa-0 align-self-center"};function R0(e,t,n,r,s,o){return lr(),Hh("div",O0,[T(A0,{modelValue:e.menu,"onUpdate:modelValue":t[1]||(t[1]=i=>e.menu=i),"close-on-content-click":!1,"nudge-width":500,"offset-x":""},{activator:cn(({on:i,attrs:a})=>[T(yf,De(a,bh(i),{size:"large",color:"indigo",icon:"mdi-owl",onClick:t[0]||(t[0]=l=>e.menu=!e.menu)}),null,16)]),default:cn(()=>[T($b,{class:"whmy overflow-auto overflow-x-hidden"},{default:cn(()=>[T(Jb,{class:"ma-3"},{default:cn(()=>[T(Hb,null,{default:cn(()=>[fi("pre",null,""+nc(n.pretext)+` `,1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])])}const T0=Gy(P0,[["render",R0]]),k0=[T0];var Qf=us({name:"Vue3Autocounter",interval:null,props:{startAmount:{type:Number,default:0},endAmount:{type:Number,default:0,required:!0},duration:{type:Number,default:3,validator(e){return e>=1}},autoinit:{type:Boolean,default:!0},prefix:{type:String,default:""},suffix:{type:String,default:""},separator:{type:String,default:","},decimalSeparator:{type:String,default:"."},decimals:{type:Number,default:0,validator(e){return e>=0}}},data(){return{timestamp:0,startTimestamp:0,currentAmount:0,currentStartAmount:0,currentDuration:0,paused:!1,remaining:0,animationFrame:0}},mounted(){this.currentAmount=this.startAmount,this.currentStartAmount=this.startAmount,this.currentDuration=this.duration*1e3,this.remaining=this.duration*1e3,this.autoinit?this.start():this.paused=!0,this.$emit("mounted")},unmounted(){this.cancelAnimation()},watch:{startAmount(){this.reset()},endAmount(){this.reset()},duration(){this.reset()}},computed:{isCountingUp(){return this.endAmount>this.startAmount},displayedAmount(){return`${this.prefix}${this.formatedAmount}${this.suffix}`},formatedAmount(){const e=/(\d+)(\d{3})/;let t=this.currentAmount.toFixed(this.decimals);t+="";let n=t.split("."),r=n[0],s=n.length>1?this.decimalSeparator+n[1]:"",o=!isNaN(parseFloat(this.separator));if(this.separator&&!o)for(;e.test(r);)r=r.replace(e,"$1"+this.separator+"$2");return r+s}},methods:{start(){this.cancelAnimation(),this.currentStartAmount=this.startAmount,this.startTimestamp=null,this.currentDuration=this.duration*1e3,this.paused=!1,this.animationFrame=window.requestAnimationFrame(this.counting)},pause(){this.paused||(this.cancelAnimation(),this.paused=!0)},resume(){this.paused&&(this.startTimestamp=null,this.currentDuration=+this.remaining,this.currentStartAmount=+this.currentAmount,this.animationFrame=window.requestAnimationFrame(this.counting),this.paused=!1)},reset(){this.paused=!1,this.startTimestamp=null,this.cancelAnimation(),this.currentAmount=this.startAmount,this.autoinit?this.start():this.paused=!0},counting(e){this.timestamp=e,this.startTimestamp||(this.startTimestamp=e);let t=e-this.startTimestamp;this.remaining=this.currentDuration-t,this.isCountingUp?(this.currentAmount=this.currentStartAmount+(this.endAmount-this.currentStartAmount)*(t/this.currentDuration),this.currentAmount=this.currentAmount>this.endAmount?this.endAmount:this.currentAmount):(this.currentAmount=this.currentStartAmount-(this.currentStartAmount-this.endAmount)*(t/this.currentDuration),this.currentAmount=this.currentAmount{this.$emit("finished")},1e3)},cancelAnimation(){this.animationFrame&&window.cancelAnimationFrame(this.animationFrame)}}});function F0(e,t,n,r,s,o){return lr(),hs("span",null,nc(e.displayedAmount),1)}Qf.render=F0;var L0=(()=>{const e=Qf;return e.install=t=>{t.component("Vue3Autocounter",e)},e})();const I0=L0,Os=Im(mv);k0.forEach(e=>{Os.component(e.name,e)});Os.component("vue3-autocounter",I0);Jy(Os);Os.mount("#app");export{$0 as $,Ci as A,Lu as B,lr as C,hs as D,cn as E,T as F,Wh as G,De as H,Qy as I,hb as J,Jb as K,Hb as L,Xy as M,Vr as N,ru as O,wb as P,W0 as Q,$b as R,fi as S,K0 as T,X0 as U,yf as V,Ha as W,vh as X,Hh as Y,ke as Z,Gy as _,ut as a,H0 as a$,Gt as a0,Xe as a1,Mi as a2,gf as a3,xn as a4,hr as a5,Ie as a6,cw as a7,mr as a8,Ps as a9,Y0 as aA,Z0 as aB,hv as aC,uw as aD,Es as aE,rs as aF,J0 as aG,Ni as aH,Pf as aI,xb as aJ,Di as aK,Of as aL,Ab as aM,T0 as aN,fh as aO,q0 as aP,D0 as aQ,M0 as aR,Eb as aS,nw as aT,Sb as aU,G0 as aV,z0 as aW,j0 as aX,ns as aY,yh as aZ,B0 as a_,xo as aa,Ku as ab,ht as ac,nc as ad,V0 as ae,pn as af,Li as ag,mb as ah,gb as ai,$i as aj,Lo as ak,Zo as al,pb as am,vb as an,Bi as ao,Fi as ap,Ef as aq,Gr as ar,fr as as,Zt as at,ow as au,ry as av,Pb as aw,Jf as ax,ul as ay,Jt as az,ce as b,N0 as b0,$e as b1,Cv as b2,pf as b3,Nn as b4,Oo as b5,Te as b6,Pv as b7,Sf as b8,Zf as b9,Ob as bA,Af as bB,lw as bC,Cf as bD,Q0 as bE,qu as bF,Ao as bG,vf as bH,ib as bI,tw as bJ,g0 as bK,v0 as bL,Jo as bM,U0 as bN,Qt as bO,_b as bP,Zu as bQ,Ju as bR,Sv as bS,Nt as bT,rt as bU,yb as bV,Gl as ba,C0 as bb,rw as bc,sw as bd,aw as be,Zy as bf,xf as bg,ew as bh,Kv as bi,We as bj,Ev as bk,wf as bl,Xb as bm,A0 as bn,Ml as bo,Pi as bp,Db as bq,ii as br,Jv as bs,ob as bt,It as bu,ne as bv,dr as bw,Dn as bx,iw as by,Rb as bz,D as c,Ze as d,Ft as e,zs as f,Mm as g,Oi as h,_e as i,ch as j,lh as k,si as l,uu as m,Fu as n,ri as o,oe as p,hi as q,ve as r,xe as s,Lc as t,me as u,ze as v,pe as w,Tt as x,vn as y,ft as z}; diff --git a/src/front/dist/assets/load-round-b73652f0.js b/src/front/dist/assets/load-round-6010a179.js similarity index 96% rename from src/front/dist/assets/load-round-b73652f0.js rename to src/front/dist/assets/load-round-6010a179.js index 37787a660..a6d29dcf8 100644 --- a/src/front/dist/assets/load-round-b73652f0.js +++ b/src/front/dist/assets/load-round-6010a179.js @@ -1 +1 @@ -import{p as ne,bc as oe,a6 as se,a7 as ie,a9 as ue,c as y,bd as T,r as c,w as re,ac as ce,aT as de,F as l,H as R,Z as S,bb as fe,z as ve,be as me,_ as pe,aE as O,C as ye,D as ge,E as u,K as w,L as r,R as Ve,I as xe,G as P,bf as $,ad as ke,V as j,af as z}from"./index-c88a2b18.js";import{m as be,a as Ce,u as he,V as G,f as _e,b as we,c as Ie}from"./VInput-b34b1163.js";import{V as Fe}from"./VChip-e811d273.js";import{V as Re}from"./VAlert-e3223400.js";const Se=ne({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:e=>typeof e=="boolean"||[1e3,1024].includes(e)},...be({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:e=>oe(e).every(o=>o!=null&&typeof o=="object")},...Ce({clearable:!0})},"VFileInput"),Pe=se()({name:"VFileInput",inheritAttrs:!1,props:Se(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:g,emit:n,slots:s}=o;const{t:x}=ie(),t=ue(e,"modelValue"),{isFocused:V,focus:h,blur:d}=he(e),m=y(()=>typeof e.showSize!="boolean"?e.showSize:void 0),f=y(()=>(t.value??[]).reduce((a,i)=>{let{size:k=0}=i;return a+k},0)),A=y(()=>T(f.value,m.value)),I=y(()=>(t.value??[]).map(a=>{const{name:i="",size:k=0}=a;return e.showSize?`${i} (${T(k,m.value)})`:i})),H=y(()=>{var i;const a=((i=t.value)==null?void 0:i.length)??0;return e.showSize?x(e.counterSizeString,a,A.value):x(e.counterString,a)}),B=c(),D=c(),p=c(),K=y(()=>V.value||e.active),E=y(()=>["plain","underlined"].includes(e.variant));function F(){var a;p.value!==document.activeElement&&((a=p.value)==null||a.focus()),V.value||h()}function Z(a){L(a)}function q(a){n("mousedown:control",a)}function L(a){var i;(i=p.value)==null||i.click(),n("click:control",a)}function J(a){a.stopPropagation(),F(),ve(()=>{t.value=[],me(e["onClick:clear"],a)})}return re(t,a=>{(!Array.isArray(a)||!a.length)&&p.value&&(p.value.value="")}),ce(()=>{const a=!!(s.counter||e.counter),i=!!(a||s.details),[k,Q]=de(g),[{modelValue:Be,...W}]=G.filterProps(e),[X]=_e(e);return l(G,R({ref:B,modelValue:t.value,"onUpdate:modelValue":b=>t.value=b,class:["v-file-input",{"v-text-field--plain-underlined":E.value},e.class],style:e.style,"onClick:prepend":Z},k,W,{centerAffix:!E.value,focused:V.value}),{...s,default:b=>{let{id:_,isDisabled:C,isDirty:M,isReadonly:N,isValid:Y}=b;return l(we,R({ref:D,"prepend-icon":e.prependIcon,onMousedown:q,onClick:L,"onClick:clear":J,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},X,{id:_.value,active:K.value||M.value,dirty:M.value,disabled:C.value,focused:V.value,error:Y.value===!1}),{...s,default:ee=>{var U;let{props:{class:le,...ae}}=ee;return l(S,null,[l("input",R({ref:p,type:"file",readonly:N.value,disabled:C.value,multiple:e.multiple,name:e.name,onClick:v=>{v.stopPropagation(),N.value&&v.preventDefault(),F()},onChange:v=>{if(!v.target)return;const te=v.target;t.value=[...te.files??[]]},onFocus:F,onBlur:d},ae,Q),null),l("div",{class:le},[!!((U=t.value)!=null&&U.length)&&(s.selection?s.selection({fileNames:I.value,totalBytes:f.value,totalBytesReadable:A.value}):e.chips?I.value.map(v=>l(Fe,{key:v,size:"small",color:e.color},{default:()=>[v]})):I.value.join(", "))])])}})},details:i?b=>{var _,C;return l(S,null,[(_=s.details)==null?void 0:_.call(s,b),a&&l(S,null,[l("span",null,null),l(Ie,{active:!!((C=t.value)!=null&&C.length),value:H.value},s.counter)])])}:void 0})}),fe({},B,D,p)}}),ze={setup(){const e=c([]),o=c({}),g=c(""),n=c(""),s=c(!1),x=d=>{z.get(`api/general_vacation/dailyroundup/?excel=${d}`).then(m=>{let f=document.createElement("a");f.href=O+m.data.path,f.click(),f.remove()})},t=d=>{const m=new FormData;m.append("dailyfiles",e.value[0]),z.post(`api/general_vacation/dailyroundup/?excel=${d}`,m).then(f=>{g.value=f.data.mess,console.log(g.value,"----------------result.data")}),h.value=!0,e.value=[],s.value=!0},V=()=>{z.get("api/general_vacation/dailyload/?id=6").then(d=>{console.log(d.data),n.value=d.data})},h=c(!1);return{visiting:o,excelOp:x,baseURL:O,dailyfiles:e,onPickFile:t,info:g,detailRound:V,t_dailyRound:n,showInfo:h,alert:s}}};function Ae(e,o,g,n,s,x){return ye(),ge(w,null,{default:u(()=>[l(r,{class:"flex-column d-flex"},{default:u(()=>[l(w,{class:"flex-grow-0 mhight"},{default:u(()=>[l(r,{class:"flex-column d-flex"},{default:u(()=>[l(Ve,{class:"ml-2 mt-2",width:"500"},{default:u(()=>[l(xe,{class:"text-wrap pb-3"},{default:u(()=>[P(" Ежедневная статистика по сотрудникам ")]),_:1}),l(w,{class:"flex-grow-0 align-self-end"},{default:u(()=>[l(r,{class:"d-flex"},{default:u(()=>[l($,{class:"mt-2 align-self-end"},{default:u(()=>[P(" 1. Скачать файл ежедневной статистики "+ke(n.info),1)]),_:1}),l(j,{class:"pt-2 pl-2",icon:"mdi-file-excel",color:"green-darken-3",onClick:o[0]||(o[0]=t=>n.excelOp("excround"))})]),_:1})]),_:1}),l(w,null,{default:u(()=>[l($,{class:"align-self-center ml-3"},{default:u(()=>[P(" 2. Загрузить данные на сервер ")]),_:1}),l(r,{class:"pr-0"},{default:u(()=>[l(Pe,{accept:".xlsx",modelValue:n.dailyfiles,"onUpdate:modelValue":o[1]||(o[1]=t=>n.dailyfiles=t),variant:"underlined",density:"compact",label:"Прикрепить файл","hide-details":"",class:"mr-2 pb-2"},null,8,["modelValue"])]),_:1}),l(r,{class:"flex-grow-0 align-self-center pl-0 pr-6"},{default:u(()=>[l(j,{icon:"mdi-chevron-double-right",color:"blue-grey-darken-2",onClick:o[2]||(o[2]=t=>n.onPickFile("roundfilse"))})]),_:1})]),_:1})]),_:1})]),_:1}),l(r,{class:"flex-column d-flex"}),l(r),l(r),l(r),l(r),l(Re,{width:"500",position:"fixed",class:"bottom-alert",type:n.info=="Файл загружен"?"success":"error",title:n.info=="Файл загружен"?"Успех!":"Упс!",text:n.info,modelValue:n.alert,"onUpdate:modelValue":o[3]||(o[3]=t=>n.alert=t),color:n.info=="Файл загружен"?"teal-darken-2":"red-darken-2",closable:""},null,8,["type","title","text","modelValue","color"])]),_:1})]),_:1})]),_:1})}const Ne=pe(ze,[["render",Ae]]);export{Ne as L,Pe as V}; +import{p as ne,bc as oe,a6 as se,a7 as ie,a9 as ue,c as y,bd as T,r as c,w as re,ac as ce,aT as de,F as l,H as R,Z as S,bb as fe,z as ve,be as me,_ as pe,aE as O,C as ye,D as ge,E as u,K as w,L as r,R as Ve,I as xe,G as P,bf as $,ad as ke,V as j,af as z}from"./index-cb66bb90.js";import{m as be,a as Ce,u as he,V as G,f as _e,b as we,c as Ie}from"./VInput-6691c158.js";import{V as Fe}from"./VChip-5a86556f.js";import{V as Re}from"./VAlert-03636774.js";const Se=ne({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:e=>typeof e=="boolean"||[1e3,1024].includes(e)},...be({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:e=>oe(e).every(o=>o!=null&&typeof o=="object")},...Ce({clearable:!0})},"VFileInput"),Pe=se()({name:"VFileInput",inheritAttrs:!1,props:Se(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:g,emit:n,slots:s}=o;const{t:x}=ie(),t=ue(e,"modelValue"),{isFocused:V,focus:h,blur:d}=he(e),m=y(()=>typeof e.showSize!="boolean"?e.showSize:void 0),f=y(()=>(t.value??[]).reduce((a,i)=>{let{size:k=0}=i;return a+k},0)),A=y(()=>T(f.value,m.value)),I=y(()=>(t.value??[]).map(a=>{const{name:i="",size:k=0}=a;return e.showSize?`${i} (${T(k,m.value)})`:i})),H=y(()=>{var i;const a=((i=t.value)==null?void 0:i.length)??0;return e.showSize?x(e.counterSizeString,a,A.value):x(e.counterString,a)}),B=c(),D=c(),p=c(),K=y(()=>V.value||e.active),E=y(()=>["plain","underlined"].includes(e.variant));function F(){var a;p.value!==document.activeElement&&((a=p.value)==null||a.focus()),V.value||h()}function Z(a){L(a)}function q(a){n("mousedown:control",a)}function L(a){var i;(i=p.value)==null||i.click(),n("click:control",a)}function J(a){a.stopPropagation(),F(),ve(()=>{t.value=[],me(e["onClick:clear"],a)})}return re(t,a=>{(!Array.isArray(a)||!a.length)&&p.value&&(p.value.value="")}),ce(()=>{const a=!!(s.counter||e.counter),i=!!(a||s.details),[k,Q]=de(g),[{modelValue:Be,...W}]=G.filterProps(e),[X]=_e(e);return l(G,R({ref:B,modelValue:t.value,"onUpdate:modelValue":b=>t.value=b,class:["v-file-input",{"v-text-field--plain-underlined":E.value},e.class],style:e.style,"onClick:prepend":Z},k,W,{centerAffix:!E.value,focused:V.value}),{...s,default:b=>{let{id:_,isDisabled:C,isDirty:M,isReadonly:N,isValid:Y}=b;return l(we,R({ref:D,"prepend-icon":e.prependIcon,onMousedown:q,onClick:L,"onClick:clear":J,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},X,{id:_.value,active:K.value||M.value,dirty:M.value,disabled:C.value,focused:V.value,error:Y.value===!1}),{...s,default:ee=>{var U;let{props:{class:le,...ae}}=ee;return l(S,null,[l("input",R({ref:p,type:"file",readonly:N.value,disabled:C.value,multiple:e.multiple,name:e.name,onClick:v=>{v.stopPropagation(),N.value&&v.preventDefault(),F()},onChange:v=>{if(!v.target)return;const te=v.target;t.value=[...te.files??[]]},onFocus:F,onBlur:d},ae,Q),null),l("div",{class:le},[!!((U=t.value)!=null&&U.length)&&(s.selection?s.selection({fileNames:I.value,totalBytes:f.value,totalBytesReadable:A.value}):e.chips?I.value.map(v=>l(Fe,{key:v,size:"small",color:e.color},{default:()=>[v]})):I.value.join(", "))])])}})},details:i?b=>{var _,C;return l(S,null,[(_=s.details)==null?void 0:_.call(s,b),a&&l(S,null,[l("span",null,null),l(Ie,{active:!!((C=t.value)!=null&&C.length),value:H.value},s.counter)])])}:void 0})}),fe({},B,D,p)}}),ze={setup(){const e=c([]),o=c({}),g=c(""),n=c(""),s=c(!1),x=d=>{z.get(`api/general_vacation/dailyroundup/?excel=${d}`).then(m=>{let f=document.createElement("a");f.href=O+m.data.path,f.click(),f.remove()})},t=d=>{const m=new FormData;m.append("dailyfiles",e.value[0]),z.post(`api/general_vacation/dailyroundup/?excel=${d}`,m).then(f=>{g.value=f.data.mess,console.log(g.value,"----------------result.data")}),h.value=!0,e.value=[],s.value=!0},V=()=>{z.get("api/general_vacation/dailyload/?id=6").then(d=>{console.log(d.data),n.value=d.data})},h=c(!1);return{visiting:o,excelOp:x,baseURL:O,dailyfiles:e,onPickFile:t,info:g,detailRound:V,t_dailyRound:n,showInfo:h,alert:s}}};function Ae(e,o,g,n,s,x){return ye(),ge(w,null,{default:u(()=>[l(r,{class:"flex-column d-flex"},{default:u(()=>[l(w,{class:"flex-grow-0 mhight"},{default:u(()=>[l(r,{class:"flex-column d-flex"},{default:u(()=>[l(Ve,{class:"ml-2 mt-2",width:"500"},{default:u(()=>[l(xe,{class:"text-wrap pb-3"},{default:u(()=>[P(" Ежедневная статистика по сотрудникам ")]),_:1}),l(w,{class:"flex-grow-0 align-self-end"},{default:u(()=>[l(r,{class:"d-flex"},{default:u(()=>[l($,{class:"mt-2 align-self-end"},{default:u(()=>[P(" 1. Скачать файл ежедневной статистики "+ke(n.info),1)]),_:1}),l(j,{class:"pt-2 pl-2",icon:"mdi-file-excel",color:"green-darken-3",onClick:o[0]||(o[0]=t=>n.excelOp("excround"))})]),_:1})]),_:1}),l(w,null,{default:u(()=>[l($,{class:"align-self-center ml-3"},{default:u(()=>[P(" 2. Загрузить данные на сервер ")]),_:1}),l(r,{class:"pr-0"},{default:u(()=>[l(Pe,{accept:".xlsx",modelValue:n.dailyfiles,"onUpdate:modelValue":o[1]||(o[1]=t=>n.dailyfiles=t),variant:"underlined",density:"compact",label:"Прикрепить файл","hide-details":"",class:"mr-2 pb-2"},null,8,["modelValue"])]),_:1}),l(r,{class:"flex-grow-0 align-self-center pl-0 pr-6"},{default:u(()=>[l(j,{icon:"mdi-chevron-double-right",color:"blue-grey-darken-2",onClick:o[2]||(o[2]=t=>n.onPickFile("roundfilse"))})]),_:1})]),_:1})]),_:1})]),_:1}),l(r,{class:"flex-column d-flex"}),l(r),l(r),l(r),l(r),l(Re,{width:"500",position:"fixed",class:"bottom-alert",type:n.info=="Файл загружен"?"success":"error",title:n.info=="Файл загружен"?"Успех!":"Упс!",text:n.info,modelValue:n.alert,"onUpdate:modelValue":o[3]||(o[3]=t=>n.alert=t),color:n.info=="Файл загружен"?"teal-darken-2":"red-darken-2",closable:""},null,8,["type","title","text","modelValue","color"])]),_:1})]),_:1})]),_:1})}const Ne=pe(ze,[["render",Ae]]);export{Ne as L,Pe as V}; diff --git a/src/front/dist/assets/o_OKiB-0a2c7181.js b/src/front/dist/assets/o_OKiB-0a2c7181.js deleted file mode 100644 index cb852a7a8..000000000 --- a/src/front/dist/assets/o_OKiB-0a2c7181.js +++ /dev/null @@ -1 +0,0 @@ -import{L as t}from"./load-round-b73652f0.js";import{_ as e,aB as a,X as r,C as n,D as s,E as p,K as c,F as _}from"./index-c88a2b18.js";import"./VInput-b34b1163.js";import"./VBtn-3e30d8f6.js";import"./VChip-e811d273.js";import"./VAlert-e3223400.js";const d={components:{LoadRound:t},setup(){a()}};function m(i,u,l,f,x,B){const o=r("load-round");return n(),s(c,null,{default:p(()=>[_(o)]),_:1})}const L=e(d,[["render",m]]);export{L as default}; diff --git a/src/front/dist/assets/o_OKiB-486aec63.js b/src/front/dist/assets/o_OKiB-486aec63.js new file mode 100644 index 000000000..64eaa877b --- /dev/null +++ b/src/front/dist/assets/o_OKiB-486aec63.js @@ -0,0 +1 @@ +import{L as u}from"./load-round-6010a179.js";import{_ as p,aB as _,A as i,X as d,C as e,D as o,E as t,K as a,F as r,G as l,L as f}from"./index-cb66bb90.js";import"./VInput-6691c158.js";import"./VBtn-be56359b.js";import"./VChip-5a86556f.js";import"./VAlert-03636774.js";const m={components:{LoadRound:u},setup(){return _(),{accountStore:i()}}};function x(n,g,h,s,k,B){const c=d("load-round");return s.accountStore.user.is_staff?(e(),o(a,{key:0},{default:t(()=>[r(c)]),_:1})):(e(),o(a,{key:1},{default:t(()=>[r(f,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:t(()=>[l(" Отдел кадров и безопасности ")]),_:1})]),_:1}))}const $=p(m,[["render",x]]);export{$ as default}; diff --git a/src/front/dist/assets/webfontloader-b4dfbbb5.js b/src/front/dist/assets/webfontloader-62e31b85.js similarity index 99% rename from src/front/dist/assets/webfontloader-b4dfbbb5.js rename to src/front/dist/assets/webfontloader-62e31b85.js index 59d09ee76..d1c9215eb 100644 --- a/src/front/dist/assets/webfontloader-b4dfbbb5.js +++ b/src/front/dist/assets/webfontloader-62e31b85.js @@ -1 +1 @@ -import{g as Ft}from"./index-c88a2b18.js";function Pt(w,S){for(var _=0;_h[m]})}}}return Object.freeze(Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}))}var at={exports:{}};(function(w){(function(){function S(t,n,e){return t.call.apply(t.bind,arguments)}function _(t,n,e){if(!t)throw Error();if(2=n.f?a():t.fonts.load(ht(n.a),n.h).then(function(c){1<=c.length?r():setTimeout(f,25)},function(){a()})}f()}),o=null,s=new Promise(function(r,a){o=setTimeout(a,n.f)});Promise.race([s,i]).then(function(){o&&(clearTimeout(o),o=null),n.g(n.a)},function(){n.j(n.a)})};function V(t,n,e,i,o,s,r){this.v=t,this.B=n,this.c=e,this.a=i,this.s=r||"BESbswy",this.f={},this.w=o||3e3,this.u=s||null,this.m=this.j=this.h=this.g=null,this.g=new A(this.c,this.s),this.h=new A(this.c,this.s),this.j=new A(this.c,this.s),this.m=new A(this.c,this.s),t=new g(this.a.c+",serif",p(this.a)),t=b(t),this.g.a.style.cssText=t,t=new g(this.a.c+",sans-serif",p(this.a)),t=b(t),this.h.a.style.cssText=t,t=new g("serif",p(this.a)),t=b(t),this.j.a.style.cssText=t,t=new g("sans-serif",p(this.a)),t=b(t),this.m.a.style.cssText=t,C(this.g),C(this.h),C(this.j),C(this.m)}var N={D:"serif",C:"sans-serif"},W=null;function X(){if(W===null){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);W=!!t&&(536>parseInt(t[1],10)||parseInt(t[1],10)===536&&11>=parseInt(t[2],10))}return W}V.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=m(),Q(this)};function J(t,n,e){for(var i in N)if(N.hasOwnProperty(i)&&n===t.f[N[i]]&&e===t.f[N[i]])return!0;return!1}function Q(t){var n=t.g.a.offsetWidth,e=t.h.a.offsetWidth,i;(i=n===t.f.serif&&e===t.f["sans-serif"])||(i=X()&&J(t,n,e)),i?m()-t.A>=t.w?X()&&J(t,n,e)&&(t.u===null||t.u.hasOwnProperty(t.a.c))?I(t,t.v):I(t,t.B):dt(t):I(t,t.v)}function dt(t){setTimeout(h(function(){Q(this)},t),50)}function I(t,n){setTimeout(h(function(){E(this.g.a),E(this.h.a),E(this.j.a),E(this.m.a),n(this.a)},t),0)}function k(t,n,e){this.c=t,this.a=n,this.f=0,this.m=this.j=!1,this.s=e}var O=null;k.prototype.g=function(t){var n=this.a;n.g&&y(n.f,[n.a.c("wf",t.c,p(t).toString(),"active")],[n.a.c("wf",t.c,p(t).toString(),"loading"),n.a.c("wf",t.c,p(t).toString(),"inactive")]),j(n,"fontactive",t),this.m=!0,Y(this)},k.prototype.h=function(t){var n=this.a;if(n.g){var e=D(n.f,n.a.c("wf",t.c,p(t).toString(),"active")),i=[],o=[n.a.c("wf",t.c,p(t).toString(),"loading")];e||i.push(n.a.c("wf",t.c,p(t).toString(),"inactive")),y(n.f,i,o)}j(n,"fontinactive",t),Y(this)};function Y(t){--t.f==0&&t.j&&(t.m?(t=t.a,t.g&&y(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),j(t,"active")):R(t.a))}function Z(t){this.j=t,this.a=new vt,this.h=0,this.f=this.g=!0}Z.prototype.load=function(t){this.c=new T(this.j,t.context||this.j),this.g=t.events!==!1,this.f=t.classes!==!1,yt(this,new pt(this.c,t),t)};function wt(t,n,e,i,o){var s=--t.h==0;(t.f||t.g)&&setTimeout(function(){var r=o||null,a=i||null||{};if(e.length===0&&s)R(n.a);else{n.f+=e.length,s&&(n.j=s);var f,c=[];for(f=0;fh[m]})}}}return Object.freeze(Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}))}var at={exports:{}};(function(w){(function(){function S(t,n,e){return t.call.apply(t.bind,arguments)}function _(t,n,e){if(!t)throw Error();if(2=n.f?a():t.fonts.load(ht(n.a),n.h).then(function(c){1<=c.length?r():setTimeout(f,25)},function(){a()})}f()}),o=null,s=new Promise(function(r,a){o=setTimeout(a,n.f)});Promise.race([s,i]).then(function(){o&&(clearTimeout(o),o=null),n.g(n.a)},function(){n.j(n.a)})};function V(t,n,e,i,o,s,r){this.v=t,this.B=n,this.c=e,this.a=i,this.s=r||"BESbswy",this.f={},this.w=o||3e3,this.u=s||null,this.m=this.j=this.h=this.g=null,this.g=new A(this.c,this.s),this.h=new A(this.c,this.s),this.j=new A(this.c,this.s),this.m=new A(this.c,this.s),t=new g(this.a.c+",serif",p(this.a)),t=b(t),this.g.a.style.cssText=t,t=new g(this.a.c+",sans-serif",p(this.a)),t=b(t),this.h.a.style.cssText=t,t=new g("serif",p(this.a)),t=b(t),this.j.a.style.cssText=t,t=new g("sans-serif",p(this.a)),t=b(t),this.m.a.style.cssText=t,C(this.g),C(this.h),C(this.j),C(this.m)}var N={D:"serif",C:"sans-serif"},W=null;function X(){if(W===null){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);W=!!t&&(536>parseInt(t[1],10)||parseInt(t[1],10)===536&&11>=parseInt(t[2],10))}return W}V.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=m(),Q(this)};function J(t,n,e){for(var i in N)if(N.hasOwnProperty(i)&&n===t.f[N[i]]&&e===t.f[N[i]])return!0;return!1}function Q(t){var n=t.g.a.offsetWidth,e=t.h.a.offsetWidth,i;(i=n===t.f.serif&&e===t.f["sans-serif"])||(i=X()&&J(t,n,e)),i?m()-t.A>=t.w?X()&&J(t,n,e)&&(t.u===null||t.u.hasOwnProperty(t.a.c))?I(t,t.v):I(t,t.B):dt(t):I(t,t.v)}function dt(t){setTimeout(h(function(){Q(this)},t),50)}function I(t,n){setTimeout(h(function(){E(this.g.a),E(this.h.a),E(this.j.a),E(this.m.a),n(this.a)},t),0)}function k(t,n,e){this.c=t,this.a=n,this.f=0,this.m=this.j=!1,this.s=e}var O=null;k.prototype.g=function(t){var n=this.a;n.g&&y(n.f,[n.a.c("wf",t.c,p(t).toString(),"active")],[n.a.c("wf",t.c,p(t).toString(),"loading"),n.a.c("wf",t.c,p(t).toString(),"inactive")]),j(n,"fontactive",t),this.m=!0,Y(this)},k.prototype.h=function(t){var n=this.a;if(n.g){var e=D(n.f,n.a.c("wf",t.c,p(t).toString(),"active")),i=[],o=[n.a.c("wf",t.c,p(t).toString(),"loading")];e||i.push(n.a.c("wf",t.c,p(t).toString(),"inactive")),y(n.f,i,o)}j(n,"fontinactive",t),Y(this)};function Y(t){--t.f==0&&t.j&&(t.m?(t=t.a,t.g&&y(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),j(t,"active")):R(t.a))}function Z(t){this.j=t,this.a=new vt,this.h=0,this.f=this.g=!0}Z.prototype.load=function(t){this.c=new T(this.j,t.context||this.j),this.g=t.events!==!1,this.f=t.classes!==!1,yt(this,new pt(this.c,t),t)};function wt(t,n,e,i,o){var s=--t.h==0;(t.f||t.g)&&setTimeout(function(){var r=o||null,a=i||null||{};if(e.length===0&&s)R(n.a);else{n.f+=e.length,s&&(n.j=s);var f,c=[];for(f=0;f