pdap-design-system 3.0.0 → 3.1.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -1,7 +1,562 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),b=require("vue-router"),Oe={name:"PdapButton"},H=e.defineComponent({...Oe,props:{intent:{default:"primary"},isLoading:{type:Boolean,default:!1}},setup(t){const r=t,a=e.reactive({"pdap-button":!0,[`pdap-button-${r.intent}`]:!!r.intent,"pdap-button-loading":r.isLoading});return(n,o)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(a)},[e.renderSlot(n.$slots,"default")],2))}});const ze=e.createElementVNode("h1",null,"Oops, something went wrong!",-1),_e=e.createElementVNode("p",{class:"max-w-full","data-test":"error-boundary-message"},[e.createTextVNode(" If you keep seeing this message, please email "),e.createElementVNode("a",{href:"mailto:contact@pdap.io"},"contact@pdap.io"),e.createTextVNode(" for assistance. ")],-1),ke={name:"ErrorBoundary"},Ae=e.defineComponent({...ke,props:{component:{default:"div"},onError:{type:Function,default:void 0},params:{default:void 0}},emits:["onError"],setup(t,{emit:r}){const a=t,n=r,o=e.ref(),s=e.ref("");function l(i,d,c){var p;o.value=i,s.value=c,(p=a.onError)==null||p.call(a,i,d,c),n("onError",{error:i,vm:d,info:c})}return e.onErrorCaptured((i,d,c)=>{l(i,d,c)}),(i,d)=>o.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.component),{key:1,class:"pdap-flex-container-center h-[full]","v-bind":i.params},{default:e.withCtx(()=>[ze,_e]),_:1},8,["v-bind"])):e.renderSlot(i.$slots,"default",{key:0})}}),Pe="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgM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KCWM0LjMsMCw2LjctMy40LDYuNy03LjJTNjQuNSw2MS41LDYwLjUsNjEuNXoiLz4KPHBhdGggZD0iTTg4LjcsODAuMUw4Nyw3NC40aC03bC0xLjgsNS44aC01LjNsOC4yLTIyLjloNC44bDguMywyMi45aC01LjVWODAuMXogTTg0LDY0LjZjLTAuMi0wLjctMC41LTEuNi0wLjUtMS44CgljMCwwLjEtMC4yLDEtMC41LDEuOGwtMS43LDUuNmg0LjRMODQsNjQuNnoiLz4KPHBhdGggZD0iTTEwNC43LDcxLjFoLTIuNnY5LjFoLTVWNTcuM2g3LjZjNS4xLDAsOC40LDIuNCw4LjQsNi43UzEwOS44LDcxLjEsMTA0LjcsNzEuMXogTTEwNC43LDYxLjVoLTIuNnY1LjNoMi42CgljMi4zLDAsMy4zLTAuOSwzLjMtMi43UzEwNi45LDYxLjUsMTA0LjcsNjEuNXoiLz4KPC9zdmc+Cg==",Be={class:"pdap-footer"},Ye={class:"pdap-flex-container-center"},Ve={class:"pdap-footer-social-links"},Qe=["href"],Re={class:"pdap-footer-copyright"},Ue=e.createElementVNode("br",null,null,-1),Fe=e.createElementVNode("p",{class:"pdap-footer-copyright"},[e.createTextVNode(" PDAP is a non-profit. EIN: 85-4207132. "),e.createElementVNode("a",{href:"https://docs.pdap.io/meta/policy/pdap-privacy-policy",alt:"Privacy Policy",target:"_blank"},[e.createElementVNode("br"),e.createTextVNode(" Privacy Policy "),e.createElementVNode("i",{class:"fa fa-external-link"})]),e.createElementVNode("br"),e.createElementVNode("a",{href:"mailto:contact@pdap.io"},"contact@pdap.io")],-1),We={class:"pdap-footer-widget-links"},Ge=e.createElementVNode("a",{href:"https://www.guidestar.org/profile/85-4207132",target:"_blank"},[e.createElementVNode("img",{alt:"platinum transparency",src:"https://widgets.guidestar.org/gximage2?o=9973356&l=v4"})],-1),Ze=["href"],He=["src"],Je=["src"],Xe={name:"PdapFooter"},Ke=e.defineComponent({...Xe,props:{logoImageSrc:{default:Pe},logoImageAnchorPath:{default:"/"}},setup(t){const r=t,a=e.inject("footerLinks",[{href:"https://github.com/orgs/Police-Data-Accessibility-Project",text:"Github"},{href:"https://discord.gg/wMqex8nKZJ",text:"Discord"},{href:"https://www.linkedin.com/company/pdap",text:"LinkedIn"},{path:"/jobs",text:"Jobs"}]),n=r.logoImageAnchorPath.startsWith("/");return(o,s)=>{const l=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("footer",Be,[e.createElementVNode("div",Ye,[e.createElementVNode("ul",Ve,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),i=>(e.openBlock(),e.createElementBlock("li",{key:i.text,class:"pdap-footer-link-container"},[i.href?(e.openBlock(),e.createElementBlock("a",{key:0,class:"pdap-footer-social-link",href:i.href,target:"_blank",referrerpolicy:"no-referrer"},e.toDisplayString(i.text),9,Qe)):e.createCommentVNode("",!0),i.path?(e.openBlock(),e.createBlock(l,{key:1,"active-class":"pdap-footer-social-link-current","exact-active-class":"pdap-footer-social-link-current-exact",class:"pdap-footer-social-link",to:i.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.text),1)]),_:2},1032,["to"])):e.createCommentVNode("",!0)]))),128))]),e.createElementVNode("p",Re,[e.createTextVNode(" © "+e.toDisplayString(new Date().getFullYear())+" Police Data Accessibility Project",1),Ue]),Fe,e.createElementVNode("div",We,[Ge,e.unref(n)?(e.openBlock(),e.createBlock(l,{key:1,to:o.logoImageAnchorPath,class:"pdap-footer-logo"},{default:e.withCtx(()=>[e.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Je)]),_:1},8,["to"])):(e.openBlock(),e.createElementBlock("a",{key:0,href:o.logoImageAnchorPath,class:"pdap-footer-logo"},[e.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,He)],8,Ze))])])])}}});function re(t,r){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),a.push.apply(a,n)}return a}function C(t){for(var r=1;r<arguments.length;r++){var a=arguments[r]!=null?arguments[r]:{};r%2?re(Object(a),!0).forEach(function(n){qe(t,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):re(Object(a)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(a,n))})}return t}function qe(t,r,a){return r in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t}function ae(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(t).reduce((a,n)=>(r.includes(n)||(a[n]=e.unref(t[n])),a),{})}function V(t){return typeof t=="function"}function et(t){return e.isReactive(t)||e.isReadonly(t)}function ge(t,r,a){let n=t;const o=r.split(".");for(let s=0;s<o.length;s++){if(!n[o[s]])return a;n=n[o[s]]}return n}function G(t,r,a){return e.computed(()=>t.some(n=>ge(r,n,{[a]:!1})[a]))}function ne(t,r,a){return e.computed(()=>t.reduce((n,o)=>{const s=ge(r,o,{[a]:!1})[a]||[];return n.concat(s)},[]))}function me(t,r,a,n){return t.call(n,e.unref(r),e.unref(a),n)}function fe(t){return t.$valid!==void 0?!t.$valid:!t}function tt(t,r,a,n,o,s,l){let{$lazy:i,$rewardEarly:d}=o,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],p=arguments.length>8?arguments[8]:void 0,m=arguments.length>9?arguments[9]:void 0,f=arguments.length>10?arguments[10]:void 0;const g=e.ref(!!n.value),u=e.ref(0);a.value=!1;const L=e.watch([r,n].concat(c,f),()=>{if(i&&!n.value||d&&!m.value&&!a.value)return;let M;try{M=me(t,r,p,l)}catch(y){M=Promise.reject(y)}u.value++,a.value=!!u.value,g.value=!1,Promise.resolve(M).then(y=>{u.value--,a.value=!!u.value,s.value=y,g.value=fe(y)}).catch(y=>{u.value--,a.value=!!u.value,s.value=y,g.value=!0})},{immediate:!0,deep:typeof r=="object"});return{$invalid:g,$unwatch:L}}function rt(t,r,a,n,o,s,l,i){let{$lazy:d,$rewardEarly:c}=n;const p=()=>({}),m=e.computed(()=>{if(d&&!a.value||c&&!i.value)return!1;let f=!0;try{const g=me(t,r,l,s);o.value=g,f=fe(g)}catch(g){o.value=g}return f});return{$unwatch:p,$invalid:m}}function at(t,r,a,n,o,s,l,i,d,c,p){const m=e.ref(!1),f=t.$params||{},g=e.ref(null);let u,L;t.$async?{$invalid:u,$unwatch:L}=tt(t.$validator,r,m,a,n,g,o,t.$watchTargets,d,c,p):{$invalid:u,$unwatch:L}=rt(t.$validator,r,a,n,g,o,d,c);const M=t.$message;return{$message:V(M)?e.computed(()=>M(ae({$pending:m,$invalid:u,$params:ae(f),$model:r,$response:g,$validator:s,$propertyPath:i,$property:l}))):M||"",$params:f,$pending:m,$invalid:u,$response:g,$unwatch:L}}function nt(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=e.unref(t),a=Object.keys(r),n={},o={},s={};let l=null;return a.forEach(i=>{const d=r[i];switch(!0){case V(d.$validator):n[i]=d;break;case V(d):n[i]={$validator:d};break;case i==="$validationGroups":l=d;break;case i.startsWith("$"):s[i]=d;break;default:o[i]=d}}),{rules:n,nestedValidators:o,config:s,validationGroups:l}}const ot="__root";function st(t,r,a,n,o,s,l,i,d){const c=Object.keys(t),p=n.get(o,t),m=e.ref(!1),f=e.ref(!1),g=e.ref(0);if(p){if(!p.$partial)return p;p.$unwatch(),m.value=p.$dirty.value}const u={$dirty:m,$path:o,$touch:()=>{m.value||(m.value=!0)},$reset:()=>{m.value&&(m.value=!1)},$commit:()=>{}};return c.length?(c.forEach(L=>{u[L]=at(t[L],r,u.$dirty,s,l,L,a,o,d,f,g)}),u.$externalResults=e.computed(()=>i.value?[].concat(i.value).map((L,M)=>({$propertyPath:o,$property:a,$validator:"$externalResults",$uid:`${o}-externalResult-${M}`,$message:L,$params:{},$response:null,$pending:!1})):[]),u.$invalid=e.computed(()=>{const L=c.some(M=>e.unref(u[M].$invalid));return f.value=L,!!u.$externalResults.value.length||L}),u.$pending=e.computed(()=>c.some(L=>e.unref(u[L].$pending))),u.$error=e.computed(()=>u.$dirty.value?u.$pending.value||u.$invalid.value:!1),u.$silentErrors=e.computed(()=>c.filter(L=>e.unref(u[L].$invalid)).map(L=>{const M=u[L];return e.reactive({$propertyPath:o,$property:a,$validator:L,$uid:`${o}-${L}`,$message:M.$message,$params:M.$params,$response:M.$response,$pending:M.$pending})}).concat(u.$externalResults.value)),u.$errors=e.computed(()=>u.$dirty.value?u.$silentErrors.value:[]),u.$unwatch=()=>c.forEach(L=>{u[L].$unwatch()}),u.$commit=()=>{f.value=!0,g.value=Date.now()},n.set(o,t,u),u):(p&&n.set(o,t,u),u)}function ut(t,r,a,n,o,s,l){const i=Object.keys(t);return i.length?i.reduce((d,c)=>(d[c]=Z({validations:t[c],state:r,key:c,parentKey:a,resultsCache:n,globalConfig:o,instance:s,externalResults:l}),d),{}):{}}function it(t,r,a){const n=e.computed(()=>[r,a].filter(u=>u).reduce((u,L)=>u.concat(Object.values(e.unref(L))),[])),o=e.computed({get(){return t.$dirty.value||(n.value.length?n.value.every(u=>u.$dirty):!1)},set(u){t.$dirty.value=u}}),s=e.computed(()=>{const u=e.unref(t.$silentErrors)||[],L=n.value.filter(M=>(e.unref(M).$silentErrors||[]).length).reduce((M,y)=>M.concat(...y.$silentErrors),[]);return u.concat(L)}),l=e.computed(()=>{const u=e.unref(t.$errors)||[],L=n.value.filter(M=>(e.unref(M).$errors||[]).length).reduce((M,y)=>M.concat(...y.$errors),[]);return u.concat(L)}),i=e.computed(()=>n.value.some(u=>u.$invalid)||e.unref(t.$invalid)||!1),d=e.computed(()=>n.value.some(u=>e.unref(u.$pending))||e.unref(t.$pending)||!1),c=e.computed(()=>n.value.some(u=>u.$dirty)||n.value.some(u=>u.$anyDirty)||o.value),p=e.computed(()=>o.value?d.value||i.value:!1),m=()=>{t.$touch(),n.value.forEach(u=>{u.$touch()})},f=()=>{t.$commit(),n.value.forEach(u=>{u.$commit()})},g=()=>{t.$reset(),n.value.forEach(u=>{u.$reset()})};return n.value.length&&n.value.every(u=>u.$dirty)&&m(),{$dirty:o,$errors:l,$invalid:i,$anyDirty:c,$error:p,$pending:d,$touch:m,$reset:g,$silentErrors:s,$commit:f}}function Z(t){let{validations:r,state:a,key:n,parentKey:o,childResults:s,resultsCache:l,globalConfig:i={},instance:d,externalResults:c}=t;const p=o?`${o}.${n}`:n,{rules:m,nestedValidators:f,config:g,validationGroups:u}=nt(r),L=C(C({},i),g),M=n?e.computed(()=>{const w=e.unref(a);return w?e.unref(w[n]):void 0}):a,y=C({},e.unref(c)||{}),h=e.computed(()=>{const w=e.unref(c);return n?w?e.unref(w[n]):void 0:w}),_=st(m,M,n,l,p,L,d,h,a),v=ut(f,M,p,l,L,d,h),E={};u&&Object.entries(u).forEach(w=>{let[S,D]=w;E[S]={$invalid:G(D,v,"$invalid"),$error:G(D,v,"$error"),$pending:G(D,v,"$pending"),$errors:ne(D,v,"$errors"),$silentErrors:ne(D,v,"$silentErrors")}});const{$dirty:$,$errors:B,$invalid:U,$anyDirty:De,$error:Ce,$pending:F,$touch:W,$reset:Te,$silentErrors:xe,$commit:te}=it(_,v,s),Ee=n?e.computed({get:()=>e.unref(M),set:w=>{$.value=!0;const S=e.unref(a),D=e.unref(c);D&&(D[n]=y[n]),e.isRef(S[n])?S[n].value=w:S[n]=w}}):null;n&&L.$autoDirty&&e.watch(M,()=>{$.value||W();const w=e.unref(c);w&&(w[n]=y[n])},{flush:"sync"});async function Se(){return W(),L.$rewardEarly&&(te(),await e.nextTick()),await e.nextTick(),new Promise(w=>{if(!F.value)return w(!U.value);const S=e.watch(F,()=>{w(!U.value),S()})})}function Ie(w){return(s.value||{})[w]}function be(){e.isRef(c)?c.value=y:Object.keys(y).length===0?Object.keys(c).forEach(w=>{delete c[w]}):Object.assign(c,y)}return e.reactive(C(C(C({},_),{},{$model:Ee,$dirty:$,$error:Ce,$errors:B,$invalid:U,$anyDirty:De,$pending:F,$touch:W,$reset:Te,$path:p||ot,$silentErrors:xe,$validate:Se,$commit:te},s&&{$getResultsForChild:Ie,$clearExternalResults:be,$validationGroups:E}),v))}class lt{constructor(){this.storage=new Map}set(r,a,n){this.storage.set(r,{rules:a,result:n})}checkRulesValidity(r,a,n){const o=Object.keys(n),s=Object.keys(a);return s.length!==o.length||!s.every(i=>o.includes(i))?!1:s.every(i=>a[i].$params?Object.keys(a[i].$params).every(d=>e.unref(n[i].$params[d])===e.unref(a[i].$params[d])):!0)}get(r,a){const n=this.storage.get(r);if(!n)return;const{rules:o,result:s}=n,l=this.checkRulesValidity(r,a,o),i=s.$unwatch?s.$unwatch:()=>({});return l?s:{$dirty:s.$dirty,$partial:!0,$unwatch:i}}}const Y={COLLECT_ALL:!0,COLLECT_NONE:!1},oe=Symbol("vuelidate#injectChildResults"),se=Symbol("vuelidate#removeChildResults");function ct(t){let{$scope:r,instance:a}=t;const n={},o=e.ref([]),s=e.computed(()=>o.value.reduce((p,m)=>(p[m]=e.unref(n[m]),p),{}));function l(p,m){let{$registerAs:f,$scope:g,$stopPropagation:u}=m;u||r===Y.COLLECT_NONE||g===Y.COLLECT_NONE||r!==Y.COLLECT_ALL&&r!==g||(n[f]=p,o.value.push(f))}a.__vuelidateInjectInstances=[].concat(a.__vuelidateInjectInstances||[],l);function i(p){o.value=o.value.filter(m=>m!==p),delete n[p]}a.__vuelidateRemoveInstances=[].concat(a.__vuelidateRemoveInstances||[],i);const d=e.inject(oe,[]);e.provide(oe,a.__vuelidateInjectInstances);const c=e.inject(se,[]);return e.provide(se,a.__vuelidateRemoveInstances),{childResults:s,sendValidationResultsToParent:d,removeValidationResultsFromParent:c}}function ye(t){return new Proxy(t,{get(r,a){return typeof r[a]=="object"?ye(r[a]):e.computed(()=>r[a])}})}let ue=0;function dt(t,r){var a;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(n=t,t=void 0,r=void 0);let{$registerAs:o,$scope:s=Y.COLLECT_ALL,$stopPropagation:l,$externalResults:i,currentVueInstance:d}=n;const c=d||((a=e.getCurrentInstance())===null||a===void 0?void 0:a.proxy),p=c?c.$options:{};o||(ue+=1,o=`_vuelidate_${ue}`);const m=e.ref({}),f=new lt,{childResults:g,sendValidationResultsToParent:u,removeValidationResultsFromParent:L}=c?ct({$scope:s,instance:c}):{childResults:e.ref({})};if(!t&&p.validations){const M=p.validations;r=e.ref({}),e.onBeforeMount(()=>{r.value=c,e.watch(()=>V(M)?M.call(r.value,new ye(r.value)):M,y=>{m.value=Z({validations:y,state:r,childResults:g,resultsCache:f,globalConfig:n,instance:c,externalResults:i||c.vuelidateExternalResults})},{immediate:!0})}),n=p.validationsConfig||n}else{const M=e.isRef(t)||et(t)?t:e.reactive(t||{});e.watch(M,y=>{m.value=Z({validations:y,state:r,childResults:g,resultsCache:f,globalConfig:n,instance:c??{},externalResults:i})},{immediate:!0})}return c&&(u.forEach(M=>M(m,{$registerAs:o,$scope:s,$stopPropagation:l})),e.onBeforeUnmount(()=>L.forEach(M=>M(o)))),e.computed(()=>C(C({},e.unref(m.value)),g.value))}var N=(t=>(t.CHECKBOX="checkbox",t.TEXT="text",t.PASSWORD="password",t))(N||{});const Lt=["id","type","name","placeholder","value"],pt=e.defineComponent({__name:"InputText",props:{type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{}},emits:["input"],setup(t,{emit:r}){const a=r,n=o=>{a("input",o)};return(o,s)=>(e.openBlock(),e.createElementBlock("input",e.mergeProps({id:o.id,type:o.type,name:o.name,placeholder:o.placeholder,value:o.value},o.$attrs,{onInput:n}),null,16,Lt))}}),Mt=["id","name","checked","value"],gt=e.defineComponent({__name:"InputCheckbox",props:{defaultChecked:{type:Boolean},type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{}},emits:["input"],setup(t,{emit:r}){const a=r,n=o=>{a("input",o)};return(o,s)=>(e.openBlock(),e.createElementBlock("input",e.mergeProps({id:o.id,name:o.name,checked:o.value==="true",value:o.value,class:"pdap-input-checkbox",type:"checkbox"},o.$attrs,{onInput:n}),null,16,Mt))}}),mt=["id"],ft=["for"],we=e.defineComponent({__name:"PdapInput",props:{type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{},defaultChecked:{type:Boolean}},setup(t){const r=t,a=e.computed(()=>`pdap-${r.name}-input-error`);return(n,o)=>{var s;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"pdap-input":!0,[`pdap-input-${n.type}`]:!0,[`pdap-input-${n.type}-checked`]:n.type===e.unref(N).CHECKBOX&&n.value==="true","pdap-input-error":Number((s=n.error)==null?void 0:s.length)>=1})},[n.type===e.unref(N).CHECKBOX?(e.openBlock(),e.createBlock(gt,e.mergeProps({key:0,class:"pdap-input-checkbox"},{...n.$attrs,...r}),null,16)):(e.openBlock(),e.createBlock(pt,e.normalizeProps(e.mergeProps({key:1},{...n.$attrs,...n.$props})),null,16)),n.error?(e.openBlock(),e.createElementBlock("div",{key:2,id:a.value,class:"pdap-input-error-message"},e.toDisplayString(n.error),9,mt)):e.createCommentVNode("",!0),e.createElementVNode("label",{class:"pdap-input-label",for:n.id},e.toDisplayString(n.label),9,ft)],2)}}});function ie(t,r){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),a.push.apply(a,n)}return a}function O(t){for(var r=1;r<arguments.length;r++){var a=arguments[r]!=null?arguments[r]:{};r%2?ie(Object(a),!0).forEach(function(n){yt(t,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):ie(Object(a)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(a,n))})}return t}function yt(t,r,a){return r in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t}function A(t){return typeof t=="function"}function Q(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function R(t){return A(t.$validator)?O({},t):{$validator:t}}function wt(t){return Q(t)&&A(t.then)}function T(t){return typeof t=="object"?t.$valid:t}function I(t){return t.$validator||t}function J(t,r){if(!Q(t))throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof t}`);if(!Q(r)&&!A(r))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const a=R(r);return a.$params=O(O({},a.$params||{}),t),a}function P(t,r){if(!A(t)&&typeof e.unref(t)!="string")throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof t}`);if(!Q(r)&&!A(r))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const a=R(r);return a.$message=t,a}function jt(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const a=R(t);return O(O({},a),{},{$async:!0,$watchTargets:r})}function ht(t){return{$validator(r){for(var a=arguments.length,n=new Array(a>1?a-1:0),o=1;o<a;o++)n[o-1]=arguments[o];return e.unref(r).reduce((s,l,i)=>{const d=Object.entries(l).reduce((c,p)=>{let[m,f]=p;const g=t[m]||{},u=Object.entries(g).reduce((L,M)=>{let[y,h]=M;const v=I(h).call(this,f,l,i,...n),E=T(v);if(L.$data[y]=v,L.$data.$invalid=!E||!!L.$data.$invalid,L.$data.$error=L.$data.$invalid,!E){let $=h.$message||"";const B=h.$params||{};typeof $=="function"&&($=$({$pending:!1,$invalid:!E,$params:B,$model:f,$response:v})),L.$errors.push({$property:m,$message:$,$params:B,$response:v,$model:f,$pending:!1,$validator:y})}return{$valid:L.$valid&&E,$data:L.$data,$errors:L.$errors}},{$valid:!0,$data:{},$errors:[]});return c.$data[m]=u.$data,c.$errors[m]=u.$errors,{$valid:c.$valid&&u.$valid,$data:c.$data,$errors:c.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:s.$valid&&d.$valid,$data:s.$data.concat(d.$data),$errors:s.$errors.concat(d.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:r=>{let{$response:a}=r;return a?a.$errors.map(n=>Object.values(n).map(o=>o.map(s=>s.$message)).reduce((o,s)=>o.concat(s),[])):[]}}}const j=t=>{if(t=e.unref(t),Array.isArray(t))return!!t.length;if(t==null)return!1;if(t===!1)return!0;if(t instanceof Date)return!isNaN(t.getTime());if(typeof t=="object"){for(let r in t)return!0;return!1}return!!String(t).length},X=t=>(t=e.unref(t),Array.isArray(t)?t.length:typeof t=="object"?Object.keys(t).length:String(t).length);function x(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return n=>(n=e.unref(n),!j(n)||r.every(o=>(o.lastIndex=0,o.test(n))))}var z=Object.freeze({__proto__:null,forEach:ht,len:X,normalizeValidatorObject:R,regex:x,req:j,unwrap:e.unref,unwrapNormalizedValidator:I,unwrapValidatorResponse:T,withAsync:jt,withMessage:P,withParams:J}),vt=x(/^[a-zA-Z]*$/),Nt={$validator:vt,$message:"The value is not alphabetical",$params:{type:"alpha"}},$t=x(/^[a-zA-Z0-9]*$/),Dt={$validator:$t,$message:"The value must be alpha-numeric",$params:{type:"alphaNum"}},Ct=x(/^\d*(\.\d+)?$/),Tt={$validator:Ct,$message:"Value must be numeric",$params:{type:"numeric"}};function xt(t,r){return a=>!j(a)||(!/\s/.test(a)||a instanceof Date)&&+e.unref(t)<=+a&&+e.unref(r)>=+a}function Et(t,r){return{$validator:xt(t,r),$message:a=>{let{$params:n}=a;return`The value must be between ${n.min} and ${n.max}`},$params:{min:t,max:r,type:"between"}}}const St=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;var It=x(St),K={$validator:It,$message:"Value is not a valid email address",$params:{type:"email"}};function bt(t){if(!j(t))return!0;if(typeof t!="string")return!1;const r=t.split(".");return r.length===4&&r.every(Ot)}const Ot=t=>{if(t.length>3||t.length===0||t[0]==="0"&&t!=="0"||!t.match(/^\d+$/))return!1;const r=+t|0;return r>=0&&r<=255};var zt={$validator:bt,$message:"The value is not a valid IP address",$params:{type:"ipAddress"}};function _t(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:":";return r=>{if(t=e.unref(t),!j(r))return!0;if(typeof r!="string")return!1;const a=typeof t=="string"&&t!==""?r.split(t):r.length===12||r.length===16?r.match(/.{2}/g):null;return a!==null&&(a.length===6||a.length===8)&&a.every(kt)}}const kt=t=>t.toLowerCase().match(/^[0-9a-f]{2}$/);function At(t){return{$validator:_t(t),$message:"The value is not a valid MAC Address",$params:{type:"macAddress"}}}function Pt(t){return r=>!j(r)||X(r)<=e.unref(t)}function Bt(t){return{$validator:Pt(t),$message:r=>{let{$params:a}=r;return`The maximum length allowed is ${a.max}`},$params:{max:t,type:"maxLength"}}}function Yt(t){return r=>!j(r)||X(r)>=e.unref(t)}function Vt(t){return{$validator:Yt(t),$message:r=>{let{$params:a}=r;return`This field should be at least ${a.min} characters long`},$params:{min:t,type:"minLength"}}}function Qt(t){return typeof t=="string"&&(t=t.trim()),j(t)}var q={$validator:Qt,$message:"Value is required",$params:{type:"required"}};const le=(t,r)=>t?j(typeof r=="string"?r.trim():r):!0;function Rt(t){return function(r,a){if(typeof t!="function")return le(e.unref(t),r);const n=t.call(this,r,a);return le(n,r)}}function Ut(t){return{$validator:Rt(t),$message:"The value is required",$params:{type:"requiredIf",prop:t}}}const ce=(t,r)=>t?!0:j(typeof r=="string"?r.trim():r);function Ft(t){return function(r,a){if(typeof t!="function")return ce(e.unref(t),r);const n=t.call(this,r,a);return ce(n,r)}}function Wt(t){return{$validator:Ft(t),$message:"The value is required",$params:{type:"requiredUnless",prop:t}}}function Gt(t){return r=>e.unref(r)===e.unref(t)}function Zt(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"other";return{$validator:Gt(t),$message:a=>`The value must be equal to the ${r} value`,$params:{equalTo:t,otherName:r,type:"sameAs"}}}const Ht=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;var Jt=x(Ht),Xt={$validator:Jt,$message:"The value is not a valid URL address",$params:{type:"url"}};function Kt(t){return function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];return t.reduce((o,s)=>T(o)?o:I(s).apply(this,a),!1)}}function qt(t){return function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];return t.reduce(async(o,s)=>{const l=await o;return T(l)?l:I(s).apply(this,a)},Promise.resolve(!1))}}function er(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];const n=r.some(l=>l.$async),o=r.reduce((l,i)=>i.$watchTargets?l.concat(i.$watchTargets):l,[]);let s=()=>!1;return r.length&&(s=n?qt(r):Kt(r)),{$async:n,$validator:s,$watchTargets:o}}function tr(){return J({type:"or"},P("The value does not match any of the provided validators",er(...arguments)))}function rr(t){return function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];return t.reduce((o,s)=>T(o)?I(s).apply(this,a):o,!0)}}function ar(t){return function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];return t.reduce(async(o,s)=>{const l=await o;return T(l)?I(s).apply(this,a):l},Promise.resolve(!0))}}function nr(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];const n=r.some(l=>l.$async),o=r.reduce((l,i)=>i.$watchTargets?l.concat(i.$watchTargets):l,[]);let s=()=>!1;return r.length&&(s=n?ar(r):rr(r)),{$async:n,$validator:s,$watchTargets:o}}function or(){return J({type:"and"},P("The value does not match all of the provided validators",nr(...arguments)))}function sr(t){return function(r,a){if(!j(r))return!0;const n=I(t).call(this,r,a);return wt(n)?n.then(o=>!T(o)):!T(n)}}function ur(t){return{$validator:sr(t),$message:"The value does not match the provided validator",$params:{type:"not"}}}function ir(t){return r=>!j(r)||(!/\s/.test(r)||r instanceof Date)&&+r>=+e.unref(t)}function lr(t){return{$validator:ir(t),$message:r=>{let{$params:a}=r;return`The minimum value allowed is ${a.min}`},$params:{min:t,type:"minValue"}}}function cr(t){return r=>!j(r)||(!/\s/.test(r)||r instanceof Date)&&+r<=+e.unref(t)}var dr=t=>({$validator:cr(t),$message:r=>{let{$params:a}=r;return`The maximum value allowed is ${a.max}`},$params:{max:t,type:"maxValue"}}),Lr=x(/(^[0-9]*$)|(^-[0-9]+$)/),pr={$validator:Lr,$message:"Value is not an integer",$params:{type:"integer"}},Mr=x(/^[-]?\d*(\.\d+)?$/),gr={$validator:Mr,$message:"Value must be decimal",$params:{type:"decimal"}};function mr(t){let{t:r,messagePath:a=o=>{let{$validator:s}=o;return`validations.${s}`},messageParams:n=o=>o}=t;return function(s){let{withArguments:l=!1,messagePath:i=a,messageParams:d=n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function c(p){return r(i(p),d(O({model:p.$model,property:p.$property,pending:p.$pending,invalid:p.$invalid,response:p.$response,validator:p.$validator,propertyPath:p.$propertyPath},p.$params)))}return l&&typeof s=="function"?function(){return P(c,s(...arguments))}:P(c,s)}}const je=Object.freeze(Object.defineProperty({__proto__:null,alpha:Nt,alphaNum:Dt,and:or,between:Et,createI18nMessage:mr,decimal:gr,email:K,helpers:z,integer:pr,ipAddress:zt,macAddress:At,maxLength:Bt,maxValue:dr,minLength:Vt,minValue:lr,not:ur,numeric:Tt,or:tr,required:q,requiredIf:Ut,requiredUnless:Wt,sameAs:Zt,url:Xt},Symbol.toStringTag,{value:"Module"})),he=z.regex(/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$ %^&*-]).{8,}$/);function de(t){return["maxLength","minLength"].includes(t)}function Le(t){return t==="required"}function pe(t){return t==="email"}function Me(t){return t==="password"}function fr(t,r){return{[t]:je[t](r)}}function yr(t,r,a){return{[t]:z.withMessage(a,je[t](r))}}function wr(){return{required:q}}function jr(t){return{required:z.withMessage(t,q)}}function hr(){return{email:K}}function vr(t){return{email:z.withMessage(t,K)}}function Nr(){return{password:he}}function $r(t){return{password:z.withMessage(t,he)}}function Dr(t,r){if(de(t)&&typeof r.message=="string"&&typeof r.value=="number")return yr(t,r.value,r.message);if(de(t)&&typeof r.message>"u"&&typeof r.value=="number")return fr(t,r.value);if(pe(t)&&typeof r.message=="string")return vr(r.message);if(pe(t)&&typeof r.message>"u")return hr();if(Me(t)&&typeof r.message=="string")return $r(r.message);if(Me(t)&&typeof r.message>"u")return Nr();if(Le(t)&&typeof r.message=="string")return jr(r.message);if(Le(t)&&typeof r.message>"u")return wr();throw new Error("No valid rule detected")}const Cr=["id","name","onSubmit"],Tr={key:0,class:"pdap-form-error-message"},xr={name:"PdapForm"},ve=e.defineComponent({...xr,props:{error:{default:null},id:{},name:{},schema:{},resetOn:{type:[String,Boolean],default:"submit"}},emits:["submit","change"],setup(t,{emit:r}){const a=t,n=r,o=e.computed(()=>a.schema.map(f=>{const g={...f};return delete g.validators,g})),s=e.ref(o.value.reduce((f,g)=>{switch(g.type){case N.CHECKBOX:return{...f,[g.name]:String(g.defaultChecked)};case N.TEXT:case N.PASSWORD:default:return{...f,[g.name]:g.value}}},{})),l=a.schema.reduce((f,g)=>{const u=Object.entries(g.validators??{}).reduce((L,[M,y])=>({...L,...Dr(M,y)}),{});return{...f,[g.name]:{...u}}},{}),i=dt(l,s,{$autoDirty:!1,$lazy:!0}),d=e.ref(a.error);function c(f,g){const u=g.target,L=(()=>{switch(f.type){case N.CHECKBOX:return u.checked?"true":"false";default:return u.value}})();s.value[f.name]=L,n("change",s.value)}e.watchEffect(()=>{a.error?d.value=a.error:d.value&&i.value.$errors.length===0?d.value=null:!d.value&&i.value.$errors.length>0&&(d.value="Please update this form to correct the errors")}),e.watchEffect(()=>{a.resetOn&&a.resetOn!=="submit"&&p()});function p(){i.value.$reset(),s.value=Object.entries(s).reduce((f,[g])=>({...f,[g]:""}),{})}async function m(){await i.value.$validate()&&(n("submit",{...s.value}),a.resetOn==="submit"&&p())}return(f,g)=>(e.openBlock(),e.createElementBlock("form",{id:f.id,name:f.name,class:"pdap-form",onSubmit:e.withModifiers(m,["prevent"])},[typeof d.value=="string"?(e.openBlock(),e.createElementBlock("div",Tr,e.toDisplayString(d.value),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,u=>{var L,M,y,h;return e.openBlock(),e.createBlock(we,e.mergeProps(u,{key:u.name,error:(L=e.unref(i)[u.name])!=null&&L.$error?(h=(y=(M=e.unref(i)[u.name])==null?void 0:M.$errors)==null?void 0:y[0])==null?void 0:h.$message:"",value:s.value[u.name],onInput:_=>c(u,_)}),null,16,["error","value","onInput"])}),128)),e.renderSlot(f.$slots,"default")],40,Cr))}});const Er=t=>(e.pushScopeId("data-v-3158c5fc"),t=t(),e.popScopeId(),t),Sr=["aria-label","aria-expanded","onKeyup"],Ir=Er(()=>e.createElementVNode("svg",{"aria-label":"Menu",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},[e.createElementVNode("path",{d:"M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"})],-1)),br=[Ir],Or=["aria-hidden"],zr=["href"],_r={name:"PdapHeader"},kr=e.defineComponent({..._r,setup(t){let r=e.inject("navLinks");typeof r>"u"&&(r=[],console.error(`Hey, PDAP developer
2
- `,"Did you forget to inject some linkData for the Nav component?"));const a=e.reactive({isExpanded:!1,isMobile:!0});e.onBeforeMount(()=>{n(),window.addEventListener("resize",n)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",n)});async function n(){window.innerWidth<=1024?a.isMobile=!0:a.isMobile=!1,await e.nextTick()}async function o(){var l,i;const s=document.querySelector("body");!a.isExpanded&&a.isMobile?(a.isExpanded=!0,s!=null&&s.classList.contains("lock-scroll")||(l=document.querySelector("body"))==null||l.classList.add("lock-scroll")):a.isExpanded&&a.isMobile&&(a.isExpanded=!1,(i=document.querySelector("body"))==null||i.classList.remove("lock-scroll")),await e.nextTick()}return(s,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{"aria-label":a.isExpanded?"close navigation menu":"open navigation menu","aria-expanded":a.isMobile&&a.isExpanded,"aria-controls":"nav",class:"pdap-nav-open-button",role:"button",tabindex:0,onClick:o,onKeyup:e.withKeys(o,["enter"])},br,40,Sr),e.createVNode(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("nav",{id:"nav","aria-hidden":!(a.isMobile&&a.isExpanded),class:"pdap-nav"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),i=>(e.openBlock(),e.createElementBlock("li",{key:i.text,class:"pdap-nav-link-container"},[i.href?(e.openBlock(),e.createElementBlock("a",{key:0,class:"pdap-nav-link",href:i.href,target:"_blank",referrerpolicy:"no-referrer",onClick:o},e.toDisplayString(i.text),9,zr)):e.createCommentVNode("",!0),i.path?(e.openBlock(),e.createBlock(e.unref(b.RouterLink),{key:1,"active-class":"pdap-nav-link-current","exact-active-class":"pdap-nav-link-current-exact",class:"pdap-nav-link",to:i.path,onClick:o},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.text),1)]),_:2},1032,["to"])):e.createCommentVNode("",!0)]))),128))],8,Or),[[e.vShow,a.isMobile&&a.isExpanded||!a.isMobile]])]),_:1})],64))}});const ee=(t,r)=>{const a=t.__vccOpts||t;for(const[n,o]of r)a[n]=o;return a},Ne=ee(kr,[["__scopeId","data-v-3158c5fc"]]),Ar="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MDkuNCAxMTEuNyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTA5LjQgMTExLjc7IiB4bWw6c3BhY2U9InByZXNlc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OTkuOSw0ODYuNCwxMDEuNSw0ODEuNiwxMDEuNXoiLz4KPHBhdGggZD0iTTUwMy45LDEwMC44Yy01LDAtOC4yLTMuOC04LjItOXYtOWgtMy4xdi02LjZoMy4xVjY1LjloOC45djEwLjJoNC4ydjYuNmgtNC4ydjcuNGMwLDEuOSwxLDMuMiwyLjcsMy4yaDIuMnY3LjRoLTUuNlYxMDAuOHoKCSIvPgo8cG9seWdvbiBwb2ludHM9IjkxLjcsMjAuMiA3Ni4yLDIwLjIgODguNCw4IDgzLjEsMi43IDcxLjUsMTQuMyA3MS41LDAgNjQsMCA2NCwxNC4zIDUyLjMsMi43IDQ3LDggNTkuMiwyMC4yIDQzLjcsMjAuMiA0My43LDI3LjggCgk1OC4xLDI3LjggNDcsMzguOCA1Mi4zLDQ0LjEgNjQsMzIuNSA2NCw0OCA3MS41LDQ4IDcxLjUsMzIuNSA4My4xLDQ0LjEgODguNCwzOC44IDc3LjQsMjcuOCA5MS43LDI3LjggIi8+Cjwvc3ZnPgo=",Pr=["href"],Br=["src"],Yr=["src"],Vr={name:"PdapHeader"},Qr=e.defineComponent({...Vr,props:{logoImageSrc:{default:Ar},logoImageAnchorPath:{default:"/"}},setup(t){const r=t,a=e.ref(null),n=r.logoImageAnchorPath.startsWith("/");e.onMounted(()=>{o(),window.addEventListener("resize",o)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",o)});function o(){var s;a.value&&((s=document.querySelector(":root"))==null||s.style.setProperty("--header-height",`${a.value.clientHeight}px`))}return(s,l)=>(e.openBlock(),e.createElementBlock("header",{ref_key:"el",ref:a,class:"pdap-header"},[e.unref(n)?(e.openBlock(),e.createBlock(e.unref(b.RouterLink),{key:1,to:s.logoImageAnchorPath,class:"logo"},{default:e.withCtx(()=>[e.createElementVNode("img",{src:s.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Yr)]),_:1},8,["to"])):(e.openBlock(),e.createElementBlock("a",{key:0,href:s.logoImageAnchorPath,class:"logo"},[e.createElementVNode("img",{src:s.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Br)],8,Pr)),e.createVNode(Ne)],512))}});const Rr=e.createElementVNode("div",{class:"pdap-flex-container"},[e.createElementVNode("h2",{class:"mt-0"},"Search our database"),e.createElementVNode("p",{class:"pb-4 md:pb-8"},[e.createTextVNode(" If you are looking for something specific, we may already be tracking it. "),e.createElementVNode("a",{href:"https://pdap.io/data"},"Learn more about the data here.")])],-1),Ur={class:"pdap-quick-search-form h-full max-h-[75-vh] justify-start p-0"},Fr={class:"max-w-[unset] text-med"},Wr=["href"],Gr=["href"],Zr={name:"QuickSearchForm"},Hr=e.defineComponent({...Zr,props:{baseUrlForRedirect:{default:"https://data-sources.pdap.io"}},setup(t){const r=b.useRouter(),a=t,n=[{id:"search-term",name:"searchTerm",label:"What are you looking for?",type:N.TEXT,placeholder:"Enter a keyword, or 'all'",value:""},{id:"location",name:"location",label:"From where?",type:N.TEXT,placeholder:"Enter a place, or 'all'",value:""}],o=e.ref(void 0),s=r.getRoutes().some(d=>d.path.includes("/search/"));function l(d){o.value&&Object.values(d).some(Boolean)&&(o.value=void 0)}function i(d){if(Object.values(d).every(m=>!m)){o.value="Either a search term or a location is required.";return}let{location:c,searchTerm:p}=d;c=c&&c.length>0?c:"all",p=p&&p.length>0?p:"all",s?r.push(`/search/${p}/${c}`):window.location.assign(`${a.baseUrlForRedirect}/search/${p}/${c}`)}return(d,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[Rr,e.createElementVNode("div",Ur,[e.createVNode(ve,{id:"quick-search-form",class:"flex flex-wrap gap-x-4",error:o.value,schema:n,name:"quickSearchForm",onChange:l,onSubmit:i},{default:e.withCtx(()=>[e.createVNode(H,{type:"submit",class:"flex-grow-0 flex-shrink-0 basis-full max-w-[unset] mt-4"},{default:e.withCtx(()=>[e.createTextVNode("Search Data Sources")]),_:1})]),_:1},8,["error"]),e.createElementVNode("p",Fr,[e.createTextVNode(" For example, you could search for "),e.unref(s)?(e.openBlock(),e.createBlock(e.unref(b.RouterLink),{key:0,to:"/search/stops/pittsburgh"},{default:e.withCtx(()=>[e.createTextVNode(" stops in Pittsburgh ")]),_:1})):(e.openBlock(),e.createElementBlock("a",{key:1,target:"_blank",rel:"noreferrer",href:`${a.baseUrlForRedirect}/search/stops/pittsburgh`}," stops in Pittsburgh ",8,Wr)),e.createTextVNode(" or "),e.unref(s)?(e.openBlock(),e.createBlock(e.unref(b.RouterLink),{key:2,to:"/search/complaints/all"},{default:e.withCtx(()=>[e.createTextVNode(" complaints everywhere ")]),_:1})):(e.openBlock(),e.createElementBlock("a",{key:3,target:"_blank",rel:"noreferrer",href:`${a.baseUrlForRedirect}/search/complaints/all`}," complaints everywhere ",8,Gr)),e.createTextVNode(" . ")])])],64))}});const Jr=["alt","src"],Xr={name:"TileIcon"},Kr=e.defineComponent({...Xr,props:{imgAltText:{},imgSrc:{}},setup(t){return(r,a)=>(e.openBlock(),e.createElementBlock("img",{class:"pdap-tile-icon",alt:r.imgAltText,src:r.imgSrc},null,8,Jr))}});var k=(t=>(t.PRESS="press",t.HOVER="hover",t))(k||{});const $e={beforeMount(t,r){const a=t;a.clickOutsideEvent=function(o){t===o.target||a.contains(o.target)||r.value(o)},document.addEventListener("click",a.clickOutsideEvent),document.addEventListener("keyup",a.clickOutsideEvent)},unmounted(t){t.clickOutsideEvent&&(document.removeEventListener("click",t.clickOutsideEvent),document.removeEventListener("keyup",t.clickOutsideEvent))}},qr=["onKeydown"],ea=["id","aria-hidden"],ta={name:"PdapButton"},ra=e.defineComponent({...ta,props:{defaultOpen:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},dropdownId:{},triggerOn:{default:k.PRESS}},emits:["update:open","press"],setup(t,{emit:r}){const a=t,n=r,o=e.ref(null),s=e.ref(null),l=e.ref(a.defaultOpen),i=e.computed(()=>a.triggerOn===k.HOVER);function d(u){n("press",u),a.triggerOn===k.PRESS&&c()}const c=()=>{a.disabled||(l.value=!l.value,n("update:open",l.value))};function p(){l.value=!0,n("update:open",!0)}function m(){l.value=!1,n("update:open",!1)}function f(){var y,h;if(!o.value)return;o.value.style.display="flex",o.value.style.setProperty("max-height","max-content");const u=o.value.scrollHeight;o.value.style.display="none",o.value.style.removeProperty("max-height");const L=document==null?void 0:document.querySelector(":root"),M=(y=L==null?void 0:L.style)==null?void 0:y.getPropertyValue("--dropdown-content-max-height");Number((h=M==null?void 0:M.match(/\d+/))==null?void 0:h.join(""))>=u||o.value&&L&&L.style.setProperty("--dropdown-content-max-height",`${u+16}px`)}const g={mouseenter:i.value?p:void 0,focus:i.value?p:void 0,focusin:i.value?p:void 0,focusout:i.value?m:void 0,mouseleave:i.value?m:void 0,blur:i.value?m:void 0};return e.onMounted(()=>{f()}),(u,L)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",e.mergeProps({ref_key:"dropdownRef",ref:s,class:"pdap-dropdown",role:"presentation",onKeydown:e.withKeys(m,["escape"])},e.toHandlers(g,!0)),[e.createVNode(e.unref(H),{"aria-controls":u.dropdownId,"aria-expanded":l.value,disabled:u.disabled,"aria-haspopup":"true",intent:"tertiary",class:e.normalizeClass({"pdap-dropdown-trigger":!0,"pointer-events-none":u.disabled,"cursor-not-allowed":u.disabled}),"data-test":"dropdown-trigger",onClick:e.withModifiers(d,["prevent","stop"]),onKeydown:e.withKeys(e.withModifiers(d,["prevent","stop"]),["enter","space"])},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"trigger")]),_:3},8,["aria-controls","aria-expanded","disabled","class","onClick","onKeydown"]),e.createVNode(e.Transition,{name:"dropdown",appear:""},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{id:u.dropdownId,ref_key:"contentRef",ref:o,"aria-hidden":!l.value,class:"pdap-dropdown-content","data-test":"dropdown-content",role:"menu"},[e.renderSlot(u.$slots,"content")],8,ea),[[e.vShow,l.value]])]),_:3})],16,qr)),[[e.unref($e),m]])}});function aa(t){const r=[];for(const a of t.matched){const{name:n,path:o,meta:s}=a,l=s.breadcrumbText??n;l&&r.push({text:l,path:o,active:!1})}return r.length>0&&(r[r.length-1].active=!0),r}const na={"aria-label":"Breadcrumb"},oa={key:1},sa={name:"PdapBreadcrumbs"},ua=e.defineComponent({...sa,setup(t){const r=b.useRoute(),a=e.computed(()=>aa(r));return(n,o)=>{const s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("nav",na,[e.createVNode(e.TransitionGroup,{class:"pdap-breadcrumbs",tag:"ul"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,l=>(e.openBlock(),e.createElementBlock("li",{key:l.text,class:e.normalizeClass({"is-active":l.active})},[l.active?(e.openBlock(),e.createElementBlock("span",oa,e.toDisplayString(l.text),1)):(e.openBlock(),e.createBlock(s,{key:0,to:l.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.text),1)]),_:2},1032,["to"]))],2))),128))]),_:1})])}}});const ia=ee(ua,[["__scopeId","data-v-e8d76c0f"]]),la={key:0,class:"pdap-spinner"},ca=["width","height"],da=["stroke","fill"],La=["stroke","fill"],pa={key:0,"aria-live":"polite"};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),ce=require("vue-router"),Ma={name:"PdapButton"},ht=r.defineComponent({...Ma,props:{intent:{default:"primary"},isLoading:{type:Boolean,default:!1}},setup(e){const t=e,n=r.reactive({"pdap-button":!0,[`pdap-button-${t.intent}`]:!!t.intent,"pdap-button-loading":t.isLoading});return(a,o)=>(r.openBlock(),r.createElementBlock("button",{class:r.normalizeClass(n)},[r.renderSlot(a.$slots,"default")],2))}});const wa=r.createElementVNode("h1",null,"Oops, something went wrong!",-1),ba=r.createElementVNode("p",{class:"max-w-full","data-test":"error-boundary-message"},[r.createTextVNode(" If you keep seeing this message, please email "),r.createElementVNode("a",{href:"mailto:contact@pdap.io"},"contact@pdap.io"),r.createTextVNode(" for assistance. ")],-1),ja={name:"ErrorBoundary"},xa=r.defineComponent({...ja,props:{component:{default:"div"},onError:{type:Function,default:void 0},params:{default:void 0}},emits:["onError"],setup(e,{emit:t}){const n=e,a=t,o=r.ref(),s=r.ref("");function i(l,u,c){var d;o.value=l,s.value=c,(d=n.onError)==null||d.call(n,l,u,c),a("onError",{error:l,vm:u,info:c})}return r.onErrorCaptured((l,u,c)=>{i(l,u,c)}),(l,u)=>o.value?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(l.component),{key:1,class:"pdap-flex-container-center h-[full]","v-bind":l.params},{default:r.withCtx(()=>[wa,ba]),_:1},8,["v-bind"])):r.renderSlot(l.$slots,"default",{key:0})}}),Na="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMTMuOCA4Ni4xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMTMuOCA4Ni4xOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0wLDgwLjlMMjEuNSwyLjZoNS4xTDUuMSw4MC45SDB6Ii8+Cjxwb2x5Z29uIHBvaW50cz0iNzguOCwyMC40IDYxLjgsMjAuNCA3NSw3LjIgNzEuMSwzLjIgNTguNCwxNS44IDU4LjQsMCA1Mi44LDAgNTIuOCwxNS44IDQwLjIsMy4yIDM2LjIsNy4yIDQ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-container-center"},Sa={class:"pdap-footer-social-links"},Ta=["href"],Da={class:"pdap-footer-copyright"},Ia=r.createElementVNode("br",null,null,-1),Oa=r.createElementVNode("p",{class:"pdap-footer-copyright"},[r.createTextVNode(" PDAP is a non-profit. EIN: 85-4207132. "),r.createElementVNode("a",{href:"https://docs.pdap.io/meta/policy/pdap-privacy-policy",alt:"Privacy Policy",target:"_blank"},[r.createElementVNode("br"),r.createTextVNode(" Privacy Policy "),r.createElementVNode("i",{class:"fa fa-external-link"})]),r.createElementVNode("br"),r.createElementVNode("a",{href:"mailto:contact@pdap.io"},"contact@pdap.io")],-1),ka={class:"pdap-footer-widget-links"},$a=r.createElementVNode("a",{href:"https://www.guidestar.org/profile/85-4207132",target:"_blank"},[r.createElementVNode("img",{alt:"platinum transparency",src:"https://widgets.guidestar.org/gximage2?o=9973356&l=v4"})],-1),_a=["href"],Aa=["src"],za=["src"],Pa={name:"PdapFooter"},Ra=r.defineComponent({...Pa,props:{logoImageSrc:{default:Na},logoImageAnchorPath:{default:"/"}},setup(e){const t=e,n=r.inject("footerLinks",[{href:"https://github.com/orgs/Police-Data-Accessibility-Project",text:"Github"},{href:"https://discord.gg/wMqex8nKZJ",text:"Discord"},{href:"https://www.linkedin.com/company/pdap",text:"LinkedIn"},{path:"/jobs",text:"Jobs"}]),a=t.logoImageAnchorPath.startsWith("/");return(o,s)=>{const i=r.resolveComponent("router-link");return r.openBlock(),r.createElementBlock("footer",Ca,[r.createElementVNode("div",Ea,[r.createElementVNode("ul",Sa,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(n),l=>(r.openBlock(),r.createElementBlock("li",{key:l.text,class:"pdap-footer-link-container"},[l.href?(r.openBlock(),r.createElementBlock("a",{key:0,class:"pdap-footer-social-link",href:l.href,target:"_blank",referrerpolicy:"no-referrer"},r.toDisplayString(l.text),9,Ta)):r.createCommentVNode("",!0),l.path?(r.openBlock(),r.createBlock(i,{key:1,"active-class":"pdap-footer-social-link-current","exact-active-class":"pdap-footer-social-link-current-exact",class:"pdap-footer-social-link",to:l.path},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(l.text),1)]),_:2},1032,["to"])):r.createCommentVNode("",!0)]))),128))]),r.createElementVNode("p",Da,[r.createTextVNode(" © "+r.toDisplayString(new Date().getFullYear())+" Police Data Accessibility Project",1),Ia]),Oa,r.createElementVNode("div",ka,[$a,r.unref(a)?(r.openBlock(),r.createBlock(i,{key:1,to:o.logoImageAnchorPath,class:"pdap-footer-logo"},{default:r.withCtx(()=>[r.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,za)]),_:1},8,["to"])):(r.openBlock(),r.createElementBlock("a",{key:0,href:o.logoImageAnchorPath,class:"pdap-footer-logo"},[r.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Aa)],8,_a))])])])}}});function _t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,a)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_t(Object(n),!0).forEach(function(a){Ba(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_t(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Ba(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function At(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((n,a)=>(t.includes(a)||(n[a]=r.unref(e[a])),n),{})}function $e(e){return typeof e=="function"}function Ya(e){return r.isReactive(e)||r.isReadonly(e)}function wn(e,t,n){let a=e;const o=t.split(".");for(let s=0;s<o.length;s++){if(!a[o[s]])return n;a=a[o[s]]}return a}function Ge(e,t,n){return r.computed(()=>e.some(a=>wn(t,a,{[n]:!1})[n]))}function zt(e,t,n){return r.computed(()=>e.reduce((a,o)=>{const s=wn(t,o,{[n]:!1})[n]||[];return a.concat(s)},[]))}function bn(e,t,n,a){return e.call(a,r.unref(t),r.unref(n),a)}function jn(e){return e.$valid!==void 0?!e.$valid:!e}function Fa(e,t,n,a,o,s,i){let{$lazy:l,$rewardEarly:u}=o,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],d=arguments.length>8?arguments[8]:void 0,g=arguments.length>9?arguments[9]:void 0,L=arguments.length>10?arguments[10]:void 0;const M=r.ref(!!a.value),f=r.ref(0);n.value=!1;const p=r.watch([t,a].concat(c,L),()=>{if(l&&!a.value||u&&!g.value&&!n.value)return;let h;try{h=bn(e,t,d,i)}catch(m){h=Promise.reject(m)}f.value++,n.value=!!f.value,M.value=!1,Promise.resolve(h).then(m=>{f.value--,n.value=!!f.value,s.value=m,M.value=jn(m)}).catch(m=>{f.value--,n.value=!!f.value,s.value=m,M.value=!0})},{immediate:!0,deep:typeof t=="object"});return{$invalid:M,$unwatch:p}}function Va(e,t,n,a,o,s,i,l){let{$lazy:u,$rewardEarly:c}=a;const d=()=>({}),g=r.computed(()=>{if(u&&!n.value||c&&!l.value)return!1;let L=!0;try{const M=bn(e,t,i,s);o.value=M,L=jn(M)}catch(M){o.value=M}return L});return{$unwatch:d,$invalid:g}}function Ua(e,t,n,a,o,s,i,l,u,c,d){const g=r.ref(!1),L=e.$params||{},M=r.ref(null);let f,p;e.$async?{$invalid:f,$unwatch:p}=Fa(e.$validator,t,g,n,a,M,o,e.$watchTargets,u,c,d):{$invalid:f,$unwatch:p}=Va(e.$validator,t,n,a,M,o,u,c);const h=e.$message;return{$message:$e(h)?r.computed(()=>h(At({$pending:g,$invalid:f,$params:At(L),$model:t,$response:M,$validator:s,$propertyPath:l,$property:i}))):h||"",$params:L,$pending:g,$invalid:f,$response:M,$unwatch:p}}function Qa(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=r.unref(e),n=Object.keys(t),a={},o={},s={};let i=null;return n.forEach(l=>{const u=t[l];switch(!0){case $e(u.$validator):a[l]=u;break;case $e(u):a[l]={$validator:u};break;case l==="$validationGroups":i=u;break;case l.startsWith("$"):s[l]=u;break;default:o[l]=u}}),{rules:a,nestedValidators:o,config:s,validationGroups:i}}const Wa="__root";function Ga(e,t,n,a,o,s,i,l,u){const c=Object.keys(e),d=a.get(o,e),g=r.ref(!1),L=r.ref(!1),M=r.ref(0);if(d){if(!d.$partial)return d;d.$unwatch(),g.value=d.$dirty.value}const f={$dirty:g,$path:o,$touch:()=>{g.value||(g.value=!0)},$reset:()=>{g.value&&(g.value=!1)},$commit:()=>{}};return c.length?(c.forEach(p=>{f[p]=Ua(e[p],t,f.$dirty,s,i,p,n,o,u,L,M)}),f.$externalResults=r.computed(()=>l.value?[].concat(l.value).map((p,h)=>({$propertyPath:o,$property:n,$validator:"$externalResults",$uid:`${o}-externalResult-${h}`,$message:p,$params:{},$response:null,$pending:!1})):[]),f.$invalid=r.computed(()=>{const p=c.some(h=>r.unref(f[h].$invalid));return L.value=p,!!f.$externalResults.value.length||p}),f.$pending=r.computed(()=>c.some(p=>r.unref(f[p].$pending))),f.$error=r.computed(()=>f.$dirty.value?f.$pending.value||f.$invalid.value:!1),f.$silentErrors=r.computed(()=>c.filter(p=>r.unref(f[p].$invalid)).map(p=>{const h=f[p];return r.reactive({$propertyPath:o,$property:n,$validator:p,$uid:`${o}-${p}`,$message:h.$message,$params:h.$params,$response:h.$response,$pending:h.$pending})}).concat(f.$externalResults.value)),f.$errors=r.computed(()=>f.$dirty.value?f.$silentErrors.value:[]),f.$unwatch=()=>c.forEach(p=>{f[p].$unwatch()}),f.$commit=()=>{L.value=!0,M.value=Date.now()},a.set(o,e,f),f):(d&&a.set(o,e,f),f)}function Ha(e,t,n,a,o,s,i){const l=Object.keys(e);return l.length?l.reduce((u,c)=>(u[c]=qe({validations:e[c],state:t,key:c,parentKey:n,resultsCache:a,globalConfig:o,instance:s,externalResults:i}),u),{}):{}}function Xa(e,t,n){const a=r.computed(()=>[t,n].filter(f=>f).reduce((f,p)=>f.concat(Object.values(r.unref(p))),[])),o=r.computed({get(){return e.$dirty.value||(a.value.length?a.value.every(f=>f.$dirty):!1)},set(f){e.$dirty.value=f}}),s=r.computed(()=>{const f=r.unref(e.$silentErrors)||[],p=a.value.filter(h=>(r.unref(h).$silentErrors||[]).length).reduce((h,m)=>h.concat(...m.$silentErrors),[]);return f.concat(p)}),i=r.computed(()=>{const f=r.unref(e.$errors)||[],p=a.value.filter(h=>(r.unref(h).$errors||[]).length).reduce((h,m)=>h.concat(...m.$errors),[]);return f.concat(p)}),l=r.computed(()=>a.value.some(f=>f.$invalid)||r.unref(e.$invalid)||!1),u=r.computed(()=>a.value.some(f=>r.unref(f.$pending))||r.unref(e.$pending)||!1),c=r.computed(()=>a.value.some(f=>f.$dirty)||a.value.some(f=>f.$anyDirty)||o.value),d=r.computed(()=>o.value?u.value||l.value:!1),g=()=>{e.$touch(),a.value.forEach(f=>{f.$touch()})},L=()=>{e.$commit(),a.value.forEach(f=>{f.$commit()})},M=()=>{e.$reset(),a.value.forEach(f=>{f.$reset()})};return a.value.length&&a.value.every(f=>f.$dirty)&&g(),{$dirty:o,$errors:i,$invalid:l,$anyDirty:c,$error:d,$pending:u,$touch:g,$reset:M,$silentErrors:s,$commit:L}}function qe(e){let{validations:t,state:n,key:a,parentKey:o,childResults:s,resultsCache:i,globalConfig:l={},instance:u,externalResults:c}=e;const d=o?`${o}.${a}`:a,{rules:g,nestedValidators:L,config:M,validationGroups:f}=Qa(t),p=G(G({},l),M),h=a?r.computed(()=>{const C=r.unref(n);return C?r.unref(C[a]):void 0}):n,m=G({},r.unref(c)||{}),y=r.computed(()=>{const C=r.unref(c);return a?C?r.unref(C[a]):void 0:C}),w=Ga(g,h,a,i,d,p,u,y,n),b=Ha(L,h,d,i,p,u,y),N={};f&&Object.entries(f).forEach(C=>{let[ee,Q]=C;N[ee]={$invalid:Ge(Q,b,"$invalid"),$error:Ge(Q,b,"$error"),$pending:Ge(Q,b,"$pending"),$errors:zt(Q,b,"$errors"),$silentErrors:zt(Q,b,"$silentErrors")}});const{$dirty:T,$errors:$,$invalid:he,$anyDirty:da,$error:ma,$pending:Qe,$touch:We,$reset:pa,$silentErrors:ga,$commit:$t}=Xa(w,b,s),ha=a?r.computed({get:()=>r.unref(h),set:C=>{T.value=!0;const ee=r.unref(n),Q=r.unref(c);Q&&(Q[a]=m[a]),r.isRef(ee[a])?ee[a].value=C:ee[a]=C}}):null;a&&p.$autoDirty&&r.watch(h,()=>{T.value||We();const C=r.unref(c);C&&(C[a]=m[a])},{flush:"sync"});async function ya(){return We(),p.$rewardEarly&&($t(),await r.nextTick()),await r.nextTick(),new Promise(C=>{if(!Qe.value)return C(!he.value);const ee=r.watch(Qe,()=>{C(!he.value),ee()})})}function La(C){return(s.value||{})[C]}function va(){r.isRef(c)?c.value=m:Object.keys(m).length===0?Object.keys(c).forEach(C=>{delete c[C]}):Object.assign(c,m)}return r.reactive(G(G(G({},w),{},{$model:ha,$dirty:T,$error:ma,$errors:$,$invalid:he,$anyDirty:da,$pending:Qe,$touch:We,$reset:pa,$path:d||Wa,$silentErrors:ga,$validate:ya,$commit:$t},s&&{$getResultsForChild:La,$clearExternalResults:va,$validationGroups:N}),b))}class Za{constructor(){this.storage=new Map}set(t,n,a){this.storage.set(t,{rules:n,result:a})}checkRulesValidity(t,n,a){const o=Object.keys(a),s=Object.keys(n);return s.length!==o.length||!s.every(l=>o.includes(l))?!1:s.every(l=>n[l].$params?Object.keys(n[l].$params).every(u=>r.unref(a[l].$params[u])===r.unref(n[l].$params[u])):!0)}get(t,n){const a=this.storage.get(t);if(!a)return;const{rules:o,result:s}=a,i=this.checkRulesValidity(t,n,o),l=s.$unwatch?s.$unwatch:()=>({});return i?s:{$dirty:s.$dirty,$partial:!0,$unwatch:l}}}const Ie={COLLECT_ALL:!0,COLLECT_NONE:!1},Pt=Symbol("vuelidate#injectChildResults"),Rt=Symbol("vuelidate#removeChildResults");function Ja(e){let{$scope:t,instance:n}=e;const a={},o=r.ref([]),s=r.computed(()=>o.value.reduce((d,g)=>(d[g]=r.unref(a[g]),d),{}));function i(d,g){let{$registerAs:L,$scope:M,$stopPropagation:f}=g;f||t===Ie.COLLECT_NONE||M===Ie.COLLECT_NONE||t!==Ie.COLLECT_ALL&&t!==M||(a[L]=d,o.value.push(L))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],i);function l(d){o.value=o.value.filter(g=>g!==d),delete a[d]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],l);const u=r.inject(Pt,[]);r.provide(Pt,n.__vuelidateInjectInstances);const c=r.inject(Rt,[]);return r.provide(Rt,n.__vuelidateRemoveInstances),{childResults:s,sendValidationResultsToParent:u,removeValidationResultsFromParent:c}}function xn(e){return new Proxy(e,{get(t,n){return typeof t[n]=="object"?xn(t[n]):r.computed(()=>t[n])}})}let Bt=0;function Ka(e,t){var n;let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(a=e,e=void 0,t=void 0);let{$registerAs:o,$scope:s=Ie.COLLECT_ALL,$stopPropagation:i,$externalResults:l,currentVueInstance:u}=a;const c=u||((n=r.getCurrentInstance())===null||n===void 0?void 0:n.proxy),d=c?c.$options:{};o||(Bt+=1,o=`_vuelidate_${Bt}`);const g=r.ref({}),L=new Za,{childResults:M,sendValidationResultsToParent:f,removeValidationResultsFromParent:p}=c?Ja({$scope:s,instance:c}):{childResults:r.ref({})};if(!e&&d.validations){const h=d.validations;t=r.ref({}),r.onBeforeMount(()=>{t.value=c,r.watch(()=>$e(h)?h.call(t.value,new xn(t.value)):h,m=>{g.value=qe({validations:m,state:t,childResults:M,resultsCache:L,globalConfig:a,instance:c,externalResults:l||c.vuelidateExternalResults})},{immediate:!0})}),a=d.validationsConfig||a}else{const h=r.isRef(e)||Ya(e)?e:r.reactive(e||{});r.watch(h,m=>{g.value=qe({validations:m,state:t,childResults:M,resultsCache:L,globalConfig:a,instance:c??{},externalResults:l})},{immediate:!0})}return c&&(f.forEach(h=>h(g,{$registerAs:o,$scope:s,$stopPropagation:i})),r.onBeforeUnmount(()=>p.forEach(h=>h(o)))),r.computed(()=>G(G({},r.unref(g.value)),M.value))}var z=(e=>(e.CHECKBOX="checkbox",e.TEXT="text",e.PASSWORD="password",e))(z||{});const qa=["id","type","name","placeholder","value"],er=r.defineComponent({__name:"InputText",props:{type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{}},emits:["input"],setup(e,{emit:t}){const n=t,a=o=>{n("input",o)};return(o,s)=>(r.openBlock(),r.createElementBlock("input",r.mergeProps({id:o.id,type:o.type,name:o.name,placeholder:o.placeholder,value:o.value},o.$attrs,{onInput:a}),null,16,qa))}}),tr=["id","name","checked","value"],nr=r.defineComponent({__name:"InputCheckbox",props:{defaultChecked:{type:Boolean},type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{}},emits:["input"],setup(e,{emit:t}){const n=t,a=o=>{n("input",o)};return(o,s)=>(r.openBlock(),r.createElementBlock("input",r.mergeProps({id:o.id,name:o.name,checked:o.value==="true",value:o.value,class:"pdap-input-checkbox",type:"checkbox"},o.$attrs,{onInput:a}),null,16,tr))}}),Yt=()=>{};let yt={},Nn={},Cn=null,En={mark:Yt,measure:Yt};try{typeof window<"u"&&(yt=window),typeof document<"u"&&(Nn=document),typeof MutationObserver<"u"&&(Cn=MutationObserver),typeof performance<"u"&&(En=performance)}catch{}const{userAgent:Ft=""}=yt.navigator||{},X=yt,j=Nn,Vt=Cn,De=En;X.document;const U=!!j.documentElement&&!!j.head&&typeof j.addEventListener=="function"&&typeof j.createElement=="function",Sn=~Ft.indexOf("MSIE")||~Ft.indexOf("Trident/");var x="classic",Tn="duotone",D="sharp",I="sharp-duotone",ar=[x,Tn,D,I],rr={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}},Ut={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},or=["kit"],sr=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,ir=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,lr={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},cr={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"}},ur={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}},fr={classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]},dr={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}},mr={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}},Dn={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},pr=["solid","regular","light","thin","duotone","brands"],In=[1,2,3,4,5,6,7,8,9,10],gr=In.concat([11,12,13,14,15,16,17,18,19,20]),Le={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},hr=[...Object.keys(fr),...pr,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Le.GROUP,Le.SWAP_OPACITY,Le.PRIMARY,Le.SECONDARY].concat(In.map(e=>"".concat(e,"x"))).concat(gr.map(e=>"w-".concat(e))),yr={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Lr={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},vr={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},Qt={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}};const F="___FONT_AWESOME___",et=16,On="fa",kn="svg-inline--fa",oe="data-fa-i2svg",tt="data-fa-pseudo-element",Mr="data-fa-pseudo-element-pending",Lt="data-prefix",vt="data-icon",Wt="fontawesome-i2svg",wr="async",br=["HTML","HEAD","STYLE","SCRIPT"],$n=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})(),_n=[x,D,I];function Se(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[x]}})}const An={...Dn};An[x]={...Dn[x],...Ut.kit,...Ut["kit-duotone"]};const ae=Se(An),nt={...mr};nt[x]={...nt[x],...Qt.kit,...Qt["kit-duotone"]};const xe=Se(nt),at={...dr};at[x]={...at[x],...vr.kit};const re=Se(at),rt={...ur};rt[x]={...rt[x],...Lr.kit};const jr=Se(rt),xr=sr,zn="fa-layers-text",Nr=ir,Cr={...rr};Se(Cr);const Er=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],He=Le,fe=new Set;Object.keys(xe[x]).map(fe.add.bind(fe));Object.keys(xe[D]).map(fe.add.bind(fe));Object.keys(xe[I]).map(fe.add.bind(fe));const Sr=[...or,...hr],Me=X.FontAwesomeConfig||{};function Tr(e){var t=j.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Dr(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}j&&typeof j.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,a]=t;const o=Dr(Tr(n));o!=null&&(Me[a]=o)});const Pn={styleDefault:"solid",familyDefault:"classic",cssPrefix:On,replacementClass:kn,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Me.familyPrefix&&(Me.cssPrefix=Me.familyPrefix);const de={...Pn,...Me};de.autoReplaceSvg||(de.observeMutations=!1);const v={};Object.keys(Pn).forEach(e=>{Object.defineProperty(v,e,{enumerable:!0,set:function(t){de[e]=t,we.forEach(n=>n(v))},get:function(){return de[e]}})});Object.defineProperty(v,"familyPrefix",{enumerable:!0,set:function(e){de.cssPrefix=e,we.forEach(t=>t(v))},get:function(){return de.cssPrefix}});X.FontAwesomeConfig=v;const we=[];function Ir(e){return we.push(e),()=>{we.splice(we.indexOf(e),1)}}const W=et,P={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Or(e){if(!e||!U)return;const t=j.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=j.head.childNodes;let a=null;for(let o=n.length-1;o>-1;o--){const s=n[o],i=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(a=s)}return j.head.insertBefore(t,a),e}const kr="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ne(){let e=12,t="";for(;e-- >0;)t+=kr[Math.random()*62|0];return t}function pe(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Mt(e){return e.classList?pe(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function Rn(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function $r(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(Rn(e[n]),'" '),"").trim()}function Be(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function wt(e){return e.size!==P.size||e.x!==P.x||e.y!==P.y||e.rotate!==P.rotate||e.flipX||e.flipY}function _r(e){let{transform:t,containerWidth:n,iconWidth:a}=e;const o={transform:"translate(".concat(n/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),u={transform:"".concat(s," ").concat(i," ").concat(l)},c={transform:"translate(".concat(a/2*-1," -256)")};return{outer:o,inner:u,path:c}}function Ar(e){let{transform:t,width:n=et,height:a=et,startCentered:o=!1}=e,s="";return o&&Sn?s+="translate(".concat(t.x/W-n/2,"em, ").concat(t.y/W-a/2,"em) "):o?s+="translate(calc(-50% + ".concat(t.x/W,"em), calc(-50% + ").concat(t.y/W,"em)) "):s+="translate(".concat(t.x/W,"em, ").concat(t.y/W,"em) "),s+="scale(".concat(t.size/W*(t.flipX?-1:1),", ").concat(t.size/W*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var zr=`:root, :host {
2
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
3
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
4
+ --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
5
+ --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
6
+ --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
7
+ --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
8
+ --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
9
+ --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
10
+ --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
11
+ --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
12
+ --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
13
+ }
14
+
15
+ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
16
+ overflow: visible;
17
+ box-sizing: content-box;
18
+ }
19
+
20
+ .svg-inline--fa {
21
+ display: var(--fa-display, inline-block);
22
+ height: 1em;
23
+ overflow: visible;
24
+ vertical-align: -0.125em;
25
+ }
26
+ .svg-inline--fa.fa-2xs {
27
+ vertical-align: 0.1em;
28
+ }
29
+ .svg-inline--fa.fa-xs {
30
+ vertical-align: 0em;
31
+ }
32
+ .svg-inline--fa.fa-sm {
33
+ vertical-align: -0.0714285705em;
34
+ }
35
+ .svg-inline--fa.fa-lg {
36
+ vertical-align: -0.2em;
37
+ }
38
+ .svg-inline--fa.fa-xl {
39
+ vertical-align: -0.25em;
40
+ }
41
+ .svg-inline--fa.fa-2xl {
42
+ vertical-align: -0.3125em;
43
+ }
44
+ .svg-inline--fa.fa-pull-left {
45
+ margin-right: var(--fa-pull-margin, 0.3em);
46
+ width: auto;
47
+ }
48
+ .svg-inline--fa.fa-pull-right {
49
+ margin-left: var(--fa-pull-margin, 0.3em);
50
+ width: auto;
51
+ }
52
+ .svg-inline--fa.fa-li {
53
+ width: var(--fa-li-width, 2em);
54
+ top: 0.25em;
55
+ }
56
+ .svg-inline--fa.fa-fw {
57
+ width: var(--fa-fw-width, 1.25em);
58
+ }
59
+
60
+ .fa-layers svg.svg-inline--fa {
61
+ bottom: 0;
62
+ left: 0;
63
+ margin: auto;
64
+ position: absolute;
65
+ right: 0;
66
+ top: 0;
67
+ }
68
+
69
+ .fa-layers-counter, .fa-layers-text {
70
+ display: inline-block;
71
+ position: absolute;
72
+ text-align: center;
73
+ }
74
+
75
+ .fa-layers {
76
+ display: inline-block;
77
+ height: 1em;
78
+ position: relative;
79
+ text-align: center;
80
+ vertical-align: -0.125em;
81
+ width: 1em;
82
+ }
83
+ .fa-layers svg.svg-inline--fa {
84
+ transform-origin: center center;
85
+ }
86
+
87
+ .fa-layers-text {
88
+ left: 50%;
89
+ top: 50%;
90
+ transform: translate(-50%, -50%);
91
+ transform-origin: center center;
92
+ }
93
+
94
+ .fa-layers-counter {
95
+ background-color: var(--fa-counter-background-color, #ff253a);
96
+ border-radius: var(--fa-counter-border-radius, 1em);
97
+ box-sizing: border-box;
98
+ color: var(--fa-inverse, #fff);
99
+ line-height: var(--fa-counter-line-height, 1);
100
+ max-width: var(--fa-counter-max-width, 5em);
101
+ min-width: var(--fa-counter-min-width, 1.5em);
102
+ overflow: hidden;
103
+ padding: var(--fa-counter-padding, 0.25em 0.5em);
104
+ right: var(--fa-right, 0);
105
+ text-overflow: ellipsis;
106
+ top: var(--fa-top, 0);
107
+ transform: scale(var(--fa-counter-scale, 0.25));
108
+ transform-origin: top right;
109
+ }
110
+
111
+ .fa-layers-bottom-right {
112
+ bottom: var(--fa-bottom, 0);
113
+ right: var(--fa-right, 0);
114
+ top: auto;
115
+ transform: scale(var(--fa-layers-scale, 0.25));
116
+ transform-origin: bottom right;
117
+ }
118
+
119
+ .fa-layers-bottom-left {
120
+ bottom: var(--fa-bottom, 0);
121
+ left: var(--fa-left, 0);
122
+ right: auto;
123
+ top: auto;
124
+ transform: scale(var(--fa-layers-scale, 0.25));
125
+ transform-origin: bottom left;
126
+ }
127
+
128
+ .fa-layers-top-right {
129
+ top: var(--fa-top, 0);
130
+ right: var(--fa-right, 0);
131
+ transform: scale(var(--fa-layers-scale, 0.25));
132
+ transform-origin: top right;
133
+ }
134
+
135
+ .fa-layers-top-left {
136
+ left: var(--fa-left, 0);
137
+ right: auto;
138
+ top: var(--fa-top, 0);
139
+ transform: scale(var(--fa-layers-scale, 0.25));
140
+ transform-origin: top left;
141
+ }
142
+
143
+ .fa-1x {
144
+ font-size: 1em;
145
+ }
146
+
147
+ .fa-2x {
148
+ font-size: 2em;
149
+ }
150
+
151
+ .fa-3x {
152
+ font-size: 3em;
153
+ }
154
+
155
+ .fa-4x {
156
+ font-size: 4em;
157
+ }
158
+
159
+ .fa-5x {
160
+ font-size: 5em;
161
+ }
162
+
163
+ .fa-6x {
164
+ font-size: 6em;
165
+ }
166
+
167
+ .fa-7x {
168
+ font-size: 7em;
169
+ }
170
+
171
+ .fa-8x {
172
+ font-size: 8em;
173
+ }
174
+
175
+ .fa-9x {
176
+ font-size: 9em;
177
+ }
178
+
179
+ .fa-10x {
180
+ font-size: 10em;
181
+ }
182
+
183
+ .fa-2xs {
184
+ font-size: 0.625em;
185
+ line-height: 0.1em;
186
+ vertical-align: 0.225em;
187
+ }
188
+
189
+ .fa-xs {
190
+ font-size: 0.75em;
191
+ line-height: 0.0833333337em;
192
+ vertical-align: 0.125em;
193
+ }
194
+
195
+ .fa-sm {
196
+ font-size: 0.875em;
197
+ line-height: 0.0714285718em;
198
+ vertical-align: 0.0535714295em;
199
+ }
200
+
201
+ .fa-lg {
202
+ font-size: 1.25em;
203
+ line-height: 0.05em;
204
+ vertical-align: -0.075em;
205
+ }
206
+
207
+ .fa-xl {
208
+ font-size: 1.5em;
209
+ line-height: 0.0416666682em;
210
+ vertical-align: -0.125em;
211
+ }
212
+
213
+ .fa-2xl {
214
+ font-size: 2em;
215
+ line-height: 0.03125em;
216
+ vertical-align: -0.1875em;
217
+ }
218
+
219
+ .fa-fw {
220
+ text-align: center;
221
+ width: 1.25em;
222
+ }
223
+
224
+ .fa-ul {
225
+ list-style-type: none;
226
+ margin-left: var(--fa-li-margin, 2.5em);
227
+ padding-left: 0;
228
+ }
229
+ .fa-ul > li {
230
+ position: relative;
231
+ }
232
+
233
+ .fa-li {
234
+ left: calc(-1 * var(--fa-li-width, 2em));
235
+ position: absolute;
236
+ text-align: center;
237
+ width: var(--fa-li-width, 2em);
238
+ line-height: inherit;
239
+ }
240
+
241
+ .fa-border {
242
+ border-color: var(--fa-border-color, #eee);
243
+ border-radius: var(--fa-border-radius, 0.1em);
244
+ border-style: var(--fa-border-style, solid);
245
+ border-width: var(--fa-border-width, 0.08em);
246
+ padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
247
+ }
248
+
249
+ .fa-pull-left {
250
+ float: left;
251
+ margin-right: var(--fa-pull-margin, 0.3em);
252
+ }
253
+
254
+ .fa-pull-right {
255
+ float: right;
256
+ margin-left: var(--fa-pull-margin, 0.3em);
257
+ }
258
+
259
+ .fa-beat {
260
+ animation-name: fa-beat;
261
+ animation-delay: var(--fa-animation-delay, 0s);
262
+ animation-direction: var(--fa-animation-direction, normal);
263
+ animation-duration: var(--fa-animation-duration, 1s);
264
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
265
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
266
+ }
267
+
268
+ .fa-bounce {
269
+ animation-name: fa-bounce;
270
+ animation-delay: var(--fa-animation-delay, 0s);
271
+ animation-direction: var(--fa-animation-direction, normal);
272
+ animation-duration: var(--fa-animation-duration, 1s);
273
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
274
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
275
+ }
276
+
277
+ .fa-fade {
278
+ animation-name: fa-fade;
279
+ animation-delay: var(--fa-animation-delay, 0s);
280
+ animation-direction: var(--fa-animation-direction, normal);
281
+ animation-duration: var(--fa-animation-duration, 1s);
282
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
283
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
284
+ }
285
+
286
+ .fa-beat-fade {
287
+ animation-name: fa-beat-fade;
288
+ animation-delay: var(--fa-animation-delay, 0s);
289
+ animation-direction: var(--fa-animation-direction, normal);
290
+ animation-duration: var(--fa-animation-duration, 1s);
291
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
292
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
293
+ }
294
+
295
+ .fa-flip {
296
+ animation-name: fa-flip;
297
+ animation-delay: var(--fa-animation-delay, 0s);
298
+ animation-direction: var(--fa-animation-direction, normal);
299
+ animation-duration: var(--fa-animation-duration, 1s);
300
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
301
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
302
+ }
303
+
304
+ .fa-shake {
305
+ animation-name: fa-shake;
306
+ animation-delay: var(--fa-animation-delay, 0s);
307
+ animation-direction: var(--fa-animation-direction, normal);
308
+ animation-duration: var(--fa-animation-duration, 1s);
309
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
310
+ animation-timing-function: var(--fa-animation-timing, linear);
311
+ }
312
+
313
+ .fa-spin {
314
+ animation-name: fa-spin;
315
+ animation-delay: var(--fa-animation-delay, 0s);
316
+ animation-direction: var(--fa-animation-direction, normal);
317
+ animation-duration: var(--fa-animation-duration, 2s);
318
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
319
+ animation-timing-function: var(--fa-animation-timing, linear);
320
+ }
321
+
322
+ .fa-spin-reverse {
323
+ --fa-animation-direction: reverse;
324
+ }
325
+
326
+ .fa-pulse,
327
+ .fa-spin-pulse {
328
+ animation-name: fa-spin;
329
+ animation-direction: var(--fa-animation-direction, normal);
330
+ animation-duration: var(--fa-animation-duration, 1s);
331
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
332
+ animation-timing-function: var(--fa-animation-timing, steps(8));
333
+ }
334
+
335
+ @media (prefers-reduced-motion: reduce) {
336
+ .fa-beat,
337
+ .fa-bounce,
338
+ .fa-fade,
339
+ .fa-beat-fade,
340
+ .fa-flip,
341
+ .fa-pulse,
342
+ .fa-shake,
343
+ .fa-spin,
344
+ .fa-spin-pulse {
345
+ animation-delay: -1ms;
346
+ animation-duration: 1ms;
347
+ animation-iteration-count: 1;
348
+ transition-delay: 0s;
349
+ transition-duration: 0s;
350
+ }
351
+ }
352
+ @keyframes fa-beat {
353
+ 0%, 90% {
354
+ transform: scale(1);
355
+ }
356
+ 45% {
357
+ transform: scale(var(--fa-beat-scale, 1.25));
358
+ }
359
+ }
360
+ @keyframes fa-bounce {
361
+ 0% {
362
+ transform: scale(1, 1) translateY(0);
363
+ }
364
+ 10% {
365
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
366
+ }
367
+ 30% {
368
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
369
+ }
370
+ 50% {
371
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
372
+ }
373
+ 57% {
374
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
375
+ }
376
+ 64% {
377
+ transform: scale(1, 1) translateY(0);
378
+ }
379
+ 100% {
380
+ transform: scale(1, 1) translateY(0);
381
+ }
382
+ }
383
+ @keyframes fa-fade {
384
+ 50% {
385
+ opacity: var(--fa-fade-opacity, 0.4);
386
+ }
387
+ }
388
+ @keyframes fa-beat-fade {
389
+ 0%, 100% {
390
+ opacity: var(--fa-beat-fade-opacity, 0.4);
391
+ transform: scale(1);
392
+ }
393
+ 50% {
394
+ opacity: 1;
395
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
396
+ }
397
+ }
398
+ @keyframes fa-flip {
399
+ 50% {
400
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
401
+ }
402
+ }
403
+ @keyframes fa-shake {
404
+ 0% {
405
+ transform: rotate(-15deg);
406
+ }
407
+ 4% {
408
+ transform: rotate(15deg);
409
+ }
410
+ 8%, 24% {
411
+ transform: rotate(-18deg);
412
+ }
413
+ 12%, 28% {
414
+ transform: rotate(18deg);
415
+ }
416
+ 16% {
417
+ transform: rotate(-22deg);
418
+ }
419
+ 20% {
420
+ transform: rotate(22deg);
421
+ }
422
+ 32% {
423
+ transform: rotate(-12deg);
424
+ }
425
+ 36% {
426
+ transform: rotate(12deg);
427
+ }
428
+ 40%, 100% {
429
+ transform: rotate(0deg);
430
+ }
431
+ }
432
+ @keyframes fa-spin {
433
+ 0% {
434
+ transform: rotate(0deg);
435
+ }
436
+ 100% {
437
+ transform: rotate(360deg);
438
+ }
439
+ }
440
+ .fa-rotate-90 {
441
+ transform: rotate(90deg);
442
+ }
443
+
444
+ .fa-rotate-180 {
445
+ transform: rotate(180deg);
446
+ }
447
+
448
+ .fa-rotate-270 {
449
+ transform: rotate(270deg);
450
+ }
451
+
452
+ .fa-flip-horizontal {
453
+ transform: scale(-1, 1);
454
+ }
455
+
456
+ .fa-flip-vertical {
457
+ transform: scale(1, -1);
458
+ }
459
+
460
+ .fa-flip-both,
461
+ .fa-flip-horizontal.fa-flip-vertical {
462
+ transform: scale(-1, -1);
463
+ }
464
+
465
+ .fa-rotate-by {
466
+ transform: rotate(var(--fa-rotate-angle, 0));
467
+ }
468
+
469
+ .fa-stack {
470
+ display: inline-block;
471
+ vertical-align: middle;
472
+ height: 2em;
473
+ position: relative;
474
+ width: 2.5em;
475
+ }
476
+
477
+ .fa-stack-1x,
478
+ .fa-stack-2x {
479
+ bottom: 0;
480
+ left: 0;
481
+ margin: auto;
482
+ position: absolute;
483
+ right: 0;
484
+ top: 0;
485
+ z-index: var(--fa-stack-z-index, auto);
486
+ }
487
+
488
+ .svg-inline--fa.fa-stack-1x {
489
+ height: 1em;
490
+ width: 1.25em;
491
+ }
492
+ .svg-inline--fa.fa-stack-2x {
493
+ height: 2em;
494
+ width: 2.5em;
495
+ }
496
+
497
+ .fa-inverse {
498
+ color: var(--fa-inverse, #fff);
499
+ }
500
+
501
+ .sr-only,
502
+ .fa-sr-only {
503
+ position: absolute;
504
+ width: 1px;
505
+ height: 1px;
506
+ padding: 0;
507
+ margin: -1px;
508
+ overflow: hidden;
509
+ clip: rect(0, 0, 0, 0);
510
+ white-space: nowrap;
511
+ border-width: 0;
512
+ }
513
+
514
+ .sr-only-focusable:not(:focus),
515
+ .fa-sr-only-focusable:not(:focus) {
516
+ position: absolute;
517
+ width: 1px;
518
+ height: 1px;
519
+ padding: 0;
520
+ margin: -1px;
521
+ overflow: hidden;
522
+ clip: rect(0, 0, 0, 0);
523
+ white-space: nowrap;
524
+ border-width: 0;
525
+ }
526
+
527
+ .svg-inline--fa .fa-primary {
528
+ fill: var(--fa-primary-color, currentColor);
529
+ opacity: var(--fa-primary-opacity, 1);
530
+ }
531
+
532
+ .svg-inline--fa .fa-secondary {
533
+ fill: var(--fa-secondary-color, currentColor);
534
+ opacity: var(--fa-secondary-opacity, 0.4);
535
+ }
536
+
537
+ .svg-inline--fa.fa-swap-opacity .fa-primary {
538
+ opacity: var(--fa-secondary-opacity, 0.4);
539
+ }
540
+
541
+ .svg-inline--fa.fa-swap-opacity .fa-secondary {
542
+ opacity: var(--fa-primary-opacity, 1);
543
+ }
544
+
545
+ .svg-inline--fa mask .fa-primary,
546
+ .svg-inline--fa mask .fa-secondary {
547
+ fill: black;
548
+ }
549
+
550
+ .fad.fa-inverse,
551
+ .fa-duotone.fa-inverse {
552
+ color: var(--fa-inverse, #fff);
553
+ }`;function Bn(){const e=On,t=kn,n=v.cssPrefix,a=v.replacementClass;let o=zr;if(n!==e||a!==t){const s=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");o=o.replace(s,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(l,".".concat(a))}return o}let Gt=!1;function Xe(){v.autoAddCss&&!Gt&&(Or(Bn()),Gt=!0)}var Pr={mixout(){return{dom:{css:Bn,insertCss:Xe}}},hooks(){return{beforeDOMElementCreation(){Xe()},beforeI2svg(){Xe()}}}};const V=X||{};V[F]||(V[F]={});V[F].styles||(V[F].styles={});V[F].hooks||(V[F].hooks={});V[F].shims||(V[F].shims=[]);var R=V[F];const Yn=[],Fn=function(){j.removeEventListener("DOMContentLoaded",Fn),_e=1,Yn.map(e=>e())};let _e=!1;U&&(_e=(j.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(j.readyState),_e||j.addEventListener("DOMContentLoaded",Fn));function Rr(e){U&&(_e?setTimeout(e,0):Yn.push(e))}function Te(e){const{tag:t,attributes:n={},children:a=[]}=e;return typeof e=="string"?Rn(e):"<".concat(t," ").concat($r(n),">").concat(a.map(Te).join(""),"</").concat(t,">")}function Ht(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Br=function(t,n){return function(a,o,s,i){return t.call(n,a,o,s,i)}},Ze=function(t,n,a,o){var s=Object.keys(t),i=s.length,l=o!==void 0?Br(n,o):n,u,c,d;for(a===void 0?(u=1,d=t[s[0]]):(u=0,d=a);u<i;u++)c=s[u],d=l(d,t[c],c,t);return d};function Yr(e){const t=[];let n=0;const a=e.length;for(;n<a;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<a){const s=e.charCodeAt(n++);(s&64512)==56320?t.push(((o&1023)<<10)+(s&1023)+65536):(t.push(o),n--)}else t.push(o)}return t}function ot(e){const t=Yr(e);return t.length===1?t[0].toString(16):null}function Fr(e,t){const n=e.length;let a=e.charCodeAt(t),o;return a>=55296&&a<=56319&&n>t+1&&(o=e.charCodeAt(t+1),o>=56320&&o<=57343)?(a-55296)*1024+o-56320+65536:a}function Xt(e){return Object.keys(e).reduce((t,n)=>{const a=e[n];return!!a.icon?t[a.iconName]=a.icon:t[n]=a,t},{})}function st(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:a=!1}=n,o=Xt(t);typeof R.hooks.addPack=="function"&&!a?R.hooks.addPack(e,Xt(t)):R.styles[e]={...R.styles[e]||{},...o},e==="fas"&&st("fa",t)}const{styles:ne,shims:Vr}=R,Ur={[x]:Object.values(re[x]),[D]:Object.values(re[D]),[I]:Object.values(re[I])};let bt=null,Vn={},Un={},Qn={},Wn={},Gn={};const Qr={[x]:Object.keys(ae[x]),[D]:Object.keys(ae[D]),[I]:Object.keys(ae[I])};function Wr(e){return~Sr.indexOf(e)}function Gr(e,t){const n=t.split("-"),a=n[0],o=n.slice(1).join("-");return a===e&&o!==""&&!Wr(o)?o:null}const Hn=()=>{const e=a=>Ze(ne,(o,s,i)=>(o[i]=Ze(s,a,{}),o),{});Vn=e((a,o,s)=>(o[3]&&(a[o[3]]=s),o[2]&&o[2].filter(l=>typeof l=="number").forEach(l=>{a[l.toString(16)]=s}),a)),Un=e((a,o,s)=>(a[s]=s,o[2]&&o[2].filter(l=>typeof l=="string").forEach(l=>{a[l]=s}),a)),Gn=e((a,o,s)=>{const i=o[2];return a[s]=s,i.forEach(l=>{a[l]=s}),a});const t="far"in ne||v.autoFetchSvg,n=Ze(Vr,(a,o)=>{const s=o[0];let i=o[1];const l=o[2];return i==="far"&&!t&&(i="fas"),typeof s=="string"&&(a.names[s]={prefix:i,iconName:l}),typeof s=="number"&&(a.unicodes[s.toString(16)]={prefix:i,iconName:l}),a},{names:{},unicodes:{}});Qn=n.names,Wn=n.unicodes,bt=Ye(v.styleDefault,{family:v.familyDefault})};Ir(e=>{bt=Ye(e.styleDefault,{family:v.familyDefault})});Hn();function jt(e,t){return(Vn[e]||{})[t]}function Hr(e,t){return(Un[e]||{})[t]}function H(e,t){return(Gn[e]||{})[t]}function Xn(e){return Qn[e]||{prefix:null,iconName:null}}function Xr(e){const t=Wn[e],n=jt("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Z(){return bt}const xt=()=>({prefix:null,iconName:null,rest:[]});function Ye(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=x}=t,a=ae[n][e],o=xe[n][e]||xe[n][a],s=e in R.styles?e:null;return o||s||null}const Zr={[x]:Object.keys(re[x]),[D]:Object.keys(re[D]),[I]:Object.keys(re[I])};function Fe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t,a={[x]:"".concat(v.cssPrefix,"-").concat(x),[D]:"".concat(v.cssPrefix,"-").concat(D),[I]:"".concat(v.cssPrefix,"-").concat(I)};let o=null,s=x;const i=ar.filter(u=>u!==Tn);i.forEach(u=>{(e.includes(a[u])||e.some(c=>Zr[u].includes(c)))&&(s=u)});const l=e.reduce((u,c)=>{const d=Gr(v.cssPrefix,c);if(ne[c]?(c=Ur[s].includes(c)?jr[s][c]:c,o=c,u.prefix=c):Qr[s].indexOf(c)>-1?(o=c,u.prefix=Ye(c,{family:s})):d?u.iconName=d:c!==v.replacementClass&&!i.some(g=>c===a[g])&&u.rest.push(c),!n&&u.prefix&&u.iconName){const g=o==="fa"?Xn(u.iconName):{},L=H(u.prefix,u.iconName);g.prefix&&(o=null),u.iconName=g.iconName||L||u.iconName,u.prefix=g.prefix||u.prefix,u.prefix==="far"&&!ne.far&&ne.fas&&!v.autoFetchSvg&&(u.prefix="fas")}return u},xt());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&s===D&&(ne.fass||v.autoFetchSvg)&&(l.prefix="fass",l.iconName=H(l.prefix,l.iconName)||l.iconName),!l.prefix&&s===I&&(ne.fasds||v.autoFetchSvg)&&(l.prefix="fasds",l.iconName=H(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||o==="fa")&&(l.prefix=Z()||"fas"),l}class Jr{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];const o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach(s=>{this.definitions[s]={...this.definitions[s]||{},...o[s]},st(s,o[s]);const i=re[x][s];i&&st(i,o[s]),Hn()})}reset(){this.definitions={}}_pullDefinitions(t,n){const a=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(a).map(o=>{const{prefix:s,iconName:i,icon:l}=a[o],u=l[2];t[s]||(t[s]={}),u.length>0&&u.forEach(c=>{typeof c=="string"&&(t[s][c]=l)}),t[s][i]=l}),t}}let Zt=[],le={};const ue={},Kr=Object.keys(ue);function qr(e,t){let{mixoutsTo:n}=t;return Zt=e,le={},Object.keys(ue).forEach(a=>{Kr.indexOf(a)===-1&&delete ue[a]}),Zt.forEach(a=>{const o=a.mixout?a.mixout():{};if(Object.keys(o).forEach(s=>{typeof o[s]=="function"&&(n[s]=o[s]),typeof o[s]=="object"&&Object.keys(o[s]).forEach(i=>{n[s]||(n[s]={}),n[s][i]=o[s][i]})}),a.hooks){const s=a.hooks();Object.keys(s).forEach(i=>{le[i]||(le[i]=[]),le[i].push(s[i])})}a.provides&&a.provides(ue)}),n}function it(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];return(le[e]||[]).forEach(i=>{t=i.apply(null,[t,...a])}),t}function se(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];(le[e]||[]).forEach(s=>{s.apply(null,n)})}function J(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return ue[e]?ue[e].apply(null,t):void 0}function lt(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||Z();if(t)return t=H(n,t)||t,Ht(Zn.definitions,n,t)||Ht(R.styles,n,t)}const Zn=new Jr,eo=()=>{v.autoReplaceSvg=!1,v.observeMutations=!1,se("noAuto")},to={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return U?(se("beforeI2svg",e),J("pseudoElements2svg",e),J("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;v.autoReplaceSvg===!1&&(v.autoReplaceSvg=!0),v.observeMutations=!0,Rr(()=>{ao({autoReplaceSvgRoot:t}),se("watch",e)})}},no={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:H(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=Ye(e[0]);return{prefix:n,iconName:H(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(v.cssPrefix,"-"))>-1||e.match(xr))){const t=Fe(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Z(),iconName:H(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=Z();return{prefix:t,iconName:H(t,e)||e}}}},O={noAuto:eo,config:v,dom:to,parse:no,library:Zn,findIconDefinition:lt,toHtml:Te},ao=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=j}=e;(Object.keys(R.styles).length>0||v.autoFetchSvg)&&U&&v.autoReplaceSvg&&O.dom.i2svg({node:t})};function Ve(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(n=>Te(n))}}),Object.defineProperty(e,"node",{get:function(){if(!U)return;const n=j.createElement("div");return n.innerHTML=e.html,n.children}}),e}function ro(e){let{children:t,main:n,mask:a,attributes:o,styles:s,transform:i}=e;if(wt(i)&&n.found&&!a.found){const{width:l,height:u}=n,c={x:l/u/2,y:.5};o.style=Be({...s,"transform-origin":"".concat(c.x+i.x/16,"em ").concat(c.y+i.y/16,"em")})}return[{tag:"svg",attributes:o,children:t}]}function oo(e){let{prefix:t,iconName:n,children:a,attributes:o,symbol:s}=e;const i=s===!0?"".concat(t,"-").concat(v.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:{...o,id:i},children:a}]}]}function Nt(e){const{icons:{main:t,mask:n},prefix:a,iconName:o,transform:s,symbol:i,title:l,maskId:u,titleId:c,extra:d,watchable:g=!1}=e,{width:L,height:M}=n.found?n:t,f=a==="fak",p=[v.replacementClass,o?"".concat(v.cssPrefix,"-").concat(o):""].filter(N=>d.classes.indexOf(N)===-1).filter(N=>N!==""||!!N).concat(d.classes).join(" ");let h={children:[],attributes:{...d.attributes,"data-prefix":a,"data-icon":o,class:p,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(L," ").concat(M)}};const m=f&&!~d.classes.indexOf("fa-fw")?{width:"".concat(L/M*16*.0625,"em")}:{};g&&(h.attributes[oe]=""),l&&(h.children.push({tag:"title",attributes:{id:h.attributes["aria-labelledby"]||"title-".concat(c||Ne())},children:[l]}),delete h.attributes.title);const y={...h,prefix:a,iconName:o,main:t,mask:n,maskId:u,transform:s,symbol:i,styles:{...m,...d.styles}},{children:w,attributes:b}=n.found&&t.found?J("generateAbstractMask",y)||{children:[],attributes:{}}:J("generateAbstractIcon",y)||{children:[],attributes:{}};return y.children=w,y.attributes=b,i?oo(y):ro(y)}function Jt(e){const{content:t,width:n,height:a,transform:o,title:s,extra:i,watchable:l=!1}=e,u={...i.attributes,...s?{title:s}:{},class:i.classes.join(" ")};l&&(u[oe]="");const c={...i.styles};wt(o)&&(c.transform=Ar({transform:o,startCentered:!0,width:n,height:a}),c["-webkit-transform"]=c.transform);const d=Be(c);d.length>0&&(u.style=d);const g=[];return g.push({tag:"span",attributes:u,children:[t]}),s&&g.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),g}function so(e){const{content:t,title:n,extra:a}=e,o={...a.attributes,...n?{title:n}:{},class:a.classes.join(" ")},s=Be(a.styles);s.length>0&&(o.style=s);const i=[];return i.push({tag:"span",attributes:o,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}const{styles:Je}=R;function ct(e){const t=e[0],n=e[1],[a]=e.slice(4);let o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(v.cssPrefix,"-").concat(He.GROUP)},children:[{tag:"path",attributes:{class:"".concat(v.cssPrefix,"-").concat(He.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(v.cssPrefix,"-").concat(He.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:o}}const io={found:!1,width:512,height:512};function lo(e,t){!$n&&!v.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function ut(e,t){let n=t;return t==="fa"&&v.styleDefault!==null&&(t=Z()),new Promise((a,o)=>{if(n==="fa"){const s=Xn(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&Je[t]&&Je[t][e]){const s=Je[t][e];return a(ct(s))}lo(e,t),a({...io,icon:v.showMissingIcons&&e?J("missingIconAbstract")||{}:{}})})}const Kt=()=>{},ft=v.measurePerformance&&De&&De.mark&&De.measure?De:{mark:Kt,measure:Kt},ve='FA "6.6.0"',co=e=>(ft.mark("".concat(ve," ").concat(e," begins")),()=>Jn(e)),Jn=e=>{ft.mark("".concat(ve," ").concat(e," ends")),ft.measure("".concat(ve," ").concat(e),"".concat(ve," ").concat(e," begins"),"".concat(ve," ").concat(e," ends"))};var Ct={begin:co,end:Jn};const Oe=()=>{};function qt(e){return typeof(e.getAttribute?e.getAttribute(oe):null)=="string"}function uo(e){const t=e.getAttribute?e.getAttribute(Lt):null,n=e.getAttribute?e.getAttribute(vt):null;return t&&n}function fo(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(v.replacementClass)}function mo(){return v.autoReplaceSvg===!0?ke.replace:ke[v.autoReplaceSvg]||ke.replace}function po(e){return j.createElementNS("http://www.w3.org/2000/svg",e)}function go(e){return j.createElement(e)}function Kn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?po:go}=t;if(typeof e=="string")return j.createTextNode(e);const a=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(s){a.setAttribute(s,e.attributes[s])}),(e.children||[]).forEach(function(s){a.appendChild(Kn(s,{ceFn:n}))}),a}function ho(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const ke={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(Kn(n),t)}),t.getAttribute(oe)===null&&v.keepOriginalSource){let n=j.createComment(ho(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~Mt(t).indexOf(v.replacementClass))return ke.replace(e);const a=new RegExp("".concat(v.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const s=n[0].attributes.class.split(" ").reduce((i,l)=>(l===v.replacementClass||l.match(a)?i.toSvg.push(l):i.toNode.push(l),i),{toNode:[],toSvg:[]});n[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",s.toNode.join(" "))}const o=n.map(s=>Te(s)).join(`
554
+ `);t.setAttribute(oe,""),t.innerHTML=o}};function en(e){e()}function qn(e,t){const n=typeof t=="function"?t:Oe;if(e.length===0)n();else{let a=en;v.mutateApproach===wr&&(a=X.requestAnimationFrame||en),a(()=>{const o=mo(),s=Ct.begin("mutate");e.map(o),s(),n()})}}let Et=!1;function ea(){Et=!0}function dt(){Et=!1}let Ae=null;function tn(e){if(!Vt||!v.observeMutations)return;const{treeCallback:t=Oe,nodeCallback:n=Oe,pseudoElementsCallback:a=Oe,observeMutationsRoot:o=j}=e;Ae=new Vt(s=>{if(Et)return;const i=Z();pe(s).forEach(l=>{if(l.type==="childList"&&l.addedNodes.length>0&&!qt(l.addedNodes[0])&&(v.searchPseudoElements&&a(l.target),t(l.target)),l.type==="attributes"&&l.target.parentNode&&v.searchPseudoElements&&a(l.target.parentNode),l.type==="attributes"&&qt(l.target)&&~Er.indexOf(l.attributeName))if(l.attributeName==="class"&&uo(l.target)){const{prefix:u,iconName:c}=Fe(Mt(l.target));l.target.setAttribute(Lt,u||i),c&&l.target.setAttribute(vt,c)}else fo(l.target)&&n(l.target)})}),U&&Ae.observe(o,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function yo(){Ae&&Ae.disconnect()}function Lo(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce((a,o)=>{const s=o.split(":"),i=s[0],l=s.slice(1);return i&&l.length>0&&(a[i]=l.join(":").trim()),a},{})),n}function vo(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),a=e.innerText!==void 0?e.innerText.trim():"";let o=Fe(Mt(e));return o.prefix||(o.prefix=Z()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&a.length>0&&(o.iconName=Hr(o.prefix,e.innerText)||jt(o.prefix,ot(e.innerText))),!o.iconName&&v.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function Mo(e){const t=pe(e.attributes).reduce((o,s)=>(o.name!=="class"&&o.name!=="style"&&(o[s.name]=s.value),o),{}),n=e.getAttribute("title"),a=e.getAttribute("data-fa-title-id");return v.autoA11y&&(n?t["aria-labelledby"]="".concat(v.replacementClass,"-title-").concat(a||Ne()):(t["aria-hidden"]="true",t.focusable="false")),t}function wo(){return{iconName:null,title:null,titleId:null,prefix:null,transform:P,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function nn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:n,prefix:a,rest:o}=vo(e),s=Mo(e),i=it("parseNodeAttributes",{},e);let l=t.styleParser?Lo(e):[];return{iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:a,transform:P,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:s},...i}}const{styles:bo}=R;function ta(e){const t=v.autoReplaceSvg==="nest"?nn(e,{styleParser:!1}):nn(e);return~t.extra.classes.indexOf(zn)?J("generateLayersText",e,t):J("generateSvgReplacementMutation",e,t)}let B=new Set;_n.map(e=>{B.add("fa-".concat(e))});Object.keys(ae[x]).map(B.add.bind(B));Object.keys(ae[D]).map(B.add.bind(B));Object.keys(ae[I]).map(B.add.bind(B));B=[...B];function an(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!U)return Promise.resolve();const n=j.documentElement.classList,a=d=>n.add("".concat(Wt,"-").concat(d)),o=d=>n.remove("".concat(Wt,"-").concat(d)),s=v.autoFetchSvg?B:_n.map(d=>"fa-".concat(d)).concat(Object.keys(bo));s.includes("fa")||s.push("fa");const i=[".".concat(zn,":not([").concat(oe,"])")].concat(s.map(d=>".".concat(d,":not([").concat(oe,"])"))).join(", ");if(i.length===0)return Promise.resolve();let l=[];try{l=pe(e.querySelectorAll(i))}catch{}if(l.length>0)a("pending"),o("complete");else return Promise.resolve();const u=Ct.begin("onTree"),c=l.reduce((d,g)=>{try{const L=ta(g);L&&d.push(L)}catch(L){$n||L.name==="MissingIcon"&&console.error(L)}return d},[]);return new Promise((d,g)=>{Promise.all(c).then(L=>{qn(L,()=>{a("active"),a("complete"),o("pending"),typeof t=="function"&&t(),u(),d()})}).catch(L=>{u(),g(L)})})}function jo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ta(e).then(n=>{n&&qn([n],t)})}function xo(e){return function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=(t||{}).icon?t:lt(t||{});let{mask:o}=n;return o&&(o=(o||{}).icon?o:lt(o||{})),e(a,{...n,mask:o})}}const No=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=P,symbol:a=!1,mask:o=null,maskId:s=null,title:i=null,titleId:l=null,classes:u=[],attributes:c={},styles:d={}}=t;if(!e)return;const{prefix:g,iconName:L,icon:M}=e;return Ve({type:"icon",...e},()=>(se("beforeDOMElementCreation",{iconDefinition:e,params:t}),v.autoA11y&&(i?c["aria-labelledby"]="".concat(v.replacementClass,"-title-").concat(l||Ne()):(c["aria-hidden"]="true",c.focusable="false")),Nt({icons:{main:ct(M),mask:o?ct(o.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:L,transform:{...P,...n},symbol:a,title:i,maskId:s,titleId:l,extra:{attributes:c,styles:d,classes:u}})))};var Co={mixout(){return{icon:xo(No)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=an,e.nodeCallback=jo,e}}},provides(e){e.i2svg=function(t){const{node:n=j,callback:a=()=>{}}=t;return an(n,a)},e.generateSvgReplacementMutation=function(t,n){const{iconName:a,title:o,titleId:s,prefix:i,transform:l,symbol:u,mask:c,maskId:d,extra:g}=n;return new Promise((L,M)=>{Promise.all([ut(a,i),c.iconName?ut(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(f=>{let[p,h]=f;L([t,Nt({icons:{main:p,mask:h},prefix:i,iconName:a,transform:l,symbol:u,maskId:d,title:o,titleId:s,extra:g,watchable:!0})])}).catch(M)})},e.generateAbstractIcon=function(t){let{children:n,attributes:a,main:o,transform:s,styles:i}=t;const l=Be(i);l.length>0&&(a.style=l);let u;return wt(s)&&(u=J("generateAbstractTransformGrouping",{main:o,transform:s,containerWidth:o.width,iconWidth:o.width})),n.push(u||o.icon),{children:n,attributes:a}}}},Eo={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:n=[]}=t;return Ve({type:"layer"},()=>{se("beforeDOMElementCreation",{assembler:e,params:t});let a=[];return e(o=>{Array.isArray(o)?o.map(s=>{a=a.concat(s.abstract)}):a=a.concat(o.abstract)}),[{tag:"span",attributes:{class:["".concat(v.cssPrefix,"-layers"),...n].join(" ")},children:a}]})}}}},So={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:n=null,classes:a=[],attributes:o={},styles:s={}}=t;return Ve({type:"counter",content:e},()=>(se("beforeDOMElementCreation",{content:e,params:t}),so({content:e.toString(),title:n,extra:{attributes:o,styles:s,classes:["".concat(v.cssPrefix,"-layers-counter"),...a]}})))}}}},To={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=P,title:a=null,classes:o=[],attributes:s={},styles:i={}}=t;return Ve({type:"text",content:e},()=>(se("beforeDOMElementCreation",{content:e,params:t}),Jt({content:e,transform:{...P,...n},title:a,extra:{attributes:s,styles:i,classes:["".concat(v.cssPrefix,"-layers-text"),...o]}})))}}},provides(e){e.generateLayersText=function(t,n){const{title:a,transform:o,extra:s}=n;let i=null,l=null;if(Sn){const u=parseInt(getComputedStyle(t).fontSize,10),c=t.getBoundingClientRect();i=c.width/u,l=c.height/u}return v.autoA11y&&!a&&(s.attributes["aria-hidden"]="true"),Promise.resolve([t,Jt({content:t.innerHTML,width:i,height:l,transform:o,title:a,extra:s,watchable:!0})])}}};const Do=new RegExp('"',"ug"),rn=[1105920,1112319],on={FontAwesome:{normal:"fas",400:"fas"},...cr,...lr,...yr},mt=Object.keys(on).reduce((e,t)=>(e[t.toLowerCase()]=on[t],e),{}),Io=Object.keys(mt).reduce((e,t)=>{const n=mt[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e},{});function Oo(e){const t=e.replace(Do,""),n=Fr(t,0),a=n>=rn[0]&&n<=rn[1],o=t.length===2?t[0]===t[1]:!1;return{value:ot(o?t[0]:t),isSecondary:a||o}}function ko(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),a=parseInt(t),o=isNaN(a)?"normal":a;return(mt[n]||{})[o]||Io[n]}function sn(e,t){const n="".concat(Mr).concat(t.replace(":","-"));return new Promise((a,o)=>{if(e.getAttribute(n)!==null)return a();const i=pe(e.children).filter(L=>L.getAttribute(tt)===t)[0],l=X.getComputedStyle(e,t),u=l.getPropertyValue("font-family"),c=u.match(Nr),d=l.getPropertyValue("font-weight"),g=l.getPropertyValue("content");if(i&&!c)return e.removeChild(i),a();if(c&&g!=="none"&&g!==""){const L=l.getPropertyValue("content");let M=ko(u,d);const{value:f,isSecondary:p}=Oo(L),h=c[0].startsWith("FontAwesome");let m=jt(M,f),y=m;if(h){const w=Xr(f);w.iconName&&w.prefix&&(m=w.iconName,M=w.prefix)}if(m&&!p&&(!i||i.getAttribute(Lt)!==M||i.getAttribute(vt)!==y)){e.setAttribute(n,y),i&&e.removeChild(i);const w=wo(),{extra:b}=w;b.attributes[tt]=t,ut(m,M).then(N=>{const T=Nt({...w,icons:{main:N,mask:xt()},prefix:M,iconName:y,extra:b,watchable:!0}),$=j.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore($,e.firstChild):e.appendChild($),$.outerHTML=T.map(he=>Te(he)).join(`
555
+ `),e.removeAttribute(n),a()}).catch(o)}else a()}else a()})}function $o(e){return Promise.all([sn(e,"::before"),sn(e,"::after")])}function _o(e){return e.parentNode!==document.head&&!~br.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(tt)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function ln(e){if(U)return new Promise((t,n)=>{const a=pe(e.querySelectorAll("*")).filter(_o).map($o),o=Ct.begin("searchPseudoElements");ea(),Promise.all(a).then(()=>{o(),dt(),t()}).catch(()=>{o(),dt(),n()})})}var Ao={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=ln,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:n=j}=t;v.searchPseudoElements&&ln(n)}}};let cn=!1;var zo={mixout(){return{dom:{unwatch(){ea(),cn=!0}}}},hooks(){return{bootstrap(){tn(it("mutationObserverCallbacks",{}))},noAuto(){yo()},watch(e){const{observeMutationsRoot:t}=e;cn?dt():tn(it("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const un=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((n,a)=>{const o=a.toLowerCase().split("-"),s=o[0];let i=o.slice(1).join("-");if(s&&i==="h")return n.flipX=!0,n;if(s&&i==="v")return n.flipY=!0,n;if(i=parseFloat(i),isNaN(i))return n;switch(s){case"grow":n.size=n.size+i;break;case"shrink":n.size=n.size-i;break;case"left":n.x=n.x-i;break;case"right":n.x=n.x+i;break;case"up":n.y=n.y-i;break;case"down":n.y=n.y+i;break;case"rotate":n.rotate=n.rotate+i;break}return n},t)};var Po={mixout(){return{parse:{transform:e=>un(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=un(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:n,transform:a,containerWidth:o,iconWidth:s}=t;const i={transform:"translate(".concat(o/2," 256)")},l="translate(".concat(a.x*32,", ").concat(a.y*32,") "),u="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),c="rotate(".concat(a.rotate," 0 0)"),d={transform:"".concat(l," ").concat(u," ").concat(c)},g={transform:"translate(".concat(s/2*-1," -256)")},L={outer:i,inner:d,path:g};return{tag:"g",attributes:{...L.outer},children:[{tag:"g",attributes:{...L.inner},children:[{tag:n.icon.tag,children:n.icon.children,attributes:{...n.icon.attributes,...L.path}}]}]}}}};const Ke={x:0,y:0,width:"100%",height:"100%"};function fn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Ro(e){return e.tag==="g"?e.children:[e]}var Bo={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),a=n?Fe(n.split(" ").map(o=>o.trim())):xt();return a.prefix||(a.prefix=Z()),e.mask=a,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:n,attributes:a,main:o,mask:s,maskId:i,transform:l}=t;const{width:u,icon:c}=o,{width:d,icon:g}=s,L=_r({transform:l,containerWidth:d,iconWidth:u}),M={tag:"rect",attributes:{...Ke,fill:"white"}},f=c.children?{children:c.children.map(fn)}:{},p={tag:"g",attributes:{...L.inner},children:[fn({tag:c.tag,attributes:{...c.attributes,...L.path},...f})]},h={tag:"g",attributes:{...L.outer},children:[p]},m="mask-".concat(i||Ne()),y="clip-".concat(i||Ne()),w={tag:"mask",attributes:{...Ke,id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"},children:[M,h]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:Ro(g)},w]};return n.push(b,{tag:"rect",attributes:{fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(m,")"),...Ke}}),{children:n,attributes:a}}}},Yo={provides(e){let t=!1;X.matchMedia&&(t=X.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const n=[],a={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:{...a,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"}});const s={...o,attributeName:"opacity"},i={tag:"circle",attributes:{...a,cx:"256",cy:"364",r:"28"},children:[]};return t||i.children.push({tag:"animate",attributes:{...o,attributeName:"r",values:"28;14;28;28;14;28;"}},{tag:"animate",attributes:{...s,values:"1;0;1;1;0;1;"}}),n.push(i),n.push({tag:"path",attributes:{...a,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:{...s,values:"1;0;0;0;0;1;"}}]}),t||n.push({tag:"path",attributes:{...a,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:{...s,values:"0;0;1;1;0;0;"}}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},Fo={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),a=n===null?!1:n===""?!0:n;return e.symbol=a,e}}}},Vo=[Pr,Co,Eo,So,To,Ao,zo,Po,Bo,Yo,Fo];qr(Vo,{mixoutsTo:O});O.noAuto;const na=O.config;O.library;O.dom;const ze=O.parse;O.findIconDefinition;O.toHtml;const Uo=O.icon;O.layer;const Qo=O.text;O.counter;function dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dn(Object(n),!0).forEach(function(a){S(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dn(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Wo(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Go(e){var t=Wo(e,"string");return typeof t=="symbol"?t:t+""}function Pe(e){"@babel/helpers - typeof";return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pe(e)}function S(e,t,n){return t=Go(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ho(e,t){if(e==null)return{};var n={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;n[a]=e[a]}return n}function Xo(e,t){if(e==null)return{};var n=Ho(e,t),a,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)a=s[o],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function pt(e){return Zo(e)||Jo(e)||Ko(e)||qo()}function Zo(e){if(Array.isArray(e))return gt(e)}function Jo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ko(e,t){if(e){if(typeof e=="string")return gt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gt(e,t)}}function gt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function qo(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
556
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var es=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},aa={exports:{}};(function(e){(function(t){var n=function(m,y,w){if(!c(y)||g(y)||L(y)||M(y)||u(y))return y;var b,N=0,T=0;if(d(y))for(b=[],T=y.length;N<T;N++)b.push(n(m,y[N],w));else{b={};for(var $ in y)Object.prototype.hasOwnProperty.call(y,$)&&(b[m($,w)]=n(m,y[$],w))}return b},a=function(m,y){y=y||{};var w=y.separator||"_",b=y.split||/(?=[A-Z])/;return m.split(b).join(w)},o=function(m){return f(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(y,w){return w?w.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},s=function(m){var y=o(m);return y.substr(0,1).toUpperCase()+y.substr(1)},i=function(m,y){return a(m,y).toLowerCase()},l=Object.prototype.toString,u=function(m){return typeof m=="function"},c=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},g=function(m){return l.call(m)=="[object Date]"},L=function(m){return l.call(m)=="[object RegExp]"},M=function(m){return l.call(m)=="[object Boolean]"},f=function(m){return m=m-0,m===m},p=function(m,y){var w=y&&"process"in y?y.process:y;return typeof w!="function"?m:function(b,N){return w(b,m,N)}},h={camelize:o,decamelize:i,pascalize:s,depascalize:i,camelizeKeys:function(m,y){return n(p(o,y),m)},decamelizeKeys:function(m,y){return n(p(i,y),m,y)},pascalizeKeys:function(m,y){return n(p(s,y),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=h:t.humps=h})(es)})(aa);var ts=aa.exports,ns=["class","style"];function as(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var a=n.indexOf(":"),o=ts.camelize(n.slice(0,a)),s=n.slice(a+1).trim();return t[o]=s,t},{})}function rs(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function St(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var a=(e.children||[]).map(function(u){return St(u)}),o=Object.keys(e.attributes||{}).reduce(function(u,c){var d=e.attributes[c];switch(c){case"class":u.class=rs(d);break;case"style":u.style=as(d);break;default:u.attrs[c]=d}return u},{attrs:{},class:{},style:{}});n.class;var s=n.style,i=s===void 0?{}:s,l=Xo(n,ns);return r.h(e.tag,A(A(A({},t),{},{class:o.class,style:A(A({},o.style),i)},o.attrs),l),a)}var ra=!1;try{ra=process.env.NODE_ENV==="production"}catch{}function os(){if(!ra&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function be(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?S({},e,t):{}}function ss(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},S(S(S(S(S(S(S(S(S(S(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),"fa-flash",e.flash),S(S(t,"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse));return Object.keys(n).map(function(a){return n[a]?a:null}).filter(function(a){return a})}function mn(e){if(e&&Pe(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(ze.icon)return ze.icon(e);if(e===null)return null;if(Pe(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var is=r.defineComponent({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var a=n.attrs,o=r.computed(function(){return mn(t.icon)}),s=r.computed(function(){return be("classes",ss(t))}),i=r.computed(function(){return be("transform",typeof t.transform=="string"?ze.transform(t.transform):t.transform)}),l=r.computed(function(){return be("mask",mn(t.mask))}),u=r.computed(function(){return Uo(o.value,A(A(A(A({},s.value),i.value),l.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))});r.watch(u,function(d){if(!d)return os("Could not find one or more icon(s)",o.value,l.value)},{immediate:!0});var c=r.computed(function(){return u.value?St(u.value.abstract[0],{},a):null});return function(){return c.value}}});r.defineComponent({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var a=n.slots,o=na.familyPrefix,s=r.computed(function(){return["".concat(o,"-layers")].concat(pt(t.fixedWidth?["".concat(o,"-fw")]:[]))});return function(){return r.h("div",{class:s.value},a.default?a.default():[])}}});r.defineComponent({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,n){var a=n.attrs,o=na.familyPrefix,s=r.computed(function(){return be("classes",[].concat(pt(t.counter?["".concat(o,"-layers-counter")]:[]),pt(t.position?["".concat(o,"-layers-").concat(t.position)]:[])))}),i=r.computed(function(){return be("transform",typeof t.transform=="string"?ze.transform(t.transform):t.transform)}),l=r.computed(function(){var c=Qo(t.value.toString(),A(A({},i.value),s.value)),d=c.abstract;return t.counter&&(d[0].attributes.class=d[0].attributes.class.replace("fa-layers-text","")),d[0]}),u=r.computed(function(){return St(l.value,{},a)});return function(){return u.value}}});const E={prefix:"fas",iconName:"person-military-to-person",icon:[512,512,[],"e54c","M71 12.5c-8.6 1-15 8.2-15 16.8c0 9.3 7.5 16.8 16.7 16.9l111.4 0c8.8-.1 15.9-7.2 15.9-16L200 16c0-9.5-8.3-17-17.8-15.9L71 12.5zM189.5 78.1l-122.9 0C64.9 83.8 64 89.8 64 96c0 35.3 28.7 64 64 64s64-28.7 64-64c0-6.2-.9-12.2-2.5-17.9zM32 256l0 32c0 17.7 14.3 32 32 32l128 0c1.8 0 3.5-.1 5.2-.4L53 208.6C40.1 220.3 32 237.2 32 256zm190.2 42.5c1.1-3.3 1.8-6.8 1.8-10.5l0-32c0-35.3-28.7-64-64-64l-64 0c-3.7 0-7.4 .3-10.9 .9L222.2 298.5zM384 160a64 64 0 1 0 0-128 64 64 0 1 0 0 128zm-32 32c-35.3 0-64 28.7-64 64l0 32c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-32c0-35.3-28.7-64-64-64l-64 0zM215.8 450.1c5.2-4.6 8.2-11.1 8.2-18.1s-3-13.5-8.2-18.1l-64-56c-7.1-6.2-17.1-7.7-25.7-3.8S112 366.6 112 376l0 32-88 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l88 0 0 32c0 9.4 5.5 18 14.1 21.9s18.6 2.4 25.7-3.8l64-56zM288 431.9c0 6.9 2.9 13.5 8.1 18.1l64 56.4c7.1 6.2 17.1 7.8 25.7 3.9s14.1-12.4 14.1-21.9l0-32.4 88 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-88 0 0-32c0-9.4-5.5-18-14.1-21.9s-18.6-2.4-25.7 3.8l-64 56c-5.2 4.5-8.2 11.1-8.2 18z"]},Y={prefix:"fas",iconName:"file-shield",icon:[576,512,[],"e4f0","M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 47-92.8 37.1c-21.3 8.5-35.2 29.1-35.2 52c0 56.6 18.9 148 94.2 208.3c-9 4.8-19.3 7.6-30.2 7.6L64 512c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128zm39.1 97.7c5.7-2.3 12.1-2.3 17.8 0l120 48C570 277.4 576 286.2 576 296c0 63.3-25.9 168.8-134.8 214.2c-5.9 2.5-12.6 2.5-18.5 0C313.9 464.8 288 359.3 288 296c0-9.8 6-18.6 15.1-22.3l120-48zM527.4 312L432 273.8l0 187.8c68.2-33 91.5-99 95.4-149.7z"]},_={prefix:"fas",iconName:"building-shield",icon:[576,512,[],"e4d8","M0 48C0 21.5 21.5 0 48 0L336 0c26.5 0 48 21.5 48 48l0 159-42.4 17L304 224l-32 0c-8.8 0-16 7.2-16 16l0 32 0 24.2 0 7.8c0 .9 .1 1.7 .2 2.6c2.3 58.1 24.1 144.8 98.7 201.5c-5.8 2.5-12.2 3.9-18.9 3.9l-96 0 0-80c0-26.5-21.5-48-48-48s-48 21.5-48 48l0 80-96 0c-26.5 0-48-21.5-48-48L0 48zM80 224c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm80 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zM64 112l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16L80 96c-8.8 0-16 7.2-16 16zM176 96c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm80 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zM423.1 225.7c5.7-2.3 12.1-2.3 17.8 0l120 48C570 277.4 576 286.2 576 296c0 63.3-25.9 168.8-134.8 214.2c-5.9 2.5-12.6 2.5-18.5 0C313.9 464.8 288 359.3 288 296c0-9.8 6-18.6 15.1-22.3l120-48zM527.4 312L432 273.8l0 187.8c68.2-33 91.5-99 95.4-149.7z"]},te={prefix:"fas",iconName:"person-military-pointing",icon:[576,512,[],"e54a","M246.9 14.1C234 15.2 224 26 224 39c0 13.8 11.2 25 25 25l151 0c8.8 0 16-7.2 16-16l0-30.6C416 8 408 .7 398.7 1.4L246.9 14.1zM240 112c0 44.2 35.8 80 80 80s80-35.8 80-80c0-5.5-.6-10.8-1.6-16L241.6 96c-1 5.2-1.6 10.5-1.6 16zM72 224c-22.1 0-40 17.9-40 40s17.9 40 40 40l152 0 0 89.4L386.8 230.5c-13.3-4.3-27.3-6.5-41.6-6.5L240 224 72 224zm345.7 20.9L246.6 416 416 416l0-46.3 53.6 90.6c11.2 19 35.8 25.3 54.8 14.1s25.3-35.8 14.1-54.8L462.3 290.8c-11.2-18.9-26.6-34.5-44.6-45.9zM224 448l0 32c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-32-192 0z"]},ye={prefix:"fas",iconName:"building-columns",icon:[512,512,["bank","institution","museum","university"],"f19c","M243.4 2.6l-224 96c-14 6-21.8 21-18.7 35.8S16.8 160 32 160l0 8c0 13.3 10.7 24 24 24l400 0c13.3 0 24-10.7 24-24l0-8c15.2 0 28.3-10.7 31.3-25.6s-4.8-29.9-18.7-35.8l-224-96c-8-3.4-17.2-3.4-25.2 0zM128 224l-64 0 0 196.3c-.6 .3-1.2 .7-1.8 1.1l-48 32c-11.7 7.8-17 22.4-12.9 35.9S17.9 512 32 512l448 0c14.1 0 26.5-9.2 30.6-22.7s-1.1-28.1-12.9-35.9l-48-32c-.6-.4-1.2-.7-1.8-1.1L448 224l-64 0 0 192-40 0 0-192-64 0 0 192-48 0 0-192-64 0 0 192-40 0 0-192zM256 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},oa=r.defineComponent({__name:"RecordTypeIcon",props:{recordType:{}},setup(e,{expose:t}){const n=r.ref(new Map([["Police & public interactions",E],["Police and public interactions",E],["Accident Reports",E],["Arrest Records",E],["Calls for Service",E],["Car GPS",E],["Citations",E],["Dispatch Logs",E],["Dispatch Recordings",E],["Field Contacts",E],["Incident Reports",E],["Misc Police Activity",E],["Officer Involved Shootings",E],["Stops",E],["Surveys",E],["Use of Force Reports",E],["Vehicle Pursuits",E],["Info about officers",te],["Complaints & Misconduct",te],["Complaints and Misconduct",te],["Daily Activity Logs",te],["Training & Hiring Info",te],["Training and Hiring Info",te],["Personnel Records",te],["Info about agencies",_],["Annual & Monthly Reports",_],["Annual and Monthly Reports",_],["Budgets & Finances",_],["Budgets and Finances",_],["Contact Info & Agency Meta",_],["Contact Info and Agency Meta",_],["Geographic",_],["List of Data Sources",_],["Policies & Contracts",_],["Policies and Contracts",_],["Agency-published resources",Y],["Crime Maps & Reports",Y],["Crime Maps and Reports",Y],["Crime Statistics",Y],["Media Bulletins",Y],["Records Request Info",Y],["Resources",Y],["Sex Offender Registry",Y],["Wanted Persons",Y],["Jails & Courts specific",ye],["Jails and courts specific",ye],["Booking Reports",ye],["Court Cases",ye],["Incarceration Records",ye]]));return t({recordTypesToIcons:n}),(a,o)=>n.value.has(a.recordType)?(r.openBlock(),r.createBlock(r.unref(is),{key:0,icon:n.value.get(a.recordType)??[]},null,8,["icon"])):r.createCommentVNode("",!0)}}),ls=["id"],cs=["for"],sa=r.defineComponent({__name:"PdapInput",props:{type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{},defaultChecked:{type:Boolean}},setup(e){const t=e,n=r.computed(()=>`pdap-${t.name}-input-error`);return(a,o)=>{var s;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass({"pdap-input":!0,[`pdap-input-${a.type}`]:!0,[`pdap-input-${a.type}-checked`]:a.type===r.unref(z).CHECKBOX&&a.value==="true","pdap-input-error":Number((s=a.error)==null?void 0:s.length)>=1})},[a.type===r.unref(z).CHECKBOX?(r.openBlock(),r.createBlock(nr,r.mergeProps({key:0,class:"pdap-input-checkbox"},{...a.$attrs,...t}),null,16)):(r.openBlock(),r.createBlock(er,r.normalizeProps(r.mergeProps({key:1},{...a.$attrs,...a.$props})),null,16)),a.error?(r.openBlock(),r.createElementBlock("div",{key:2,id:n.value,class:"pdap-input-error-message"},r.toDisplayString(a.error),9,ls)):r.createCommentVNode("",!0),r.createElementVNode("label",{class:"pdap-input-label",for:a.id},[r.createTextVNode(r.toDisplayString(a.label)+" ",1),r.createVNode(oa,{"record-type":a.label},null,8,["record-type"])],8,cs)],2)}}});function pn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,a)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pn(Object(n),!0).forEach(function(a){us(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pn(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function us(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ce(e){return typeof e=="function"}function Re(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Ue(e){return Ce(e.$validator)?me({},e):{$validator:e}}function fs(e){return Re(e)&&Ce(e.then)}function K(e){return typeof e=="object"?e.$valid:e}function ie(e){return e.$validator||e}function Tt(e,t){if(!Re(e))throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);if(!Re(t)&&!Ce(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=Ue(t);return n.$params=me(me({},n.$params||{}),e),n}function Ee(e,t){if(!Ce(e)&&typeof r.unref(e)!="string")throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof e}`);if(!Re(t)&&!Ce(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=Ue(t);return n.$message=e,n}function ds(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=Ue(e);return me(me({},n),{},{$async:!0,$watchTargets:t})}function ms(e){return{$validator(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];return r.unref(t).reduce((s,i,l)=>{const u=Object.entries(i).reduce((c,d)=>{let[g,L]=d;const M=e[g]||{},f=Object.entries(M).reduce((p,h)=>{let[m,y]=h;const b=ie(y).call(this,L,i,l,...a),N=K(b);if(p.$data[m]=b,p.$data.$invalid=!N||!!p.$data.$invalid,p.$data.$error=p.$data.$invalid,!N){let T=y.$message||"";const $=y.$params||{};typeof T=="function"&&(T=T({$pending:!1,$invalid:!N,$params:$,$model:L,$response:b})),p.$errors.push({$property:g,$message:T,$params:$,$response:b,$model:L,$pending:!1,$validator:m})}return{$valid:p.$valid&&N,$data:p.$data,$errors:p.$errors}},{$valid:!0,$data:{},$errors:[]});return c.$data[g]=f.$data,c.$errors[g]=f.$errors,{$valid:c.$valid&&f.$valid,$data:c.$data,$errors:c.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:s.$valid&&u.$valid,$data:s.$data.concat(u.$data),$errors:s.$errors.concat(u.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:t=>{let{$response:n}=t;return n?n.$errors.map(a=>Object.values(a).map(o=>o.map(s=>s.$message)).reduce((o,s)=>o.concat(s),[])):[]}}}const k=e=>{if(e=r.unref(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let t in e)return!0;return!1}return!!String(e).length},Dt=e=>(e=r.unref(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a=>(a=r.unref(a),!k(a)||t.every(o=>(o.lastIndex=0,o.test(a))))}var ge=Object.freeze({__proto__:null,forEach:ms,len:Dt,normalizeValidatorObject:Ue,regex:q,req:k,unwrap:r.unref,unwrapNormalizedValidator:ie,unwrapValidatorResponse:K,withAsync:ds,withMessage:Ee,withParams:Tt}),ps=q(/^[a-zA-Z]*$/),gs={$validator:ps,$message:"The value is not alphabetical",$params:{type:"alpha"}},hs=q(/^[a-zA-Z0-9]*$/),ys={$validator:hs,$message:"The value must be alpha-numeric",$params:{type:"alphaNum"}},Ls=q(/^\d*(\.\d+)?$/),vs={$validator:Ls,$message:"Value must be numeric",$params:{type:"numeric"}};function Ms(e,t){return n=>!k(n)||(!/\s/.test(n)||n instanceof Date)&&+r.unref(e)<=+n&&+r.unref(t)>=+n}function ws(e,t){return{$validator:Ms(e,t),$message:n=>{let{$params:a}=n;return`The value must be between ${a.min} and ${a.max}`},$params:{min:e,max:t,type:"between"}}}const bs=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;var js=q(bs),It={$validator:js,$message:"Value is not a valid email address",$params:{type:"email"}};function xs(e){if(!k(e))return!0;if(typeof e!="string")return!1;const t=e.split(".");return t.length===4&&t.every(Ns)}const Ns=e=>{if(e.length>3||e.length===0||e[0]==="0"&&e!=="0"||!e.match(/^\d+$/))return!1;const t=+e|0;return t>=0&&t<=255};var Cs={$validator:xs,$message:"The value is not a valid IP address",$params:{type:"ipAddress"}};function Es(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:":";return t=>{if(e=r.unref(e),!k(t))return!0;if(typeof t!="string")return!1;const n=typeof e=="string"&&e!==""?t.split(e):t.length===12||t.length===16?t.match(/.{2}/g):null;return n!==null&&(n.length===6||n.length===8)&&n.every(Ss)}}const Ss=e=>e.toLowerCase().match(/^[0-9a-f]{2}$/);function Ts(e){return{$validator:Es(e),$message:"The value is not a valid MAC Address",$params:{type:"macAddress"}}}function Ds(e){return t=>!k(t)||Dt(t)<=r.unref(e)}function Is(e){return{$validator:Ds(e),$message:t=>{let{$params:n}=t;return`The maximum length allowed is ${n.max}`},$params:{max:e,type:"maxLength"}}}function Os(e){return t=>!k(t)||Dt(t)>=r.unref(e)}function ks(e){return{$validator:Os(e),$message:t=>{let{$params:n}=t;return`This field should be at least ${n.min} characters long`},$params:{min:e,type:"minLength"}}}function $s(e){return typeof e=="string"&&(e=e.trim()),k(e)}var Ot={$validator:$s,$message:"Value is required",$params:{type:"required"}};const gn=(e,t)=>e?k(typeof t=="string"?t.trim():t):!0;function _s(e){return function(t,n){if(typeof e!="function")return gn(r.unref(e),t);const a=e.call(this,t,n);return gn(a,t)}}function As(e){return{$validator:_s(e),$message:"The value is required",$params:{type:"requiredIf",prop:e}}}const hn=(e,t)=>e?!0:k(typeof t=="string"?t.trim():t);function zs(e){return function(t,n){if(typeof e!="function")return hn(r.unref(e),t);const a=e.call(this,t,n);return hn(a,t)}}function Ps(e){return{$validator:zs(e),$message:"The value is required",$params:{type:"requiredUnless",prop:e}}}function Rs(e){return t=>r.unref(t)===r.unref(e)}function Bs(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"other";return{$validator:Rs(e),$message:n=>`The value must be equal to the ${t} value`,$params:{equalTo:e,otherName:t,type:"sameAs"}}}const Ys=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;var Fs=q(Ys),Vs={$validator:Fs,$message:"The value is not a valid URL address",$params:{type:"url"}};function Us(e){return function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e.reduce((o,s)=>K(o)?o:ie(s).apply(this,n),!1)}}function Qs(e){return function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e.reduce(async(o,s)=>{const i=await o;return K(i)?i:ie(s).apply(this,n)},Promise.resolve(!1))}}function Ws(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const a=t.some(i=>i.$async),o=t.reduce((i,l)=>l.$watchTargets?i.concat(l.$watchTargets):i,[]);let s=()=>!1;return t.length&&(s=a?Qs(t):Us(t)),{$async:a,$validator:s,$watchTargets:o}}function Gs(){return Tt({type:"or"},Ee("The value does not match any of the provided validators",Ws(...arguments)))}function Hs(e){return function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e.reduce((o,s)=>K(o)?ie(s).apply(this,n):o,!0)}}function Xs(e){return function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e.reduce(async(o,s)=>{const i=await o;return K(i)?ie(s).apply(this,n):i},Promise.resolve(!0))}}function Zs(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const a=t.some(i=>i.$async),o=t.reduce((i,l)=>l.$watchTargets?i.concat(l.$watchTargets):i,[]);let s=()=>!1;return t.length&&(s=a?Xs(t):Hs(t)),{$async:a,$validator:s,$watchTargets:o}}function Js(){return Tt({type:"and"},Ee("The value does not match all of the provided validators",Zs(...arguments)))}function Ks(e){return function(t,n){if(!k(t))return!0;const a=ie(e).call(this,t,n);return fs(a)?a.then(o=>!K(o)):!K(a)}}function qs(e){return{$validator:Ks(e),$message:"The value does not match the provided validator",$params:{type:"not"}}}function ei(e){return t=>!k(t)||(!/\s/.test(t)||t instanceof Date)&&+t>=+r.unref(e)}function ti(e){return{$validator:ei(e),$message:t=>{let{$params:n}=t;return`The minimum value allowed is ${n.min}`},$params:{min:e,type:"minValue"}}}function ni(e){return t=>!k(t)||(!/\s/.test(t)||t instanceof Date)&&+t<=+r.unref(e)}var ai=e=>({$validator:ni(e),$message:t=>{let{$params:n}=t;return`The maximum value allowed is ${n.max}`},$params:{max:e,type:"maxValue"}}),ri=q(/(^[0-9]*$)|(^-[0-9]+$)/),oi={$validator:ri,$message:"Value is not an integer",$params:{type:"integer"}},si=q(/^[-]?\d*(\.\d+)?$/),ii={$validator:si,$message:"Value must be decimal",$params:{type:"decimal"}};function li(e){let{t,messagePath:n=o=>{let{$validator:s}=o;return`validations.${s}`},messageParams:a=o=>o}=e;return function(s){let{withArguments:i=!1,messagePath:l=n,messageParams:u=a}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function c(d){return t(l(d),u(me({model:d.$model,property:d.$property,pending:d.$pending,invalid:d.$invalid,response:d.$response,validator:d.$validator,propertyPath:d.$propertyPath},d.$params)))}return i&&typeof s=="function"?function(){return Ee(c,s(...arguments))}:Ee(c,s)}}const ia=Object.freeze(Object.defineProperty({__proto__:null,alpha:gs,alphaNum:ys,and:Js,between:ws,createI18nMessage:li,decimal:ii,email:It,helpers:ge,integer:oi,ipAddress:Cs,macAddress:Ts,maxLength:Is,maxValue:ai,minLength:ks,minValue:ti,not:qs,numeric:vs,or:Gs,required:Ot,requiredIf:As,requiredUnless:Ps,sameAs:Bs,url:Vs},Symbol.toStringTag,{value:"Module"})),la=ge.regex(/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$ %^&*-]).{8,}$/);function yn(e){return["maxLength","minLength"].includes(e)}function Ln(e){return e==="required"}function vn(e){return e==="email"}function Mn(e){return e==="password"}function ci(e,t){return{[e]:ia[e](t)}}function ui(e,t,n){return{[e]:ge.withMessage(n,ia[e](t))}}function fi(){return{required:Ot}}function di(e){return{required:ge.withMessage(e,Ot)}}function mi(){return{email:It}}function pi(e){return{email:ge.withMessage(e,It)}}function gi(){return{password:la}}function hi(e){return{password:ge.withMessage(e,la)}}function yi(e,t){if(yn(e)&&typeof t.message=="string"&&typeof t.value=="number")return ui(e,t.value,t.message);if(yn(e)&&typeof t.message>"u"&&typeof t.value=="number")return ci(e,t.value);if(vn(e)&&typeof t.message=="string")return pi(t.message);if(vn(e)&&typeof t.message>"u")return mi();if(Mn(e)&&typeof t.message=="string")return hi(t.message);if(Mn(e)&&typeof t.message>"u")return gi();if(Ln(e)&&typeof t.message=="string")return di(t.message);if(Ln(e)&&typeof t.message>"u")return fi();throw new Error("No valid rule detected")}const Li=["id","name","onSubmit"],vi={key:0,class:"pdap-form-error-message"},Mi={name:"PdapForm"},ca=r.defineComponent({...Mi,props:{error:{default:null},id:{},name:{},schema:{},resetOn:{type:[String,Boolean],default:"submit"}},emits:["submit","change"],setup(e,{expose:t,emit:n}){const a=e,o=n;t({setValues:L});const s=r.computed(()=>a.schema.map(f=>{const p={...f};return delete p.validators,p})),i=r.ref(s.value.reduce((f,p)=>{switch(p.type){case z.CHECKBOX:return{...f,[p.name]:String(p.defaultChecked)};case z.TEXT:case z.PASSWORD:default:return{...f,[p.name]:p.value}}},{})),l=a.schema.reduce((f,p)=>{const h=Object.entries(p.validators??{}).reduce((m,[y,w])=>({...m,...yi(y,w)}),{});return{...f,[p.name]:{...h}}},{}),u=Ka(l,i,{$autoDirty:!1,$lazy:!0}),c=r.ref(a.error);r.watchEffect(()=>{a.error?c.value=a.error:c.value&&u.value.$errors.length===0?c.value=null:!c.value&&u.value.$errors.length>0&&(c.value="Please update this form to correct the errors")}),r.watchEffect(()=>{a.resetOn&&a.resetOn!=="submit"&&g()});function d(f,p){const h=p.target,m=(()=>{switch(f.type){case z.CHECKBOX:return h.checked?"true":"false";default:return h.value}})();i.value[f.name]=m,o("change",i.value,p)}function g(){u.value.$reset(),i.value=Object.entries(i).reduce((f,[p])=>({...f,[p]:""}),{})}function L(f){i.value=f}async function M(f){await u.value.$validate()&&(o("submit",{...i.value},f),a.resetOn==="submit"&&g())}return(f,p)=>(r.openBlock(),r.createElementBlock("form",{id:f.id,name:f.name,class:"pdap-form",onSubmit:r.withModifiers(M,["prevent"])},[typeof c.value=="string"?(r.openBlock(),r.createElementBlock("div",vi,r.toDisplayString(c.value),1)):r.createCommentVNode("",!0),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.value,h=>{var m,y,w,b;return r.openBlock(),r.createBlock(sa,r.mergeProps(h,{key:h.name,error:(m=r.unref(u)[h.name])!=null&&m.$error?(b=(w=(y=r.unref(u)[h.name])==null?void 0:y.$errors)==null?void 0:w[0])==null?void 0:b.$message:"",value:i.value[h.name],onInput:N=>d(h,N)}),null,16,["error","value","onInput"])}),128)),r.renderSlot(f.$slots,"default")],40,Li))}});const wi=e=>(r.pushScopeId("data-v-3158c5fc"),e=e(),r.popScopeId(),e),bi=["aria-label","aria-expanded","onKeyup"],ji=wi(()=>r.createElementVNode("svg",{"aria-label":"Menu",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},[r.createElementVNode("path",{d:"M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"})],-1)),xi=[ji],Ni=["aria-hidden"],Ci=["href"],Ei={name:"PdapHeader"},Si=r.defineComponent({...Ei,setup(e){let t=r.inject("navLinks");typeof t>"u"&&(t=[],console.error(`Hey, PDAP developer
557
+ `,"Did you forget to inject some linkData for the Nav component?"));const n=r.reactive({isExpanded:!1,isMobile:!0});r.onBeforeMount(()=>{a(),window.addEventListener("resize",a)}),r.onBeforeUnmount(()=>{window.removeEventListener("resize",a)});async function a(){window.innerWidth<=1024?n.isMobile=!0:n.isMobile=!1,await r.nextTick()}async function o(){var i,l;const s=document.querySelector("body");!n.isExpanded&&n.isMobile?(n.isExpanded=!0,s!=null&&s.classList.contains("lock-scroll")||(i=document.querySelector("body"))==null||i.classList.add("lock-scroll")):n.isExpanded&&n.isMobile&&(n.isExpanded=!1,(l=document.querySelector("body"))==null||l.classList.remove("lock-scroll")),await r.nextTick()}return(s,i)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",{"aria-label":n.isExpanded?"close navigation menu":"open navigation menu","aria-expanded":n.isMobile&&n.isExpanded,"aria-controls":"nav",class:"pdap-nav-open-button",role:"button",tabindex:0,onClick:o,onKeyup:r.withKeys(o,["enter"])},xi,40,bi),r.createVNode(r.Transition,null,{default:r.withCtx(()=>[r.withDirectives(r.createElementVNode("nav",{id:"nav","aria-hidden":!(n.isMobile&&n.isExpanded),class:"pdap-nav"},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(t),l=>(r.openBlock(),r.createElementBlock("li",{key:l.text,class:"pdap-nav-link-container"},[l.href?(r.openBlock(),r.createElementBlock("a",{key:0,class:"pdap-nav-link",href:l.href,target:"_blank",referrerpolicy:"no-referrer",onClick:o},r.toDisplayString(l.text),9,Ci)):r.createCommentVNode("",!0),l.path?(r.openBlock(),r.createBlock(r.unref(ce.RouterLink),{key:1,"active-class":"pdap-nav-link-current","exact-active-class":"pdap-nav-link-current-exact",class:"pdap-nav-link",to:l.path,onClick:o},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(l.text),1)]),_:2},1032,["to"])):r.createCommentVNode("",!0)]))),128))],8,Ni),[[r.vShow,n.isMobile&&n.isExpanded||!n.isMobile]])]),_:1})],64))}});const kt=(e,t)=>{const n=e.__vccOpts||e;for(const[a,o]of t)n[a]=o;return n},ua=kt(Si,[["__scopeId","data-v-3158c5fc"]]),Ti="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsb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DEwMS41eiBNNDUzLDgxLjJjLTIuNSwwLTMuNSwxLjgtMy45LDQuMWg4LjEKCUM0NTYuOSw4Mi44LDQ1NS4zLDgxLjIsNDUzLDgxLjJ6Ii8+CjxwYXRoIGQ9Ik00ODEuNiwxMDEuNWMtNy44LDAtMTMuNS01LjYtMTMuNS0xMi45YzAtNy4xLDUuNy0xMy4xLDEzLjUtMTMuMWMzLjktMC4yLDcuNiwxLjUsMTAsNC42bC01LjEsNC43Yy0xLjItMS40LTMtMi4zLTQuOS0yLjMKCWMtMy4xLDAtNS4zLDIuNi01LjMsNi4xYzAsMywyLjEsNS45LDUuMyw1LjljMi4zLDAsMy41LTAuOSw0LjktMi41bDUuOSw0LjJDNDg5LjQsOTkuOSw0ODYuNCwxMDEuNSw0ODEuNiwxMDEuNXoiLz4KPHBhdGggZD0iTTUwMy45LDEwMC44Yy01LDAtOC4yLTMuOC04LjItOXYtOWgtMy4xdi02LjZoMy4xVjY1LjloOC45djEwLjJoNC4ydjYuNmgtNC4ydjcuNGMwLDEuOSwxLDMuMiwyLjcsMy4yaDIuMnY3LjRoLTUuNlYxMDAuOHoKCSIvPgo8cG9seWdvbiBwb2ludHM9IjkxLjcsMjAuMiA3Ni4yLDIwLjIgODguNCw4IDgzLjEsMi43IDcxLjUsMTQuMyA3MS41LDAgNjQsMCA2NCwxNC4zIDUyLjMsMi43IDQ3LDggNTkuMiwyMC4yIDQzLjcsMjAuMiA0My43LDI3LjggCgk1OC4xLDI3LjggNDcsMzguOCA1Mi4zLDQ0LjEgNjQsMzIuNSA2NCw0OCA3MS41LDQ4IDcxLjUsMzIuNSA4My4xLDQ0LjEgODguNCwzOC44IDc3LjQsMjcuOCA5MS43LDI3LjggIi8+Cjwvc3ZnPgo=",Di=["href"],Ii=["src"],Oi=["src"],ki={name:"PdapHeader"},$i=r.defineComponent({...ki,props:{logoImageSrc:{default:Ti},logoImageAnchorPath:{default:"/"}},setup(e){const t=e,n=r.ref(null),a=t.logoImageAnchorPath.startsWith("/");r.onMounted(()=>{o(),window.addEventListener("resize",o)}),r.onBeforeUnmount(()=>{window.removeEventListener("resize",o)});function o(){var s;n.value&&((s=document.querySelector(":root"))==null||s.style.setProperty("--header-height",`${n.value.clientHeight}px`))}return(s,i)=>(r.openBlock(),r.createElementBlock("header",{ref_key:"el",ref:n,class:"pdap-header"},[r.unref(a)?(r.openBlock(),r.createBlock(r.unref(ce.RouterLink),{key:1,to:s.logoImageAnchorPath,class:"logo"},{default:r.withCtx(()=>[r.createElementVNode("img",{src:s.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Oi)]),_:1},8,["to"])):(r.openBlock(),r.createElementBlock("a",{key:0,href:s.logoImageAnchorPath,class:"logo"},[r.createElementVNode("img",{src:s.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Ii)],8,Di)),r.createVNode(ua)],512))}});const _i=r.createElementVNode("div",{class:"pdap-flex-container"},[r.createElementVNode("h2",{class:"mt-0"},"Search our database"),r.createElementVNode("p",{class:"pb-4 md:pb-8"},[r.createTextVNode(" If you are looking for something specific, we may already be tracking it. "),r.createElementVNode("a",{href:"https://pdap.io/data"},"Learn more about the data here.")])],-1),Ai={class:"pdap-quick-search-form h-full max-h-[75-vh] justify-start p-0"},zi={class:"max-w-[unset] text-med"},Pi=["href"],Ri=["href"],Bi={name:"QuickSearchForm"},Yi=r.defineComponent({...Bi,props:{baseUrlForRedirect:{default:"https://data-sources.pdap.io"}},setup(e){const t=ce.useRouter(),n=e,a=[{id:"search-term",name:"searchTerm",label:"What are you looking for?",type:z.TEXT,placeholder:"Enter a keyword, or 'all'",value:""},{id:"location",name:"location",label:"From where?",type:z.TEXT,placeholder:"Enter a place, or 'all'",value:""}],o=r.ref(void 0),s=t.getRoutes().some(u=>u.path.includes("/search/"));function i(u){o.value&&Object.values(u).some(Boolean)&&(o.value=void 0)}function l(u){if(Object.values(u).every(g=>!g)){o.value="Either a search term or a location is required.";return}let{location:c,searchTerm:d}=u;c=c&&c.length>0?c:"all",d=d&&d.length>0?d:"all",s?t.push(`/search/${d}/${c}`):window.location.assign(`${n.baseUrlForRedirect}/search/${d}/${c}`)}return(u,c)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[_i,r.createElementVNode("div",Ai,[r.createVNode(ca,{id:"quick-search-form",class:"flex flex-wrap gap-x-4",error:o.value,schema:a,name:"quickSearchForm",onChange:i,onSubmit:l},{default:r.withCtx(()=>[r.createVNode(ht,{type:"submit",class:"flex-grow-0 flex-shrink-0 basis-full max-w-[unset] mt-4"},{default:r.withCtx(()=>[r.createTextVNode("Search Data Sources")]),_:1})]),_:1},8,["error"]),r.createElementVNode("p",zi,[r.createTextVNode(" For example, you could search for "),r.unref(s)?(r.openBlock(),r.createBlock(r.unref(ce.RouterLink),{key:0,to:"/search/stops/pittsburgh"},{default:r.withCtx(()=>[r.createTextVNode(" stops in Pittsburgh ")]),_:1})):(r.openBlock(),r.createElementBlock("a",{key:1,target:"_blank",rel:"noreferrer",href:`${n.baseUrlForRedirect}/search/stops/pittsburgh`}," stops in Pittsburgh ",8,Pi)),r.createTextVNode(" or "),r.unref(s)?(r.openBlock(),r.createBlock(r.unref(ce.RouterLink),{key:2,to:"/search/complaints/all"},{default:r.withCtx(()=>[r.createTextVNode(" complaints everywhere ")]),_:1})):(r.openBlock(),r.createElementBlock("a",{key:3,target:"_blank",rel:"noreferrer",href:`${n.baseUrlForRedirect}/search/complaints/all`}," complaints everywhere ",8,Ri)),r.createTextVNode(" . ")])])],64))}});const Fi=["alt","src"],Vi={name:"TileIcon"},Ui=r.defineComponent({...Vi,props:{imgAltText:{},imgSrc:{}},setup(e){return(t,n)=>(r.openBlock(),r.createElementBlock("img",{class:"pdap-tile-icon",alt:t.imgAltText,src:t.imgSrc},null,8,Fi))}});var je=(e=>(e.PRESS="press",e.HOVER="hover",e))(je||{});const fa={beforeMount(e,t){const n=e;n.clickOutsideEvent=function(o){e===o.target||n.contains(o.target)||t.value(o)},document.addEventListener("click",n.clickOutsideEvent),document.addEventListener("keyup",n.clickOutsideEvent)},unmounted(e){e.clickOutsideEvent&&(document.removeEventListener("click",e.clickOutsideEvent),document.removeEventListener("keyup",e.clickOutsideEvent))}},Qi=["onKeydown"],Wi=["id","aria-hidden"],Gi={name:"PdapButton"},Hi=r.defineComponent({...Gi,props:{defaultOpen:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},dropdownId:{},triggerOn:{default:je.PRESS}},emits:["update:open","press"],setup(e,{emit:t}){const n=e,a=t,o=r.ref(null),s=r.ref(null),i=r.ref(n.defaultOpen),l=r.computed(()=>n.triggerOn===je.HOVER);function u(f){a("press",f),n.triggerOn===je.PRESS&&c()}const c=()=>{n.disabled||(i.value=!i.value,a("update:open",i.value))};function d(){i.value=!0,a("update:open",!0)}function g(){i.value=!1,a("update:open",!1)}function L(){var m,y;if(!o.value)return;o.value.style.display="flex",o.value.style.setProperty("max-height","max-content");const f=o.value.scrollHeight;o.value.style.display="none",o.value.style.removeProperty("max-height");const p=document==null?void 0:document.querySelector(":root"),h=(m=p==null?void 0:p.style)==null?void 0:m.getPropertyValue("--dropdown-content-max-height");Number((y=h==null?void 0:h.match(/\d+/))==null?void 0:y.join(""))>=f||o.value&&p&&p.style.setProperty("--dropdown-content-max-height",`${f+16}px`)}const M={mouseenter:l.value?d:void 0,focus:l.value?d:void 0,focusin:l.value?d:void 0,focusout:l.value?g:void 0,mouseleave:l.value?g:void 0,blur:l.value?g:void 0};return r.onMounted(()=>{L()}),(f,p)=>r.withDirectives((r.openBlock(),r.createElementBlock("div",r.mergeProps({ref_key:"dropdownRef",ref:s,class:"pdap-dropdown",role:"presentation",onKeydown:r.withKeys(g,["escape"])},r.toHandlers(M,!0)),[r.createVNode(r.unref(ht),{"aria-controls":f.dropdownId,"aria-expanded":i.value,disabled:f.disabled,"aria-haspopup":"true",intent:"tertiary",class:r.normalizeClass({"pdap-dropdown-trigger":!0,"pointer-events-none":f.disabled,"cursor-not-allowed":f.disabled}),"data-test":"dropdown-trigger",onClick:r.withModifiers(u,["prevent","stop"]),onKeydown:r.withKeys(r.withModifiers(u,["prevent","stop"]),["enter","space"])},{default:r.withCtx(()=>[r.renderSlot(f.$slots,"trigger")]),_:3},8,["aria-controls","aria-expanded","disabled","class","onClick","onKeydown"]),r.createVNode(r.Transition,{name:"dropdown",appear:""},{default:r.withCtx(()=>[r.withDirectives(r.createElementVNode("div",{id:f.dropdownId,ref_key:"contentRef",ref:o,"aria-hidden":!i.value,class:"pdap-dropdown-content","data-test":"dropdown-content",role:"menu"},[r.renderSlot(f.$slots,"content")],8,Wi),[[r.vShow,i.value]])]),_:3})],16,Qi)),[[r.unref(fa),g]])}});function Xi(e){const t=[];for(const n of e.matched){const{name:a,path:o,meta:s}=n,i=s.breadcrumbText??a;i&&t.push({text:i,path:o,active:!1})}return t.length>0&&(t[t.length-1].active=!0),t}const Zi={"aria-label":"Breadcrumb"},Ji={key:1},Ki={name:"PdapBreadcrumbs"},qi=r.defineComponent({...Ki,setup(e){const t=ce.useRoute(),n=r.computed(()=>Xi(t));return(a,o)=>{const s=r.resolveComponent("router-link");return r.openBlock(),r.createElementBlock("nav",Zi,[r.createVNode(r.TransitionGroup,{class:"pdap-breadcrumbs",tag:"ul"},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.value,i=>(r.openBlock(),r.createElementBlock("li",{key:i.text,class:r.normalizeClass({"is-active":i.active})},[i.active?(r.openBlock(),r.createElementBlock("span",Ji,r.toDisplayString(i.text),1)):(r.openBlock(),r.createBlock(s,{key:0,to:i.path},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(i.text),1)]),_:2},1032,["to"]))],2))),128))]),_:1})])}}});const el=kt(qi,[["__scopeId","data-v-e8d76c0f"]]),tl={key:0,class:"pdap-spinner"},nl=["width","height"],al=["stroke","fill"],rl=["stroke","fill"],ol={key:0,"aria-live":"polite"};/**
3
558
  * # `Spinner`
4
559
  * Loading spinner component
5
560
  *
6
561
  * @preserve
7
- */const Ma={name:"PdapSpinner"},ga=e.defineComponent({...Ma,props:{color:{default:"currentColor"},size:{default:24},text:{default:""},show:{type:Boolean,default:!1}},setup(t){return(r,a)=>(e.openBlock(),e.createBlock(e.Transition,{appear:""},{default:e.withCtx(()=>[r.show?(e.openBlock(),e.createElementBlock("div",la,[(e.openBlock(),e.createElementBlock("svg",{"aria-label":"loading",width:r.size,height:r.size,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z",opacity:".25",stroke:r.color,fill:r.color},null,8,da),e.createElementVNode("path",{d:"M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z",class:"pdap-spinner-innards",stroke:r.color,fill:r.color},null,8,La)],8,ca)),(e.openBlock(),e.createBlock(e.Transition,{key:r.text,appear:"",mode:"out-in"},{default:e.withCtx(()=>[r.text&&r.show?(e.openBlock(),e.createElementBlock("p",pa,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)]),_:1}))])):e.createCommentVNode("",!0)]),_:1}))}});const ma=ee(ga,[["__scopeId","data-v-16618cf4"]]);const fa={content:["./src/**/*.vue","./src/**/*.css"],theme:{extend:{colors:{brand:{gold:{DEFAULT:"rgba(var(--color-brand-gold-600) / <alpha-value>)",50:"rgba(var(--color-brand-gold-50) / <alpha-value>)",100:"rgba(var(--color-brand-gold-100) / <alpha-value>)",200:"rgba(var(--color-brand-gold-200) / <alpha-value>)",300:"rgba(var(--color-brand-gold-300) / <alpha-value>)",400:"rgba(var(--color-brand-gold-400) / <alpha-value>)",500:"rgba(var(--color-brand-gold-500) / <alpha-value>)",600:"rgba(var(--color-brand-gold-600) / <alpha-value>)",700:"rgba(var(--color-brand-gold-700) / <alpha-value>)",800:"rgba(var(--color-brand-gold-800) / <alpha-value>)",900:"rgba(var(--color-brand-gold-900) / <alpha-value>)",950:"rgba(var(--color-brand-gold-950) / <alpha-value>)"},wine:{DEFAULT:"rgba(var(--color-brand-wine-500) / <alpha-value>)",50:"rgba(var(--color-brand-wine-50) / <alpha-value>)",100:"rgba(var(--color-brand-wine-100) / <alpha-value>)",200:"rgba(var(--color-brand-wine-200) / <alpha-value>)",300:"rgba(var(--color-brand-wine-300) / <alpha-value>)",400:"rgba(var(--color-brand-wine-400) / <alpha-value>)",500:"rgba(var(--color-brand-wine-500) / <alpha-value>)",600:"rgba(var(--color-brand-wine-600) / <alpha-value>)",700:"rgba(var(--color-brand-wine-700) / <alpha-value>)",800:"rgba(var(--color-brand-wine-800) / <alpha-value>)",900:"rgba(var(--color-brand-wine-900) / <alpha-value>)",950:"rgba(var(--color-brand-wine-950) / <alpha-value>)"}},neutral:{50:"rgba(var(--color-neutral-50)/<alpha-value>)",100:"rgba(var(--color-neutral-100)/<alpha-value>)",200:"rgba(var(--color-neutral-200)/<alpha-value>)",300:"rgba(var(--color-neutral-300)/<alpha-value>)",400:"rgba(var(--color-neutral-400)/<alpha-value>)",500:"rgba(var(--color-neutral-500)/<alpha-value>)",600:"rgba(var(--color-neutral-600)/<alpha-value>)",700:"rgba(var(--color-neutral-700)/<alpha-value>)",800:"rgba(var(--color-neutral-800)/<alpha-value>)",900:"rgba(var(--color-neutral-900)/<alpha-value>)",950:"rgba(var(--color-neutral-950)/<alpha-value>)"},goldneutral:{50:"rgba(var(--color-gold-neutral-50)/<alpha-value>)",100:"rgba(var(--color-gold-neutral-100)/<alpha-value>)",200:"rgba(var(--color-gold-neutral-200)/<alpha-value>)",300:"rgba(var(--color-gold-neutral-300)/<alpha-value>)",400:"rgba(var(--color-gold-neutral-400)/<alpha-value>)",500:"rgba(var(--color-gold-neutral-500)/<alpha-value>)",600:"rgba(var(--color-gold-neutral-600)/<alpha-value>)",700:"rgba(var(--color-gold-neutral-700)/<alpha-value>)",800:"rgba(var(--color-gold-neutral-800)/<alpha-value>)",900:"rgba(var(--color-gold-neutral-900)/<alpha-value>)",950:"rgba(var(--color-gold-neutral-950)/<alpha-value>)"},wineneutral:{50:"rgba(var(--color-wine-neutral-50)/<alpha-value>)",100:"rgba(var(--color-wine-neutral-100)/<alpha-value>)",200:"rgba(var(--color-wine-neutral-200)/<alpha-value>)",300:"rgba(var(--color-wine-neutral-300)/<alpha-value>)",400:"rgba(var(--color-wine-neutral-400)/<alpha-value>)",500:"rgba(var(--color-wine-neutral-500)/<alpha-value>)",600:"rgba(var(--color-wine-neutral-600)/<alpha-value>)",700:"rgba(var(--color-wine-neutral-700)/<alpha-value>)",800:"rgba(var(--color-wine-neutral-800)/<alpha-value>)",900:"rgba(var(--color-wine-neutral-900)/<alpha-value>)",950:"rgba(var(--color-wine-neutral-950)/<alpha-value>)"},blue:{light:"rgba(var(--color-blue-light)/<alpha-value>)",medium:"rgba(var(--color-blue-medium)/<alpha-value>)"}},brightness:{85:".85"},maxWidth:{"4xl":"59rem"},screens:{xs:"500px"}},fontFamily:{sans:['"Public Sans"','"Libre Franklin"',"ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto","Oxygen","Ubuntu","Cantarell",'"Fira Sans"','"Droid Sans"','"Helvetica Neue"',"sans-serif"],serif:["ui-serif","Georgia"],mono:['"Source Code Pro"',"monospace","ui-monospace","SFMono-Regular"]},fontSize:{xs:"0.75rem",sm:"0.875rem",med:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.75rem","4xl":"2rem","5xl":"2.625rem","6xl":"3rem"}}},ya={extends:["stylelint-config-standard","@ronilaukkarinen/stylelint-a11y/recommended"],rules:{"at-rule-no-unknown":[!0,{ignoreAtRules:["tailwind","apply","variants","responsive","screen"]}],"comment-empty-line-before":null,"declaration-block-trailing-semicolon":null,"no-descending-specificity":null,"a11y/no-text-align-justify":!0,"a11y/font-size-is-readable":!0,"a11y/media-prefers-color-scheme":!0,"a11y/line-height-is-vertical-rhythmed":!0,"a11y/no-display-none":!0,"a11y/no-obsolete-element":!0},overrides:[{files:["**/*.vue"],extends:["stylelint-config-standard-vue"]}]};exports.Breadcrumbs=ia;exports.Button=H;exports.Dropdown=ra;exports.ErrorBoundary=Ae;exports.Footer=Ke;exports.Form=ve;exports.Header=Qr;exports.Input=we;exports.Nav=Ne;exports.PdapDropdownTriggerType=k;exports.PdapInputTypes=N;exports.QuickSearchForm=Hr;exports.Spinner=ma;exports.TileIcon=Kr;exports.stylelintConfig=ya;exports.tailwindConfig=fa;exports.vOnClickOutside=$e;
562
+ */const sl={name:"PdapSpinner"},il=r.defineComponent({...sl,props:{color:{default:"currentColor"},size:{default:24},text:{default:""},show:{type:Boolean,default:!1}},setup(e){return(t,n)=>(r.openBlock(),r.createBlock(r.Transition,{appear:""},{default:r.withCtx(()=>[t.show?(r.openBlock(),r.createElementBlock("div",tl,[(r.openBlock(),r.createElementBlock("svg",{"aria-label":"loading",width:t.size,height:t.size,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[r.createElementVNode("path",{d:"M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z",opacity:".25",stroke:t.color,fill:t.color},null,8,al),r.createElementVNode("path",{d:"M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z",class:"pdap-spinner-innards",stroke:t.color,fill:t.color},null,8,rl)],8,nl)),(r.openBlock(),r.createBlock(r.Transition,{key:t.text,appear:"",mode:"out-in"},{default:r.withCtx(()=>[t.text&&t.show?(r.openBlock(),r.createElementBlock("p",ol,r.toDisplayString(t.text),1)):r.createCommentVNode("",!0)]),_:1}))])):r.createCommentVNode("",!0)]),_:1}))}});const ll=kt(il,[["__scopeId","data-v-16618cf4"]]);const cl={content:["./src/**/*.vue","./src/**/*.css"],theme:{extend:{colors:{brand:{gold:{DEFAULT:"rgba(var(--color-brand-gold-600) / <alpha-value>)",50:"rgba(var(--color-brand-gold-50) / <alpha-value>)",100:"rgba(var(--color-brand-gold-100) / <alpha-value>)",200:"rgba(var(--color-brand-gold-200) / <alpha-value>)",300:"rgba(var(--color-brand-gold-300) / <alpha-value>)",400:"rgba(var(--color-brand-gold-400) / <alpha-value>)",500:"rgba(var(--color-brand-gold-500) / <alpha-value>)",600:"rgba(var(--color-brand-gold-600) / <alpha-value>)",700:"rgba(var(--color-brand-gold-700) / <alpha-value>)",800:"rgba(var(--color-brand-gold-800) / <alpha-value>)",900:"rgba(var(--color-brand-gold-900) / <alpha-value>)",950:"rgba(var(--color-brand-gold-950) / <alpha-value>)"},wine:{DEFAULT:"rgba(var(--color-brand-wine-500) / <alpha-value>)",50:"rgba(var(--color-brand-wine-50) / <alpha-value>)",100:"rgba(var(--color-brand-wine-100) / <alpha-value>)",200:"rgba(var(--color-brand-wine-200) / <alpha-value>)",300:"rgba(var(--color-brand-wine-300) / <alpha-value>)",400:"rgba(var(--color-brand-wine-400) / <alpha-value>)",500:"rgba(var(--color-brand-wine-500) / <alpha-value>)",600:"rgba(var(--color-brand-wine-600) / <alpha-value>)",700:"rgba(var(--color-brand-wine-700) / <alpha-value>)",800:"rgba(var(--color-brand-wine-800) / <alpha-value>)",900:"rgba(var(--color-brand-wine-900) / <alpha-value>)",950:"rgba(var(--color-brand-wine-950) / <alpha-value>)"}},neutral:{50:"rgba(var(--color-neutral-50)/<alpha-value>)",100:"rgba(var(--color-neutral-100)/<alpha-value>)",200:"rgba(var(--color-neutral-200)/<alpha-value>)",300:"rgba(var(--color-neutral-300)/<alpha-value>)",400:"rgba(var(--color-neutral-400)/<alpha-value>)",500:"rgba(var(--color-neutral-500)/<alpha-value>)",600:"rgba(var(--color-neutral-600)/<alpha-value>)",700:"rgba(var(--color-neutral-700)/<alpha-value>)",800:"rgba(var(--color-neutral-800)/<alpha-value>)",900:"rgba(var(--color-neutral-900)/<alpha-value>)",950:"rgba(var(--color-neutral-950)/<alpha-value>)"},goldneutral:{50:"rgba(var(--color-gold-neutral-50)/<alpha-value>)",100:"rgba(var(--color-gold-neutral-100)/<alpha-value>)",200:"rgba(var(--color-gold-neutral-200)/<alpha-value>)",300:"rgba(var(--color-gold-neutral-300)/<alpha-value>)",400:"rgba(var(--color-gold-neutral-400)/<alpha-value>)",500:"rgba(var(--color-gold-neutral-500)/<alpha-value>)",600:"rgba(var(--color-gold-neutral-600)/<alpha-value>)",700:"rgba(var(--color-gold-neutral-700)/<alpha-value>)",800:"rgba(var(--color-gold-neutral-800)/<alpha-value>)",900:"rgba(var(--color-gold-neutral-900)/<alpha-value>)",950:"rgba(var(--color-gold-neutral-950)/<alpha-value>)"},wineneutral:{50:"rgba(var(--color-wine-neutral-50)/<alpha-value>)",100:"rgba(var(--color-wine-neutral-100)/<alpha-value>)",200:"rgba(var(--color-wine-neutral-200)/<alpha-value>)",300:"rgba(var(--color-wine-neutral-300)/<alpha-value>)",400:"rgba(var(--color-wine-neutral-400)/<alpha-value>)",500:"rgba(var(--color-wine-neutral-500)/<alpha-value>)",600:"rgba(var(--color-wine-neutral-600)/<alpha-value>)",700:"rgba(var(--color-wine-neutral-700)/<alpha-value>)",800:"rgba(var(--color-wine-neutral-800)/<alpha-value>)",900:"rgba(var(--color-wine-neutral-900)/<alpha-value>)",950:"rgba(var(--color-wine-neutral-950)/<alpha-value>)"},blue:{light:"rgba(var(--color-blue-light)/<alpha-value>)",medium:"rgba(var(--color-blue-medium)/<alpha-value>)"}},brightness:{85:".85"},maxWidth:{"4xl":"59rem"},screens:{xs:"500px"}},fontFamily:{sans:['"Public Sans"','"Libre Franklin"',"ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto","Oxygen","Ubuntu","Cantarell",'"Fira Sans"','"Droid Sans"','"Helvetica Neue"',"sans-serif"],serif:["ui-serif","Georgia"],mono:['"Source Code Pro"',"monospace","ui-monospace","SFMono-Regular"]},fontSize:{xs:"0.75rem",sm:"0.875rem",med:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.75rem","4xl":"2rem","5xl":"2.625rem","6xl":"3rem"}}},ul={extends:["stylelint-config-standard","@ronilaukkarinen/stylelint-a11y/recommended"],rules:{"at-rule-no-unknown":[!0,{ignoreAtRules:["tailwind","apply","variants","responsive","screen"]}],"comment-empty-line-before":null,"declaration-block-trailing-semicolon":null,"no-descending-specificity":null,"a11y/no-text-align-justify":!0,"a11y/font-size-is-readable":!0,"a11y/media-prefers-color-scheme":!0,"a11y/line-height-is-vertical-rhythmed":!0,"a11y/no-display-none":!0,"a11y/no-obsolete-element":!0},overrides:[{files:["**/*.vue"],extends:["stylelint-config-standard-vue"]}]};exports.Breadcrumbs=el;exports.Button=ht;exports.Dropdown=Hi;exports.ErrorBoundary=xa;exports.Footer=Ra;exports.Form=ca;exports.Header=$i;exports.Input=sa;exports.Nav=ua;exports.PdapDropdownTriggerType=je;exports.PdapInputTypes=z;exports.QuickSearchForm=Yi;exports.RecordTypeIcon=oa;exports.Spinner=ll;exports.TileIcon=Ui;exports.stylelintConfig=ul;exports.tailwindConfig=cl;exports.vOnClickOutside=fa;