pdap-design-system 3.1.0-beta.15 → 3.1.0-beta.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ import { PdapButtonProps } from './types';
8
8
  * @prop {boolean} isLoading loading state of button
9
9
  *
10
10
  */
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapButtonProps>, {
11
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapButtonProps>, {
12
12
  intent: string;
13
13
  isLoading: boolean;
14
14
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapButtonProps>, {
@@ -17,10 +17,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
17
17
  }>>>, {
18
18
  intent: "primary" | "secondary" | "tertiary";
19
19
  isLoading: boolean;
20
- }, {}>, {
21
- default?(_: {}): any;
22
- loading?(_: {}): any;
23
- }>;
20
+ }, {}>;
24
21
  export default _default;
25
22
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
23
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -39,8 +36,3 @@ type __VLS_WithDefaults<P, D> = {
39
36
  type __VLS_Prettify<T> = {
40
37
  [K in keyof T]: T[K];
41
38
  } & {};
42
- type __VLS_WithTemplateSlots<T, S> = T & {
43
- new (): {
44
- $slots: S;
45
- };
46
- };
package/dist/index.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Loading spinner component
4
4
  *
5
5
  * @preserve
6
- */const $a={name:"PdapSpinner"},Ta=n.defineComponent({...$a,props:{color:{default:"currentColor"},size:{default:24},text:{default:""},show:{type:Boolean,default:!1}},setup(e){return(t,a)=>(n.openBlock(),n.createBlock(n.Transition,{appear:""},{default:n.withCtx(()=>[t.show?(n.openBlock(),n.createElementBlock("div",xa,[(n.openBlock(),n.createElementBlock("svg",{"aria-label":"loading",width:t.size,height:t.size,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[n.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,Ea),n.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,Sa)],8,Ca)),(n.openBlock(),n.createBlock(n.Transition,{key:t.text,appear:"",mode:"out-in"},{default:n.withCtx(()=>[t.text&&t.show?(n.openBlock(),n.createElementBlock("p",ka,n.toDisplayString(t.text),1)):n.createCommentVNode("",!0)]),_:1}))])):n.createCommentVNode("",!0)]),_:1}))}});const Ie=(e,t)=>{const a=e.__vccOpts||e;for(const[r,o]of t)a[r]=o;return a},xn=Ie(Ta,[["__scopeId","data-v-16618cf4"]]),Da={name:"PdapButton"},Ia=n.defineComponent({...Da,props:{intent:{default:"primary"},isLoading:{type:Boolean,default:!1}},setup(e){const t=e,a=n.reactive({"pdap-button":!0,[`pdap-button-${t.intent}`]:!!t.intent,"pdap-button-loading":t.isLoading});return(r,o)=>(n.openBlock(),n.createElementBlock("button",{class:n.normalizeClass(a)},[n.createVNode(n.TransitionGroup,{mode:"out-in"},{default:n.withCtx(()=>[r.isLoading?n.createCommentVNode("",!0):n.renderSlot(r.$slots,"default",{key:0},void 0,!0),r.isLoading&&r.$slots.loading?n.renderSlot(r.$slots,"loading",{key:1},void 0,!0):n.createCommentVNode("",!0),r.isLoading&&!r.$slots.loading?(n.openBlock(),n.createBlock(n.unref(xn),{key:2,show:r.isLoading},null,8,["show"])):n.createCommentVNode("",!0)]),_:3})],2))}});const Mt=Ie(Ia,[["__scopeId","data-v-2854faac"]]),_a=n.createElementVNode("h1",null,"Oops, something went wrong!",-1),Oa=n.createElementVNode("p",{class:"max-w-full","data-test":"error-boundary-message"},[n.createTextVNode(" If you keep seeing this message, please email "),n.createElementVNode("a",{href:"mailto:contact@pdap.io"},"contact@pdap.io"),n.createTextVNode(" for assistance. ")],-1),Aa={name:"ErrorBoundary"},za=n.defineComponent({...Aa,props:{component:{default:"div"},onError:{type:Function,default:void 0},params:{default:void 0}},emits:["onError"],setup(e,{emit:t}){const a=e,r=t,o=n.ref(),s=n.ref("");function i(l,u,c){var f;o.value=l,s.value=c,(f=a.onError)==null||f.call(a,l,u,c),r("onError",{error:l,vm:u,info:c})}return n.onErrorCaptured((l,u,c)=>{i(l,u,c)}),(l,u)=>o.value?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(l.component),{key:1,class:"pdap-flex-container-center h-[full]","v-bind":l.params},{default:n.withCtx(()=>[_a,Oa]),_:1},8,["v-bind"])):n.renderSlot(l.$slots,"default",{key:0})}}),Pa="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMTMuOCA4Ni4xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMTMuOCA4Ni4xOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0wLDgwLjlMMjEuNSwyLjZoNS4xTDUuMSw4MC45SDB6Ii8+Cjxwb2x5Z29uIHBvaW50cz0iNzguOCwyMC40IDYxLjgsMjAuNCA3NSw3LjIgNzEuMSwzLjIgNTguNCwxNS44IDU4LjQsMCA1Mi44LDAgNTIuOCwxNS44IDQwLjIsMy4yIDM2LjIsNy4yIDQ5LjUsMjAuNCAzMi41LDIwLjQgCgkzMi41LDI2IDQ4LjMsMjYgMzYuMiwzOCA0MC4yLDQyIDUyLjgsMjkuMyA1Mi44LDQ2LjMgNTguNCw0Ni4zIDU4LjQsMjkuMyA3MS4xLDQyIDc1LDM4IDYzLDI2IDc4LjgsMjYgIi8+CjxwYXRoIGQ9Ik00Mi4xLDcxLjFoLTIuNnY5LjFoLTVWNTcuM2g3LjZjNS4xLDAsOC40LDIuNCw4LjQsNi43UzQ3LjMsNzEuMSw0Mi4xLDcxLjF6IE00Mi4xLDYxLjVoLTIuNnY1LjNoMi42CgljMi4zLDAsMy4zLTAuOSwzLjMtMi43UzQ0LjMsNjEuNSw0Mi4xLDYxLjV6Ii8+CjxwYXRoIGQ9Ik02MC41LDgwLjFoLTYuOVY1Ny4zaDYuOWM2LjUsMCwxMS45LDQsMTEuOSwxMS40QzcyLjQsNzYuMiw2Ni42LDgwLjEsNjAuNSw4MC4xeiBNNjAuNSw2MS41aC0xLjl2MTQuNGgxLjkKCWM0LjMsMCw2LjctMy40LDYuNy03LjJTNjQuNSw2MS41LDYwLjUsNjEuNXoiLz4KPHBhdGggZD0iTTg4LjcsODAuMUw4Nyw3NC40aC03bC0xLjgsNS44aC01LjNsOC4yLTIyLjloNC44bDguMywyMi45aC01LjVWODAuMXogTTg0LDY0LjZjLTAuMi0wLjctMC41LTEuNi0wLjUtMS44CgljMCwwLjEtMC4yLDEtMC41LDEuOGwtMS43LDUuNmg0LjRMODQsNjQuNnoiLz4KPHBhdGggZD0iTTEwNC43LDcxLjFoLTIuNnY5LjFoLTVWNTcuM2g3LjZjNS4xLDAsOC40LDIuNCw4LjQsNi43UzEwOS44LDcxLjEsMTA0LjcsNzEuMXogTTEwNC43LDYxLjVoLTIuNnY1LjNoMi42CgljMi4zLDAsMy4zLTAuOSwzLjMtMi43UzEwNi45LDYxLjUsMTA0LjcsNjEuNXoiLz4KPC9zdmc+Cg==",Ba={class:"pdap-footer"},Ra={class:"pdap-flex-container-center"},Va={class:"pdap-footer-social-links"},Ya=["href"],Fa={class:"pdap-footer-copyright"},Ua=n.createElementVNode("br",null,null,-1),Qa=n.createElementVNode("p",{class:"pdap-footer-copyright"},[n.createTextVNode(" PDAP is a non-profit. EIN: 85-4207132. "),n.createElementVNode("a",{href:"https://docs.pdap.io/meta/policy/pdap-privacy-policy",alt:"Privacy Policy",target:"_blank"},[n.createElementVNode("br"),n.createTextVNode(" Privacy Policy "),n.createElementVNode("i",{class:"fa fa-external-link"})]),n.createElementVNode("br"),n.createElementVNode("a",{href:"mailto:contact@pdap.io"},"contact@pdap.io")],-1),Wa={class:"pdap-footer-widget-links"},Ga=n.createElementVNode("a",{href:"https://www.guidestar.org/profile/85-4207132",target:"_blank"},[n.createElementVNode("img",{alt:"platinum transparency",src:"https://widgets.guidestar.org/gximage2?o=9973356&l=v4"})],-1),Ha=["href"],Xa=["src"],Za=["src"],Ka={name:"PdapFooter"},Ja=n.defineComponent({...Ka,props:{logoImageSrc:{default:Pa},logoImageAnchorPath:{default:"/"}},setup(e){const t=e,a=n.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"}]),r=t.logoImageAnchorPath.startsWith("/");return(o,s)=>{const i=n.resolveComponent("router-link");return n.openBlock(),n.createElementBlock("footer",Ba,[n.createElementVNode("div",Ra,[n.createElementVNode("ul",Va,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(a),l=>(n.openBlock(),n.createElementBlock("li",{key:l.text,class:"pdap-footer-link-container"},[l.href?(n.openBlock(),n.createElementBlock("a",{key:0,class:"pdap-footer-social-link",href:l.href,target:"_blank",referrerpolicy:"no-referrer"},n.toDisplayString(l.text),9,Ya)):n.createCommentVNode("",!0),l.path?(n.openBlock(),n.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:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(l.text),1)]),_:2},1032,["to"])):n.createCommentVNode("",!0)]))),128))]),n.createElementVNode("p",Fa,[n.createTextVNode(" © "+n.toDisplayString(new Date().getFullYear())+" Police Data Accessibility Project",1),Ua]),Qa,n.createElementVNode("div",Wa,[Ga,n.unref(r)?(n.openBlock(),n.createBlock(i,{key:1,to:o.logoImageAnchorPath,class:"pdap-footer-logo"},{default:n.withCtx(()=>[n.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Za)]),_:1},8,["to"])):(n.openBlock(),n.createElementBlock("a",{key:0,href:o.logoImageAnchorPath,class:"pdap-footer-logo"},[n.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Xa)],8,Ha))])])])}}});function Bt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),a.push.apply(a,r)}return a}function K(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?Bt(Object(a),!0).forEach(function(r){qa(e,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Bt(Object(a)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))})}return e}function qa(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Rt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((a,r)=>(t.includes(r)||(a[r]=n.unref(e[r])),a),{})}function Re(e){return typeof e=="function"}function er(e){return n.isReactive(e)||n.isReadonly(e)}function Cn(e,t,a){let r=e;const o=t.split(".");for(let s=0;s<o.length;s++){if(!r[o[s]])return a;r=r[o[s]]}return r}function Ke(e,t,a){return n.computed(()=>e.some(r=>Cn(t,r,{[a]:!1})[a]))}function Vt(e,t,a){return n.computed(()=>e.reduce((r,o)=>{const s=Cn(t,o,{[a]:!1})[a]||[];return r.concat(s)},[]))}function En(e,t,a,r){return e.call(r,n.unref(t),n.unref(a),r)}function Sn(e){return e.$valid!==void 0?!e.$valid:!e}function tr(e,t,a,r,o,s,i){let{$lazy:l,$rewardEarly:u}=o,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],f=arguments.length>8?arguments[8]:void 0,m=arguments.length>9?arguments[9]:void 0,g=arguments.length>10?arguments[10]:void 0;const v=n.ref(!!r.value),d=n.ref(0);a.value=!1;const h=n.watch([t,r].concat(c,g),()=>{if(l&&!r.value||u&&!m.value&&!a.value)return;let y;try{y=En(e,t,f,i)}catch(p){y=Promise.reject(p)}d.value++,a.value=!!d.value,v.value=!1,Promise.resolve(y).then(p=>{d.value--,a.value=!!d.value,s.value=p,v.value=Sn(p)}).catch(p=>{d.value--,a.value=!!d.value,s.value=p,v.value=!0})},{immediate:!0,deep:typeof t=="object"});return{$invalid:v,$unwatch:h}}function nr(e,t,a,r,o,s,i,l){let{$lazy:u,$rewardEarly:c}=r;const f=()=>({}),m=n.computed(()=>{if(u&&!a.value||c&&!l.value)return!1;let g=!0;try{const v=En(e,t,i,s);o.value=v,g=Sn(v)}catch(v){o.value=v}return g});return{$unwatch:f,$invalid:m}}function ar(e,t,a,r,o,s,i,l,u,c,f){const m=n.ref(!1),g=e.$params||{},v=n.ref(null);let d,h;e.$async?{$invalid:d,$unwatch:h}=tr(e.$validator,t,m,a,r,v,o,e.$watchTargets,u,c,f):{$invalid:d,$unwatch:h}=nr(e.$validator,t,a,r,v,o,u,c);const y=e.$message;return{$message:Re(y)?n.computed(()=>y(Rt({$pending:m,$invalid:d,$params:Rt(g),$model:t,$response:v,$validator:s,$propertyPath:l,$property:i}))):y||"",$params:g,$pending:m,$invalid:d,$response:v,$unwatch:h}}function rr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=n.unref(e),a=Object.keys(t),r={},o={},s={};let i=null;return a.forEach(l=>{const u=t[l];switch(!0){case Re(u.$validator):r[l]=u;break;case Re(u):r[l]={$validator:u};break;case l==="$validationGroups":i=u;break;case l.startsWith("$"):s[l]=u;break;default:o[l]=u}}),{rules:r,nestedValidators:o,config:s,validationGroups:i}}const or="__root";function sr(e,t,a,r,o,s,i,l,u){const c=Object.keys(e),f=r.get(o,e),m=n.ref(!1),g=n.ref(!1),v=n.ref(0);if(f){if(!f.$partial)return f;f.$unwatch(),m.value=f.$dirty.value}const d={$dirty:m,$path:o,$touch:()=>{m.value||(m.value=!0)},$reset:()=>{m.value&&(m.value=!1)},$commit:()=>{}};return c.length?(c.forEach(h=>{d[h]=ar(e[h],t,d.$dirty,s,i,h,a,o,u,g,v)}),d.$externalResults=n.computed(()=>l.value?[].concat(l.value).map((h,y)=>({$propertyPath:o,$property:a,$validator:"$externalResults",$uid:`${o}-externalResult-${y}`,$message:h,$params:{},$response:null,$pending:!1})):[]),d.$invalid=n.computed(()=>{const h=c.some(y=>n.unref(d[y].$invalid));return g.value=h,!!d.$externalResults.value.length||h}),d.$pending=n.computed(()=>c.some(h=>n.unref(d[h].$pending))),d.$error=n.computed(()=>d.$dirty.value?d.$pending.value||d.$invalid.value:!1),d.$silentErrors=n.computed(()=>c.filter(h=>n.unref(d[h].$invalid)).map(h=>{const y=d[h];return n.reactive({$propertyPath:o,$property:a,$validator:h,$uid:`${o}-${h}`,$message:y.$message,$params:y.$params,$response:y.$response,$pending:y.$pending})}).concat(d.$externalResults.value)),d.$errors=n.computed(()=>d.$dirty.value?d.$silentErrors.value:[]),d.$unwatch=()=>c.forEach(h=>{d[h].$unwatch()}),d.$commit=()=>{g.value=!0,v.value=Date.now()},r.set(o,e,d),d):(f&&r.set(o,e,d),d)}function ir(e,t,a,r,o,s,i){const l=Object.keys(e);return l.length?l.reduce((u,c)=>(u[c]=at({validations:e[c],state:t,key:c,parentKey:a,resultsCache:r,globalConfig:o,instance:s,externalResults:i}),u),{}):{}}function lr(e,t,a){const r=n.computed(()=>[t,a].filter(d=>d).reduce((d,h)=>d.concat(Object.values(n.unref(h))),[])),o=n.computed({get(){return e.$dirty.value||(r.value.length?r.value.every(d=>d.$dirty):!1)},set(d){e.$dirty.value=d}}),s=n.computed(()=>{const d=n.unref(e.$silentErrors)||[],h=r.value.filter(y=>(n.unref(y).$silentErrors||[]).length).reduce((y,p)=>y.concat(...p.$silentErrors),[]);return d.concat(h)}),i=n.computed(()=>{const d=n.unref(e.$errors)||[],h=r.value.filter(y=>(n.unref(y).$errors||[]).length).reduce((y,p)=>y.concat(...p.$errors),[]);return d.concat(h)}),l=n.computed(()=>r.value.some(d=>d.$invalid)||n.unref(e.$invalid)||!1),u=n.computed(()=>r.value.some(d=>n.unref(d.$pending))||n.unref(e.$pending)||!1),c=n.computed(()=>r.value.some(d=>d.$dirty)||r.value.some(d=>d.$anyDirty)||o.value),f=n.computed(()=>o.value?u.value||l.value:!1),m=()=>{e.$touch(),r.value.forEach(d=>{d.$touch()})},g=()=>{e.$commit(),r.value.forEach(d=>{d.$commit()})},v=()=>{e.$reset(),r.value.forEach(d=>{d.$reset()})};return r.value.length&&r.value.every(d=>d.$dirty)&&m(),{$dirty:o,$errors:i,$invalid:l,$anyDirty:c,$error:f,$pending:u,$touch:m,$reset:v,$silentErrors:s,$commit:g}}function at(e){let{validations:t,state:a,key:r,parentKey:o,childResults:s,resultsCache:i,globalConfig:l={},instance:u,externalResults:c}=e;const f=o?`${o}.${r}`:r,{rules:m,nestedValidators:g,config:v,validationGroups:d}=rr(t),h=K(K({},l),v),y=r?n.computed(()=>{const S=n.unref(a);return S?n.unref(S[r]):void 0}):a,p=K({},n.unref(c)||{}),L=n.computed(()=>{const S=n.unref(c);return r?S?n.unref(S[r]):void 0:S}),w=sr(m,y,r,i,f,h,u,L,a),j=ir(g,y,f,i,h,u,L),C={};d&&Object.entries(d).forEach(S=>{let[re,X]=S;C[re]={$invalid:Ke(X,j,"$invalid"),$error:Ke(X,j,"$error"),$pending:Ke(X,j,"$pending"),$errors:Vt(X,j,"$errors"),$silentErrors:Vt(X,j,"$silentErrors")}});const{$dirty:b,$errors:N,$invalid:T,$anyDirty:A,$error:B,$pending:de,$touch:F,$reset:La,$silentErrors:Ma,$commit:Pt}=lr(w,j,s),ba=r?n.computed({get:()=>n.unref(y),set:S=>{b.value=!0;const re=n.unref(a),X=n.unref(c);X&&(X[r]=p[r]),n.isRef(re[r])?re[r].value=S:re[r]=S}}):null;r&&h.$autoDirty&&n.watch(y,()=>{b.value||F();const S=n.unref(c);S&&(S[r]=p[r])},{flush:"sync"});async function wa(){return F(),h.$rewardEarly&&(Pt(),await n.nextTick()),await n.nextTick(),new Promise(S=>{if(!de.value)return S(!T.value);const re=n.watch(de,()=>{S(!T.value),re()})})}function ja(S){return(s.value||{})[S]}function Na(){n.isRef(c)?c.value=p:Object.keys(p).length===0?Object.keys(c).forEach(S=>{delete c[S]}):Object.assign(c,p)}return n.reactive(K(K(K({},w),{},{$model:ba,$dirty:b,$error:B,$errors:N,$invalid:T,$anyDirty:A,$pending:de,$touch:F,$reset:La,$path:f||or,$silentErrors:Ma,$validate:wa,$commit:Pt},s&&{$getResultsForChild:ja,$clearExternalResults:Na,$validationGroups:C}),j))}class cr{constructor(){this.storage=new Map}set(t,a,r){this.storage.set(t,{rules:a,result:r})}checkRulesValidity(t,a,r){const o=Object.keys(r),s=Object.keys(a);return s.length!==o.length||!s.every(l=>o.includes(l))?!1:s.every(l=>a[l].$params?Object.keys(a[l].$params).every(u=>n.unref(r[l].$params[u])===n.unref(a[l].$params[u])):!0)}get(t,a){const r=this.storage.get(t);if(!r)return;const{rules:o,result:s}=r,i=this.checkRulesValidity(t,a,o),l=s.$unwatch?s.$unwatch:()=>({});return i?s:{$dirty:s.$dirty,$partial:!0,$unwatch:l}}}const ze={COLLECT_ALL:!0,COLLECT_NONE:!1},Yt=Symbol("vuelidate#injectChildResults"),Ft=Symbol("vuelidate#removeChildResults");function ur(e){let{$scope:t,instance:a}=e;const r={},o=n.ref([]),s=n.computed(()=>o.value.reduce((f,m)=>(f[m]=n.unref(r[m]),f),{}));function i(f,m){let{$registerAs:g,$scope:v,$stopPropagation:d}=m;d||t===ze.COLLECT_NONE||v===ze.COLLECT_NONE||t!==ze.COLLECT_ALL&&t!==v||(r[g]=f,o.value.push(g))}a.__vuelidateInjectInstances=[].concat(a.__vuelidateInjectInstances||[],i);function l(f){o.value=o.value.filter(m=>m!==f),delete r[f]}a.__vuelidateRemoveInstances=[].concat(a.__vuelidateRemoveInstances||[],l);const u=n.inject(Yt,[]);n.provide(Yt,a.__vuelidateInjectInstances);const c=n.inject(Ft,[]);return n.provide(Ft,a.__vuelidateRemoveInstances),{childResults:s,sendValidationResultsToParent:u,removeValidationResultsFromParent:c}}function kn(e){return new Proxy(e,{get(t,a){return typeof t[a]=="object"?kn(t[a]):n.computed(()=>t[a])}})}let Ut=0;function $n(e,t){var a;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(r=e,e=void 0,t=void 0);let{$registerAs:o,$scope:s=ze.COLLECT_ALL,$stopPropagation:i,$externalResults:l,currentVueInstance:u}=r;const c=u||((a=n.getCurrentInstance())===null||a===void 0?void 0:a.proxy),f=c?c.$options:{};o||(Ut+=1,o=`_vuelidate_${Ut}`);const m=n.ref({}),g=new cr,{childResults:v,sendValidationResultsToParent:d,removeValidationResultsFromParent:h}=c?ur({$scope:s,instance:c}):{childResults:n.ref({})};if(!e&&f.validations){const y=f.validations;t=n.ref({}),n.onBeforeMount(()=>{t.value=c,n.watch(()=>Re(y)?y.call(t.value,new kn(t.value)):y,p=>{m.value=at({validations:p,state:t,childResults:v,resultsCache:g,globalConfig:r,instance:c,externalResults:l||c.vuelidateExternalResults})},{immediate:!0})}),r=f.validationsConfig||r}else{const y=n.isRef(e)||er(e)?e:n.reactive(e||{});n.watch(y,p=>{m.value=at({validations:p,state:t,childResults:v,resultsCache:g,globalConfig:r,instance:c??{},externalResults:l})},{immediate:!0})}return c&&(d.forEach(y=>y(m,{$registerAs:o,$scope:s,$stopPropagation:i})),n.onBeforeUnmount(()=>h.forEach(y=>y(o)))),n.computed(()=>K(K({},n.unref(m.value)),v.value))}var Q=(e=>(e.CHECKBOX="checkbox",e.TEXT="text",e.PASSWORD="password",e))(Q||{});const fr=["id","type","name","placeholder","value"],dr=n.defineComponent({__name:"InputText",props:{type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{}},emits:["input"],setup(e,{emit:t}){const a=t,r=o=>{a("input",o)};return(o,s)=>(n.openBlock(),n.createElementBlock("input",n.mergeProps({id:o.id,type:o.type,name:o.name,placeholder:o.placeholder,value:o.value},o.$attrs,{onInput:r}),null,16,fr))}}),mr=["id","name","checked","value"],pr=n.defineComponent({__name:"InputCheckbox",props:{defaultChecked:{type:Boolean},type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{}},emits:["input"],setup(e,{emit:t}){const a=t,r=o=>{a("input",o)};return(o,s)=>(n.openBlock(),n.createElementBlock("input",n.mergeProps({id:o.id,name:o.name,checked:o.value==="true",value:o.value,class:"pdap-input-checkbox",type:"checkbox"},o.$attrs,{onInput:r}),null,16,mr))}}),Qt=()=>{};let bt={},Tn={},Dn=null,In={mark:Qt,measure:Qt};try{typeof window<"u"&&(bt=window),typeof document<"u"&&(Tn=document),typeof MutationObserver<"u"&&(Dn=MutationObserver),typeof performance<"u"&&(In=performance)}catch{}const{userAgent:Wt=""}=bt.navigator||{},q=bt,x=Tn,Gt=Dn,Ae=In;q.document;const H=!!x.documentElement&&!!x.head&&typeof x.addEventListener=="function"&&typeof x.createElement=="function",_n=~Wt.indexOf("MSIE")||~Wt.indexOf("Trident/");var E="classic",On="duotone",D="sharp",I="sharp-duotone",gr=[E,On,D,I],hr={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}},Ht={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},yr=["kit"],vr=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,Lr=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Mr={"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"}},br={"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"}},wr={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"}},jr={classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]},Nr={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"}},xr={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"}},An={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"}},Cr=["solid","regular","light","thin","duotone","brands"],zn=[1,2,3,4,5,6,7,8,9,10],Er=zn.concat([11,12,13,14,15,16,17,18,19,20]),je={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Sr=[...Object.keys(jr),...Cr,"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",je.GROUP,je.SWAP_OPACITY,je.PRIMARY,je.SECONDARY].concat(zn.map(e=>"".concat(e,"x"))).concat(Er.map(e=>"w-".concat(e))),kr={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},$r={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},Tr={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},Xt={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}};const W="___FONT_AWESOME___",rt=16,Pn="fa",Bn="svg-inline--fa",ce="data-fa-i2svg",ot="data-fa-pseudo-element",Dr="data-fa-pseudo-element-pending",wt="data-prefix",jt="data-icon",Zt="fontawesome-i2svg",Ir="async",_r=["HTML","HEAD","STYLE","SCRIPT"],Rn=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})(),Vn=[E,D,I];function _e(e){return new Proxy(e,{get(t,a){return a in t?t[a]:t[E]}})}const Yn={...An};Yn[E]={...An[E],...Ht.kit,...Ht["kit-duotone"]};const ie=_e(Yn),st={...xr};st[E]={...st[E],...Xt.kit,...Xt["kit-duotone"]};const ke=_e(st),it={...Nr};it[E]={...it[E],...Tr.kit};const le=_e(it),lt={...wr};lt[E]={...lt[E],...$r.kit};const Or=_e(lt),Ar=vr,Fn="fa-layers-text",zr=Lr,Pr={...hr};_e(Pr);const Br=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Je=je,he=new Set;Object.keys(ke[E]).map(he.add.bind(he));Object.keys(ke[D]).map(he.add.bind(he));Object.keys(ke[I]).map(he.add.bind(he));const Rr=[...yr,...Sr],xe=q.FontAwesomeConfig||{};function Vr(e){var t=x.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Yr(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}x&&typeof x.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[a,r]=t;const o=Yr(Vr(a));o!=null&&(xe[r]=o)});const Un={styleDefault:"solid",familyDefault:"classic",cssPrefix:Pn,replacementClass:Bn,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};xe.familyPrefix&&(xe.cssPrefix=xe.familyPrefix);const ye={...Un,...xe};ye.autoReplaceSvg||(ye.observeMutations=!1);const M={};Object.keys(Un).forEach(e=>{Object.defineProperty(M,e,{enumerable:!0,set:function(t){ye[e]=t,Ce.forEach(a=>a(M))},get:function(){return ye[e]}})});Object.defineProperty(M,"familyPrefix",{enumerable:!0,set:function(e){ye.cssPrefix=e,Ce.forEach(t=>t(M))},get:function(){return ye.cssPrefix}});q.FontAwesomeConfig=M;const Ce=[];function Fr(e){return Ce.push(e),()=>{Ce.splice(Ce.indexOf(e),1)}}const Z=rt,R={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Ur(e){if(!e||!H)return;const t=x.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const a=x.head.childNodes;let r=null;for(let o=a.length-1;o>-1;o--){const s=a[o],i=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=s)}return x.head.insertBefore(t,r),e}const Qr="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function $e(){let e=12,t="";for(;e-- >0;)t+=Qr[Math.random()*62|0];return t}function Le(e){const t=[];for(let a=(e||[]).length>>>0;a--;)t[a]=e[a];return t}function Nt(e){return e.classList?Le(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function Qn(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Wr(e){return Object.keys(e||{}).reduce((t,a)=>t+"".concat(a,'="').concat(Qn(e[a]),'" '),"").trim()}function We(e){return Object.keys(e||{}).reduce((t,a)=>t+"".concat(a,": ").concat(e[a].trim(),";"),"")}function xt(e){return e.size!==R.size||e.x!==R.x||e.y!==R.y||e.rotate!==R.rotate||e.flipX||e.flipY}function Gr(e){let{transform:t,containerWidth:a,iconWidth:r}=e;const o={transform:"translate(".concat(a/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(r/2*-1," -256)")};return{outer:o,inner:u,path:c}}function Hr(e){let{transform:t,width:a=rt,height:r=rt,startCentered:o=!1}=e,s="";return o&&_n?s+="translate(".concat(t.x/Z-a/2,"em, ").concat(t.y/Z-r/2,"em) "):o?s+="translate(calc(-50% + ".concat(t.x/Z,"em), calc(-50% + ").concat(t.y/Z,"em)) "):s+="translate(".concat(t.x/Z,"em, ").concat(t.y/Z,"em) "),s+="scale(".concat(t.size/Z*(t.flipX?-1:1),", ").concat(t.size/Z*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var Xr=`:root, :host {
6
+ */const $a={name:"PdapSpinner"},Ta=n.defineComponent({...$a,props:{color:{default:"currentColor"},size:{default:24},text:{default:""},show:{type:Boolean,default:!1}},setup(e){return(t,a)=>(n.openBlock(),n.createBlock(n.Transition,{appear:""},{default:n.withCtx(()=>[t.show?(n.openBlock(),n.createElementBlock("div",xa,[(n.openBlock(),n.createElementBlock("svg",{"aria-label":"loading",width:t.size,height:t.size,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[n.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,Ea),n.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,Sa)],8,Ca)),(n.openBlock(),n.createBlock(n.Transition,{key:t.text,appear:"",mode:"out-in"},{default:n.withCtx(()=>[t.text&&t.show?(n.openBlock(),n.createElementBlock("p",ka,n.toDisplayString(t.text),1)):n.createCommentVNode("",!0)]),_:1}))])):n.createCommentVNode("",!0)]),_:1}))}});const Ie=(e,t)=>{const a=e.__vccOpts||e;for(const[r,o]of t)a[r]=o;return a},xn=Ie(Ta,[["__scopeId","data-v-16618cf4"]]),Da={name:"PdapButton"},Ia=n.defineComponent({...Da,props:{intent:{default:"primary"},isLoading:{type:Boolean,default:!1}},setup(e){const t=e,a={show:t.isLoading},r=n.reactive({"pdap-button":!0,[`pdap-button-${t.intent}`]:!!t.intent,"pdap-button-loading":t.isLoading});return(o,s)=>(n.openBlock(),n.createElementBlock("button",{class:n.normalizeClass(r)},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(o.isLoading?xn:o.$slots.default),n.normalizeProps(n.guardReactiveProps(o.isLoading?a:void 0)),null,16))],2))}});const Mt=Ie(Ia,[["__scopeId","data-v-163027c8"]]),_a=n.createElementVNode("h1",null,"Oops, something went wrong!",-1),Oa=n.createElementVNode("p",{class:"max-w-full","data-test":"error-boundary-message"},[n.createTextVNode(" If you keep seeing this message, please email "),n.createElementVNode("a",{href:"mailto:contact@pdap.io"},"contact@pdap.io"),n.createTextVNode(" for assistance. ")],-1),Aa={name:"ErrorBoundary"},za=n.defineComponent({...Aa,props:{component:{default:"div"},onError:{type:Function,default:void 0},params:{default:void 0}},emits:["onError"],setup(e,{emit:t}){const a=e,r=t,o=n.ref(),s=n.ref("");function i(l,u,c){var f;o.value=l,s.value=c,(f=a.onError)==null||f.call(a,l,u,c),r("onError",{error:l,vm:u,info:c})}return n.onErrorCaptured((l,u,c)=>{i(l,u,c)}),(l,u)=>o.value?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(l.component),{key:1,class:"pdap-flex-container-center h-[full]","v-bind":l.params},{default:n.withCtx(()=>[_a,Oa]),_:1},8,["v-bind"])):n.renderSlot(l.$slots,"default",{key:0})}}),Pa="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMTMuOCA4Ni4xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMTMuOCA4Ni4xOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0wLDgwLjlMMjEuNSwyLjZoNS4xTDUuMSw4MC45SDB6Ii8+Cjxwb2x5Z29uIHBvaW50cz0iNzguOCwyMC40IDYxLjgsMjAuNCA3NSw3LjIgNzEuMSwzLjIgNTguNCwxNS44IDU4LjQsMCA1Mi44LDAgNTIuOCwxNS44IDQwLjIsMy4yIDM2LjIsNy4yIDQ5LjUsMjAuNCAzMi41LDIwLjQgCgkzMi41LDI2IDQ4LjMsMjYgMzYuMiwzOCA0MC4yLDQyIDUyLjgsMjkuMyA1Mi44LDQ2LjMgNTguNCw0Ni4zIDU4LjQsMjkuMyA3MS4xLDQyIDc1LDM4IDYzLDI2IDc4LjgsMjYgIi8+CjxwYXRoIGQ9Ik00Mi4xLDcxLjFoLTIuNnY5LjFoLTVWNTcuM2g3LjZjNS4xLDAsOC40LDIuNCw4LjQsNi43UzQ3LjMsNzEuMSw0Mi4xLDcxLjF6IE00Mi4xLDYxLjVoLTIuNnY1LjNoMi42CgljMi4zLDAsMy4zLTAuOSwzLjMtMi43UzQ0LjMsNjEuNSw0Mi4xLDYxLjV6Ii8+CjxwYXRoIGQ9Ik02MC41LDgwLjFoLTYuOVY1Ny4zaDYuOWM2LjUsMCwxMS45LDQsMTEuOSwxMS40QzcyLjQsNzYuMiw2Ni42LDgwLjEsNjAuNSw4MC4xeiBNNjAuNSw2MS41aC0xLjl2MTQuNGgxLjkKCWM0LjMsMCw2LjctMy40LDYuNy03LjJTNjQuNSw2MS41LDYwLjUsNjEuNXoiLz4KPHBhdGggZD0iTTg4LjcsODAuMUw4Nyw3NC40aC03bC0xLjgsNS44aC01LjNsOC4yLTIyLjloNC44bDguMywyMi45aC01LjVWODAuMXogTTg0LDY0LjZjLTAuMi0wLjctMC41LTEuNi0wLjUtMS44CgljMCwwLjEtMC4yLDEtMC41LDEuOGwtMS43LDUuNmg0LjRMODQsNjQuNnoiLz4KPHBhdGggZD0iTTEwNC43LDcxLjFoLTIuNnY5LjFoLTVWNTcuM2g3LjZjNS4xLDAsOC40LDIuNCw4LjQsNi43UzEwOS44LDcxLjEsMTA0LjcsNzEuMXogTTEwNC43LDYxLjVoLTIuNnY1LjNoMi42CgljMi4zLDAsMy4zLTAuOSwzLjMtMi43UzEwNi45LDYxLjUsMTA0LjcsNjEuNXoiLz4KPC9zdmc+Cg==",Ba={class:"pdap-footer"},Ra={class:"pdap-flex-container-center"},Va={class:"pdap-footer-social-links"},Ya=["href"],Fa={class:"pdap-footer-copyright"},Ua=n.createElementVNode("br",null,null,-1),Qa=n.createElementVNode("p",{class:"pdap-footer-copyright"},[n.createTextVNode(" PDAP is a non-profit. EIN: 85-4207132. "),n.createElementVNode("a",{href:"https://docs.pdap.io/meta/policy/pdap-privacy-policy",alt:"Privacy Policy",target:"_blank"},[n.createElementVNode("br"),n.createTextVNode(" Privacy Policy "),n.createElementVNode("i",{class:"fa fa-external-link"})]),n.createElementVNode("br"),n.createElementVNode("a",{href:"mailto:contact@pdap.io"},"contact@pdap.io")],-1),Wa={class:"pdap-footer-widget-links"},Ga=n.createElementVNode("a",{href:"https://www.guidestar.org/profile/85-4207132",target:"_blank"},[n.createElementVNode("img",{alt:"platinum transparency",src:"https://widgets.guidestar.org/gximage2?o=9973356&l=v4"})],-1),Ha=["href"],Xa=["src"],Za=["src"],Ka={name:"PdapFooter"},Ja=n.defineComponent({...Ka,props:{logoImageSrc:{default:Pa},logoImageAnchorPath:{default:"/"}},setup(e){const t=e,a=n.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"}]),r=t.logoImageAnchorPath.startsWith("/");return(o,s)=>{const i=n.resolveComponent("router-link");return n.openBlock(),n.createElementBlock("footer",Ba,[n.createElementVNode("div",Ra,[n.createElementVNode("ul",Va,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(a),l=>(n.openBlock(),n.createElementBlock("li",{key:l.text,class:"pdap-footer-link-container"},[l.href?(n.openBlock(),n.createElementBlock("a",{key:0,class:"pdap-footer-social-link",href:l.href,target:"_blank",referrerpolicy:"no-referrer"},n.toDisplayString(l.text),9,Ya)):n.createCommentVNode("",!0),l.path?(n.openBlock(),n.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:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(l.text),1)]),_:2},1032,["to"])):n.createCommentVNode("",!0)]))),128))]),n.createElementVNode("p",Fa,[n.createTextVNode(" © "+n.toDisplayString(new Date().getFullYear())+" Police Data Accessibility Project",1),Ua]),Qa,n.createElementVNode("div",Wa,[Ga,n.unref(r)?(n.openBlock(),n.createBlock(i,{key:1,to:o.logoImageAnchorPath,class:"pdap-footer-logo"},{default:n.withCtx(()=>[n.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Za)]),_:1},8,["to"])):(n.openBlock(),n.createElementBlock("a",{key:0,href:o.logoImageAnchorPath,class:"pdap-footer-logo"},[n.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Xa)],8,Ha))])])])}}});function Bt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),a.push.apply(a,r)}return a}function K(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?Bt(Object(a),!0).forEach(function(r){qa(e,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Bt(Object(a)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))})}return e}function qa(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Rt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((a,r)=>(t.includes(r)||(a[r]=n.unref(e[r])),a),{})}function Re(e){return typeof e=="function"}function er(e){return n.isReactive(e)||n.isReadonly(e)}function Cn(e,t,a){let r=e;const o=t.split(".");for(let s=0;s<o.length;s++){if(!r[o[s]])return a;r=r[o[s]]}return r}function Ke(e,t,a){return n.computed(()=>e.some(r=>Cn(t,r,{[a]:!1})[a]))}function Vt(e,t,a){return n.computed(()=>e.reduce((r,o)=>{const s=Cn(t,o,{[a]:!1})[a]||[];return r.concat(s)},[]))}function En(e,t,a,r){return e.call(r,n.unref(t),n.unref(a),r)}function Sn(e){return e.$valid!==void 0?!e.$valid:!e}function tr(e,t,a,r,o,s,i){let{$lazy:l,$rewardEarly:u}=o,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],f=arguments.length>8?arguments[8]:void 0,m=arguments.length>9?arguments[9]:void 0,g=arguments.length>10?arguments[10]:void 0;const v=n.ref(!!r.value),d=n.ref(0);a.value=!1;const h=n.watch([t,r].concat(c,g),()=>{if(l&&!r.value||u&&!m.value&&!a.value)return;let y;try{y=En(e,t,f,i)}catch(p){y=Promise.reject(p)}d.value++,a.value=!!d.value,v.value=!1,Promise.resolve(y).then(p=>{d.value--,a.value=!!d.value,s.value=p,v.value=Sn(p)}).catch(p=>{d.value--,a.value=!!d.value,s.value=p,v.value=!0})},{immediate:!0,deep:typeof t=="object"});return{$invalid:v,$unwatch:h}}function nr(e,t,a,r,o,s,i,l){let{$lazy:u,$rewardEarly:c}=r;const f=()=>({}),m=n.computed(()=>{if(u&&!a.value||c&&!l.value)return!1;let g=!0;try{const v=En(e,t,i,s);o.value=v,g=Sn(v)}catch(v){o.value=v}return g});return{$unwatch:f,$invalid:m}}function ar(e,t,a,r,o,s,i,l,u,c,f){const m=n.ref(!1),g=e.$params||{},v=n.ref(null);let d,h;e.$async?{$invalid:d,$unwatch:h}=tr(e.$validator,t,m,a,r,v,o,e.$watchTargets,u,c,f):{$invalid:d,$unwatch:h}=nr(e.$validator,t,a,r,v,o,u,c);const y=e.$message;return{$message:Re(y)?n.computed(()=>y(Rt({$pending:m,$invalid:d,$params:Rt(g),$model:t,$response:v,$validator:s,$propertyPath:l,$property:i}))):y||"",$params:g,$pending:m,$invalid:d,$response:v,$unwatch:h}}function rr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=n.unref(e),a=Object.keys(t),r={},o={},s={};let i=null;return a.forEach(l=>{const u=t[l];switch(!0){case Re(u.$validator):r[l]=u;break;case Re(u):r[l]={$validator:u};break;case l==="$validationGroups":i=u;break;case l.startsWith("$"):s[l]=u;break;default:o[l]=u}}),{rules:r,nestedValidators:o,config:s,validationGroups:i}}const or="__root";function sr(e,t,a,r,o,s,i,l,u){const c=Object.keys(e),f=r.get(o,e),m=n.ref(!1),g=n.ref(!1),v=n.ref(0);if(f){if(!f.$partial)return f;f.$unwatch(),m.value=f.$dirty.value}const d={$dirty:m,$path:o,$touch:()=>{m.value||(m.value=!0)},$reset:()=>{m.value&&(m.value=!1)},$commit:()=>{}};return c.length?(c.forEach(h=>{d[h]=ar(e[h],t,d.$dirty,s,i,h,a,o,u,g,v)}),d.$externalResults=n.computed(()=>l.value?[].concat(l.value).map((h,y)=>({$propertyPath:o,$property:a,$validator:"$externalResults",$uid:`${o}-externalResult-${y}`,$message:h,$params:{},$response:null,$pending:!1})):[]),d.$invalid=n.computed(()=>{const h=c.some(y=>n.unref(d[y].$invalid));return g.value=h,!!d.$externalResults.value.length||h}),d.$pending=n.computed(()=>c.some(h=>n.unref(d[h].$pending))),d.$error=n.computed(()=>d.$dirty.value?d.$pending.value||d.$invalid.value:!1),d.$silentErrors=n.computed(()=>c.filter(h=>n.unref(d[h].$invalid)).map(h=>{const y=d[h];return n.reactive({$propertyPath:o,$property:a,$validator:h,$uid:`${o}-${h}`,$message:y.$message,$params:y.$params,$response:y.$response,$pending:y.$pending})}).concat(d.$externalResults.value)),d.$errors=n.computed(()=>d.$dirty.value?d.$silentErrors.value:[]),d.$unwatch=()=>c.forEach(h=>{d[h].$unwatch()}),d.$commit=()=>{g.value=!0,v.value=Date.now()},r.set(o,e,d),d):(f&&r.set(o,e,d),d)}function ir(e,t,a,r,o,s,i){const l=Object.keys(e);return l.length?l.reduce((u,c)=>(u[c]=at({validations:e[c],state:t,key:c,parentKey:a,resultsCache:r,globalConfig:o,instance:s,externalResults:i}),u),{}):{}}function lr(e,t,a){const r=n.computed(()=>[t,a].filter(d=>d).reduce((d,h)=>d.concat(Object.values(n.unref(h))),[])),o=n.computed({get(){return e.$dirty.value||(r.value.length?r.value.every(d=>d.$dirty):!1)},set(d){e.$dirty.value=d}}),s=n.computed(()=>{const d=n.unref(e.$silentErrors)||[],h=r.value.filter(y=>(n.unref(y).$silentErrors||[]).length).reduce((y,p)=>y.concat(...p.$silentErrors),[]);return d.concat(h)}),i=n.computed(()=>{const d=n.unref(e.$errors)||[],h=r.value.filter(y=>(n.unref(y).$errors||[]).length).reduce((y,p)=>y.concat(...p.$errors),[]);return d.concat(h)}),l=n.computed(()=>r.value.some(d=>d.$invalid)||n.unref(e.$invalid)||!1),u=n.computed(()=>r.value.some(d=>n.unref(d.$pending))||n.unref(e.$pending)||!1),c=n.computed(()=>r.value.some(d=>d.$dirty)||r.value.some(d=>d.$anyDirty)||o.value),f=n.computed(()=>o.value?u.value||l.value:!1),m=()=>{e.$touch(),r.value.forEach(d=>{d.$touch()})},g=()=>{e.$commit(),r.value.forEach(d=>{d.$commit()})},v=()=>{e.$reset(),r.value.forEach(d=>{d.$reset()})};return r.value.length&&r.value.every(d=>d.$dirty)&&m(),{$dirty:o,$errors:i,$invalid:l,$anyDirty:c,$error:f,$pending:u,$touch:m,$reset:v,$silentErrors:s,$commit:g}}function at(e){let{validations:t,state:a,key:r,parentKey:o,childResults:s,resultsCache:i,globalConfig:l={},instance:u,externalResults:c}=e;const f=o?`${o}.${r}`:r,{rules:m,nestedValidators:g,config:v,validationGroups:d}=rr(t),h=K(K({},l),v),y=r?n.computed(()=>{const S=n.unref(a);return S?n.unref(S[r]):void 0}):a,p=K({},n.unref(c)||{}),L=n.computed(()=>{const S=n.unref(c);return r?S?n.unref(S[r]):void 0:S}),w=sr(m,y,r,i,f,h,u,L,a),j=ir(g,y,f,i,h,u,L),C={};d&&Object.entries(d).forEach(S=>{let[re,X]=S;C[re]={$invalid:Ke(X,j,"$invalid"),$error:Ke(X,j,"$error"),$pending:Ke(X,j,"$pending"),$errors:Vt(X,j,"$errors"),$silentErrors:Vt(X,j,"$silentErrors")}});const{$dirty:b,$errors:N,$invalid:T,$anyDirty:A,$error:B,$pending:de,$touch:F,$reset:La,$silentErrors:Ma,$commit:Pt}=lr(w,j,s),ba=r?n.computed({get:()=>n.unref(y),set:S=>{b.value=!0;const re=n.unref(a),X=n.unref(c);X&&(X[r]=p[r]),n.isRef(re[r])?re[r].value=S:re[r]=S}}):null;r&&h.$autoDirty&&n.watch(y,()=>{b.value||F();const S=n.unref(c);S&&(S[r]=p[r])},{flush:"sync"});async function wa(){return F(),h.$rewardEarly&&(Pt(),await n.nextTick()),await n.nextTick(),new Promise(S=>{if(!de.value)return S(!T.value);const re=n.watch(de,()=>{S(!T.value),re()})})}function ja(S){return(s.value||{})[S]}function Na(){n.isRef(c)?c.value=p:Object.keys(p).length===0?Object.keys(c).forEach(S=>{delete c[S]}):Object.assign(c,p)}return n.reactive(K(K(K({},w),{},{$model:ba,$dirty:b,$error:B,$errors:N,$invalid:T,$anyDirty:A,$pending:de,$touch:F,$reset:La,$path:f||or,$silentErrors:Ma,$validate:wa,$commit:Pt},s&&{$getResultsForChild:ja,$clearExternalResults:Na,$validationGroups:C}),j))}class cr{constructor(){this.storage=new Map}set(t,a,r){this.storage.set(t,{rules:a,result:r})}checkRulesValidity(t,a,r){const o=Object.keys(r),s=Object.keys(a);return s.length!==o.length||!s.every(l=>o.includes(l))?!1:s.every(l=>a[l].$params?Object.keys(a[l].$params).every(u=>n.unref(r[l].$params[u])===n.unref(a[l].$params[u])):!0)}get(t,a){const r=this.storage.get(t);if(!r)return;const{rules:o,result:s}=r,i=this.checkRulesValidity(t,a,o),l=s.$unwatch?s.$unwatch:()=>({});return i?s:{$dirty:s.$dirty,$partial:!0,$unwatch:l}}}const ze={COLLECT_ALL:!0,COLLECT_NONE:!1},Yt=Symbol("vuelidate#injectChildResults"),Ft=Symbol("vuelidate#removeChildResults");function ur(e){let{$scope:t,instance:a}=e;const r={},o=n.ref([]),s=n.computed(()=>o.value.reduce((f,m)=>(f[m]=n.unref(r[m]),f),{}));function i(f,m){let{$registerAs:g,$scope:v,$stopPropagation:d}=m;d||t===ze.COLLECT_NONE||v===ze.COLLECT_NONE||t!==ze.COLLECT_ALL&&t!==v||(r[g]=f,o.value.push(g))}a.__vuelidateInjectInstances=[].concat(a.__vuelidateInjectInstances||[],i);function l(f){o.value=o.value.filter(m=>m!==f),delete r[f]}a.__vuelidateRemoveInstances=[].concat(a.__vuelidateRemoveInstances||[],l);const u=n.inject(Yt,[]);n.provide(Yt,a.__vuelidateInjectInstances);const c=n.inject(Ft,[]);return n.provide(Ft,a.__vuelidateRemoveInstances),{childResults:s,sendValidationResultsToParent:u,removeValidationResultsFromParent:c}}function kn(e){return new Proxy(e,{get(t,a){return typeof t[a]=="object"?kn(t[a]):n.computed(()=>t[a])}})}let Ut=0;function $n(e,t){var a;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(r=e,e=void 0,t=void 0);let{$registerAs:o,$scope:s=ze.COLLECT_ALL,$stopPropagation:i,$externalResults:l,currentVueInstance:u}=r;const c=u||((a=n.getCurrentInstance())===null||a===void 0?void 0:a.proxy),f=c?c.$options:{};o||(Ut+=1,o=`_vuelidate_${Ut}`);const m=n.ref({}),g=new cr,{childResults:v,sendValidationResultsToParent:d,removeValidationResultsFromParent:h}=c?ur({$scope:s,instance:c}):{childResults:n.ref({})};if(!e&&f.validations){const y=f.validations;t=n.ref({}),n.onBeforeMount(()=>{t.value=c,n.watch(()=>Re(y)?y.call(t.value,new kn(t.value)):y,p=>{m.value=at({validations:p,state:t,childResults:v,resultsCache:g,globalConfig:r,instance:c,externalResults:l||c.vuelidateExternalResults})},{immediate:!0})}),r=f.validationsConfig||r}else{const y=n.isRef(e)||er(e)?e:n.reactive(e||{});n.watch(y,p=>{m.value=at({validations:p,state:t,childResults:v,resultsCache:g,globalConfig:r,instance:c??{},externalResults:l})},{immediate:!0})}return c&&(d.forEach(y=>y(m,{$registerAs:o,$scope:s,$stopPropagation:i})),n.onBeforeUnmount(()=>h.forEach(y=>y(o)))),n.computed(()=>K(K({},n.unref(m.value)),v.value))}var Q=(e=>(e.CHECKBOX="checkbox",e.TEXT="text",e.PASSWORD="password",e))(Q||{});const fr=["id","type","name","placeholder","value"],dr=n.defineComponent({__name:"InputText",props:{type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{}},emits:["input"],setup(e,{emit:t}){const a=t,r=o=>{a("input",o)};return(o,s)=>(n.openBlock(),n.createElementBlock("input",n.mergeProps({id:o.id,type:o.type,name:o.name,placeholder:o.placeholder,value:o.value},o.$attrs,{onInput:r}),null,16,fr))}}),mr=["id","name","checked","value"],pr=n.defineComponent({__name:"InputCheckbox",props:{defaultChecked:{type:Boolean},type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{}},emits:["input"],setup(e,{emit:t}){const a=t,r=o=>{a("input",o)};return(o,s)=>(n.openBlock(),n.createElementBlock("input",n.mergeProps({id:o.id,name:o.name,checked:o.value==="true",value:o.value,class:"pdap-input-checkbox",type:"checkbox"},o.$attrs,{onInput:r}),null,16,mr))}}),Qt=()=>{};let bt={},Tn={},Dn=null,In={mark:Qt,measure:Qt};try{typeof window<"u"&&(bt=window),typeof document<"u"&&(Tn=document),typeof MutationObserver<"u"&&(Dn=MutationObserver),typeof performance<"u"&&(In=performance)}catch{}const{userAgent:Wt=""}=bt.navigator||{},q=bt,x=Tn,Gt=Dn,Ae=In;q.document;const H=!!x.documentElement&&!!x.head&&typeof x.addEventListener=="function"&&typeof x.createElement=="function",_n=~Wt.indexOf("MSIE")||~Wt.indexOf("Trident/");var E="classic",On="duotone",D="sharp",I="sharp-duotone",gr=[E,On,D,I],hr={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}},Ht={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},yr=["kit"],vr=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,Lr=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Mr={"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"}},br={"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"}},wr={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"}},jr={classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]},Nr={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"}},xr={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"}},An={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"}},Cr=["solid","regular","light","thin","duotone","brands"],zn=[1,2,3,4,5,6,7,8,9,10],Er=zn.concat([11,12,13,14,15,16,17,18,19,20]),je={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Sr=[...Object.keys(jr),...Cr,"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",je.GROUP,je.SWAP_OPACITY,je.PRIMARY,je.SECONDARY].concat(zn.map(e=>"".concat(e,"x"))).concat(Er.map(e=>"w-".concat(e))),kr={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},$r={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},Tr={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},Xt={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}};const W="___FONT_AWESOME___",rt=16,Pn="fa",Bn="svg-inline--fa",ce="data-fa-i2svg",ot="data-fa-pseudo-element",Dr="data-fa-pseudo-element-pending",wt="data-prefix",jt="data-icon",Zt="fontawesome-i2svg",Ir="async",_r=["HTML","HEAD","STYLE","SCRIPT"],Rn=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})(),Vn=[E,D,I];function _e(e){return new Proxy(e,{get(t,a){return a in t?t[a]:t[E]}})}const Yn={...An};Yn[E]={...An[E],...Ht.kit,...Ht["kit-duotone"]};const ie=_e(Yn),st={...xr};st[E]={...st[E],...Xt.kit,...Xt["kit-duotone"]};const ke=_e(st),it={...Nr};it[E]={...it[E],...Tr.kit};const le=_e(it),lt={...wr};lt[E]={...lt[E],...$r.kit};const Or=_e(lt),Ar=vr,Fn="fa-layers-text",zr=Lr,Pr={...hr};_e(Pr);const Br=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Je=je,he=new Set;Object.keys(ke[E]).map(he.add.bind(he));Object.keys(ke[D]).map(he.add.bind(he));Object.keys(ke[I]).map(he.add.bind(he));const Rr=[...yr,...Sr],xe=q.FontAwesomeConfig||{};function Vr(e){var t=x.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Yr(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}x&&typeof x.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[a,r]=t;const o=Yr(Vr(a));o!=null&&(xe[r]=o)});const Un={styleDefault:"solid",familyDefault:"classic",cssPrefix:Pn,replacementClass:Bn,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};xe.familyPrefix&&(xe.cssPrefix=xe.familyPrefix);const ye={...Un,...xe};ye.autoReplaceSvg||(ye.observeMutations=!1);const M={};Object.keys(Un).forEach(e=>{Object.defineProperty(M,e,{enumerable:!0,set:function(t){ye[e]=t,Ce.forEach(a=>a(M))},get:function(){return ye[e]}})});Object.defineProperty(M,"familyPrefix",{enumerable:!0,set:function(e){ye.cssPrefix=e,Ce.forEach(t=>t(M))},get:function(){return ye.cssPrefix}});q.FontAwesomeConfig=M;const Ce=[];function Fr(e){return Ce.push(e),()=>{Ce.splice(Ce.indexOf(e),1)}}const Z=rt,R={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Ur(e){if(!e||!H)return;const t=x.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const a=x.head.childNodes;let r=null;for(let o=a.length-1;o>-1;o--){const s=a[o],i=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=s)}return x.head.insertBefore(t,r),e}const Qr="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function $e(){let e=12,t="";for(;e-- >0;)t+=Qr[Math.random()*62|0];return t}function Le(e){const t=[];for(let a=(e||[]).length>>>0;a--;)t[a]=e[a];return t}function Nt(e){return e.classList?Le(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function Qn(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Wr(e){return Object.keys(e||{}).reduce((t,a)=>t+"".concat(a,'="').concat(Qn(e[a]),'" '),"").trim()}function We(e){return Object.keys(e||{}).reduce((t,a)=>t+"".concat(a,": ").concat(e[a].trim(),";"),"")}function xt(e){return e.size!==R.size||e.x!==R.x||e.y!==R.y||e.rotate!==R.rotate||e.flipX||e.flipY}function Gr(e){let{transform:t,containerWidth:a,iconWidth:r}=e;const o={transform:"translate(".concat(a/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(r/2*-1," -256)")};return{outer:o,inner:u,path:c}}function Hr(e){let{transform:t,width:a=rt,height:r=rt,startCentered:o=!1}=e,s="";return o&&_n?s+="translate(".concat(t.x/Z-a/2,"em, ").concat(t.y/Z-r/2,"em) "):o?s+="translate(calc(-50% + ".concat(t.x/Z,"em), calc(-50% + ").concat(t.y/Z,"em)) "):s+="translate(".concat(t.x/Z,"em, ").concat(t.y/Z,"em) "),s+="scale(".concat(t.size/Z*(t.flipX?-1:1),", ").concat(t.size/Z*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var Xr=`:root, :host {
7
7
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
8
8
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
9
9
  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";