@assemblyvoting/ui-library 3.3.2 → 3.3.3-beta.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -783,4 +783,4 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
783
783
  `),e.removeAttribute(t),n()}).catch(i)}else n()}else n()})}function LY(e){return Promise.all([Vi(e,"::before"),Vi(e,"::after")])}function _Y(e){return e.parentNode!==document.head&&!~pZ.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(s8)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function gi(e){if(X1)return new Promise(function(a,t){var n=Y2(e.querySelectorAll("*")).filter(_Y).map(LY),i=qt.begin("searchPseudoElements");Bq(),Promise.all(n).then(function(){i(),p8(),a()}).catch(function(){i(),p8(),t()})})}var kY={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=gi,t}}},provides:function(a){a.pseudoElements2svg=function(t){var n=t.node,i=n===void 0?i1:n;O.searchPseudoElements&&gi(i)}}},Mi=!1,NY={mixout:function(){return{dom:{unwatch:function(){Bq(),Mi=!0}}}},hooks:function(){return{bootstrap:function(){pi(r8("mutationObserverCallbacks",{}))},noAuto:function(){fY()},watch:function(t){var n=t.observeMutationsRoot;Mi?p8():pi(r8("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},Ci=function(a){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(n,i){var s=i.toLowerCase().split("-"),l=s[0],o=s.slice(1).join("-");if(l&&o==="h")return n.flipX=!0,n;if(l&&o==="v")return n.flipY=!0,n;if(o=parseFloat(o),isNaN(o))return n;switch(l){case"grow":n.size=n.size+o;break;case"shrink":n.size=n.size-o;break;case"left":n.x=n.x-o;break;case"right":n.x=n.x+o;break;case"up":n.y=n.y-o;break;case"down":n.y=n.y+o;break;case"rotate":n.rotate=n.rotate+o;break}return n},t)},yY={mixout:function(){return{parse:{transform:function(t){return Ci(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,n){var i=n.getAttribute("data-fa-transform");return i&&(t.transform=Ci(i)),t}}},provides:function(a){a.generateAbstractTransformGrouping=function(t){var n=t.main,i=t.transform,s=t.containerWidth,l=t.iconWidth,o={transform:"translate(".concat(s/2," 256)")},r="translate(".concat(i.x*32,", ").concat(i.y*32,") "),f="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),u="rotate(".concat(i.rotate," 0 0)"),d={transform:"".concat(r," ").concat(f," ").concat(u)},m={transform:"translate(".concat(l/2*-1," -256)")},p={outer:o,inner:d,path:m};return{tag:"g",attributes:P({},p.outer),children:[{tag:"g",attributes:P({},p.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:P(P({},n.icon.attributes),p.path)}]}]}}}},F6={x:0,y:0,width:"100%",height:"100%"};function Hi(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||a)&&(e.attributes.fill="black"),e}function xY(e){return e.tag==="g"?e.children:[e]}var SY={hooks:function(){return{parseNodeAttributes:function(t,n){var i=n.getAttribute("data-fa-mask"),s=i?k6(i.split(" ").map(function(l){return l.trim()})):Ft();return s.prefix||(s.prefix=m2()),t.mask=s,t.maskId=n.getAttribute("data-fa-mask-id"),t}}},provides:function(a){a.generateAbstractMask=function(t){var n=t.children,i=t.attributes,s=t.main,l=t.mask,o=t.maskId,r=t.transform,f=s.width,u=s.icon,d=l.width,m=l.icon,p=yZ({transform:r,containerWidth:d,iconWidth:f}),h={tag:"rect",attributes:P(P({},F6),{},{fill:"white"})},M=u.children?{children:u.children.map(Hi)}:{},C={tag:"g",attributes:P({},p.inner),children:[Hi(P({tag:u.tag,attributes:P(P({},u.attributes),p.path)},M))]},b={tag:"g",attributes:P({},p.outer),children:[C]},g="mask-".concat(o||b3()),z="clip-".concat(o||b3()),L={tag:"mask",attributes:P(P({},F6),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,b]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:z},children:xY(m)},L]};return n.push(_,{tag:"rect",attributes:P({fill:"currentColor","clip-path":"url(#".concat(z,")"),mask:"url(#".concat(g,")")},F6)}),{children:n,attributes:i}}}},wY={provides:function(a){var t=!1;u2.matchMedia&&(t=u2.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var n=[],i={fill:"currentColor"},s={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:P(P({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var l=P(P({},s),{},{attributeName:"opacity"}),o={tag:"circle",attributes:P(P({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:P(P({},s),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:P(P({},l),{},{values:"1;0;1;1;0;1;"})}),n.push(o),n.push({tag:"path",attributes:P(P({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:P(P({},l),{},{values:"1;0;0;0;0;1;"})}]}),t||n.push({tag:"path",attributes:P(P({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:P(P({},l),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},EY={hooks:function(){return{parseNodeAttributes:function(t,n){var i=n.getAttribute("data-fa-symbol"),s=i===null?!1:i===""?!0:i;return t.symbol=s,t}}}},TY=[wZ,gY,MY,CY,HY,kY,NY,yY,SY,wY,EY];GZ(TY,{mixoutsTo:y1});y1.noAuto;y1.config;y1.library;y1.dom;var bi=y1.parse;y1.findIconDefinition;y1.toHtml;var BY=y1.icon;y1.layer;y1.text;y1.counter;const Dq=c.defineComponent({name:"AVIcon",props:{icon:{type:String,required:!0}},setup(e){const a=f=>bi.icon?bi.icon(f):null,t={...DE,...Dj},n=(f,u={})=>{const d=(f.children||[]).map(h=>n(h));if(f.prefix)return;const m=Object.keys(f.attributes||{}).reduce((h,M)=>{const C=f.attributes[M];return h.attrs[M]=C,h},{attrs:{}}),{...p}=u;return c.h(f.tag,{...m.attrs,...p},d)};function i(f){let p=`fa-${f}`.split("-").map(M=>M.charAt(0).toUpperCase()+M.slice(1).toLowerCase()).join("");return p.charAt(0).toLowerCase()+p.slice(1)}const s=c.computed(()=>i(a(e.icon).iconName)),l=c.computed(()=>t[s.value]),o=c.computed(()=>BY(l.value,{symbol:!1,title:l.value}));c.watch(o,f=>{if(!f)return console.log("Could not find one or more icon(s)",l)},{immediate:!0});const r=c.computed(()=>o.value?n(o.value.abstract[0]):null);return()=>r.value}}),IY=["disabled"],DY=c.defineComponent({__name:"AVButton",props:{label:{type:String,default:""},size:{type:String,validate:e=>["small","regular","large"].includes(e),default:"regular"},type:{type:String,validate:e=>["primary","secondary","destructive","neutral"].includes(e),default:"secondary"},iconLeft:{type:Boolean,default:!1},iconRight:{type:Boolean,default:!1},icon:{type:String,default:"bolt"},disabled:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1}},emits:["onClick"],setup(e,{emit:a}){const t=a,n=()=>{t("onClick")};return(i,s)=>{const l=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("button",{type:"button",class:c.normalizeClass(`AVButton AVButton--${e.size} AVButton--${e.type} ${e.fullWidth?"AVButton--full":""}`),"data-test":"btn",onClick:n,disabled:e.disabled},[e.iconLeft?(c.openBlock(),c.createBlock(l,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVButton--icon-left","data-test":"btn-icon"},null,8,["icon"])):c.createCommentVNode("",!0),c.renderSlot(i.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(e.label),1)],!0),e.iconRight?(c.openBlock(),c.createBlock(l,{key:1,icon:`fa-solid fa-${e.icon}`,class:"AVButton--icon-right","data-test":"btn-icon"},null,8,["icon"])):c.createCommentVNode("",!0)],10,IY)}}});const D=(e,a)=>{const t=e.__vccOpts||e;for(const[n,i]of a)t[n]=i;return t},Pq=D(DY,[["__scopeId","data-v-d69f84e2"]]),PY=c.defineComponent({__name:"AVSpinner",props:{size:{type:String,validate:e=>["small","regular","large","xlarge"].includes(e),default:""},color:{type:String,validate:e=>["dark","light","neutral"].includes(e),default:"dark"}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createBlock(n,{icon:"fa-solid fa-spinner",class:c.normalizeClass(`AVSpinner AVSpinner--${e.size} AVSpinner--${e.color}`)},null,8,["class"])}}});const Oq=D(PY,[["__scopeId","data-v-70d9cfd4"]]),OY=c.defineComponent({__name:"AVBullet",props:{type:{type:String,validate:e=>["solid","number","icon"].includes(e),default:"solid"},hover:{type:Boolean,default:!1},active:{type:Boolean,default:!1},value:{type:String,default:""}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return e.type==="icon"?(c.openBlock(),c.createBlock(n,{key:0,icon:`fa-solid fa-${e.value||"bolt"}`,class:c.normalizeClass(["AVBullet--icon",{"AVBullet--active":e.active,"AVBullet--hover":e.hover}]),"data-test":"icon-bullet"},null,8,["icon","class"])):e.type==="number"?(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["AVBullet--container AVBullet--outer-circle",{"AVBullet--active":e.active,"AVBullet--hover":e.hover}]),"data-test":"number-bullet"},[c.createElementVNode("div",{class:c.normalizeClass(["AVBullet--number",{"AVBullet--active":e.active,"AVBullet--hover":e.hover}])},c.toDisplayString(e.value||"0"),3)],2)):(c.openBlock(),c.createBlock(n,{key:2,icon:"fa-solid fa-circle",class:c.normalizeClass(["AVBullet--icon",{"AVBullet--active":e.active,"AVBullet--hover":e.hover}]),"data-test":"solid-bullet"},null,8,["class"]))}}});const V4=D(OY,[["__scopeId","data-v-5b7d0fcb"]]),RY={class:"AVTextInput--input-set"},FY=["for"],jY={class:"AVTextInput--input-field"},qY={class:"AVTextInput--icon-container"},$Y=["id","placeholder","disabled","value"],UY={key:0,class:"AVTextInput--icon-container"},WY={key:1,class:"AVTextInput--error","data-test":"error-msg"},GY=c.defineComponent({__name:"AVTextInput",props:{id:{type:String,required:!0},placeholder:{type:String},icon:{type:String},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},inputLabel:{type:String,default:null},modelValue:{type:String,default:""},tooltipText:{type:String,default:null},errorMessage:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,n=a,i=l=>{n("update:modelValue",l.target.value)},s=c.computed(()=>({AVTextInput:!0,error:!!t.error,icon:!!t.icon,disabled:t.disabled}));return(l,o)=>{const r=c.resolveComponent("AVIcon"),f=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",RY,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVTextInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(r,{key:0,icon:"circle-question",class:"AVTextInput--tooltip-icon"},null,512)),[[f,e.tooltipText]]):c.createCommentVNode("",!0)])],8,FY)):c.createCommentVNode("",!0),c.createElementVNode("div",jY,[c.createElementVNode("div",qY,[e.icon?(c.openBlock(),c.createBlock(r,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVTextInput--input-icon","data-test":"input-icon"},null,8,["icon"])):c.createCommentVNode("",!0)]),c.createElementVNode("input",{id:e.id,placeholder:e.placeholder,disabled:e.disabled,type:"text",class:c.normalizeClass(s.value),ref:"textInput",value:e.modelValue,onInput:i,"data-1p-ignore":""},null,42,$Y),e.error?(c.openBlock(),c.createElementBlock("div",UY,[c.createVNode(r,{icon:"fa-solid fa-circle-exclamation",class:"AVTextInput--error-icon","data-test":"input-error-icon"})])):c.createCommentVNode("",!0)]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",WY,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Rq=D(GY,[["__scopeId","data-v-6c6cbec3"]]),JY={class:"AVNumberInput--input-set"},ZY=["for"],YY={class:"AVNumberInput--icon-container"},QY=["value","id","disabled","name","min","max","step"],KY={key:0,class:"AVNumberInput--icon-container"},XY={key:1,class:"AVNumberInput--error","data-test":"error-msg"},eQ=c.defineComponent({__name:"AVNumberInput",props:{id:{type:String,required:!0},min:{type:Number,default:null},max:{type:Number,default:null},step:{type:Number,default:1},icon:{type:String,default:null},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},disableControllers:{type:Boolean,default:!1},modelValue:{type:Number,default:0},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(null),s=d=>{n("update:modelValue",parseInt(d.target.value))},l=d=>{d.target.value===""&&n("update:modelValue",0)},o=()=>{i.value.classList.remove("hidden"),i.value.classList.add("AVNumberInput--shown")},r=()=>{t.error||(i.value.classList.remove("AVNumberInput--shown"),i.value.classList.add("hidden"))},f=()=>{const d=t.modelValue+t.step;(t.max===null||d<=t.max)&&n("update:modelValue",d)},u=()=>{const d=t.modelValue-t.step;(t.min===null||d>=t.min)&&n("update:modelValue",d)};return(d,m)=>{const p=c.resolveComponent("AVIcon"),h=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",JY,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVNumberInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(p,{key:0,icon:"circle-question",class:"AVNumberInput--tooltip-icon"},null,512)),[[h,e.tooltipText]]):c.createCommentVNode("",!0)])],8,ZY)):c.createCommentVNode("",!0),c.createElementVNode("div",{class:"AVNumberInput--input-field",onMouseenter:o,onMouseleave:r},[c.createElementVNode("div",YY,[e.icon?(c.openBlock(),c.createBlock(p,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVNumberInput--input-icon","data-test":"input-icon"},null,8,["icon"])):c.createCommentVNode("",!0)]),c.createElementVNode("input",{value:e.modelValue,onInput:s,onBlur:l,type:"number",class:c.normalizeClass(["AVNumberInput",{error:e.error,"no-icon":!e.icon,disabled:e.disabled}]),style:c.normalizeStyle(`margin-right: -${e.error?"3.75":"1.4"}rem`),id:e.id,disabled:e.disabled,ref:"numberInput",name:e.id,min:e.min,max:e.max,step:e.step},null,46,QY),c.createElementVNode("div",{class:c.normalizeClass(["AVNumberInput--controllers-container",{hidden:!e.error,error:e.error,disabled:e.disabled||e.disableControllers}]),ref_key:"inputControllers",ref:i,"data-test":"input-controllers"},[c.createElementVNode("button",{onClick:f,class:"AVNumberInput--button","data-test":"input-controller-plus"},[c.createVNode(p,{icon:"fa-solid fa-circle-plus",class:"AVNumberInput--controller-icon"})]),c.createElementVNode("button",{onClick:u,class:"AVNumberInput--button","data-test":"input-controller-minus"},[c.createVNode(p,{icon:"fa-solid fa-circle-minus",class:"AVNumberInput--controller-icon"})])],2),e.error?(c.openBlock(),c.createElementBlock("div",KY,[c.createVNode(p,{icon:"fa-solid fa-circle-exclamation",class:"AVNumberInput--error-icon","data-test":"input-error-icon"})])):c.createCommentVNode("",!0)],32),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",XY,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Fq=D(eQ,[["__scopeId","data-v-c69bbc44"]]),cQ={class:"AVPasswordInput--input-set"},aQ=["for"],tQ={class:"AVPasswordInput--input-field"},nQ={class:"AVPasswordInput--icon-container"},iQ=["value","type","id","disabled","placeholder","name"],sQ={class:"AVPasswordInput--icon-container"},lQ={key:1,class:"AVPasswordInput--error","data-test":"error-msg"},oQ=c.defineComponent({__name:"AVPasswordInput",props:{id:{type:String,required:!0},modelValue:{type:String,default:""},placeholder:{type:String,default:"placeholder"},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},disableIcon:{type:Boolean,default:!1},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=a,n=c.ref(!1),i=()=>{n.value=!n.value},s=l=>{t("update:modelValue",l.target.value)};return(l,o)=>{const r=c.resolveComponent("AVIcon"),f=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",cQ,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVPasswordInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(r,{key:0,icon:"circle-question",class:"AVPasswordInput--tooltip-icon"},null,512)),[[f,e.tooltipText]]):c.createCommentVNode("",!0)])],8,aQ)):c.createCommentVNode("",!0),c.createElementVNode("div",tQ,[c.createElementVNode("div",nQ,[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(r,{key:0,icon:"fa-solid fa-key",class:"AVPasswordInput--input-icon","data-test":"input-icon"}))]),c.createElementVNode("input",{value:e.modelValue,onInput:s,type:`${n.value?"text":"password"}`,class:c.normalizeClass(["AVPasswordInput",{error:e.error,"no-icon":e.disableIcon,disabled:e.disabled}]),id:e.id,disabled:e.disabled,placeholder:e.placeholder,ref:"textInput",name:e.id},null,42,iQ),c.createElementVNode("div",sQ,[c.createElementVNode("button",{onClick:i},[c.createVNode(r,{icon:`fa-solid fa-${n.value?"eye-slash":"eye"}`,class:"AVPasswordInput--input-icon","data-test":"show-pass-icon"},null,8,["icon"])])])]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",lQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const jq=D(oQ,[["__scopeId","data-v-b1c76306"]]),rQ={class:"AVDatetimeInput--input-set"},fQ=["for"],uQ={class:"AVDatetimeInput--input-field"},mQ={class:"AVDatetimeInput--icon-container"},dQ=["value","id","disabled","name","min","max"],pQ={key:1,class:"AVDatetimeInput--error","data-test":"error-msg"},vQ=c.defineComponent({__name:"AVDatetimeInput",props:{id:{type:String,required:!0},modelValue:{type:String,default:null},min:{type:String,default:null},max:{type:String,default:null},icon:{type:String,default:null},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=a,n=i=>{t("update:modelValue",i.target.value)};return(i,s)=>{const l=c.resolveComponent("AVIcon"),o=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",rQ,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVDatetimeInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(l,{key:0,icon:"circle-question",class:"AVDatetimeInput--tooltip-icon"},null,512)),[[o,e.tooltipText]]):c.createCommentVNode("",!0)])],8,fQ)):c.createCommentVNode("",!0),c.createElementVNode("div",uQ,[c.createElementVNode("div",mQ,[e.icon?(c.openBlock(),c.createBlock(l,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVDatetimeInput--input-icon","data-test":"input-icon"},null,8,["icon"])):c.createCommentVNode("",!0)]),c.createElementVNode("input",{value:e.modelValue,onInput:n,type:"datetime-local",class:c.normalizeClass(["AVDatetimeInput",{error:e.error,"no-icon":!e.icon,disabled:e.disabled}]),style:c.normalizeStyle(`margin-right: -${e.error?"3.75":"1.4"}rem`),id:e.id,disabled:e.disabled,ref:"datetimeInput",name:e.id,min:e.min,max:e.max},null,46,dQ)]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",pQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const qq=D(vQ,[["__scopeId","data-v-d438432a"]]),hQ={class:"AVTextArea--input-set"},zQ=["for"],VQ={class:"AVTextArea--input-field"},gQ=["value","id","disabled","placeholder","name","rows"],MQ={key:0,class:"AVTextArea--icon-container"},CQ={key:1,class:"AVTextArea--error","data-test":"error-msg"},HQ=c.defineComponent({__name:"AVTextArea",props:{id:{type:String,required:!0},modelValue:{type:String,default:""},placeholder:{type:String,default:"placeholder"},icon:{type:String,default:null},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},rows:{type:Number,default:4},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=a,n=i=>{t("update:modelValue",i.target.value)};return(i,s)=>{const l=c.resolveComponent("AVIcon"),o=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",hQ,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVTextArea--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(l,{key:0,icon:"circle-question",class:"AVTextArea--tooltip-icon"},null,512)),[[o,e.tooltipText]]):c.createCommentVNode("",!0)])],8,zQ)):c.createCommentVNode("",!0),c.createElementVNode("div",VQ,[c.createElementVNode("div",{class:"AVTextArea--icon-container",style:c.normalizeStyle(`height: ${1.5625*e.rows+1}rem;`)},[e.icon?(c.openBlock(),c.createBlock(l,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVTextArea--input-icon","data-test":"input-icon"},null,8,["icon"])):c.createCommentVNode("",!0)],4),c.createElementVNode("textarea",{value:e.modelValue,onInput:n,class:c.normalizeClass(["AVTextArea",{error:e.error,"no-icon":!e.icon,disabled:e.disabled}]),id:e.id,disabled:e.disabled,placeholder:e.placeholder,ref:"textArea",name:e.id,rows:e.rows},null,42,gQ),e.error?(c.openBlock(),c.createElementBlock("div",MQ,[c.createVNode(l,{icon:"fa-solid fa-circle-exclamation",class:"AVTextArea--error-icon","data-test":"input-error-icon"})])):c.createCommentVNode("",!0)]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",CQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const $q=D(HQ,[["__scopeId","data-v-c9875ea2"]]),bQ=c.defineComponent({__name:"AVLabel",props:{value:{type:String,required:!0},type:{type:String,default:"default",validate:e=>["default","info","success","danger","warning"].indexOf(e)>=0}},setup(e){const t=`
784
784
  AVLabel
785
785
  AVLabel--${e.type}
786
- `;return(n,i)=>(c.openBlock(),c.createElementBlock("span",{class:c.normalizeClass(t)},c.toDisplayString(e.value),1))}});const Uq=D(bQ,[["__scopeId","data-v-ee7ab830"]]),AQ=c.defineComponent({__name:"AVCard",props:{variant:{type:String,default:"default",validate:e=>["rounded","default","jumbotron","jumbotron-electa","rounded-electa"].includes(e)}},setup(e){return(a,t)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVCard--${e.variant}`)},[c.renderSlot(a.$slots,"default",{},void 0,!0)],2))}});const Wq=D(AQ,[["__scopeId","data-v-79187531"]]),LQ=c.defineComponent({__name:"AVRoundButton",props:{icon:{type:String,default:"bolt",required:!0}},emits:["onClick"],setup(e,{emit:a}){const t=a,n=()=>{t("onClick")};return(i,s)=>{const l=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("button",{type:"button",class:"AVRoundButton","data-test":"round-btn",onClick:n},[c.createVNode(l,{icon:`fa-solid fa-${e.icon}`,class:"icon-left","data-test":"btn-icon"},null,8,["icon"])])}}});const Gq=D(LQ,[["__scopeId","data-v-6caf6a51"]]),_Q={class:"AVDropdown--input-set"},kQ=["for"],NQ=["id","disabled","aria-expanded","aria-label"],yQ={key:0,class:"AVDropdown--icon-container"},xQ={key:1,class:"AVDropdown--placeholder"},SQ=["textContent"],wQ={class:"AVDropdown--icon-container"},EQ={key:1,class:"AVDropdown--error","data-test":"error-msg"},TQ=c.defineComponent({__name:"AVDropdown",props:{id:{type:String,required:!0},modelValue:{type:String,default:""},options:{type:Array,required:!0},placeholder:{type:String,default:"placeholder"},icon:{type:String,default:null},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,n=a,i=c.reactive({active:!1,customWidth:null,id:null}),s=c.computed(()=>t.options.map(f=>typeof f=="string"?{label:f,value:f}:f)),l=c.computed(()=>s.value.find(f=>f.value===t.modelValue));c.onMounted(()=>{i.id=t.id});const o=f=>{n("update:modelValue",f)};c.provide("sharedState",i);const r=()=>{t.disabled||(i.active=!i.active)};return(f,u)=>{const d=c.resolveComponent("AVIcon"),m=c.resolveComponent("AVDropdownItem"),p=c.resolveComponent("AVDropdownContent"),h=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",_Q,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVDropdown--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(d,{key:0,icon:"circle-question",class:"AVDropdown--tooltip-icon"},null,512)),[[h,e.tooltipText]]):c.createCommentVNode("",!0)])],8,kQ)):c.createCommentVNode("",!0),c.createElementVNode("div",{onClick:r,class:"AVDropdown"},[c.createElementVNode("button",{id:e.id,class:c.normalizeClass(["AVDropdown--button",{error:e.error,"no-icon":!e.icon,disabled:e.disabled}]),disabled:e.disabled,"aria-haspopup":"true","aria-expanded":i.active||null,"data-toggle":"dropdown",type:"button","aria-label":e.inputLabel},[e.icon?(c.openBlock(),c.createElementBlock("span",yQ,[c.createVNode(d,{icon:`fa-solid fa-${e.icon}`,class:"AVDropdown--input-icon","data-test":"input-icon"},null,8,["icon"])])):c.createCommentVNode("",!0),l.value===void 0?(c.openBlock(),c.createElementBlock("span",xQ,c.toDisplayString(e.placeholder),1)):(c.openBlock(),c.createElementBlock("span",{key:2,class:"AVDropdown--selected-option",textContent:c.toDisplayString(l.value.label)},null,8,SQ)),c.createElementVNode("span",wQ,[c.createVNode(d,{icon:`fa-solid fa-${i.active?"caret-down":"caret-right"}`,class:"AVDropdown--selector-icon","data-test":"selector-icon"},null,8,["icon"])])],10,NQ),c.createVNode(p,null,{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.value,M=>(c.openBlock(),c.createBlock(m,{key:M,optionLabel:M.label,onOnSelected:C=>o(M.value),"data-test":"option"},null,8,["optionLabel","onOnSelected"]))),128))]),_:1})]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",EQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Jq=D(TQ,[["__scopeId","data-v-09756cc6"]]),BQ=["aria-labelledby"],IQ=c.defineComponent({__name:"AVDropdownContent",setup(e){const a=c.inject("sharedState"),t=c.computed(()=>a.active),n=c.computed(()=>a.id);return(i,s)=>(c.openBlock(),c.createBlock(c.Transition,{name:"dropdown-content"},{default:c.withCtx(()=>[t.value?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVDropdownContent","aria-labelledby":n.value},[c.renderSlot(i.$slots,"default",{},void 0,!0)],8,BQ)):c.createCommentVNode("",!0)]),_:3}))}});const Zq=D(IQ,[["__scopeId","data-v-e2058f66"]]),DQ=c.defineComponent({__name:"AVDropdownItem",props:{optionLabel:{type:String,required:!0}},emits:["onSelected"],setup(e,{emit:a}){const t=a,n=()=>{t("onSelected")};return(i,s)=>(c.openBlock(),c.createElementBlock("a",{class:"AVDropdownItem",onClick:n},c.toDisplayString(e.optionLabel),1))}});const Yq=D(DQ,[["__scopeId","data-v-2ca0bff3"]]),PQ={key:0,class:"AVAlert--header","data-test":"alert-header"},OQ={class:"AVAlert--title-container"},RQ={key:0,class:"AVAlert--icon-container"},FQ={class:"AVAlert--title"},jQ=c.defineComponent({__name:"AVAlert",props:{type:{type:String,validate:e=>["info","success","danger","warning"].includes(e),default:"info"},title:{type:String,default:""},icon:{type:String,default:""},disableIcon:{type:Boolean,default:!1},disableHeader:{type:Boolean,default:!1},disableDismiss:{type:Boolean,default:!1},customWidth:{type:Number,default:null},timeout:{type:String,default:null}},emits:["dismiss"],setup(e,{emit:a}){const t=e,n=a,i=()=>{n("dismiss")};c.onMounted(()=>{t.timeout&&setTimeout(()=>{i()},Number.parseInt(t.timeout))});const s={info:"Information",success:"Success",danger:"Danger",warning:"Warning"},l={info:"circle-info",success:"circle-check",danger:"circle-xmark",warning:"circle-exclamation"};return(o,r)=>{const f=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVAlert AVAlert--${e.type}`),style:c.normalizeStyle(e.customWidth&&`width: ${e.customWidth}px`),"data-test":"alert"},[e.disableHeader?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",PQ,[c.createElementVNode("div",OQ,[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",RQ,[c.createVNode(f,{icon:`fa-solid fa-${e.icon!==""?e.icon:l[e.type]}`,"data-test":"alert-icon"},null,8,["icon"])])),c.createElementVNode("span",FQ,c.toDisplayString(e.title!==""?e.title:s[e.type]),1)]),e.disableDismiss?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVAlert--icon-container",onClick:i},[c.createVNode(f,{icon:"fa-solid fa-xmark",class:"AVAlert--icon-dismiss","data-test":"alert-icon-dismiss"})]))])),c.renderSlot(o.$slots,"default",{},void 0,!0)],6)}}});const Qq=D(jQ,[["__scopeId","data-v-0cc3f6d1"]]),qQ={class:"AVFileInput--input-set"},$Q=["for"],UQ=["for"],WQ=["multiple","name","id","accept","disabled"],GQ={class:"AVFileInput--icon-container"},JQ={class:"AVFileInput--dragdroptext"},ZQ={key:0},YQ={class:"AVFileInput--dragdroptext-primary"},QQ={key:1},KQ={class:"AVFileInput--dragdroptext-primary"},XQ={class:"AVFileInput--dragdroptext-secondary"},eK={key:1,class:"AVFileInput--accepted"},cK={class:"AVFileInput--accepted-muted"},aK={key:2,class:"AVFileInput--preview-container"},tK={class:"AVFileInput--label mt-3"},nK={class:"AVFileInput--header"},iK={class:"AVTextInput--preview"},sK=["src"],lK={class:"AVFileInput--preview-text"},oK=["onClick"],rK={key:3,class:"AVFileInput--preview-container"},fK={class:"AVFileInput--label mt-3"},uK=["src","alt"],mK={key:1,class:"AVFileInput--preview-card"},dK={class:"AVFileInput--header"},pK={class:"AVTextInput--preview"},vK={class:"AVFileInput--preview-text"},hK=["onClick"],zK={key:4,class:"AVFileInput--error","data-test":"error-msg"},VK=c.defineComponent({__name:"AVFileInput",props:{id:{type:String,required:!0},value:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},inputLabel:{type:String,default:"Input label"},disableLabel:{type:Boolean,default:!1},accept:{type:String,required:!0},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},showPreview:{type:Boolean,default:!1},tooltipText:{type:String,default:null},locale:{type:String,default:null},disableAcceptedFormats:{type:Boolean,default:!1},currentValue:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1},customOpenMethod:{type:Array,default:null}},emits:["update","fileFormatNotAccepted","download"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,s=c.ref(!1),l=c.ref(null),o=c.ref([]);c.onMounted(()=>{if(i.locale&&G(i.locale),i.value&&(o.value=i.value),i.customOpenMethod!==null){const[H,N]=i.customOpenMethod;l.value.onclick=async k=>{k.preventDefault();const A=await H({multiple:!1,directory:!1,filters:[{name:"Trustee key",extensions:["trustee-key"]}]});if(A!==null){const w=A.split("/").pop(),F=JSON.stringify(await N("read_local_file_content",{filePath:A})),x=new Blob([F],{type:"plain/text"}),$=new File([x],w);o.value.push($),r("update",o.value)}}}}),c.watch(()=>i.locale,()=>{i.locale&&G(i.locale)},{deep:!0});const r=a,f=()=>{o.value=[...l.value.files],r("update",o.value)},u=H=>{H.preventDefault(),!i.disabled&&(s.value=!0)},d=()=>{s.value=!1},m=H=>{const N=Array.from(H),k=new DataTransfer;for(let A of N){const w=A.name.split(".").pop();if(M.value.includes(`.${w.toLowerCase()}`)){const x=new File([A],A.name,{type:A.type,lastModified:A.lastModified});k.items.add(x)}else r("fileFormatNotAccepted",A.name)}return k.files},p=c.computed(()=>i.accept.split(",")),h=c.computed(()=>i.accept.split(",").join(", ")),M=c.computed(()=>p.value.map(H=>H.toLocaleLowerCase())),C=H=>{const N=Math.round(H/1024),k=Math.round(N/1024),A=Math.round(k/1024);switch(!0){case!!A:return`${A}Gb`;case!!k:return`${k}Mb`;case!!N:return`${N}Kb`;default:return`${H}b`}},b=H=>H.split("/").pop(),g=H=>{if(H.preventDefault(),!i.disabled){if(l.value.files=m(Array.from(H.dataTransfer.files)),!l.value.files.length){s.value=!1;return}o.value=i.multiple?[...l.value.files]:[l.value.files[0]],r("update",o.value),s.value=!1}},z=H=>{o.value.splice(H,1),r("update",o.value)},L=H=>{const N=URL.createObjectURL(H);return setTimeout(()=>{URL.revokeObjectURL(N)},1e3),N},_=H=>{r("download",H)};return(H,N)=>{const k=c.resolveComponent("AVIcon"),A=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",qQ,[e.disableLabel?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVFileInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(k,{key:0,icon:"circle-question",class:"AVFileInput--tooltip-icon"},null,512)),[[A,e.tooltipText]]):c.createCommentVNode("",!0)])],8,$Q)),c.createElementVNode("label",{for:e.id,class:c.normalizeClass(["AVFileInput--dropzone-container",{error:e.error,disabled:e.disabled}]),onDragover:u,onDragleave:d,onDrop:g},[c.createElementVNode("input",{type:"file",multiple:e.multiple,name:e.id,id:e.id,class:"AVFileInput-hidden-input",onChange:f,ref_key:"fileInput",ref:l,accept:e.accept,disabled:e.disabled},null,40,WQ),c.createElementVNode("div",GQ,[c.createVNode(k,{icon:"fa-solid fa-cloud-arrow-up",class:"AVFileInput--input-icon","data-test":"input-icon"})]),c.createElementVNode("div",JQ,[s.value?(c.openBlock(),c.createElementBlock("div",ZQ,[c.createElementVNode("div",YQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.release")),1)])):(c.openBlock(),c.createElementBlock("div",QQ,[c.createElementVNode("div",KQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.primary")),1),c.createElementVNode("div",XQ,[c.createTextVNode(c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.start"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.strong")),1),c.createTextVNode(" "+c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.end")),1)])]))])],42,UQ),e.disableAcceptedFormats?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("p",eK,[c.createTextVNode(c.toDisplayString(c.unref(n)("js.components.AVFileInput.acceptedFormats"))+" ",1),c.createElementVNode("em",cK,c.toDisplayString(h.value),1)])),o.value.length?(c.openBlock(),c.createElementBlock("div",aK,[c.createElementVNode("p",tK,c.toDisplayString(c.unref(n)("js.components.AVFileInput.uploading")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.value,w=>(c.openBlock(),c.createElementBlock("div",{key:w.name,class:c.normalizeClass(["AVFileInput--preview-card",{error:e.error}])},[c.createElementVNode("div",nK,[c.createElementVNode("div",iK,[e.showPreview?(c.openBlock(),c.createElementBlock("img",{key:0,class:"AVFileInput--preview-img",src:L(w)},null,8,sK)):(c.openBlock(),c.createBlock(k,{key:1,icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"}))]),c.createElementVNode("p",lK,[c.createTextVNode(c.toDisplayString(w.name)+" ",1),c.createElementVNode("em",null,c.toDisplayString(C(w.size)),1)])]),e.disabled?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVTextInput--delete-btn",type:"button",onClick:F=>z(o.value.indexOf(w)),title:"Remove file"},[c.createVNode(k,{icon:"fa-solid fa-trash",class:"AVTextInput--delete-icon","data-test":"file-preview-icon"})],8,oK))],2))),128))])):c.createCommentVNode("",!0),e.currentValue.length?(c.openBlock(),c.createElementBlock("div",rK,[c.createElementVNode("p",fK,c.toDisplayString(c.unref(n)("js.components.AVFileInput.current")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.currentValue,w=>(c.openBlock(),c.createElementBlock("div",{key:`image-${w}`},[e.showPreview?(c.openBlock(),c.createElementBlock("img",{key:0,class:"AVFileInput--current-img",src:w,alt:c.unref(n)("js.components.AVFileInput.alt_preview")},null,8,uK)):(c.openBlock(),c.createElementBlock("div",mK,[c.createElementVNode("div",dK,[c.createElementVNode("div",pK,[c.createVNode(k,{icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"})]),c.createElementVNode("p",vK,c.toDisplayString(b(w)),1)]),c.createElementVNode("button",{class:"AVTextInput--delete-btn",type:"button",title:"Download file",onClick:F=>_(w)},[c.createVNode(k,{icon:"fa-solid fa-download",class:"AVTextInput--download-icon","data-test":"file-download-icon"})],8,hK)]))]))),128))])):c.createCommentVNode("",!0),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",zK,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Kq=D(VK,[["__scopeId","data-v-d0e51bd2"]]),gK=e=>(c.pushScopeId("data-v-065c2914"),e=e(),c.popScopeId(),e),MK=["for"],CK=["id","checked","disabled"],HK=gK(()=>c.createElementVNode("span",{class:"AVRadio--mark"},null,-1)),bK=c.defineComponent({__name:"AVRadio",props:{id:{type:String,required:!0},disabled:{type:Boolean,default:!1},value:{type:String,required:!0},checked:{type:Boolean,default:!1}},emits:["update"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1);c.onMounted(()=>{t.checked&&(i.value=t.checked)});const s=()=>{i.value=!i.value,l()},l=()=>{n("update",t.value,i.value)};return c.watch(()=>t.checked,()=>{i.value=t.checked}),(o,r)=>(c.openBlock(),c.createElementBlock("label",{for:e.id,class:c.normalizeClass(["AVRadio",{disabled:e.disabled}])},[c.createElementVNode("input",{type:"radio",id:e.id,checked:i.value,onChange:s,disabled:e.disabled},null,40,CK),HK,c.createTextVNode(" "+c.toDisplayString(e.value),1)],10,MK))}});const Xq=D(bK,[["__scopeId","data-v-065c2914"]]),AK=["href","referrerpolicy","rel","target"],LK=c.defineComponent({__name:"AVLink",props:{label:{type:String,default:"Link"},disableIcon:{type:Boolean,default:!1},href:{type:String,required:!0},referrerpolicy:{type:String,validate:e=>["no-referrer","no-referrer-when-downgrade","origin","origin-when-cross-origin","same-origin","strict-origin-when-cross-origin","unsafe-url"].includes(e),default:"no-referrer"},rel:{type:String,validate:e=>["alternate","author","bookmark","external","help","license","next","nofollow","noreferrer","noopener","prev","search","tag"].includes(e),default:"external"},target:{type:String,validate:e=>["_blank","_parent","_self","_top"].includes(e),default:"_blank"},variant:{type:String,validate:e=>["default","dbas"].includes(e),default:"default"}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("a",{href:e.href,referrerpolicy:e.referrerpolicy,rel:e.rel,target:e.target,class:c.normalizeClass(`AVLink AVLink--${e.variant}`)},[c.createElementVNode("span",null,c.toDisplayString(e.label),1),e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(n,{key:0,icon:"fa-solid fa-arrow-up-right-from-square",class:"AVLink--icon","data-test":"link-icon"}))],10,AK)}}});const e$=D(LK,[["__scopeId","data-v-999075bc"]]),_K=["href","target"],kK={class:"AVNavbarItem--text"},NK=["disabled"],yK={class:"AVNavbarItem--text"},xK=c.defineComponent({__name:"AVNavbarItem",props:{label:{type:String,default:"Item"},reference:{type:String,default:null},icon:{type:String,default:"bolt"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},href:{type:String,default:null},disableIcon:{type:Boolean,default:!1},customWidth:{type:Number,default:180},target:{type:String,validate:e=>["_blank"].includes(e),default:"_self"}},emits:["onClick"],setup(e,{emit:a}){const t=e,n=a,i=c.computed(()=>t.href?"link":"button"),s=c.computed(()=>t.disabled?null:t.href),l=()=>{n("onClick",t.reference)};return(o,r)=>{const f=c.resolveComponent("AVIcon");return i.value==="link"?(c.openBlock(),c.createElementBlock("a",{key:0,href:s.value,class:c.normalizeClass(["AVNavbarItem",{"AVNavbarItem--active":e.active,disabled:e.disabled}]),target:e.target,style:c.normalizeStyle(`width: ${e.customWidth}px`)},[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(f,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVNavbarItem--icon"},null,8,["icon"])),c.createElementVNode("span",kK,c.toDisplayString(e.label),1)],14,_K)):(c.openBlock(),c.createElementBlock("button",{key:1,class:c.normalizeClass(["AVNavbarItem",{"AVNavbarItem--active":e.active,disabled:e.disabled}]),style:c.normalizeStyle(`width: ${e.customWidth}px`),disabled:e.disabled,onClick:l},[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(f,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVNavbarItem--icon"},null,8,["icon"])),c.createElementVNode("span",yK,c.toDisplayString(e.label),1)],14,NK))}}});const c$=D(xK,[["__scopeId","data-v-00ff3c9d"]]),SK=["href","target","aria-label"],wK={class:"AVSidebarItem--text","aria-hidden":"true"},EK=["disabled","aria-label"],TK={class:"AVSidebarItem--text","aria-hidden":"true"},BK=c.defineComponent({__name:"AVSidebarItem",props:{label:{type:String,default:"Item"},type:{type:String,validate:e=>["step","item"].includes(e),default:"item"},stepIndex:{type:String,validate:e=>e.length===1,default:"1"},reference:{type:String,default:null},icon:{type:String,default:"bolt"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},href:{type:String,default:null},target:{type:String,validate:e=>["_blank"].includes(e),default:"_self"}},emits:["onClick"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1),s=c.computed(()=>t.href?"link":"button"),l=c.computed(()=>t.disabled?null:t.href),o=c.computed(()=>t.type==="step"?"number":"icon"),r=c.computed(()=>t.type==="step"?t.stepIndex:t.icon),f=()=>{t.disabled||(i.value=!i.value)},u=()=>{n("onClick",t.reference)};return(d,m)=>s.value==="link"?(c.openBlock(),c.createElementBlock("a",{key:0,href:l.value,class:c.normalizeClass(["AVSidebarItem",{"AVSidebarItem--active":e.active,disabled:e.disabled}]),target:e.target,onMouseenter:f,onMouseleave:f,"aria-label":e.label,role:"button"},[c.createVNode(c.unref(V4),{type:o.value,active:e.active,value:r.value,hover:i.value,"aria-hidden":"true"},null,8,["type","active","value","hover"]),c.createElementVNode("span",wK,c.toDisplayString(e.label),1)],42,SK)):(c.openBlock(),c.createElementBlock("button",{key:1,class:c.normalizeClass(["AVSidebarItem",{"AVSidebarItem--active":e.active,disabled:e.disabled}]),disabled:e.disabled,onClick:u,onMouseenter:f,onMouseleave:f,"aria-label":e.label},[c.createVNode(c.unref(V4),{type:o.value,active:e.active,value:r.value,hover:i.value,"aria-hidden":"true"},null,8,["type","active","value","hover"]),c.createElementVNode("span",TK,c.toDisplayString(e.label),1)],42,EK))}});const a$=D(BK,[["__scopeId","data-v-3e891e66"]]),IK={class:"AVTooltip--wrapper"},DK={key:0,class:"AVTooltip--text"},PK=c.defineComponent({__name:"AVTooltip",props:{text:{type:String,default:()=>null},content:{type:String,required:!0},position:{type:String,validate:e=>["auto","auto-start","auto-end","top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"].includes(e),default:"auto"},icon:{type:String,default:()=>null},disabled:{type:Boolean,default:()=>!1},options:{type:Object,default:()=>{}}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon"),i=c.resolveDirective("tooltip");return c.withDirectives((c.openBlock(),c.createElementBlock("span",IK,[e.text?(c.openBlock(),c.createElementBlock("span",DK,c.toDisplayString(e.text),1)):c.renderSlot(a.$slots,"text",{key:1},void 0,!0),e.icon?(c.openBlock(),c.createBlock(n,{key:2,icon:e.icon,class:"AVTooltip--icon","aria-hidden":"true"},null,8,["icon"])):c.createCommentVNode("",!0)])),[[i,{content:e.content,placement:e.position,disabled:e.disabled,...e.options}]])}}});const t$=D(PK,[["__scopeId","data-v-3d675f68"]]),OK={class:"AVMenuDropdown"},RK=["id","aria-expanded","aria-label"],FK=c.defineComponent({__name:"AVMenuDropdown",props:{icon:{type:String,default:"bolt"},options:{type:Array,required:!0},ariaLabel:{type:String,required:!0},id:{type:String,required:!0}},setup(e){const a=e,t=c.reactive({active:!1,id:null});c.onMounted(()=>{t.id=a.id});const n=()=>{t.active=!t.active};return c.provide("sharedState",t),(i,s)=>{const l=c.resolveComponent("AVIcon"),o=c.resolveComponent("AVMenuDropdownItem"),r=c.resolveComponent("AVMenuDropdownContent");return c.openBlock(),c.createElementBlock("div",OK,[c.createElementVNode("button",{class:"AVMenuDropdown--button",onClick:n,id:e.id,"aria-haspopup":"true","aria-expanded":t.active||"false","data-toggle":"dropdown",type:"button","aria-label":e.ariaLabel},[t.active?(c.openBlock(),c.createBlock(l,{key:1,icon:"fa-solid fa-xmark",class:"AVMenuDropdown--icon","data-test":"main-icon"})):(c.openBlock(),c.createBlock(l,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVMenuDropdown--icon","data-test":"main-icon"},null,8,["icon"]))],8,RK),c.createVNode(r,null,{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.options,(f,u)=>(c.openBlock(),c.createBlock(o,{key:u,optionLabel:f.label,href:f.href,destructive:f.destructive,icon:f.icon,"data-test":"option"},null,8,["optionLabel","href","destructive","icon"]))),128))]),_:1})])}}});const n$=D(FK,[["__scopeId","data-v-6c23aaa1"]]),jK=["aria-labelledby"],qK=c.defineComponent({__name:"AVMenuDropdownContent",setup(e){const a=c.inject("sharedState"),t=c.computed(()=>a.active),n=c.computed(()=>a.id);return(i,s)=>(c.openBlock(),c.createBlock(c.Transition,{name:"dropdown-content"},{default:c.withCtx(()=>[t.value?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVMenuDropdownContent","aria-labelledby":n.value},[c.renderSlot(i.$slots,"default",{},void 0,!0)],8,jK)):c.createCommentVNode("",!0)]),_:3}))}});const i$=D(qK,[["__scopeId","data-v-e8fb623b"]]),$K=["href"],UK=c.defineComponent({__name:"AVMenuDropdownItem",props:{optionLabel:{type:String,required:!0},href:{type:String,required:!0},destructive:{type:Boolean,default:!1},icon:{type:String,default:null}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("a",{class:c.normalizeClass(["AVMenuDropdownItem",{"AVMenuDropdownItem--destructive":e.destructive}]),href:e.href},[e.icon?(c.openBlock(),c.createBlock(n,{key:0,class:"AVMenuDropdownItem--icon",icon:`fa-solid fa-${e.icon}`,"data-test":"option-icon"},null,8,["icon"])):c.createCommentVNode("",!0),c.createTextVNode(" "+c.toDisplayString(e.optionLabel),1)],10,$K)}}});const s$=D(UK,[["__scopeId","data-v-8513fa9b"]]),WK=["disabled"],GK={class:"AVAsyncButton--label"},JK=c.defineComponent({__name:"AVAsyncButton",props:{label:{type:String,default:""},size:{type:String,validate:e=>["small","regular","large"].includes(e),default:"regular"},variant:{type:String,validate:e=>["default","success","error"].includes(e),default:"default"},defaultIcon:{type:String,default:null},successIcon:{type:String,default:null},errorIcon:{type:String,default:null},disabled:{type:Boolean,default:!1},onClick:{type:Function,default:()=>new Promise(e=>setTimeout(e,500))}},emits:["update:waiting"],setup(e,{emit:a}){const t=a,n=e,i=c.ref(!1);c.watch(i,r=>t("update:waiting",r));const s=c.computed(()=>{if(!i.value)switch(n.variant){case"default":return n.defaultIcon;case"error":return n.errorIcon;case"success":return n.successIcon;default:return null}}),l=c.computed(()=>n.disabled||i.value);async function o(r){i.value=!0;try{await Promise.resolve(n.onClick(r))}finally{i.value=!1}}return(r,f)=>{const u=c.resolveComponent("AVIcon"),d=c.resolveComponent("AVSpinner");return c.openBlock(),c.createElementBlock("button",{disabled:l.value,onClick:o,class:c.normalizeClass(["AVAsyncButton",{[`AVAsyncButton--${e.variant}`]:e.variant,[`AVAsyncButton--${e.size}`]:e.size,"AVAsyncButton--waiting":i.value,"AVAsyncButton--disabled":!i.value&&l.value}])},[i.value?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.renderSlot(r.$slots,"waitingIcon",{},()=>[c.createVNode(d,{style:{color:"inherit",height:"1em",width:"1em"},class:"AVAsyncButton--icon","data-test":"btn-spinner"})],!0),c.renderSlot(r.$slots,"waitingLabel",{},()=>[c.createTextVNode("Working...")],!0)],64)):c.renderSlot(r.$slots,"default",{key:0},()=>[s.value?(c.openBlock(),c.createBlock(u,{key:0,icon:s.value,class:"AVAsyncButton--icon","data-test":"btn-icon"},null,8,["icon"])):c.createCommentVNode("",!0),c.createElementVNode("span",GK,c.toDisplayString(e.label),1)],!0)],10,WK)}}});const l$=D(JK,[["__scopeId","data-v-7439a7ec"]]),ZK={class:"AVTabSwitcher"},YK=["disabled","onClick"],QK=c.defineComponent({__name:"AVTabSwitcher",props:{options:{type:Array,required:!0,validate:e=>e.length>2&&e.length<3},selected:{type:String,default:null},disabled:{type:Array,default:null,validate:e=>e.length>1&&e.length<2}},emits:["update"],setup(e,{emit:a}){const t=e,n=c.ref([]),i=c.ref(""),s=c.computed(()=>t.options.length===2?"AVTabSwitcher--double":"AVTabSwitcher--triple");c.onMounted(()=>l());const l=()=>{n.value=[],t.options.map(m=>n.value.push({value:m,selected:!1})),t.selected?o(t.selected):n.value[0].selected=!0,t.disabled&&r()},o=m=>{n.value.map(p=>{p.value===m?(p.selected=!0,i.value=p.value):p.selected=!1})},r=()=>{if(n.value.map(m=>m.disabled=!1),t.disabled)n.value.map(m=>{t.disabled.map(p=>p===m.value?m.disabled=!0:m)});else return},f=a,u=m=>{o(m),d()},d=()=>{f("update",i.value,n.value)};return c.watch(()=>t.options,()=>l()),c.watch(()=>t.selected,()=>{i.value=t.selected,o(t.selected)}),c.watch(()=>t.disabled,()=>r()),(m,p)=>(c.openBlock(),c.createElementBlock("div",ZK,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.value,h=>(c.openBlock(),c.createElementBlock("button",{key:h.value,class:c.normalizeClass(`AVTabSwitcher--button ${s.value} ${h.selected?"AVTabSwitcher--button-active":""} ${h.disabled?"disabled":""}`),disabled:h.disabled,onClick:M=>u(h.value)},c.toDisplayString(h.value),11,YK))),128))]))}});const o$=D(QK,[["__scopeId","data-v-3c4a2127"]]),KK={class:"AVBallotSummary"},XK={class:"AVBallotSummary--name-column"},eX={class:"AVBallotSummary--status-column"},cX=c.defineComponent({__name:"AVBallotSummary",props:{ballotStyleName:{type:String,required:!0},readyLabel:{type:String,required:!0},waitingLabel:{type:String,required:!0},currentBallots:{type:Number,required:!0},minimumBallots:{type:Number,required:!0}},setup(e){const a=e,t=c.computed(()=>a.currentBallots>=a.minimumBallots),n=c.computed(()=>a.minimumBallots-a.currentBallots);return(i,s)=>{const l=c.resolveComponent("AVIcon"),o=c.resolveComponent("AVSpinner");return c.openBlock(),c.createElementBlock("div",KK,[c.createElementVNode("div",XK,[c.createVNode(l,{icon:`fa-solid fa-${t.value?"file-circle-check":"file-circle-minus"}`,class:c.normalizeClass(["AVBallotSummary--icon",{"AVBallotSummary--icon-ready":t.value}]),"data-test":"ballot-icon"},null,8,["icon","class"]),c.createElementVNode("span",{class:c.normalizeClass(["AVBallotSummary--ballot-name",{"AVBallotSummary--name-ready":t.value}])},c.toDisplayString(e.ballotStyleName),3)]),c.createElementVNode("div",eX,[t.value?(c.openBlock(),c.createBlock(l,{key:0,icon:"fa-solid fa-circle-check",class:"AVBallotSummary--icon AVBallotSummary--icon-ready","data-test":"ballot-status-icon"})):(c.openBlock(),c.createBlock(o,{key:1,color:"neutral","data-test":"ballot-spinner"})),c.createElementVNode("span",{class:c.normalizeClass(["AVBallotSummary--ballot-status",{"AVBallotSummary--status-ready":t.value}])},c.toDisplayString(t.value?`${e.currentBallots} ${e.readyLabel}`:`${n.value} ${e.waitingLabel}`),3)])])}}});const r$=D(cX,[["__scopeId","data-v-2d7c011c"]]),aX={class:"AVTimedCard--content","data-test":"content"},tX={class:"AVTimedCard--progress","data-test":"progress-container"},nX=c.defineComponent({__name:"AVTimedCard",props:{timeout:{type:Number,required:!0},customWidth:{type:Number,default:600},expirationMessage:{type:String,default:"The passkey will expire in "},customWarningTime:{type:Number,default:15}},emits:["expired"],setup(e,{emit:a}){const t=e;c.onMounted(()=>{i()});const n=c.ref(0),i=()=>{const d=setInterval(()=>{n.value=n.value+1,n.value>=t.timeout&&(clearInterval(d),s("expired",!0,t.timeout))},1e3)},s=a,l=c.computed(()=>100-n.value/t.timeout*100),o=c.computed(()=>Math.floor((t.timeout-n.value)/60)),r=c.computed(()=>(t.timeout-n.value)%60),f=c.computed(()=>o.value%60),u=c.computed(()=>r.value<10?`${f.value}:0${r.value}`:`${f.value}:${r.value}`);return(d,m)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:"AVTimedCard",style:c.normalizeStyle(`width: ${e.customWidth}px`)},[c.createElementVNode("div",aX,[c.renderSlot(d.$slots,"default",{},void 0,!0)]),c.createElementVNode("div",tX,[c.createElementVNode("div",{class:c.normalizeClass(["AVTimedCard--progress-bar",{"AVTimedCard--progress-bar-warning":e.timeout-n.value<=e.customWarningTime}]),style:c.normalizeStyle(`width: ${l.value}%`),"data-test":"progress-bar"},null,6)])],4),c.createElementVNode("span",{class:c.normalizeClass(["AVTimedCard--help-text",{"AVTimedCard--help-text-warning":e.timeout-n.value<=e.customWarningTime}]),"data-test":"help-text"},[c.createTextVNode(c.toDisplayString(e.expirationMessage),1),c.createElementVNode("strong",null,c.toDisplayString(u.value),1)],2)],64))}});const f$=D(nX,[["__scopeId","data-v-7d0d595b"]]),iX=e=>(c.pushScopeId("data-v-dbd25d5c"),e=e(),c.popScopeId(),e),sX={class:"AVBasicSteps"},lX=iX(()=>c.createElementVNode("span",{class:"AVBasicSteps--line","data-test":"separator"},null,-1)),oX={key:0,class:"AVBasicSteps--line","data-test":"separator"},rX=c.defineComponent({__name:"AVBasicSteps",props:{steps:{type:Array,required:!0,validate:e=>e.length>2&&e.length<3},active:{type:String,required:!0}},setup(e){const a=e,t=n=>n===a.active;return(n,i)=>(c.openBlock(),c.createElementBlock("div",sX,[c.createElementVNode("span",{class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[0])}]),"data-test":"step"},c.toDisplayString(e.steps[0]),3),lX,c.createElementVNode("span",{class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[1])}]),"data-test":"step"},c.toDisplayString(e.steps[1]),3),e.steps.length===3?(c.openBlock(),c.createElementBlock("span",oX)):c.createCommentVNode("",!0),e.steps.length===3?(c.openBlock(),c.createElementBlock("span",{key:1,class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[2])}]),"data-test":"step"},c.toDisplayString(e.steps[2]),3)):c.createCommentVNode("",!0)]))}});const u$=D(rX,[["__scopeId","data-v-dbd25d5c"]]),fX={class:"AVSteps"},uX={key:0,class:"AVSteps--step--icon-container AVSteps--step-circle"},mX=c.defineComponent({__name:"AVSteps",props:{steps:{type:Array,required:!0},active:{type:String,default:null},done:{type:Array,default:null}},setup(e){c.useCssVars(l=>({"3e5060db":s.value}));const a=e,t=c.ref([]),n=()=>{t.value=[],a.steps.map(l=>{t.value.push({value:l,active:l===a.active,done:i(l)})})},i=l=>a.done?a.done.includes(l):!1;c.onMounted(()=>{n()}),c.watch(()=>a.steps,()=>n()),c.watch(()=>a.active,()=>n()),c.watch(()=>a.done,()=>n());const s=c.computed(()=>`${100/a.steps.length}%`);return(l,o)=>{const r=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",fX,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.value,(f,u)=>(c.openBlock(),c.createElementBlock("div",{key:u,class:c.normalizeClass(`${t.value.length!==u+1?"AVSteps--step":"AVSteps--step-last"} ${f.active?"AVSteps--step-active":""}`),"data-test":"step"},[f.done?(c.openBlock(),c.createElementBlock("div",uX,[c.createVNode(r,{icon:"fa-solid fa-check",class:"AVSteps--step-icon"})])):(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["AVSteps--step--number-container",{"AVSteps--step-circle":t.value.length!==u+1,"AVSteps--step--number-container-active":f.active}])},c.toDisplayString(u+1),3)),c.createElementVNode("span",{class:c.normalizeClass(["AVSteps--step-label",{"AVSteps--step-label-active":f.active}])},c.toDisplayString(f.value),3)],2))),128))])}}});const m$=D(mX,[["__scopeId","data-v-89e22cbe"]]),d$=e=>(c.pushScopeId("data-v-a31774ee"),e=e(),c.popScopeId(),e),dX=["aria-label"],pX={key:0,"aria-hidden":"true","data-test":"rank"},vX={key:1,width:"26",height:"26",stroke:"white","stroke-width":"0.25rem","data-test":"check"},hX=d$(()=>c.createElementVNode("line",{x1:"25%",y1:"25%",x2:"75%",y2:"75%"},null,-1)),zX=d$(()=>c.createElementVNode("line",{x1:"75%",y1:"25%",x2:"25%",y2:"75%"},null,-1)),VX=[hX,zX],gX=c.defineComponent({__name:"AVOptionSelect",props:{checked:{type:Boolean,default:!1},rank:{type:[Number,null],default:null},locale:{type:String,default:null}},setup(e){const a=e,t=c.computed(()=>a.rank?document.getElementsByTagName("html")[0].dir==="rtl"?`${a.rank} ${n.global.messages.value?n.global.messages.value[i.value].js.components.AVOptionSelect.aria_label:n.global.messages[i.value].js.components.AVOptionSelect.aria_label}`:`${n.global.messages.value?n.global.messages.value[i.value].js.components.AVOptionSelect.aria_label:n.global.messages[i.value].js.components.AVOptionSelect.aria_label} ${a.rank}`:""),n=c.inject("i18n"),i=c.computed(()=>n.global.locale.value||n.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(s,l)=>c.withDirectives((c.openBlock(),c.createElementBlock("div",{class:"AVOptionSelect","aria-label":t.value,"data-test":"option-select"},[e.rank?(c.openBlock(),c.createElementBlock("span",pX,c.toDisplayString(e.rank),1)):(c.openBlock(),c.createElementBlock("svg",vX,VX))],8,dX)),[[c.vShow,e.checked]])}});const p$=D(gX,[["__scopeId","data-v-a31774ee"]]),MX={class:"AVOptionCheckbox--container"},CX={key:0,class:"AVOptionCheckbox--exclusive-container","data-test":"exclusive-error"},HX={class:"AVOptionCheckbox--exclusive"},bX=["aria-checked","tabindex","aria-disabled","disabled","onKeydown"],AX=c.defineComponent({__name:"AVOptionCheckbox",props:{checked:{type:Boolean,required:!0},optionReference:{type:String,default:""},checkBoxIndex:{type:Number,default:1},rank:{type:[Number,null],default:null},disabled:{type:Boolean,default:!1},invalid:{type:Boolean,default:!1},exclusiveError:{type:Boolean,default:!1},locale:{type:String,default:null}},emits:["toggled"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,s=a;c.onMounted(()=>{i.locale&&G(i.locale)}),c.watch(()=>i.locale,()=>{i.locale&&G(i.locale)},{deep:!0});const l=()=>s("toggled"),o=c.computed(()=>i.optionReference?{id:`option_${i.optionReference}_checkbox_${i.checkBoxIndex}`,role:"checkbox","aria-labelledby":`option_${i.optionReference}_title option_${i.optionReference}_tick option_${i.optionReference}_subtitle`,"aria-describedby":`option_${i.optionReference}_description option_${i.optionReference}_handle`,tabindex:0}:{});return(r,f)=>{const u=c.resolveComponent("AVOptionSelect");return c.openBlock(),c.createElementBlock("div",MX,[e.exclusiveError&&e.checked?(c.openBlock(),c.createElementBlock("div",CX,[c.createElementVNode("div",HX,c.toDisplayString(c.unref(n)("js.components.AVOptionCheckbox.exclusive_option")),1)])):c.createCommentVNode("",!0),c.createElementVNode("button",c.mergeProps({class:{AVOptionCheckbox:!0,"AVOptionCheckbox--checked":e.checked,"AVOptionCheckbox--disabled":e.disabled,"AVOptionCheckbox--error":(e.exclusiveError||e.invalid)&&e.checked},"aria-checked":e.checked?!0:null,tabindex:e.disabled?null:0,"aria-disabled":e.disabled||null,disabled:e.disabled},o.value,{onClick:c.withModifiers(l,["stop"]),onKeydown:c.withKeys(c.withModifiers(l,["prevent"]),["space","enter"]),"data-test":"option-checkbox"}),[e.checked?(c.openBlock(),c.createBlock(u,{key:0,id:`option_${e.optionReference}_tick`,rank:e.rank,checked:e.checked,"data-test":"select"},null,8,["id","rank","checked"])):c.createCommentVNode("",!0)],16,bX)])}}});const v$=D(AX,[["__scopeId","data-v-96e67fd1"]]),h$=c.defineComponent({__name:"AVTransitionSlide",props:{skipTransition:{type:Boolean,default:!1}},setup(e){const a=e,t=s=>{if(a.skipTransition)return;s.style.height="auto";const l=getComputedStyle(s).height;s.style.height="0",getComputedStyle(s).height,setTimeout(()=>{s.style.height=l})},n=s=>{s.style.height="auto"},i=s=>{if(a.skipTransition)return;const l=getComputedStyle(s).height;s.style.height=l,getComputedStyle(s).height,setTimeout(()=>{s.style.height="0"})};return(s,l)=>(c.openBlock(),c.createBlock(c.Transition,{name:"slide-fade",onEnter:t,onLeave:i,onAfterEnter:n},{default:c.withCtx(()=>[c.renderSlot(s.$slots,"default")]),_:3}))}}),LX=["aria-controls","aria-expanded"],_X=["id","aria-hidden"],kX=c.defineComponent({__name:"AVCollapser",props:{collapsable:{type:Boolean,default:!1},startCollapsed:{type:Boolean,default:!1},paneId:{type:String,default:"option_reference_children"}},emits:["accordionOpen"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1),s=c.ref(!0),l=c.computed(()=>({collapsable:t.collapsable,startCollapsed:t.startCollapsed}));c.onMounted(()=>{const{collapsable:r,startCollapsed:f}=l.value;i.value=r&&!f});const o=(r=null,f=!0)=>{t.collapsable&&(s.value=f,r===null?i.value=!i.value:i.value=!!r,i.value&&n("accordionOpen"))};return(r,f)=>{const u=c.resolveComponent("AVTransitionSlide");return e.collapsable?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createElementVNode("div",{role:"button","aria-controls":e.paneId,tabindex:"0","aria-expanded":i.value||null,class:"AVCollapser",onClick:f[0]||(f[0]=d=>o()),onKeypress:f[1]||(f[1]=c.withKeys(c.withModifiers(d=>o(),["prevent"]),["space","enter"])),"data-test":"collapser-button"},[c.renderSlot(r.$slots,"toggle",{isOpen:i.value,collapsable:e.collapsable},void 0,!0)],40,LX),c.renderSlot(r.$slots,"results",{},void 0,!0),c.createVNode(u,{"skip-transition":!s.value},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{id:e.paneId,"aria-hidden":!i.value||null},[c.renderSlot(r.$slots,"pane",{isOpen:i.value,toggleCollapse:o},void 0,!0)],8,_X),[[c.vShow,i.value]])]),_:3},8,["skip-transition"])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.renderSlot(r.$slots,"toggle",{isOpen:!0,collapsable:!1},void 0,!0),c.renderSlot(r.$slots,"results",{},void 0,!0),c.renderSlot(r.$slots,"pane",{isOpen:!0,toggleCollapse:o},void 0,!0)],64))}}});const z$=D(kX,[["__scopeId","data-v-f5102fd7"]]),NX={"data-test":"name"},yX=c.defineComponent({__name:"AVLinkVisualizer",props:{link:{type:Object,required:!0},large:{type:Boolean,default:!1}},setup(e){const a=e,t={github:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?github\.com\//gm),instagram:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?instagram\.com\//gm),linkedin:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?linkedin\.com\/(in|profile|pub)\//gm),twitter:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?(twitter\.|x\.)com\//gm),envelope:new RegExp(/mailto:([^]*)/gm),facebook:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?facebook.com\//gm),vimeo:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?vimeo\.com\//gm),youtube:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?((?:youtube(-nocookie)?\.com|youtu.be))\//gm),tiktok:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?tiktok\.com\//gm)},n=c.computed(()=>{let s="link";return Object.keys(t).map(l=>{t[l].test(a.link.attributes.url)&&(s=l)}),s}),i=s=>window.open(s,"_blank").focus();return(s,l)=>{const o=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["AVLinkVisualizer AVLinkVisualizer--themed-btn",{"AVLinkVisualizer--large":e.large}]),"data-test":"button",onClick:l[0]||(l[0]=r=>i(e.link.attributes.url))},[c.createVNode(o,{icon:n.value,class:"AVLinkVisualizer--icon","data-test":"icon"},null,8,["icon"]),c.createElementVNode("span",NX,c.toDisplayString(e.link.attributes.name),1)],2)}}});const V$=D(yX,[["__scopeId","data-v-29792015"]]),xX={class:"AVVerticalStep"},SX={class:"AVVerticalStep--container"},wX={key:0,class:"AVVerticalStep--text"},EX=c.defineComponent({__name:"AVVerticalStep",props:{stepNumber:{type:Number,validate:e=>e>=1&&e<=9,required:!0},status:{type:String,validate:e=>["default","active","done"].includes(e),default:"default"},title:{type:String,required:!0},subtitle:{type:String,default:null},collapsed:{type:Boolean,default:!1},hasNextStep:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",xX,[c.createElementVNode("div",SX,[c.createElementVNode("div",{class:c.normalizeClass(`AVVerticalStep--step AVVerticalStep--step-${e.status}`),"data-test":"step-circle"},[c.createVNode(n,{icon:e.status==="done"?"check":`${e.stepNumber}`,class:"AVVerticalStep--icon","data-test":"step-icon"},null,8,["icon"])],2),c.createVNode(c.Transition,null,{default:c.withCtx(()=>[e.collapsed?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",wX,[c.createElementVNode("span",{class:c.normalizeClass(`AVVerticalStep--title AVVerticalStep--text-${e.status}`),"data-test":"step-title"},c.toDisplayString(e.title),3),e.subtitle?(c.openBlock(),c.createElementBlock("span",{key:0,class:c.normalizeClass(`AVVerticalStep--subtitle AVVerticalStep--text-${e.status}`),"data-test":"step-subtitle"},c.toDisplayString(e.subtitle),3)):c.createCommentVNode("",!0)]))]),_:1})]),e.hasNextStep?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(`AVVerticalStep--line AVVerticalStep--line-${e.status}`),"data-test":"step-line"},null,2)):c.createCommentVNode("",!0)])}}});const TX=D(EX,[["__scopeId","data-v-4cec470a"]]),Ut=e=>(c.pushScopeId("data-v-90e59491"),e=e(),c.popScopeId(),e),BX=Ut(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),IX=Ut(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),DX=Ut(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),PX=[BX,IX,DX],OX=c.defineComponent({__name:"AVAnimatedMenuButton",props:{isOpened:{type:Boolean,default:!1}},emits:["update:isOpened"],setup(e,{emit:a}){const t=a;return(n,i)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["AVAnimatedMenuButton",{"AVAnimatedMenuButton--opened":e.isOpened}]),onClick:i[0]||(i[0]=s=>t("update:isOpened",!e.isOpened))},[c.createElementVNode("span",{class:c.normalizeClass(["AVAnimatedMenuButton--icon",{"AVAnimatedMenuButton--icon-opened":e.isOpened}])},PX,2)],2))}});const RX=D(OX,[["__scopeId","data-v-90e59491"]]),FX={class:"AVProgressBar"},jX={class:"AVProgressBar--container"},qX=c.defineComponent({__name:"AVProgressBar",props:{value:{type:Number,required:!0,validate:e=>e>=0&&e<=100},hidePercentage:{type:Boolean,default:!1}},setup(e){return(a,t)=>(c.openBlock(),c.createElementBlock("div",FX,[e.hidePercentage?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(["AVProgressBar--percentage",{"AVProgressBar--success":e.value===100}])},c.toDisplayString(`${Math.round(e.value)}%`),3)),c.createElementVNode("div",jX,[c.createElementVNode("div",{class:c.normalizeClass(["AVProgressBar--filling",{"AVProgressBar--success":e.value===100}]),style:c.normalizeStyle(`width: ${e.value}%;`)},null,6)])]))}});const g$=D(qX,[["__scopeId","data-v-9c071d60"]]);var $X={},UX=function(e){return c.pushScopeId("data-v-f13d66c0"),e=e(),c.popScopeId(),e},WX={class:"AVWaitingDots--container"},GX=UX(function(){return c.createElementVNode("div",{class:"AVWaitingDots"},null,-1)}),JX=[GX];function ZX(e,a){return c.openBlock(),c.createElementBlock("div",WX,JX)}const M$=D($X,[["render",ZX],["__scopeId","data-v-f13d66c0"]]),YX={class:"AVRadioGroup--input-set"},QX=["for"],KX={key:1,class:"AVRadioGroup--error","data-test":"error-msg"},XX=c.defineComponent({__name:"AVRadioGroup",props:{id:{type:String,required:!0},options:{type:Array,required:!0},initialValue:{type:String,default:null},disabled:{type:Array,default:null},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:"Input label"},disableLabel:{type:Boolean,default:!1},orientation:{type:String,validate:e=>["vertical","horizontal"].includes(e),default:"horizontal"}},emits:["update"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(""),s=c.ref([]),l=u=>{s.value.map(d=>{d.value===u?(d.checked=!0,i.value=d.value):d.checked=!1})},o=()=>{if(s.value.map(u=>u.disabled=!1),t.disabled)s.value.map(u=>{t.disabled.map(d=>d===u.value?u.disabled=!0:u)});else return};c.onMounted(()=>{t.options.map(u=>s.value.push({value:u,checked:!1})),t.initialValue&&l(t.initialValue),t.disabled&&o()});const r=u=>{l(u),f()},f=()=>{n("update",i.value,s.value)};return c.watch(()=>t.initialValue,()=>{i.value=t.initialValue,l(t.initialValue)}),c.watch(()=>t.disabled,()=>{o()}),(u,d)=>{const m=c.resolveComponent("AVRadio");return c.openBlock(),c.createElementBlock("div",YX,[e.disableLabel?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVRadioGroup--label","data-test":"input-label"},c.toDisplayString(e.inputLabel),9,QX)),c.createElementVNode("div",{class:c.normalizeClass(`AVRadioGroup--${e.orientation}`),"data-test":"input-group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.value,(p,h)=>(c.openBlock(),c.createBlock(m,{class:"AVRadioGroup--child",id:`radio-${e.id}-${h}`,key:h,value:p.value,checked:p.checked,disabled:p.disabled,onUpdate:M=>r(p.value)},null,8,["id","value","checked","disabled","onUpdate"]))),128))],2),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",KX,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const C$=D(XX,[["__scopeId","data-v-74ff59b8"]]),e11=c.defineComponent({__name:"AVNavigationItemList",props:{type:{type:String,validate:e=>["navbar","sidebar"].includes(e),default:"navbar"}},setup(e){return(a,t)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVNavigationItemList AVNavigationItemList--${e.type}`)},[c.renderSlot(a.$slots,"default",{},void 0,!0)],2))}});const H$=D(e11,[["__scopeId","data-v-9fd5c53d"]]),c11={class:"AVBreadcrumb"},a11=["href"],t11=["href"],n11=c.defineComponent({__name:"AVBreadcrumb",props:{items:{type:Array,required:!0},disableButton:{type:Boolean,default:!1},buttonHref:{type:String,default:null}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",c11,[c.createElementVNode("a",{href:e.buttonHref},[e.disableButton?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(n,{key:0,icon:"fa-solid fa-circle-chevron-left",class:"AVBreadcrumb--icon"}))],8,a11),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.items,(i,s)=>(c.openBlock(),c.createElementBlock("span",{key:s,class:"AVBreadcrumb--group","data-test":"item-group"},[c.createElementVNode("a",{href:i.active?null:i.href,class:c.normalizeClass(["AVBreadcrumb--link",{"AVBreadcrumb--link-active":i.active}])},c.toDisplayString(i.text),11,t11),c.createVNode(n,{icon:"fa-solid fa-angle-right",class:"AVBreadcrumb--separator"})]))),128))])}}});const b$=D(n11,[["__scopeId","data-v-479a161a"]]),i11=["href"],s11={class:"AVElectionCard--inner"},l11={class:"AVElectionCard--id","data-test":"id"},o11={class:"AVElectionCard--title-group"},r11={class:"AVElectionCard--title","data-test":"title"},f11={class:"AVElectionCard--items"},u11={class:"AVElectionCard--item","data-test":"item"},m11={class:"AVElectionCard--item-icon"},d11={class:"AVElectionCard--item-text"},p11={class:"AVElectionCard--item","data-test":"item"},v11={class:"AVElectionCard--item-icon"},h11={class:"AVElectionCard--item-text"},z11={class:"AVElectionCard--item","data-test":"item"},V11={class:"AVElectionCard--item-icon"},g11={class:"AVElectionCard--item-text"},M11={class:"AVElectionCard--button"},C11=c.defineComponent({__name:"AVElectionCard",props:{id:{type:String,required:!0},name:{type:String,required:!0},status:{type:String,required:!0},countyName:{type:String,required:!0},createdAt:{type:String,required:!0},lastUpdated:{type:String,required:!0},countyNameLabel:{type:String,required:!0},createdAtLabel:{type:String,required:!0},lastUpdatedLabel:{type:String,required:!0},href:{type:String,required:!0}},setup(e){const a=e,t={draft:"info",open:"success",closed:"danger",archived:"default"},n=c.computed(()=>t[a.status]);return(i,s)=>{const l=c.resolveComponent("AVLabel"),o=c.resolveComponent("AVIcon"),r=c.resolveComponent("AVCard");return c.openBlock(),c.createElementBlock("a",{href:e.href,class:"AVElectionCard","data-test":"link"},[c.createVNode(r,{variant:"rounded",role:"button"},{default:c.withCtx(()=>[c.createElementVNode("div",s11,[c.createElementVNode("span",l11,c.toDisplayString(e.id),1),c.createElementVNode("div",o11,[c.createElementVNode("span",r11,c.toDisplayString(e.name),1),c.createVNode(l,{type:n.value,value:e.status},null,8,["type","value"])]),c.createElementVNode("div",f11,[c.createElementVNode("div",u11,[c.createElementVNode("div",m11,[c.createVNode(o,{icon:"fa-solid fa-location-pin"})]),c.createElementVNode("span",d11,[c.createTextVNode(c.toDisplayString(e.countyNameLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.countyName),1)])]),c.createElementVNode("div",p11,[c.createElementVNode("div",v11,[c.createVNode(o,{icon:"fa-solid fa-file-circle-plus"})]),c.createElementVNode("span",h11,[c.createTextVNode(c.toDisplayString(e.createdAtLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.createdAt),1)])]),c.createElementVNode("div",z11,[c.createElementVNode("div",V11,[c.createVNode(o,{icon:"fa-solid fa-pen-to-square"})]),c.createElementVNode("span",g11,[c.createTextVNode(c.toDisplayString(e.lastUpdatedLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.lastUpdated),1)])])])]),c.createElementVNode("div",M11,[c.createVNode(o,{icon:"fa-solid fa-circle-chevron-right",class:"AVElectionCard--CTA-icon"})])]),_:1})],8,i11)}}});const A$=D(C11,[["__scopeId","data-v-dd72671e"]]),H11=["href"],b11={class:"AVBallotStyleCard--content"},A11={key:0,class:"AVBallotStyleCard--completion-icon","data-test":"success-icon"},L11={class:"AVBallotStyleCard--text-container"},_11={class:"AVBallotStyleCard--title","data-test":"title"},k11={class:"AVBallotStyleCard--text","data-test":"text"},N11={class:"AVBallotStyleCard--CTA-icon"},y11=c.defineComponent({__name:"AVBallotStyleCard",props:{href:{type:String,required:!0},name:{type:String,required:!0},contestQty:{type:Number,required:!0},contestLabel:{type:String,required:!0},reviewed:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon"),i=c.resolveComponent("AVCard");return c.openBlock(),c.createElementBlock("a",{href:e.href,class:"AVBallotStyleCard",role:"button","data-test":"link"},[c.createVNode(i,{variant:"rounded"},{default:c.withCtx(()=>[c.createElementVNode("div",b11,[e.reviewed?(c.openBlock(),c.createElementBlock("div",A11,[c.createVNode(n,{icon:"fa-solid fa-check"})])):c.createCommentVNode("",!0),c.createElementVNode("div",L11,[c.createElementVNode("div",_11,c.toDisplayString(e.name),1),c.createElementVNode("div",k11,c.toDisplayString(`${e.contestQty} ${e.contestLabel}`),1)])]),c.createElementVNode("div",N11,[c.createVNode(n,{icon:"fa-solid fa-chevron-right"})])]),_:1}),c.createElementVNode("div",{class:c.normalizeClass(`AVBallotStyleCard--progress AVBallotStyleCard--progress-${e.reviewed?"success":"default"}`),"data-test":"progress"},null,2)],8,H11)}}});const L$=D(y11,[["__scopeId","data-v-c682a2cf"]]),x11=["aria-label"],S11={key:0,class:"AVSummaryOption--ancestry"},w11={class:"AVSummaryOption--breadcrumb","data-test":"summary-option-ancestry"},E11=["src","alt"],T11={class:"AVSummaryOption--body"},B11={class:"AVSummaryOption--title"},I11={key:1,class:"AVSummaryOption--summary"},D11={key:1,class:"AVSummaryOption--footer"},_$=c.defineComponent({__name:"AVSummaryOption",props:{option:{type:Object,default:null},multipleVotesAllowed:{type:Boolean,default:!1},locale:{type:String,default:null},blank:{type:Boolean,default:!1},parents:{type:Array,default:()=>[]},imageOption:{type:String,default:"square"}},setup(e){const a=e,t=c.computed(()=>{var u,d;return((u=a.option)==null?void 0:u.crosses)&&((d=a.option)==null?void 0:d.crosses)>1&&a.multipleVotesAllowed&&!a.blank}),n=c.computed(()=>a.parents.length<1?null:a.parents.map(u=>u.title[f.value]).reverse()),i=c.computed(()=>{var u;return a.blank?r("js.components.AVSummaryOption.blank"):(u=a.option)==null?void 0:u.title[f.value]}),s=c.computed(()=>{var h,M;const u=Array.from(Array((h=a.option)==null?void 0:h.crosses).keys());u.forEach(C=>u[C]=C+1);const d=u.indexOf(Math.ceil(((M=a.option)==null?void 0:M.crosses)/2))+1,m=u.slice(0,d),p=u.slice(d);return p.length?[m,p]:[m]}),l=c.computed(()=>a.option.image.includes("square")?a.option.image:`${a.option.image}/${a.imageOption}`),o=c.inject("i18n"),{t:r}=o.global,f=c.computed(()=>o.global.locale.value||o.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(u,d)=>{var p,h;const m=c.resolveComponent("AVOptionCheckbox");return c.openBlock(),c.createElementBlock("div",{class:"AVSummaryOption","aria-label":c.unref(r)("js.components.AVSummaryOption.aria_label.option"),"data-test":"summary-option"},[n.value?(c.openBlock(),c.createElementBlock("div",S11,[c.createElementVNode("ul",w11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.value,(M,C)=>(c.openBlock(),c.createElementBlock("li",{key:M+C,class:"AVSummaryOption--breadcrumb-item","data-test":"breadcrumb-item"},c.toDisplayString(M),1))),128))])])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass({"AVSummaryOption--header":!0,"AVSummaryOption--header-multiple":t.value})},[(p=e.option)!=null&&p.image?(c.openBlock(),c.createElementBlock("img",{key:0,src:l.value,class:"AVSummaryOption--img",alt:c.unref(r)("js.components.AVSummaryOption.aria_label.option_image"),"data-test":"summary-option-image"},null,8,E11)):c.createCommentVNode("",!0),c.createElementVNode("div",T11,[c.createElementVNode("div",B11,c.toDisplayString(i.value),1)]),t.value?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",I11,[c.createVNode(m,{checked:!0,rank:(h=e.option)==null?void 0:h.rank,disabled:!0,"data-test":"summary-cross"},null,8,["rank"])]))],2),t.value?(c.openBlock(),c.createElementBlock("div",D11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.value,M=>(c.openBlock(),c.createElementBlock("div",{key:M.toString(),class:"AVSummaryOption--group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(M,C=>{var b;return c.openBlock(),c.createBlock(m,{key:C,checked:!0,rank:(b=e.option)==null?void 0:b.rank,disabled:!0,"data-test":"summary-cross"},null,8,["rank"])}),128))]))),128))])):c.createCommentVNode("",!0)],8,x11)}}});const Ai=c.ref(new Map);function k$(){function e(a,...t){Ai.value.set(a,t)}return{eventBusEmit:e,eventBus:Ai}}const N$=e=>(c.pushScopeId("data-v-e98bd97f"),e=e(),c.popScopeId(),e),P11=["id","href","aria-labelledby"],O11=["aria-label"],R11={class:"AVOption--header-container","data-test":"option-content"},F11={class:"AVOption--header"},j11=["src","alt"],q11=["textContent"],$11={key:0,class:"AVOption--body","data-test":"option-summary"},U11={key:0,class:"AVOption--description","data-test":"option-description"},W11=["innerHTML"],G11={key:1,class:"AVOption--links-container"},J11=["href"],Z11={key:2,class:"AVOption--children-container","data-test":"option-children"},Y11=["id"],Q11=["innerHTML"],K11={key:1,class:"AVOption--realtime-results AVOption--realtime-results-internal","data-test":"option-partialresults"},X11=N$(()=>c.createElementVNode("span",null,"-",-1)),e21={class:"AVOption--realtime-results","data-test":"option-realtimeresults"},c21=N$(()=>c.createElementVNode("span",null,"-",-1)),a21={key:0,class:"AVOption--children","data-test":"option-children"},t21=c.defineComponent({__name:"AVOption",props:{option:{type:Object,required:!0},selections:{type:Array,required:!0},contest:{type:Object,required:!0},invalid:{type:Boolean,required:!0},exclusiveError:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,default:!1},partialResults:{type:Object,default:null},locale:{type:String,default:null},imageOption:{type:String,default:"square"}},emits:["accordion-open","checked","view-candidate"],setup(e,{emit:a}){const{eventBus:t}=k$(),n=c.ref(!1),i=c.ref(null),s=e,l=a,o=c.computed(()=>document.getElementsByTagName("html")[0].dir==="rtl"),r=c.computed(()=>s.contest.markingType.voteVariation==="ranked"),f=c.computed(()=>s.selections.filter(x=>x.reference===s.option.reference).length),u=c.computed(()=>s.option.title[F.value]??""),d=c.computed(()=>{var x;return((x=s.option.description)==null?void 0:x[F.value])??""}),m=c.computed(()=>{var x;return((x=s.option.url)==null?void 0:x[F.value])??""}),p=c.computed(()=>{var x;return((x=s.option.videoUrl)==null?void 0:x[F.value])??""}),h=c.computed(()=>s.option.image.includes("square")?s.option.image:`${s.option.image}/${s.imageOption}`),M=c.computed(()=>{let x=[];return m.value&&x.push({url:m.value,text:w("js.components.AVOption.info_link_text_html")}),p.value&&x.push({url:p.value,text:w("js.components.AVOption.video_link_text_html")}),x}),C=c.computed(()=>s.option.children&&s.option.children.length>0),b=c.computed(()=>s.option.selectable!==void 0&&!s.option.selectable?0:z.value?1:s.option.voteLimit||s.contest.markingType.votesAllowedPerOption||1),g=c.computed(()=>s.selections.length>0?N(s.option.children):0),z=c.computed(()=>s.option.exclusive),L=c.computed(()=>{const x=Array.from(Array(b.value).keys());x.forEach(R=>x[R]=R+1);const $=x.indexOf(Math.ceil(b.value/2))+1,J=x.slice(0,$),I=x.slice($);return I.length?[J,I]:[J]}),_=c.computed(()=>s.partialResults?s.partialResults[s.option.reference]:null),H=(x,$=1)=>{l("checked",{reference:x,amount:$})},N=x=>{if(!x)return 0;let $=x.filter(J=>s.selections.map(I=>I.reference).includes(J.reference)).length;return x.reduce((J,I)=>J+N(I.children),$)},k=x=>{n.value=!1,x===s.option.reference&&(l("accordion-open"),c.nextTick(()=>{n.value=!0,i.value.scrollIntoView&&i.value.scrollIntoView({behavior:"smooth",block:"center"})}))};c.watch(()=>t.value.get("highlight-option"),x=>{const[$]=x??[];k($)});const A=c.inject("i18n"),{t:w}=A.global,F=c.computed(()=>A.global.locale.value||A.global.locale);return c.onMounted(()=>{s.locale&&G(s.locale)}),c.watch(()=>s.locale,()=>{s.locale&&G(s.locale)},{deep:!0}),(x,$)=>{const J=c.resolveComponent("AVIcon"),I=c.resolveComponent("AVOptionCheckbox"),R=c.resolveComponent("AVOption",!0),o1=c.resolveComponent("AVCollapser");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({"AVOption--background":!0,"AVOption--disabled":e.disabled}),"data-test":"option"},[c.createElementVNode("a",{id:e.option.reference,class:"AVOption--scroll-anchor",href:`option_${e.option.reference}_checkbox`,"aria-labelledby":`option_${e.option.reference}_title`},null,8,P11),c.createVNode(o1,{collapsable:e.contest.collapsable&&C.value,"start-collapsed":e.contest.collapseDefault&&!e.observerMode,onAccordionOpen:$[2]||($[2]=z1=>l("accordion-open"))},c.createSlots({toggle:c.withCtx(({isOpen:z1,collapsable:A1})=>[c.createElementVNode("section",{ref_key:"el",ref:i,class:c.normalizeClass({AVOption:!0,"AVOption--highlight":n.value,"AVOption--accent":e.option.accentColor}),style:c.normalizeStyle(e.option.accentColor?`border-left-color: ${e.option.accentColor}`:""),"aria-label":c.unref(w)("js.components.AVOption.aria_labels.option"),"data-test":"option-section"},[c.createElementVNode("div",{class:c.normalizeClass(["AVOption--container",{"AVOption--container-column":b.value>1,"AVOption--container-row":b.value<=5}]),"data-test":"option-container"},[c.createElementVNode("div",R11,[c.createElementVNode("header",F11,[e.option.image?(c.openBlock(),c.createElementBlock("img",{key:0,src:h.value,alt:c.unref(w)("js.components.AVOption.aria_labels.option_image"),class:"AVOption-image","data-test":"option-image"},null,8,j11)):c.createCommentVNode("",!0),c.createElementVNode("h5",{class:"AVOption--title",textContent:c.toDisplayString(u.value)},null,8,q11)]),d.value||M.value.length||C.value||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",$11,[d.value?(c.openBlock(),c.createElementBlock("div",U11,[c.createElementVNode("p",{innerHTML:d.value},null,8,W11)])):c.createCommentVNode("",!0),M.value.length>0||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",G11,[e.option.candidateId?(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVOption--link",onClick:$[0]||($[0]=V1=>l("view-candidate",e.option.candidateId)),"data-test":"option-candidacy"},c.toDisplayString(c.unref(w)("js.components.AVOption.view_candidate")),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(M.value,V1=>(c.openBlock(),c.createElementBlock("a",{key:V1.toString(),href:V1.url,class:"AVOption--link",target:"_blank","data-test":"option-link"},c.toDisplayString(V1.text),9,J11))),128))])):c.createCommentVNode("",!0),A1&&C.value?(c.openBlock(),c.createElementBlock("div",Z11,[c.createElementVNode("div",{id:`option_${e.option.reference}_dropdown`,class:"AVOption--expander-container","aria-hidden":"true","data-test":"option-expander"},[c.createVNode(J,{icon:z1?"chevron-down":o.value?"chevron-left":"chevron-right",class:"AVOption--expander-icon"},null,8,["icon"]),c.createElementVNode("span",{class:"AVOption--expander-help-text",innerHTML:z1?c.unref(w)("js.components.AVOption.collapse_text"):c.unref(w)("js.components.AVOption.expand_text")},null,8,Q11)],8,Y11),g.value&&!z1?(c.openBlock(),c.createElementBlock("span",{key:0,class:c.normalizeClass(["AVOption--suboption-badge",{"AVOption--suboption-badge-danger":e.invalid,"AVOption--suboption-badge-normal":!e.invalid}]),"data-test":"option-child-selected"},c.toDisplayString(o.value?`${c.unref(w)("js.components.AVOption.sub_options_select")} ${g.value}`:`${g.value} ${c.unref(w)("js.components.AVOption.sub_options_select")}`),3)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)]),b.value>=1?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass({"AVOption--multivote-aside":b.value<=5,"AVOption--multivote-footer":b.value>5,"AVOption--singlevote":b.value===1}),style:c.normalizeStyle(`background-color: ${b.value===1?"#FFFFFF":"#f7f7f7"}`),"data-test":"option-multivote"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(L.value,V1=>(c.openBlock(),c.createElementBlock("div",{key:V1.toString(),class:"AVOption--group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(V1,k1=>(c.openBlock(),c.createBlock(I,{key:k1,checked:f.value>=k1,rank:r.value?e.selections.map(v1=>v1.reference).indexOf(e.option.reference)+1:null,"exclusive-error":e.exclusiveError,invalid:e.invalid,"option-reference":e.option.reference,"check-box-index":k1,disabled:e.disabled||e.observerMode,onToggled:v1=>H(e.option.reference,k1)},null,8,["checked","rank","exclusive-error","invalid","option-reference","check-box-index","disabled","onToggled"]))),128))]))),128))],6)):c.createCommentVNode("",!0),_.value&&(e.observerMode||e.disabled)?(c.openBlock(),c.createElementBlock("div",K11,[c.createVNode(J,{icon:"user",class:"AVOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(o.value?`${_.value.results.count===1?c.unref(w)("js.components.AVOption.vote_count_singular"):c.unref(w)("js.components.AVOption.vote_count_plural")} ${_.value.results.count}`:`${_.value.results.count} ${_.value.results.count===1?c.unref(w)("js.components.AVOption.vote_count_singular"):c.unref(w)("js.components.AVOption.vote_count_plural")}`),1),_.value.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[X11,c.createElementVNode("span",null,c.toDisplayString(`${_.value.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)],14,O11)]),pane:c.withCtx(({toggleCollapse:z1})=>[C.value?(c.openBlock(),c.createElementBlock("div",a21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.option.children,A1=>(c.openBlock(),c.createBlock(R,{key:A1.reference,option:A1,selections:e.selections,contest:e.contest,invalid:e.invalid,disabled:e.disabled,"observer-mode":e.observerMode,"partial-results":e.partialResults,"exclusive-error":A1.exclusive&&e.exclusiveError,"image-option":e.imageOption,onChecked:$[1]||($[1]=V1=>l("checked",V1)),onAccordionOpen:()=>z1(!0,!1)},null,8,["option","selections","contest","invalid","disabled","observer-mode","partial-results","exclusive-error","image-option","onAccordionOpen"]))),128))])):c.createCommentVNode("",!0)]),_:2},[!e.disabled&&_.value&&!e.observerMode?{name:"results",fn:c.withCtx(()=>[c.createElementVNode("div",e21,[c.createVNode(J,{icon:"user",class:"AVOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(o.value?`${_.value.results.count===1?c.unref(w)("js.components.AVOption.vote_count_singular"):c.unref(w)("js.components.AVOption.vote_count_plural")} ${_.value.results.count}`:`${_.value.results.count} ${_.value.results.count===1?c.unref(w)("js.components.AVOption.vote_count_singular"):c.unref(w)("js.components.AVOption.vote_count_plural")}`),1),_.value.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c21,c.createElementVNode("span",null,c.toDisplayString(`${_.value.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["collapsable","start-collapsed"])],2)}}});const y$=D(t21,[["__scopeId","data-v-e98bd97f"]]),x$=e=>(c.pushScopeId("data-v-d585dd76"),e=e(),c.popScopeId(),e),n21=["aria-label"],i21={class:"AVBlankOption--header","aria-hidden":"true","data-test":"option-content"},s21={class:"AVBlankOption--title"},l21={class:"AVBlankOption--checkbox"},o21={key:0,class:"AVBlankOption--realtime-results AVOption--realtime-results-internal","data-test":"partial-results"},r21=x$(()=>c.createElementVNode("span",null,"-",-1)),f21={key:0,class:"AVBlankOption--realtime-results","data-test":"realtime-results"},u21=x$(()=>c.createElementVNode("span",null,"-",-1)),m21=c.defineComponent({__name:"AVBlankOption",props:{checked:{type:Boolean,required:!0},error:{type:Boolean,required:!0},disabled:{type:Boolean,default:!1},partialResults:{type:Object,default:null},accentColor:{type:String,default:null},observerMode:{type:Boolean,default:!1},locale:{type:String,default:null},invalid:{type:Boolean,default:!1}},emits:["toggleBlank"],setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;c.onMounted(()=>{n.locale&&G(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&G(n.locale)},{deep:!0});const i=c.computed(()=>document.getElementsByTagName("html")[0].dir==="rtl");return(s,l)=>{const o=c.resolveComponent("AVOptionCheckbox"),r=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({"AVBlankOption--disabled":e.disabled}),"data-test":"blank-option"},[c.createElementVNode("div",{class:c.normalizeClass({AVBlankOption:!0,"AVBlankOption--accent":e.accentColor}),style:c.normalizeStyle(e.accentColor?`border-left-color: ${e.accentColor}`:""),"aria-label":c.unref(t)("js.components.AVBlankOption.aria_labels.option"),"data-test":"option-container"},[c.createElementVNode("div",i21,[c.createElementVNode("h5",s21,c.toDisplayString(c.unref(t)("js.components.AVBlankOption.title")),1),c.createElementVNode("div",l21,[c.createVNode(o,{"option-reference":"blank",rank:null,checked:e.checked,"exclusive-error":e.error,invalid:e.invalid,disabled:e.disabled||e.observerMode,onToggled:l[0]||(l[0]=f=>s.$emit("toggleBlank")),"data-test":"blank-checkbox"},null,8,["checked","exclusive-error","invalid","disabled"])]),e.partialResults&&(e.observerMode||e.disabled)?(c.openBlock(),c.createElementBlock("div",o21,[c.createVNode(r,{icon:"user",class:"AVBlankOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(i.value?`${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}`:`${e.partialResults.results.count} ${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")}`),1),e.partialResults.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[r21,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])],14,n21),!e.disabled&&e.partialResults&&!e.observerMode?(c.openBlock(),c.createElementBlock("div",f21,[c.createVNode(r,{icon:"user",class:"AVBlankOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(i.value?`${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}`:`${e.partialResults.results.count} ${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")}`),1),e.partialResults.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[u21,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)}}});const S$=D(m21,[["__scopeId","data-v-d585dd76"]]),d21=["aria-label"],p21={class:"AVWriteInOption--header"},v21={class:"AVWriteInOption--container"},h21={id:"option_writeIn",class:"AVWriteInOption--title"},z21={class:"AVWriteInOption--form-group"},V21=["aria-label","disabled"],g21={value:""},M21=["value","selected"],C21=["value","placeholder","aria-label","disabled"],H21=c.defineComponent({__name:"AVWriteInOption",props:{parties:{type:Array,required:!0},candidateValue:{type:String,required:!0},partyValue:{type:String,required:!0},checkedValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,defaul:!1},locale:{type:String,default:null}},emits:["update:candidateValue","update:partyValue","update:checkedValue"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,s=a;c.onMounted(()=>{i.locale&&G(i.locale)}),c.watch(()=>i.locale,()=>{i.locale&&G(i.locale)},{deep:!0});const l=f=>{s("update:candidateValue",f),r()},o=f=>{s("update:partyValue",f),r()},r=()=>{const f=i.partyValue!==""||i.candidateValue!=="";f!==i.checkedValue&&s("update:checkedValue",f)};return(f,u)=>{const d=c.resolveComponent("AVOptionCheckbox");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({AVWriteInOption:!0,"AVWriteInOption--disabled":e.disabled}),"aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.option")},[c.createElementVNode("div",p21,[c.createElementVNode("div",v21,[c.createElementVNode("div",h21,c.toDisplayString(c.unref(n)("js.components.AVWriteInOption.title")),1),c.createElementVNode("div",z21,[c.createElementVNode("select",{class:"AVWriteInOption--form-control","aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.party"),disabled:e.disabled,onInput:u[0]||(u[0]=m=>o(m.target.value))},[c.createElementVNode("option",g21,c.toDisplayString(c.unref(n)("js.components.AVWriteInOption.choose_party")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.parties,m=>(c.openBlock(),c.createElementBlock("option",{key:m.letter,value:m.letter,selected:m.letter===e.partyValue},c.toDisplayString(m.letter)+" - "+c.toDisplayString(m.name),9,M21))),128))],40,V21),c.createElementVNode("input",{value:e.candidateValue,class:"AVWriteInOption--form-control",placeholder:c.unref(n)("js.components.AVWriteInOption.placeholder"),"aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.candidate"),disabled:e.disabled,onInput:u[1]||(u[1]=m=>l(m.target.value))},null,40,C21)])]),c.createVNode(d,{class:"AVWriteInOption--checkbox",checked:e.checkedValue,"option-id":0,disabled:e.disabled||e.observerMode},null,8,["checked","disabled"])])],10,d21)}}});const w$=D(H21,[["__scopeId","data-v-f2bba574"]]),b21=e=>(c.pushScopeId("data-v-db1640de"),e=e(),c.popScopeId(),e),A21={class:"AVSubmissionHelper"},L21={key:1},_21=["textContent"],k21=b21(()=>c.createElementVNode("hr",{class:"AVSubmissionHelper--separator"},null,-1)),N21={key:2},y21={class:"AVSubmissionHelper--help"},x21={key:0},S21={key:1},w21=["innerHTML"],E21={key:3},T21=c.defineComponent({__name:"AVSubmissionHelper",props:{minMarks:{type:Number,required:!0},maxMarks:{type:Number,required:!0},errors:{type:Array,required:!0},chosenCount:{type:Number,required:!0},hasExclusiveOptions:{type:Boolean,default:!1},weight:{type:Number,default:null},locale:{type:String,default:null}},setup(e){const a=e,t=c.computed(()=>a.errors.map(l=>l.keys?(Object.keys(l.keys).forEach(o=>{typeof l.keys[o]=="object"&&(l.keys[o]=l.keys[o][s.value])}),i(`js.components.AVSubmissionHelper.errors.${l.message}`,l.keys)):i(`js.components.AVSubmissionHelper.errors.${l.message}`))),n=c.inject("i18n"),{t:i}=n.global,s=c.computed(()=>n.global.locale.value||n.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(l,o)=>(c.openBlock(),c.createElementBlock("div",A21,[c.createElementVNode("div",{class:c.normalizeClass(["AVSubmissionHelper--container",{"AVSubmissionHelper--danger":e.errors.length>0}]),"data-test":"submission-helper"},[e.weight?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass({"AVSubmissionHelper--weight":!0,"AVSubmissionHelper--weight-danger":e.errors.length>0}),"data-test":"submission-helper-weight"},c.toDisplayString(c.unref(i)("js.components.AVSubmissionHelper.your_vote_weight",{weight:e.weight})),3)):c.createCommentVNode("",!0),e.errors.length>0?(c.openBlock(),c.createElementBlock("div",L21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.value,r=>(c.openBlock(),c.createElementBlock("div",{key:r,role:"alert",textContent:c.toDisplayString(r),"data-test":"submission-helper-error"},null,8,_21))),128)),k21])):c.createCommentVNode("",!0),e.maxMarks>1?(c.openBlock(),c.createElementBlock("div",N21,[c.createElementVNode("div",y21,[e.minMarks===e.maxMarks?(c.openBlock(),c.createElementBlock("div",x21,c.toDisplayString(`${c.unref(i)("js.components.AVSubmissionHelper.select_exactly",{min_marks:e.minMarks})}`),1)):(c.openBlock(),c.createElementBlock("div",S21,c.toDisplayString(`${e.hasExclusiveOptions?c.unref(i)("js.components.AVSubmissionHelper.select_multiple_with_exclusives",{min_marks:e.minMarks,max_marks:e.maxMarks}):c.unref(i)("js.components.AVSubmissionHelper.select_multiple",{min_marks:e.minMarks,max_marks:e.maxMarks})}`),1)),e.chosenCount>0?(c.openBlock(),c.createElementBlock("div",{key:2,innerHTML:c.unref(i)("js.components.AVSubmissionHelper.selected",{selected:e.chosenCount}),class:"AVSubmissionHelper--count","data-test":"submission-helper-count"},null,8,w21)):c.createCommentVNode("",!0)])])):(c.openBlock(),c.createElementBlock("div",E21,[c.createElementVNode("div",null,c.toDisplayString(c.unref(i)("js.components.AVSubmissionHelper.select_single")),1)]))],2)]))}});const E$=D(T21,[["__scopeId","data-v-db1640de"]]);function B21(e,a,t){if(typeof t!="function")throw new Error("search_by must be a function that returns a string");const n=a.toLowerCase().trim().split(/\s+/);return e.filter(i=>{const s=t(i).toLowerCase().trim().split(/\s+/);return n.every(l=>s.some(o=>o.includes(l)))})}const I21=["aria-label"],D21={class:"AVSearchBallot--form-group"},P21=["textContent"],O21={class:"AVSearchBallot--input-group"},R21=["placeholder"],F21={id:"ballot_searcher_results",class:"AVSearchBallot--results","aria-live":"polite","aria-label":"search-results","data-test":"search-results"},j21=["aria-label"],q21={key:0,class:"AVSeachOptionBallot--ancestry"},$21={class:"AVSeachOptionBallot--breadcrumb"},U21=["id","aria-label","onClick"],W21=["textContent"],G21=["textContent"],J21=c.defineComponent({__name:"AVSearchBallot",props:{options:{type:Array,required:!0},locale:{type:String,default:null}},setup(e){const{eventBusEmit:a}=k$(),t=e,n=c.ref(""),i=c.computed(()=>n.value.trim()===""?[]:B21(t.options,n.value,m=>m.title[d.value])),s=m=>l(m,[]).reverse(),l=(m,p)=>m.parentContent?(p.push(m.parentContent),l(m.parentContent,p)):p,o=()=>{n.value=""},r=m=>{a("highlight-option",m.reference),o()},f=c.inject("i18n"),{t:u}=f.global,d=c.computed(()=>f.global.locale.value||f.global.locale);return c.onMounted(()=>{t.locale&&G(t.locale)}),c.watch(()=>t.locale,()=>{t.locale&&G(t.locale)},{deep:!0}),(m,p)=>(c.openBlock(),c.createElementBlock("form",{role:"search",class:"AVSearchBallot","aria-label":c.unref(u)("js.components.AVSearchBallot.aria_labels.ballot_options"),"data-test":"search-ballot",onSubmit:p[1]||(p[1]=c.withModifiers(()=>{},["prevent"]))},[c.createElementVNode("div",D21,[c.createElementVNode("label",{for:"ballot_search",class:"AVSearchBallot--label",textContent:c.toDisplayString(c.unref(u)("js.components.AVSearchBallot.search_the_ballot"))},null,8,P21),c.createElementVNode("div",O21,[c.withDirectives(c.createElementVNode("input",{id:"ballot_search","onUpdate:modelValue":p[0]||(p[0]=h=>n.value=h),type:"search",class:"AVSearchBallot--form-control",placeholder:c.unref(u)("js.components.AVSearchBallot.enter_option_name"),"data-test":"search-ballot-input"},null,8,R21),[[c.vModelText,n.value]])])]),c.createElementVNode("div",F21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(i.value,h=>(c.openBlock(),c.createElementBlock("div",{key:h,"aria-label":h.title[d.value]},[s(h).length>0?(c.openBlock(),c.createElementBlock("div",q21,[c.createElementVNode("ul",$21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s(h),M=>(c.openBlock(),c.createElementBlock("li",{key:M.reference,class:"AVSeachOptionBallot--breadcrumb-item"},c.toDisplayString(M.title[d.value]),1))),128))])])):c.createCommentVNode("",!0),c.createElementVNode("div",{id:`search_result_${h.reference}`,class:"AVSearchBallot--option",role:"button","aria-label":c.unref(u)("js.components.AVSearchBallot.aria_labels.go_to_option"),"data-test":"search-result",onClick:c.withModifiers(M=>r(h),["prevent"])},[c.createElementVNode("span",{class:"AVSearchBallot--link",textContent:c.toDisplayString(h.title[d.value])},null,8,W21)],8,U21)],8,j21))),128)),n.value&&i.value.length===0?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVSearchBallot--alert",textContent:c.toDisplayString(c.unref(u)("js.components.AVSearchBallot.no_results"))},null,8,G21)):c.createCommentVNode("",!0)])],40,I21))}});const T$=D(J21,[["__scopeId","data-v-0b2b5c97"]]),Z21={class:"AVSplitWeightHelper"},Y21={class:"AVSplitWeightHelper--box","data-test":"weight-helper-total"},Q21={class:"AVSplitWeightHelper--box","data-test":"weight-helper-assigned"},K21={class:"AVSplitWeightHelper--box","data-test":"weight-helper-unused"},X21=c.defineComponent({__name:"AVSplitWeightHelper",props:{assignedWeight:{type:Number,required:!0},unusedWeight:{type:Number,required:!0},activeAssigned:{type:Number,default:null},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;return c.onMounted(()=>{n.locale&&G(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&G(n.locale)},{deep:!0}),(i,s)=>(c.openBlock(),c.createElementBlock("div",Z21,[c.createElementVNode("div",Y21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.total"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.assignedWeight+e.unusedWeight),1)])]),c.createElementVNode("div",Q21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.assigned"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.assignedWeight),1)])]),c.createElementVNode("div",K21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.unused"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.unusedWeight),1)])])]))}});const B$=D(X21,[["__scopeId","data-v-3a80cb22"]]),e31={class:"AVSplitWizardHeader","data-test":"split-wizard-header"},c31={key:0,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},a31={key:1,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},t31={key:2,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},n31=c.defineComponent({__name:"AVSplitWizardHeader",props:{activeSelectionPileIndex:{type:Number},activeState:{type:String,required:!0},selectionPiles:{type:Array,required:!0},totalWeight:{type:Number,required:!0},isEditing:{type:Boolean,required:!0},locale:{type:String,default:null}},emits:["cancel"],setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;return c.onMounted(()=>{n.locale&&G(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&G(n.locale)},{deep:!0}),(i,s)=>{const l=c.resolveComponent("AVTooltip");return c.openBlock(),c.createElementBlock("header",e31,[e.activeState==="ballot"?(c.openBlock(),c.createElementBlock("p",c31,c.toDisplayString(e.isEditing?`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.editing")} ${e.activeSelectionPileIndex+1}`:`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.adding")} ${e.selectionPiles.length+1}`),1)):e.activeState==="assign"?(c.openBlock(),c.createElementBlock("p",a31,c.toDisplayString(e.isEditing?`${c.unref(t)("js.components.AVSplitWizardHeader.assign.header")} ${(e.isEditing?e.activeSelectionPileIndex:e.selectionPiles.length)+1}`:`${c.unref(t)("js.components.AVSplitWizardHeader.assign.header_edit_mode")} ${(e.isEditing?e.activeSelectionPileIndex:e.selectionPiles.length)+1}`),1)):(c.openBlock(),c.createElementBlock("p",t31,c.toDisplayString(c.unref(t)("js.components.AVSplitWizardHeader.overview.header")),1)),e.activeState==="ballot"?(c.openBlock(),c.createBlock(l,{key:3,content:`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.can_assign_description_pre")} ${e.totalWeight} ${c.unref(t)("js.components.AVSplitWizardHeader.ballot.can_assign_description_pos")}`,text:`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.can_assign_ballots_pre")} ${e.totalWeight} ${c.unref(t)("js.components.AVSplitWizardHeader.ballot.can_assign_ballots_pos")}`,class:"AVSplitWizardHeader--tooltip-text",icon:"circle-info",id:"split-helper-tooltip",position:"top","data-test":"split-wizard-tooltip"},null,8,["content","text"])):c.createCommentVNode("",!0)])}}});const I$=D(n31,[["__scopeId","data-v-13834427"]]),i31=e=>(c.pushScopeId("data-v-8a538d47"),e=e(),c.popScopeId(),e),s31={class:"AVElectaContestCard--title"},l31={class:"AVElectaContestCard--subtitle"},o31=i31(()=>c.createElementVNode("div",{class:"AVElectaContestCard--line"},null,-1)),r31=c.defineComponent({__name:"AVElectaContestCard",props:{contestTitle:{type:String,required:!0},votingRoundTitle:{type:String,required:!0}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVCard");return c.openBlock(),c.createBlock(n,{variant:"rounded-electa"},{default:c.withCtx(()=>[c.createElementVNode("h3",s31,c.toDisplayString(e.contestTitle),1),c.createElementVNode("p",l31,c.toDisplayString(e.votingRoundTitle),1),o31,c.renderSlot(a.$slots,"card-content",{},void 0,!0)]),_:3})}}});const D$=D(r31,[["__scopeId","data-v-8a538d47"]]),f31={class:"AVResultOption--content"},u31={class:"AVResultOption--inner-content"},m31=["src"],d31={class:"AVResultOption--title","data-test":"result-title"},p31={class:"AVResultOption--result-container","data-test":"result-results"},v31={class:"AVResultOption--result-count"},h31={key:0,class:"AVResultOption--result-percentage"},z31=c.defineComponent({__name:"AVResultOption",props:{optionTitle:{type:Object,required:!0},optionImage:{type:String,default:null},votes:{type:Number,required:!0},total:{type:Number,required:!0},elected:{type:Boolean,default:!1},tied:{type:Boolean,default:!1},hidePercentage:{type:Boolean,default:!1},locale:{type:String,default:null}},setup(e){const a=e,t=c.computed(()=>a.total>0?Math.round(a.votes/a.total*1e4)/100:0),n=c.computed(()=>Math.round(a.votes*100)/100),i=c.inject("i18n"),s=c.computed(()=>i.global.locale.value||i.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(l,o)=>{const r=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["AVResultOption",{"AVResultOption--bg-default":!e.tied&&!e.elected,"AVResultOption--bg-elected":e.elected,"AVResultOption--bg-tied":e.tied}]),"data-test":"result-option"},[c.withDirectives((c.openBlock(),c.createElementBlock("div",f31,[c.createElementVNode("div",u31,[e.optionImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:e.optionImage,class:"AVResultOption--image","data-test":"result-image"},null,8,m31)):c.createCommentVNode("",!0),c.createElementVNode("header",d31,c.toDisplayString(e.optionTitle[s.value]),1)]),c.createElementVNode("div",p31,[c.createElementVNode("div",v31,c.toDisplayString(n.value),1),e.hidePercentage?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",h31,c.toDisplayString(t.value)+"% ",1))])])),[[r,e.optionTitle[s.value]]])],2)}}});const P$=D(z31,[["__scopeId","data-v-35bf20c6"]]),V31="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzg5IiBoZWlnaHQ9IjEzNCIgeG1sbnM9Imh0dHA6Ly93d3cudz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sMS4zNDEgLTUuNDcyLDIuMDExIC04LjM3MywyLjAxMWMtMy4zNjgsMCAtNi4wNjcsLTEuMTMxIC04LjA5MywtMy4zOTRjLTIuMDMsLTIuMjYyIC0zLjA0MSwtNS4zMDMgLTMuMDQxLC05LjEyNGMwLC0zLjk5MSAwLjgxNSwtNy4wMzcgMi40NDksLTkuMTM5YzEuNjM2LC0yLjEwMyA0LjAxMSwtMy4xNTYgNy4xMjgsLTMuMTU2YzEuNjI0LDAgMy4yNzUsMC4xNjggNC45NTIsMC41MDNsMCw3LjY2OWwtNi45NjMsMGwwLDYuNDg1eiIvPgogICA8L2c+CiAgPC9nPgogPC9nPgo8L3N2Zz4=",g31=e=>(c.pushScopeId("data-v-1a82d440"),e=e(),c.popScopeId(),e),M31=g31(()=>c.createElementVNode("span",{class:"AVFooter--text"},"Technology by",-1)),C31=["src"],H31=c.defineComponent({__name:"AVFooter",props:{enableSteps:{type:Boolean,default:!1},steps:{type:Array,default:null},active:{type:String,default:null},done:{type:Array,default:null},disableBanner:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVSteps");return c.openBlock(),c.createElementBlock("footer",{class:c.normalizeClass(["AVFooter",{"AVFooter--stacked":e.enableSteps}])},[e.enableSteps?(c.openBlock(),c.createBlock(n,{key:0,steps:e.steps,done:e.done,active:e.active,class:"AVFooter--child"},null,8,["steps","done","active"])):c.createCommentVNode("",!0),e.disableBanner?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["AVFooter--base AVFooter--child",{"AVFooter--child-stacked":e.enableSteps}])},[M31,c.createElementVNode("img",{src:c.unref(V31),alt:"Assembly Voting",class:"AVFooter--img"},null,8,C31)],2))],2)}}});const O$=D(H31,[["__scopeId","data-v-1a82d440"]]);var b31={},A31={class:"AVSidebar"};function L31(e,a){return c.openBlock(),c.createElementBlock("nav",A31,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const R$=D(b31,[["render",L31],["__scopeId","data-v-65e0965f"]]);var _31={},k31={class:"AVNavbar"};function N31(e,a){return c.openBlock(),c.createElementBlock("nav",k31,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const F$=D(_31,[["render",N31],["__scopeId","data-v-3ea1799f"]]);var y31={},x31={class:"AVContent"},S31={class:"AVContent--sidebar","data-test":"sidebar"},w31={class:"AVContent--container","data-test":"container"};function E31(e,a){return c.openBlock(),c.createElementBlock("main",x31,[c.createElementVNode("div",S31,[c.renderSlot(e.$slots,"sidebar",{},void 0,!0)]),c.createElementVNode("div",w31,[c.renderSlot(e.$slots,"content",{},void 0,!0)])])}const j$=D(y31,[["render",E31],["__scopeId","data-v-1923eca8"]]),T31=["aria-labelledby"],B31=c.defineComponent({__name:"AVModal",props:{modalActive:{type:Boolean,required:!0},ariaLabelledBy:{type:String,required:!0},removePadding:{type:Boolean,default:!1}},emits:["clickOutside"],setup(e,{emit:a}){const t=a,n=e;return c.watch(()=>n.modalActive,()=>{n.modalActive&&(document.body.style.overflowY="hidden"),n.modalActive||(document.body.style.overflowY="scroll")}),(i,s)=>(c.openBlock(),c.createBlock(c.Transition,{name:"modal-animation"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{class:"AVModal",role:"dialog","aria-labelledby":e.ariaLabelledBy,"aria-modal":"true","aria-live":"assertive",onClick:s[1]||(s[1]=c.withModifiers(l=>t("clickOutside"),["stop"]))},[c.createVNode(c.Transition,{name:"modal-animation-inner"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{class:c.normalizeClass(["AVModal--inner",{"AVModal--padding":!e.removePadding}]),onClick:s[0]||(s[0]=c.withModifiers(()=>{},["stop"]))},[c.renderSlot(i.$slots,"default",{},void 0,!0)],2),[[c.vShow,e.modalActive]])]),_:3})],8,T31),[[c.vShow,e.modalActive]])]),_:3}))}});const q$=D(B31,[["__scopeId","data-v-ef5af7c2"]]),g4=(e,a)=>e.flatMap(t=>(a&&(t.parentContent={reference:a.reference,code:a.code,title:{...a.title}}),t.children?[t,...g4(t.children,t)]:[t]));var M4=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Wt={},I31=M4&&M4.__spreadArray||function(e,a,t){if(t||arguments.length===2)for(var n=0,i=a.length,s;n<i;n++)(s||!(n in a))&&(s||(s=Array.prototype.slice.call(a,0,n)),s[n]=a[n]);return e.concat(s||Array.prototype.slice.call(a))};Object.defineProperty(Wt,"__esModule",{value:!0});var D31=function(){function e(a){this.contest=a}return e.prototype.validate=function(a,t){t===void 0&&(t=!1);var n=[];return this.referenceMissing(a.optionSelections)&&n.push({message:"invalid_reference"}),this.tooManySelections(a.optionSelections)&&n.push({message:"too_many"}),this.blankNotAlone(a.optionSelections,a.explicitBlank)&&n.push({message:"blank"}),this.exclusiveNotAlone(a.optionSelections)&&n.push({message:"exclusive"}),n.push.apply(n,this.exceededListVotes(a.optionSelections)),a.explicitBlank||this.implicitlyBlank(a.optionSelections)||t&&n.push.apply(n,this.belowMinListVotes(a.optionSelections)),n},e.prototype.isComplete=function(a){var t=a.explicitBlank||this.optionIsExclusive(a)||this.implicitlyBlank(a.optionSelections)||!this.tooFewSelections(a.optionSelections);return t&&this.validate(a).length==0},Object.defineProperty(e.prototype,"optionReferences",{get:function(){return this.recursiveFlattener(this.contest.options).map(function(a){return a.reference})},enumerable:!1,configurable:!0}),e.prototype.recursiveFlattener=function(a){var t=this;if(!a)return[];var n=a.flatMap(function(i){return i.children?I31([i],t.recursiveFlattener(i.children),!0):[i]});return n},e.prototype.selectedReferences=function(a){return a.map(function(t){return t.reference})},e.prototype.referenceMissing=function(a){var t=this;return!this.selectedReferences(a).every(function(n){return n==="blank"||t.optionReferences.includes(n)})},e.prototype.implicitlyBlank=function(a){return this.contest.markingType.blankSubmission==="implicit"&&a.length===0},e.prototype.tooFewSelections=function(a){return a.length<this.contest.markingType.minMarks},e.prototype.tooManySelections=function(a){return a.length>this.contest.markingType.maxMarks},e.prototype.belowMinListVotes=function(a){var t=this,n=this.recursiveFlattener(this.contest.options),i=n.map(function(l){return l!=null&&l.minChooseableSuboptions?l:null}),s=[];return i.forEach(function(l){l!=null&&l.minChooseableSuboptions&&t.selectedChildren(a,[l])<l.minChooseableSuboptions&&s.push({message:"below_list_limit",keys:{list_name:l.title,min_list_marks:l.minChooseableSuboptions}})}),s},e.prototype.exceededListVotes=function(a){var t=this,n=this.recursiveFlattener(this.contest.options),i=n.map(function(l){return l!=null&&l.maxChooseableSuboptions?l:null}),s=[];return i.forEach(function(l){l!=null&&l.maxChooseableSuboptions&&t.selectedChildren(a,[l])>l.maxChooseableSuboptions&&s.push({message:"exceeded_list_limit",keys:{list_name:l.title,max_list_marks:l.maxChooseableSuboptions}})}),s},e.prototype.selectedChildren=function(a,t,n){var i=this;return n===void 0&&(n=0),t&&t.forEach(function(s){var l,o=(l=s==null?void 0:s.children)===null||l===void 0?void 0:l.filter(function(r){return i.selectedReferences(a).includes(r.reference)});n+=(o==null?void 0:o.length)||0,s.children&&(n=i.selectedChildren(a,s.children,n))}),n},e.prototype.exclusiveNotAlone=function(a){if(this.selectedReferences(a).length<2)return!1;var t=this.recursiveFlattener(this.contest.options);return this.selectedReferences(a).map(function(n){return t.find(function(i){return i.reference===n})}).some(function(n){return(n==null?void 0:n.exclusive)===!0})},e.prototype.blankNotAlone=function(a,t){return a.length>0&&t},e.prototype.optionIsExclusive=function(a){var t,n;return((t=a.optionSelections)===null||t===void 0?void 0:t.length)===1&&((n=this.contest.options.find(function(i){return i.reference===a.optionSelections[0].reference}))===null||n===void 0?void 0:n.exclusive)},e}(),$$=Wt.default=D31,U$={};Object.defineProperty(U$,"__esModule",{value:!0});var P31=function(){function e(a){this.contest=a}return e.prototype.validate=function(a){var t=[];return this.partyExclusive(a.optionSelections)&&t.push({message:"cross_party_voting"}),t},e.prototype.selectedReferences=function(a){return a.map(function(t){return t.reference})},e.prototype.partyExclusive=function(a){var t=this.selectedReferences(a),n=this.contest.options.filter(function(s){return t.includes(s.reference)}).length>1,i=!1;return this.contest.options.forEach(function(s){var l,o;if(t.includes(s.reference)){var r=t.filter(function(d){return d!==s.reference}),f=(l=s.children)===null||l===void 0?void 0:l.map(function(d){return d.reference});n=r.some(function(d){return!(f!=null&&f.includes(d))})}var u=(o=s.children)===null||o===void 0?void 0:o.some(function(d){return t.includes(d.reference)});i&&u?n=!0:u&&(i=!0)}),n},e}(),O31=U$.default=P31;const R31=e=>(c.pushScopeId("data-v-217fba3a"),e=e(),c.popScopeId(),e),F31=["aria-label","aria-describedby"],j31=["id"],q31=R31(()=>c.createElementVNode("hr",{class:"AVBallot--separator"},null,-1)),$31=["aria-label"],U31=c.defineComponent({__name:"AVBallot",props:{contest:{type:Object,required:!0},selectionPile:{type:Object,required:!0},locale:{type:String,default:null},showSubmissionHelper:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,default:!1},partialResults:{type:Object,default:null},weight:{type:Number,default:null},includeLazyErrors:{type:Boolean,default:!1},imageOption:{type:String,default:"square"}},emits:["update:selectionPile","update:errors","view-candidate"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1),s=c.ref(""),l=c.ref(""),o=c.ref(null),r=c.computed(()=>t.selectionPile.optionSelections),f=c.computed(()=>new $$(t.contest)),u=c.computed(()=>t.contest.disregardVoterWeight?null:t.weight),d=c.computed(()=>{var A;let k=[];return(A=t.contest.customRulesets)!=null&&A.includes("belgian_ballot_rules")&&k.push(new O31(t.contest)),k}),m=c.computed(()=>{let k=[];d.value.forEach(w=>{k.push(...w.validate(t.selectionPile))});const A=[...f.value.validate(t.selectionPile,t.includeLazyErrors),...k];if(M.value&&A.some(w=>w.message==="cross_party_voting")){let w;A.some(F=>F.message==="exclusive")&&(w=A.findIndex(F=>F.message==="exclusive"),A.splice(w,1)),A.some(F=>F.message==="blank")&&(w=A.findIndex(F=>F.message==="cross_party_voting"),A.splice(w,1))}return n("update:errors",A),A}),p=c.computed(()=>m.value.length===0),h=c.computed(()=>{var k;return(k=t.contest.question)==null?void 0:k[N.value]}),M=c.computed(()=>{var k;return(k=t.contest.customRulesets)==null?void 0:k.includes("belgian_ballot_rules")}),C=c.computed(()=>g4(t.contest.options).some(k=>k.exclusive)),b=c.computed(()=>t.contest);c.watch(b,(k,A)=>{var w;A&&k&&k.reference!==A.reference&&((w=document.getElementById("content"))==null||w.focus(),A.searchForm&&(o.value.value=""))});const g=()=>{n("update:selectionPile",{...t.selectionPile,explicitBlank:!t.selectionPile.explicitBlank})},z=({reference:k,amount:A})=>{const w=r.value.filter(x=>x.reference===k).length;A===w&&(A=A-1);const F=r.value.filter(x=>x.reference!==k);for(let x=0;x<A;x++)F.push({reference:k});n("update:selectionPile",{...t.selectionPile,optionSelections:F})},L=k=>n("view-candidate",k),_=c.inject("i18n"),{t:H}=_.global,N=c.computed(()=>_.global.locale.value||_.global.locale);return c.onMounted(()=>{t.locale&&G(t.locale)}),c.watch(()=>t.locale,()=>{t.locale&&G(t.locale)},{deep:!0}),(k,A)=>{const w=c.resolveComponent("AVSearchBallot"),F=c.resolveComponent("AVWriteInOption"),x=c.resolveComponent("AVOption"),$=c.resolveComponent("AVBlankOption"),J=c.resolveComponent("AVSubmissionHelper");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({AVBallot:!0,"AVBallot--error":!p.value}),"aria-label":c.unref(H)("js.components.AVBallot.aria_labels.ballot"),"aria-describedby":`ballot_${e.contest.reference}`,"data-test":"ballot"},[h.value?(c.openBlock(),c.createElementBlock("h5",{key:0,id:`ballot_${e.contest.reference}_question`,class:"AVBallot--question","aria-live":"polite","data-test":"ballot-question"},c.toDisplayString(h.value),9,j31)):c.createCommentVNode("",!0),e.contest.searchForm&&!e.disabled&&!e.observerMode?(c.openBlock(),c.createBlock(w,{key:1,ref_key:"search",ref:o,options:c.unref(g4)(e.contest.options),"options-container-id":"ballot_options"},null,8,["options"])):c.createCommentVNode("",!0),q31,c.createElementVNode("div",{id:"ballot_options",class:c.normalizeClass({"AVBallot--options":!0,"AVBallot--options-with-list":e.contest.options.some(I=>I.children)}),"aria-label":c.unref(H)("js.components.AVBallot.aria_labels.ballot_options")},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.contest.options,I=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:I.reference},[I.writeIn?(c.openBlock(),c.createBlock(F,{key:0,"candidate-value":l.value,"onUpdate:candidateValue":A[0]||(A[0]=R=>l.value=R),"party-value":s.value,"onUpdate:partyValue":A[1]||(A[1]=R=>s.value=R),"checked-value":i.value,"onUpdate:checkedValue":A[2]||(A[2]=R=>i.value=R),parties:[],disabled:e.disabled,observerMode:e.observerMode},null,8,["candidate-value","party-value","checked-value","disabled","observerMode"])):(c.openBlock(),c.createBlock(x,{key:1,selections:r.value,option:I,invalid:!p.value,"exclusive-error":!M.value&&I.exclusive&&m.value.some(R=>R.message.includes("exclusive")),contest:e.contest,disabled:e.disabled,observerMode:e.observerMode,"partial-results":e.partialResults,"image-option":e.imageOption,onChecked:z,onViewCandidate:L},null,8,["selections","option","invalid","exclusive-error","contest","disabled","observerMode","partial-results","image-option"]))],64))),128)),e.contest.markingType.blankSubmission==="active_choice"?(c.openBlock(),c.createBlock($,{key:0,checked:e.selectionPile.explicitBlank,error:!M.value&&m.value.some(I=>I.message.includes("blank")),disabled:e.disabled,invalid:!p.value,observerMode:e.observerMode,accentColor:e.contest.blankOptionColor,"partial-results":e.partialResults?e.partialResults.blank:null,onToggleBlank:g},null,8,["checked","error","disabled","invalid","observerMode","accentColor","partial-results"])):c.createCommentVNode("",!0)],10,$31),e.showSubmissionHelper&&!e.disabled&&!e.observerMode?(c.openBlock(),c.createBlock(J,{key:2,id:`ballot_${e.contest.reference}`,"chosen-count":r.value.length,errors:m.value,weight:u.value,"min-marks":e.contest.markingType.minMarks,"max-marks":e.contest.markingType.maxMarks,"has-exclusive-options":C.value,class:"AVBallot--helper","data-test":"ballot-submission-helper"},null,8,["id","chosen-count","errors","weight","min-marks","max-marks","has-exclusive-options"])):c.createCommentVNode("",!0)],10,F31)}}});const W$=D(U31,[["__scopeId","data-v-217fba3a"]]),W31=e=>(c.pushScopeId("data-v-ffed1a38"),e=e(),c.popScopeId(),e),G31={key:0,class:"AVPileSummary--summary"},J31={key:0,class:"AVPileSummary--summary-header","data-test":"pile-summary-header"},Z31={class:"AVPileSummary--summary-header-text"},Y31={key:1,class:"AVPileSummary--summary-header"},Q31={class:"AVPileSummary--summary-body"},K31={key:1,class:"AVPileSummary--assign"},X31={class:"AVPileSummary--assign-card"},e41=["aria-label"],c41={class:"AVPileSummary--edit"},a41={key:0,"data-test":"pile-summary-assigned"},t41={class:"AVPileSummary--assign-body","data-test":"pile-summary-body"},n41={key:0,class:"AVPileSummary--assign-text"},i41=W31(()=>c.createElementVNode("br",null,null,-1)),s41=["aria-label"],l41=c.defineComponent({__name:"AVPileSummary",props:{selectionPile:{type:Object,required:!0},contest:{type:Object,required:!0},maximumOptionsShown:{type:Number,default:null},activeState:{type:String,required:!0},pileIndex:{type:Number,default:null},isEditing:{type:Boolean,default:!1},totalPiles:{type:Number,required:!0},locale:{type:String,default:null},imageOption:{type:String,default:"square"}},emits:["editCurrentSelection","deleteSelection"],setup(e,{emit:a}){const t=a,n=e,i=c.ref(!1),s=c.computed(()=>n.selectionPile.optionSelections.length===0),l=c.computed(()=>!n.maximumOptionsShown||i.value?u.value.options:u.value.options.slice(0,n.maximumOptionsShown)),o=c.computed(()=>u.value.options.length-l.value.length),r=c.computed(()=>g4(n.contest.options).filter(C=>C.selectable)),f=(h,M)=>h&&h.parentContent?(M.push(h.parentContent),f(h.parentContent,M)):M,u=c.computed(()=>{const h={options:[],writeIns:[]};return n.selectionPile.optionSelections.forEach(M=>{if(M.text)h.writeIns.push({partyLetter:"?",partyName:"?",candidateName:M.text});else{const C=h.options.find(g=>g.handle===M.reference),b=r.value.find(g=>g.reference===M.reference);if(!b)return;C?C.crosses+=1:h.options.push({title:b.title,handle:M.reference,image:b.image,crosses:1,parent:b.parentContent,rank:n.contest.markingType.voteVariation==="ranked"?h.options.length+1:null})}}),h}),d=c.inject("i18n"),{t:m}=d.global,p=c.computed(()=>d.global.locale.value||d.global.locale);return c.onMounted(()=>{n.locale&&G(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&G(n.locale)},{deep:!0}),(h,M)=>{const C=c.resolveComponent("AVSummaryOption"),b=c.resolveComponent("AVIcon");return e.activeState==="summary"?(c.openBlock(),c.createElementBlock("div",G31,[e.contest.markingType.maxPiles!==1?(c.openBlock(),c.createElementBlock("header",J31,[c.createElementVNode("span",null,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.selection"))+" "+c.toDisplayString(e.pileIndex+1)+" / "+c.toDisplayString(e.totalPiles),1),c.createElementVNode("span",Z31,c.toDisplayString(e.selectionPile.multiplier)+" "+c.toDisplayString(c.unref(m)("js.components.AVPileSummary.ballots")),1)])):(c.openBlock(),c.createElementBlock("header",Y31,[c.createElementVNode("span",null,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.selection")),1)])),c.createElementVNode("div",Q31,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(u.value.options,(g,z)=>(c.openBlock(),c.createBlock(C,{key:z,option:g,"multiple-votes-allowed":e.contest.markingType.votesAllowedPerOption>1,parents:f(g.parent,g.parent?[g.parent]:[]),"image-option":e.imageOption},null,8,["option","multiple-votes-allowed","parents","image-option"]))),128)),s.value?(c.openBlock(),c.createBlock(C,{key:0,blank:s.value},null,8,["blank"])):c.createCommentVNode("",!0)])])):(c.openBlock(),c.createElementBlock("div",K31,[c.createElementVNode("div",X31,[c.createElementVNode("div",{class:"AVPileSummary--assign-header","aria-label":c.unref(m)("js.components.AVPileSummary.aria_labels.edit_selection"),role:"button","data-test":"pile-summary-edit",onClick:M[0]||(M[0]=g=>t("editCurrentSelection"))},[c.createElementVNode("div",c41,[c.createVNode(b,{icon:"pen-to-square"}),c.createElementVNode("span",null,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.ballot_selection"))+" "+c.toDisplayString(e.pileIndex+1),1)]),e.activeState==="overview"||e.isEditing?(c.openBlock(),c.createElementBlock("span",a41,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.assigned"))+" "+c.toDisplayString(e.selectionPile.multiplier),1)):c.createCommentVNode("",!0)],8,e41),c.createElementVNode("div",t41,[s.value?(c.openBlock(),c.createElementBlock("p",n41,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.blank")),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(l.value,(g,z)=>(c.openBlock(),c.createElementBlock("p",{key:z,class:"AVPileSummary--assign-text"},c.toDisplayString(g.rank?`${g.rank}: `:"")+" "+c.toDisplayString(g.title[p.value]),1))),128)),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(u.value.writeIns,(g,z)=>(c.openBlock(),c.createElementBlock("p",{key:z,class:"AVPileSummary--assign-text"},[c.createElementVNode("b",null,c.toDisplayString(g.partyLetter)+" - "+c.toDisplayString(g.partyName),1),i41,c.createElementVNode("span",null,c.toDisplayString(g.candidateName),1)]))),128)),o.value>0?(c.openBlock(),c.createElementBlock("p",{key:1,role:"button",class:"AVPileSummary--show-more-button","data-test":"pile-summary-more",onClick:M[1]||(M[1]=c.withModifiers(g=>i.value=!0,["stop","prevent"]))},[c.createElementVNode("u",null,[c.createElementVNode("em",null,c.toDisplayString(`${c.unref(m)("js.components.AVPileSummary.and_n_more_pre")} ${o.value} ${c.unref(m)("js.components.AVPileSummary.and_n_more_pos")}`),1)])])):c.createCommentVNode("",!0),i.value?(c.openBlock(),c.createElementBlock("p",{key:2,role:"button",class:"AVPileSummary--show-more-button","data-test":"pile-summary-more",onClick:M[2]||(M[2]=c.withModifiers(g=>i.value=!1,["stop","prevent"]))},[c.createElementVNode("u",null,[c.createElementVNode("em",null,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.show_less")),1)])])):c.createCommentVNode("",!0)])]),e.activeState==="overview"?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVPileSummary--assign-delete-button",role:"button","aria-label":c.unref(m)("js.components.AVPileSummary.aria_labels.delete_selection"),"data-test":"pile-summary-delete",onClick:M[3]||(M[3]=c.withModifiers(g=>t("deleteSelection"),["stop","prevent"]))},[c.createVNode(b,{icon:"trash-can"})],8,s41)):c.createCommentVNode("",!0)]))}}});const G$=D(l41,[["__scopeId","data-v-ffed1a38"]]);var J$={},Li=M4&&M4.__spreadArray||function(e,a,t){if(t||arguments.length===2)for(var n=0,i=a.length,s;n<i;n++)(s||!(n in a))&&(s||(s=Array.prototype.slice.call(a,0,n)),s[n]=a[n]);return e.concat(s||Array.prototype.slice.call(a))};Object.defineProperty(J$,"__esModule",{value:!0});var o41=Wt,r41=function(){function e(a){var t=a.contest,n=a.voterWeight;this.contest=t,this.voterWeight=n}return e.prototype.isComplete=function(a){return this.allWeightUsed(a)&&this.validate(a).length==0},e.prototype.validate=function(a){var t=[],n=new o41.default(this.contest);return a.piles.forEach(function(i){t=Li(Li([],t,!0),n.validate(i),!0)}),a.piles.forEach(function(i){n.isComplete(i)||t.push({message:"A selection is not complete"})}),t},e.prototype.allWeightUsed=function(a){return this.voterWeight===a.piles.reduce(function(t,n){return n.multiplier+t},0)},e}(),f41=J$.default=r41;const u41={class:"AVSplitHelper--title","aria-live":"polite","data-test":"split-helper-contest-title"},m41=["innerHTML"],d41={class:"AVSplitHelper--footer"},p41={class:"AVSplitHelper--btn-secondary-container"},v41={class:"AVSplitHelper--btn-primary-container"},h41=["disabled"],z41={key:1},V41={class:"AVSplitHelper--assign-card"},g41={class:"AVSplitHelper--assign-question","data-test":"split-helper-contest-question"},M41=["for"],C41=["id","max"],H41={class:"AVSplitHelper--footer"},b41={class:"AVSplitHelper--btn-secondary-container"},A41={class:"AVSplitHelper--btn-primary-container"},L41=["disabled"],_41={key:2,"data-test":"split-helper-overview"},k41={key:0,class:"AVSplitHelper--overview-success"},N41={key:1,class:"AVSplitHelper--overview-default"},y41={class:"AVSplitHelper--overview--text"},x41=["disabled"],S41=["onClick"],w41=c.defineComponent({__name:"AVSplitHelper",props:{contest:{type:Object,required:!0},contestSelection:{type:Object,required:!0},weight:{type:Number,required:!0},showSubmissionHelper:{type:Boolean,default:!0},partialResults:{type:Object,default:null},locale:{type:String,default:null},includeLazyErrors:{type:Boolean,default:!1},imageOption:{type:String,default:"square"}},emits:["update:complete","update:contestSelection","update:activeState","update:activePile","view-candidate"],setup(e,{emit:a}){var J;const t=e,n=a,i=c.ref(null),s=c.ref(t.contestSelection.piles[0]||{multiplier:t.weight,optionSelections:[],explicitBlank:!1}),l=c.ref(((J=t.contestSelection.piles)==null?void 0:J.length)===0||t.contest.markingType.maxPiles===1?"ballot":"overview"),o=c.ref([]),r=c.computed(()=>t.contestSelection.piles),f=c.computed(()=>{var I;return(I=r.value)==null?void 0:I.reduce((R,o1)=>R-o1.multiplier,t.weight)}),u=c.computed(()=>new $$(t.contest)),d=c.computed(()=>new f41({contest:t.contest,voterWeight:t.weight})),m=c.computed(()=>f.value===0&&o.value.length==0&&r.value.every(I=>u.value.isComplete(I))),p=c.computed(()=>{var I;return(I=r.value)==null?void 0:I.reduce((R,o1)=>R+o1.multiplier,0)}),h=c.computed(()=>{var I;return(I=s.value)==null?void 0:I.multiplier}),M=c.computed(()=>r.value.filter((I,R)=>R!==i.value).reduce((I,R)=>I-R.multiplier,t.weight)),C=c.computed(()=>t.contest.markingType.maxPiles!==1&&t.weight>1),b=c.computed(()=>i.value!==null),g=I=>u.value.isComplete(I),z=I=>u.value.validate(I,t.includeLazyErrors).length>0,L=()=>{if(C.value){const I=[...r.value];i.value===null?I.push({...s.value}):I.splice(i.value,1,{...s.value}),n("update:contestSelection",{...t.contestSelection,piles:I}),i.value=null,l.value="overview"}else s.value.multiplier=t.weight,n("update:contestSelection",{...t.contestSelection,piles:[s.value]})},_=I=>{s.value=I,C.value||L()},H=()=>{s.value={optionSelections:[],multiplier:M.value,explicitBlank:!1},i.value=null,l.value="ballot"},N=I=>{r.value.splice(I,1)},k=I=>{s.value={...r.value[I]},i.value=I,l.value="ballot"},A=I=>{o.value=I},w=I=>n("view-candidate",I);c.watch(m,I=>n("update:complete",I)),c.watch(h,()=>{s.value&&(s.value.multiplier=Math.max(0,Math.min(h.value,M.value)))}),c.watch(s,I=>{n("update:activePile",I)}),c.watch(l,I=>n("update:activeState",I)),c.onMounted(()=>{t.locale&&G(t.locale),n("update:activePile",s.value),n("update:activeState",l.value),n("update:complete",m.value),C.value||L()});const F=c.inject("i18n"),{t:x}=F.global,$=c.computed(()=>F.global.locale.value||F.global.locale);return c.onMounted(()=>{t.locale&&G(t.locale)}),c.watch(()=>t.locale,()=>{t.locale&&G(t.locale)},{deep:!0}),(I,R)=>{var v1;const o1=c.resolveComponent("AVSplitWizardHeader"),z1=c.resolveComponent("AVBallot"),A1=c.resolveComponent("AVPileSummary"),V1=c.resolveComponent("AVSplitWeightHelper"),k1=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("h3",u41,c.toDisplayString(e.contest.title[$.value]),1),c.createElementVNode("div",{class:"AVSplitHelper--description","data-test":"split-helper-contest-description",innerHTML:(v1=e.contest.description)==null?void 0:v1[$.value]},null,8,m41),C.value?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[["ballot","assign","overview"].includes(l.value)?(c.openBlock(),c.createBlock(o1,{key:0,"active-selection-pile-index":i.value,"active-state":l.value,"selection-piles":r.value,"total-weight":p.value+f.value,"is-editing":b.value},null,8,["active-selection-pile-index","active-state","selection-piles","total-weight","is-editing"])):c.createCommentVNode("",!0),c.createVNode(c.Transition,{name:"fade",mode:"out-in"},{default:c.withCtx(()=>{var w1,W1,e2;return[s.value&&l.value==="ballot"?(c.openBlock(),c.createElementBlock("div",{key:i.value},[c.createVNode(z1,{class:"AVSplitHelper--ballot","selection-pile":s.value,"partial-results":e.partialResults,contest:e.contest,weight:e.weight,includeLazyErrors:e.includeLazyErrors,"show-submission-helper":e.showSubmissionHelper,"image-option":e.imageOption,"onUpdate:selectionPile":_,"onUpdate:errors":R[0]||(R[0]=M1=>A(M1))},null,8,["selection-pile","partial-results","contest","weight","includeLazyErrors","show-submission-helper","image-option"]),c.createElementVNode("div",d41,[c.createElementVNode("div",p41,[r.value.length>0?(c.openBlock(),c.createElementBlock("button",{key:"back",class:"AVSplitHelper--btn-secondary",onClick:R[1]||(R[1]=M1=>l.value="overview")},c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.ballot.back_button")),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",v41,[c.createElementVNode("button",{key:"assign",class:"AVSplitHelper--btn-primary",disabled:!g(s.value)||z(s.value),"data-test":"split-helper-confirm",onClick:R[2]||(R[2]=M1=>l.value="assign")},c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.ballot.confirm_button")),9,h41)])])])):l.value==="assign"?(c.openBlock(),c.createElementBlock("div",z41,[c.createElementVNode("div",V41,[c.createElementVNode("h4",g41,c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.assign.split_question")),1),c.createVNode(A1,{"selection-pile":s.value,contest:e.contest,"maximum-options-shown":3,"pile-index":b.value?i.value:r.value.length,"active-state":l.value,"is-editing":b.value,"total-piles":e.contestSelection.piles.length,"image-option":e.imageOption,onEditCurrentSelection:R[3]||(R[3]=M1=>l.value="ballot")},null,8,["selection-pile","contest","pile-index","active-state","is-editing","total-piles","image-option"]),c.createElementVNode("label",{for:`${e.contest.reference}-ballot-selector`,class:"AVSplitHelper--assign-label","data-test":"split-helper-assign-label"},c.toDisplayString(b.value?c.unref(x)("js.components.AVSplitHelper.assign.ballots_to_assign_edit_mode"):c.unref(x)("js.components.AVSplitHelper.assign.ballots_to_assign")),9,M41),c.withDirectives(c.createElementVNode("input",{id:`${e.contest.reference}-ballot-selector`,"onUpdate:modelValue":R[4]||(R[4]=M1=>s.value.multiplier=M1),class:"AVSplitHelper--assign-input",type:"number",max:M.value,"data-test":"split-helper-assign-input"},null,8,C41),[[c.vModelText,s.value.multiplier]])]),c.createVNode(V1,{"assigned-weight":p.value,"unused-weight":f.value,"active-assigned":(w1=r.value[i.value])==null?void 0:w1.multiplier},null,8,["assigned-weight","unused-weight","active-assigned"]),c.createElementVNode("div",H41,[c.createElementVNode("div",b41,[c.createElementVNode("button",{key:"ballot",class:"AVSplitHelper--btn-secondary","data-test":"split-helper-assign-back",onClick:R[5]||(R[5]=M1=>l.value="ballot")},c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.assign.back_button")),1)]),c.createElementVNode("div",A41,[c.createElementVNode("button",{key:"confirm",class:"AVSplitHelper--btn-primary",disabled:((W1=s.value)==null?void 0:W1.multiplier)<1||((e2=s.value)==null?void 0:e2.multiplier)>M.value,"data-test":"split-helper-assign-confirm",onClick:R[6]||(R[6]=M1=>L())},c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.assign.confirm_button")),9,L41)])])])):l.value==="overview"?(c.openBlock(),c.createElementBlock("div",_41,[f.value===0&&d.value.isComplete(e.contestSelection)?(c.openBlock(),c.createElementBlock("div",k41,[c.createVNode(k1,{icon:"circle-check",class:"AVSplitHelper--overview-success-icon"}),c.createTextVNode(" "+c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.overview.all_ballots_assigned")),1)])):(c.openBlock(),c.createElementBlock("div",N41,[c.createElementVNode("p",y41,[c.createElementVNode("strong",null,c.toDisplayString(f.value),1),c.createTextVNode(" "+c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.overview.ballots_left")),1)]),c.createElementVNode("button",{key:"newSelection",class:"AVSplitHelper--overview-new-ballot-btn",disabled:f.value===0,"data-test":"split-helper-new-selection",onClick:H},[c.createVNode(k1,{icon:"file-circle-plus"}),c.createTextVNode(" "+c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.overview.new_ballot_selection")),1)],8,x41)])),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value,(M1,O1)=>(c.openBlock(),c.createElementBlock("article",{key:`preview-${O1}`,onClick:x2=>k(O1)},[c.createVNode(A1,{"selection-pile":M1,contest:e.contest,"maximum-options-shown":3,"active-state":l.value,"pile-index":O1,"total-piles":e.contestSelection.piles.length,"image-option":e.imageOption,onDeleteSelection:x2=>N(O1)},null,8,["selection-pile","contest","active-state","pile-index","total-piles","image-option","onDeleteSelection"])],8,S41))),128))])):c.createCommentVNode("",!0)]}),_:1})],64)):(c.openBlock(),c.createBlock(z1,{key:1,class:"AVSplitHelper--no-split","selection-pile":s.value,"partial-results":e.partialResults,includeLazyErrors:e.includeLazyErrors,contest:e.contest,weight:e.weight,"image-option":e.imageOption,"show-submission-helper":e.showSubmissionHelper,"onUpdate:selectionPile":_,"onUpdate:errors":R[7]||(R[7]=w1=>A(w1)),onViewCandidate:w},null,8,["selection-pile","partial-results","includeLazyErrors","contest","weight","image-option","show-submission-helper"]))],64)}}});const Z$=D(w41,[["__scopeId","data-v-b9617a26"]]),E41="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gKwSUNDX1BST0ZJTEUAAQEAAAKgbGNtcwRAAABtbnRyUkdCIFhZWiAH6AAEAAMACAAzABRhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1kZXNjAAABIAAAAEBjcHJ0AAABYAAAADZ3dHB0AAABmAAAABRjaGFkAAABrAAAACxyWFlaAAAB2AAAABRiWFlaAAAB7AAAABRnWFlaAAACAAAAABRyVFJDAAACFAAAACBnVFJDAAACFAAAACBiVFJDAAACFAAAACBjaHJtAAACNAAAACRkbW5kAAACWAAAACRkbWRkAAACfAAAACRtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACQAAAAcAEcASQBNAFAAIABiAHUAaQBsAHQALQBpAG4AIABzAFIARwBCbWx1YwAAAAAAAAABAAAADGVuVVMAAAAaAAAAHABQAHUAYgBsAGkAYwAgAEQAbwBtAGEAaQBuAABYWVog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VbixuuVNChEQtFbg7VtXqywN/tGOvQN/QZiT9/YFB8P8AyE8bCB067RDmlqxsbLPYFQ9sxijuAmKKK1lqi3iCcu84bsQOqlysux9VwFxr4LP+ylq2/wCnhM0fmHzOTAqwLrDjljVXf5q0LuDdBadHJQHHK+1ZjcfBm0xZE3Y4VUsRKKOfm8wa6ahp9YSmFAe8bQath21E6CjQMMFNlQ5Lt+MN9oRs11l3+QxoK4DMOLbYAPRCeKmC4V5kapbqxXpRGg3Zo6qxsD6LYOhXr/oyF7HTjaocQPyLvpU90tDfCoBDdefKCicg05EG/wAYf8WAu0La7AwNF8IWGhI7Z9TcTW6L9CJ8SHaMtq3tcszR1uIi7v8ACMJ9hpCuztAbE4TMrhisT6xC6aHyJZQh3KObtZbrIfS/wHUzJwXIuFa9gy/IAgO++D5LgeLVVZwCnEUtrmLcYsj8/juoo5g1mqBNAyPcghtJClgApFLaaLttTe7geuuwu58XBuX6rhuGyRVTAFbYLjLbsbt72eNYI2gkRTovGRoAOkd6iAcl+p1H8g0+g1AEQBJ+UMGJQItSnnPmnaETA4ZshdbdushcH03hVXl/JLAZVj9LkQRpZ86uDoCM2W1HVUNXHRbhwOTff883ACOlqH+eNBpAR7kwZ3VXAU46hDyHLCZtCtlgMBOT0dpkArcOUnWs9ouq0Tqi2IfxAStC5/8AeYrX883B0GHrK7wWLVWcQQynMjbuOpjkunMo+snSZRku+HYpmDf3OoxYvczjH5R2FeJU9U1FtTta12PsMeyi1YsJm+K+cOrspzDx1rBiIFpRpppLM/cqFdQu2bHIT4Ye5KmMHTt7SCy1bLAMBiDPNX0w9X7lB5NMAtWNkEDm7+p5ly7I79o0jBMTOks7LHmAXGHpCxPH2hm53lsw6IpCuG+LqOvadIbazn00v+x8sZ2U83f7ItCuAnJQT2Zt8r8e2JAmG+GphGWZUqfYWwbpqFdWkSAKb7159tuUl7pX8hs8pp9P/9k=",T41={key:0,class:"AVResourceSection--image-container"},B41=["src","alt"],I41={class:"AVResourceFields"},D41={key:0,class:"AVResourceFields--title","data-test":"heading-title"},P41={key:1,class:"AVResourceFields--subtitle","data-test":"heading-subtitle"},O41={key:2,class:"AVResourceFields--group-container","data-test":"heading-group"},R41={class:"AVResourceFields--group"},F41={key:1,class:"AVResourceFields--divisor"},j41={key:2,class:"AVResourceFields--link-list","data-test":"resource-link-list"},q41={key:0},$41={key:3,"data-test":"resource-checkbox-summary"},U41={key:4,"data-test":"resource-selection"},W41={key:0},G41={key:5,"data-test":"resource-video"},J41=["src"],Z41=["innerHTML"],Y41={key:7,class:"AVResourceFields--regular-content","data-test":"resource-regular-content"},Q41={key:0},K41=c.defineComponent({__name:"AVResourceSection",props:{candidate:{type:Object,required:!0},currentCandidateGroup:{type:Number,default:null},summary:{type:Boolean,default:!1},locale:{type:String,default:null},card:{type:Boolean,default:!1}},setup(e){const a=c.computed(()=>{var p,h,M,C,b,g;return(h=(p=o.candidate.title)==null?void 0:p[0])!=null&&h.localised?((C=(M=o.candidate.title)==null?void 0:M[0])==null?void 0:C.form_content)[m.value]:(g=(b=o.candidate.title)==null?void 0:b[0])==null?void 0:g.form_content}),t=c.computed(()=>{var p,h,M,C,b,g;return(h=(p=o.candidate.subtitle)==null?void 0:p[0])!=null&&h.localised?((C=(M=o.candidate.title)==null?void 0:M[0])==null?void 0:C.form_content)[m.value]:(g=(b=o.candidate.subtitle)==null?void 0:b[0])==null?void 0:g.form_content}),n=c.computed(()=>{var C;if(!o.candidate.groups)return null;let p=[],h=[],M="";return o.currentCandidateGroup?o.candidate.groups.forEach(b=>{b.id===o.currentCandidateGroup?p.push(b):h.push(b)}):(h=[...o.candidate.groups],p=h.splice(0,1)),h.forEach((b,g)=>{g===0||o.candidate.groups.length===1?M=b.title[m.value]:g===h.length-1?M+=` & ${b.title[m.value]}`:M+=`, ${b.title[m.value]}`}),{title:(C=p[0])==null?void 0:C.title[m.value],surplus:h.length||null,remaining:M}}),i=c.computed(()=>o.summary?o.candidate.summary:o.candidate.generic.filter(p=>p.item_type!=="image")),s=c.computed(()=>o.summary?!!o.candidate.summary.length:!!o.candidate.generic.length),l=p=>p.item_type==="check_box"?!0:p.form_content?p.item_type==="link_list"?!!p.form_content.length:p.localised?!!p.form_content[m.value]:!!p.form_content:!1,o=e,r=c.computed(()=>{var p;return((p=o.candidate.generic.find(h=>h.item_type==="image"))==null?void 0:p.form_content)||E41}),f=c.inject("i18n"),{t:u,d}=f.global,m=c.computed(()=>f.global.locale.value||f.global.locale);return c.onMounted(()=>{o.locale&&G(o.locale)}),c.watch(()=>o.locale,()=>{o.locale&&G(o.locale)},{deep:!0}),(p,h)=>{const M=c.resolveComponent("AVTooltip"),C=c.resolveComponent("AVIcon"),b=c.resolveComponent("AVLinkVisualizer");return c.openBlock(),c.createElementBlock("section",{class:c.normalizeClass(["AVResourceSection",{"AVResourceSection--themed":e.summary}])},[c.createElementVNode("div",{class:c.normalizeClass(["AVResourceSection--container",{"AVResourceSection--card":e.card}]),"data-test":"resource-section"},[e.summary&&r.value?(c.openBlock(),c.createElementBlock("div",T41,[c.createElementVNode("img",{src:r.value,alt:c.unref(u)("js.components.AVResourceSection.alt_candidate"),class:"AVResourceSection--image","data-test":"resource-image"},null,8,B41)])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass(e.summary?"AVResourceSection--fields-container":"AVResourceSection--generic-container")},[c.createElementVNode("div",I41,[e.summary&&a.value?(c.openBlock(),c.createElementBlock("h4",D41,c.toDisplayString(a.value),1)):c.createCommentVNode("",!0),e.summary&&t.value?(c.openBlock(),c.createElementBlock("h5",P41,c.toDisplayString(t.value),1)):c.createCommentVNode("",!0),e.summary&&e.candidate.groups&&!e.card?(c.openBlock(),c.createElementBlock("div",O41,[c.createElementVNode("h4",R41,c.toDisplayString(n.value.title),1),n.value.surplus?(c.openBlock(),c.createBlock(M,{key:0,text:c.unref(u)("js.components.AVResourceSection.and_more",{amount:n.value.surplus}),content:n.value.remaining,position:"top",class:"AVResourceFields--tooltip"},null,8,["text","content"])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0),e.card?c.createCommentVNode("",!0):(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:3},c.renderList(i.value,g=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:`attribute_${g.attribute_name}`},[s.value&&l(g)?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(e.summary?"AVResourceFields--container-summary":"AVResourceFields--container-generic"),"data-test":"resource-content"},[e.summary?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("h4",{key:0,class:c.normalizeClass({"AVResourceFields--divisor":g.item_type==="check_box"}),"data-test":"resource-title"},[c.createTextVNode(c.toDisplayString(g.label[m.value])+" ",1),g.item_type==="check_box"?(c.openBlock(),c.createBlock(C,{key:0,icon:g.form_content?"square-check":"square-xmark",class:c.normalizeClass(g.form_content?"AVResourceFields--checkbox-true":"AVResourceFields--checkbox-false"),"aria-label":g.form_content?c.unref(u)("js.components.AVResourceSection.true"):c.unref(u)("js.components.AVResourceSection.false"),"data-test":"resource-checkbox-icon"},null,8,["icon","class","aria-label"])):c.createCommentVNode("",!0)],2)),!e.summary&&g.item_type!=="check_box"?(c.openBlock(),c.createElementBlock("hr",F41)):c.createCommentVNode("",!0),g.item_type==="link_list"&&l(g)?(c.openBlock(),c.createElementBlock("div",j41,[e.summary?(c.openBlock(),c.createElementBlock("span",q41,c.toDisplayString(`${g.label[m.value]}:`),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(g.form_content,z=>(c.openBlock(),c.createBlock(b,{key:z.attributes.name,link:z,large:!e.summary},null,8,["link","large"]))),128))])):g.item_type==="check_box"&&e.summary?(c.openBlock(),c.createElementBlock("div",$41,[c.createElementVNode("span",null,c.toDisplayString(`${g.label[m.value]}`),1),c.createVNode(C,{icon:g.form_content?"square-check":"square-xmark",class:c.normalizeClass(g.form_content?"AVResourceFields--checkbox-true":"AVResourceFields--checkbox-false"),"aria-label":g.form_content?c.unref(u)("js.components.AVResourceSection.true"):c.unref(u)("js.components.AVResourceSection.false")},null,8,["icon","class","aria-label"])])):g.item_type==="select"&&l(g)?(c.openBlock(),c.createElementBlock("div",U41,[e.summary?(c.openBlock(),c.createElementBlock("span",W41,c.toDisplayString(`${g.label[m.value]}:`),1)):c.createCommentVNode("",!0),c.createTextVNode(" "+c.toDisplayString(g.form_content[m.value]),1)])):g.item_type==="video"&&l(g)?(c.openBlock(),c.createElementBlock("div",G41,[c.createElementVNode("iframe",{style:{width:"100%",height:"100%","min-height":"400px"},src:g.form_content.toString()},null,8,J41)])):g.item_type==="rich_text_area"&&!e.summary&&l(g)?(c.openBlock(),c.createElementBlock("div",{key:6,class:"AVResourceFields--rich-text",innerHTML:g.localised?g.form_content[m.value]:g.form_content,"data-test":"resource-rich-text"},null,8,Z41)):g.item_type!=="rich_text_area"&&g.item_type!=="check_box"?(c.openBlock(),c.createElementBlock("p",Y41,[e.summary?(c.openBlock(),c.createElementBlock("span",Q41,c.toDisplayString(`${g.label[m.value]}: `),1)):c.createCommentVNode("",!0),g.item_type==="date"||g.item_type==="date_time"?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(c.unref(d)(g.form_content,g.item_type==="date"?null:"long")),1)],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:2},[c.createTextVNode(c.toDisplayString(g.localised?g.form_content[m.value]:g.form_content),1)],64))])):c.createCommentVNode("",!0)],2)):c.createCommentVNode("",!0)],64))),128))])],2)],2)],2)}}});const Y$=D(K41,[["__scopeId","data-v-9f104b97"]]),X41={class:"AVCalculateResultContent--container"},e61={class:"AVCalculateResultContent--information"},c61={class:"AVCalculateResultContent--information-set AVCalculateResultContent--role","data-test":"role"},a61={class:"AVCalculateResultContent--label"},t61={class:"AVCalculateResultContent--information-set AVCalculateResultContent--status","data-test":"status"},n61={class:"AVCalculateResultContent--label"},i61={class:"AVCalculateResultContent--status-information"},s61={class:"AVCalculateResultContent--information-set","data-test":"mixes"},l61={class:"AVCalculateResultContent--label"},o61={class:"AVCalculateResultContent--information-set","data-test":"decryptions"},r61={class:"AVCalculateResultContent--label"},f61={class:"AVCalculateResultContent--information-set","data-test":"time"},u61={class:"AVCalculateResultContent--label"},m61=c.defineComponent({__name:"AVCalculateResultContent",props:{progress:{type:Number,default:0,validate:e=>e>=0&&e<=100},role:{type:String,default:"decrypter"},status:{type:String,default:"initial"},mixes:{type:Array,required:!0,validate:e=>e.length===2},decryptions:{type:Array,required:!0,validate:e=>e.length===2},elapsed:{type:String,required:!0},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=e,i=c.computed(()=>t(`js.components.AVCalculateResultContent.roles.${n.role}`)),s=c.computed(()=>t(`js.components.AVCalculateResultContent.status.${n.status}`)),l=c.computed(()=>{switch(n.status){case"initial":return"hourglass-half";case"mixing":return"shuffle";case"decrypting":return"key";case"aggregating":return"calculator";case"finished":return"circle-check";default:return"xmark"}});return c.onMounted(()=>{n.locale&&G(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&G(n.locale)},{deep:!0}),(o,r)=>{const f=c.resolveComponent("AVProgressBar"),u=c.resolveComponent("AVIcon"),d=c.resolveComponent("AVWaitingDots");return c.openBlock(),c.createElementBlock("div",X41,[c.createVNode(f,{value:e.progress,"data-test":"progress"},null,8,["value"]),c.createElementVNode("div",e61,[c.createElementVNode("div",c61,[c.createElementVNode("span",a61,c.toDisplayString(c.unref(t)("js.components.AVCalculateResultContent.roles.label")),1),c.createElementVNode("span",null,[c.createVNode(u,{icon:"user-shield"}),c.createTextVNode(" "+c.toDisplayString(i.value),1)])]),c.createElementVNode("div",t61,[c.createElementVNode("span",n61,c.toDisplayString(c.unref(t)("js.components.AVCalculateResultContent.status.label")),1),c.createElementVNode("span",i61,[c.createVNode(u,{icon:l.value,class:c.normalizeClass(["AVCalculateResultContent--status-icon",{"AVCalculateResultContent--success":e.status==="finished"}]),"data-test":"status-icon"},null,8,["icon","class"]),c.createTextVNode(" "+c.toDisplayString(s.value)+" ",1),e.status!=="finished"?(c.openBlock(),c.createBlock(d,{key:0})):c.createCommentVNode("",!0)])]),c.createElementVNode("div",s61,[c.createElementVNode("span",l61,c.toDisplayString(c.unref(t)("js.components.AVCalculateResultContent.mixes.label")),1),c.createElementVNode("span",null,c.toDisplayString(`${e.mixes[0]}/${e.mixes[1]}`),1)]),c.createElementVNode("div",o61,[c.createElementVNode("span",r61,c.toDisplayString(c.unref(t)("js.components.AVCalculateResultContent.decryptions.label")),1),c.createElementVNode("span",null,c.toDisplayString(`${e.decryptions[0]}/${e.decryptions[1]}`),1)]),c.createElementVNode("div",f61,[c.createElementVNode("span",u61,c.toDisplayString(c.unref(t)("js.components.AVCalculateResultContent.elapsed.label")),1),c.createElementVNode("span",null,c.toDisplayString(e.elapsed),1)])])])}}});const Q$=D(m61,[["__scopeId","data-v-a89d148e"]]),d61={class:"AVNormalSummary--container"},p61={class:"AVNormalSummary"},v61=c.defineComponent({__name:"AVNormalSummary",props:{sortedResult:{type:Array,required:!0},hidePercentage:{type:Boolean,default:!1},totalCount:{type:Number,required:!0}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVResultOption");return c.openBlock(),c.createElementBlock("div",d61,[c.createElementVNode("div",p61,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.sortedResult,i=>(c.openBlock(),c.createBlock(n,{key:`result_for_${i.reference}`,optionTitle:i.title,optionImage:i.image,votes:i.count,total:e.totalCount,elected:i.elected,tied:i.tied,"hide-percentage":e.hidePercentage,"data-test":"result-option"},null,8,["optionTitle","optionImage","votes","total","elected","tied","hide-percentage"]))),128))])])}}});const K$=D(v61,[["__scopeId","data-v-01af2e3f"]]),h61={class:"AVRankedSummary--container"},z61={class:"AVRankedSummary--table",id:"ranked_summary_table","data-test":"table"},V61={class:"AVRankedSummary--heading"},g61={class:"AVRankedSummary--summary","data-test":"summary"},M61={key:0},C61={key:1},H61={key:2},b61=c.defineComponent({__name:"AVRankedSummary",props:{result:{},distributionNumber:{},seats:{},locale:{}},setup(e){const a=e,t=c.computed(()=>{var r,f;return((f=(r=a.result[0])==null?void 0:r.rounds)==null?void 0:f.length)??0}),n=c.computed(()=>a.result.filter(r=>r.elected).map(r=>r.title[o.value]??Object.values(r.title)[0])),i=c.computed(()=>a.result.filter(r=>r.tied).map(r=>r.title[o.value]??Object.values(r.title)[0])),s=c.inject("i18n"),{t:l}=s.global,o=c.computed(()=>s.global.locale.value||s.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(r,f)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",h61,[c.createElementVNode("table",z61,[c.createElementVNode("thead",V61,[c.createElementVNode("tr",null,[c.createElementVNode("th",null,c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.header.position")),1),c.createElementVNode("th",null,c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.header.candidate")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.value,u=>(c.openBlock(),c.createElementBlock("th",{key:`header_for_round_${u}`,class:"AVRankedSummary--text"},c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.header.round_n",{n:u})),1))),128))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.result,(u,d)=>(c.openBlock(),c.createElementBlock("tr",{key:`option_${u.reference}`,class:c.normalizeClass({"AVRankedSummary--elected":u.elected,"AVRankedSummary--tied":u.tied})},[c.createElementVNode("td",null,c.toDisplayString(u.elected&&d+1||""),1),c.createElementVNode("td",null,c.toDisplayString(u.title[o.value]),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(u.rounds,(m,p)=>(c.openBlock(),c.createElementBlock("td",{key:`round_nr_${p}`,class:c.normalizeClass(["AVRankedSummary--text",{"AVRankedSummary--text-bold":p+1===t.value}])},c.toDisplayString(m.count),3))),128))],2))),128))])])]),c.createElementVNode("div",g61,[c.createElementVNode("p",null,c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.summary.seats"))+": "+c.toDisplayString(r.seats),1),r.distributionNumber>0?(c.openBlock(),c.createElementBlock("p",M61,c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.summary.distribution"))+": "+c.toDisplayString(r.distributionNumber),1)):c.createCommentVNode("",!0),n.value.length>0?(c.openBlock(),c.createElementBlock("p",C61,[c.createTextVNode(c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.summary.elected"))+": ",1),c.createElementVNode("span",null,c.toDisplayString(n.value.join(", ")),1)])):c.createCommentVNode("",!0),i.value.length>0?(c.openBlock(),c.createElementBlock("p",H61,[c.createTextVNode(c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.summary.tied"))+": ",1),c.createElementVNode("span",null,c.toDisplayString(i.value.join(", ")),1)])):c.createCommentVNode("",!0)])],64))}});const X$=D(b61,[["__scopeId","data-v-08f3cdf6"]]),A61={class:"AVInstantRunoffSummary"},L61={class:"AVInstantRunoffSummary--title","data-test":"seat-title"},_61={class:"AVInstantRunoffSummary--container"},k61={class:"AVInstantRunoffSummary--table-container"},N61={class:"AVInstantRunoffSummary--table",id:"ranked_summary_table","data-test":"table"},y61={class:"AVInstantRunoffSummary--heading"},x61={key:0,class:"AVInstantRunoffSummary--summary","data-test":"not-included"},S61={class:"AVInstantRunoffSummary--summary","data-test":"abstain"},w61={class:"AVInstantRunoffSummary--summary","data-test":"total"},E61={class:"AVInstantRunoffSummary--summary","data-test":"quota"},T61=c.defineComponent({__name:"AVInstantRunoffSummary",props:{rounds:{type:Array,required:!0},sortedResult:{type:Array,required:!0},seatNumber:{type:Number,required:!0},quota:{type:Number,required:!0},totalVotes:{type:Number,required:!0},blankVotes:{type:Number,required:!0},votesNotIncluded:{type:Number,default:null},locale:{type:String,default:null}},setup(e){const a=e,t=(r,f)=>a.rounds[f].counts[r]||0,n=(r,f)=>a.rounds[f].eliminated===r&&"AVInstantRunoffSummary--eliminated",i=(r,f)=>a.rounds[f].elected===r&&"AVInstantRunoffSummary--elected",s=c.inject("i18n"),{t:l}=s.global,o=c.computed(()=>s.global.locale.value||s.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(r,f)=>{const u=c.resolveComponent("AVIcon"),d=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",A61,[c.createElementVNode("h5",L61,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.seat_n",{n:e.seatNumber})),1),c.createElementVNode("div",_61,[c.createElementVNode("div",k61,[c.createElementVNode("table",N61,[c.createElementVNode("thead",y61,[c.createElementVNode("tr",null,[c.createElementVNode("th",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.header.candidate")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.rounds,(m,p)=>c.withDirectives((c.openBlock(),c.createElementBlock("th",{key:`instant_runoff_seat_${e.seatNumber}_round_${p}`,class:"AVInstantRunoffSummary--text AVInstantRunoffSummary--help"},[c.createTextVNode(c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.header.round_n",{n:p+1}))+" ",1),c.createVNode(u,{icon:"info-circle",class:"AVInstantRunoffSummary--help"})])),[[d,e.rounds[p].event]])),128))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.sortedResult,(m,p)=>(c.openBlock(),c.createElementBlock("tr",{key:p},[m.title?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createElementVNode("td",null,c.toDisplayString(m.title[o.value]),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.rounds.length,h=>(c.openBlock(),c.createElementBlock("td",{key:`instant_runoff_seat_${e.seatNumber}_number_${h}`,class:c.normalizeClass(["AVInstantRunoffSummary--text",{"AVInstantRunoffSummary--elected":i(m.reference,h-1),"AVInstantRunoffSummary--eliminated":n(m.reference,h-1)}])},c.toDisplayString(t(m.reference,h-1)),3))),128))],64)):c.createCommentVNode("",!0)]))),128)),c.createElementVNode("tr",null,[c.createElementVNode("td",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.transfered_votes")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.rounds.length,m=>(c.openBlock(),c.createElementBlock("td",{key:`instant_runoff_seat_${e.seatNumber}_transferred_${m}`,class:"AVInstantRunoffSummary--text"},c.toDisplayString(e.rounds[m-1].transferred),1))),128))]),c.createElementVNode("tr",null,[c.createElementVNode("td",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.exhausted")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.rounds.length,m=>(c.openBlock(),c.createElementBlock("td",{key:`instant_runoff_seat_${e.seatNumber}_exhausted_${m}`,class:"AVInstantRunoffSummary--text AVInstantRunoffSummary--cell-text"},c.toDisplayString(e.rounds[m-1].exhausted),1))),128))])])])]),e.votesNotIncluded?(c.openBlock(),c.createElementBlock("p",x61,[c.createElementVNode("strong",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.not_included_count")),1),c.createTextVNode(" "+c.toDisplayString(e.votesNotIncluded),1)])):c.createCommentVNode("",!0),c.createElementVNode("p",S61,[c.createElementVNode("strong",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.abstain")),1),c.createTextVNode(" "+c.toDisplayString(e.blankVotes),1)]),c.createElementVNode("p",w61,[c.createElementVNode("strong",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.total_votes")),1),c.createTextVNode(" "+c.toDisplayString(e.totalVotes),1)]),c.createElementVNode("p",E61,[c.createElementVNode("strong",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.quota")),1),c.createTextVNode(" "+c.toDisplayString(e.quota),1)])])])}}});const eU=D(T61,[["__scopeId","data-v-79f2ee69"]]);var B61={},I61=c.createElementVNode("a",{href:"#"},"LOGO",-1),D61={class:"flex items-center"},P61={class:"flex flex-col items-center justify-center p-3 w-full"},O61=c.createElementVNode("h2",{class:"mb-4"},"Election Name",-1),R61=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1);function F61(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),s=c.resolveComponent("AVNavbar"),l=c.resolveComponent("AVLabel"),o=c.resolveComponent("AVTabSwitcher"),r=c.resolveComponent("AVSidebarItem"),f=c.resolveComponent("AVButton"),u=c.resolveComponent("AVSidebar"),d=c.resolveComponent("AVContent"),m=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(s,null,{default:c.withCtx(function(){return[I61,c.createElementVNode("div",D61,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(d,null,{sidebar:c.withCtx(function(){return[c.createVNode(u,null,{default:c.withCtx(function(){return[c.createElementVNode("div",P61,[O61,c.createVNode(l,{value:"draft",type:"info"})]),c.createVNode(o,{options:["Pre-election","election"]}),c.createVNode(n,{type:"sidebar"},{default:c.withCtx(function(){return[c.createVNode(r,{label:"Election Overview",icon:"grip",active:""}),c.createVNode(r,{label:"Election details",type:"step",stepIndex:"1"}),c.createVNode(r,{label:"Digital Absentee Voting Requirements",type:"step",stepIndex:"2"}),c.createVNode(r,{label:"Voting App Set Up",type:"step",stepIndex:"3"}),c.createVNode(r,{label:"Ballot Data",type:"step",stepIndex:"4"}),c.createVNode(r,{label:"Ballot Styles",type:"step",stepIndex:"5"}),c.createVNode(r,{label:"Configure Ballot Extraction",type:"step",stepIndex:"6"}),c.createVNode(r,{label:"Start Ballot Box Set Up",icon:"download"}),c.createVNode(r,{label:"Finish Ballot Box Set Up",icon:"handshake-simple",disabled:""})]}),_:1}),c.createVNode(f,{type:"primary",label:"Create election",fullWidth:""})]}),_:1})]}),content:c.withCtx(function(){return[R61]}),_:1}),c.createVNode(m)],64)}const cU=D(B61,[["render",F61]]);var j61={},q61=c.createElementVNode("a",{href:"#"},"LOGO",-1),$61={class:"flex items-center"},U61={class:"flex flex-col items-center justify-center p-3 w-full"},W61=c.createElementVNode("h2",{class:"mb-4"},"Election Name",-1),G61=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1),J61=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1);function Z61(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),s=c.resolveComponent("AVNavbar"),l=c.resolveComponent("AVLabel"),o=c.resolveComponent("AVTabSwitcher"),r=c.resolveComponent("AVSidebarItem"),f=c.resolveComponent("AVButton"),u=c.resolveComponent("AVSidebar"),d=c.resolveComponent("AVContent"),m=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(s,null,{default:c.withCtx(function(){return[q61,c.createElementVNode("div",$61,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(d,null,{sidebar:c.withCtx(function(){return[c.createVNode(u,null,{default:c.withCtx(function(){return[c.createElementVNode("div",U61,[W61,c.createVNode(l,{value:"draft",type:"info"})]),c.createVNode(o,{options:["Pre-election","election"]}),c.createVNode(n,{type:"sidebar"},{default:c.withCtx(function(){return[c.createVNode(r,{label:"Election Overview",icon:"grip",active:""}),c.createVNode(r,{label:"Election details",type:"step",stepIndex:"1"}),c.createVNode(r,{label:"Digital Absentee Voting Requirements",type:"step",stepIndex:"2"}),c.createVNode(r,{label:"Voting App Set Up",type:"step",stepIndex:"3"}),c.createVNode(r,{label:"Ballot Data",type:"step",stepIndex:"4"}),c.createVNode(r,{label:"Ballot Styles",type:"step",stepIndex:"5"}),c.createVNode(r,{label:"Configure Ballot Extraction",type:"step",stepIndex:"6"}),c.createVNode(r,{label:"Start Ballot Box Set Up",icon:"download"}),c.createVNode(r,{label:"Finish Ballot Box Set Up",icon:"handshake-simple",disabled:""})]}),_:1}),c.createVNode(f,{type:"primary",label:"Create election",fullWidth:""})]}),_:1})]}),content:c.withCtx(function(){return[G61,J61]}),_:1}),c.createVNode(m)],64)}const aU=D(j61,[["render",Z61]]);var Y61={},Q61=c.createElementVNode("a",{href:"#"},"LOGO",-1),K61={class:"flex items-center"},X61=c.createElementVNode("div",null,[c.createElementVNode("h1",null,"Content goes here"),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. ")],-1);function e81(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),s=c.resolveComponent("AVNavbar"),l=c.resolveComponent("AVContent"),o=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(s,null,{default:c.withCtx(function(){return[Q61,c.createElementVNode("div",K61,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(l,null,{content:c.withCtx(function(){return[X61]}),_:1}),c.createVNode(o,{enableSteps:"",steps:["Check my ballot","Ballot Found","Verify Passkey","Review Unsealed Ballot","Finish"],done:["Check my ballot","Ballot Found"],active:"Verify Passkey"})],64)}const tU=D(Y61,[["render",e81]]),y6=e=>(c.pushScopeId("data-v-20fc858f"),e=e(),c.popScopeId(),e),c81=y6(()=>c.createElementVNode("a",{href:"#"},"LOGO",-1)),a81={class:"flex items-center"},t81={href:"/new"},n81=y6(()=>c.createElementVNode("div",{class:"new-election-title-container"},[c.createElementVNode("span",{class:"new-election-title","data-test":"title"},"Create new election")],-1)),i81={class:"new-election-button"},s81={key:0,class:"no-elections-container"},l81=y6(()=>c.createElementVNode("span",{class:"no-elections-title","data-test":"title"},"Your dashboard is empty",-1)),o81=y6(()=>c.createElementVNode("span",{class:"no-elections-text","data-test":"title"},"Once you create new elections you will see them displayed in this dashboard.",-1)),r81=c.defineComponent({__name:"ElectionDashboardLayout",setup(e){const a=[{id:"DV-1",name:"General Election 1",status:"draft",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-2",name:"General Election 2",status:"open",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-3",name:"General Election 3",status:"closed",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-4",name:"General Election 4",status:"archived",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"}];return(t,n)=>{const i=c.resolveComponent("AVNavbarItem"),s=c.resolveComponent("AVNavigationItemList"),l=c.resolveComponent("AVMenuDropdown"),o=c.resolveComponent("AVNavbar"),r=c.resolveComponent("AVIcon"),f=c.resolveComponent("AVCard"),u=c.resolveComponent("AVElectionCard"),d=c.resolveComponent("AVContent"),m=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(o,null,{default:c.withCtx(()=>[c81,c.createElementVNode("div",a81,[c.createVNode(s,{type:"navbar"},{default:c.withCtx(()=>[c.createVNode(i,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(i,{label:"Admins",icon:"user-shield",href:"#"})]),_:1}),c.createVNode(l,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]),_:1}),c.createVNode(d,null,{content:c.withCtx(()=>[c.createVNode(f,{variant:"jumbotron",class:"dashboard-container"},{default:c.withCtx(()=>[c.createElementVNode("a",t81,[c.createVNode(f,{variant:"rounded",role:"button"},{default:c.withCtx(()=>[n81,c.createElementVNode("div",i81,[c.createVNode(r,{icon:"fa-solid fa-circle-plus",class:"new-election-icon"})])]),_:1})]),a.length===0?(c.openBlock(),c.createElementBlock("div",s81,[c.createVNode(r,{icon:"fa-solid fa-folder-open",class:"no-elections-icon"}),l81,o81])):c.createCommentVNode("",!0),(c.openBlock(),c.createElementBlock(c.Fragment,null,c.renderList(a,p=>c.createVNode(u,{key:p.id,id:p.id,name:p.name,status:p.status,countyNameLabel:p.countyNameLabel,countyName:p.countyName,createdAtLabel:p.createdAtLabel,createdAt:p.createdAt,lastUpdatedLabel:p.lastUpdatedLabel,lastUpdated:p.lastUpdated,href:p.href},null,8,["id","name","status","countyNameLabel","countyName","createdAtLabel","createdAt","lastUpdatedLabel","lastUpdated","href"])),64))]),_:1})]),_:1}),c.createVNode(m)],64)}}});const nU=D(r81,[["__scopeId","data-v-20fc858f"]]),f81={install:function(e,a){a===void 0&&(a=null),e.use(aZ),e.component("AVIcon",Dq),e.component("AVButton",Pq),e.component("AVSpinner",Oq),e.component("AVBullet",V4),e.component("AVTextInput",Rq),e.component("AVNumberInput",Fq),e.component("AVPasswordInput",jq),e.component("AVDatetimeInput",qq),e.component("AVTextArea",$q),e.component("AVCard",Wq),e.component("AVRoundButton",Gq),e.component("AVLabel",Uq),e.component("AVDropdown",Jq),e.component("AVDropdownContent",Zq),e.component("AVDropdownItem",Yq),e.component("AVAlert",Qq),e.component("AVFileInput",Kq),e.component("AVRadio",Xq),e.component("AVLink",e$),e.component("AVNavbarItem",c$),e.component("AVSidebarItem",a$),e.component("AVTooltip",t$),e.component("AVMenuDropdown",n$),e.component("AVMenuDropdownContent",i$),e.component("AVMenuDropdownItem",s$),e.component("AVAsyncButton",l$),e.component("AVTabSwitcher",o$),e.component("AVBallotSummary",r$),e.component("AVTimedCard",f$),e.component("AVBasicSteps",u$),e.component("AVSteps",m$),e.component("AVOptionSelect",p$),e.component("AVOptionCheckbox",v$),e.component("AVTransitionSlide",h$),e.component("AVCollapser",z$),e.component("AVLinkVisualizer",V$),e.component("AVVerticalStep",TX),e.component("AVAnimatedMenuButton",RX),e.component("AVProgressBar",g$),e.component("AVWaitingDots",M$),e.component("AVRadioGroup",C$),e.component("AVNavigationItemList",H$),e.component("AVBreadcrumb",b$),e.component("AVElectionCard",A$),e.component("AVBallotStyleCard",L$),e.component("AVSummaryOption",_$),e.component("AVOption",y$),e.component("AVBlankOption",S$),e.component("AVWriteInOption",w$),e.component("AVSubmissionHelper",E$),e.component("AVSearchBallot",T$),e.component("AVSplitWeightHelper",B$),e.component("AVSplitWizardHeader",I$),e.component("AVElectaContestCard",D$),e.component("AVResultOption",P$),e.component("AVFooter",O$),e.component("AVSidebar",R$),e.component("AVNavbar",F$),e.component("AVContent",j$),e.component("AVModal",q$),e.component("AVBallot",W$),e.component("AVPileSummary",G$),e.component("AVSplitHelper",Z$),e.component("AVResourceSection",Y$),e.component("AVCalculateResultContent",Q$),e.component("AVNormalSummary",K$),e.component("AVRankedSummary",X$),e.component("AVInstantRunoffSummary",eU),e.component("OneColumnLayout",cU),e.component("TwoColumnsLayout",aU),e.component("NoSidebarLayout",tU),e.component("ElectionDashboardLayout",nU),e.provide("i18n",a||rs),e.provide("iconNames",Pj)}};exports.AVAlert=Qq;exports.AVAsyncButton=l$;exports.AVBallot=W$;exports.AVBallotStyleCard=L$;exports.AVBallotSummary=r$;exports.AVBasicSteps=u$;exports.AVBlankOption=S$;exports.AVBreadcrumb=b$;exports.AVBullet=V4;exports.AVButton=Pq;exports.AVCalculateResultContent=Q$;exports.AVCard=Wq;exports.AVCollapser=z$;exports.AVContent=j$;exports.AVDatetimeInput=qq;exports.AVDropdown=Jq;exports.AVDropdownContent=Zq;exports.AVDropdownItem=Yq;exports.AVElectaContestCard=D$;exports.AVElectionCard=A$;exports.AVFileInput=Kq;exports.AVFooter=O$;exports.AVIcon=Dq;exports.AVInstantRunoffSummary=eU;exports.AVLabel=Uq;exports.AVLink=e$;exports.AVLinkVisualizer=V$;exports.AVMenuDropdown=n$;exports.AVMenuDropdownContent=i$;exports.AVMenuDropdownItem=s$;exports.AVModal=q$;exports.AVNavbar=F$;exports.AVNavbarItem=c$;exports.AVNavigationItemList=H$;exports.AVNormalSummary=K$;exports.AVNumberInput=Fq;exports.AVOption=y$;exports.AVOptionCheckbox=v$;exports.AVOptionSelect=p$;exports.AVPasswordInput=jq;exports.AVPileSummary=G$;exports.AVProgressBar=g$;exports.AVRadio=Xq;exports.AVRadioGroup=C$;exports.AVRankedSummary=X$;exports.AVResourceSection=Y$;exports.AVResultOption=P$;exports.AVRoundButton=Gq;exports.AVSearchBallot=T$;exports.AVSidebar=R$;exports.AVSidebarItem=a$;exports.AVSpinner=Oq;exports.AVSplitHelper=Z$;exports.AVSplitWeightHelper=B$;exports.AVSplitWizardHeader=I$;exports.AVSteps=m$;exports.AVSubmissionHelper=E$;exports.AVSummaryOption=_$;exports.AVTabSwitcher=o$;exports.AVTextArea=$q;exports.AVTextInput=Rq;exports.AVTimedCard=f$;exports.AVTooltip=t$;exports.AVTransitionSlide=h$;exports.AVWaitingDots=M$;exports.AVWriteInOption=w$;exports.ElectionDashboardLayout=nU;exports.NoSidebarLayout=tU;exports.OneColumnLayout=cU;exports.TwoColumnsLayout=aU;exports.default=f81;exports.iconNames=Pj;
786
+ `;return(n,i)=>(c.openBlock(),c.createElementBlock("span",{class:c.normalizeClass(t)},c.toDisplayString(e.value),1))}});const Uq=D(bQ,[["__scopeId","data-v-ee7ab830"]]),AQ=c.defineComponent({__name:"AVCard",props:{variant:{type:String,default:"default",validate:e=>["rounded","default","jumbotron","jumbotron-electa","rounded-electa"].includes(e)}},setup(e){return(a,t)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVCard--${e.variant}`)},[c.renderSlot(a.$slots,"default",{},void 0,!0)],2))}});const Wq=D(AQ,[["__scopeId","data-v-79187531"]]),LQ=c.defineComponent({__name:"AVRoundButton",props:{icon:{type:String,default:"bolt",required:!0}},emits:["onClick"],setup(e,{emit:a}){const t=a,n=()=>{t("onClick")};return(i,s)=>{const l=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("button",{type:"button",class:"AVRoundButton","data-test":"round-btn",onClick:n},[c.createVNode(l,{icon:`fa-solid fa-${e.icon}`,class:"icon-left","data-test":"btn-icon"},null,8,["icon"])])}}});const Gq=D(LQ,[["__scopeId","data-v-6caf6a51"]]),_Q={class:"AVDropdown--input-set"},kQ=["for"],NQ=["id","disabled","aria-expanded","aria-label"],yQ={key:0,class:"AVDropdown--icon-container"},xQ={key:1,class:"AVDropdown--placeholder"},SQ=["textContent"],wQ={class:"AVDropdown--icon-container"},EQ={key:1,class:"AVDropdown--error","data-test":"error-msg"},TQ=c.defineComponent({__name:"AVDropdown",props:{id:{type:String,required:!0},modelValue:{type:String,default:""},options:{type:Array,required:!0},placeholder:{type:String,default:"placeholder"},icon:{type:String,default:null},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,n=a,i=c.reactive({active:!1,customWidth:null,id:null}),s=c.computed(()=>t.options.map(f=>typeof f=="string"?{label:f,value:f}:f)),l=c.computed(()=>s.value.find(f=>f.value===t.modelValue));c.onMounted(()=>{i.id=t.id});const o=f=>{n("update:modelValue",f)};c.provide("sharedState",i);const r=()=>{t.disabled||(i.active=!i.active)};return(f,u)=>{const d=c.resolveComponent("AVIcon"),m=c.resolveComponent("AVDropdownItem"),p=c.resolveComponent("AVDropdownContent"),h=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",_Q,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVDropdown--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(d,{key:0,icon:"circle-question",class:"AVDropdown--tooltip-icon"},null,512)),[[h,e.tooltipText]]):c.createCommentVNode("",!0)])],8,kQ)):c.createCommentVNode("",!0),c.createElementVNode("div",{onClick:r,class:"AVDropdown"},[c.createElementVNode("button",{id:e.id,class:c.normalizeClass(["AVDropdown--button",{error:e.error,"no-icon":!e.icon,disabled:e.disabled}]),disabled:e.disabled,"aria-haspopup":"true","aria-expanded":i.active||null,"data-toggle":"dropdown",type:"button","aria-label":e.inputLabel},[e.icon?(c.openBlock(),c.createElementBlock("span",yQ,[c.createVNode(d,{icon:`fa-solid fa-${e.icon}`,class:"AVDropdown--input-icon","data-test":"input-icon"},null,8,["icon"])])):c.createCommentVNode("",!0),l.value===void 0?(c.openBlock(),c.createElementBlock("span",xQ,c.toDisplayString(e.placeholder),1)):(c.openBlock(),c.createElementBlock("span",{key:2,class:"AVDropdown--selected-option",textContent:c.toDisplayString(l.value.label)},null,8,SQ)),c.createElementVNode("span",wQ,[c.createVNode(d,{icon:`fa-solid fa-${i.active?"caret-down":"caret-right"}`,class:"AVDropdown--selector-icon","data-test":"selector-icon"},null,8,["icon"])])],10,NQ),c.createVNode(p,null,{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.value,M=>(c.openBlock(),c.createBlock(m,{key:M,optionLabel:M.label,onOnSelected:C=>o(M.value),"data-test":"option"},null,8,["optionLabel","onOnSelected"]))),128))]),_:1})]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",EQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Jq=D(TQ,[["__scopeId","data-v-09756cc6"]]),BQ=["aria-labelledby"],IQ=c.defineComponent({__name:"AVDropdownContent",setup(e){const a=c.inject("sharedState"),t=c.computed(()=>a.active),n=c.computed(()=>a.id);return(i,s)=>(c.openBlock(),c.createBlock(c.Transition,{name:"dropdown-content"},{default:c.withCtx(()=>[t.value?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVDropdownContent","aria-labelledby":n.value},[c.renderSlot(i.$slots,"default",{},void 0,!0)],8,BQ)):c.createCommentVNode("",!0)]),_:3}))}});const Zq=D(IQ,[["__scopeId","data-v-e2058f66"]]),DQ=c.defineComponent({__name:"AVDropdownItem",props:{optionLabel:{type:String,required:!0}},emits:["onSelected"],setup(e,{emit:a}){const t=a,n=()=>{t("onSelected")};return(i,s)=>(c.openBlock(),c.createElementBlock("a",{class:"AVDropdownItem",onClick:n},c.toDisplayString(e.optionLabel),1))}});const Yq=D(DQ,[["__scopeId","data-v-2ca0bff3"]]),PQ={key:0,class:"AVAlert--header","data-test":"alert-header"},OQ={class:"AVAlert--title-container"},RQ={key:0,class:"AVAlert--icon-container"},FQ={class:"AVAlert--title"},jQ=c.defineComponent({__name:"AVAlert",props:{type:{type:String,validate:e=>["info","success","danger","warning"].includes(e),default:"info"},title:{type:String,default:""},icon:{type:String,default:""},disableIcon:{type:Boolean,default:!1},disableHeader:{type:Boolean,default:!1},disableDismiss:{type:Boolean,default:!1},customWidth:{type:Number,default:null},timeout:{type:String,default:null}},emits:["dismiss"],setup(e,{emit:a}){const t=e,n=a,i=()=>{n("dismiss")};c.onMounted(()=>{t.timeout&&setTimeout(()=>{i()},Number.parseInt(t.timeout))});const s={info:"Information",success:"Success",danger:"Danger",warning:"Warning"},l={info:"circle-info",success:"circle-check",danger:"circle-xmark",warning:"circle-exclamation"};return(o,r)=>{const f=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVAlert AVAlert--${e.type}`),style:c.normalizeStyle(e.customWidth&&`width: ${e.customWidth}px`),"data-test":"alert"},[e.disableHeader?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",PQ,[c.createElementVNode("div",OQ,[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",RQ,[c.createVNode(f,{icon:`fa-solid fa-${e.icon!==""?e.icon:l[e.type]}`,"data-test":"alert-icon"},null,8,["icon"])])),c.createElementVNode("span",FQ,c.toDisplayString(e.title!==""?e.title:s[e.type]),1)]),e.disableDismiss?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVAlert--icon-container",onClick:i},[c.createVNode(f,{icon:"fa-solid fa-xmark",class:"AVAlert--icon-dismiss","data-test":"alert-icon-dismiss"})]))])),c.renderSlot(o.$slots,"default",{},void 0,!0)],6)}}});const Qq=D(jQ,[["__scopeId","data-v-0cc3f6d1"]]),qQ={class:"AVFileInput--input-set"},$Q=["for"],UQ=["for"],WQ=["multiple","name","id","accept","disabled"],GQ={class:"AVFileInput--icon-container"},JQ={class:"AVFileInput--dragdroptext"},ZQ={key:0},YQ={class:"AVFileInput--dragdroptext-primary"},QQ={key:1},KQ={class:"AVFileInput--dragdroptext-primary"},XQ={class:"AVFileInput--dragdroptext-secondary"},eK={key:1,class:"AVFileInput--accepted"},cK={class:"AVFileInput--accepted-muted"},aK={key:2,class:"AVFileInput--preview-container"},tK={class:"AVFileInput--label mt-3"},nK={class:"AVFileInput--header"},iK={class:"AVTextInput--preview"},sK=["src"],lK={class:"AVFileInput--preview-text"},oK=["onClick"],rK={key:3,class:"AVFileInput--preview-container"},fK={class:"AVFileInput--label mt-3"},uK=["src","alt"],mK={key:1,class:"AVFileInput--preview-card"},dK={class:"AVFileInput--header"},pK={class:"AVTextInput--preview"},vK={class:"AVFileInput--preview-text"},hK=["onClick"],zK={key:4,class:"AVFileInput--error","data-test":"error-msg"},VK=c.defineComponent({__name:"AVFileInput",props:{id:{type:String,required:!0},value:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},inputLabel:{type:String,default:"Input label"},disableLabel:{type:Boolean,default:!1},accept:{type:String,required:!0},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},showPreview:{type:Boolean,default:!1},tooltipText:{type:String,default:null},locale:{type:String,default:null},disableAcceptedFormats:{type:Boolean,default:!1},currentValue:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1},customOpenMethod:{type:Array,default:null}},emits:["update","fileFormatNotAccepted","download"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,s=c.ref(!1),l=c.ref(null),o=c.ref([]);c.onMounted(()=>{if(i.locale&&G(i.locale),i.value&&(o.value=i.value),i.customOpenMethod!==null){const[H,N]=i.customOpenMethod;l.value.onclick=async k=>{k.preventDefault();const A=await H({multiple:!1,directory:!1,filters:[{name:"Trustee key",extensions:["trustee-key"]}]});if(A!==null){const w=A.split("/").pop(),F=JSON.stringify(await N("read_local_file_content",{filePath:A})),x=new Blob([F],{type:"plain/text"}),$=new File([x],w);o.value.push($),r("update",o.value)}}}}),c.watch(()=>i.locale,()=>{i.locale&&G(i.locale)},{deep:!0});const r=a,f=()=>{o.value=[...l.value.files],r("update",o.value)},u=H=>{H.preventDefault(),!i.disabled&&(s.value=!0)},d=()=>{s.value=!1},m=H=>{const N=Array.from(H),k=new DataTransfer;for(let A of N){const w=A.name.split(".").pop();if(M.value.includes(`.${w.toLowerCase()}`)){const x=new File([A],A.name,{type:A.type,lastModified:A.lastModified});k.items.add(x)}else r("fileFormatNotAccepted",A.name)}return k.files},p=c.computed(()=>i.accept.split(",")),h=c.computed(()=>i.accept.split(",").join(", ")),M=c.computed(()=>p.value.map(H=>H.toLocaleLowerCase())),C=H=>{const N=Math.round(H/1024),k=Math.round(N/1024),A=Math.round(k/1024);switch(!0){case!!A:return`${A}Gb`;case!!k:return`${k}Mb`;case!!N:return`${N}Kb`;default:return`${H}b`}},b=H=>H.split("/").pop(),g=H=>{if(H.preventDefault(),!i.disabled){if(l.value.files=m(Array.from(H.dataTransfer.files)),!l.value.files.length){s.value=!1;return}o.value=i.multiple?[...l.value.files]:[l.value.files[0]],r("update",o.value),s.value=!1}},z=H=>{o.value.splice(H,1),r("update",o.value)},L=H=>{const N=URL.createObjectURL(H);return setTimeout(()=>{URL.revokeObjectURL(N)},1e3),N},_=H=>{r("download",H)};return(H,N)=>{const k=c.resolveComponent("AVIcon"),A=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",qQ,[e.disableLabel?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVFileInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(k,{key:0,icon:"circle-question",class:"AVFileInput--tooltip-icon"},null,512)),[[A,e.tooltipText]]):c.createCommentVNode("",!0)])],8,$Q)),c.createElementVNode("label",{for:e.id,class:c.normalizeClass(["AVFileInput--dropzone-container",{error:e.error,disabled:e.disabled}]),onDragover:u,onDragleave:d,onDrop:g},[c.createElementVNode("input",{type:"file",multiple:e.multiple,name:e.id,id:e.id,class:"AVFileInput-hidden-input",onChange:f,ref_key:"fileInput",ref:l,accept:e.accept,disabled:e.disabled},null,40,WQ),c.createElementVNode("div",GQ,[c.createVNode(k,{icon:"fa-solid fa-cloud-arrow-up",class:"AVFileInput--input-icon","data-test":"input-icon"})]),c.createElementVNode("div",JQ,[s.value?(c.openBlock(),c.createElementBlock("div",ZQ,[c.createElementVNode("div",YQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.release")),1)])):(c.openBlock(),c.createElementBlock("div",QQ,[c.createElementVNode("div",KQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.primary")),1),c.createElementVNode("div",XQ,[c.createTextVNode(c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.start"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.strong")),1),c.createTextVNode(" "+c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.end")),1)])]))])],42,UQ),e.disableAcceptedFormats?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("p",eK,[c.createTextVNode(c.toDisplayString(c.unref(n)("js.components.AVFileInput.acceptedFormats"))+" ",1),c.createElementVNode("em",cK,c.toDisplayString(h.value),1)])),o.value.length?(c.openBlock(),c.createElementBlock("div",aK,[c.createElementVNode("p",tK,c.toDisplayString(c.unref(n)("js.components.AVFileInput.uploading")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.value,w=>(c.openBlock(),c.createElementBlock("div",{key:w.name,class:c.normalizeClass(["AVFileInput--preview-card",{error:e.error}])},[c.createElementVNode("div",nK,[c.createElementVNode("div",iK,[e.showPreview?(c.openBlock(),c.createElementBlock("img",{key:0,class:"AVFileInput--preview-img",src:L(w)},null,8,sK)):(c.openBlock(),c.createBlock(k,{key:1,icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"}))]),c.createElementVNode("p",lK,[c.createTextVNode(c.toDisplayString(w.name)+" ",1),c.createElementVNode("em",null,c.toDisplayString(C(w.size)),1)])]),e.disabled?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVTextInput--delete-btn",type:"button",onClick:F=>z(o.value.indexOf(w)),title:"Remove file"},[c.createVNode(k,{icon:"fa-solid fa-trash",class:"AVTextInput--delete-icon","data-test":"file-preview-icon"})],8,oK))],2))),128))])):c.createCommentVNode("",!0),e.currentValue.length?(c.openBlock(),c.createElementBlock("div",rK,[c.createElementVNode("p",fK,c.toDisplayString(c.unref(n)("js.components.AVFileInput.current")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.currentValue,w=>(c.openBlock(),c.createElementBlock("div",{key:`image-${w}`},[e.showPreview?(c.openBlock(),c.createElementBlock("img",{key:0,class:"AVFileInput--current-img",src:w,alt:c.unref(n)("js.components.AVFileInput.alt_preview")},null,8,uK)):(c.openBlock(),c.createElementBlock("div",mK,[c.createElementVNode("div",dK,[c.createElementVNode("div",pK,[c.createVNode(k,{icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"})]),c.createElementVNode("p",vK,c.toDisplayString(b(w)),1)]),c.createElementVNode("button",{class:"AVTextInput--delete-btn",type:"button",title:"Download file",onClick:F=>_(w)},[c.createVNode(k,{icon:"fa-solid fa-download",class:"AVTextInput--download-icon","data-test":"file-download-icon"})],8,hK)]))]))),128))])):c.createCommentVNode("",!0),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",zK,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Kq=D(VK,[["__scopeId","data-v-d0e51bd2"]]),gK=e=>(c.pushScopeId("data-v-065c2914"),e=e(),c.popScopeId(),e),MK=["for"],CK=["id","checked","disabled"],HK=gK(()=>c.createElementVNode("span",{class:"AVRadio--mark"},null,-1)),bK=c.defineComponent({__name:"AVRadio",props:{id:{type:String,required:!0},disabled:{type:Boolean,default:!1},value:{type:String,required:!0},checked:{type:Boolean,default:!1}},emits:["update"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1);c.onMounted(()=>{t.checked&&(i.value=t.checked)});const s=()=>{i.value=!i.value,l()},l=()=>{n("update",t.value,i.value)};return c.watch(()=>t.checked,()=>{i.value=t.checked}),(o,r)=>(c.openBlock(),c.createElementBlock("label",{for:e.id,class:c.normalizeClass(["AVRadio",{disabled:e.disabled}])},[c.createElementVNode("input",{type:"radio",id:e.id,checked:i.value,onChange:s,disabled:e.disabled},null,40,CK),HK,c.createTextVNode(" "+c.toDisplayString(e.value),1)],10,MK))}});const Xq=D(bK,[["__scopeId","data-v-065c2914"]]),AK=["href","referrerpolicy","rel","target"],LK=c.defineComponent({__name:"AVLink",props:{label:{type:String,default:"Link"},disableIcon:{type:Boolean,default:!1},href:{type:String,required:!0},referrerpolicy:{type:String,validate:e=>["no-referrer","no-referrer-when-downgrade","origin","origin-when-cross-origin","same-origin","strict-origin-when-cross-origin","unsafe-url"].includes(e),default:"no-referrer"},rel:{type:String,validate:e=>["alternate","author","bookmark","external","help","license","next","nofollow","noreferrer","noopener","prev","search","tag"].includes(e),default:"external"},target:{type:String,validate:e=>["_blank","_parent","_self","_top"].includes(e),default:"_blank"},variant:{type:String,validate:e=>["default","dbas"].includes(e),default:"default"}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("a",{href:e.href,referrerpolicy:e.referrerpolicy,rel:e.rel,target:e.target,class:c.normalizeClass(`AVLink AVLink--${e.variant}`)},[c.createElementVNode("span",null,c.toDisplayString(e.label),1),e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(n,{key:0,icon:"fa-solid fa-arrow-up-right-from-square",class:"AVLink--icon","data-test":"link-icon"}))],10,AK)}}});const e$=D(LK,[["__scopeId","data-v-999075bc"]]),_K=["href","target"],kK={class:"AVNavbarItem--text"},NK=["disabled"],yK={class:"AVNavbarItem--text"},xK=c.defineComponent({__name:"AVNavbarItem",props:{label:{type:String,default:"Item"},reference:{type:String,default:null},icon:{type:String,default:"bolt"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},href:{type:String,default:null},disableIcon:{type:Boolean,default:!1},customWidth:{type:Number,default:180},target:{type:String,validate:e=>["_blank"].includes(e),default:"_self"}},emits:["onClick"],setup(e,{emit:a}){const t=e,n=a,i=c.computed(()=>t.href?"link":"button"),s=c.computed(()=>t.disabled?null:t.href),l=()=>{n("onClick",t.reference)};return(o,r)=>{const f=c.resolveComponent("AVIcon");return i.value==="link"?(c.openBlock(),c.createElementBlock("a",{key:0,href:s.value,class:c.normalizeClass(["AVNavbarItem",{"AVNavbarItem--active":e.active,disabled:e.disabled}]),target:e.target,style:c.normalizeStyle(`width: ${e.customWidth}px`)},[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(f,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVNavbarItem--icon"},null,8,["icon"])),c.createElementVNode("span",kK,c.toDisplayString(e.label),1)],14,_K)):(c.openBlock(),c.createElementBlock("button",{key:1,class:c.normalizeClass(["AVNavbarItem",{"AVNavbarItem--active":e.active,disabled:e.disabled}]),style:c.normalizeStyle(`width: ${e.customWidth}px`),disabled:e.disabled,onClick:l},[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(f,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVNavbarItem--icon"},null,8,["icon"])),c.createElementVNode("span",yK,c.toDisplayString(e.label),1)],14,NK))}}});const c$=D(xK,[["__scopeId","data-v-00ff3c9d"]]),SK=["href","target","aria-label"],wK={class:"AVSidebarItem--text","aria-hidden":"true"},EK=["disabled","aria-label"],TK={class:"AVSidebarItem--text","aria-hidden":"true"},BK=c.defineComponent({__name:"AVSidebarItem",props:{label:{type:String,default:"Item"},type:{type:String,validate:e=>["step","item"].includes(e),default:"item"},stepIndex:{type:String,validate:e=>e.length===1,default:"1"},reference:{type:String,default:null},icon:{type:String,default:"bolt"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},href:{type:String,default:null},target:{type:String,validate:e=>["_blank"].includes(e),default:"_self"}},emits:["onClick"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1),s=c.computed(()=>t.href?"link":"button"),l=c.computed(()=>t.disabled?null:t.href),o=c.computed(()=>t.type==="step"?"number":"icon"),r=c.computed(()=>t.type==="step"?t.stepIndex:t.icon),f=()=>{t.disabled||(i.value=!i.value)},u=()=>{n("onClick",t.reference)};return(d,m)=>s.value==="link"?(c.openBlock(),c.createElementBlock("a",{key:0,href:l.value,class:c.normalizeClass(["AVSidebarItem",{"AVSidebarItem--active":e.active,disabled:e.disabled}]),target:e.target,onMouseenter:f,onMouseleave:f,"aria-label":e.label,role:"button"},[c.createVNode(c.unref(V4),{type:o.value,active:e.active,value:r.value,hover:i.value,"aria-hidden":"true"},null,8,["type","active","value","hover"]),c.createElementVNode("span",wK,c.toDisplayString(e.label),1)],42,SK)):(c.openBlock(),c.createElementBlock("button",{key:1,class:c.normalizeClass(["AVSidebarItem",{"AVSidebarItem--active":e.active,disabled:e.disabled}]),disabled:e.disabled,onClick:u,onMouseenter:f,onMouseleave:f,"aria-label":e.label},[c.createVNode(c.unref(V4),{type:o.value,active:e.active,value:r.value,hover:i.value,"aria-hidden":"true"},null,8,["type","active","value","hover"]),c.createElementVNode("span",TK,c.toDisplayString(e.label),1)],42,EK))}});const a$=D(BK,[["__scopeId","data-v-3e891e66"]]),IK={class:"AVTooltip--wrapper"},DK={key:0,class:"AVTooltip--text"},PK=c.defineComponent({__name:"AVTooltip",props:{text:{type:String,default:()=>null},content:{type:String,required:!0},position:{type:String,validate:e=>["auto","auto-start","auto-end","top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"].includes(e),default:"auto"},icon:{type:String,default:()=>null},disabled:{type:Boolean,default:()=>!1},options:{type:Object,default:()=>{}}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon"),i=c.resolveDirective("tooltip");return c.withDirectives((c.openBlock(),c.createElementBlock("span",IK,[e.text?(c.openBlock(),c.createElementBlock("span",DK,c.toDisplayString(e.text),1)):c.renderSlot(a.$slots,"text",{key:1},void 0,!0),e.icon?(c.openBlock(),c.createBlock(n,{key:2,icon:e.icon,class:"AVTooltip--icon","aria-hidden":"true"},null,8,["icon"])):c.createCommentVNode("",!0)])),[[i,{content:e.content,placement:e.position,disabled:e.disabled,...e.options}]])}}});const t$=D(PK,[["__scopeId","data-v-3d675f68"]]),OK={class:"AVMenuDropdown"},RK=["id","aria-expanded","aria-label"],FK=c.defineComponent({__name:"AVMenuDropdown",props:{icon:{type:String,default:"bolt"},options:{type:Array,required:!0},ariaLabel:{type:String,required:!0},id:{type:String,required:!0}},setup(e){const a=e,t=c.reactive({active:!1,id:null});c.onMounted(()=>{t.id=a.id});const n=()=>{t.active=!t.active};return c.provide("sharedState",t),(i,s)=>{const l=c.resolveComponent("AVIcon"),o=c.resolveComponent("AVMenuDropdownItem"),r=c.resolveComponent("AVMenuDropdownContent");return c.openBlock(),c.createElementBlock("div",OK,[c.createElementVNode("button",{class:"AVMenuDropdown--button",onClick:n,id:e.id,"aria-haspopup":"true","aria-expanded":t.active||"false","data-toggle":"dropdown",type:"button","aria-label":e.ariaLabel},[t.active?(c.openBlock(),c.createBlock(l,{key:1,icon:"fa-solid fa-xmark",class:"AVMenuDropdown--icon","data-test":"main-icon"})):(c.openBlock(),c.createBlock(l,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVMenuDropdown--icon","data-test":"main-icon"},null,8,["icon"]))],8,RK),c.createVNode(r,null,{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.options,(f,u)=>(c.openBlock(),c.createBlock(o,{key:u,optionLabel:f.label,href:f.href,destructive:f.destructive,icon:f.icon,"data-test":"option"},null,8,["optionLabel","href","destructive","icon"]))),128))]),_:1})])}}});const n$=D(FK,[["__scopeId","data-v-6c23aaa1"]]),jK=["aria-labelledby"],qK=c.defineComponent({__name:"AVMenuDropdownContent",setup(e){const a=c.inject("sharedState"),t=c.computed(()=>a.active),n=c.computed(()=>a.id);return(i,s)=>(c.openBlock(),c.createBlock(c.Transition,{name:"dropdown-content"},{default:c.withCtx(()=>[t.value?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVMenuDropdownContent","aria-labelledby":n.value},[c.renderSlot(i.$slots,"default",{},void 0,!0)],8,jK)):c.createCommentVNode("",!0)]),_:3}))}});const i$=D(qK,[["__scopeId","data-v-e8fb623b"]]),$K=["href"],UK=c.defineComponent({__name:"AVMenuDropdownItem",props:{optionLabel:{type:String,required:!0},href:{type:String,required:!0},destructive:{type:Boolean,default:!1},icon:{type:String,default:null}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("a",{class:c.normalizeClass(["AVMenuDropdownItem",{"AVMenuDropdownItem--destructive":e.destructive}]),href:e.href},[e.icon?(c.openBlock(),c.createBlock(n,{key:0,class:"AVMenuDropdownItem--icon",icon:`fa-solid fa-${e.icon}`,"data-test":"option-icon"},null,8,["icon"])):c.createCommentVNode("",!0),c.createTextVNode(" "+c.toDisplayString(e.optionLabel),1)],10,$K)}}});const s$=D(UK,[["__scopeId","data-v-8513fa9b"]]),WK=["disabled"],GK={class:"AVAsyncButton--label"},JK=c.defineComponent({__name:"AVAsyncButton",props:{label:{type:String,default:""},size:{type:String,validate:e=>["small","regular","large"].includes(e),default:"regular"},variant:{type:String,validate:e=>["default","success","error"].includes(e),default:"default"},defaultIcon:{type:String,default:null},successIcon:{type:String,default:null},errorIcon:{type:String,default:null},disabled:{type:Boolean,default:!1},onClick:{type:Function,default:()=>new Promise(e=>setTimeout(e,500))}},emits:["update:waiting"],setup(e,{emit:a}){const t=a,n=e,i=c.ref(!1);c.watch(i,r=>t("update:waiting",r));const s=c.computed(()=>{if(!i.value)switch(n.variant){case"default":return n.defaultIcon;case"error":return n.errorIcon;case"success":return n.successIcon;default:return null}}),l=c.computed(()=>n.disabled||i.value);async function o(r){i.value=!0;try{await Promise.resolve(n.onClick(r))}finally{i.value=!1}}return(r,f)=>{const u=c.resolveComponent("AVIcon"),d=c.resolveComponent("AVSpinner");return c.openBlock(),c.createElementBlock("button",{disabled:l.value,onClick:o,class:c.normalizeClass(["AVAsyncButton",{[`AVAsyncButton--${e.variant}`]:e.variant,[`AVAsyncButton--${e.size}`]:e.size,"AVAsyncButton--waiting":i.value,"AVAsyncButton--disabled":!i.value&&l.value}])},[i.value?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.renderSlot(r.$slots,"waitingIcon",{},()=>[c.createVNode(d,{style:{color:"inherit",height:"1em",width:"1em"},class:"AVAsyncButton--icon","data-test":"btn-spinner"})],!0),c.renderSlot(r.$slots,"waitingLabel",{},()=>[c.createTextVNode("Working...")],!0)],64)):c.renderSlot(r.$slots,"default",{key:0},()=>[s.value?(c.openBlock(),c.createBlock(u,{key:0,icon:s.value,class:"AVAsyncButton--icon","data-test":"btn-icon"},null,8,["icon"])):c.createCommentVNode("",!0),c.createElementVNode("span",GK,c.toDisplayString(e.label),1)],!0)],10,WK)}}});const l$=D(JK,[["__scopeId","data-v-7439a7ec"]]),ZK={class:"AVTabSwitcher"},YK=["disabled","onClick"],QK=c.defineComponent({__name:"AVTabSwitcher",props:{options:{type:Array,required:!0,validate:e=>e.length>2&&e.length<3},selected:{type:String,default:null},disabled:{type:Array,default:null,validate:e=>e.length>1&&e.length<2}},emits:["update"],setup(e,{emit:a}){const t=e,n=c.ref([]),i=c.ref(""),s=c.computed(()=>t.options.length===2?"AVTabSwitcher--double":"AVTabSwitcher--triple");c.onMounted(()=>l());const l=()=>{n.value=[],t.options.map(m=>n.value.push({value:m,selected:!1})),t.selected?o(t.selected):n.value[0].selected=!0,t.disabled&&r()},o=m=>{n.value.map(p=>{p.value===m?(p.selected=!0,i.value=p.value):p.selected=!1})},r=()=>{if(n.value.map(m=>m.disabled=!1),t.disabled)n.value.map(m=>{t.disabled.map(p=>p===m.value?m.disabled=!0:m)});else return},f=a,u=m=>{o(m),d()},d=()=>{f("update",i.value,n.value)};return c.watch(()=>t.options,()=>l()),c.watch(()=>t.selected,()=>{i.value=t.selected,o(t.selected)}),c.watch(()=>t.disabled,()=>r()),(m,p)=>(c.openBlock(),c.createElementBlock("div",ZK,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.value,h=>(c.openBlock(),c.createElementBlock("button",{key:h.value,class:c.normalizeClass(`AVTabSwitcher--button ${s.value} ${h.selected?"AVTabSwitcher--button-active":""} ${h.disabled?"disabled":""}`),disabled:h.disabled,onClick:M=>u(h.value)},c.toDisplayString(h.value),11,YK))),128))]))}});const o$=D(QK,[["__scopeId","data-v-3c4a2127"]]),KK={class:"AVBallotSummary"},XK={class:"AVBallotSummary--name-column"},eX={class:"AVBallotSummary--status-column"},cX=c.defineComponent({__name:"AVBallotSummary",props:{ballotStyleName:{type:String,required:!0},readyLabel:{type:String,required:!0},waitingLabel:{type:String,required:!0},currentBallots:{type:Number,required:!0},minimumBallots:{type:Number,required:!0}},setup(e){const a=e,t=c.computed(()=>a.currentBallots>=a.minimumBallots),n=c.computed(()=>a.minimumBallots-a.currentBallots);return(i,s)=>{const l=c.resolveComponent("AVIcon"),o=c.resolveComponent("AVSpinner");return c.openBlock(),c.createElementBlock("div",KK,[c.createElementVNode("div",XK,[c.createVNode(l,{icon:`fa-solid fa-${t.value?"file-circle-check":"file-circle-minus"}`,class:c.normalizeClass(["AVBallotSummary--icon",{"AVBallotSummary--icon-ready":t.value}]),"data-test":"ballot-icon"},null,8,["icon","class"]),c.createElementVNode("span",{class:c.normalizeClass(["AVBallotSummary--ballot-name",{"AVBallotSummary--name-ready":t.value}])},c.toDisplayString(e.ballotStyleName),3)]),c.createElementVNode("div",eX,[t.value?(c.openBlock(),c.createBlock(l,{key:0,icon:"fa-solid fa-circle-check",class:"AVBallotSummary--icon AVBallotSummary--icon-ready","data-test":"ballot-status-icon"})):(c.openBlock(),c.createBlock(o,{key:1,color:"neutral","data-test":"ballot-spinner"})),c.createElementVNode("span",{class:c.normalizeClass(["AVBallotSummary--ballot-status",{"AVBallotSummary--status-ready":t.value}])},c.toDisplayString(t.value?`${e.currentBallots} ${e.readyLabel}`:`${n.value} ${e.waitingLabel}`),3)])])}}});const r$=D(cX,[["__scopeId","data-v-2d7c011c"]]),aX={class:"AVTimedCard--content","data-test":"content"},tX={class:"AVTimedCard--progress","data-test":"progress-container"},nX=c.defineComponent({__name:"AVTimedCard",props:{timeout:{type:Number,required:!0},customWidth:{type:Number,default:600},expirationMessage:{type:String,default:"The passkey will expire in "},customWarningTime:{type:Number,default:15}},emits:["expired"],setup(e,{emit:a}){const t=e;c.onMounted(()=>{i()});const n=c.ref(0),i=()=>{const d=setInterval(()=>{n.value=n.value+1,n.value>=t.timeout&&(clearInterval(d),s("expired",!0,t.timeout))},1e3)},s=a,l=c.computed(()=>100-n.value/t.timeout*100),o=c.computed(()=>Math.floor((t.timeout-n.value)/60)),r=c.computed(()=>(t.timeout-n.value)%60),f=c.computed(()=>o.value%60),u=c.computed(()=>r.value<10?`${f.value}:0${r.value}`:`${f.value}:${r.value}`);return(d,m)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:"AVTimedCard",style:c.normalizeStyle(`width: ${e.customWidth}px`)},[c.createElementVNode("div",aX,[c.renderSlot(d.$slots,"default",{},void 0,!0)]),c.createElementVNode("div",tX,[c.createElementVNode("div",{class:c.normalizeClass(["AVTimedCard--progress-bar",{"AVTimedCard--progress-bar-warning":e.timeout-n.value<=e.customWarningTime}]),style:c.normalizeStyle(`width: ${l.value}%`),"data-test":"progress-bar"},null,6)])],4),c.createElementVNode("span",{class:c.normalizeClass(["AVTimedCard--help-text",{"AVTimedCard--help-text-warning":e.timeout-n.value<=e.customWarningTime}]),"data-test":"help-text"},[c.createTextVNode(c.toDisplayString(e.expirationMessage),1),c.createElementVNode("strong",null,c.toDisplayString(u.value),1)],2)],64))}});const f$=D(nX,[["__scopeId","data-v-7d0d595b"]]),iX=e=>(c.pushScopeId("data-v-dbd25d5c"),e=e(),c.popScopeId(),e),sX={class:"AVBasicSteps"},lX=iX(()=>c.createElementVNode("span",{class:"AVBasicSteps--line","data-test":"separator"},null,-1)),oX={key:0,class:"AVBasicSteps--line","data-test":"separator"},rX=c.defineComponent({__name:"AVBasicSteps",props:{steps:{type:Array,required:!0,validate:e=>e.length>2&&e.length<3},active:{type:String,required:!0}},setup(e){const a=e,t=n=>n===a.active;return(n,i)=>(c.openBlock(),c.createElementBlock("div",sX,[c.createElementVNode("span",{class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[0])}]),"data-test":"step"},c.toDisplayString(e.steps[0]),3),lX,c.createElementVNode("span",{class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[1])}]),"data-test":"step"},c.toDisplayString(e.steps[1]),3),e.steps.length===3?(c.openBlock(),c.createElementBlock("span",oX)):c.createCommentVNode("",!0),e.steps.length===3?(c.openBlock(),c.createElementBlock("span",{key:1,class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[2])}]),"data-test":"step"},c.toDisplayString(e.steps[2]),3)):c.createCommentVNode("",!0)]))}});const u$=D(rX,[["__scopeId","data-v-dbd25d5c"]]),fX={class:"AVSteps"},uX={key:0,class:"AVSteps--step--icon-container AVSteps--step-circle"},mX=c.defineComponent({__name:"AVSteps",props:{steps:{type:Array,required:!0},active:{type:String,default:null},done:{type:Array,default:null}},setup(e){c.useCssVars(l=>({"3e5060db":s.value}));const a=e,t=c.ref([]),n=()=>{t.value=[],a.steps.map(l=>{t.value.push({value:l,active:l===a.active,done:i(l)})})},i=l=>a.done?a.done.includes(l):!1;c.onMounted(()=>{n()}),c.watch(()=>a.steps,()=>n()),c.watch(()=>a.active,()=>n()),c.watch(()=>a.done,()=>n());const s=c.computed(()=>`${100/a.steps.length}%`);return(l,o)=>{const r=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",fX,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.value,(f,u)=>(c.openBlock(),c.createElementBlock("div",{key:u,class:c.normalizeClass(`${t.value.length!==u+1?"AVSteps--step":"AVSteps--step-last"} ${f.active?"AVSteps--step-active":""}`),"data-test":"step"},[f.done?(c.openBlock(),c.createElementBlock("div",uX,[c.createVNode(r,{icon:"fa-solid fa-check",class:"AVSteps--step-icon"})])):(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["AVSteps--step--number-container",{"AVSteps--step-circle":t.value.length!==u+1,"AVSteps--step--number-container-active":f.active}])},c.toDisplayString(u+1),3)),c.createElementVNode("span",{class:c.normalizeClass(["AVSteps--step-label",{"AVSteps--step-label-active":f.active}])},c.toDisplayString(f.value),3)],2))),128))])}}});const m$=D(mX,[["__scopeId","data-v-89e22cbe"]]),d$=e=>(c.pushScopeId("data-v-a31774ee"),e=e(),c.popScopeId(),e),dX=["aria-label"],pX={key:0,"aria-hidden":"true","data-test":"rank"},vX={key:1,width:"26",height:"26",stroke:"white","stroke-width":"0.25rem","data-test":"check"},hX=d$(()=>c.createElementVNode("line",{x1:"25%",y1:"25%",x2:"75%",y2:"75%"},null,-1)),zX=d$(()=>c.createElementVNode("line",{x1:"75%",y1:"25%",x2:"25%",y2:"75%"},null,-1)),VX=[hX,zX],gX=c.defineComponent({__name:"AVOptionSelect",props:{checked:{type:Boolean,default:!1},rank:{type:[Number,null],default:null},locale:{type:String,default:null}},setup(e){const a=e,t=c.computed(()=>a.rank?document.getElementsByTagName("html")[0].dir==="rtl"?`${a.rank} ${n.global.messages.value?n.global.messages.value[i.value].js.components.AVOptionSelect.aria_label:n.global.messages[i.value].js.components.AVOptionSelect.aria_label}`:`${n.global.messages.value?n.global.messages.value[i.value].js.components.AVOptionSelect.aria_label:n.global.messages[i.value].js.components.AVOptionSelect.aria_label} ${a.rank}`:""),n=c.inject("i18n"),i=c.computed(()=>n.global.locale.value||n.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(s,l)=>c.withDirectives((c.openBlock(),c.createElementBlock("div",{class:"AVOptionSelect","aria-label":t.value,"data-test":"option-select"},[e.rank?(c.openBlock(),c.createElementBlock("span",pX,c.toDisplayString(e.rank),1)):(c.openBlock(),c.createElementBlock("svg",vX,VX))],8,dX)),[[c.vShow,e.checked]])}});const p$=D(gX,[["__scopeId","data-v-a31774ee"]]),MX={class:"AVOptionCheckbox--container"},CX={key:0,class:"AVOptionCheckbox--exclusive-container","data-test":"exclusive-error"},HX={class:"AVOptionCheckbox--exclusive"},bX=["aria-checked","tabindex","aria-disabled","disabled","onKeydown"],AX=c.defineComponent({__name:"AVOptionCheckbox",props:{checked:{type:Boolean,required:!0},optionReference:{type:String,default:""},checkBoxIndex:{type:Number,default:1},rank:{type:[Number,null],default:null},disabled:{type:Boolean,default:!1},invalid:{type:Boolean,default:!1},exclusiveError:{type:Boolean,default:!1},locale:{type:String,default:null}},emits:["toggled"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,s=a;c.onMounted(()=>{i.locale&&G(i.locale)}),c.watch(()=>i.locale,()=>{i.locale&&G(i.locale)},{deep:!0});const l=()=>s("toggled"),o=c.computed(()=>i.optionReference?{id:`option_${i.optionReference}_checkbox_${i.checkBoxIndex}`,role:"checkbox","aria-labelledby":`option_${i.optionReference}_title option_${i.optionReference}_tick option_${i.optionReference}_subtitle`,"aria-describedby":`option_${i.optionReference}_description option_${i.optionReference}_handle`,tabindex:0}:{});return(r,f)=>{const u=c.resolveComponent("AVOptionSelect");return c.openBlock(),c.createElementBlock("div",MX,[e.exclusiveError&&e.checked?(c.openBlock(),c.createElementBlock("div",CX,[c.createElementVNode("div",HX,c.toDisplayString(c.unref(n)("js.components.AVOptionCheckbox.exclusive_option")),1)])):c.createCommentVNode("",!0),c.createElementVNode("button",c.mergeProps({class:{AVOptionCheckbox:!0,"AVOptionCheckbox--checked":e.checked,"AVOptionCheckbox--disabled":e.disabled,"AVOptionCheckbox--error":(e.exclusiveError||e.invalid)&&e.checked},"aria-checked":e.checked?!0:null,tabindex:e.disabled?null:0,"aria-disabled":e.disabled||null,disabled:e.disabled},o.value,{onClick:c.withModifiers(l,["stop"]),onKeydown:c.withKeys(c.withModifiers(l,["prevent"]),["space","enter"]),"data-test":"option-checkbox"}),[e.checked?(c.openBlock(),c.createBlock(u,{key:0,id:`option_${e.optionReference}_tick`,rank:e.rank,checked:e.checked,"data-test":"select"},null,8,["id","rank","checked"])):c.createCommentVNode("",!0)],16,bX)])}}});const v$=D(AX,[["__scopeId","data-v-96e67fd1"]]),h$=c.defineComponent({__name:"AVTransitionSlide",props:{skipTransition:{type:Boolean,default:!1}},setup(e){const a=e,t=s=>{if(a.skipTransition)return;s.style.height="auto";const l=getComputedStyle(s).height;s.style.height="0",getComputedStyle(s).height,setTimeout(()=>{s.style.height=l})},n=s=>{s.style.height="auto"},i=s=>{if(a.skipTransition)return;const l=getComputedStyle(s).height;s.style.height=l,getComputedStyle(s).height,setTimeout(()=>{s.style.height="0"})};return(s,l)=>(c.openBlock(),c.createBlock(c.Transition,{name:"slide-fade",onEnter:t,onLeave:i,onAfterEnter:n},{default:c.withCtx(()=>[c.renderSlot(s.$slots,"default")]),_:3}))}}),LX=["aria-controls","aria-expanded"],_X=["id","aria-hidden"],kX=c.defineComponent({__name:"AVCollapser",props:{collapsable:{type:Boolean,default:!1},startCollapsed:{type:Boolean,default:!1},paneId:{type:String,default:"option_reference_children"}},emits:["accordionOpen"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1),s=c.ref(!0),l=c.computed(()=>({collapsable:t.collapsable,startCollapsed:t.startCollapsed}));c.onMounted(()=>{const{collapsable:r,startCollapsed:f}=l.value;i.value=r&&!f});const o=(r=null,f=!0)=>{t.collapsable&&(s.value=f,r===null?i.value=!i.value:i.value=!!r,i.value&&n("accordionOpen"))};return(r,f)=>{const u=c.resolveComponent("AVTransitionSlide");return e.collapsable?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createElementVNode("div",{role:"button","aria-controls":e.paneId,tabindex:"0","aria-expanded":i.value||null,class:"AVCollapser",onClick:f[0]||(f[0]=d=>o()),onKeypress:f[1]||(f[1]=c.withKeys(c.withModifiers(d=>o(),["prevent"]),["space","enter"])),"data-test":"collapser-button"},[c.renderSlot(r.$slots,"toggle",{isOpen:i.value,collapsable:e.collapsable},void 0,!0)],40,LX),c.renderSlot(r.$slots,"results",{},void 0,!0),c.createVNode(u,{"skip-transition":!s.value},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{id:e.paneId,"aria-hidden":!i.value||null},[c.renderSlot(r.$slots,"pane",{isOpen:i.value,toggleCollapse:o},void 0,!0)],8,_X),[[c.vShow,i.value]])]),_:3},8,["skip-transition"])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.renderSlot(r.$slots,"toggle",{isOpen:!0,collapsable:!1},void 0,!0),c.renderSlot(r.$slots,"results",{},void 0,!0),c.renderSlot(r.$slots,"pane",{isOpen:!0,toggleCollapse:o},void 0,!0)],64))}}});const z$=D(kX,[["__scopeId","data-v-f5102fd7"]]),NX={"data-test":"name"},yX=c.defineComponent({__name:"AVLinkVisualizer",props:{link:{type:Object,required:!0},large:{type:Boolean,default:!1}},setup(e){const a=e,t={github:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?github\.com\//gm),instagram:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?instagram\.com\//gm),linkedin:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?linkedin\.com\/(in|profile|pub)\//gm),twitter:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?(twitter\.|x\.)com\//gm),envelope:new RegExp(/mailto:([^]*)/gm),facebook:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?facebook.com\//gm),vimeo:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?vimeo\.com\//gm),youtube:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?((?:youtube(-nocookie)?\.com|youtu.be))\//gm),tiktok:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?tiktok\.com\//gm)},n=c.computed(()=>{let s="link";return Object.keys(t).map(l=>{t[l].test(a.link.attributes.url)&&(s=l)}),s}),i=s=>window.open(s,"_blank").focus();return(s,l)=>{const o=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["AVLinkVisualizer AVLinkVisualizer--themed-btn",{"AVLinkVisualizer--large":e.large}]),"data-test":"button",onClick:l[0]||(l[0]=r=>i(e.link.attributes.url))},[c.createVNode(o,{icon:n.value,class:"AVLinkVisualizer--icon","data-test":"icon"},null,8,["icon"]),c.createElementVNode("span",NX,c.toDisplayString(e.link.attributes.name),1)],2)}}});const V$=D(yX,[["__scopeId","data-v-29792015"]]),xX={class:"AVVerticalStep"},SX={class:"AVVerticalStep--container"},wX={key:0,class:"AVVerticalStep--text"},EX=c.defineComponent({__name:"AVVerticalStep",props:{stepNumber:{type:Number,validate:e=>e>=1&&e<=9,required:!0},status:{type:String,validate:e=>["default","active","done"].includes(e),default:"default"},title:{type:String,required:!0},subtitle:{type:String,default:null},collapsed:{type:Boolean,default:!1},hasNextStep:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",xX,[c.createElementVNode("div",SX,[c.createElementVNode("div",{class:c.normalizeClass(`AVVerticalStep--step AVVerticalStep--step-${e.status}`),"data-test":"step-circle"},[c.createVNode(n,{icon:e.status==="done"?"check":`${e.stepNumber}`,class:"AVVerticalStep--icon","data-test":"step-icon"},null,8,["icon"])],2),c.createVNode(c.Transition,null,{default:c.withCtx(()=>[e.collapsed?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",wX,[c.createElementVNode("span",{class:c.normalizeClass(`AVVerticalStep--title AVVerticalStep--text-${e.status}`),"data-test":"step-title"},c.toDisplayString(e.title),3),e.subtitle?(c.openBlock(),c.createElementBlock("span",{key:0,class:c.normalizeClass(`AVVerticalStep--subtitle AVVerticalStep--text-${e.status}`),"data-test":"step-subtitle"},c.toDisplayString(e.subtitle),3)):c.createCommentVNode("",!0)]))]),_:1})]),e.hasNextStep?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(`AVVerticalStep--line AVVerticalStep--line-${e.status}`),"data-test":"step-line"},null,2)):c.createCommentVNode("",!0)])}}});const TX=D(EX,[["__scopeId","data-v-4cec470a"]]),Ut=e=>(c.pushScopeId("data-v-90e59491"),e=e(),c.popScopeId(),e),BX=Ut(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),IX=Ut(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),DX=Ut(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),PX=[BX,IX,DX],OX=c.defineComponent({__name:"AVAnimatedMenuButton",props:{isOpened:{type:Boolean,default:!1}},emits:["update:isOpened"],setup(e,{emit:a}){const t=a;return(n,i)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["AVAnimatedMenuButton",{"AVAnimatedMenuButton--opened":e.isOpened}]),onClick:i[0]||(i[0]=s=>t("update:isOpened",!e.isOpened))},[c.createElementVNode("span",{class:c.normalizeClass(["AVAnimatedMenuButton--icon",{"AVAnimatedMenuButton--icon-opened":e.isOpened}])},PX,2)],2))}});const RX=D(OX,[["__scopeId","data-v-90e59491"]]),FX={class:"AVProgressBar"},jX={class:"AVProgressBar--container"},qX=c.defineComponent({__name:"AVProgressBar",props:{value:{type:Number,required:!0,validate:e=>e>=0&&e<=100},hidePercentage:{type:Boolean,default:!1}},setup(e){return(a,t)=>(c.openBlock(),c.createElementBlock("div",FX,[e.hidePercentage?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(["AVProgressBar--percentage",{"AVProgressBar--success":e.value===100}])},c.toDisplayString(`${Math.round(e.value)}%`),3)),c.createElementVNode("div",jX,[c.createElementVNode("div",{class:c.normalizeClass(["AVProgressBar--filling",{"AVProgressBar--success":e.value===100}]),style:c.normalizeStyle(`width: ${e.value}%;`)},null,6)])]))}});const g$=D(qX,[["__scopeId","data-v-9c071d60"]]);var $X={},UX=function(e){return c.pushScopeId("data-v-f13d66c0"),e=e(),c.popScopeId(),e},WX={class:"AVWaitingDots--container"},GX=UX(function(){return c.createElementVNode("div",{class:"AVWaitingDots"},null,-1)}),JX=[GX];function ZX(e,a){return c.openBlock(),c.createElementBlock("div",WX,JX)}const M$=D($X,[["render",ZX],["__scopeId","data-v-f13d66c0"]]),YX={class:"AVRadioGroup--input-set"},QX=["for"],KX={key:1,class:"AVRadioGroup--error","data-test":"error-msg"},XX=c.defineComponent({__name:"AVRadioGroup",props:{id:{type:String,required:!0},options:{type:Array,required:!0},initialValue:{type:String,default:null},disabled:{type:Array,default:null},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:"Input label"},disableLabel:{type:Boolean,default:!1},orientation:{type:String,validate:e=>["vertical","horizontal"].includes(e),default:"horizontal"}},emits:["update"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(""),s=c.ref([]),l=u=>{s.value.map(d=>{d.value===u?(d.checked=!0,i.value=d.value):d.checked=!1})},o=()=>{if(s.value.map(u=>u.disabled=!1),t.disabled)s.value.map(u=>{t.disabled.map(d=>d===u.value?u.disabled=!0:u)});else return};c.onMounted(()=>{t.options.map(u=>s.value.push({value:u,checked:!1})),t.initialValue&&l(t.initialValue),t.disabled&&o()});const r=u=>{l(u),f()},f=()=>{n("update",i.value,s.value)};return c.watch(()=>t.initialValue,()=>{i.value=t.initialValue,l(t.initialValue)}),c.watch(()=>t.disabled,()=>{o()}),(u,d)=>{const m=c.resolveComponent("AVRadio");return c.openBlock(),c.createElementBlock("div",YX,[e.disableLabel?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVRadioGroup--label","data-test":"input-label"},c.toDisplayString(e.inputLabel),9,QX)),c.createElementVNode("div",{class:c.normalizeClass(`AVRadioGroup--${e.orientation}`),"data-test":"input-group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.value,(p,h)=>(c.openBlock(),c.createBlock(m,{class:"AVRadioGroup--child",id:`radio-${e.id}-${h}`,key:h,value:p.value,checked:p.checked,disabled:p.disabled,onUpdate:M=>r(p.value)},null,8,["id","value","checked","disabled","onUpdate"]))),128))],2),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",KX,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const C$=D(XX,[["__scopeId","data-v-74ff59b8"]]),e11=c.defineComponent({__name:"AVNavigationItemList",props:{type:{type:String,validate:e=>["navbar","sidebar"].includes(e),default:"navbar"}},setup(e){return(a,t)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVNavigationItemList AVNavigationItemList--${e.type}`)},[c.renderSlot(a.$slots,"default",{},void 0,!0)],2))}});const H$=D(e11,[["__scopeId","data-v-9fd5c53d"]]),c11={class:"AVBreadcrumb"},a11=["href"],t11=["href"],n11=c.defineComponent({__name:"AVBreadcrumb",props:{items:{type:Array,required:!0},disableButton:{type:Boolean,default:!1},buttonHref:{type:String,default:null}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",c11,[c.createElementVNode("a",{href:e.buttonHref},[e.disableButton?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(n,{key:0,icon:"fa-solid fa-circle-chevron-left",class:"AVBreadcrumb--icon"}))],8,a11),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.items,(i,s)=>(c.openBlock(),c.createElementBlock("span",{key:s,class:"AVBreadcrumb--group","data-test":"item-group"},[c.createElementVNode("a",{href:i.active?null:i.href,class:c.normalizeClass(["AVBreadcrumb--link",{"AVBreadcrumb--link-active":i.active}])},c.toDisplayString(i.text),11,t11),c.createVNode(n,{icon:"fa-solid fa-angle-right",class:"AVBreadcrumb--separator"})]))),128))])}}});const b$=D(n11,[["__scopeId","data-v-479a161a"]]),i11=["href"],s11={class:"AVElectionCard--inner"},l11={class:"AVElectionCard--id","data-test":"id"},o11={class:"AVElectionCard--title-group"},r11={class:"AVElectionCard--title","data-test":"title"},f11={class:"AVElectionCard--items"},u11={class:"AVElectionCard--item","data-test":"item"},m11={class:"AVElectionCard--item-icon"},d11={class:"AVElectionCard--item-text"},p11={class:"AVElectionCard--item","data-test":"item"},v11={class:"AVElectionCard--item-icon"},h11={class:"AVElectionCard--item-text"},z11={class:"AVElectionCard--item","data-test":"item"},V11={class:"AVElectionCard--item-icon"},g11={class:"AVElectionCard--item-text"},M11={class:"AVElectionCard--button"},C11=c.defineComponent({__name:"AVElectionCard",props:{id:{type:String,required:!0},name:{type:String,required:!0},status:{type:String,required:!0},countyName:{type:String,required:!0},createdAt:{type:String,required:!0},lastUpdated:{type:String,required:!0},countyNameLabel:{type:String,required:!0},createdAtLabel:{type:String,required:!0},lastUpdatedLabel:{type:String,required:!0},href:{type:String,required:!0}},setup(e){const a=e,t={draft:"info",open:"success",closed:"danger",archived:"default"},n=c.computed(()=>t[a.status]);return(i,s)=>{const l=c.resolveComponent("AVLabel"),o=c.resolveComponent("AVIcon"),r=c.resolveComponent("AVCard");return c.openBlock(),c.createElementBlock("a",{href:e.href,class:"AVElectionCard","data-test":"link"},[c.createVNode(r,{variant:"rounded",role:"button"},{default:c.withCtx(()=>[c.createElementVNode("div",s11,[c.createElementVNode("span",l11,c.toDisplayString(e.id),1),c.createElementVNode("div",o11,[c.createElementVNode("span",r11,c.toDisplayString(e.name),1),c.createVNode(l,{type:n.value,value:e.status},null,8,["type","value"])]),c.createElementVNode("div",f11,[c.createElementVNode("div",u11,[c.createElementVNode("div",m11,[c.createVNode(o,{icon:"fa-solid fa-location-pin"})]),c.createElementVNode("span",d11,[c.createTextVNode(c.toDisplayString(e.countyNameLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.countyName),1)])]),c.createElementVNode("div",p11,[c.createElementVNode("div",v11,[c.createVNode(o,{icon:"fa-solid fa-file-circle-plus"})]),c.createElementVNode("span",h11,[c.createTextVNode(c.toDisplayString(e.createdAtLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.createdAt),1)])]),c.createElementVNode("div",z11,[c.createElementVNode("div",V11,[c.createVNode(o,{icon:"fa-solid fa-pen-to-square"})]),c.createElementVNode("span",g11,[c.createTextVNode(c.toDisplayString(e.lastUpdatedLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.lastUpdated),1)])])])]),c.createElementVNode("div",M11,[c.createVNode(o,{icon:"fa-solid fa-circle-chevron-right",class:"AVElectionCard--CTA-icon"})])]),_:1})],8,i11)}}});const A$=D(C11,[["__scopeId","data-v-dd72671e"]]),H11=["href"],b11={class:"AVBallotStyleCard--content"},A11={key:0,class:"AVBallotStyleCard--completion-icon","data-test":"success-icon"},L11={class:"AVBallotStyleCard--text-container"},_11={class:"AVBallotStyleCard--title","data-test":"title"},k11={class:"AVBallotStyleCard--text","data-test":"text"},N11={class:"AVBallotStyleCard--CTA-icon"},y11=c.defineComponent({__name:"AVBallotStyleCard",props:{href:{type:String,required:!0},name:{type:String,required:!0},contestQty:{type:Number,required:!0},contestLabel:{type:String,required:!0},reviewed:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon"),i=c.resolveComponent("AVCard");return c.openBlock(),c.createElementBlock("a",{href:e.href,class:"AVBallotStyleCard",role:"button","data-test":"link"},[c.createVNode(i,{variant:"rounded"},{default:c.withCtx(()=>[c.createElementVNode("div",b11,[e.reviewed?(c.openBlock(),c.createElementBlock("div",A11,[c.createVNode(n,{icon:"fa-solid fa-check"})])):c.createCommentVNode("",!0),c.createElementVNode("div",L11,[c.createElementVNode("div",_11,c.toDisplayString(e.name),1),c.createElementVNode("div",k11,c.toDisplayString(`${e.contestQty} ${e.contestLabel}`),1)])]),c.createElementVNode("div",N11,[c.createVNode(n,{icon:"fa-solid fa-chevron-right"})])]),_:1}),c.createElementVNode("div",{class:c.normalizeClass(`AVBallotStyleCard--progress AVBallotStyleCard--progress-${e.reviewed?"success":"default"}`),"data-test":"progress"},null,2)],8,H11)}}});const L$=D(y11,[["__scopeId","data-v-c682a2cf"]]),x11=["aria-label"],S11={key:0,class:"AVSummaryOption--ancestry"},w11={class:"AVSummaryOption--breadcrumb","data-test":"summary-option-ancestry"},E11=["src","alt"],T11={class:"AVSummaryOption--body"},B11={class:"AVSummaryOption--title"},I11={key:1,class:"AVSummaryOption--summary"},D11={key:1,class:"AVSummaryOption--footer"},_$=c.defineComponent({__name:"AVSummaryOption",props:{option:{type:Object,default:null},multipleVotesAllowed:{type:Boolean,default:!1},locale:{type:String,default:null},blank:{type:Boolean,default:!1},parents:{type:Array,default:()=>[]},imageOption:{type:String,default:"square"}},setup(e){const a=e,t=c.computed(()=>{var u,d;return((u=a.option)==null?void 0:u.crosses)&&((d=a.option)==null?void 0:d.crosses)>1&&a.multipleVotesAllowed&&!a.blank}),n=c.computed(()=>a.parents.length<1?null:a.parents.map(u=>u.title[f.value]).reverse()),i=c.computed(()=>{var u;return a.blank?r("js.components.AVSummaryOption.blank"):(u=a.option)==null?void 0:u.title[f.value]}),s=c.computed(()=>{var h,M;const u=Array.from(Array((h=a.option)==null?void 0:h.crosses).keys());u.forEach(C=>u[C]=C+1);const d=u.indexOf(Math.ceil(((M=a.option)==null?void 0:M.crosses)/2))+1,m=u.slice(0,d),p=u.slice(d);return p.length?[m,p]:[m]}),l=c.computed(()=>a.option.image.includes("square")?a.option.image:`${a.option.image}/${a.imageOption}`),o=c.inject("i18n"),{t:r}=o.global,f=c.computed(()=>o.global.locale.value||o.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(u,d)=>{var p,h;const m=c.resolveComponent("AVOptionCheckbox");return c.openBlock(),c.createElementBlock("div",{class:"AVSummaryOption","aria-label":c.unref(r)("js.components.AVSummaryOption.aria_label.option"),"data-test":"summary-option"},[n.value?(c.openBlock(),c.createElementBlock("div",S11,[c.createElementVNode("ul",w11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.value,(M,C)=>(c.openBlock(),c.createElementBlock("li",{key:M+C,class:"AVSummaryOption--breadcrumb-item","data-test":"breadcrumb-item"},c.toDisplayString(M),1))),128))])])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass({"AVSummaryOption--header":!0,"AVSummaryOption--header-multiple":t.value})},[(p=e.option)!=null&&p.image?(c.openBlock(),c.createElementBlock("img",{key:0,src:l.value,class:"AVSummaryOption--img",alt:c.unref(r)("js.components.AVSummaryOption.aria_label.option_image"),"data-test":"summary-option-image"},null,8,E11)):c.createCommentVNode("",!0),c.createElementVNode("div",T11,[c.createElementVNode("div",B11,c.toDisplayString(i.value),1)]),t.value?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",I11,[c.createVNode(m,{checked:!0,rank:(h=e.option)==null?void 0:h.rank,disabled:!0,"data-test":"summary-cross"},null,8,["rank"])]))],2),t.value?(c.openBlock(),c.createElementBlock("div",D11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.value,M=>(c.openBlock(),c.createElementBlock("div",{key:M.toString(),class:"AVSummaryOption--group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(M,C=>{var b;return c.openBlock(),c.createBlock(m,{key:C,checked:!0,rank:(b=e.option)==null?void 0:b.rank,disabled:!0,"data-test":"summary-cross"},null,8,["rank"])}),128))]))),128))])):c.createCommentVNode("",!0)],8,x11)}}});const Ai=c.ref(new Map);function k$(){function e(a,...t){Ai.value.set(a,t)}return{eventBusEmit:e,eventBus:Ai}}const N$=e=>(c.pushScopeId("data-v-e98bd97f"),e=e(),c.popScopeId(),e),P11=["id","href","aria-labelledby"],O11=["aria-label"],R11={class:"AVOption--header-container","data-test":"option-content"},F11={class:"AVOption--header"},j11=["src","alt"],q11=["textContent"],$11={key:0,class:"AVOption--body","data-test":"option-summary"},U11={key:0,class:"AVOption--description","data-test":"option-description"},W11=["innerHTML"],G11={key:1,class:"AVOption--links-container"},J11=["href"],Z11={key:2,class:"AVOption--children-container","data-test":"option-children"},Y11=["id"],Q11=["innerHTML"],K11={key:1,class:"AVOption--realtime-results AVOption--realtime-results-internal","data-test":"option-partialresults"},X11=N$(()=>c.createElementVNode("span",null,"-",-1)),e21={class:"AVOption--realtime-results","data-test":"option-realtimeresults"},c21=N$(()=>c.createElementVNode("span",null,"-",-1)),a21={key:0,class:"AVOption--children","data-test":"option-children"},t21=c.defineComponent({__name:"AVOption",props:{option:{type:Object,required:!0},selections:{type:Array,required:!0},contest:{type:Object,required:!0},invalid:{type:Boolean,required:!0},exclusiveError:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,default:!1},partialResults:{type:Object,default:null},locale:{type:String,default:null},imageOption:{type:String,default:"square"}},emits:["accordion-open","checked","view-candidate"],setup(e,{emit:a}){const{eventBus:t}=k$(),n=c.ref(!1),i=c.ref(null),s=e,l=a,o=c.computed(()=>document.getElementsByTagName("html")[0].dir==="rtl"),r=c.computed(()=>s.contest.markingType.voteVariation==="ranked"),f=c.computed(()=>s.selections.filter(x=>x.reference===s.option.reference).length),u=c.computed(()=>s.option.title[F.value]??""),d=c.computed(()=>{var x;return((x=s.option.description)==null?void 0:x[F.value])??""}),m=c.computed(()=>{var x;return((x=s.option.url)==null?void 0:x[F.value])??""}),p=c.computed(()=>{var x;return((x=s.option.videoUrl)==null?void 0:x[F.value])??""}),h=c.computed(()=>s.option.image.includes("square")?s.option.image:`${s.option.image}/${s.imageOption}`),M=c.computed(()=>{let x=[];return m.value&&x.push({url:m.value,text:w("js.components.AVOption.info_link_text_html")}),p.value&&x.push({url:p.value,text:w("js.components.AVOption.video_link_text_html")}),x}),C=c.computed(()=>s.option.children&&s.option.children.length>0),b=c.computed(()=>s.option.selectable!==void 0&&!s.option.selectable?0:z.value?1:s.option.voteLimit||s.contest.markingType.votesAllowedPerOption||1),g=c.computed(()=>s.selections.length>0?N(s.option.children):0),z=c.computed(()=>s.option.exclusive),L=c.computed(()=>{const x=Array.from(Array(b.value).keys());x.forEach(R=>x[R]=R+1);const $=x.indexOf(Math.ceil(b.value/2))+1,J=x.slice(0,$),I=x.slice($);return I.length?[J,I]:[J]}),_=c.computed(()=>s.partialResults?s.partialResults[s.option.reference]:null),H=(x,$=1)=>{l("checked",{reference:x,amount:$})},N=x=>{if(!x)return 0;let $=x.filter(J=>s.selections.map(I=>I.reference).includes(J.reference)).length;return x.reduce((J,I)=>J+N(I.children),$)},k=x=>{n.value=!1,x===s.option.reference&&(l("accordion-open"),c.nextTick(()=>{n.value=!0,i.value.scrollIntoView&&i.value.scrollIntoView({behavior:"smooth",block:"center"})}))};c.watch(()=>t.value.get("highlight-option"),x=>{const[$]=x??[];k($)});const A=c.inject("i18n"),{t:w}=A.global,F=c.computed(()=>A.global.locale.value||A.global.locale);return c.onMounted(()=>{s.locale&&G(s.locale)}),c.watch(()=>s.locale,()=>{s.locale&&G(s.locale)},{deep:!0}),(x,$)=>{const J=c.resolveComponent("AVIcon"),I=c.resolveComponent("AVOptionCheckbox"),R=c.resolveComponent("AVOption",!0),o1=c.resolveComponent("AVCollapser");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({"AVOption--background":!0,"AVOption--disabled":e.disabled}),"data-test":"option"},[c.createElementVNode("a",{id:e.option.reference,class:"AVOption--scroll-anchor",href:`option_${e.option.reference}_checkbox`,"aria-labelledby":`option_${e.option.reference}_title`},null,8,P11),c.createVNode(o1,{collapsable:e.contest.collapsable&&C.value,"start-collapsed":e.contest.collapseDefault&&!e.observerMode,onAccordionOpen:$[2]||($[2]=z1=>l("accordion-open"))},c.createSlots({toggle:c.withCtx(({isOpen:z1,collapsable:A1})=>[c.createElementVNode("section",{ref_key:"el",ref:i,class:c.normalizeClass({AVOption:!0,"AVOption--highlight":n.value,"AVOption--accent":e.option.accentColor}),style:c.normalizeStyle(e.option.accentColor?`border-left-color: ${e.option.accentColor}`:""),"aria-label":c.unref(w)("js.components.AVOption.aria_labels.option"),"data-test":"option-section"},[c.createElementVNode("div",{class:c.normalizeClass(["AVOption--container",{"AVOption--container-column":b.value>1,"AVOption--container-row":b.value<=5}]),"data-test":"option-container"},[c.createElementVNode("div",R11,[c.createElementVNode("header",F11,[e.option.image?(c.openBlock(),c.createElementBlock("img",{key:0,src:h.value,alt:c.unref(w)("js.components.AVOption.aria_labels.option_image"),class:"AVOption-image","data-test":"option-image"},null,8,j11)):c.createCommentVNode("",!0),c.createElementVNode("h5",{class:"AVOption--title",textContent:c.toDisplayString(u.value)},null,8,q11)]),d.value||M.value.length||C.value||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",$11,[d.value?(c.openBlock(),c.createElementBlock("div",U11,[c.createElementVNode("p",{innerHTML:d.value},null,8,W11)])):c.createCommentVNode("",!0),M.value.length>0||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",G11,[e.option.candidateId?(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVOption--link",onClick:$[0]||($[0]=V1=>l("view-candidate",e.option.candidateId)),"data-test":"option-candidacy"},c.toDisplayString(c.unref(w)("js.components.AVOption.view_candidate")),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(M.value,V1=>(c.openBlock(),c.createElementBlock("a",{key:V1.toString(),href:V1.url,class:"AVOption--link",target:"_blank","data-test":"option-link"},c.toDisplayString(V1.text),9,J11))),128))])):c.createCommentVNode("",!0),A1&&C.value?(c.openBlock(),c.createElementBlock("div",Z11,[c.createElementVNode("div",{id:`option_${e.option.reference}_dropdown`,class:"AVOption--expander-container","aria-hidden":"true","data-test":"option-expander"},[c.createVNode(J,{icon:z1?"chevron-down":o.value?"chevron-left":"chevron-right",class:"AVOption--expander-icon"},null,8,["icon"]),c.createElementVNode("span",{class:"AVOption--expander-help-text",innerHTML:z1?c.unref(w)("js.components.AVOption.collapse_text"):c.unref(w)("js.components.AVOption.expand_text")},null,8,Q11)],8,Y11),g.value&&!z1?(c.openBlock(),c.createElementBlock("span",{key:0,class:c.normalizeClass(["AVOption--suboption-badge",{"AVOption--suboption-badge-danger":e.invalid,"AVOption--suboption-badge-normal":!e.invalid}]),"data-test":"option-child-selected"},c.toDisplayString(o.value?`${c.unref(w)("js.components.AVOption.sub_options_select")} ${g.value}`:`${g.value} ${c.unref(w)("js.components.AVOption.sub_options_select")}`),3)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)]),b.value>=1?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass({"AVOption--multivote-aside":b.value<=5,"AVOption--multivote-footer":b.value>5,"AVOption--singlevote":b.value===1}),style:c.normalizeStyle(`background-color: ${b.value===1?"#FFFFFF":"#f7f7f7"}`),"data-test":"option-multivote"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(L.value,V1=>(c.openBlock(),c.createElementBlock("div",{key:V1.toString(),class:"AVOption--group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(V1,k1=>(c.openBlock(),c.createBlock(I,{key:k1,checked:f.value>=k1,rank:r.value?e.selections.map(v1=>v1.reference).indexOf(e.option.reference)+1:null,"exclusive-error":e.exclusiveError,invalid:e.invalid,"option-reference":e.option.reference,"check-box-index":k1,disabled:e.disabled||e.observerMode,onToggled:v1=>H(e.option.reference,k1)},null,8,["checked","rank","exclusive-error","invalid","option-reference","check-box-index","disabled","onToggled"]))),128))]))),128))],6)):c.createCommentVNode("",!0),_.value&&(e.observerMode||e.disabled)?(c.openBlock(),c.createElementBlock("div",K11,[c.createVNode(J,{icon:"user",class:"AVOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(o.value?`${_.value.results.count===1?c.unref(w)("js.components.AVOption.vote_count_singular"):c.unref(w)("js.components.AVOption.vote_count_plural")} ${_.value.results.count}`:`${_.value.results.count} ${_.value.results.count===1?c.unref(w)("js.components.AVOption.vote_count_singular"):c.unref(w)("js.components.AVOption.vote_count_plural")}`),1),_.value.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[X11,c.createElementVNode("span",null,c.toDisplayString(`${_.value.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)],14,O11)]),pane:c.withCtx(({toggleCollapse:z1})=>[C.value?(c.openBlock(),c.createElementBlock("div",a21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.option.children,A1=>(c.openBlock(),c.createBlock(R,{key:A1.reference,option:A1,selections:e.selections,contest:e.contest,invalid:e.invalid,disabled:e.disabled,"observer-mode":e.observerMode,"partial-results":e.partialResults,"exclusive-error":A1.exclusive&&e.exclusiveError,"image-option":e.imageOption,onChecked:$[1]||($[1]=V1=>l("checked",V1)),onAccordionOpen:()=>z1(!0,!1)},null,8,["option","selections","contest","invalid","disabled","observer-mode","partial-results","exclusive-error","image-option","onAccordionOpen"]))),128))])):c.createCommentVNode("",!0)]),_:2},[!e.disabled&&_.value&&!e.observerMode?{name:"results",fn:c.withCtx(()=>[c.createElementVNode("div",e21,[c.createVNode(J,{icon:"user",class:"AVOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(o.value?`${_.value.results.count===1?c.unref(w)("js.components.AVOption.vote_count_singular"):c.unref(w)("js.components.AVOption.vote_count_plural")} ${_.value.results.count}`:`${_.value.results.count} ${_.value.results.count===1?c.unref(w)("js.components.AVOption.vote_count_singular"):c.unref(w)("js.components.AVOption.vote_count_plural")}`),1),_.value.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c21,c.createElementVNode("span",null,c.toDisplayString(`${_.value.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["collapsable","start-collapsed"])],2)}}});const y$=D(t21,[["__scopeId","data-v-e98bd97f"]]),x$=e=>(c.pushScopeId("data-v-d585dd76"),e=e(),c.popScopeId(),e),n21=["aria-label"],i21={class:"AVBlankOption--header","aria-hidden":"true","data-test":"option-content"},s21={class:"AVBlankOption--title"},l21={class:"AVBlankOption--checkbox"},o21={key:0,class:"AVBlankOption--realtime-results AVOption--realtime-results-internal","data-test":"partial-results"},r21=x$(()=>c.createElementVNode("span",null,"-",-1)),f21={key:0,class:"AVBlankOption--realtime-results","data-test":"realtime-results"},u21=x$(()=>c.createElementVNode("span",null,"-",-1)),m21=c.defineComponent({__name:"AVBlankOption",props:{checked:{type:Boolean,required:!0},error:{type:Boolean,required:!0},disabled:{type:Boolean,default:!1},partialResults:{type:Object,default:null},accentColor:{type:String,default:null},observerMode:{type:Boolean,default:!1},locale:{type:String,default:null},invalid:{type:Boolean,default:!1}},emits:["toggleBlank"],setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;c.onMounted(()=>{n.locale&&G(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&G(n.locale)},{deep:!0});const i=c.computed(()=>document.getElementsByTagName("html")[0].dir==="rtl");return(s,l)=>{const o=c.resolveComponent("AVOptionCheckbox"),r=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({"AVBlankOption--disabled":e.disabled}),"data-test":"blank-option"},[c.createElementVNode("div",{class:c.normalizeClass({AVBlankOption:!0,"AVBlankOption--accent":e.accentColor}),style:c.normalizeStyle(e.accentColor?`border-left-color: ${e.accentColor}`:""),"aria-label":c.unref(t)("js.components.AVBlankOption.aria_labels.option"),"data-test":"option-container"},[c.createElementVNode("div",i21,[c.createElementVNode("h5",s21,c.toDisplayString(c.unref(t)("js.components.AVBlankOption.title")),1),c.createElementVNode("div",l21,[c.createVNode(o,{"option-reference":"blank",rank:null,checked:e.checked,"exclusive-error":e.error,invalid:e.invalid,disabled:e.disabled||e.observerMode,onToggled:l[0]||(l[0]=f=>s.$emit("toggleBlank")),"data-test":"blank-checkbox"},null,8,["checked","exclusive-error","invalid","disabled"])]),e.partialResults&&(e.observerMode||e.disabled)?(c.openBlock(),c.createElementBlock("div",o21,[c.createVNode(r,{icon:"user",class:"AVBlankOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(i.value?`${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}`:`${e.partialResults.results.count} ${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")}`),1),e.partialResults.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[r21,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])],14,n21),!e.disabled&&e.partialResults&&!e.observerMode?(c.openBlock(),c.createElementBlock("div",f21,[c.createVNode(r,{icon:"user",class:"AVBlankOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(i.value?`${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}`:`${e.partialResults.results.count} ${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")}`),1),e.partialResults.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[u21,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)}}});const S$=D(m21,[["__scopeId","data-v-d585dd76"]]),d21=["aria-label"],p21={class:"AVWriteInOption--header"},v21={class:"AVWriteInOption--container"},h21={id:"option_writeIn",class:"AVWriteInOption--title"},z21={class:"AVWriteInOption--form-group"},V21=["aria-label","disabled"],g21={value:""},M21=["value","selected"],C21=["value","placeholder","aria-label","disabled"],H21=c.defineComponent({__name:"AVWriteInOption",props:{parties:{type:Array,required:!0},candidateValue:{type:String,required:!0},partyValue:{type:String,required:!0},checkedValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,defaul:!1},locale:{type:String,default:null}},emits:["update:candidateValue","update:partyValue","update:checkedValue"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,s=a;c.onMounted(()=>{i.locale&&G(i.locale)}),c.watch(()=>i.locale,()=>{i.locale&&G(i.locale)},{deep:!0});const l=f=>{s("update:candidateValue",f),r()},o=f=>{s("update:partyValue",f),r()},r=()=>{const f=i.partyValue!==""||i.candidateValue!=="";f!==i.checkedValue&&s("update:checkedValue",f)};return(f,u)=>{const d=c.resolveComponent("AVOptionCheckbox");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({AVWriteInOption:!0,"AVWriteInOption--disabled":e.disabled}),"aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.option")},[c.createElementVNode("div",p21,[c.createElementVNode("div",v21,[c.createElementVNode("div",h21,c.toDisplayString(c.unref(n)("js.components.AVWriteInOption.title")),1),c.createElementVNode("div",z21,[c.createElementVNode("select",{class:"AVWriteInOption--form-control","aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.party"),disabled:e.disabled,onInput:u[0]||(u[0]=m=>o(m.target.value))},[c.createElementVNode("option",g21,c.toDisplayString(c.unref(n)("js.components.AVWriteInOption.choose_party")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.parties,m=>(c.openBlock(),c.createElementBlock("option",{key:m.letter,value:m.letter,selected:m.letter===e.partyValue},c.toDisplayString(m.letter)+" - "+c.toDisplayString(m.name),9,M21))),128))],40,V21),c.createElementVNode("input",{value:e.candidateValue,class:"AVWriteInOption--form-control",placeholder:c.unref(n)("js.components.AVWriteInOption.placeholder"),"aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.candidate"),disabled:e.disabled,onInput:u[1]||(u[1]=m=>l(m.target.value))},null,40,C21)])]),c.createVNode(d,{class:"AVWriteInOption--checkbox",checked:e.checkedValue,"option-id":0,disabled:e.disabled||e.observerMode},null,8,["checked","disabled"])])],10,d21)}}});const w$=D(H21,[["__scopeId","data-v-f2bba574"]]),b21=e=>(c.pushScopeId("data-v-db1640de"),e=e(),c.popScopeId(),e),A21={class:"AVSubmissionHelper"},L21={key:1},_21=["textContent"],k21=b21(()=>c.createElementVNode("hr",{class:"AVSubmissionHelper--separator"},null,-1)),N21={key:2},y21={class:"AVSubmissionHelper--help"},x21={key:0},S21={key:1},w21=["innerHTML"],E21={key:3},T21=c.defineComponent({__name:"AVSubmissionHelper",props:{minMarks:{type:Number,required:!0},maxMarks:{type:Number,required:!0},errors:{type:Array,required:!0},chosenCount:{type:Number,required:!0},hasExclusiveOptions:{type:Boolean,default:!1},weight:{type:Number,default:null},locale:{type:String,default:null}},setup(e){const a=e,t=c.computed(()=>a.errors.map(l=>l.keys?(Object.keys(l.keys).forEach(o=>{typeof l.keys[o]=="object"&&(l.keys[o]=l.keys[o][s.value])}),i(`js.components.AVSubmissionHelper.errors.${l.message}`,l.keys)):i(`js.components.AVSubmissionHelper.errors.${l.message}`))),n=c.inject("i18n"),{t:i}=n.global,s=c.computed(()=>n.global.locale.value||n.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(l,o)=>(c.openBlock(),c.createElementBlock("div",A21,[c.createElementVNode("div",{class:c.normalizeClass(["AVSubmissionHelper--container",{"AVSubmissionHelper--danger":e.errors.length>0}]),"data-test":"submission-helper"},[e.weight?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass({"AVSubmissionHelper--weight":!0,"AVSubmissionHelper--weight-danger":e.errors.length>0}),"data-test":"submission-helper-weight"},c.toDisplayString(c.unref(i)("js.components.AVSubmissionHelper.your_vote_weight",{weight:e.weight})),3)):c.createCommentVNode("",!0),e.errors.length>0?(c.openBlock(),c.createElementBlock("div",L21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.value,r=>(c.openBlock(),c.createElementBlock("div",{key:r,role:"alert",textContent:c.toDisplayString(r),"data-test":"submission-helper-error"},null,8,_21))),128)),k21])):c.createCommentVNode("",!0),e.maxMarks>1?(c.openBlock(),c.createElementBlock("div",N21,[c.createElementVNode("div",y21,[e.minMarks===e.maxMarks?(c.openBlock(),c.createElementBlock("div",x21,c.toDisplayString(`${c.unref(i)("js.components.AVSubmissionHelper.select_exactly",{min_marks:e.minMarks})}`),1)):(c.openBlock(),c.createElementBlock("div",S21,c.toDisplayString(`${e.hasExclusiveOptions?c.unref(i)("js.components.AVSubmissionHelper.select_multiple_with_exclusives",{min_marks:e.minMarks,max_marks:e.maxMarks}):c.unref(i)("js.components.AVSubmissionHelper.select_multiple",{min_marks:e.minMarks,max_marks:e.maxMarks})}`),1)),e.chosenCount>0?(c.openBlock(),c.createElementBlock("div",{key:2,innerHTML:c.unref(i)("js.components.AVSubmissionHelper.selected",{selected:e.chosenCount}),class:"AVSubmissionHelper--count","data-test":"submission-helper-count"},null,8,w21)):c.createCommentVNode("",!0)])])):(c.openBlock(),c.createElementBlock("div",E21,[c.createElementVNode("div",null,c.toDisplayString(c.unref(i)("js.components.AVSubmissionHelper.select_single")),1)]))],2)]))}});const E$=D(T21,[["__scopeId","data-v-db1640de"]]);function B21(e,a,t){if(typeof t!="function")throw new Error("search_by must be a function that returns a string");const n=a.toLowerCase().trim().split(/\s+/);return e.filter(i=>{const s=t(i).toLowerCase().trim().split(/\s+/);return n.every(l=>s.some(o=>o.includes(l)))})}const I21=["aria-label"],D21={class:"AVSearchBallot--form-group"},P21=["textContent"],O21={class:"AVSearchBallot--input-group"},R21=["placeholder"],F21={id:"ballot_searcher_results",class:"AVSearchBallot--results","aria-live":"polite","aria-label":"search-results","data-test":"search-results"},j21=["aria-label"],q21={key:0,class:"AVSeachOptionBallot--ancestry"},$21={class:"AVSeachOptionBallot--breadcrumb"},U21=["id","aria-label","onClick"],W21=["textContent"],G21=["textContent"],J21=c.defineComponent({__name:"AVSearchBallot",props:{options:{type:Array,required:!0},locale:{type:String,default:null}},setup(e){const{eventBusEmit:a}=k$(),t=e,n=c.ref(""),i=c.computed(()=>n.value.trim()===""?[]:B21(t.options,n.value,m=>m.title[d.value])),s=m=>l(m,[]).reverse(),l=(m,p)=>m.parentContent?(p.push(m.parentContent),l(m.parentContent,p)):p,o=()=>{n.value=""},r=m=>{a("highlight-option",m.reference),o()},f=c.inject("i18n"),{t:u}=f.global,d=c.computed(()=>f.global.locale.value||f.global.locale);return c.onMounted(()=>{t.locale&&G(t.locale)}),c.watch(()=>t.locale,()=>{t.locale&&G(t.locale)},{deep:!0}),(m,p)=>(c.openBlock(),c.createElementBlock("form",{role:"search",class:"AVSearchBallot","aria-label":c.unref(u)("js.components.AVSearchBallot.aria_labels.ballot_options"),"data-test":"search-ballot",onSubmit:p[1]||(p[1]=c.withModifiers(()=>{},["prevent"]))},[c.createElementVNode("div",D21,[c.createElementVNode("label",{for:"ballot_search",class:"AVSearchBallot--label",textContent:c.toDisplayString(c.unref(u)("js.components.AVSearchBallot.search_the_ballot"))},null,8,P21),c.createElementVNode("div",O21,[c.withDirectives(c.createElementVNode("input",{id:"ballot_search","onUpdate:modelValue":p[0]||(p[0]=h=>n.value=h),type:"search",class:"AVSearchBallot--form-control",placeholder:c.unref(u)("js.components.AVSearchBallot.enter_option_name"),"data-test":"search-ballot-input"},null,8,R21),[[c.vModelText,n.value]])])]),c.createElementVNode("div",F21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(i.value,h=>(c.openBlock(),c.createElementBlock("div",{key:h,"aria-label":h.title[d.value]},[s(h).length>0?(c.openBlock(),c.createElementBlock("div",q21,[c.createElementVNode("ul",$21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s(h),M=>(c.openBlock(),c.createElementBlock("li",{key:M.reference,class:"AVSeachOptionBallot--breadcrumb-item"},c.toDisplayString(M.title[d.value]),1))),128))])])):c.createCommentVNode("",!0),c.createElementVNode("div",{id:`search_result_${h.reference}`,class:"AVSearchBallot--option",role:"button","aria-label":c.unref(u)("js.components.AVSearchBallot.aria_labels.go_to_option"),"data-test":"search-result",onClick:c.withModifiers(M=>r(h),["prevent"])},[c.createElementVNode("span",{class:"AVSearchBallot--link",textContent:c.toDisplayString(h.title[d.value])},null,8,W21)],8,U21)],8,j21))),128)),n.value&&i.value.length===0?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVSearchBallot--alert",textContent:c.toDisplayString(c.unref(u)("js.components.AVSearchBallot.no_results"))},null,8,G21)):c.createCommentVNode("",!0)])],40,I21))}});const T$=D(J21,[["__scopeId","data-v-0b2b5c97"]]),Z21={class:"AVSplitWeightHelper"},Y21={class:"AVSplitWeightHelper--box","data-test":"weight-helper-total"},Q21={class:"AVSplitWeightHelper--box","data-test":"weight-helper-assigned"},K21={class:"AVSplitWeightHelper--box","data-test":"weight-helper-unused"},X21=c.defineComponent({__name:"AVSplitWeightHelper",props:{assignedWeight:{type:Number,required:!0},unusedWeight:{type:Number,required:!0},activeAssigned:{type:Number,default:null},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;return c.onMounted(()=>{n.locale&&G(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&G(n.locale)},{deep:!0}),(i,s)=>(c.openBlock(),c.createElementBlock("div",Z21,[c.createElementVNode("div",Y21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.total"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.assignedWeight+e.unusedWeight),1)])]),c.createElementVNode("div",Q21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.assigned"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.assignedWeight),1)])]),c.createElementVNode("div",K21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.unused"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.unusedWeight),1)])])]))}});const B$=D(X21,[["__scopeId","data-v-3a80cb22"]]),e31={class:"AVSplitWizardHeader","data-test":"split-wizard-header"},c31={key:0,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},a31={key:1,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},t31={key:2,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},n31=c.defineComponent({__name:"AVSplitWizardHeader",props:{activeSelectionPileIndex:{type:Number},activeState:{type:String,required:!0},selectionPiles:{type:Array,required:!0},totalWeight:{type:Number,required:!0},isEditing:{type:Boolean,required:!0},locale:{type:String,default:null}},emits:["cancel"],setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;return c.onMounted(()=>{n.locale&&G(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&G(n.locale)},{deep:!0}),(i,s)=>{const l=c.resolveComponent("AVTooltip");return c.openBlock(),c.createElementBlock("header",e31,[e.activeState==="ballot"?(c.openBlock(),c.createElementBlock("p",c31,c.toDisplayString(e.isEditing?`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.editing")} ${e.activeSelectionPileIndex+1}`:`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.adding")} ${e.selectionPiles.length+1}`),1)):e.activeState==="assign"?(c.openBlock(),c.createElementBlock("p",a31,c.toDisplayString(e.isEditing?`${c.unref(t)("js.components.AVSplitWizardHeader.assign.header")} ${(e.isEditing?e.activeSelectionPileIndex:e.selectionPiles.length)+1}`:`${c.unref(t)("js.components.AVSplitWizardHeader.assign.header_edit_mode")} ${(e.isEditing?e.activeSelectionPileIndex:e.selectionPiles.length)+1}`),1)):(c.openBlock(),c.createElementBlock("p",t31,c.toDisplayString(c.unref(t)("js.components.AVSplitWizardHeader.overview.header")),1)),e.activeState==="ballot"?(c.openBlock(),c.createBlock(l,{key:3,content:`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.can_assign_description_pre")} ${e.totalWeight} ${c.unref(t)("js.components.AVSplitWizardHeader.ballot.can_assign_description_pos")}`,text:`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.can_assign_ballots_pre")} ${e.totalWeight} ${c.unref(t)("js.components.AVSplitWizardHeader.ballot.can_assign_ballots_pos")}`,class:"AVSplitWizardHeader--tooltip-text",icon:"circle-info",id:"split-helper-tooltip",position:"top","data-test":"split-wizard-tooltip"},null,8,["content","text"])):c.createCommentVNode("",!0)])}}});const I$=D(n31,[["__scopeId","data-v-13834427"]]),i31=e=>(c.pushScopeId("data-v-8a538d47"),e=e(),c.popScopeId(),e),s31={class:"AVElectaContestCard--title"},l31={class:"AVElectaContestCard--subtitle"},o31=i31(()=>c.createElementVNode("div",{class:"AVElectaContestCard--line"},null,-1)),r31=c.defineComponent({__name:"AVElectaContestCard",props:{contestTitle:{type:String,required:!0},votingRoundTitle:{type:String,required:!0}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVCard");return c.openBlock(),c.createBlock(n,{variant:"rounded-electa"},{default:c.withCtx(()=>[c.createElementVNode("h3",s31,c.toDisplayString(e.contestTitle),1),c.createElementVNode("p",l31,c.toDisplayString(e.votingRoundTitle),1),o31,c.renderSlot(a.$slots,"card-content",{},void 0,!0)]),_:3})}}});const D$=D(r31,[["__scopeId","data-v-8a538d47"]]),f31={class:"AVResultOption--content"},u31={class:"AVResultOption--inner-content"},m31=["src"],d31={class:"AVResultOption--title","data-test":"result-title"},p31={class:"AVResultOption--result-container","data-test":"result-results"},v31={class:"AVResultOption--result-count"},h31={key:0,class:"AVResultOption--result-percentage"},z31=c.defineComponent({__name:"AVResultOption",props:{optionTitle:{type:Object,required:!0},optionImage:{type:String,default:null},votes:{type:Number,required:!0},total:{type:Number,required:!0},elected:{type:Boolean,default:!1},tied:{type:Boolean,default:!1},hidePercentage:{type:Boolean,default:!1},locale:{type:String,default:null}},setup(e){const a=e,t=c.computed(()=>a.total>0?Math.round(a.votes/a.total*1e4)/100:0),n=c.computed(()=>Math.round(a.votes*100)/100),i=c.inject("i18n"),s=c.computed(()=>i.global.locale.value||i.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(l,o)=>{const r=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["AVResultOption",{"AVResultOption--bg-default":!e.tied&&!e.elected,"AVResultOption--bg-elected":e.elected,"AVResultOption--bg-tied":e.tied}]),"data-test":"result-option"},[c.withDirectives((c.openBlock(),c.createElementBlock("div",f31,[c.createElementVNode("div",u31,[e.optionImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:e.optionImage,class:"AVResultOption--image","data-test":"result-image"},null,8,m31)):c.createCommentVNode("",!0),c.createElementVNode("header",d31,c.toDisplayString(e.optionTitle[s.value]),1)]),c.createElementVNode("div",p31,[c.createElementVNode("div",v31,c.toDisplayString(n.value),1),e.hidePercentage?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",h31,c.toDisplayString(t.value)+"% ",1))])])),[[r,e.optionTitle[s.value]]])],2)}}});const P$=D(z31,[["__scopeId","data-v-35bf20c6"]]),V31="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzg5IiBoZWlnaHQ9IjEzNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp1bmRlZmluZWQ9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIiB4bWw6c3BhY2U9InByZXN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xLC05LjEyNGMwLC0zLjk5MSAwLjgxNSwtNy4wMzcgMi40NDksLTkuMTM5YzEuNjM2LC0yLjEwMyA0LjAxMSwtMy4xNTYgNy4xMjgsLTMuMTU2YzEuNjI0LDAgMy4yNzUsMC4xNjggNC45NTIsMC41MDNsMCw3LjY2OWwtNi45NjMsMGwwLDYuNDg1eiIvPgogICA8L2c+CiAgPC9nPgogPC9nPgo8L3N2Zz4=",g31=e=>(c.pushScopeId("data-v-1a82d440"),e=e(),c.popScopeId(),e),M31=g31(()=>c.createElementVNode("span",{class:"AVFooter--text"},"Technology by",-1)),C31=["src"],H31=c.defineComponent({__name:"AVFooter",props:{enableSteps:{type:Boolean,default:!1},steps:{type:Array,default:null},active:{type:String,default:null},done:{type:Array,default:null},disableBanner:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVSteps");return c.openBlock(),c.createElementBlock("footer",{class:c.normalizeClass(["AVFooter",{"AVFooter--stacked":e.enableSteps}])},[e.enableSteps?(c.openBlock(),c.createBlock(n,{key:0,steps:e.steps,done:e.done,active:e.active,class:"AVFooter--child"},null,8,["steps","done","active"])):c.createCommentVNode("",!0),e.disableBanner?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["AVFooter--base AVFooter--child",{"AVFooter--child-stacked":e.enableSteps}])},[M31,c.createElementVNode("img",{src:c.unref(V31),alt:"Assembly Voting",class:"AVFooter--img"},null,8,C31)],2))],2)}}});const O$=D(H31,[["__scopeId","data-v-1a82d440"]]);var b31={},A31={class:"AVSidebar"};function L31(e,a){return c.openBlock(),c.createElementBlock("nav",A31,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const R$=D(b31,[["render",L31],["__scopeId","data-v-65e0965f"]]);var _31={},k31={class:"AVNavbar"};function N31(e,a){return c.openBlock(),c.createElementBlock("nav",k31,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const F$=D(_31,[["render",N31],["__scopeId","data-v-3ea1799f"]]);var y31={},x31={class:"AVContent"},S31={class:"AVContent--sidebar","data-test":"sidebar"},w31={class:"AVContent--container","data-test":"container"};function E31(e,a){return c.openBlock(),c.createElementBlock("main",x31,[c.createElementVNode("div",S31,[c.renderSlot(e.$slots,"sidebar",{},void 0,!0)]),c.createElementVNode("div",w31,[c.renderSlot(e.$slots,"content",{},void 0,!0)])])}const j$=D(y31,[["render",E31],["__scopeId","data-v-1923eca8"]]),T31=["aria-labelledby"],B31=c.defineComponent({__name:"AVModal",props:{modalActive:{type:Boolean,required:!0},ariaLabelledBy:{type:String,required:!0},removePadding:{type:Boolean,default:!1}},emits:["clickOutside"],setup(e,{emit:a}){const t=a,n=e;return c.watch(()=>n.modalActive,()=>{n.modalActive&&(document.body.style.overflowY="hidden"),n.modalActive||(document.body.style.overflowY="scroll")}),(i,s)=>(c.openBlock(),c.createBlock(c.Transition,{name:"modal-animation"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{class:"AVModal",role:"dialog","aria-labelledby":e.ariaLabelledBy,"aria-modal":"true","aria-live":"assertive",onClick:s[1]||(s[1]=c.withModifiers(l=>t("clickOutside"),["stop"]))},[c.createVNode(c.Transition,{name:"modal-animation-inner"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{class:c.normalizeClass(["AVModal--inner",{"AVModal--padding":!e.removePadding}]),onClick:s[0]||(s[0]=c.withModifiers(()=>{},["stop"]))},[c.renderSlot(i.$slots,"default",{},void 0,!0)],2),[[c.vShow,e.modalActive]])]),_:3})],8,T31),[[c.vShow,e.modalActive]])]),_:3}))}});const q$=D(B31,[["__scopeId","data-v-ef5af7c2"]]),g4=(e,a)=>e.flatMap(t=>(a&&(t.parentContent={reference:a.reference,code:a.code,title:{...a.title}}),t.children?[t,...g4(t.children,t)]:[t]));var M4=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Wt={},I31=M4&&M4.__spreadArray||function(e,a,t){if(t||arguments.length===2)for(var n=0,i=a.length,s;n<i;n++)(s||!(n in a))&&(s||(s=Array.prototype.slice.call(a,0,n)),s[n]=a[n]);return e.concat(s||Array.prototype.slice.call(a))};Object.defineProperty(Wt,"__esModule",{value:!0});var D31=function(){function e(a){this.contest=a}return e.prototype.validate=function(a,t){t===void 0&&(t=!1);var n=[];return this.referenceMissing(a.optionSelections)&&n.push({message:"invalid_reference"}),this.tooManySelections(a.optionSelections)&&n.push({message:"too_many"}),this.blankNotAlone(a.optionSelections,a.explicitBlank)&&n.push({message:"blank"}),this.exclusiveNotAlone(a.optionSelections)&&n.push({message:"exclusive"}),n.push.apply(n,this.exceededListVotes(a.optionSelections)),a.explicitBlank||this.implicitlyBlank(a.optionSelections)||t&&n.push.apply(n,this.belowMinListVotes(a.optionSelections)),n},e.prototype.isComplete=function(a){var t=a.explicitBlank||this.optionIsExclusive(a)||this.implicitlyBlank(a.optionSelections)||!this.tooFewSelections(a.optionSelections);return t&&this.validate(a).length==0},Object.defineProperty(e.prototype,"optionReferences",{get:function(){return this.recursiveFlattener(this.contest.options).map(function(a){return a.reference})},enumerable:!1,configurable:!0}),e.prototype.recursiveFlattener=function(a){var t=this;if(!a)return[];var n=a.flatMap(function(i){return i.children?I31([i],t.recursiveFlattener(i.children),!0):[i]});return n},e.prototype.selectedReferences=function(a){return a.map(function(t){return t.reference})},e.prototype.referenceMissing=function(a){var t=this;return!this.selectedReferences(a).every(function(n){return n==="blank"||t.optionReferences.includes(n)})},e.prototype.implicitlyBlank=function(a){return this.contest.markingType.blankSubmission==="implicit"&&a.length===0},e.prototype.tooFewSelections=function(a){return a.length<this.contest.markingType.minMarks},e.prototype.tooManySelections=function(a){return a.length>this.contest.markingType.maxMarks},e.prototype.belowMinListVotes=function(a){var t=this,n=this.recursiveFlattener(this.contest.options),i=n.map(function(l){return l!=null&&l.minChooseableSuboptions?l:null}),s=[];return i.forEach(function(l){l!=null&&l.minChooseableSuboptions&&t.selectedChildren(a,[l])<l.minChooseableSuboptions&&s.push({message:"below_list_limit",keys:{list_name:l.title,min_list_marks:l.minChooseableSuboptions}})}),s},e.prototype.exceededListVotes=function(a){var t=this,n=this.recursiveFlattener(this.contest.options),i=n.map(function(l){return l!=null&&l.maxChooseableSuboptions?l:null}),s=[];return i.forEach(function(l){l!=null&&l.maxChooseableSuboptions&&t.selectedChildren(a,[l])>l.maxChooseableSuboptions&&s.push({message:"exceeded_list_limit",keys:{list_name:l.title,max_list_marks:l.maxChooseableSuboptions}})}),s},e.prototype.selectedChildren=function(a,t,n){var i=this;return n===void 0&&(n=0),t&&t.forEach(function(s){var l,o=(l=s==null?void 0:s.children)===null||l===void 0?void 0:l.filter(function(r){return i.selectedReferences(a).includes(r.reference)});n+=(o==null?void 0:o.length)||0,s.children&&(n=i.selectedChildren(a,s.children,n))}),n},e.prototype.exclusiveNotAlone=function(a){if(this.selectedReferences(a).length<2)return!1;var t=this.recursiveFlattener(this.contest.options);return this.selectedReferences(a).map(function(n){return t.find(function(i){return i.reference===n})}).some(function(n){return(n==null?void 0:n.exclusive)===!0})},e.prototype.blankNotAlone=function(a,t){return a.length>0&&t},e.prototype.optionIsExclusive=function(a){var t,n;return((t=a.optionSelections)===null||t===void 0?void 0:t.length)===1&&((n=this.contest.options.find(function(i){return i.reference===a.optionSelections[0].reference}))===null||n===void 0?void 0:n.exclusive)},e}(),$$=Wt.default=D31,U$={};Object.defineProperty(U$,"__esModule",{value:!0});var P31=function(){function e(a){this.contest=a}return e.prototype.validate=function(a){var t=[];return this.partyExclusive(a.optionSelections)&&t.push({message:"cross_party_voting"}),t},e.prototype.selectedReferences=function(a){return a.map(function(t){return t.reference})},e.prototype.partyExclusive=function(a){var t=this.selectedReferences(a),n=this.contest.options.filter(function(s){return t.includes(s.reference)}).length>1,i=!1;return this.contest.options.forEach(function(s){var l,o;if(t.includes(s.reference)){var r=t.filter(function(d){return d!==s.reference}),f=(l=s.children)===null||l===void 0?void 0:l.map(function(d){return d.reference});n=r.some(function(d){return!(f!=null&&f.includes(d))})}var u=(o=s.children)===null||o===void 0?void 0:o.some(function(d){return t.includes(d.reference)});i&&u?n=!0:u&&(i=!0)}),n},e}(),O31=U$.default=P31;const R31=e=>(c.pushScopeId("data-v-217fba3a"),e=e(),c.popScopeId(),e),F31=["aria-label","aria-describedby"],j31=["id"],q31=R31(()=>c.createElementVNode("hr",{class:"AVBallot--separator"},null,-1)),$31=["aria-label"],U31=c.defineComponent({__name:"AVBallot",props:{contest:{type:Object,required:!0},selectionPile:{type:Object,required:!0},locale:{type:String,default:null},showSubmissionHelper:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,default:!1},partialResults:{type:Object,default:null},weight:{type:Number,default:null},includeLazyErrors:{type:Boolean,default:!1},imageOption:{type:String,default:"square"}},emits:["update:selectionPile","update:errors","view-candidate"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1),s=c.ref(""),l=c.ref(""),o=c.ref(null),r=c.computed(()=>t.selectionPile.optionSelections),f=c.computed(()=>new $$(t.contest)),u=c.computed(()=>t.contest.disregardVoterWeight?null:t.weight),d=c.computed(()=>{var A;let k=[];return(A=t.contest.customRulesets)!=null&&A.includes("belgian_ballot_rules")&&k.push(new O31(t.contest)),k}),m=c.computed(()=>{let k=[];d.value.forEach(w=>{k.push(...w.validate(t.selectionPile))});const A=[...f.value.validate(t.selectionPile,t.includeLazyErrors),...k];if(M.value&&A.some(w=>w.message==="cross_party_voting")){let w;A.some(F=>F.message==="exclusive")&&(w=A.findIndex(F=>F.message==="exclusive"),A.splice(w,1)),A.some(F=>F.message==="blank")&&(w=A.findIndex(F=>F.message==="cross_party_voting"),A.splice(w,1))}return n("update:errors",A),A}),p=c.computed(()=>m.value.length===0),h=c.computed(()=>{var k;return(k=t.contest.question)==null?void 0:k[N.value]}),M=c.computed(()=>{var k;return(k=t.contest.customRulesets)==null?void 0:k.includes("belgian_ballot_rules")}),C=c.computed(()=>g4(t.contest.options).some(k=>k.exclusive)),b=c.computed(()=>t.contest);c.watch(b,(k,A)=>{var w;A&&k&&k.reference!==A.reference&&((w=document.getElementById("content"))==null||w.focus(),A.searchForm&&(o.value.value=""))});const g=()=>{n("update:selectionPile",{...t.selectionPile,explicitBlank:!t.selectionPile.explicitBlank})},z=({reference:k,amount:A})=>{const w=r.value.filter(x=>x.reference===k).length;A===w&&(A=A-1);const F=r.value.filter(x=>x.reference!==k);for(let x=0;x<A;x++)F.push({reference:k});n("update:selectionPile",{...t.selectionPile,optionSelections:F})},L=k=>n("view-candidate",k),_=c.inject("i18n"),{t:H}=_.global,N=c.computed(()=>_.global.locale.value||_.global.locale);return c.onMounted(()=>{t.locale&&G(t.locale)}),c.watch(()=>t.locale,()=>{t.locale&&G(t.locale)},{deep:!0}),(k,A)=>{const w=c.resolveComponent("AVSearchBallot"),F=c.resolveComponent("AVWriteInOption"),x=c.resolveComponent("AVOption"),$=c.resolveComponent("AVBlankOption"),J=c.resolveComponent("AVSubmissionHelper");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({AVBallot:!0,"AVBallot--error":!p.value}),"aria-label":c.unref(H)("js.components.AVBallot.aria_labels.ballot"),"aria-describedby":`ballot_${e.contest.reference}`,"data-test":"ballot"},[h.value?(c.openBlock(),c.createElementBlock("h5",{key:0,id:`ballot_${e.contest.reference}_question`,class:"AVBallot--question","aria-live":"polite","data-test":"ballot-question"},c.toDisplayString(h.value),9,j31)):c.createCommentVNode("",!0),e.contest.searchForm&&!e.disabled&&!e.observerMode?(c.openBlock(),c.createBlock(w,{key:1,ref_key:"search",ref:o,options:c.unref(g4)(e.contest.options),"options-container-id":"ballot_options"},null,8,["options"])):c.createCommentVNode("",!0),q31,c.createElementVNode("div",{id:"ballot_options",class:c.normalizeClass({"AVBallot--options":!0,"AVBallot--options-with-list":e.contest.options.some(I=>I.children)}),"aria-label":c.unref(H)("js.components.AVBallot.aria_labels.ballot_options")},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.contest.options,I=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:I.reference},[I.writeIn?(c.openBlock(),c.createBlock(F,{key:0,"candidate-value":l.value,"onUpdate:candidateValue":A[0]||(A[0]=R=>l.value=R),"party-value":s.value,"onUpdate:partyValue":A[1]||(A[1]=R=>s.value=R),"checked-value":i.value,"onUpdate:checkedValue":A[2]||(A[2]=R=>i.value=R),parties:[],disabled:e.disabled,observerMode:e.observerMode},null,8,["candidate-value","party-value","checked-value","disabled","observerMode"])):(c.openBlock(),c.createBlock(x,{key:1,selections:r.value,option:I,invalid:!p.value,"exclusive-error":!M.value&&I.exclusive&&m.value.some(R=>R.message.includes("exclusive")),contest:e.contest,disabled:e.disabled,observerMode:e.observerMode,"partial-results":e.partialResults,"image-option":e.imageOption,onChecked:z,onViewCandidate:L},null,8,["selections","option","invalid","exclusive-error","contest","disabled","observerMode","partial-results","image-option"]))],64))),128)),e.contest.markingType.blankSubmission==="active_choice"?(c.openBlock(),c.createBlock($,{key:0,checked:e.selectionPile.explicitBlank,error:!M.value&&m.value.some(I=>I.message.includes("blank")),disabled:e.disabled,invalid:!p.value,observerMode:e.observerMode,accentColor:e.contest.blankOptionColor,"partial-results":e.partialResults?e.partialResults.blank:null,onToggleBlank:g},null,8,["checked","error","disabled","invalid","observerMode","accentColor","partial-results"])):c.createCommentVNode("",!0)],10,$31),e.showSubmissionHelper&&!e.disabled&&!e.observerMode?(c.openBlock(),c.createBlock(J,{key:2,id:`ballot_${e.contest.reference}`,"chosen-count":r.value.length,errors:m.value,weight:u.value,"min-marks":e.contest.markingType.minMarks,"max-marks":e.contest.markingType.maxMarks,"has-exclusive-options":C.value,class:"AVBallot--helper","data-test":"ballot-submission-helper"},null,8,["id","chosen-count","errors","weight","min-marks","max-marks","has-exclusive-options"])):c.createCommentVNode("",!0)],10,F31)}}});const W$=D(U31,[["__scopeId","data-v-217fba3a"]]),W31=e=>(c.pushScopeId("data-v-ffed1a38"),e=e(),c.popScopeId(),e),G31={key:0,class:"AVPileSummary--summary"},J31={key:0,class:"AVPileSummary--summary-header","data-test":"pile-summary-header"},Z31={class:"AVPileSummary--summary-header-text"},Y31={key:1,class:"AVPileSummary--summary-header"},Q31={class:"AVPileSummary--summary-body"},K31={key:1,class:"AVPileSummary--assign"},X31={class:"AVPileSummary--assign-card"},e41=["aria-label"],c41={class:"AVPileSummary--edit"},a41={key:0,"data-test":"pile-summary-assigned"},t41={class:"AVPileSummary--assign-body","data-test":"pile-summary-body"},n41={key:0,class:"AVPileSummary--assign-text"},i41=W31(()=>c.createElementVNode("br",null,null,-1)),s41=["aria-label"],l41=c.defineComponent({__name:"AVPileSummary",props:{selectionPile:{type:Object,required:!0},contest:{type:Object,required:!0},maximumOptionsShown:{type:Number,default:null},activeState:{type:String,required:!0},pileIndex:{type:Number,default:null},isEditing:{type:Boolean,default:!1},totalPiles:{type:Number,required:!0},locale:{type:String,default:null},imageOption:{type:String,default:"square"}},emits:["editCurrentSelection","deleteSelection"],setup(e,{emit:a}){const t=a,n=e,i=c.ref(!1),s=c.computed(()=>n.selectionPile.optionSelections.length===0),l=c.computed(()=>!n.maximumOptionsShown||i.value?u.value.options:u.value.options.slice(0,n.maximumOptionsShown)),o=c.computed(()=>u.value.options.length-l.value.length),r=c.computed(()=>g4(n.contest.options).filter(C=>C.selectable)),f=(h,M)=>h&&h.parentContent?(M.push(h.parentContent),f(h.parentContent,M)):M,u=c.computed(()=>{const h={options:[],writeIns:[]};return n.selectionPile.optionSelections.forEach(M=>{if(M.text)h.writeIns.push({partyLetter:"?",partyName:"?",candidateName:M.text});else{const C=h.options.find(g=>g.handle===M.reference),b=r.value.find(g=>g.reference===M.reference);if(!b)return;C?C.crosses+=1:h.options.push({title:b.title,handle:M.reference,image:b.image,crosses:1,parent:b.parentContent,rank:n.contest.markingType.voteVariation==="ranked"?h.options.length+1:null})}}),h}),d=c.inject("i18n"),{t:m}=d.global,p=c.computed(()=>d.global.locale.value||d.global.locale);return c.onMounted(()=>{n.locale&&G(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&G(n.locale)},{deep:!0}),(h,M)=>{const C=c.resolveComponent("AVSummaryOption"),b=c.resolveComponent("AVIcon");return e.activeState==="summary"?(c.openBlock(),c.createElementBlock("div",G31,[e.contest.markingType.maxPiles!==1?(c.openBlock(),c.createElementBlock("header",J31,[c.createElementVNode("span",null,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.selection"))+" "+c.toDisplayString(e.pileIndex+1)+" / "+c.toDisplayString(e.totalPiles),1),c.createElementVNode("span",Z31,c.toDisplayString(e.selectionPile.multiplier)+" "+c.toDisplayString(c.unref(m)("js.components.AVPileSummary.ballots")),1)])):(c.openBlock(),c.createElementBlock("header",Y31,[c.createElementVNode("span",null,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.selection")),1)])),c.createElementVNode("div",Q31,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(u.value.options,(g,z)=>(c.openBlock(),c.createBlock(C,{key:z,option:g,"multiple-votes-allowed":e.contest.markingType.votesAllowedPerOption>1,parents:f(g.parent,g.parent?[g.parent]:[]),"image-option":e.imageOption},null,8,["option","multiple-votes-allowed","parents","image-option"]))),128)),s.value?(c.openBlock(),c.createBlock(C,{key:0,blank:s.value},null,8,["blank"])):c.createCommentVNode("",!0)])])):(c.openBlock(),c.createElementBlock("div",K31,[c.createElementVNode("div",X31,[c.createElementVNode("div",{class:"AVPileSummary--assign-header","aria-label":c.unref(m)("js.components.AVPileSummary.aria_labels.edit_selection"),role:"button","data-test":"pile-summary-edit",onClick:M[0]||(M[0]=g=>t("editCurrentSelection"))},[c.createElementVNode("div",c41,[c.createVNode(b,{icon:"pen-to-square"}),c.createElementVNode("span",null,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.ballot_selection"))+" "+c.toDisplayString(e.pileIndex+1),1)]),e.activeState==="overview"||e.isEditing?(c.openBlock(),c.createElementBlock("span",a41,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.assigned"))+" "+c.toDisplayString(e.selectionPile.multiplier),1)):c.createCommentVNode("",!0)],8,e41),c.createElementVNode("div",t41,[s.value?(c.openBlock(),c.createElementBlock("p",n41,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.blank")),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(l.value,(g,z)=>(c.openBlock(),c.createElementBlock("p",{key:z,class:"AVPileSummary--assign-text"},c.toDisplayString(g.rank?`${g.rank}: `:"")+" "+c.toDisplayString(g.title[p.value]),1))),128)),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(u.value.writeIns,(g,z)=>(c.openBlock(),c.createElementBlock("p",{key:z,class:"AVPileSummary--assign-text"},[c.createElementVNode("b",null,c.toDisplayString(g.partyLetter)+" - "+c.toDisplayString(g.partyName),1),i41,c.createElementVNode("span",null,c.toDisplayString(g.candidateName),1)]))),128)),o.value>0?(c.openBlock(),c.createElementBlock("p",{key:1,role:"button",class:"AVPileSummary--show-more-button","data-test":"pile-summary-more",onClick:M[1]||(M[1]=c.withModifiers(g=>i.value=!0,["stop","prevent"]))},[c.createElementVNode("u",null,[c.createElementVNode("em",null,c.toDisplayString(`${c.unref(m)("js.components.AVPileSummary.and_n_more_pre")} ${o.value} ${c.unref(m)("js.components.AVPileSummary.and_n_more_pos")}`),1)])])):c.createCommentVNode("",!0),i.value?(c.openBlock(),c.createElementBlock("p",{key:2,role:"button",class:"AVPileSummary--show-more-button","data-test":"pile-summary-more",onClick:M[2]||(M[2]=c.withModifiers(g=>i.value=!1,["stop","prevent"]))},[c.createElementVNode("u",null,[c.createElementVNode("em",null,c.toDisplayString(c.unref(m)("js.components.AVPileSummary.show_less")),1)])])):c.createCommentVNode("",!0)])]),e.activeState==="overview"?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVPileSummary--assign-delete-button",role:"button","aria-label":c.unref(m)("js.components.AVPileSummary.aria_labels.delete_selection"),"data-test":"pile-summary-delete",onClick:M[3]||(M[3]=c.withModifiers(g=>t("deleteSelection"),["stop","prevent"]))},[c.createVNode(b,{icon:"trash-can"})],8,s41)):c.createCommentVNode("",!0)]))}}});const G$=D(l41,[["__scopeId","data-v-ffed1a38"]]);var J$={},Li=M4&&M4.__spreadArray||function(e,a,t){if(t||arguments.length===2)for(var n=0,i=a.length,s;n<i;n++)(s||!(n in a))&&(s||(s=Array.prototype.slice.call(a,0,n)),s[n]=a[n]);return e.concat(s||Array.prototype.slice.call(a))};Object.defineProperty(J$,"__esModule",{value:!0});var o41=Wt,r41=function(){function e(a){var t=a.contest,n=a.voterWeight;this.contest=t,this.voterWeight=n}return e.prototype.isComplete=function(a){return this.allWeightUsed(a)&&this.validate(a).length==0},e.prototype.validate=function(a){var t=[],n=new o41.default(this.contest);return a.piles.forEach(function(i){t=Li(Li([],t,!0),n.validate(i),!0)}),a.piles.forEach(function(i){n.isComplete(i)||t.push({message:"A selection is not complete"})}),t},e.prototype.allWeightUsed=function(a){return this.voterWeight===a.piles.reduce(function(t,n){return n.multiplier+t},0)},e}(),f41=J$.default=r41;const u41={class:"AVSplitHelper--title","aria-live":"polite","data-test":"split-helper-contest-title"},m41=["innerHTML"],d41={class:"AVSplitHelper--footer"},p41={class:"AVSplitHelper--btn-secondary-container"},v41={class:"AVSplitHelper--btn-primary-container"},h41=["disabled"],z41={key:1},V41={class:"AVSplitHelper--assign-card"},g41={class:"AVSplitHelper--assign-question","data-test":"split-helper-contest-question"},M41=["for"],C41=["id","max"],H41={class:"AVSplitHelper--footer"},b41={class:"AVSplitHelper--btn-secondary-container"},A41={class:"AVSplitHelper--btn-primary-container"},L41=["disabled"],_41={key:2,"data-test":"split-helper-overview"},k41={key:0,class:"AVSplitHelper--overview-success"},N41={key:1,class:"AVSplitHelper--overview-default"},y41={class:"AVSplitHelper--overview--text"},x41=["disabled"],S41=["onClick"],w41=c.defineComponent({__name:"AVSplitHelper",props:{contest:{type:Object,required:!0},contestSelection:{type:Object,required:!0},weight:{type:Number,required:!0},showSubmissionHelper:{type:Boolean,default:!0},partialResults:{type:Object,default:null},locale:{type:String,default:null},includeLazyErrors:{type:Boolean,default:!1},imageOption:{type:String,default:"square"}},emits:["update:complete","update:contestSelection","update:activeState","update:activePile","view-candidate"],setup(e,{emit:a}){var J;const t=e,n=a,i=c.ref(null),s=c.ref(t.contestSelection.piles[0]||{multiplier:t.weight,optionSelections:[],explicitBlank:!1}),l=c.ref(((J=t.contestSelection.piles)==null?void 0:J.length)===0||t.contest.markingType.maxPiles===1?"ballot":"overview"),o=c.ref([]),r=c.computed(()=>t.contestSelection.piles),f=c.computed(()=>{var I;return(I=r.value)==null?void 0:I.reduce((R,o1)=>R-o1.multiplier,t.weight)}),u=c.computed(()=>new $$(t.contest)),d=c.computed(()=>new f41({contest:t.contest,voterWeight:t.weight})),m=c.computed(()=>f.value===0&&o.value.length==0&&r.value.every(I=>u.value.isComplete(I))),p=c.computed(()=>{var I;return(I=r.value)==null?void 0:I.reduce((R,o1)=>R+o1.multiplier,0)}),h=c.computed(()=>{var I;return(I=s.value)==null?void 0:I.multiplier}),M=c.computed(()=>r.value.filter((I,R)=>R!==i.value).reduce((I,R)=>I-R.multiplier,t.weight)),C=c.computed(()=>t.contest.markingType.maxPiles!==1&&t.weight>1),b=c.computed(()=>i.value!==null),g=I=>u.value.isComplete(I),z=I=>u.value.validate(I,t.includeLazyErrors).length>0,L=()=>{if(C.value){const I=[...r.value];i.value===null?I.push({...s.value}):I.splice(i.value,1,{...s.value}),n("update:contestSelection",{...t.contestSelection,piles:I}),i.value=null,l.value="overview"}else s.value.multiplier=t.weight,n("update:contestSelection",{...t.contestSelection,piles:[s.value]})},_=I=>{s.value=I,C.value||L()},H=()=>{s.value={optionSelections:[],multiplier:M.value,explicitBlank:!1},i.value=null,l.value="ballot"},N=I=>{r.value.splice(I,1)},k=I=>{s.value={...r.value[I]},i.value=I,l.value="ballot"},A=I=>{o.value=I},w=I=>n("view-candidate",I);c.watch(m,I=>n("update:complete",I)),c.watch(h,()=>{s.value&&(s.value.multiplier=Math.max(0,Math.min(h.value,M.value)))}),c.watch(s,I=>{n("update:activePile",I)}),c.watch(l,I=>n("update:activeState",I)),c.onMounted(()=>{t.locale&&G(t.locale),n("update:activePile",s.value),n("update:activeState",l.value),n("update:complete",m.value),C.value||L()});const F=c.inject("i18n"),{t:x}=F.global,$=c.computed(()=>F.global.locale.value||F.global.locale);return c.onMounted(()=>{t.locale&&G(t.locale)}),c.watch(()=>t.locale,()=>{t.locale&&G(t.locale)},{deep:!0}),(I,R)=>{var v1;const o1=c.resolveComponent("AVSplitWizardHeader"),z1=c.resolveComponent("AVBallot"),A1=c.resolveComponent("AVPileSummary"),V1=c.resolveComponent("AVSplitWeightHelper"),k1=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("h3",u41,c.toDisplayString(e.contest.title[$.value]),1),c.createElementVNode("div",{class:"AVSplitHelper--description","data-test":"split-helper-contest-description",innerHTML:(v1=e.contest.description)==null?void 0:v1[$.value]},null,8,m41),C.value?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[["ballot","assign","overview"].includes(l.value)?(c.openBlock(),c.createBlock(o1,{key:0,"active-selection-pile-index":i.value,"active-state":l.value,"selection-piles":r.value,"total-weight":p.value+f.value,"is-editing":b.value},null,8,["active-selection-pile-index","active-state","selection-piles","total-weight","is-editing"])):c.createCommentVNode("",!0),c.createVNode(c.Transition,{name:"fade",mode:"out-in"},{default:c.withCtx(()=>{var w1,W1,e2;return[s.value&&l.value==="ballot"?(c.openBlock(),c.createElementBlock("div",{key:i.value},[c.createVNode(z1,{class:"AVSplitHelper--ballot","selection-pile":s.value,"partial-results":e.partialResults,contest:e.contest,weight:e.weight,includeLazyErrors:e.includeLazyErrors,"show-submission-helper":e.showSubmissionHelper,"image-option":e.imageOption,"onUpdate:selectionPile":_,"onUpdate:errors":R[0]||(R[0]=M1=>A(M1))},null,8,["selection-pile","partial-results","contest","weight","includeLazyErrors","show-submission-helper","image-option"]),c.createElementVNode("div",d41,[c.createElementVNode("div",p41,[r.value.length>0?(c.openBlock(),c.createElementBlock("button",{key:"back",class:"AVSplitHelper--btn-secondary",onClick:R[1]||(R[1]=M1=>l.value="overview")},c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.ballot.back_button")),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",v41,[c.createElementVNode("button",{key:"assign",class:"AVSplitHelper--btn-primary",disabled:!g(s.value)||z(s.value),"data-test":"split-helper-confirm",onClick:R[2]||(R[2]=M1=>l.value="assign")},c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.ballot.confirm_button")),9,h41)])])])):l.value==="assign"?(c.openBlock(),c.createElementBlock("div",z41,[c.createElementVNode("div",V41,[c.createElementVNode("h4",g41,c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.assign.split_question")),1),c.createVNode(A1,{"selection-pile":s.value,contest:e.contest,"maximum-options-shown":3,"pile-index":b.value?i.value:r.value.length,"active-state":l.value,"is-editing":b.value,"total-piles":e.contestSelection.piles.length,"image-option":e.imageOption,onEditCurrentSelection:R[3]||(R[3]=M1=>l.value="ballot")},null,8,["selection-pile","contest","pile-index","active-state","is-editing","total-piles","image-option"]),c.createElementVNode("label",{for:`${e.contest.reference}-ballot-selector`,class:"AVSplitHelper--assign-label","data-test":"split-helper-assign-label"},c.toDisplayString(b.value?c.unref(x)("js.components.AVSplitHelper.assign.ballots_to_assign_edit_mode"):c.unref(x)("js.components.AVSplitHelper.assign.ballots_to_assign")),9,M41),c.withDirectives(c.createElementVNode("input",{id:`${e.contest.reference}-ballot-selector`,"onUpdate:modelValue":R[4]||(R[4]=M1=>s.value.multiplier=M1),class:"AVSplitHelper--assign-input",type:"number",max:M.value,"data-test":"split-helper-assign-input"},null,8,C41),[[c.vModelText,s.value.multiplier]])]),c.createVNode(V1,{"assigned-weight":p.value,"unused-weight":f.value,"active-assigned":(w1=r.value[i.value])==null?void 0:w1.multiplier},null,8,["assigned-weight","unused-weight","active-assigned"]),c.createElementVNode("div",H41,[c.createElementVNode("div",b41,[c.createElementVNode("button",{key:"ballot",class:"AVSplitHelper--btn-secondary","data-test":"split-helper-assign-back",onClick:R[5]||(R[5]=M1=>l.value="ballot")},c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.assign.back_button")),1)]),c.createElementVNode("div",A41,[c.createElementVNode("button",{key:"confirm",class:"AVSplitHelper--btn-primary",disabled:((W1=s.value)==null?void 0:W1.multiplier)<1||((e2=s.value)==null?void 0:e2.multiplier)>M.value,"data-test":"split-helper-assign-confirm",onClick:R[6]||(R[6]=M1=>L())},c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.assign.confirm_button")),9,L41)])])])):l.value==="overview"?(c.openBlock(),c.createElementBlock("div",_41,[f.value===0&&d.value.isComplete(e.contestSelection)?(c.openBlock(),c.createElementBlock("div",k41,[c.createVNode(k1,{icon:"circle-check",class:"AVSplitHelper--overview-success-icon"}),c.createTextVNode(" "+c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.overview.all_ballots_assigned")),1)])):(c.openBlock(),c.createElementBlock("div",N41,[c.createElementVNode("p",y41,[c.createElementVNode("strong",null,c.toDisplayString(f.value),1),c.createTextVNode(" "+c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.overview.ballots_left")),1)]),c.createElementVNode("button",{key:"newSelection",class:"AVSplitHelper--overview-new-ballot-btn",disabled:f.value===0,"data-test":"split-helper-new-selection",onClick:H},[c.createVNode(k1,{icon:"file-circle-plus"}),c.createTextVNode(" "+c.toDisplayString(c.unref(x)("js.components.AVSplitHelper.overview.new_ballot_selection")),1)],8,x41)])),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value,(M1,O1)=>(c.openBlock(),c.createElementBlock("article",{key:`preview-${O1}`,onClick:x2=>k(O1)},[c.createVNode(A1,{"selection-pile":M1,contest:e.contest,"maximum-options-shown":3,"active-state":l.value,"pile-index":O1,"total-piles":e.contestSelection.piles.length,"image-option":e.imageOption,onDeleteSelection:x2=>N(O1)},null,8,["selection-pile","contest","active-state","pile-index","total-piles","image-option","onDeleteSelection"])],8,S41))),128))])):c.createCommentVNode("",!0)]}),_:1})],64)):(c.openBlock(),c.createBlock(z1,{key:1,class:"AVSplitHelper--no-split","selection-pile":s.value,"partial-results":e.partialResults,includeLazyErrors:e.includeLazyErrors,contest:e.contest,weight:e.weight,"image-option":e.imageOption,"show-submission-helper":e.showSubmissionHelper,"onUpdate:selectionPile":_,"onUpdate:errors":R[7]||(R[7]=w1=>A(w1)),onViewCandidate:w},null,8,["selection-pile","partial-results","includeLazyErrors","contest","weight","image-option","show-submission-helper"]))],64)}}});const Z$=D(w41,[["__scopeId","data-v-b9617a26"]]),E41="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gKwSUNDX1BST0ZJTEUAAQEAAAKgbGNtcwRAAABtbnRyUkdCIFhZWiAH6AAEAAMACAAzABRhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1kZXNjAAABIAAAAEBjcHJ0AAABYAAAADZ3dHB0AAABmAAAABRjaGFkAAABrAAAACxyWFlaAAAB2AAAABRiWFlaAAAB7AAAABRnWFlaAAACAAAAABRyVFJDAAACFAAAACBnVFJDAAACFAAAACBiVFJDAAACFAAAACBjaHJtAAACNAAAACRkbW5kAAACWAAAACRkbWRkAAACfAAAACRtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACQAAAAcAEcASQBNAFAAIABiAHUAaQBsAHQALQBpAG4AIABzAFIARwBCbWx1YwAAAAAAAAABAAAADGVuVVMAAAAaAAAAHABQAHUAYgBsAGkAYwAgAEQAbwBtAGEAaQBuAABYWVogAAAAAAAA9tYAAQAAAADTLXNmMzIAAAAAAAEMQgAABd7///MlAAAHkwAA/ZD///uh///9ogAAA9wAAMBuWFlaIAAAAAAAAG+gAAA49QAAA5BYWVogAAAAAAAAJJ8AAA+EAAC2xFhZWiA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0LuDdBadHJQHHK+1ZjcfBm0xZE3Y4VUsRKKOfm8wa6ahp9YSmFAe8bQath21E6CjQMMFNlQ5Lt+MN9oRs11l3+QxoK4DMOLbYAPRCeKmC4V5kapbqxXpRGg3Zo6qxsD6LYOhXr/oyF7HTjaocQPyLvpU90tDfCoBDdefKCicg05EG/wAYf8WAu0La7AwNF8IWGhI7Z9TcTW6L9CJ8SHaMtq3tcszR1uIi7v8ACMJ9hpCuztAbE4TMrhisT6xC6aHyJZQh3KObtZbrIfS/wHUzJwXIuFa9gy/IAgO++D5LgeLVVZwCnEUtrmLcYsj8/juoo5g1mqBNAyPcghtJClgApFLaaLttTe7geuuwu58XBuX6rhuGyRVTAFbYLjLbsbt72eNYI2gkRTovGRoAOkd6iAcl+p1H8g0+g1AEQBJ+UMGJQItSnnPmnaETA4ZshdbdushcH03hVXl/JLAZVj9LkQRpZ86uDoCM2W1HVUNXHRbhwOTff883ACOlqH+eNBpAR7kwZ3VXAU46hDyHLCZtCtlgMBOT0dpkArcOUnWs9ouq0Tqi2IfxAStC5/8AeYrX883B0GHrK7wWLVWcQQynMjbuOpjkunMo+snSZRku+HYpmDf3OoxYvczjH5R2FeJU9U1FtTta12PsMeyi1YsJm+K+cOrspzDx1rBiIFpRpppLM/cqFdQu2bHIT4Ye5KmMHTt7SCy1bLAMBiDPNX0w9X7lB5NMAtWNkEDm7+p5ly7I79o0jBMTOks7LHmAXGHpCxPH2hm53lsw6IpCuG+LqOvadIbazn00v+x8sZ2U83f7ItCuAnJQT2Zt8r8e2JAmG+GphGWZUqfYWwbpqFdWkSAKb7159tuUl7pX8hs8pp9P/9k=",T41={key:0,class:"AVResourceSection--image-container"},B41=["src","alt"],I41={class:"AVResourceFields"},D41={key:0,class:"AVResourceFields--title","data-test":"heading-title"},P41={key:1,class:"AVResourceFields--subtitle","data-test":"heading-subtitle"},O41={key:2,class:"AVResourceFields--group-container","data-test":"heading-group"},R41={class:"AVResourceFields--group"},F41={key:1,class:"AVResourceFields--divisor"},j41={key:2,class:"AVResourceFields--link-list","data-test":"resource-link-list"},q41={key:0},$41={key:3,"data-test":"resource-checkbox-summary"},U41={key:4,"data-test":"resource-selection"},W41={key:0},G41={key:5,"data-test":"resource-video"},J41=["src"],Z41=["innerHTML"],Y41={key:7,class:"AVResourceFields--regular-content","data-test":"resource-regular-content"},Q41={key:0},K41=c.defineComponent({__name:"AVResourceSection",props:{candidate:{type:Object,required:!0},currentCandidateGroup:{type:Number,default:null},summary:{type:Boolean,default:!1},locale:{type:String,default:null},card:{type:Boolean,default:!1}},setup(e){const a=c.computed(()=>{var p,h,M,C,b,g;return(h=(p=o.candidate.title)==null?void 0:p[0])!=null&&h.localised?((C=(M=o.candidate.title)==null?void 0:M[0])==null?void 0:C.form_content)[m.value]:(g=(b=o.candidate.title)==null?void 0:b[0])==null?void 0:g.form_content}),t=c.computed(()=>{var p,h,M,C,b,g;return(h=(p=o.candidate.subtitle)==null?void 0:p[0])!=null&&h.localised?((C=(M=o.candidate.title)==null?void 0:M[0])==null?void 0:C.form_content)[m.value]:(g=(b=o.candidate.subtitle)==null?void 0:b[0])==null?void 0:g.form_content}),n=c.computed(()=>{var C;if(!o.candidate.groups)return null;let p=[],h=[],M="";return o.currentCandidateGroup?o.candidate.groups.forEach(b=>{b.id===o.currentCandidateGroup?p.push(b):h.push(b)}):(h=[...o.candidate.groups],p=h.splice(0,1)),h.forEach((b,g)=>{g===0||o.candidate.groups.length===1?M=b.title[m.value]:g===h.length-1?M+=` & ${b.title[m.value]}`:M+=`, ${b.title[m.value]}`}),{title:(C=p[0])==null?void 0:C.title[m.value],surplus:h.length||null,remaining:M}}),i=c.computed(()=>o.summary?o.candidate.summary:o.candidate.generic.filter(p=>p.item_type!=="image")),s=c.computed(()=>o.summary?!!o.candidate.summary.length:!!o.candidate.generic.length),l=p=>p.item_type==="check_box"?!0:p.form_content?p.item_type==="link_list"?!!p.form_content.length:p.localised?!!p.form_content[m.value]:!!p.form_content:!1,o=e,r=c.computed(()=>{var p;return((p=o.candidate.generic.find(h=>h.item_type==="image"))==null?void 0:p.form_content)||E41}),f=c.inject("i18n"),{t:u,d}=f.global,m=c.computed(()=>f.global.locale.value||f.global.locale);return c.onMounted(()=>{o.locale&&G(o.locale)}),c.watch(()=>o.locale,()=>{o.locale&&G(o.locale)},{deep:!0}),(p,h)=>{const M=c.resolveComponent("AVTooltip"),C=c.resolveComponent("AVIcon"),b=c.resolveComponent("AVLinkVisualizer");return c.openBlock(),c.createElementBlock("section",{class:c.normalizeClass(["AVResourceSection",{"AVResourceSection--themed":e.summary}])},[c.createElementVNode("div",{class:c.normalizeClass(["AVResourceSection--container",{"AVResourceSection--card":e.card}]),"data-test":"resource-section"},[e.summary&&r.value?(c.openBlock(),c.createElementBlock("div",T41,[c.createElementVNode("img",{src:r.value,alt:c.unref(u)("js.components.AVResourceSection.alt_candidate"),class:"AVResourceSection--image","data-test":"resource-image"},null,8,B41)])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass(e.summary?"AVResourceSection--fields-container":"AVResourceSection--generic-container")},[c.createElementVNode("div",I41,[e.summary&&a.value?(c.openBlock(),c.createElementBlock("h4",D41,c.toDisplayString(a.value),1)):c.createCommentVNode("",!0),e.summary&&t.value?(c.openBlock(),c.createElementBlock("h5",P41,c.toDisplayString(t.value),1)):c.createCommentVNode("",!0),e.summary&&e.candidate.groups&&!e.card?(c.openBlock(),c.createElementBlock("div",O41,[c.createElementVNode("h4",R41,c.toDisplayString(n.value.title),1),n.value.surplus?(c.openBlock(),c.createBlock(M,{key:0,text:c.unref(u)("js.components.AVResourceSection.and_more",{amount:n.value.surplus}),content:n.value.remaining,position:"top",class:"AVResourceFields--tooltip"},null,8,["text","content"])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0),e.card?c.createCommentVNode("",!0):(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:3},c.renderList(i.value,g=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:`attribute_${g.attribute_name}`},[s.value&&l(g)?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(e.summary?"AVResourceFields--container-summary":"AVResourceFields--container-generic"),"data-test":"resource-content"},[e.summary?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("h4",{key:0,class:c.normalizeClass({"AVResourceFields--divisor":g.item_type==="check_box"}),"data-test":"resource-title"},[c.createTextVNode(c.toDisplayString(g.label[m.value])+" ",1),g.item_type==="check_box"?(c.openBlock(),c.createBlock(C,{key:0,icon:g.form_content?"square-check":"square-xmark",class:c.normalizeClass(g.form_content?"AVResourceFields--checkbox-true":"AVResourceFields--checkbox-false"),"aria-label":g.form_content?c.unref(u)("js.components.AVResourceSection.true"):c.unref(u)("js.components.AVResourceSection.false"),"data-test":"resource-checkbox-icon"},null,8,["icon","class","aria-label"])):c.createCommentVNode("",!0)],2)),!e.summary&&g.item_type!=="check_box"?(c.openBlock(),c.createElementBlock("hr",F41)):c.createCommentVNode("",!0),g.item_type==="link_list"&&l(g)?(c.openBlock(),c.createElementBlock("div",j41,[e.summary?(c.openBlock(),c.createElementBlock("span",q41,c.toDisplayString(`${g.label[m.value]}:`),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(g.form_content,z=>(c.openBlock(),c.createBlock(b,{key:z.attributes.name,link:z,large:!e.summary},null,8,["link","large"]))),128))])):g.item_type==="check_box"&&e.summary?(c.openBlock(),c.createElementBlock("div",$41,[c.createElementVNode("span",null,c.toDisplayString(`${g.label[m.value]}`),1),c.createVNode(C,{icon:g.form_content?"square-check":"square-xmark",class:c.normalizeClass(g.form_content?"AVResourceFields--checkbox-true":"AVResourceFields--checkbox-false"),"aria-label":g.form_content?c.unref(u)("js.components.AVResourceSection.true"):c.unref(u)("js.components.AVResourceSection.false")},null,8,["icon","class","aria-label"])])):g.item_type==="select"&&l(g)?(c.openBlock(),c.createElementBlock("div",U41,[e.summary?(c.openBlock(),c.createElementBlock("span",W41,c.toDisplayString(`${g.label[m.value]}:`),1)):c.createCommentVNode("",!0),c.createTextVNode(" "+c.toDisplayString(g.form_content[m.value]),1)])):g.item_type==="video"&&l(g)?(c.openBlock(),c.createElementBlock("div",G41,[c.createElementVNode("iframe",{style:{width:"100%",height:"100%","min-height":"400px"},src:g.form_content.toString()},null,8,J41)])):g.item_type==="rich_text_area"&&!e.summary&&l(g)?(c.openBlock(),c.createElementBlock("div",{key:6,class:"AVResourceFields--rich-text",innerHTML:g.localised?g.form_content[m.value]:g.form_content,"data-test":"resource-rich-text"},null,8,Z41)):g.item_type!=="rich_text_area"&&g.item_type!=="check_box"?(c.openBlock(),c.createElementBlock("p",Y41,[e.summary?(c.openBlock(),c.createElementBlock("span",Q41,c.toDisplayString(`${g.label[m.value]}: `),1)):c.createCommentVNode("",!0),g.item_type==="date"||g.item_type==="date_time"?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(c.unref(d)(g.form_content,g.item_type==="date"?null:"long")),1)],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:2},[c.createTextVNode(c.toDisplayString(g.localised?g.form_content[m.value]:g.form_content),1)],64))])):c.createCommentVNode("",!0)],2)):c.createCommentVNode("",!0)],64))),128))])],2)],2)],2)}}});const Y$=D(K41,[["__scopeId","data-v-9f104b97"]]),X41={class:"AVCalculateResultContent--container"},e61={class:"AVCalculateResultContent--information"},c61={class:"AVCalculateResultContent--information-set AVCalculateResultContent--role","data-test":"role"},a61={class:"AVCalculateResultContent--label"},t61={class:"AVCalculateResultContent--information-set AVCalculateResultContent--status","data-test":"status"},n61={class:"AVCalculateResultContent--label"},i61={class:"AVCalculateResultContent--status-information"},s61={class:"AVCalculateResultContent--information-set","data-test":"mixes"},l61={class:"AVCalculateResultContent--label"},o61={class:"AVCalculateResultContent--information-set","data-test":"decryptions"},r61={class:"AVCalculateResultContent--label"},f61={class:"AVCalculateResultContent--information-set","data-test":"time"},u61={class:"AVCalculateResultContent--label"},m61={class:"AVCalculateResultContent--elapsed"},d61=c.defineComponent({__name:"AVCalculateResultContent",props:{progress:{type:Number,default:0,validate:e=>e>=0&&e<=100},role:{type:String,default:"decrypter"},status:{type:String,default:"initial"},mixes:{type:Array,required:!0,validate:e=>e.length===2},decryptions:{type:Array,required:!0,validate:e=>e.length===2},elapsed:{type:String,required:!0},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=e,i=c.computed(()=>t(`js.components.AVCalculateResultContent.roles.${n.role}`)),s=c.computed(()=>t(`js.components.AVCalculateResultContent.status.${n.status}`)),l=c.computed(()=>{switch(n.status){case"initial":return"hourglass-half";case"mixing":return"shuffle";case"decrypting":return"key";case"aggregating":return"calculator";case"finished":return"circle-check";default:return"xmark"}});return c.onMounted(()=>{n.locale&&G(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&G(n.locale)},{deep:!0}),(o,r)=>{const f=c.resolveComponent("AVProgressBar"),u=c.resolveComponent("AVIcon"),d=c.resolveComponent("AVWaitingDots");return c.openBlock(),c.createElementBlock("div",X41,[c.createVNode(f,{value:e.progress,"data-test":"progress"},null,8,["value"]),c.createElementVNode("div",e61,[c.createElementVNode("div",c61,[c.createElementVNode("span",a61,c.toDisplayString(c.unref(t)("js.components.AVCalculateResultContent.roles.label")),1),c.createElementVNode("span",null,[c.createVNode(u,{icon:"user-shield"}),c.createTextVNode(" "+c.toDisplayString(i.value),1)])]),c.createElementVNode("div",t61,[c.createElementVNode("span",n61,c.toDisplayString(c.unref(t)("js.components.AVCalculateResultContent.status.label")),1),c.createElementVNode("span",i61,[c.createVNode(u,{icon:l.value,class:c.normalizeClass(["AVCalculateResultContent--status-icon",{"AVCalculateResultContent--success":e.status==="finished"}]),"data-test":"status-icon"},null,8,["icon","class"]),c.createTextVNode(" "+c.toDisplayString(s.value)+" ",1),e.status!=="finished"?(c.openBlock(),c.createBlock(d,{key:0})):c.createCommentVNode("",!0)])]),c.createElementVNode("div",s61,[c.createElementVNode("span",l61,c.toDisplayString(c.unref(t)("js.components.AVCalculateResultContent.mixes.label")),1),c.createElementVNode("span",null,c.toDisplayString(`${e.mixes[0]}/${e.mixes[1]}`),1)]),c.createElementVNode("div",o61,[c.createElementVNode("span",r61,c.toDisplayString(c.unref(t)("js.components.AVCalculateResultContent.decryptions.label")),1),c.createElementVNode("span",null,c.toDisplayString(`${e.decryptions[0]}/${e.decryptions[1]}`),1)]),c.createElementVNode("div",f61,[c.createElementVNode("span",u61,c.toDisplayString(c.unref(t)("js.components.AVCalculateResultContent.elapsed.label")),1),c.createElementVNode("span",m61,c.toDisplayString(e.elapsed),1)])])])}}});const Q$=D(d61,[["__scopeId","data-v-bca5e80e"]]),p61={class:"AVNormalSummary--container"},v61={class:"AVNormalSummary"},h61=c.defineComponent({__name:"AVNormalSummary",props:{sortedResult:{type:Array,required:!0},hidePercentage:{type:Boolean,default:!1},totalCount:{type:Number,required:!0}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVResultOption");return c.openBlock(),c.createElementBlock("div",p61,[c.createElementVNode("div",v61,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.sortedResult,i=>(c.openBlock(),c.createBlock(n,{key:`result_for_${i.reference}`,optionTitle:i.title,optionImage:i.image,votes:i.count,total:e.totalCount,elected:i.elected,tied:i.tied,"hide-percentage":e.hidePercentage,"data-test":"result-option"},null,8,["optionTitle","optionImage","votes","total","elected","tied","hide-percentage"]))),128))])])}}});const K$=D(h61,[["__scopeId","data-v-01af2e3f"]]),z61={class:"AVRankedSummary--container"},V61={class:"AVRankedSummary--table",id:"ranked_summary_table","data-test":"table"},g61={class:"AVRankedSummary--heading"},M61={class:"AVRankedSummary--summary","data-test":"summary"},C61={key:0},H61={key:1},b61={key:2},A61=c.defineComponent({__name:"AVRankedSummary",props:{result:{},distributionNumber:{},seats:{},locale:{}},setup(e){const a=e,t=c.computed(()=>{var r,f;return((f=(r=a.result[0])==null?void 0:r.rounds)==null?void 0:f.length)??0}),n=c.computed(()=>a.result.filter(r=>r.elected).map(r=>r.title[o.value]??Object.values(r.title)[0])),i=c.computed(()=>a.result.filter(r=>r.tied).map(r=>r.title[o.value]??Object.values(r.title)[0])),s=c.inject("i18n"),{t:l}=s.global,o=c.computed(()=>s.global.locale.value||s.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(r,f)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",z61,[c.createElementVNode("table",V61,[c.createElementVNode("thead",g61,[c.createElementVNode("tr",null,[c.createElementVNode("th",null,c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.header.position")),1),c.createElementVNode("th",null,c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.header.candidate")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.value,u=>(c.openBlock(),c.createElementBlock("th",{key:`header_for_round_${u}`,class:"AVRankedSummary--text"},c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.header.round_n",{n:u})),1))),128))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.result,(u,d)=>(c.openBlock(),c.createElementBlock("tr",{key:`option_${u.reference}`,class:c.normalizeClass({"AVRankedSummary--elected":u.elected,"AVRankedSummary--tied":u.tied})},[c.createElementVNode("td",null,c.toDisplayString(u.elected&&d+1||""),1),c.createElementVNode("td",null,c.toDisplayString(u.title[o.value]),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(u.rounds,(m,p)=>(c.openBlock(),c.createElementBlock("td",{key:`round_nr_${p}`,class:c.normalizeClass(["AVRankedSummary--text",{"AVRankedSummary--text-bold":p+1===t.value}])},c.toDisplayString(m.count),3))),128))],2))),128))])])]),c.createElementVNode("div",M61,[c.createElementVNode("p",null,c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.summary.seats"))+": "+c.toDisplayString(r.seats),1),r.distributionNumber>0?(c.openBlock(),c.createElementBlock("p",C61,c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.summary.distribution"))+": "+c.toDisplayString(r.distributionNumber),1)):c.createCommentVNode("",!0),n.value.length>0?(c.openBlock(),c.createElementBlock("p",H61,[c.createTextVNode(c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.summary.elected"))+": ",1),c.createElementVNode("span",null,c.toDisplayString(n.value.join(", ")),1)])):c.createCommentVNode("",!0),i.value.length>0?(c.openBlock(),c.createElementBlock("p",b61,[c.createTextVNode(c.toDisplayString(c.unref(l)("js.components.AVRankedSummary.summary.tied"))+": ",1),c.createElementVNode("span",null,c.toDisplayString(i.value.join(", ")),1)])):c.createCommentVNode("",!0)])],64))}});const X$=D(A61,[["__scopeId","data-v-08f3cdf6"]]),L61={class:"AVInstantRunoffSummary"},_61={class:"AVInstantRunoffSummary--title","data-test":"seat-title"},k61={class:"AVInstantRunoffSummary--container"},N61={class:"AVInstantRunoffSummary--table-container"},y61={class:"AVInstantRunoffSummary--table",id:"ranked_summary_table","data-test":"table"},x61={class:"AVInstantRunoffSummary--heading"},S61={key:0,class:"AVInstantRunoffSummary--summary","data-test":"not-included"},w61={class:"AVInstantRunoffSummary--summary","data-test":"abstain"},E61={class:"AVInstantRunoffSummary--summary","data-test":"total"},T61={class:"AVInstantRunoffSummary--summary","data-test":"quota"},B61=c.defineComponent({__name:"AVInstantRunoffSummary",props:{rounds:{type:Array,required:!0},sortedResult:{type:Array,required:!0},seatNumber:{type:Number,required:!0},quota:{type:Number,required:!0},totalVotes:{type:Number,required:!0},blankVotes:{type:Number,required:!0},votesNotIncluded:{type:Number,default:null},locale:{type:String,default:null}},setup(e){const a=e,t=(r,f)=>a.rounds[f].counts[r]||0,n=(r,f)=>a.rounds[f].eliminated===r&&"AVInstantRunoffSummary--eliminated",i=(r,f)=>a.rounds[f].elected===r&&"AVInstantRunoffSummary--elected",s=c.inject("i18n"),{t:l}=s.global,o=c.computed(()=>s.global.locale.value||s.global.locale);return c.onMounted(()=>{a.locale&&G(a.locale)}),c.watch(()=>a.locale,()=>{a.locale&&G(a.locale)},{deep:!0}),(r,f)=>{const u=c.resolveComponent("AVIcon"),d=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",L61,[c.createElementVNode("h5",_61,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.seat_n",{n:e.seatNumber})),1),c.createElementVNode("div",k61,[c.createElementVNode("div",N61,[c.createElementVNode("table",y61,[c.createElementVNode("thead",x61,[c.createElementVNode("tr",null,[c.createElementVNode("th",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.header.candidate")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.rounds,(m,p)=>c.withDirectives((c.openBlock(),c.createElementBlock("th",{key:`instant_runoff_seat_${e.seatNumber}_round_${p}`,class:"AVInstantRunoffSummary--text AVInstantRunoffSummary--help"},[c.createTextVNode(c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.header.round_n",{n:p+1}))+" ",1),c.createVNode(u,{icon:"info-circle",class:"AVInstantRunoffSummary--help"})])),[[d,e.rounds[p].event]])),128))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.sortedResult,(m,p)=>(c.openBlock(),c.createElementBlock("tr",{key:p},[m.title?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createElementVNode("td",null,c.toDisplayString(m.title[o.value]),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.rounds.length,h=>(c.openBlock(),c.createElementBlock("td",{key:`instant_runoff_seat_${e.seatNumber}_number_${h}`,class:c.normalizeClass(["AVInstantRunoffSummary--text",{"AVInstantRunoffSummary--elected":i(m.reference,h-1),"AVInstantRunoffSummary--eliminated":n(m.reference,h-1)}])},c.toDisplayString(t(m.reference,h-1)),3))),128))],64)):c.createCommentVNode("",!0)]))),128)),c.createElementVNode("tr",null,[c.createElementVNode("td",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.transfered_votes")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.rounds.length,m=>(c.openBlock(),c.createElementBlock("td",{key:`instant_runoff_seat_${e.seatNumber}_transferred_${m}`,class:"AVInstantRunoffSummary--text"},c.toDisplayString(e.rounds[m-1].transferred),1))),128))]),c.createElementVNode("tr",null,[c.createElementVNode("td",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.exhausted")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.rounds.length,m=>(c.openBlock(),c.createElementBlock("td",{key:`instant_runoff_seat_${e.seatNumber}_exhausted_${m}`,class:"AVInstantRunoffSummary--text AVInstantRunoffSummary--cell-text"},c.toDisplayString(e.rounds[m-1].exhausted),1))),128))])])])]),e.votesNotIncluded?(c.openBlock(),c.createElementBlock("p",S61,[c.createElementVNode("strong",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.not_included_count")),1),c.createTextVNode(" "+c.toDisplayString(e.votesNotIncluded),1)])):c.createCommentVNode("",!0),c.createElementVNode("p",w61,[c.createElementVNode("strong",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.abstain")),1),c.createTextVNode(" "+c.toDisplayString(e.blankVotes),1)]),c.createElementVNode("p",E61,[c.createElementVNode("strong",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.total_votes")),1),c.createTextVNode(" "+c.toDisplayString(e.totalVotes),1)]),c.createElementVNode("p",T61,[c.createElementVNode("strong",null,c.toDisplayString(c.unref(l)("js.components.AVInstantRunoffSummary.summary.quota")),1),c.createTextVNode(" "+c.toDisplayString(e.quota),1)])])])}}});const eU=D(B61,[["__scopeId","data-v-79f2ee69"]]);var I61={},D61=c.createElementVNode("a",{href:"#"},"LOGO",-1),P61={class:"flex items-center"},O61={class:"flex flex-col items-center justify-center p-3 w-full"},R61=c.createElementVNode("h2",{class:"mb-4"},"Election Name",-1),F61=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1);function j61(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),s=c.resolveComponent("AVNavbar"),l=c.resolveComponent("AVLabel"),o=c.resolveComponent("AVTabSwitcher"),r=c.resolveComponent("AVSidebarItem"),f=c.resolveComponent("AVButton"),u=c.resolveComponent("AVSidebar"),d=c.resolveComponent("AVContent"),m=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(s,null,{default:c.withCtx(function(){return[D61,c.createElementVNode("div",P61,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(d,null,{sidebar:c.withCtx(function(){return[c.createVNode(u,null,{default:c.withCtx(function(){return[c.createElementVNode("div",O61,[R61,c.createVNode(l,{value:"draft",type:"info"})]),c.createVNode(o,{options:["Pre-election","election"]}),c.createVNode(n,{type:"sidebar"},{default:c.withCtx(function(){return[c.createVNode(r,{label:"Election Overview",icon:"grip",active:""}),c.createVNode(r,{label:"Election details",type:"step",stepIndex:"1"}),c.createVNode(r,{label:"Digital Absentee Voting Requirements",type:"step",stepIndex:"2"}),c.createVNode(r,{label:"Voting App Set Up",type:"step",stepIndex:"3"}),c.createVNode(r,{label:"Ballot Data",type:"step",stepIndex:"4"}),c.createVNode(r,{label:"Ballot Styles",type:"step",stepIndex:"5"}),c.createVNode(r,{label:"Configure Ballot Extraction",type:"step",stepIndex:"6"}),c.createVNode(r,{label:"Start Ballot Box Set Up",icon:"download"}),c.createVNode(r,{label:"Finish Ballot Box Set Up",icon:"handshake-simple",disabled:""})]}),_:1}),c.createVNode(f,{type:"primary",label:"Create election",fullWidth:""})]}),_:1})]}),content:c.withCtx(function(){return[F61]}),_:1}),c.createVNode(m)],64)}const cU=D(I61,[["render",j61]]);var q61={},$61=c.createElementVNode("a",{href:"#"},"LOGO",-1),U61={class:"flex items-center"},W61={class:"flex flex-col items-center justify-center p-3 w-full"},G61=c.createElementVNode("h2",{class:"mb-4"},"Election Name",-1),J61=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1),Z61=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1);function Y61(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),s=c.resolveComponent("AVNavbar"),l=c.resolveComponent("AVLabel"),o=c.resolveComponent("AVTabSwitcher"),r=c.resolveComponent("AVSidebarItem"),f=c.resolveComponent("AVButton"),u=c.resolveComponent("AVSidebar"),d=c.resolveComponent("AVContent"),m=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(s,null,{default:c.withCtx(function(){return[$61,c.createElementVNode("div",U61,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(d,null,{sidebar:c.withCtx(function(){return[c.createVNode(u,null,{default:c.withCtx(function(){return[c.createElementVNode("div",W61,[G61,c.createVNode(l,{value:"draft",type:"info"})]),c.createVNode(o,{options:["Pre-election","election"]}),c.createVNode(n,{type:"sidebar"},{default:c.withCtx(function(){return[c.createVNode(r,{label:"Election Overview",icon:"grip",active:""}),c.createVNode(r,{label:"Election details",type:"step",stepIndex:"1"}),c.createVNode(r,{label:"Digital Absentee Voting Requirements",type:"step",stepIndex:"2"}),c.createVNode(r,{label:"Voting App Set Up",type:"step",stepIndex:"3"}),c.createVNode(r,{label:"Ballot Data",type:"step",stepIndex:"4"}),c.createVNode(r,{label:"Ballot Styles",type:"step",stepIndex:"5"}),c.createVNode(r,{label:"Configure Ballot Extraction",type:"step",stepIndex:"6"}),c.createVNode(r,{label:"Start Ballot Box Set Up",icon:"download"}),c.createVNode(r,{label:"Finish Ballot Box Set Up",icon:"handshake-simple",disabled:""})]}),_:1}),c.createVNode(f,{type:"primary",label:"Create election",fullWidth:""})]}),_:1})]}),content:c.withCtx(function(){return[J61,Z61]}),_:1}),c.createVNode(m)],64)}const aU=D(q61,[["render",Y61]]);var Q61={},K61=c.createElementVNode("a",{href:"#"},"LOGO",-1),X61={class:"flex items-center"},e81=c.createElementVNode("div",null,[c.createElementVNode("h1",null,"Content goes here"),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. ")],-1);function c81(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),s=c.resolveComponent("AVNavbar"),l=c.resolveComponent("AVContent"),o=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(s,null,{default:c.withCtx(function(){return[K61,c.createElementVNode("div",X61,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(l,null,{content:c.withCtx(function(){return[e81]}),_:1}),c.createVNode(o,{enableSteps:"",steps:["Check my ballot","Ballot Found","Verify Passkey","Review Unsealed Ballot","Finish"],done:["Check my ballot","Ballot Found"],active:"Verify Passkey"})],64)}const tU=D(Q61,[["render",c81]]),y6=e=>(c.pushScopeId("data-v-20fc858f"),e=e(),c.popScopeId(),e),a81=y6(()=>c.createElementVNode("a",{href:"#"},"LOGO",-1)),t81={class:"flex items-center"},n81={href:"/new"},i81=y6(()=>c.createElementVNode("div",{class:"new-election-title-container"},[c.createElementVNode("span",{class:"new-election-title","data-test":"title"},"Create new election")],-1)),s81={class:"new-election-button"},l81={key:0,class:"no-elections-container"},o81=y6(()=>c.createElementVNode("span",{class:"no-elections-title","data-test":"title"},"Your dashboard is empty",-1)),r81=y6(()=>c.createElementVNode("span",{class:"no-elections-text","data-test":"title"},"Once you create new elections you will see them displayed in this dashboard.",-1)),f81=c.defineComponent({__name:"ElectionDashboardLayout",setup(e){const a=[{id:"DV-1",name:"General Election 1",status:"draft",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-2",name:"General Election 2",status:"open",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-3",name:"General Election 3",status:"closed",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-4",name:"General Election 4",status:"archived",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"}];return(t,n)=>{const i=c.resolveComponent("AVNavbarItem"),s=c.resolveComponent("AVNavigationItemList"),l=c.resolveComponent("AVMenuDropdown"),o=c.resolveComponent("AVNavbar"),r=c.resolveComponent("AVIcon"),f=c.resolveComponent("AVCard"),u=c.resolveComponent("AVElectionCard"),d=c.resolveComponent("AVContent"),m=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(o,null,{default:c.withCtx(()=>[a81,c.createElementVNode("div",t81,[c.createVNode(s,{type:"navbar"},{default:c.withCtx(()=>[c.createVNode(i,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(i,{label:"Admins",icon:"user-shield",href:"#"})]),_:1}),c.createVNode(l,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]),_:1}),c.createVNode(d,null,{content:c.withCtx(()=>[c.createVNode(f,{variant:"jumbotron",class:"dashboard-container"},{default:c.withCtx(()=>[c.createElementVNode("a",n81,[c.createVNode(f,{variant:"rounded",role:"button"},{default:c.withCtx(()=>[i81,c.createElementVNode("div",s81,[c.createVNode(r,{icon:"fa-solid fa-circle-plus",class:"new-election-icon"})])]),_:1})]),a.length===0?(c.openBlock(),c.createElementBlock("div",l81,[c.createVNode(r,{icon:"fa-solid fa-folder-open",class:"no-elections-icon"}),o81,r81])):c.createCommentVNode("",!0),(c.openBlock(),c.createElementBlock(c.Fragment,null,c.renderList(a,p=>c.createVNode(u,{key:p.id,id:p.id,name:p.name,status:p.status,countyNameLabel:p.countyNameLabel,countyName:p.countyName,createdAtLabel:p.createdAtLabel,createdAt:p.createdAt,lastUpdatedLabel:p.lastUpdatedLabel,lastUpdated:p.lastUpdated,href:p.href},null,8,["id","name","status","countyNameLabel","countyName","createdAtLabel","createdAt","lastUpdatedLabel","lastUpdated","href"])),64))]),_:1})]),_:1}),c.createVNode(m)],64)}}});const nU=D(f81,[["__scopeId","data-v-20fc858f"]]),u81={install:function(e,a){a===void 0&&(a=null),e.use(aZ),e.component("AVIcon",Dq),e.component("AVButton",Pq),e.component("AVSpinner",Oq),e.component("AVBullet",V4),e.component("AVTextInput",Rq),e.component("AVNumberInput",Fq),e.component("AVPasswordInput",jq),e.component("AVDatetimeInput",qq),e.component("AVTextArea",$q),e.component("AVCard",Wq),e.component("AVRoundButton",Gq),e.component("AVLabel",Uq),e.component("AVDropdown",Jq),e.component("AVDropdownContent",Zq),e.component("AVDropdownItem",Yq),e.component("AVAlert",Qq),e.component("AVFileInput",Kq),e.component("AVRadio",Xq),e.component("AVLink",e$),e.component("AVNavbarItem",c$),e.component("AVSidebarItem",a$),e.component("AVTooltip",t$),e.component("AVMenuDropdown",n$),e.component("AVMenuDropdownContent",i$),e.component("AVMenuDropdownItem",s$),e.component("AVAsyncButton",l$),e.component("AVTabSwitcher",o$),e.component("AVBallotSummary",r$),e.component("AVTimedCard",f$),e.component("AVBasicSteps",u$),e.component("AVSteps",m$),e.component("AVOptionSelect",p$),e.component("AVOptionCheckbox",v$),e.component("AVTransitionSlide",h$),e.component("AVCollapser",z$),e.component("AVLinkVisualizer",V$),e.component("AVVerticalStep",TX),e.component("AVAnimatedMenuButton",RX),e.component("AVProgressBar",g$),e.component("AVWaitingDots",M$),e.component("AVRadioGroup",C$),e.component("AVNavigationItemList",H$),e.component("AVBreadcrumb",b$),e.component("AVElectionCard",A$),e.component("AVBallotStyleCard",L$),e.component("AVSummaryOption",_$),e.component("AVOption",y$),e.component("AVBlankOption",S$),e.component("AVWriteInOption",w$),e.component("AVSubmissionHelper",E$),e.component("AVSearchBallot",T$),e.component("AVSplitWeightHelper",B$),e.component("AVSplitWizardHeader",I$),e.component("AVElectaContestCard",D$),e.component("AVResultOption",P$),e.component("AVFooter",O$),e.component("AVSidebar",R$),e.component("AVNavbar",F$),e.component("AVContent",j$),e.component("AVModal",q$),e.component("AVBallot",W$),e.component("AVPileSummary",G$),e.component("AVSplitHelper",Z$),e.component("AVResourceSection",Y$),e.component("AVCalculateResultContent",Q$),e.component("AVNormalSummary",K$),e.component("AVRankedSummary",X$),e.component("AVInstantRunoffSummary",eU),e.component("OneColumnLayout",cU),e.component("TwoColumnsLayout",aU),e.component("NoSidebarLayout",tU),e.component("ElectionDashboardLayout",nU),e.provide("i18n",a||rs),e.provide("iconNames",Pj)}};exports.AVAlert=Qq;exports.AVAsyncButton=l$;exports.AVBallot=W$;exports.AVBallotStyleCard=L$;exports.AVBallotSummary=r$;exports.AVBasicSteps=u$;exports.AVBlankOption=S$;exports.AVBreadcrumb=b$;exports.AVBullet=V4;exports.AVButton=Pq;exports.AVCalculateResultContent=Q$;exports.AVCard=Wq;exports.AVCollapser=z$;exports.AVContent=j$;exports.AVDatetimeInput=qq;exports.AVDropdown=Jq;exports.AVDropdownContent=Zq;exports.AVDropdownItem=Yq;exports.AVElectaContestCard=D$;exports.AVElectionCard=A$;exports.AVFileInput=Kq;exports.AVFooter=O$;exports.AVIcon=Dq;exports.AVInstantRunoffSummary=eU;exports.AVLabel=Uq;exports.AVLink=e$;exports.AVLinkVisualizer=V$;exports.AVMenuDropdown=n$;exports.AVMenuDropdownContent=i$;exports.AVMenuDropdownItem=s$;exports.AVModal=q$;exports.AVNavbar=F$;exports.AVNavbarItem=c$;exports.AVNavigationItemList=H$;exports.AVNormalSummary=K$;exports.AVNumberInput=Fq;exports.AVOption=y$;exports.AVOptionCheckbox=v$;exports.AVOptionSelect=p$;exports.AVPasswordInput=jq;exports.AVPileSummary=G$;exports.AVProgressBar=g$;exports.AVRadio=Xq;exports.AVRadioGroup=C$;exports.AVRankedSummary=X$;exports.AVResourceSection=Y$;exports.AVResultOption=P$;exports.AVRoundButton=Gq;exports.AVSearchBallot=T$;exports.AVSidebar=R$;exports.AVSidebarItem=a$;exports.AVSpinner=Oq;exports.AVSplitHelper=Z$;exports.AVSplitWeightHelper=B$;exports.AVSplitWizardHeader=I$;exports.AVSteps=m$;exports.AVSubmissionHelper=E$;exports.AVSummaryOption=_$;exports.AVTabSwitcher=o$;exports.AVTextArea=$q;exports.AVTextInput=Rq;exports.AVTimedCard=f$;exports.AVTooltip=t$;exports.AVTransitionSlide=h$;exports.AVWaitingDots=M$;exports.AVWriteInOption=w$;exports.ElectionDashboardLayout=nU;exports.NoSidebarLayout=tU;exports.OneColumnLayout=cU;exports.TwoColumnsLayout=aU;exports.default=u81;exports.iconNames=Pj;