pdap-design-system 3.1.0-beta.3 → 3.1.0-beta.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,10 +6,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
6
6
  }>, {
7
7
  setValues: typeof setValues;
8
8
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ change: (...args: any[]) => void;
9
10
  submit: (...args: any[]) => void;
10
11
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapFormPropsV2>, {
11
12
  error: null;
12
13
  }>>> & {
14
+ onChange?: ((...args: any[]) => any) | undefined;
13
15
  onSubmit?: ((...args: any[]) => any) | undefined;
14
16
  }, {
15
17
  error: string | null;
package/dist/index.cjs CHANGED
@@ -553,7 +553,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
553
553
  }`;function Vn(){const e=On,t=_n,n=L.cssPrefix,r=L.replacementClass;let o=Rr;if(n!==e||r!==t){const s=new RegExp("\\.".concat(e,"\\-"),"g"),l=new RegExp("\\--".concat(e,"\\-"),"g"),i=new RegExp("\\.".concat(t),"g");o=o.replace(s,".".concat(n,"-")).replace(l,"--".concat(n,"-")).replace(i,".".concat(r))}return o}let Ht=!1;function Ze(){L.autoAddCss&&!Ht&&(_r(Vn()),Ht=!0)}var Yr={mixout(){return{dom:{css:Vn,insertCss:Ze}}},hooks(){return{beforeDOMElementCreation(){Ze()},beforeI2svg(){Ze()}}}};const F=X||{};F[V]||(F[V]={});F[V].styles||(F[V].styles={});F[V].hooks||(F[V].hooks={});F[V].shims||(F[V].shims=[]);var B=F[V];const Fn=[],Un=function(){j.removeEventListener("DOMContentLoaded",Un),_e=1,Fn.map(e=>e())};let _e=!1;U&&(_e=(j.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(j.readyState),_e||j.addEventListener("DOMContentLoaded",Un));function Vr(e){U&&(_e?setTimeout(e,0):Fn.push(e))}function Te(e){const{tag:t,attributes:n={},children:r=[]}=e;return typeof e=="string"?Yn(e):"<".concat(t," ").concat(zr(n),">").concat(r.map(Te).join(""),"</").concat(t,">")}function Xt(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Fr=function(t,n){return function(r,o,s,l){return t.call(n,r,o,s,l)}},Je=function(t,n,r,o){var s=Object.keys(t),l=s.length,i=o!==void 0?Fr(n,o):n,u,c,d;for(r===void 0?(u=1,d=t[s[0]]):(u=0,d=r);u<l;u++)c=s[u],d=i(d,t[c],c,t);return d};function Ur(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){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 st(e){const t=Ur(e);return t.length===1?t[0].toString(16):null}function Qr(e,t){const n=e.length;let r=e.charCodeAt(t),o;return r>=55296&&r<=56319&&n>t+1&&(o=e.charCodeAt(t+1),o>=56320&&o<=57343)?(r-55296)*1024+o-56320+65536:r}function Zt(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function it(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:r=!1}=n,o=Zt(t);typeof B.hooks.addPack=="function"&&!r?B.hooks.addPack(e,Zt(t)):B.styles[e]={...B.styles[e]||{},...o},e==="fas"&&it("fa",t)}const{styles:ne,shims:Wr}=B,Gr={[x]:Object.values(re[x]),[$]:Object.values(re[$]),[k]:Object.values(re[k])};let jt=null,Qn={},Wn={},Gn={},Hn={},Xn={};const Hr={[x]:Object.keys(ae[x]),[$]:Object.keys(ae[$]),[k]:Object.keys(ae[k])};function Xr(e){return~kr.indexOf(e)}function Zr(e,t){const n=t.split("-"),r=n[0],o=n.slice(1).join("-");return r===e&&o!==""&&!Xr(o)?o:null}const Zn=()=>{const e=r=>Je(ne,(o,s,l)=>(o[l]=Je(s,r,{}),o),{});Qn=e((r,o,s)=>(o[3]&&(r[o[3]]=s),o[2]&&o[2].filter(i=>typeof i=="number").forEach(i=>{r[i.toString(16)]=s}),r)),Wn=e((r,o,s)=>(r[s]=s,o[2]&&o[2].filter(i=>typeof i=="string").forEach(i=>{r[i]=s}),r)),Xn=e((r,o,s)=>{const l=o[2];return r[s]=s,l.forEach(i=>{r[i]=s}),r});const t="far"in ne||L.autoFetchSvg,n=Je(Wr,(r,o)=>{const s=o[0];let l=o[1];const i=o[2];return l==="far"&&!t&&(l="fas"),typeof s=="string"&&(r.names[s]={prefix:l,iconName:i}),typeof s=="number"&&(r.unicodes[s.toString(16)]={prefix:l,iconName:i}),r},{names:{},unicodes:{}});Gn=n.names,Hn=n.unicodes,jt=Ye(L.styleDefault,{family:L.familyDefault})};Or(e=>{jt=Ye(e.styleDefault,{family:L.familyDefault})});Zn();function xt(e,t){return(Qn[e]||{})[t]}function Jr(e,t){return(Wn[e]||{})[t]}function H(e,t){return(Xn[e]||{})[t]}function Jn(e){return Gn[e]||{prefix:null,iconName:null}}function Kr(e){const t=Hn[e],n=xt("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Z(){return jt}const Nt=()=>({prefix:null,iconName:null,rest:[]});function Ye(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=x}=t,r=ae[n][e],o=xe[n][e]||xe[n][r],s=e in B.styles?e:null;return o||s||null}const qr={[x]:Object.keys(re[x]),[$]:Object.keys(re[$]),[k]:Object.keys(re[k])};function Ve(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t,r={[x]:"".concat(L.cssPrefix,"-").concat(x),[$]:"".concat(L.cssPrefix,"-").concat($),[k]:"".concat(L.cssPrefix,"-").concat(k)};let o=null,s=x;const l=sr.filter(u=>u!==kn);l.forEach(u=>{(e.includes(r[u])||e.some(c=>qr[u].includes(c)))&&(s=u)});const i=e.reduce((u,c)=>{const d=Zr(L.cssPrefix,c);if(ne[c]?(c=Gr[s].includes(c)?Cr[s][c]:c,o=c,u.prefix=c):Hr[s].indexOf(c)>-1?(o=c,u.prefix=Ye(c,{family:s})):d?u.iconName=d:c!==L.replacementClass&&!l.some(m=>c===r[m])&&u.rest.push(c),!n&&u.prefix&&u.iconName){const m=o==="fa"?Jn(u.iconName):{},h=H(u.prefix,u.iconName);m.prefix&&(o=null),u.iconName=m.iconName||h||u.iconName,u.prefix=m.prefix||u.prefix,u.prefix==="far"&&!ne.far&&ne.fas&&!L.autoFetchSvg&&(u.prefix="fas")}return u},Nt());return(e.includes("fa-brands")||e.includes("fab"))&&(i.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(i.prefix="fad"),!i.prefix&&s===$&&(ne.fass||L.autoFetchSvg)&&(i.prefix="fass",i.iconName=H(i.prefix,i.iconName)||i.iconName),!i.prefix&&s===k&&(ne.fasds||L.autoFetchSvg)&&(i.prefix="fasds",i.iconName=H(i.prefix,i.iconName)||i.iconName),(i.prefix==="fa"||o==="fa")&&(i.prefix=Z()||"fas"),i}class eo{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach(s=>{this.definitions[s]={...this.definitions[s]||{},...o[s]},it(s,o[s]);const l=re[x][s];l&&it(l,o[s]),Zn()})}reset(){this.definitions={}}_pullDefinitions(t,n){const r=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(r).map(o=>{const{prefix:s,iconName:l,icon:i}=r[o],u=i[2];t[s]||(t[s]={}),u.length>0&&u.forEach(c=>{typeof c=="string"&&(t[s][c]=i)}),t[s][l]=i}),t}}let Jt=[],le={};const ue={},to=Object.keys(ue);function no(e,t){let{mixoutsTo:n}=t;return Jt=e,le={},Object.keys(ue).forEach(r=>{to.indexOf(r)===-1&&delete ue[r]}),Jt.forEach(r=>{const o=r.mixout?r.mixout():{};if(Object.keys(o).forEach(s=>{typeof o[s]=="function"&&(n[s]=o[s]),typeof o[s]=="object"&&Object.keys(o[s]).forEach(l=>{n[s]||(n[s]={}),n[s][l]=o[s][l]})}),r.hooks){const s=r.hooks();Object.keys(s).forEach(l=>{le[l]||(le[l]=[]),le[l].push(s[l])})}r.provides&&r.provides(ue)}),n}function lt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return(le[e]||[]).forEach(l=>{t=l.apply(null,[t,...r])}),t}function se(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(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 ct(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||Z();if(t)return t=H(n,t)||t,Xt(Kn.definitions,n,t)||Xt(B.styles,n,t)}const Kn=new eo,ao=()=>{L.autoReplaceSvg=!1,L.observeMutations=!1,se("noAuto")},ro={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;L.autoReplaceSvg===!1&&(L.autoReplaceSvg=!0),L.observeMutations=!0,Vr(()=>{so({autoReplaceSvgRoot:t}),se("watch",e)})}},oo={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(L.cssPrefix,"-"))>-1||e.match(Sr))){const t=Ve(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}}}},D={noAuto:ao,config:L,dom:ro,parse:oo,library:Kn,findIconDefinition:ct,toHtml:Te},so=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=j}=e;(Object.keys(B.styles).length>0||L.autoFetchSvg)&&U&&L.autoReplaceSvg&&D.dom.i2svg({node:t})};function Fe(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 io(e){let{children:t,main:n,mask:r,attributes:o,styles:s,transform:l}=e;if(wt(l)&&n.found&&!r.found){const{width:i,height:u}=n,c={x:i/u/2,y:.5};o.style=Re({...s,"transform-origin":"".concat(c.x+l.x/16,"em ").concat(c.y+l.y/16,"em")})}return[{tag:"svg",attributes:o,children:t}]}function lo(e){let{prefix:t,iconName:n,children:r,attributes:o,symbol:s}=e;const l=s===!0?"".concat(t,"-").concat(L.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:{...o,id:l},children:r}]}]}function Ct(e){const{icons:{main:t,mask:n},prefix:r,iconName:o,transform:s,symbol:l,title:i,maskId:u,titleId:c,extra:d,watchable:m=!1}=e,{width:h,height:M}=n.found?n:t,f=r==="fak",p=[L.replacementClass,o?"".concat(L.cssPrefix,"-").concat(o):""].filter(N=>d.classes.indexOf(N)===-1).filter(N=>N!==""||!!N).concat(d.classes).join(" ");let y={children:[],attributes:{...d.attributes,"data-prefix":r,"data-icon":o,class:p,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(M)}};const g=f&&!~d.classes.indexOf("fa-fw")?{width:"".concat(h/M*16*.0625,"em")}:{};m&&(y.attributes[oe]=""),i&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(c||Ne())},children:[i]}),delete y.attributes.title);const v={...y,prefix:r,iconName:o,main:t,mask:n,maskId:u,transform:s,symbol:l,styles:{...g,...d.styles}},{children:b,attributes:w}=n.found&&t.found?J("generateAbstractMask",v)||{children:[],attributes:{}}:J("generateAbstractIcon",v)||{children:[],attributes:{}};return v.children=b,v.attributes=w,l?lo(v):io(v)}function Kt(e){const{content:t,width:n,height:r,transform:o,title:s,extra:l,watchable:i=!1}=e,u={...l.attributes,...s?{title:s}:{},class:l.classes.join(" ")};i&&(u[oe]="");const c={...l.styles};wt(o)&&(c.transform=Br({transform:o,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);const d=Re(c);d.length>0&&(u.style=d);const m=[];return m.push({tag:"span",attributes:u,children:[t]}),s&&m.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),m}function co(e){const{content:t,title:n,extra:r}=e,o={...r.attributes,...n?{title:n}:{},class:r.classes.join(" ")},s=Re(r.styles);s.length>0&&(o.style=s);const l=[];return l.push({tag:"span",attributes:o,children:[t]}),n&&l.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),l}const{styles:Ke}=B;function ut(e){const t=e[0],n=e[1],[r]=e.slice(4);let o=null;return Array.isArray(r)?o={tag:"g",attributes:{class:"".concat(L.cssPrefix,"-").concat(Xe.GROUP)},children:[{tag:"path",attributes:{class:"".concat(L.cssPrefix,"-").concat(Xe.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(L.cssPrefix,"-").concat(Xe.PRIMARY),fill:"currentColor",d:r[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:o}}const uo={found:!1,width:512,height:512};function fo(e,t){!An&&!L.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function ft(e,t){let n=t;return t==="fa"&&L.styleDefault!==null&&(t=Z()),new Promise((r,o)=>{if(n==="fa"){const s=Jn(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&Ke[t]&&Ke[t][e]){const s=Ke[t][e];return r(ut(s))}fo(e,t),r({...uo,icon:L.showMissingIcons&&e?J("missingIconAbstract")||{}:{}})})}const qt=()=>{},dt=L.measurePerformance&&$e&&$e.mark&&$e.measure?$e:{mark:qt,measure:qt},Le='FA "6.6.0"',mo=e=>(dt.mark("".concat(Le," ").concat(e," begins")),()=>qn(e)),qn=e=>{dt.mark("".concat(Le," ").concat(e," ends")),dt.measure("".concat(Le," ").concat(e),"".concat(Le," ").concat(e," begins"),"".concat(Le," ").concat(e," ends"))};var St={begin:mo,end:qn};const De=()=>{};function en(e){return typeof(e.getAttribute?e.getAttribute(oe):null)=="string"}function po(e){const t=e.getAttribute?e.getAttribute(Lt):null,n=e.getAttribute?e.getAttribute(Mt):null;return t&&n}function go(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(L.replacementClass)}function ho(){return L.autoReplaceSvg===!0?Ie.replace:Ie[L.autoReplaceSvg]||Ie.replace}function yo(e){return j.createElementNS("http://www.w3.org/2000/svg",e)}function vo(e){return j.createElement(e)}function ea(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?yo:vo}=t;if(typeof e=="string")return j.createTextNode(e);const r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(s){r.setAttribute(s,e.attributes[s])}),(e.children||[]).forEach(function(s){r.appendChild(ea(s,{ceFn:n}))}),r}function Lo(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Ie={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(ea(n),t)}),t.getAttribute(oe)===null&&L.keepOriginalSource){let n=j.createComment(Lo(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~bt(t).indexOf(L.replacementClass))return Ie.replace(e);const r=new RegExp("".concat(L.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const s=n[0].attributes.class.split(" ").reduce((l,i)=>(i===L.replacementClass||i.match(r)?l.toSvg.push(i):l.toNode.push(i),l),{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
554
  `);t.setAttribute(oe,""),t.innerHTML=o}};function tn(e){e()}function ta(e,t){const n=typeof t=="function"?t:De;if(e.length===0)n();else{let r=tn;L.mutateApproach===xr&&(r=X.requestAnimationFrame||tn),r(()=>{const o=ho(),s=St.begin("mutate");e.map(o),s(),n()})}}let Et=!1;function na(){Et=!0}function mt(){Et=!1}let Ae=null;function nn(e){if(!Ut||!L.observeMutations)return;const{treeCallback:t=De,nodeCallback:n=De,pseudoElementsCallback:r=De,observeMutationsRoot:o=j}=e;Ae=new Ut(s=>{if(Et)return;const l=Z();pe(s).forEach(i=>{if(i.type==="childList"&&i.addedNodes.length>0&&!en(i.addedNodes[0])&&(L.searchPseudoElements&&r(i.target),t(i.target)),i.type==="attributes"&&i.target.parentNode&&L.searchPseudoElements&&r(i.target.parentNode),i.type==="attributes"&&en(i.target)&&~$r.indexOf(i.attributeName))if(i.attributeName==="class"&&po(i.target)){const{prefix:u,iconName:c}=Ve(bt(i.target));i.target.setAttribute(Lt,u||l),c&&i.target.setAttribute(Mt,c)}else go(i.target)&&n(i.target)})}),U&&Ae.observe(o,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Mo(){Ae&&Ae.disconnect()}function bo(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce((r,o)=>{const s=o.split(":"),l=s[0],i=s.slice(1);return l&&i.length>0&&(r[l]=i.join(":").trim()),r},{})),n}function wo(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"";let o=Ve(bt(e));return o.prefix||(o.prefix=Z()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=Jr(o.prefix,e.innerText)||xt(o.prefix,st(e.innerText))),!o.iconName&&L.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function jo(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"),r=e.getAttribute("data-fa-title-id");return L.autoA11y&&(n?t["aria-labelledby"]="".concat(L.replacementClass,"-title-").concat(r||Ne()):(t["aria-hidden"]="true",t.focusable="false")),t}function xo(){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 an(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:o}=wo(e),s=jo(e),l=lt("parseNodeAttributes",{},e);let i=t.styleParser?bo(e):[];return{iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:P,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:i,attributes:s},...l}}const{styles:No}=B;function aa(e){const t=L.autoReplaceSvg==="nest"?an(e,{styleParser:!1}):an(e);return~t.extra.classes.indexOf(Bn)?J("generateLayersText",e,t):J("generateSvgReplacementMutation",e,t)}let R=new Set;zn.map(e=>{R.add("fa-".concat(e))});Object.keys(ae[x]).map(R.add.bind(R));Object.keys(ae[$]).map(R.add.bind(R));Object.keys(ae[k]).map(R.add.bind(R));R=[...R];function rn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!U)return Promise.resolve();const n=j.documentElement.classList,r=d=>n.add("".concat(Gt,"-").concat(d)),o=d=>n.remove("".concat(Gt,"-").concat(d)),s=L.autoFetchSvg?R:zn.map(d=>"fa-".concat(d)).concat(Object.keys(No));s.includes("fa")||s.push("fa");const l=[".".concat(Bn,":not([").concat(oe,"])")].concat(s.map(d=>".".concat(d,":not([").concat(oe,"])"))).join(", ");if(l.length===0)return Promise.resolve();let i=[];try{i=pe(e.querySelectorAll(l))}catch{}if(i.length>0)r("pending"),o("complete");else return Promise.resolve();const u=St.begin("onTree"),c=i.reduce((d,m)=>{try{const h=aa(m);h&&d.push(h)}catch(h){An||h.name==="MissingIcon"&&console.error(h)}return d},[]);return new Promise((d,m)=>{Promise.all(c).then(h=>{ta(h,()=>{r("active"),r("complete"),o("pending"),typeof t=="function"&&t(),u(),d()})}).catch(h=>{u(),m(h)})})}function Co(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;aa(e).then(n=>{n&&ta([n],t)})}function So(e){return function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=(t||{}).icon?t:ct(t||{});let{mask:o}=n;return o&&(o=(o||{}).icon?o:ct(o||{})),e(r,{...n,mask:o})}}const Eo=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=P,symbol:r=!1,mask:o=null,maskId:s=null,title:l=null,titleId:i=null,classes:u=[],attributes:c={},styles:d={}}=t;if(!e)return;const{prefix:m,iconName:h,icon:M}=e;return Fe({type:"icon",...e},()=>(se("beforeDOMElementCreation",{iconDefinition:e,params:t}),L.autoA11y&&(l?c["aria-labelledby"]="".concat(L.replacementClass,"-title-").concat(i||Ne()):(c["aria-hidden"]="true",c.focusable="false")),Ct({icons:{main:ut(M),mask:o?ut(o.icon):{found:!1,width:null,height:null,icon:{}}},prefix:m,iconName:h,transform:{...P,...n},symbol:r,title:l,maskId:s,titleId:i,extra:{attributes:c,styles:d,classes:u}})))};var To={mixout(){return{icon:So(Eo)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=rn,e.nodeCallback=Co,e}}},provides(e){e.i2svg=function(t){const{node:n=j,callback:r=()=>{}}=t;return rn(n,r)},e.generateSvgReplacementMutation=function(t,n){const{iconName:r,title:o,titleId:s,prefix:l,transform:i,symbol:u,mask:c,maskId:d,extra:m}=n;return new Promise((h,M)=>{Promise.all([ft(r,l),c.iconName?ft(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(f=>{let[p,y]=f;h([t,Ct({icons:{main:p,mask:y},prefix:l,iconName:r,transform:i,symbol:u,maskId:d,title:o,titleId:s,extra:m,watchable:!0})])}).catch(M)})},e.generateAbstractIcon=function(t){let{children:n,attributes:r,main:o,transform:s,styles:l}=t;const i=Re(l);i.length>0&&(r.style=i);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:r}}}},$o={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:n=[]}=t;return Fe({type:"layer"},()=>{se("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e(o=>{Array.isArray(o)?o.map(s=>{r=r.concat(s.abstract)}):r=r.concat(o.abstract)}),[{tag:"span",attributes:{class:["".concat(L.cssPrefix,"-layers"),...n].join(" ")},children:r}]})}}}},ko={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:n=null,classes:r=[],attributes:o={},styles:s={}}=t;return Fe({type:"counter",content:e},()=>(se("beforeDOMElementCreation",{content:e,params:t}),co({content:e.toString(),title:n,extra:{attributes:o,styles:s,classes:["".concat(L.cssPrefix,"-layers-counter"),...r]}})))}}}},Do={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=P,title:r=null,classes:o=[],attributes:s={},styles:l={}}=t;return Fe({type:"text",content:e},()=>(se("beforeDOMElementCreation",{content:e,params:t}),Kt({content:e,transform:{...P,...n},title:r,extra:{attributes:s,styles:l,classes:["".concat(L.cssPrefix,"-layers-text"),...o]}})))}}},provides(e){e.generateLayersText=function(t,n){const{title:r,transform:o,extra:s}=n;let l=null,i=null;if($n){const u=parseInt(getComputedStyle(t).fontSize,10),c=t.getBoundingClientRect();l=c.width/u,i=c.height/u}return L.autoA11y&&!r&&(s.attributes["aria-hidden"]="true"),Promise.resolve([t,Kt({content:t.innerHTML,width:l,height:i,transform:o,title:r,extra:s,watchable:!0})])}}};const Io=new RegExp('"',"ug"),on=[1105920,1112319],sn={FontAwesome:{normal:"fas",400:"fas"},...dr,...fr,...Mr},pt=Object.keys(sn).reduce((e,t)=>(e[t.toLowerCase()]=sn[t],e),{}),Oo=Object.keys(pt).reduce((e,t)=>{const n=pt[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e},{});function _o(e){const t=e.replace(Io,""),n=Qr(t,0),r=n>=on[0]&&n<=on[1],o=t.length===2?t[0]===t[1]:!1;return{value:st(o?t[0]:t),isSecondary:r||o}}function Ao(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),o=isNaN(r)?"normal":r;return(pt[n]||{})[o]||Oo[n]}function ln(e,t){const n="".concat(jr).concat(t.replace(":","-"));return new Promise((r,o)=>{if(e.getAttribute(n)!==null)return r();const l=pe(e.children).filter(h=>h.getAttribute(nt)===t)[0],i=X.getComputedStyle(e,t),u=i.getPropertyValue("font-family"),c=u.match(Er),d=i.getPropertyValue("font-weight"),m=i.getPropertyValue("content");if(l&&!c)return e.removeChild(l),r();if(c&&m!=="none"&&m!==""){const h=i.getPropertyValue("content");let M=Ao(u,d);const{value:f,isSecondary:p}=_o(h),y=c[0].startsWith("FontAwesome");let g=xt(M,f),v=g;if(y){const b=Kr(f);b.iconName&&b.prefix&&(g=b.iconName,M=b.prefix)}if(g&&!p&&(!l||l.getAttribute(Lt)!==M||l.getAttribute(Mt)!==v)){e.setAttribute(n,v),l&&e.removeChild(l);const b=xo(),{extra:w}=b;w.attributes[nt]=t,ft(g,M).then(N=>{const T=Ct({...b,icons:{main:N,mask:Nt()},prefix:M,iconName:v,extra:w,watchable:!0}),O=j.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(O,e.firstChild):e.appendChild(O),O.outerHTML=T.map(he=>Te(he)).join(`
555
555
  `),e.removeAttribute(n),r()}).catch(o)}else r()}else r()})}function zo(e){return Promise.all([ln(e,"::before"),ln(e,"::after")])}function Po(e){return e.parentNode!==document.head&&!~Nr.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(nt)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function cn(e){if(U)return new Promise((t,n)=>{const r=pe(e.querySelectorAll("*")).filter(Po).map(zo),o=St.begin("searchPseudoElements");na(),Promise.all(r).then(()=>{o(),mt(),t()}).catch(()=>{o(),mt(),n()})})}var Bo={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=cn,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:n=j}=t;L.searchPseudoElements&&cn(n)}}};let un=!1;var Ro={mixout(){return{dom:{unwatch(){na(),un=!0}}}},hooks(){return{bootstrap(){nn(lt("mutationObserverCallbacks",{}))},noAuto(){Mo()},watch(e){const{observeMutationsRoot:t}=e;un?mt():nn(lt("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const fn=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((n,r)=>{const o=r.toLowerCase().split("-"),s=o[0];let l=o.slice(1).join("-");if(s&&l==="h")return n.flipX=!0,n;if(s&&l==="v")return n.flipY=!0,n;if(l=parseFloat(l),isNaN(l))return n;switch(s){case"grow":n.size=n.size+l;break;case"shrink":n.size=n.size-l;break;case"left":n.x=n.x-l;break;case"right":n.x=n.x+l;break;case"up":n.y=n.y-l;break;case"down":n.y=n.y+l;break;case"rotate":n.rotate=n.rotate+l;break}return n},t)};var Yo={mixout(){return{parse:{transform:e=>fn(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=fn(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:n,transform:r,containerWidth:o,iconWidth:s}=t;const l={transform:"translate(".concat(o/2," 256)")},i="translate(".concat(r.x*32,", ").concat(r.y*32,") "),u="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),c="rotate(".concat(r.rotate," 0 0)"),d={transform:"".concat(i," ").concat(u," ").concat(c)},m={transform:"translate(".concat(s/2*-1," -256)")},h={outer:l,inner:d,path:m};return{tag:"g",attributes:{...h.outer},children:[{tag:"g",attributes:{...h.inner},children:[{tag:n.icon.tag,children:n.icon.children,attributes:{...n.icon.attributes,...h.path}}]}]}}}};const qe={x:0,y:0,width:"100%",height:"100%"};function dn(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 Vo(e){return e.tag==="g"?e.children:[e]}var Fo={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?Ve(n.split(" ").map(o=>o.trim())):Nt();return r.prefix||(r.prefix=Z()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:n,attributes:r,main:o,mask:s,maskId:l,transform:i}=t;const{width:u,icon:c}=o,{width:d,icon:m}=s,h=Pr({transform:i,containerWidth:d,iconWidth:u}),M={tag:"rect",attributes:{...qe,fill:"white"}},f=c.children?{children:c.children.map(dn)}:{},p={tag:"g",attributes:{...h.inner},children:[dn({tag:c.tag,attributes:{...c.attributes,...h.path},...f})]},y={tag:"g",attributes:{...h.outer},children:[p]},g="mask-".concat(l||Ne()),v="clip-".concat(l||Ne()),b={tag:"mask",attributes:{...qe,id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"},children:[M,y]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:Vo(m)},b]};return n.push(w,{tag:"rect",attributes:{fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(g,")"),...qe}}),{children:n,attributes:r}}}},Uo={provides(e){let t=!1;X.matchMedia&&(t=X.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const n=[],r={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:{...r,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"},l={tag:"circle",attributes:{...r,cx:"256",cy:"364",r:"28"},children:[]};return t||l.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(l),n.push({tag:"path",attributes:{...r,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:{...r,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}}}},Qo={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=n===null?!1:n===""?!0:n;return e.symbol=r,e}}}},Wo=[Yr,To,$o,ko,Do,Bo,Ro,Yo,Fo,Uo,Qo];no(Wo,{mixoutsTo:D});D.noAuto;const ra=D.config;D.library;D.dom;const ze=D.parse;D.findIconDefinition;D.toHtml;const Go=D.icon;D.layer;const Ho=D.text;D.counter;function mn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mn(Object(n),!0).forEach(function(r){E(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xo(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Zo(e){var t=Xo(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 E(e,t,n){return t=Zo(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jo(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Ko(e,t){if(e==null)return{};var n=Jo(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gt(e){return qo(e)||es(e)||ts(e)||ns()}function qo(e){if(Array.isArray(e))return ht(e)}function es(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ts(e,t){if(e){if(typeof e=="string")return ht(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 ht(e,t)}}function ht(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ns(){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 as=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},oa={exports:{}};(function(e){(function(t){var n=function(g,v,b){if(!c(v)||m(v)||h(v)||M(v)||u(v))return v;var w,N=0,T=0;if(d(v))for(w=[],T=v.length;N<T;N++)w.push(n(g,v[N],b));else{w={};for(var O in v)Object.prototype.hasOwnProperty.call(v,O)&&(w[g(O,b)]=n(g,v[O],b))}return w},r=function(g,v){v=v||{};var b=v.separator||"_",w=v.split||/(?=[A-Z])/;return g.split(w).join(b)},o=function(g){return f(g)?g:(g=g.replace(/[\-_\s]+(.)?/g,function(v,b){return b?b.toUpperCase():""}),g.substr(0,1).toLowerCase()+g.substr(1))},s=function(g){var v=o(g);return v.substr(0,1).toUpperCase()+v.substr(1)},l=function(g,v){return r(g,v).toLowerCase()},i=Object.prototype.toString,u=function(g){return typeof g=="function"},c=function(g){return g===Object(g)},d=function(g){return i.call(g)=="[object Array]"},m=function(g){return i.call(g)=="[object Date]"},h=function(g){return i.call(g)=="[object RegExp]"},M=function(g){return i.call(g)=="[object Boolean]"},f=function(g){return g=g-0,g===g},p=function(g,v){var b=v&&"process"in v?v.process:v;return typeof b!="function"?g:function(w,N){return b(w,g,N)}},y={camelize:o,decamelize:l,pascalize:s,depascalize:l,camelizeKeys:function(g,v){return n(p(o,v),g)},decamelizeKeys:function(g,v){return n(p(l,v),g,v)},pascalizeKeys:function(g,v){return n(p(s,v),g)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=y:t.humps=y})(as)})(oa);var rs=oa.exports,os=["class","style"];function ss(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),o=rs.camelize(n.slice(0,r)),s=n.slice(r+1).trim();return t[o]=s,t},{})}function is(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function Tt(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 r=(e.children||[]).map(function(u){return Tt(u)}),o=Object.keys(e.attributes||{}).reduce(function(u,c){var d=e.attributes[c];switch(c){case"class":u.class=is(d);break;case"style":u.style=ss(d);break;default:u.attrs[c]=d}return u},{attrs:{},class:{},style:{}});n.class;var s=n.style,l=s===void 0?{}:s,i=Ko(n,os);return a.h(e.tag,A(A(A({},t),{},{class:o.class,style:A(A({},o.style),l)},o.attrs),i),r)}var sa=!1;try{sa=process.env.NODE_ENV==="production"}catch{}function ls(){if(!sa&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function we(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?E({},e,t):{}}function cs(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"},E(E(E(E(E(E(E(E(E(E(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),E(E(t,"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse));return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function pn(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 ia=a.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 r=n.attrs,o=a.computed(function(){return pn(t.icon)}),s=a.computed(function(){return we("classes",cs(t))}),l=a.computed(function(){return we("transform",typeof t.transform=="string"?ze.transform(t.transform):t.transform)}),i=a.computed(function(){return we("mask",pn(t.mask))}),u=a.computed(function(){return Go(o.value,A(A(A(A({},s.value),l.value),i.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))});a.watch(u,function(d){if(!d)return ls("Could not find one or more icon(s)",o.value,i.value)},{immediate:!0});var c=a.computed(function(){return u.value?Tt(u.value.abstract[0],{},r):null});return function(){return c.value}}});a.defineComponent({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var r=n.slots,o=ra.familyPrefix,s=a.computed(function(){return["".concat(o,"-layers")].concat(gt(t.fixedWidth?["".concat(o,"-fw")]:[]))});return function(){return a.h("div",{class:s.value},r.default?r.default():[])}}});a.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 r=n.attrs,o=ra.familyPrefix,s=a.computed(function(){return we("classes",[].concat(gt(t.counter?["".concat(o,"-layers-counter")]:[]),gt(t.position?["".concat(o,"-layers-").concat(t.position)]:[])))}),l=a.computed(function(){return we("transform",typeof t.transform=="string"?ze.transform(t.transform):t.transform)}),i=a.computed(function(){var c=Ho(t.value.toString(),A(A({},l.value),s.value)),d=c.abstract;return t.counter&&(d[0].attributes.class=d[0].attributes.class.replace("fa-layers-text","")),d[0]}),u=a.computed(function(){return Tt(i.value,{},r)});return function(){return u.value}}});const us={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},fs={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},S={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"]},la=a.defineComponent({__name:"RecordTypeIcon",props:{recordType:{}},setup(e,{expose:t}){const n=a.ref(new Map([["Police & public interactions",S],["Police and public interactions",S],["Accident Reports",S],["Arrest Records",S],["Calls for Service",S],["Car GPS",S],["Citations",S],["Dispatch Logs",S],["Dispatch Recordings",S],["Field Contacts",S],["Incident Reports",S],["Misc Police Activity",S],["Officer Involved Shootings",S],["Stops",S],["Surveys",S],["Use of Force Reports",S],["Vehicle Pursuits",S],["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}),(r,o)=>n.value.has(r.recordType)?(a.openBlock(),a.createBlock(a.unref(ia),{key:0,icon:n.value.get(r.recordType)??[]},null,8,["icon"])):a.createCommentVNode("",!0)}}),ds=["id"],ms=["for"],ca=a.defineComponent({__name:"PdapInput",props:{type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{},defaultChecked:{type:Boolean}},setup(e){const t=e,n=a.computed(()=>`pdap-${t.name}-input-error`);return(r,o)=>{var s;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass({"pdap-input":!0,[`pdap-input-${r.type}`]:!0,[`pdap-input-${r.type}-checked`]:r.type===a.unref(z).CHECKBOX&&r.value==="true","pdap-input-error":Number((s=r.error)==null?void 0:s.length)>=1})},[r.type===a.unref(z).CHECKBOX?(a.openBlock(),a.createBlock(or,a.mergeProps({key:0,class:"pdap-input-checkbox"},{...r.$attrs,...t}),null,16)):(a.openBlock(),a.createBlock(ar,a.normalizeProps(a.mergeProps({key:1},{...r.$attrs,...r.$props})),null,16)),r.error?(a.openBlock(),a.createElementBlock("div",{key:2,id:n.value,class:"pdap-input-error-message"},a.toDisplayString(r.error),9,ds)):a.createCommentVNode("",!0),a.createElementVNode("label",{class:"pdap-input-label",for:r.id},[a.createTextVNode(a.toDisplayString(r.label)+" ",1),a.createVNode(la,{"record-type":r.label},null,8,["record-type"])],8,ms)],2)}}});function gn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?gn(Object(n),!0).forEach(function(r){ps(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ps(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 Be(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Ue(e){return Ce(e.$validator)?me({},e):{$validator:e}}function gs(e){return Be(e)&&Ce(e.then)}function K(e){return typeof e=="object"?e.$valid:e}function ie(e){return e.$validator||e}function $t(e,t){if(!Be(e))throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);if(!Be(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 Se(e,t){if(!Ce(e)&&typeof a.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(!Be(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 hs(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 ys(e){return{$validator(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return a.unref(t).reduce((s,l,i)=>{const u=Object.entries(l).reduce((c,d)=>{let[m,h]=d;const M=e[m]||{},f=Object.entries(M).reduce((p,y)=>{let[g,v]=y;const w=ie(v).call(this,h,l,i,...r),N=K(w);if(p.$data[g]=w,p.$data.$invalid=!N||!!p.$data.$invalid,p.$data.$error=p.$data.$invalid,!N){let T=v.$message||"";const O=v.$params||{};typeof T=="function"&&(T=T({$pending:!1,$invalid:!N,$params:O,$model:h,$response:w})),p.$errors.push({$property:m,$message:T,$params:O,$response:w,$model:h,$pending:!1,$validator:g})}return{$valid:p.$valid&&N,$data:p.$data,$errors:p.$errors}},{$valid:!0,$data:{},$errors:[]});return c.$data[m]=f.$data,c.$errors[m]=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(r=>Object.values(r).map(o=>o.map(s=>s.$message)).reduce((o,s)=>o.concat(s),[])):[]}}}const I=e=>{if(e=a.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},kt=e=>(e=a.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 r=>(r=a.unref(r),!I(r)||t.every(o=>(o.lastIndex=0,o.test(r))))}var ge=Object.freeze({__proto__:null,forEach:ys,len:kt,normalizeValidatorObject:Ue,regex:q,req:I,unwrap:a.unref,unwrapNormalizedValidator:ie,unwrapValidatorResponse:K,withAsync:hs,withMessage:Se,withParams:$t}),vs=q(/^[a-zA-Z]*$/),Ls={$validator:vs,$message:"The value is not alphabetical",$params:{type:"alpha"}},Ms=q(/^[a-zA-Z0-9]*$/),bs={$validator:Ms,$message:"The value must be alpha-numeric",$params:{type:"alphaNum"}},ws=q(/^\d*(\.\d+)?$/),js={$validator:ws,$message:"Value must be numeric",$params:{type:"numeric"}};function xs(e,t){return n=>!I(n)||(!/\s/.test(n)||n instanceof Date)&&+a.unref(e)<=+n&&+a.unref(t)>=+n}function Ns(e,t){return{$validator:xs(e,t),$message:n=>{let{$params:r}=n;return`The value must be between ${r.min} and ${r.max}`},$params:{min:e,max:t,type:"between"}}}const Cs=/^(?:[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 Ss=q(Cs),Dt={$validator:Ss,$message:"Value is not a valid email address",$params:{type:"email"}};function Es(e){if(!I(e))return!0;if(typeof e!="string")return!1;const t=e.split(".");return t.length===4&&t.every(Ts)}const Ts=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 $s={$validator:Es,$message:"The value is not a valid IP address",$params:{type:"ipAddress"}};function ks(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:":";return t=>{if(e=a.unref(e),!I(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(Ds)}}const Ds=e=>e.toLowerCase().match(/^[0-9a-f]{2}$/);function Is(e){return{$validator:ks(e),$message:"The value is not a valid MAC Address",$params:{type:"macAddress"}}}function Os(e){return t=>!I(t)||kt(t)<=a.unref(e)}function _s(e){return{$validator:Os(e),$message:t=>{let{$params:n}=t;return`The maximum length allowed is ${n.max}`},$params:{max:e,type:"maxLength"}}}function As(e){return t=>!I(t)||kt(t)>=a.unref(e)}function zs(e){return{$validator:As(e),$message:t=>{let{$params:n}=t;return`This field should be at least ${n.min} characters long`},$params:{min:e,type:"minLength"}}}function Ps(e){return typeof e=="string"&&(e=e.trim()),I(e)}var It={$validator:Ps,$message:"Value is required",$params:{type:"required"}};const hn=(e,t)=>e?I(typeof t=="string"?t.trim():t):!0;function Bs(e){return function(t,n){if(typeof e!="function")return hn(a.unref(e),t);const r=e.call(this,t,n);return hn(r,t)}}function Rs(e){return{$validator:Bs(e),$message:"The value is required",$params:{type:"requiredIf",prop:e}}}const yn=(e,t)=>e?!0:I(typeof t=="string"?t.trim():t);function Ys(e){return function(t,n){if(typeof e!="function")return yn(a.unref(e),t);const r=e.call(this,t,n);return yn(r,t)}}function Vs(e){return{$validator:Ys(e),$message:"The value is required",$params:{type:"requiredUnless",prop:e}}}function Fs(e){return t=>a.unref(t)===a.unref(e)}function Us(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"other";return{$validator:Fs(e),$message:n=>`The value must be equal to the ${t} value`,$params:{equalTo:e,otherName:t,type:"sameAs"}}}const Qs=/^(?:(?:(?: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 Ws=q(Qs),Gs={$validator:Ws,$message:"The value is not a valid URL address",$params:{type:"url"}};function Hs(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.reduce((o,s)=>K(o)?o:ie(s).apply(this,n),!1)}}function Xs(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.reduce(async(o,s)=>{const l=await o;return K(l)?l:ie(s).apply(this,n)},Promise.resolve(!1))}}function Zs(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.some(l=>l.$async),o=t.reduce((l,i)=>i.$watchTargets?l.concat(i.$watchTargets):l,[]);let s=()=>!1;return t.length&&(s=r?Xs(t):Hs(t)),{$async:r,$validator:s,$watchTargets:o}}function Js(){return $t({type:"or"},Se("The value does not match any of the provided validators",Zs(...arguments)))}function Ks(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.reduce((o,s)=>K(o)?ie(s).apply(this,n):o,!0)}}function qs(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.reduce(async(o,s)=>{const l=await o;return K(l)?ie(s).apply(this,n):l},Promise.resolve(!0))}}function ei(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.some(l=>l.$async),o=t.reduce((l,i)=>i.$watchTargets?l.concat(i.$watchTargets):l,[]);let s=()=>!1;return t.length&&(s=r?qs(t):Ks(t)),{$async:r,$validator:s,$watchTargets:o}}function ti(){return $t({type:"and"},Se("The value does not match all of the provided validators",ei(...arguments)))}function ni(e){return function(t,n){if(!I(t))return!0;const r=ie(e).call(this,t,n);return gs(r)?r.then(o=>!K(o)):!K(r)}}function ai(e){return{$validator:ni(e),$message:"The value does not match the provided validator",$params:{type:"not"}}}function ri(e){return t=>!I(t)||(!/\s/.test(t)||t instanceof Date)&&+t>=+a.unref(e)}function oi(e){return{$validator:ri(e),$message:t=>{let{$params:n}=t;return`The minimum value allowed is ${n.min}`},$params:{min:e,type:"minValue"}}}function si(e){return t=>!I(t)||(!/\s/.test(t)||t instanceof Date)&&+t<=+a.unref(e)}var ii=e=>({$validator:si(e),$message:t=>{let{$params:n}=t;return`The maximum value allowed is ${n.max}`},$params:{max:e,type:"maxValue"}}),li=q(/(^[0-9]*$)|(^-[0-9]+$)/),ci={$validator:li,$message:"Value is not an integer",$params:{type:"integer"}},ui=q(/^[-]?\d*(\.\d+)?$/),fi={$validator:ui,$message:"Value must be decimal",$params:{type:"decimal"}};function di(e){let{t,messagePath:n=o=>{let{$validator:s}=o;return`validations.${s}`},messageParams:r=o=>o}=e;return function(s){let{withArguments:l=!1,messagePath:i=n,messageParams:u=r}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function c(d){return t(i(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 l&&typeof s=="function"?function(){return Se(c,s(...arguments))}:Se(c,s)}}const ua=Object.freeze(Object.defineProperty({__proto__:null,alpha:Ls,alphaNum:bs,and:ti,between:Ns,createI18nMessage:di,decimal:fi,email:Dt,helpers:ge,integer:ci,ipAddress:$s,macAddress:Is,maxLength:_s,maxValue:ii,minLength:zs,minValue:oi,not:ai,numeric:js,or:Js,required:It,requiredIf:Rs,requiredUnless:Vs,sameAs:Us,url:Gs},Symbol.toStringTag,{value:"Module"})),fa=ge.regex(/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$ %^&*-]).{8,}$/);function vn(e){return["maxLength","minLength"].includes(e)}function Ln(e){return e==="required"}function Mn(e){return e==="email"}function bn(e){return e==="password"}function mi(e,t){return{[e]:ua[e](t)}}function pi(e,t,n){return{[e]:ge.withMessage(n,ua[e](t))}}function gi(){return{required:It}}function hi(e){return{required:ge.withMessage(e,It)}}function yi(){return{email:Dt}}function vi(e){return{email:ge.withMessage(e,Dt)}}function Li(){return{password:fa}}function Mi(e){return{password:ge.withMessage(e,fa)}}function da(e,t){if(vn(e)&&typeof t.message=="string"&&typeof t.value=="number")return pi(e,t.value,t.message);if(vn(e)&&typeof t.message>"u"&&typeof t.value=="number")return mi(e,t.value);if(Mn(e)&&typeof t.message=="string")return vi(t.message);if(Mn(e)&&typeof t.message>"u")return yi();if(bn(e)&&typeof t.message=="string")return Mi(t.message);if(bn(e)&&typeof t.message>"u")return Li();if(Ln(e)&&typeof t.message=="string")return hi(t.message);if(Ln(e)&&typeof t.message>"u")return gi();throw new Error("No valid rule detected")}const bi=["id","name","onSubmit"],wi={key:0,class:"pdap-form-error-message"},ji={name:"PdapForm"},ma=a.defineComponent({...ji,props:{error:{default:null},id:{},name:{},schema:{},resetOn:{type:[String,Boolean],default:"submit"}},emits:["submit","change"],setup(e,{expose:t,emit:n}){const r=e,o=n;t({setValues:h});const s=a.computed(()=>r.schema.map(f=>{const p={...f};return delete p.validators,p})),l=a.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}}},{})),i=r.schema.reduce((f,p)=>{const y=Object.entries(p.validators??{}).reduce((g,[v,b])=>({...g,...da(v,b)}),{});return{...f,[p.name]:{...y}}},{}),u=Cn(i,l,{$autoDirty:!1,$lazy:!0}),c=a.ref(r.error);a.watchEffect(()=>{r.error?c.value=r.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")}),a.watchEffect(()=>{r.resetOn&&r.resetOn!=="submit"&&m()});function d(f,p){const y=p.target,g=(()=>{switch(f.type){case z.CHECKBOX:return y.checked?"true":"false";default:return y.value}})();l.value[f.name]=g,o("change",l.value,p)}function m(){u.value.$reset(),l.value=Object.entries(l).reduce((f,[p])=>({...f,[p]:""}),{})}function h(f){l.value=f}async function M(f){await u.value.$validate()&&(o("submit",{...l.value},f),r.resetOn==="submit"&&m())}return(f,p)=>(a.openBlock(),a.createElementBlock("form",{id:f.id,name:f.name,class:"pdap-form",onSubmit:a.withModifiers(M,["prevent"])},[typeof c.value=="string"?(a.openBlock(),a.createElementBlock("div",wi,a.toDisplayString(c.value),1)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.value,y=>{var g,v,b,w;return a.openBlock(),a.createBlock(ca,a.mergeProps(y,{key:y.name,error:(g=a.unref(u)[y.name])!=null&&g.$error?(w=(b=(v=a.unref(u)[y.name])==null?void 0:v.$errors)==null?void 0:b[0])==null?void 0:w.$message:"",value:l.value[y.name],onInput:N=>d(y,N)}),null,16,["error","value","onInput"])}),128)),a.renderSlot(f.$slots,"default")],40,bi))}});function xi(e){return e.reduce((t,{name:n,validators:r})=>{const o=Object.entries(r??{}).reduce((s,[l,i])=>({...s,...da(l,i)}),{});return{...t,[n]:{...o}}},{})}const Qe=Symbol(),Ni=["id","name","onSubmit"],Ci={key:1,class:"pdap-form-error-message"},Si=a.defineComponent({__name:"PdapFormV2",props:{defaultValues:{},error:{default:null},id:{},name:{},schema:{}},emits:["submit"],setup(e,{expose:t,emit:n}){const{defaultValues:r,error:o,schema:s}=e,l=n,i=a.ref(o),u=a.ref(r??{}),c=xi(s),d=Cn(c,u,{$autoDirty:!1,$lazy:!0});a.provide(Qe,{setValues:m,values:u,rules:c,v$:d}),t({setValues:m});function m(f){u.value={...u.value,...f}}function h(){d.value.$reset(),u.value=Object.entries(u.value).reduce((f,[p])=>({...f,[p]:typeof u.value[p]=="string"?"":!!(r!=null&&r[p])}),{})}async function M(f){await d.value.$validate()&&(l("submit",{...u.value},f),h())}return a.watchEffect(()=>{o?i.value=o:i.value&&d.value.$errors.length===0?i.value=null:!i.value&&d.value.$errors.length>0&&(i.value="Please update this form to correct the errors")}),(f,p)=>(a.openBlock(),a.createElementBlock("form",{id:f.id,name:f.name,class:"pdap-form",onSubmit:a.withModifiers(M,["prevent"])},[f.$slots.error?a.renderSlot(f.$slots,"error",{key:0}):typeof i.value=="string"?(a.openBlock(),a.createElementBlock("div",Ci,a.toDisplayString(i.value),1)):a.createCommentVNode("",!0),a.renderSlot(f.$slots,"default")],40,Ni))}});const Ei={key:1,class:"pdap-input-error-message"},Ti=["id","name","defaultChecked","value"],$i=["for"],ki=a.defineComponent({__name:"PdapInputCheckbox",props:{id:{},label:{},name:{},defaultChecked:{type:Boolean}},setup(e){const{label:t,name:n}=e;if(!a.useSlots().label&&!t)throw new Error("All form inputs must have a label, passed as a slot or a prop");const{values:o,setValues:s,v$:l}=a.inject(Qe),i=a.computed(()=>{var c,d,m,h;return(c=l.value[n])!=null&&c.$error?(h=(m=(d=l.value[n])==null?void 0:d.$errors)==null?void 0:m[0])==null?void 0:h.$message:""});function u(c){s({[n]:c.target.checked})}return(c,d)=>{var m;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["pdap-input pdap-input-checkbox",{"pdap-input-error":i.value}])},[c.$slots.error?a.renderSlot(c.$slots,"error",{key:0,class:"pdap-input-error-message"}):i.value?(a.openBlock(),a.createElementBlock("div",Ei,a.toDisplayString(i.value),1)):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps({id:c.id,name:c.name,defaultChecked:c.defaultChecked,value:((m=a.unref(o))==null?void 0:m[c.name])??""},c.$attrs,{type:"checkbox",onInput:u}),null,16,Ti),c.$slots.label?a.renderSlot(c.$slots,"label",{key:2,for:c.id}):c.label?(a.openBlock(),a.createElementBlock("label",{key:3,for:c.id},a.toDisplayString(c.label),9,$i)):a.createCommentVNode("",!0)],2)}}}),Di={key:1,class:"pdap-input-error-message"},Ii={class:"pdap-input-password-wrapper"},Oi=["id","name","placeholder","value","type"],_i=["aria-label"],Ai=["for"],zi=a.defineComponent({__name:"PdapInputPassword",props:{id:{},label:{},name:{},placeholder:{}},setup(e){const{label:t,name:n}=e;if(!a.useSlots().label&&!t)throw new Error("All form inputs must have a label, passed as a slot or a prop");const{values:o,setValues:s,v$:l}=a.inject(Qe),i=a.computed(()=>{var m,h,M,f;return(m=l.value[n])!=null&&m.$error?(f=(M=(h=l.value[n])==null?void 0:h.$errors)==null?void 0:M[0])==null?void 0:f.$message:""}),u=a.ref(!0);function c(m){s({[n]:m.target.value})}function d(){u.value=!u.value}return(m,h)=>{var M;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["pdap-input pdap-input-password",{"pdap-input-error":i.value}])},[m.$slots.error?a.renderSlot(m.$slots,"error",{key:0,class:"pdap-input-error-message"}):i.value?(a.openBlock(),a.createElementBlock("div",Di,a.toDisplayString(i.value),1)):a.createCommentVNode("",!0),a.createElementVNode("div",Ii,[a.createElementVNode("input",a.mergeProps({id:m.id,name:m.name,placeholder:m.placeholder??"Password",value:(M=a.unref(o))==null?void 0:M[m.name]},m.$attrs,{type:u.value?"password":"text",onInput:c}),null,16,Oi),a.createElementVNode("button",{type:"button",class:"pdap-input-password-toggle","aria-label":u.value?"Show text":"Hide text",onClick:d},[a.createVNode(a.unref(ia),{icon:u.value?a.unref(fs):a.unref(us)},null,8,["icon"])],8,_i)]),m.$slots.label?a.renderSlot(m.$slots,"label",{key:2,for:m.id}):m.label?(a.openBlock(),a.createElementBlock("label",{key:3,for:m.id},a.toDisplayString(m.label),9,Ai)):a.createCommentVNode("",!0)],2)}}});const Pi={key:1,class:"pdap-input-error-message"},Bi=["id","name","placeholder","value"],Ri=["for"],Yi=a.defineComponent({__name:"PdapInputText",props:{id:{},label:{},name:{},placeholder:{}},setup(e){const{label:t,name:n}=e;if(!a.useSlots().label&&!t)throw new Error("All form inputs must have a label, passed as a slot or a prop");const{values:o,setValues:s,v$:l}=a.inject(Qe),i=a.computed(()=>{var c,d,m,h;return(c=l.value[n])!=null&&c.$error?(h=(m=(d=l.value[n])==null?void 0:d.$errors)==null?void 0:m[0])==null?void 0:h.$message:""});function u(c){s({[n]:c.target.value})}return(c,d)=>{var m;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["pdap-input",{"pdap-input-error":i.value}])},[c.$slots.error?a.renderSlot(c.$slots,"error",{key:0,class:"pdap-input-error-message"}):i.value?(a.openBlock(),a.createElementBlock("div",Pi,a.toDisplayString(i.value),1)):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps({id:c.id,name:c.name,placeholder:c.placeholder,value:((m=a.unref(o))==null?void 0:m[c.name])??""},c.$attrs,{type:"text",onInput:u}),null,16,Bi),c.$slots.label?a.renderSlot(c.$slots,"label",{key:2,for:c.id}):c.label?(a.openBlock(),a.createElementBlock("label",{key:3,for:c.id},a.toDisplayString(c.label),9,Ri)):a.createCommentVNode("",!0)],2)}}}),Vi=e=>(a.pushScopeId("data-v-3158c5fc"),e=e(),a.popScopeId(),e),Fi=["aria-label","aria-expanded","onKeyup"],Ui=Vi(()=>a.createElementVNode("svg",{"aria-label":"Menu",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},[a.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)),Qi=[Ui],Wi=["aria-hidden"],Gi=["href"],Hi={name:"PdapHeader"},Xi=a.defineComponent({...Hi,setup(e){let t=a.inject("navLinks");typeof t>"u"&&(t=[],console.error(`Hey, PDAP developer
556
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var as=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},oa={exports:{}};(function(e){(function(t){var n=function(g,v,b){if(!c(v)||m(v)||h(v)||M(v)||u(v))return v;var w,N=0,T=0;if(d(v))for(w=[],T=v.length;N<T;N++)w.push(n(g,v[N],b));else{w={};for(var O in v)Object.prototype.hasOwnProperty.call(v,O)&&(w[g(O,b)]=n(g,v[O],b))}return w},r=function(g,v){v=v||{};var b=v.separator||"_",w=v.split||/(?=[A-Z])/;return g.split(w).join(b)},o=function(g){return f(g)?g:(g=g.replace(/[\-_\s]+(.)?/g,function(v,b){return b?b.toUpperCase():""}),g.substr(0,1).toLowerCase()+g.substr(1))},s=function(g){var v=o(g);return v.substr(0,1).toUpperCase()+v.substr(1)},l=function(g,v){return r(g,v).toLowerCase()},i=Object.prototype.toString,u=function(g){return typeof g=="function"},c=function(g){return g===Object(g)},d=function(g){return i.call(g)=="[object Array]"},m=function(g){return i.call(g)=="[object Date]"},h=function(g){return i.call(g)=="[object RegExp]"},M=function(g){return i.call(g)=="[object Boolean]"},f=function(g){return g=g-0,g===g},p=function(g,v){var b=v&&"process"in v?v.process:v;return typeof b!="function"?g:function(w,N){return b(w,g,N)}},y={camelize:o,decamelize:l,pascalize:s,depascalize:l,camelizeKeys:function(g,v){return n(p(o,v),g)},decamelizeKeys:function(g,v){return n(p(l,v),g,v)},pascalizeKeys:function(g,v){return n(p(s,v),g)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=y:t.humps=y})(as)})(oa);var rs=oa.exports,os=["class","style"];function ss(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),o=rs.camelize(n.slice(0,r)),s=n.slice(r+1).trim();return t[o]=s,t},{})}function is(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function Tt(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 r=(e.children||[]).map(function(u){return Tt(u)}),o=Object.keys(e.attributes||{}).reduce(function(u,c){var d=e.attributes[c];switch(c){case"class":u.class=is(d);break;case"style":u.style=ss(d);break;default:u.attrs[c]=d}return u},{attrs:{},class:{},style:{}});n.class;var s=n.style,l=s===void 0?{}:s,i=Ko(n,os);return a.h(e.tag,A(A(A({},t),{},{class:o.class,style:A(A({},o.style),l)},o.attrs),i),r)}var sa=!1;try{sa=process.env.NODE_ENV==="production"}catch{}function ls(){if(!sa&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function we(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?E({},e,t):{}}function cs(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"},E(E(E(E(E(E(E(E(E(E(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),E(E(t,"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse));return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function pn(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 ia=a.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 r=n.attrs,o=a.computed(function(){return pn(t.icon)}),s=a.computed(function(){return we("classes",cs(t))}),l=a.computed(function(){return we("transform",typeof t.transform=="string"?ze.transform(t.transform):t.transform)}),i=a.computed(function(){return we("mask",pn(t.mask))}),u=a.computed(function(){return Go(o.value,A(A(A(A({},s.value),l.value),i.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))});a.watch(u,function(d){if(!d)return ls("Could not find one or more icon(s)",o.value,i.value)},{immediate:!0});var c=a.computed(function(){return u.value?Tt(u.value.abstract[0],{},r):null});return function(){return c.value}}});a.defineComponent({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var r=n.slots,o=ra.familyPrefix,s=a.computed(function(){return["".concat(o,"-layers")].concat(gt(t.fixedWidth?["".concat(o,"-fw")]:[]))});return function(){return a.h("div",{class:s.value},r.default?r.default():[])}}});a.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 r=n.attrs,o=ra.familyPrefix,s=a.computed(function(){return we("classes",[].concat(gt(t.counter?["".concat(o,"-layers-counter")]:[]),gt(t.position?["".concat(o,"-layers-").concat(t.position)]:[])))}),l=a.computed(function(){return we("transform",typeof t.transform=="string"?ze.transform(t.transform):t.transform)}),i=a.computed(function(){var c=Ho(t.value.toString(),A(A({},l.value),s.value)),d=c.abstract;return t.counter&&(d[0].attributes.class=d[0].attributes.class.replace("fa-layers-text","")),d[0]}),u=a.computed(function(){return Tt(i.value,{},r)});return function(){return u.value}}});const us={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},fs={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},S={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"]},la=a.defineComponent({__name:"RecordTypeIcon",props:{recordType:{}},setup(e,{expose:t}){const n=a.ref(new Map([["Police & public interactions",S],["Police and public interactions",S],["Accident Reports",S],["Arrest Records",S],["Calls for Service",S],["Car GPS",S],["Citations",S],["Dispatch Logs",S],["Dispatch Recordings",S],["Field Contacts",S],["Incident Reports",S],["Misc Police Activity",S],["Officer Involved Shootings",S],["Stops",S],["Surveys",S],["Use of Force Reports",S],["Vehicle Pursuits",S],["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}),(r,o)=>n.value.has(r.recordType)?(a.openBlock(),a.createBlock(a.unref(ia),{key:0,icon:n.value.get(r.recordType)??[]},null,8,["icon"])):a.createCommentVNode("",!0)}}),ds=["id"],ms=["for"],ca=a.defineComponent({__name:"PdapInput",props:{type:{},error:{},id:{},label:{},name:{},placeholder:{},value:{},defaultChecked:{type:Boolean}},setup(e){const t=e,n=a.computed(()=>`pdap-${t.name}-input-error`);return(r,o)=>{var s;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass({"pdap-input":!0,[`pdap-input-${r.type}`]:!0,[`pdap-input-${r.type}-checked`]:r.type===a.unref(z).CHECKBOX&&r.value==="true","pdap-input-error":Number((s=r.error)==null?void 0:s.length)>=1})},[r.type===a.unref(z).CHECKBOX?(a.openBlock(),a.createBlock(or,a.mergeProps({key:0,class:"pdap-input-checkbox"},{...r.$attrs,...t}),null,16)):(a.openBlock(),a.createBlock(ar,a.normalizeProps(a.mergeProps({key:1},{...r.$attrs,...r.$props})),null,16)),r.error?(a.openBlock(),a.createElementBlock("div",{key:2,id:n.value,class:"pdap-input-error-message"},a.toDisplayString(r.error),9,ds)):a.createCommentVNode("",!0),a.createElementVNode("label",{class:"pdap-input-label",for:r.id},[a.createTextVNode(a.toDisplayString(r.label)+" ",1),a.createVNode(la,{"record-type":r.label},null,8,["record-type"])],8,ms)],2)}}});function gn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?gn(Object(n),!0).forEach(function(r){ps(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ps(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 Be(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Ue(e){return Ce(e.$validator)?me({},e):{$validator:e}}function gs(e){return Be(e)&&Ce(e.then)}function K(e){return typeof e=="object"?e.$valid:e}function ie(e){return e.$validator||e}function $t(e,t){if(!Be(e))throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);if(!Be(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 Se(e,t){if(!Ce(e)&&typeof a.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(!Be(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 hs(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 ys(e){return{$validator(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return a.unref(t).reduce((s,l,i)=>{const u=Object.entries(l).reduce((c,d)=>{let[m,h]=d;const M=e[m]||{},f=Object.entries(M).reduce((p,y)=>{let[g,v]=y;const w=ie(v).call(this,h,l,i,...r),N=K(w);if(p.$data[g]=w,p.$data.$invalid=!N||!!p.$data.$invalid,p.$data.$error=p.$data.$invalid,!N){let T=v.$message||"";const O=v.$params||{};typeof T=="function"&&(T=T({$pending:!1,$invalid:!N,$params:O,$model:h,$response:w})),p.$errors.push({$property:m,$message:T,$params:O,$response:w,$model:h,$pending:!1,$validator:g})}return{$valid:p.$valid&&N,$data:p.$data,$errors:p.$errors}},{$valid:!0,$data:{},$errors:[]});return c.$data[m]=f.$data,c.$errors[m]=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(r=>Object.values(r).map(o=>o.map(s=>s.$message)).reduce((o,s)=>o.concat(s),[])):[]}}}const I=e=>{if(e=a.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},kt=e=>(e=a.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 r=>(r=a.unref(r),!I(r)||t.every(o=>(o.lastIndex=0,o.test(r))))}var ge=Object.freeze({__proto__:null,forEach:ys,len:kt,normalizeValidatorObject:Ue,regex:q,req:I,unwrap:a.unref,unwrapNormalizedValidator:ie,unwrapValidatorResponse:K,withAsync:hs,withMessage:Se,withParams:$t}),vs=q(/^[a-zA-Z]*$/),Ls={$validator:vs,$message:"The value is not alphabetical",$params:{type:"alpha"}},Ms=q(/^[a-zA-Z0-9]*$/),bs={$validator:Ms,$message:"The value must be alpha-numeric",$params:{type:"alphaNum"}},ws=q(/^\d*(\.\d+)?$/),js={$validator:ws,$message:"Value must be numeric",$params:{type:"numeric"}};function xs(e,t){return n=>!I(n)||(!/\s/.test(n)||n instanceof Date)&&+a.unref(e)<=+n&&+a.unref(t)>=+n}function Ns(e,t){return{$validator:xs(e,t),$message:n=>{let{$params:r}=n;return`The value must be between ${r.min} and ${r.max}`},$params:{min:e,max:t,type:"between"}}}const Cs=/^(?:[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 Ss=q(Cs),Dt={$validator:Ss,$message:"Value is not a valid email address",$params:{type:"email"}};function Es(e){if(!I(e))return!0;if(typeof e!="string")return!1;const t=e.split(".");return t.length===4&&t.every(Ts)}const Ts=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 $s={$validator:Es,$message:"The value is not a valid IP address",$params:{type:"ipAddress"}};function ks(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:":";return t=>{if(e=a.unref(e),!I(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(Ds)}}const Ds=e=>e.toLowerCase().match(/^[0-9a-f]{2}$/);function Is(e){return{$validator:ks(e),$message:"The value is not a valid MAC Address",$params:{type:"macAddress"}}}function Os(e){return t=>!I(t)||kt(t)<=a.unref(e)}function _s(e){return{$validator:Os(e),$message:t=>{let{$params:n}=t;return`The maximum length allowed is ${n.max}`},$params:{max:e,type:"maxLength"}}}function As(e){return t=>!I(t)||kt(t)>=a.unref(e)}function zs(e){return{$validator:As(e),$message:t=>{let{$params:n}=t;return`This field should be at least ${n.min} characters long`},$params:{min:e,type:"minLength"}}}function Ps(e){return typeof e=="string"&&(e=e.trim()),I(e)}var It={$validator:Ps,$message:"Value is required",$params:{type:"required"}};const hn=(e,t)=>e?I(typeof t=="string"?t.trim():t):!0;function Bs(e){return function(t,n){if(typeof e!="function")return hn(a.unref(e),t);const r=e.call(this,t,n);return hn(r,t)}}function Rs(e){return{$validator:Bs(e),$message:"The value is required",$params:{type:"requiredIf",prop:e}}}const yn=(e,t)=>e?!0:I(typeof t=="string"?t.trim():t);function Ys(e){return function(t,n){if(typeof e!="function")return yn(a.unref(e),t);const r=e.call(this,t,n);return yn(r,t)}}function Vs(e){return{$validator:Ys(e),$message:"The value is required",$params:{type:"requiredUnless",prop:e}}}function Fs(e){return t=>a.unref(t)===a.unref(e)}function Us(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"other";return{$validator:Fs(e),$message:n=>`The value must be equal to the ${t} value`,$params:{equalTo:e,otherName:t,type:"sameAs"}}}const Qs=/^(?:(?:(?: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 Ws=q(Qs),Gs={$validator:Ws,$message:"The value is not a valid URL address",$params:{type:"url"}};function Hs(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.reduce((o,s)=>K(o)?o:ie(s).apply(this,n),!1)}}function Xs(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.reduce(async(o,s)=>{const l=await o;return K(l)?l:ie(s).apply(this,n)},Promise.resolve(!1))}}function Zs(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.some(l=>l.$async),o=t.reduce((l,i)=>i.$watchTargets?l.concat(i.$watchTargets):l,[]);let s=()=>!1;return t.length&&(s=r?Xs(t):Hs(t)),{$async:r,$validator:s,$watchTargets:o}}function Js(){return $t({type:"or"},Se("The value does not match any of the provided validators",Zs(...arguments)))}function Ks(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.reduce((o,s)=>K(o)?ie(s).apply(this,n):o,!0)}}function qs(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.reduce(async(o,s)=>{const l=await o;return K(l)?ie(s).apply(this,n):l},Promise.resolve(!0))}}function ei(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.some(l=>l.$async),o=t.reduce((l,i)=>i.$watchTargets?l.concat(i.$watchTargets):l,[]);let s=()=>!1;return t.length&&(s=r?qs(t):Ks(t)),{$async:r,$validator:s,$watchTargets:o}}function ti(){return $t({type:"and"},Se("The value does not match all of the provided validators",ei(...arguments)))}function ni(e){return function(t,n){if(!I(t))return!0;const r=ie(e).call(this,t,n);return gs(r)?r.then(o=>!K(o)):!K(r)}}function ai(e){return{$validator:ni(e),$message:"The value does not match the provided validator",$params:{type:"not"}}}function ri(e){return t=>!I(t)||(!/\s/.test(t)||t instanceof Date)&&+t>=+a.unref(e)}function oi(e){return{$validator:ri(e),$message:t=>{let{$params:n}=t;return`The minimum value allowed is ${n.min}`},$params:{min:e,type:"minValue"}}}function si(e){return t=>!I(t)||(!/\s/.test(t)||t instanceof Date)&&+t<=+a.unref(e)}var ii=e=>({$validator:si(e),$message:t=>{let{$params:n}=t;return`The maximum value allowed is ${n.max}`},$params:{max:e,type:"maxValue"}}),li=q(/(^[0-9]*$)|(^-[0-9]+$)/),ci={$validator:li,$message:"Value is not an integer",$params:{type:"integer"}},ui=q(/^[-]?\d*(\.\d+)?$/),fi={$validator:ui,$message:"Value must be decimal",$params:{type:"decimal"}};function di(e){let{t,messagePath:n=o=>{let{$validator:s}=o;return`validations.${s}`},messageParams:r=o=>o}=e;return function(s){let{withArguments:l=!1,messagePath:i=n,messageParams:u=r}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function c(d){return t(i(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 l&&typeof s=="function"?function(){return Se(c,s(...arguments))}:Se(c,s)}}const ua=Object.freeze(Object.defineProperty({__proto__:null,alpha:Ls,alphaNum:bs,and:ti,between:Ns,createI18nMessage:di,decimal:fi,email:Dt,helpers:ge,integer:ci,ipAddress:$s,macAddress:Is,maxLength:_s,maxValue:ii,minLength:zs,minValue:oi,not:ai,numeric:js,or:Js,required:It,requiredIf:Rs,requiredUnless:Vs,sameAs:Us,url:Gs},Symbol.toStringTag,{value:"Module"})),fa=ge.regex(/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$ %^&*-]).{8,}$/);function vn(e){return["maxLength","minLength"].includes(e)}function Ln(e){return e==="required"}function Mn(e){return e==="email"}function bn(e){return e==="password"}function mi(e,t){return{[e]:ua[e](t)}}function pi(e,t,n){return{[e]:ge.withMessage(n,ua[e](t))}}function gi(){return{required:It}}function hi(e){return{required:ge.withMessage(e,It)}}function yi(){return{email:Dt}}function vi(e){return{email:ge.withMessage(e,Dt)}}function Li(){return{password:fa}}function Mi(e){return{password:ge.withMessage(e,fa)}}function da(e,t){if(vn(e)&&typeof t.message=="string"&&typeof t.value=="number")return pi(e,t.value,t.message);if(vn(e)&&typeof t.message>"u"&&typeof t.value=="number")return mi(e,t.value);if(Mn(e)&&typeof t.message=="string")return vi(t.message);if(Mn(e)&&typeof t.message>"u")return yi();if(bn(e)&&typeof t.message=="string")return Mi(t.message);if(bn(e)&&typeof t.message>"u")return Li();if(Ln(e)&&typeof t.message=="string")return hi(t.message);if(Ln(e)&&typeof t.message>"u")return gi();throw new Error("No valid rule detected")}const bi=["id","name","onSubmit"],wi={key:0,class:"pdap-form-error-message"},ji={name:"PdapForm"},ma=a.defineComponent({...ji,props:{error:{default:null},id:{},name:{},schema:{},resetOn:{type:[String,Boolean],default:"submit"}},emits:["submit","change"],setup(e,{expose:t,emit:n}){const r=e,o=n;t({setValues:h});const s=a.computed(()=>r.schema.map(f=>{const p={...f};return delete p.validators,p})),l=a.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}}},{})),i=r.schema.reduce((f,p)=>{const y=Object.entries(p.validators??{}).reduce((g,[v,b])=>({...g,...da(v,b)}),{});return{...f,[p.name]:{...y}}},{}),u=Cn(i,l,{$autoDirty:!1,$lazy:!0}),c=a.ref(r.error);a.watchEffect(()=>{r.error?c.value=r.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")}),a.watchEffect(()=>{r.resetOn&&r.resetOn!=="submit"&&m()});function d(f,p){const y=p.target,g=(()=>{switch(f.type){case z.CHECKBOX:return y.checked?"true":"false";default:return y.value}})();l.value[f.name]=g,o("change",l.value,p)}function m(){u.value.$reset(),l.value=Object.entries(l).reduce((f,[p])=>({...f,[p]:""}),{})}function h(f){l.value=f}async function M(f){await u.value.$validate()&&(o("submit",{...l.value},f),r.resetOn==="submit"&&m())}return(f,p)=>(a.openBlock(),a.createElementBlock("form",{id:f.id,name:f.name,class:"pdap-form",onSubmit:a.withModifiers(M,["prevent"])},[typeof c.value=="string"?(a.openBlock(),a.createElementBlock("div",wi,a.toDisplayString(c.value),1)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.value,y=>{var g,v,b,w;return a.openBlock(),a.createBlock(ca,a.mergeProps(y,{key:y.name,error:(g=a.unref(u)[y.name])!=null&&g.$error?(w=(b=(v=a.unref(u)[y.name])==null?void 0:v.$errors)==null?void 0:b[0])==null?void 0:w.$message:"",value:l.value[y.name],onInput:N=>d(y,N)}),null,16,["error","value","onInput"])}),128)),a.renderSlot(f.$slots,"default")],40,bi))}});function xi(e){return e.reduce((t,{name:n,validators:r})=>{const o=Object.entries(r??{}).reduce((s,[l,i])=>({...s,...da(l,i)}),{});return{...t,[n]:{...o}}},{})}const Qe=Symbol(),Ni=["id","name","onSubmit"],Ci={key:1,class:"pdap-form-error-message"},Si=a.defineComponent({__name:"PdapFormV2",props:{defaultValues:{},error:{default:null},id:{},name:{},schema:{}},emits:["submit","change"],setup(e,{expose:t,emit:n}){const{defaultValues:r,error:o,schema:s}=e,l=n,i=a.ref(o),u=a.ref(r??{}),c=s?xi(s):{},d=Cn(c,u,{$autoDirty:!1,$lazy:!0});a.provide(Qe,{setValues:m,values:u,rules:c,v$:d}),t({setValues:m});function m(f){u.value={...u.value,...f}}function h(){d.value.$reset(),u.value=Object.entries(u.value).reduce((f,[p])=>({...f,[p]:typeof u.value[p]=="string"?"":!!(r!=null&&r[p])}),{})}async function M(f){await d.value.$validate()&&(l("submit",{...u.value},f),h())}return a.watchEffect(()=>{o?i.value=o:i.value&&d.value.$errors.length===0?i.value=null:!i.value&&d.value.$errors.length>0&&(i.value="Please update this form to correct the errors")}),(f,p)=>(a.openBlock(),a.createElementBlock("form",{id:f.id,name:f.name,class:"pdap-form",onSubmit:a.withModifiers(M,["prevent"]),onChange:p[0]||(p[0]=y=>l("change",u.value,y))},[f.$slots.error?a.renderSlot(f.$slots,"error",{key:0}):typeof i.value=="string"?(a.openBlock(),a.createElementBlock("div",Ci,a.toDisplayString(i.value),1)):a.createCommentVNode("",!0),a.renderSlot(f.$slots,"default")],40,Ni))}});const Ei={key:1,class:"pdap-input-error-message"},Ti=["id","name","defaultChecked","value"],$i=["for"],ki=a.defineComponent({__name:"PdapInputCheckbox",props:{id:{},label:{},name:{},defaultChecked:{type:Boolean}},setup(e){const{label:t,name:n}=e;if(!a.useSlots().label&&!t)throw new Error("All form inputs must have a label, passed as a slot or a prop");const{values:o,setValues:s,v$:l}=a.inject(Qe),i=a.computed(()=>{var c,d,m,h;return(c=l.value[n])!=null&&c.$error?(h=(m=(d=l.value[n])==null?void 0:d.$errors)==null?void 0:m[0])==null?void 0:h.$message:""});function u(c){s({[n]:c.target.checked})}return(c,d)=>{var m;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["pdap-input pdap-input-checkbox",{"pdap-input-error":i.value}])},[c.$slots.error?a.renderSlot(c.$slots,"error",{key:0,class:"pdap-input-error-message"}):i.value?(a.openBlock(),a.createElementBlock("div",Ei,a.toDisplayString(i.value),1)):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps({id:c.id,name:c.name,defaultChecked:c.defaultChecked,value:((m=a.unref(o))==null?void 0:m[c.name])??""},c.$attrs,{type:"checkbox",onInput:u}),null,16,Ti),c.$slots.label?a.renderSlot(c.$slots,"label",{key:2,for:c.id}):c.label?(a.openBlock(),a.createElementBlock("label",{key:3,for:c.id},a.toDisplayString(c.label),9,$i)):a.createCommentVNode("",!0)],2)}}}),Di={key:1,class:"pdap-input-error-message"},Ii={class:"pdap-input-password-wrapper"},Oi=["id","name","placeholder","value","type"],_i=["aria-label"],Ai=["for"],zi=a.defineComponent({__name:"PdapInputPassword",props:{id:{},label:{},name:{},placeholder:{}},setup(e){const{label:t,name:n}=e;if(!a.useSlots().label&&!t)throw new Error("All form inputs must have a label, passed as a slot or a prop");const{values:o,setValues:s,v$:l}=a.inject(Qe),i=a.computed(()=>{var m,h,M,f;return(m=l.value[n])!=null&&m.$error?(f=(M=(h=l.value[n])==null?void 0:h.$errors)==null?void 0:M[0])==null?void 0:f.$message:""}),u=a.ref(!0);function c(m){s({[n]:m.target.value})}function d(){u.value=!u.value}return(m,h)=>{var M;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["pdap-input pdap-input-password",{"pdap-input-error":i.value}])},[m.$slots.error?a.renderSlot(m.$slots,"error",{key:0,class:"pdap-input-error-message"}):i.value?(a.openBlock(),a.createElementBlock("div",Di,a.toDisplayString(i.value),1)):a.createCommentVNode("",!0),a.createElementVNode("div",Ii,[a.createElementVNode("input",a.mergeProps({id:m.id,name:m.name,placeholder:m.placeholder??"Password",value:(M=a.unref(o))==null?void 0:M[m.name]},m.$attrs,{type:u.value?"password":"text",onInput:c}),null,16,Oi),a.createElementVNode("button",{type:"button",class:"pdap-input-password-toggle","aria-label":u.value?"Show text":"Hide text",onClick:d},[a.createVNode(a.unref(ia),{icon:u.value?a.unref(fs):a.unref(us)},null,8,["icon"])],8,_i)]),m.$slots.label?a.renderSlot(m.$slots,"label",{key:2,for:m.id}):m.label?(a.openBlock(),a.createElementBlock("label",{key:3,for:m.id},a.toDisplayString(m.label),9,Ai)):a.createCommentVNode("",!0)],2)}}});const Pi={key:1,class:"pdap-input-error-message"},Bi=["id","name","placeholder","value"],Ri=["for"],Yi=a.defineComponent({__name:"PdapInputText",props:{id:{},label:{},name:{},placeholder:{}},setup(e){const{label:t,name:n}=e;if(!a.useSlots().label&&!t)throw new Error("All form inputs must have a label, passed as a slot or a prop");const{values:o,setValues:s,v$:l}=a.inject(Qe),i=a.computed(()=>{var c,d,m,h;return(c=l.value[n])!=null&&c.$error?(h=(m=(d=l.value[n])==null?void 0:d.$errors)==null?void 0:m[0])==null?void 0:h.$message:""});function u(c){s({[n]:c.target.value})}return(c,d)=>{var m;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["pdap-input",{"pdap-input-error":i.value}])},[c.$slots.error?a.renderSlot(c.$slots,"error",{key:0,class:"pdap-input-error-message"}):i.value?(a.openBlock(),a.createElementBlock("div",Pi,a.toDisplayString(i.value),1)):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps({id:c.id,name:c.name,placeholder:c.placeholder,value:((m=a.unref(o))==null?void 0:m[c.name])??""},c.$attrs,{type:"text",onInput:u}),null,16,Bi),c.$slots.label?a.renderSlot(c.$slots,"label",{key:2,for:c.id}):c.label?(a.openBlock(),a.createElementBlock("label",{key:3,for:c.id},a.toDisplayString(c.label),9,Ri)):a.createCommentVNode("",!0)],2)}}}),Vi=e=>(a.pushScopeId("data-v-3158c5fc"),e=e(),a.popScopeId(),e),Fi=["aria-label","aria-expanded","onKeyup"],Ui=Vi(()=>a.createElementVNode("svg",{"aria-label":"Menu",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},[a.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)),Qi=[Ui],Wi=["aria-hidden"],Gi=["href"],Hi={name:"PdapHeader"},Xi=a.defineComponent({...Hi,setup(e){let t=a.inject("navLinks");typeof t>"u"&&(t=[],console.error(`Hey, PDAP developer
557
557
  `,"Did you forget to inject some linkData for the Nav component?"));const n=a.reactive({isExpanded:!1,isMobile:!0});a.onBeforeMount(()=>{r(),window.addEventListener("resize",r)}),a.onBeforeUnmount(()=>{window.removeEventListener("resize",r)});async function r(){window.innerWidth<=1024?n.isMobile=!0:n.isMobile=!1,await a.nextTick()}async function o(){var l,i;const s=document.querySelector("body");!n.isExpanded&&n.isMobile?(n.isExpanded=!0,s!=null&&s.classList.contains("lock-scroll")||(l=document.querySelector("body"))==null||l.classList.add("lock-scroll")):n.isExpanded&&n.isMobile&&(n.isExpanded=!1,(i=document.querySelector("body"))==null||i.classList.remove("lock-scroll")),await a.nextTick()}return(s,l)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.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:a.withKeys(o,["enter"])},Qi,40,Fi),a.createVNode(a.Transition,null,{default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("nav",{id:"nav","aria-hidden":!(n.isMobile&&n.isExpanded),class:"pdap-nav"},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(t),i=>(a.openBlock(),a.createElementBlock("li",{key:i.text,class:"pdap-nav-link-container"},[i.href?(a.openBlock(),a.createElementBlock("a",{key:0,class:"pdap-nav-link",href:i.href,target:"_blank",referrerpolicy:"no-referrer",onClick:o},a.toDisplayString(i.text),9,Gi)):a.createCommentVNode("",!0),i.path?(a.openBlock(),a.createBlock(a.unref(ce.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:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.text),1)]),_:2},1032,["to"])):a.createCommentVNode("",!0)]))),128))],8,Wi),[[a.vShow,n.isMobile&&n.isExpanded||!n.isMobile]])]),_:1})],64))}});const Ot=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},pa=Ot(Xi,[["__scopeId","data-v-3158c5fc"]]),Zi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0id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/"}},setup(e){const t=e,n=a.ref(null),r=t.logoImageAnchorPath.startsWith("/");a.onMounted(()=>{o(),window.addEventListener("resize",o)}),a.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,l)=>(a.openBlock(),a.createElementBlock("header",{ref_key:"el",ref:n,class:"pdap-header"},[a.unref(r)?(a.openBlock(),a.createBlock(a.unref(ce.RouterLink),{key:1,to:s.logoImageAnchorPath,class:"logo"},{default:a.withCtx(()=>[a.createElementVNode("img",{src:s.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,qi)]),_:1},8,["to"])):(a.openBlock(),a.createElementBlock("a",{key:0,href:s.logoImageAnchorPath,class:"logo"},[a.createElementVNode("img",{src:s.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Ki)],8,Ji)),a.createVNode(pa)],512))}});const nl=a.createElementVNode("div",{class:"pdap-flex-container"},[a.createElementVNode("h2",{class:"mt-0"},"Search our database"),a.createElementVNode("p",{class:"pb-4 md:pb-8"},[a.createTextVNode(" If you are looking for something specific, we may already be tracking it. "),a.createElementVNode("a",{href:"https://pdap.io/data"},"Learn more about the data here.")])],-1),al={class:"pdap-quick-search-form h-full max-h-[75-vh] justify-start p-0"},rl={class:"max-w-[unset] text-med"},ol=["href"],sl=["href"],il={name:"QuickSearchForm"},ll=a.defineComponent({...il,props:{baseUrlForRedirect:{default:"https://data-sources.pdap.io"}},setup(e){const t=ce.useRouter(),n=e,r=[{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=a.ref(void 0),s=t.getRoutes().some(u=>u.path.includes("/search/"));function l(u){o.value&&Object.values(u).some(Boolean)&&(o.value=void 0)}function i(u){if(Object.values(u).every(m=>!m)){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)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[nl,a.createElementVNode("div",al,[a.createVNode(ma,{id:"quick-search-form",class:"flex flex-wrap gap-x-4",error:o.value,schema:r,name:"quickSearchForm",onChange:l,onSubmit:i},{default:a.withCtx(()=>[a.createVNode(yt,{type:"submit",class:"flex-grow-0 flex-shrink-0 basis-full max-w-[unset] mt-4"},{default:a.withCtx(()=>[a.createTextVNode("Search Data Sources")]),_:1})]),_:1},8,["error"]),a.createElementVNode("p",rl,[a.createTextVNode(" For example, you could search for "),a.unref(s)?(a.openBlock(),a.createBlock(a.unref(ce.RouterLink),{key:0,to:"/search/stops/pittsburgh"},{default:a.withCtx(()=>[a.createTextVNode(" stops in Pittsburgh ")]),_:1})):(a.openBlock(),a.createElementBlock("a",{key:1,target:"_blank",rel:"noreferrer",href:`${n.baseUrlForRedirect}/search/stops/pittsburgh`}," stops in Pittsburgh ",8,ol)),a.createTextVNode(" or "),a.unref(s)?(a.openBlock(),a.createBlock(a.unref(ce.RouterLink),{key:2,to:"/search/complaints/all"},{default:a.withCtx(()=>[a.createTextVNode(" complaints everywhere ")]),_:1})):(a.openBlock(),a.createElementBlock("a",{key:3,target:"_blank",rel:"noreferrer",href:`${n.baseUrlForRedirect}/search/complaints/all`}," complaints everywhere ",8,sl)),a.createTextVNode(" . ")])])],64))}});const cl=["alt","src"],ul={name:"TileIcon"},fl=a.defineComponent({...ul,props:{imgAltText:{},imgSrc:{}},setup(e){return(t,n)=>(a.openBlock(),a.createElementBlock("img",{class:"pdap-tile-icon",alt:t.imgAltText,src:t.imgSrc},null,8,cl))}});var je=(e=>(e.PRESS="press",e.HOVER="hover",e))(je||{});const ga={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))}},dl=["onKeydown"],ml=["id","aria-hidden"],pl={name:"PdapButton"},gl=a.defineComponent({...pl,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,r=t,o=a.ref(null),s=a.ref(null),l=a.ref(n.defaultOpen),i=a.computed(()=>n.triggerOn===je.HOVER);function u(f){r("press",f),n.triggerOn===je.PRESS&&c()}const c=()=>{n.disabled||(l.value=!l.value,r("update:open",l.value))};function d(){l.value=!0,r("update:open",!0)}function m(){l.value=!1,r("update:open",!1)}function h(){var g,v;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"),y=(g=p==null?void 0:p.style)==null?void 0:g.getPropertyValue("--dropdown-content-max-height");Number((v=y==null?void 0:y.match(/\d+/))==null?void 0:v.join(""))>=f||o.value&&p&&p.style.setProperty("--dropdown-content-max-height",`${f+16}px`)}const M={mouseenter:i.value?d:void 0,focus:i.value?d:void 0,focusin:i.value?d:void 0,focusout:i.value?m:void 0,mouseleave:i.value?m:void 0,blur:i.value?m:void 0};return a.onMounted(()=>{h()}),(f,p)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",a.mergeProps({ref_key:"dropdownRef",ref:s,class:"pdap-dropdown",role:"presentation",onKeydown:a.withKeys(m,["escape"])},a.toHandlers(M,!0)),[a.createVNode(a.unref(yt),{"aria-controls":f.dropdownId,"aria-expanded":l.value,disabled:f.disabled,"aria-haspopup":"true",intent:"tertiary",class:a.normalizeClass({"pdap-dropdown-trigger":!0,"pointer-events-none":f.disabled,"cursor-not-allowed":f.disabled}),"data-test":"dropdown-trigger",onClick:a.withModifiers(u,["prevent","stop"]),onKeydown:a.withKeys(a.withModifiers(u,["prevent","stop"]),["enter","space"])},{default:a.withCtx(()=>[a.renderSlot(f.$slots,"trigger")]),_:3},8,["aria-controls","aria-expanded","disabled","class","onClick","onKeydown"]),a.createVNode(a.Transition,{name:"dropdown",appear:""},{default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("div",{id:f.dropdownId,ref_key:"contentRef",ref:o,"aria-hidden":!l.value,class:"pdap-dropdown-content","data-test":"dropdown-content",role:"menu"},[a.renderSlot(f.$slots,"content")],8,ml),[[a.vShow,l.value]])]),_:3})],16,dl)),[[a.unref(ga),m]])}});function hl(e){const t=[];for(const n of e.matched){const{name:r,path:o,meta:s}=n,l=s.breadcrumbText??r;l&&t.push({text:l,path:o,active:!1})}return t.length>0&&(t[t.length-1].active=!0),t}const yl={"aria-label":"Breadcrumb"},vl={key:1},Ll={name:"PdapBreadcrumbs"},Ml=a.defineComponent({...Ll,setup(e){const t=ce.useRoute(),n=a.computed(()=>hl(t));return(r,o)=>{const s=a.resolveComponent("router-link");return a.openBlock(),a.createElementBlock("nav",yl,[a.createVNode(a.TransitionGroup,{class:"pdap-breadcrumbs",tag:"ul"},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.value,l=>(a.openBlock(),a.createElementBlock("li",{key:l.text,class:a.normalizeClass({"is-active":l.active})},[l.active?(a.openBlock(),a.createElementBlock("span",vl,a.toDisplayString(l.text),1)):(a.openBlock(),a.createBlock(s,{key:0,to:l.path},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(l.text),1)]),_:2},1032,["to"]))],2))),128))]),_:1})])}}});const bl=Ot(Ml,[["__scopeId","data-v-e8d76c0f"]]),wl={key:0,class:"pdap-spinner"},jl=["width","height"],xl=["stroke","fill"],Nl=["stroke","fill"],Cl={key:0,"aria-live":"polite"};/**
558
558
  * # `Spinner`
559
559
  * Loading spinner component
package/dist/index.js CHANGED
@@ -4729,9 +4729,9 @@ const pt = Symbol(), pl = ["id", "name", "onSubmit"], gl = {
4729
4729
  name: {},
4730
4730
  schema: {}
4731
4731
  },
4732
- emits: ["submit"],
4732
+ emits: ["submit", "change"],
4733
4733
  setup(e, { expose: t, emit: n }) {
4734
- const { defaultValues: a, error: r, schema: s } = e, i = n, o = $(r), u = $(a ?? {}), l = ml(s), f = ia(l, u, { $autoDirty: !1, $lazy: !0 });
4734
+ const { defaultValues: a, error: r, schema: s } = e, i = n, o = $(r), u = $(a ?? {}), l = s ? ml(s) : {}, f = ia(l, u, { $autoDirty: !1, $lazy: !0 });
4735
4735
  xt(pt, {
4736
4736
  setValues: d,
4737
4737
  values: u,
@@ -4758,7 +4758,8 @@ const pt = Symbol(), pl = ["id", "name", "onSubmit"], gl = {
4758
4758
  id: c.id,
4759
4759
  name: c.name,
4760
4760
  class: "pdap-form",
4761
- onSubmit: qe(M, ["prevent"])
4761
+ onSubmit: qe(M, ["prevent"]),
4762
+ onChange: m[0] || (m[0] = (h) => i("change", u.value, h))
4762
4763
  }, [
4763
4764
  c.$slots.error ? Q(c.$slots, "error", { key: 0 }) : typeof o.value == "string" ? (b(), j("div", gl, E(o.value), 1)) : k("", !0),
4764
4765
  Q(c.$slots, "default")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdap-design-system",
3
- "version": "3.1.0-beta.3",
3
+ "version": "3.1.0-beta.4",
4
4
  "description": "Global styles for PDAP apps",
5
5
  "author": "Police Data Accessibility Project, Inc.",
6
6
  "license": "ISC",