2 lines
36 KiB
JavaScript
2 lines
36 KiB
JavaScript
import{c as D,a as c,h as w,b as fe,e as he,r as _,i as ke,o as re,g as J,f as te,n as Pe,j as ve,l as $e,k as me,m as A,p as ie,w as x,q as wt,s as Le,t as pt,u as qt,v as Ct,x as _t,y as Tt,z as we,A as oe,B as pe,C as se,D as Me,E as De,F as qe,G as xt,H as Ot,I as lt,J as ot,K as Bt,L as Ce,M as $t,N as Lt,O as Ve,P as Mt,Q as kt,R as Pt,S as Ht,T as Et,U as Qt,V as Ae,W as nt,X as Dt,Y as _e,Z as ce,_ as Vt,$ as At,a0 as Ft,a1 as M,a2 as It,a3 as Te,a4 as L,a5 as E,a6 as xe,a7 as de,a8 as Z,a9 as ee,aa as Fe,ab as Ie,ac as Re}from"./index-GXFLJtQL.js";import{Q as Ne,a as je,b as We}from"./QList-BZpTot_c.js";import{Q as Xe}from"./QMenu-MNqKCtrf.js";import{c as Rt,b as j}from"./LocalStorage-DjXJ9f5H.js";import{u as rt}from"./taxstore-CFm87Oqg.js";import{u as Nt}from"./children-CpfEvZEN.js";import{u as jt}from"./vue-i18n.runtime-BXSOjn_j.js";const Wt=D({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:r}){const n=c(()=>"q-toolbar__title ellipsis"+(e.shrink===!0?" col-shrink":""));return()=>w("div",{class:n.value},fe(r.default))}}),Xt=D({name:"QSpace",setup(){const e=w("div",{class:"q-space"});return()=>e}}),Ut=["top","middle","bottom"],Yt=D({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>Ut.includes(e)}},setup(e,{slots:r}){const n=c(()=>e.align!==void 0?{verticalAlign:e.align}:null),s=c(()=>{const t=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(t!==void 0?` text-${t}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>w("div",{class:s.value,style:n.value,role:"status","aria-label":e.label},he(r.default,e.label!==void 0?[e.label]:[]))}}),Ue=D({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:r}){const n=c(()=>"q-toolbar row no-wrap items-center"+(e.inset===!0?" q-toolbar--inset":""));return()=>w("div",{class:n.value,role:"toolbar"},fe(r.default))}});function Kt(){const e=_(!ke.value);return e.value===!1&&re(()=>{e.value=!0}),{isHydrated:e}}const it=typeof ResizeObserver<"u",Ye=it===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},ae=D({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:r}){let n=null,s,t={width:-1,height:-1};function a(v){v===!0||e.debounce===0||e.debounce==="0"?o():n===null&&(n=setTimeout(o,e.debounce))}function o(){if(n!==null&&(clearTimeout(n),n=null),s){const{offsetWidth:v,offsetHeight:d}=s;(v!==t.width||d!==t.height)&&(t={width:v,height:d},r("resize",t))}}const{proxy:l}=J();if(l.trigger=a,it===!0){let v;const d=u=>{s=l.$el.parentNode,s?(v=new ResizeObserver(a),v.observe(s),o()):u!==!0&&ve(()=>{d(!0)})};return re(()=>{d()}),te(()=>{n!==null&&clearTimeout(n),v!==void 0&&(v.disconnect!==void 0?v.disconnect():s&&v.unobserve(s))}),Pe}else{let v=function(){n!==null&&(clearTimeout(n),n=null),S!==void 0&&(S.removeEventListener!==void 0&&S.removeEventListener("resize",a,$e.passive),S=void 0)},d=function(){v(),s?.contentDocument&&(S=s.contentDocument.defaultView,S.addEventListener("resize",a,$e.passive),o())};const{isHydrated:u}=Kt();let S;return re(()=>{ve(()=>{s=l.$el,s&&d()})}),te(v),()=>{if(u.value===!0)return w("object",{class:"q--avoid-card-border",style:Ye.style,tabindex:-1,type:"text/html",data:Ye.url,"aria-hidden":"true",onLoad:d})}}}}),Jt=D({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:r,emit:n}){const{proxy:{$q:s}}=J(),t=me(ie,A);if(t===A)return console.error("QHeader needs to be child of QLayout"),A;const a=_(parseInt(e.heightHint,10)),o=_(!0),l=c(()=>e.reveal===!0||t.view.value.indexOf("H")!==-1||s.platform.is.ios&&t.isContainer.value===!0),v=c(()=>{if(e.modelValue!==!0)return 0;if(l.value===!0)return o.value===!0?a.value:0;const g=a.value-t.scroll.value.position;return g>0?g:0}),d=c(()=>e.modelValue!==!0||l.value===!0&&o.value!==!0),u=c(()=>e.modelValue===!0&&d.value===!0&&e.reveal===!0),S=c(()=>"q-header q-layout__section--marginal "+(l.value===!0?"fixed":"absolute")+"-top"+(e.bordered===!0?" q-header--bordered":"")+(d.value===!0?" q-header--hidden":"")+(e.modelValue!==!0?" q-layout--prevent-focus":"")),m=c(()=>{const g=t.rows.value.top,P={};return g[0]==="l"&&t.left.space===!0&&(P[s.lang.rtl===!0?"right":"left"]=`${t.left.size}px`),g[2]==="r"&&t.right.space===!0&&(P[s.lang.rtl===!0?"left":"right"]=`${t.right.size}px`),P});function z(g,P){t.update("header",g,P)}function b(g,P){g.value!==P&&(g.value=P)}function B({height:g}){b(a,g),z("size",g)}function $(g){u.value===!0&&b(o,!0),n("focusin",g)}x(()=>e.modelValue,g=>{z("space",g),b(o,!0),t.animate()}),x(v,g=>{z("offset",g)}),x(()=>e.reveal,g=>{g===!1&&b(o,e.modelValue)}),x(o,g=>{t.animate(),n("reveal",g)}),x(t.scroll,g=>{e.reveal===!0&&b(o,g.direction==="up"||g.position<=e.revealOffset||g.position-g.inflectionPoint<100)});const C={};return t.instances.header=C,e.modelValue===!0&&z("size",a.value),z("space",e.modelValue),z("offset",v.value),te(()=>{t.instances.header===C&&(t.instances.header=void 0,z("size",0),z("offset",0),z("space",!1))}),()=>{const g=wt(r.default,[]);return e.elevated===!0&&g.push(w("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),g.push(w(ae,{debounce:0,onResize:B})),w("header",{class:S.value,style:m.value,onFocusin:$},g)}}}),Gt=D({props:["store","barStyle","verticalBarStyle","horizontalBarStyle"],setup(e){return()=>[w("div",{class:e.store.scroll.vertical.barClass.value,style:[e.barStyle,e.verticalBarStyle],"aria-hidden":"true",onMousedown:e.store.onVerticalMousedown}),w("div",{class:e.store.scroll.horizontal.barClass.value,style:[e.barStyle,e.horizontalBarStyle],"aria-hidden":"true",onMousedown:e.store.onHorizontalMousedown}),Le(w("div",{ref:e.store.scroll.vertical.ref,class:e.store.scroll.vertical.thumbClass.value,style:e.store.scroll.vertical.style.value,"aria-hidden":"true"}),e.store.thumbVertDir),Le(w("div",{ref:e.store.scroll.horizontal.ref,class:e.store.scroll.horizontal.thumbClass.value,style:e.store.scroll.horizontal.style.value,"aria-hidden":"true"}),e.store.thumbHorizDir)]}}),{passive:Ke}=$e,Zt=["both","horizontal","vertical"],ut=D({name:"QScrollObserver",props:{axis:{type:String,validator:e=>Zt.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:pt},emits:["scroll"],setup(e,{emit:r}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let s=null,t,a;x(()=>e.scrollTarget,()=>{v(),l()});function o(){s?.();const S=Math.max(0,Ct(t)),m=_t(t),z={top:S-n.position.top,left:m-n.position.left};if(e.axis==="vertical"&&z.top===0||e.axis==="horizontal"&&z.left===0)return;const b=Math.abs(z.top)>=Math.abs(z.left)?z.top<0?"up":"down":z.left<0?"left":"right";n.position={top:S,left:m},n.directionChanged=n.direction!==b,n.delta=z,n.directionChanged===!0&&(n.direction=b,n.inflectionPoint=n.position),r("scroll",{...n})}function l(){t=qt(a,e.scrollTarget),t.addEventListener("scroll",d,Ke),d(!0)}function v(){t!==void 0&&(t.removeEventListener("scroll",d,Ke),t=void 0)}function d(S){if(S===!0||e.debounce===0||e.debounce==="0")o();else if(s===null){const[m,z]=e.debounce?[setTimeout(o,e.debounce),clearTimeout]:[requestAnimationFrame(o),cancelAnimationFrame];s=()=>{z(m),s=null}}}const{proxy:u}=J();return x(()=>u.$q.lang.rtl,o),re(()=>{a=u.$el.parentNode,l()}),te(()=>{s?.(),v()}),Object.assign(u,{trigger:d,getPosition:()=>n}),Pe}}),He={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},ea=Object.keys(He);He.all=!0;function Je(e){const r={};for(const n of ea)e[n]===!0&&(r[n]=!0);return Object.keys(r).length===0?He:(r.horizontal===!0?r.left=r.right=!0:r.left===!0&&r.right===!0&&(r.horizontal=!0),r.vertical===!0?r.up=r.down=!0:r.up===!0&&r.down===!0&&(r.vertical=!0),r.horizontal===!0&&r.vertical===!0&&(r.all=!0),r)}const ta=["INPUT","TEXTAREA"];function Ge(e,r){return r.event===void 0&&e.target!==void 0&&e.target.draggable!==!0&&typeof r.handler=="function"&&ta.includes(e.target.nodeName.toUpperCase())===!1&&(e.qClonedBy===void 0||e.qClonedBy.indexOf(r.uid)===-1)}function Oe(e,r,n){const s=Me(e);let t,a=s.left-r.event.x,o=s.top-r.event.y,l=Math.abs(a),v=Math.abs(o);const d=r.direction;d.horizontal===!0&&d.vertical!==!0?t=a<0?"left":"right":d.horizontal!==!0&&d.vertical===!0?t=o<0?"up":"down":d.up===!0&&o<0?(t="up",l>v&&(d.left===!0&&a<0?t="left":d.right===!0&&a>0&&(t="right"))):d.down===!0&&o>0?(t="down",l>v&&(d.left===!0&&a<0?t="left":d.right===!0&&a>0&&(t="right"))):d.left===!0&&a<0?(t="left",l<v&&(d.up===!0&&o<0?t="up":d.down===!0&&o>0&&(t="down"))):d.right===!0&&a>0&&(t="right",l<v&&(d.up===!0&&o<0?t="up":d.down===!0&&o>0&&(t="down")));let u=!1;if(t===void 0&&n===!1){if(r.event.isFirst===!0||r.event.lastDir===void 0)return{};t=r.event.lastDir,u=!0,t==="left"||t==="right"?(s.left-=a,l=0,a=0):(s.top-=o,v=0,o=0)}return{synthetic:u,payload:{evt:e,touch:r.event.mouse!==!0,mouse:r.event.mouse===!0,position:s,direction:t,isFirst:r.event.isFirst,isFinal:n===!0,duration:Date.now()-r.event.time,distance:{x:l,y:v},offset:{x:a,y:o},delta:{x:s.left-r.event.lastX,y:s.top-r.event.lastY}}}}let aa=0;const ne=Tt({name:"touch-pan",beforeMount(e,{value:r,modifiers:n}){if(n.mouse!==!0&&oe.has.touch!==!0)return;function s(a,o){n.mouse===!0&&o===!0?Ot(a):(n.stop===!0&&qe(a),n.prevent===!0&&De(a))}const t={uid:"qvtp_"+aa++,handler:r,modifiers:n,direction:Je(n),noop:Pe,mouseStart(a){Ge(a,t)&&xt(a)&&(se(t,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),t.start(a,!0))},touchStart(a){if(Ge(a,t)){const o=a.target;se(t,"temp",[[o,"touchmove","move","notPassiveCapture"],[o,"touchcancel","end","passiveCapture"],[o,"touchend","end","passiveCapture"]]),t.start(a)}},start(a,o){if(oe.is.firefox===!0&&pe(e,!0),t.lastEvt=a,o===!0||n.stop===!0){if(t.direction.all!==!0&&(o!==!0||t.modifiers.mouseAllDir!==!0&&t.modifiers.mousealldir!==!0)){const d=a.type.indexOf("mouse")!==-1?new MouseEvent(a.type,a):new TouchEvent(a.type,a);a.defaultPrevented===!0&&De(d),a.cancelBubble===!0&&qe(d),Object.assign(d,{qKeyEvent:a.qKeyEvent,qClickOutside:a.qClickOutside,qAnchorHandled:a.qAnchorHandled,qClonedBy:a.qClonedBy===void 0?[t.uid]:a.qClonedBy.concat(t.uid)}),t.initialEvent={target:a.target,event:d}}qe(a)}const{left:l,top:v}=Me(a);t.event={x:l,y:v,time:Date.now(),mouse:o===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:l,lastY:v}},move(a){if(t.event===void 0)return;const o=Me(a),l=o.left-t.event.x,v=o.top-t.event.y;if(l===0&&v===0)return;t.lastEvt=a;const d=t.event.mouse===!0,u=()=>{s(a,d);let z;n.preserveCursor!==!0&&n.preservecursor!==!0&&(z=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),d===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Rt(),t.styleCleanup=b=>{if(t.styleCleanup=void 0,z!==void 0&&(document.documentElement.style.cursor=z),document.body.classList.remove("non-selectable"),d===!0){const B=()=>{document.body.classList.remove("no-pointer-events--children")};b!==void 0?setTimeout(()=>{B(),b()},50):B()}else b!==void 0&&b()}};if(t.event.detected===!0){t.event.isFirst!==!0&&s(a,t.event.mouse);const{payload:z,synthetic:b}=Oe(a,t,!1);z!==void 0&&(t.handler(z)===!1?t.end(a):(t.styleCleanup===void 0&&t.event.isFirst===!0&&u(),t.event.lastX=z.position.left,t.event.lastY=z.position.top,t.event.lastDir=b===!0?void 0:z.direction,t.event.isFirst=!1));return}if(t.direction.all===!0||d===!0&&(t.modifiers.mouseAllDir===!0||t.modifiers.mousealldir===!0)){u(),t.event.detected=!0,t.move(a);return}const S=Math.abs(l),m=Math.abs(v);S!==m&&(t.direction.horizontal===!0&&S>m||t.direction.vertical===!0&&S<m||t.direction.up===!0&&S<m&&v<0||t.direction.down===!0&&S<m&&v>0||t.direction.left===!0&&S>m&&l<0||t.direction.right===!0&&S>m&&l>0?(t.event.detected=!0,t.move(a)):t.end(a,!0))},end(a,o){if(t.event!==void 0){if(we(t,"temp"),oe.is.firefox===!0&&pe(e,!1),o===!0)t.styleCleanup?.(),t.event.detected!==!0&&t.initialEvent!==void 0&&t.initialEvent.target.dispatchEvent(t.initialEvent.event);else if(t.event.detected===!0){t.event.isFirst===!0&&t.handler(Oe(a===void 0?t.lastEvt:a,t).payload);const{payload:l}=Oe(a===void 0?t.lastEvt:a,t,!0),v=()=>{t.handler(l)};t.styleCleanup!==void 0?t.styleCleanup(v):v()}t.event=void 0,t.initialEvent=void 0,t.lastEvt=void 0}}};if(e.__qtouchpan=t,n.mouse===!0){const a=n.mouseCapture===!0||n.mousecapture===!0?"Capture":"";se(t,"main",[[e,"mousedown","mouseStart",`passive${a}`]])}oe.has.touch===!0&&se(t,"main",[[e,"touchstart","touchStart",`passive${n.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,r){const n=e.__qtouchpan;n!==void 0&&(r.oldValue!==r.value&&(typeof value!="function"&&n.end(),n.handler=r.value),n.direction=Je(r.modifiers))},beforeUnmount(e){const r=e.__qtouchpan;r!==void 0&&(r.event!==void 0&&r.end(),we(r,"main"),we(r,"temp"),oe.is.firefox===!0&&pe(e,!1),r.styleCleanup?.(),delete e.__qtouchpan)}}),Ze=["vertical","horizontal"],Be={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}},et={prevent:!0,mouse:!0,mouseAllDir:!0},tt=e=>e>=250?50:Math.ceil(e/5),la=D({name:"QScrollArea",props:{...lt,thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],verticalOffset:{type:Array,default:[0,0]},horizontalOffset:{type:Array,default:[0,0]},contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},tabindex:[String,Number],onScroll:Function},setup(e,{slots:r,emit:n}){const s=_(!1),t=_(!1),a=_(!1),o={vertical:_(0),horizontal:_(0)},l={vertical:{ref:_(null),position:_(0),size:_(0)},horizontal:{ref:_(null),position:_(0),size:_(0)}},{proxy:v}=J(),d=ot(e,v.$q);let u=null,S;const m=_(null),z=c(()=>"q-scrollarea"+(d.value===!0?" q-scrollarea--dark":""));Object.assign(o,{verticalInner:c(()=>o.vertical.value-e.verticalOffset[0]-e.verticalOffset[1]),horizontalInner:c(()=>o.horizontal.value-e.horizontalOffset[0]-e.horizontalOffset[1])}),l.vertical.percentage=c(()=>{const f=l.vertical.size.value-o.vertical.value;if(f<=0)return 0;const y=j(l.vertical.position.value/f,0,1);return Math.round(y*1e4)/1e4}),l.vertical.thumbHidden=c(()=>(e.visible===null?a.value:e.visible)!==!0&&s.value===!1&&t.value===!1||l.vertical.size.value<=o.vertical.value+1),l.vertical.thumbStart=c(()=>e.verticalOffset[0]+l.vertical.percentage.value*(o.verticalInner.value-l.vertical.thumbSize.value)),l.vertical.thumbSize=c(()=>Math.round(j(o.verticalInner.value*o.verticalInner.value/l.vertical.size.value,tt(o.verticalInner.value),o.verticalInner.value))),l.vertical.style=c(()=>({...e.thumbStyle,...e.verticalThumbStyle,top:`${l.vertical.thumbStart.value}px`,height:`${l.vertical.thumbSize.value}px`,right:`${e.horizontalOffset[1]}px`})),l.vertical.thumbClass=c(()=>"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(l.vertical.thumbHidden.value===!0?" q-scrollarea__thumb--invisible":"")),l.vertical.barClass=c(()=>"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(l.vertical.thumbHidden.value===!0?" q-scrollarea__bar--invisible":"")),l.horizontal.percentage=c(()=>{const f=l.horizontal.size.value-o.horizontal.value;if(f<=0)return 0;const y=j(Math.abs(l.horizontal.position.value)/f,0,1);return Math.round(y*1e4)/1e4}),l.horizontal.thumbHidden=c(()=>(e.visible===null?a.value:e.visible)!==!0&&s.value===!1&&t.value===!1||l.horizontal.size.value<=o.horizontal.value+1),l.horizontal.thumbStart=c(()=>e.horizontalOffset[0]+l.horizontal.percentage.value*(o.horizontalInner.value-l.horizontal.thumbSize.value)),l.horizontal.thumbSize=c(()=>Math.round(j(o.horizontalInner.value*o.horizontalInner.value/l.horizontal.size.value,tt(o.horizontalInner.value),o.horizontalInner.value))),l.horizontal.style=c(()=>({...e.thumbStyle,...e.horizontalThumbStyle,[v.$q.lang.rtl===!0?"right":"left"]:`${l.horizontal.thumbStart.value}px`,width:`${l.horizontal.thumbSize.value}px`,bottom:`${e.verticalOffset[1]}px`})),l.horizontal.thumbClass=c(()=>"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(l.horizontal.thumbHidden.value===!0?" q-scrollarea__thumb--invisible":"")),l.horizontal.barClass=c(()=>"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(l.horizontal.thumbHidden.value===!0?" q-scrollarea__bar--invisible":""));const b=c(()=>l.vertical.thumbHidden.value===!0&&l.horizontal.thumbHidden.value===!0?e.contentStyle:e.contentActiveStyle);function B(){const f={};return Ze.forEach(y=>{const T=l[y];Object.assign(f,{[y+"Position"]:T.position.value,[y+"Percentage"]:T.percentage.value,[y+"Size"]:T.size.value,[y+"ContainerSize"]:o[y].value,[y+"ContainerInnerSize"]:o[y+"Inner"].value})}),f}const $=Bt(()=>{const f=B();f.ref=v,n("scroll",f)},0);function C(f,y,T){if(Ze.includes(f)===!1){console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");return}(f==="vertical"?Ve:Ce)(m.value,y,T)}function g({height:f,width:y}){let T=!1;o.vertical.value!==f&&(o.vertical.value=f,T=!0),o.horizontal.value!==y&&(o.horizontal.value=y,T=!0),T===!0&&k()}function P({position:f}){let y=!1;l.vertical.position.value!==f.top&&(l.vertical.position.value=f.top,y=!0),l.horizontal.position.value!==f.left&&(l.horizontal.position.value=f.left,y=!0),y===!0&&k()}function p({height:f,width:y}){l.horizontal.size.value!==y&&(l.horizontal.size.value=y,k()),l.vertical.size.value!==f&&(l.vertical.size.value=f,k())}function h(f,y){const T=l[y];if(f.isFirst===!0){if(T.thumbHidden.value===!0)return;S=T.position.value,t.value=!0}else if(t.value!==!0)return;f.isFinal===!0&&(t.value=!1);const I=Be[y],N=(T.size.value-o[y].value)/(o[y+"Inner"].value-T.thumbSize.value),R=f.distance[I.dist],le=S+(f.direction===I.dir?1:-1)*R*N;W(le,y)}function O(f,y){const T=l[y];if(T.thumbHidden.value!==!0){const I=y==="vertical"?e.verticalOffset[0]:e.horizontalOffset[0],N=f[Be[y].offset]-I,R=T.thumbStart.value-I;if(N<R||N>R+T.thumbSize.value){const le=N-T.thumbSize.value/2,be=j(le/(o[y+"Inner"].value-T.thumbSize.value),0,1);W(be*Math.max(0,T.size.value-o[y].value),y)}T.ref.value!==null&&T.ref.value.dispatchEvent(new MouseEvent(f.type,f))}}function k(){s.value=!0,u!==null&&clearTimeout(u),u=setTimeout(()=>{u=null,s.value=!1},e.delay),e.onScroll!==void 0&&$()}function W(f,y){m.value[Be[y].scroll]=f}let H=null;function F(){H!==null&&clearTimeout(H),H=setTimeout(()=>{H=null,a.value=!0},v.$q.platform.is.ios?50:0)}function X(){H!==null&&(clearTimeout(H),H=null),a.value=!1}let G=null;x(()=>v.$q.lang.rtl,f=>{m.value!==null&&Ce(m.value,Math.abs(l.horizontal.position.value)*(f===!0?-1:1))}),$t(()=>{G={top:l.vertical.position.value,left:l.horizontal.position.value}}),Lt(()=>{if(G===null)return;const f=m.value;f!==null&&(Ce(f,G.left),Ve(f,G.top))}),te($.cancel),Object.assign(v,{getScrollTarget:()=>m.value,getScroll:B,getScrollPosition:()=>({top:l.vertical.position.value,left:l.horizontal.position.value}),getScrollPercentage:()=>({top:l.vertical.percentage.value,left:l.horizontal.percentage.value}),setScrollPosition:C,setScrollPercentage(f,y,T){C(f,y*(l[f].size.value-o[f].value)*(f==="horizontal"&&v.$q.lang.rtl===!0?-1:1),T)}});const U={scroll:l,thumbVertDir:[[ne,f=>{h(f,"vertical")},void 0,{vertical:!0,...et}]],thumbHorizDir:[[ne,f=>{h(f,"horizontal")},void 0,{horizontal:!0,...et}]],onVerticalMousedown(f){O(f,"vertical")},onHorizontalMousedown(f){O(f,"horizontal")}};return()=>w("div",{class:z.value,onMouseenter:F,onMouseleave:X},[w("div",{ref:m,class:"q-scrollarea__container scroll relative-position fit hide-scrollbar",tabindex:e.tabindex!==void 0?e.tabindex:void 0},[w("div",{class:"q-scrollarea__content absolute",style:b.value},he(r.default,[w(ae,{debounce:0,onResize:p})])),w(ut,{axis:"both",onScroll:P})]),w(ae,{debounce:0,onResize:g}),w(Gt,{store:U,barStyle:e.barStyle,verticalBarStyle:e.verticalBarStyle,horizontalBarStyle:e.horizontalBarStyle})])}}),at=150,oa=D({name:"QDrawer",inheritAttrs:!1,props:{...kt,...lt,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...Mt,"onLayout","miniState"],setup(e,{slots:r,emit:n,attrs:s}){const t=J(),{proxy:{$q:a}}=t,o=ot(e,a),{preventBodyScroll:l}=Qt(),{registerTimeout:v,removeTimeout:d}=Pt(),u=me(ie,A);if(u===A)return console.error("QDrawer needs to be child of QLayout"),A;let S,m=null,z;const b=_(e.behavior==="mobile"||e.behavior!=="desktop"&&u.totalWidth.value<=e.breakpoint),B=c(()=>e.mini===!0&&b.value!==!0),$=c(()=>B.value===!0?e.miniWidth:e.width),C=_(e.showIfAbove===!0&&b.value===!1?!0:e.modelValue===!0),g=c(()=>e.persistent!==!0&&(b.value===!0||le.value===!0));function P(i,q){if(k(),i!==!1&&u.animate(),V(0),b.value===!0){const Q=u.instances[T.value];Q?.belowBreakpoint===!0&&Q.hide(!1),Y(1),u.isContainer.value!==!0&&l(!0)}else Y(0),i!==!1&&ye(!1);v(()=>{i!==!1&&ye(!0),q!==!0&&n("show",i)},at)}function p(i,q){W(),i!==!1&&u.animate(),Y(0),V(X.value*$.value),ze(),q!==!0?v(()=>{n("hide",i)},at):d()}const{show:h,hide:O}=Ht({showing:C,hideOnRouteChange:g,handleShow:P,handleHide:p}),{addToHistory:k,removeFromHistory:W}=Et(C,O,g),H={belowBreakpoint:b,hide:O},F=c(()=>e.side==="right"),X=c(()=>(a.lang.rtl===!0?-1:1)*(F.value===!0?1:-1)),G=_(0),U=_(!1),f=_(!1),y=_($.value*X.value),T=c(()=>F.value===!0?"left":"right"),I=c(()=>C.value===!0&&b.value===!1&&e.overlay===!1?e.miniToOverlay===!0?e.miniWidth:$.value:0),N=c(()=>e.overlay===!0||e.miniToOverlay===!0||u.view.value.indexOf(F.value?"R":"L")!==-1||a.platform.is.ios===!0&&u.isContainer.value===!0),R=c(()=>e.overlay===!1&&C.value===!0&&b.value===!1),le=c(()=>e.overlay===!0&&C.value===!0&&b.value===!1),be=c(()=>"fullscreen q-drawer__backdrop"+(C.value===!1&&U.value===!1?" hidden":"")),st=c(()=>({backgroundColor:`rgba(0,0,0,${G.value*.4})`})),Ee=c(()=>F.value===!0?u.rows.value.top[2]==="r":u.rows.value.top[0]==="l"),ct=c(()=>F.value===!0?u.rows.value.bottom[2]==="r":u.rows.value.bottom[0]==="l"),dt=c(()=>{const i={};return u.header.space===!0&&Ee.value===!1&&(N.value===!0?i.top=`${u.header.offset}px`:u.header.space===!0&&(i.top=`${u.header.size}px`)),u.footer.space===!0&&ct.value===!1&&(N.value===!0?i.bottom=`${u.footer.offset}px`:u.footer.space===!0&&(i.bottom=`${u.footer.size}px`)),i}),vt=c(()=>{const i={width:`${$.value}px`,transform:`translateX(${y.value}px)`};return b.value===!0?i:Object.assign(i,dt.value)}),ft=c(()=>"q-drawer__content fit "+(u.isContainer.value!==!0?"scroll":"overflow-auto")),ht=c(()=>`q-drawer q-drawer--${e.side}`+(f.value===!0?" q-drawer--mini-animate":"")+(e.bordered===!0?" q-drawer--bordered":"")+(o.value===!0?" q-drawer--dark q-dark":"")+(U.value===!0?" no-transition":C.value===!0?"":" q-layout--prevent-focus")+(b.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${B.value===!0?"mini":"standard"}`+(N.value===!0||R.value!==!0?" fixed":"")+(e.overlay===!0||e.miniToOverlay===!0?" q-drawer--on-top":"")+(Ee.value===!0?" q-drawer--top-padding":""))),mt=c(()=>{const i=a.lang.rtl===!0?e.side:T.value;return[[ne,zt,void 0,{[i]:!0,mouse:!0}]]}),bt=c(()=>{const i=a.lang.rtl===!0?T.value:e.side;return[[ne,Qe,void 0,{[i]:!0,mouse:!0}]]}),gt=c(()=>{const i=a.lang.rtl===!0?T.value:e.side;return[[ne,Qe,void 0,{[i]:!0,mouse:!0,mouseAllDir:!0}]]});function ge(){St(b,e.behavior==="mobile"||e.behavior!=="desktop"&&u.totalWidth.value<=e.breakpoint)}x(b,i=>{i===!0?(S=C.value,C.value===!0&&O(!1)):e.overlay===!1&&e.behavior!=="mobile"&&S!==!1&&(C.value===!0?(V(0),Y(0),ze()):h(!1))}),x(()=>e.side,(i,q)=>{u.instances[q]===H&&(u.instances[q]=void 0,u[q].space=!1,u[q].offset=0),u.instances[i]=H,u[i].size=$.value,u[i].space=R.value,u[i].offset=I.value}),x(u.totalWidth,()=>{(u.isContainer.value===!0||document.qScrollPrevented!==!0)&&ge()}),x(()=>e.behavior+e.breakpoint,ge),x(u.isContainer,i=>{C.value===!0&&l(i!==!0),i===!0&&ge()}),x(u.scrollbarWidth,()=>{V(C.value===!0?0:void 0)}),x(I,i=>{K("offset",i)}),x(R,i=>{n("onLayout",i),K("space",i)}),x(F,()=>{V()}),x($,i=>{V(),Se(e.miniToOverlay,i)}),x(()=>e.miniToOverlay,i=>{Se(i,$.value)}),x(()=>a.lang.rtl,()=>{V()}),x(()=>e.mini,()=>{e.noMiniAnimation||e.modelValue===!0&&(yt(),u.animate())}),x(B,i=>{n("miniState",i)});function V(i){i===void 0?ve(()=>{i=C.value===!0?0:$.value,V(X.value*i)}):(u.isContainer.value===!0&&F.value===!0&&(b.value===!0||Math.abs(i)===$.value)&&(i+=X.value*u.scrollbarWidth.value),y.value=i)}function Y(i){G.value=i}function ye(i){const q=i===!0?"remove":u.isContainer.value!==!0?"add":"";q!==""&&document.body.classList[q]("q-body--drawer-toggle")}function yt(){m!==null&&clearTimeout(m),t.proxy&&t.proxy.$el&&t.proxy.$el.classList.add("q-drawer--mini-animate"),f.value=!0,m=setTimeout(()=>{m=null,f.value=!1,t?.proxy?.$el?.classList.remove("q-drawer--mini-animate")},150)}function zt(i){if(C.value!==!1)return;const q=$.value,Q=j(i.distance.x,0,q);if(i.isFinal===!0){Q>=Math.min(75,q)===!0?h():(u.animate(),Y(0),V(X.value*q)),U.value=!1;return}V((a.lang.rtl===!0?F.value!==!0:F.value)?Math.max(q-Q,0):Math.min(0,Q-q)),Y(j(Q/q,0,1)),i.isFirst===!0&&(U.value=!0)}function Qe(i){if(C.value!==!0)return;const q=$.value,Q=i.direction===e.side,ue=(a.lang.rtl===!0?Q!==!0:Q)?j(i.distance.x,0,q):0;if(i.isFinal===!0){Math.abs(ue)<Math.min(75,q)===!0?(u.animate(),Y(1),V(0)):O(),U.value=!1;return}V(X.value*ue),Y(j(1-ue/q,0,1)),i.isFirst===!0&&(U.value=!0)}function ze(){l(!1),ye(!0)}function K(i,q){u.update(e.side,i,q)}function St(i,q){i.value!==q&&(i.value=q)}function Se(i,q){K("size",i===!0?e.miniWidth:q)}return u.instances[e.side]=H,Se(e.miniToOverlay,$.value),K("space",R.value),K("offset",I.value),e.showIfAbove===!0&&e.modelValue!==!0&&C.value===!0&&e["onUpdate:modelValue"]!==void 0&&n("update:modelValue",!0),re(()=>{n("onLayout",R.value),n("miniState",B.value),S=e.showIfAbove===!0;const i=()=>{(C.value===!0?P:p)(!1,!0)};if(u.totalWidth.value!==0){ve(i);return}z=x(u.totalWidth,()=>{z(),z=void 0,C.value===!1&&e.showIfAbove===!0&&b.value===!1?h(!1):i()})}),te(()=>{z?.(),m!==null&&(clearTimeout(m),m=null),C.value===!0&&ze(),u.instances[e.side]===H&&(u.instances[e.side]=void 0,K("size",0),K("offset",0),K("space",!1))}),()=>{const i=[];b.value===!0&&(e.noSwipeOpen===!1&&i.push(Le(w("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),mt.value)),i.push(Ae("div",{ref:"backdrop",class:be.value,style:st.value,"aria-hidden":"true",onClick:O},void 0,"backdrop",e.noSwipeBackdrop!==!0&&C.value===!0,()=>gt.value)));const q=B.value===!0&&r.mini!==void 0,Q=[w("div",{...s,key:""+q,class:[ft.value,s.class]},q===!0?r.mini():fe(r.default))];return e.elevated===!0&&C.value===!0&&Q.push(w("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),i.push(Ae("aside",{ref:"content",class:ht.value,style:vt.value},Q,"contentclose",e.noSwipeClose!==!0&&b.value===!0,()=>bt.value)),w("div",{class:"q-drawer-container"},i)}}}),na=D({name:"QPageContainer",setup(e,{slots:r}){const{proxy:{$q:n}}=J(),s=me(ie,A);if(s===A)return console.error("QPageContainer needs to be child of QLayout"),A;nt(Dt,!0);const t=c(()=>{const a={};return s.header.space===!0&&(a.paddingTop=`${s.header.size}px`),s.right.space===!0&&(a[`padding${n.lang.rtl===!0?"Left":"Right"}`]=`${s.right.size}px`),s.footer.space===!0&&(a.paddingBottom=`${s.footer.size}px`),s.left.space===!0&&(a[`padding${n.lang.rtl===!0?"Right":"Left"}`]=`${s.left.size}px`),a});return()=>w("div",{class:"q-page-container",style:t.value},fe(r.default))}}),ra=D({name:"QFooter",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:r,emit:n}){const{proxy:{$q:s}}=J(),t=me(ie,A);if(t===A)return console.error("QFooter needs to be child of QLayout"),A;const a=_(parseInt(e.heightHint,10)),o=_(!0),l=_(ke.value===!0||t.isContainer.value===!0?0:window.innerHeight),v=c(()=>e.reveal===!0||t.view.value.indexOf("F")!==-1||s.platform.is.ios&&t.isContainer.value===!0),d=c(()=>t.isContainer.value===!0?t.containerHeight.value:l.value),u=c(()=>{if(e.modelValue!==!0)return 0;if(v.value===!0)return o.value===!0?a.value:0;const h=t.scroll.value.position+d.value+a.value-t.height.value;return h>0?h:0}),S=c(()=>e.modelValue!==!0||v.value===!0&&o.value!==!0),m=c(()=>e.modelValue===!0&&S.value===!0&&e.reveal===!0),z=c(()=>"q-footer q-layout__section--marginal "+(v.value===!0?"fixed":"absolute")+"-bottom"+(e.bordered===!0?" q-footer--bordered":"")+(S.value===!0?" q-footer--hidden":"")+(e.modelValue!==!0?" q-layout--prevent-focus"+(v.value!==!0?" hidden":""):"")),b=c(()=>{const h=t.rows.value.bottom,O={};return h[0]==="l"&&t.left.space===!0&&(O[s.lang.rtl===!0?"right":"left"]=`${t.left.size}px`),h[2]==="r"&&t.right.space===!0&&(O[s.lang.rtl===!0?"left":"right"]=`${t.right.size}px`),O});function B(h,O){t.update("footer",h,O)}function $(h,O){h.value!==O&&(h.value=O)}function C({height:h}){$(a,h),B("size",h)}function g(){if(e.reveal!==!0)return;const{direction:h,position:O,inflectionPoint:k}=t.scroll.value;$(o,h==="up"||O-k<100||t.height.value-d.value-O-a.value<300)}function P(h){m.value===!0&&$(o,!0),n("focusin",h)}x(()=>e.modelValue,h=>{B("space",h),$(o,!0),t.animate()}),x(u,h=>{B("offset",h)}),x(()=>e.reveal,h=>{h===!1&&$(o,e.modelValue)}),x(o,h=>{t.animate(),n("reveal",h)}),x([a,t.scroll,t.height],g),x(()=>s.screen.height,h=>{t.isContainer.value!==!0&&$(l,h)});const p={};return t.instances.footer=p,e.modelValue===!0&&B("size",a.value),B("space",e.modelValue),B("offset",u.value),te(()=>{t.instances.footer===p&&(t.instances.footer=void 0,B("size",0),B("offset",0),B("space",!1))}),()=>{const h=he(r.default,[w(ae,{debounce:0,onResize:C})]);return e.elevated===!0&&h.push(w("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),w("footer",{class:z.value,style:b.value,onFocusin:P},h)}}}),ia=D({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:r,emit:n}){const{proxy:{$q:s}}=J(),t=_(null),a=_(s.screen.height),o=_(e.container===!0?0:s.screen.width),l=_({position:0,direction:"down",inflectionPoint:0}),v=_(0),d=_(ke.value===!0?0:_e()),u=c(()=>"q-layout q-layout--"+(e.container===!0?"containerized":"standard")),S=c(()=>e.container===!1?{minHeight:s.screen.height+"px"}:null),m=c(()=>d.value!==0?{[s.lang.rtl===!0?"left":"right"]:`${d.value}px`}:null),z=c(()=>d.value!==0?{[s.lang.rtl===!0?"right":"left"]:0,[s.lang.rtl===!0?"left":"right"]:`-${d.value}px`,width:`calc(100% + ${d.value}px)`}:null);function b(p){if(e.container===!0||document.qScrollPrevented!==!0){const h={position:p.position.top,direction:p.direction,directionChanged:p.directionChanged,inflectionPoint:p.inflectionPoint.top,delta:p.delta.top};l.value=h,e.onScroll!==void 0&&n("scroll",h)}}function B(p){const{height:h,width:O}=p;let k=!1;a.value!==h&&(k=!0,a.value=h,e.onScrollHeight!==void 0&&n("scrollHeight",h),C()),o.value!==O&&(k=!0,o.value=O),k===!0&&e.onResize!==void 0&&n("resize",p)}function $({height:p}){v.value!==p&&(v.value=p,C())}function C(){if(e.container===!0){const p=a.value>v.value?_e():0;d.value!==p&&(d.value=p)}}let g=null;const P={instances:{},view:c(()=>e.view),isContainer:c(()=>e.container),rootRef:t,height:a,containerHeight:v,scrollbarWidth:d,totalWidth:c(()=>o.value+d.value),rows:c(()=>{const p=e.view.toLowerCase().split(" ");return{top:p[0].split(""),middle:p[1].split(""),bottom:p[2].split("")}}),header:ce({size:0,offset:0,space:!1}),right:ce({size:300,offset:0,space:!1}),footer:ce({size:0,offset:0,space:!1}),left:ce({size:300,offset:0,space:!1}),scroll:l,animate(){g!==null?clearTimeout(g):document.body.classList.add("q-body--layout-animate"),g=setTimeout(()=>{g=null,document.body.classList.remove("q-body--layout-animate")},155)},update(p,h,O){P[p][h]=O}};if(nt(ie,P),_e()>0){let p=function(){k=null,W.classList.remove("hide-scrollbar")},h=function(){if(k===null){if(W.scrollHeight>s.screen.height)return;W.classList.add("hide-scrollbar")}else clearTimeout(k);k=setTimeout(p,300)},O=function(H){k!==null&&H==="remove"&&(clearTimeout(k),p()),window[`${H}EventListener`]("resize",h)},k=null;const W=document.body;x(()=>e.container!==!0?"add":"remove",O),e.container!==!0&&O("add"),Vt(()=>{O("remove")})}return()=>{const p=he(r.default,[w(ut,{onScroll:b}),w(ae,{onResize:B})]),h=w("div",{class:u.value,style:S.value,ref:e.container===!0?void 0:t,tabindex:-1},p);return e.container===!0?w("div",{class:"q-layout-container overflow-hidden",ref:t},[w(ae,{onResize:$}),w("div",{class:"absolute-full",style:m.value},[w("div",{class:"scroll",style:z.value},[h])])]):h}}}),ua=()=>{const e=rt(),r=c(()=>e.getTaxpayer());function n(a){e.setTaxpayer(a)}function s(a){e.replaceTaxpayer(a)}function t(){e.resetTaxpayer()}return{data:r,set:n,replace:s,reset:t}},sa=()=>{const e=rt(),r=c(()=>e.getMarital());function n(a){e.setMarital(a)}function s(a){e.replaceMarital(a)}function t(){e.resetMarital()}return{data:r,set:n,replace:s,reset:t}},ca="29b4f99",da={class:"row items-center no-wrap"},va={class:"q-mr-md"},fa={class:"q-pa-md"},ha={class:"q-pa-sm bg-grey-2 text-body2",style:{"white-space":"pre-wrap"}},ma={class:"q-pa-md"},ba={class:"q-pa-sm bg-grey-2 text-body2",style:{"white-space":"pre-wrap"}},ga={class:"q-pa-md"},ya={class:"q-pa-sm bg-grey-2 text-body2",style:{"white-space":"pre-wrap"}},za={class:"row items-center no-wrap"},Oa=At({__name:"MainLayout",setup(e){const r=_(!1),n=ua(),s=sa(),t=Nt(),{locale:a}=jt(),o=ca,l=[{code:"it-IT",label:"Italiano"},{code:"en-US",label:"English"},{code:"fr-FR",label:"Français"},{code:"de-DE",label:"Deutsch"}];function v(S){a.value=S}const d=c(()=>{const S=l.find(m=>m.code===a.value);return S?S.label:String(a.value)});function u(){r.value=!r.value}return(S,m)=>{const z=It("router-view");return Te(),Ft(ia,{view:"lHh Lpr lFf"},{default:M(()=>[L(Jt,{elevated:""},{default:M(()=>[L(Ue,null,{default:M(()=>[L(xe,{flat:"",dense:"",round:"",icon:"menu","aria-label":"Menu",onClick:u}),L(Wt,null,{default:M(()=>[...m[1]||(m[1]=[de(" Quasar App ",-1)])]),_:1}),L(Xt),E("div",da,[E("div",va,"Quasar v"+Z(S.$q.version),1),L(Yt,{outline:"",color:"white",class:"q-mr-sm"},{default:M(()=>[de("commit "+Z(ee(o)),1)]),_:1}),L(xe,{flat:"",dense:"",icon:"language",label:d.value,"aria-label":"Language"},{default:M(()=>[L(Xe,{"auto-close":""},{default:M(()=>[L(Ne,null,{default:M(()=>[(Te(),Fe(Ie,null,Re(l,b=>L(je,{clickable:"",key:b.code,onClick:B=>v(b.code)},{default:M(()=>[L(We,null,{default:M(()=>[de(Z(b.label),1)]),_:2},1024)]),_:2},1032,["onClick"])),64))]),_:1})]),_:1})]),_:1},8,["label"])])]),_:1})]),_:1}),L(oa,{modelValue:r.value,"onUpdate:modelValue":m[0]||(m[0]=b=>r.value=b),"show-if-above":"",bordered:""},{default:M(()=>[L(la,{class:"fit"},{default:M(()=>[E("div",fa,[m[2]||(m[2]=E("div",{class:"text-subtitle2 q-mb-sm"},"Dati contribuente",-1)),E("pre",ha,Z(JSON.stringify(ee(ee(n).data),null,2)),1)]),E("div",ma,[m[3]||(m[3]=E("div",{class:"text-subtitle2 q-mb-sm"},"Dati stato civile",-1)),E("pre",ba,Z(JSON.stringify(ee(ee(s).data),null,2)),1)]),E("div",ga,[m[4]||(m[4]=E("div",{class:"text-subtitle2 q-mb-sm"},"Dati figli",-1)),E("pre",ya,Z(JSON.stringify(ee(ee(t).data),null,2)),1)])]),_:1})]),_:1},8,["modelValue"]),L(na,null,{default:M(()=>[L(z)]),_:1}),L(ra,{elevated:"",class:"bg-white"},{default:M(()=>[L(Ue,{class:"q-pl-md q-pr-md"},{default:M(()=>[E("div",za,[m[5]||(m[5]=E("div",{class:"col"},null,-1)),E("div",null,[L(xe,{flat:"",dense:"",icon:"language",label:d.value,"aria-label":"Language"},{default:M(()=>[L(Xe,{"auto-close":""},{default:M(()=>[L(Ne,null,{default:M(()=>[(Te(),Fe(Ie,null,Re(l,b=>L(je,{clickable:"",key:b.code,onClick:B=>v(b.code)},{default:M(()=>[L(We,null,{default:M(()=>[de(Z(b.label),1)]),_:2},1024)]),_:2},1032,["onClick"])),64))]),_:1})]),_:1})]),_:1},8,["label"])])])]),_:1})]),_:1})]),_:1})}}});export{Oa as default};
|