pdap-design-system 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +3 -3
- package/dist/index.js +122 -130
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),X=require("vue-router"),ce=e.defineComponent({__name:"PdapButton",props:{intent:{default:"primary"},isLoading:{type:Boolean,default:!1}},setup(t){const r=t,n=e.reactive({"pdap-button":!0,[`pdap-button-${r.intent}`]:!!r.intent,"pdap-button-loading":r.isLoading});return(a,o)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(n)},[e.renderSlot(a.$slots,"default")],2))}});const L=e.defineComponent({__name:"FlexContainer",props:{alignment:{default:"start"},component:{default:"div"}},setup(t){const r=t,n=e.reactive({"pdap-flex-container":!0,[`pdap-flex-container-${r.alignment}`]:!0});return(a,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.component),{class:e.normalizeClass(n)},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["class"]))}});const Pe={class:"pdap-footer"},Re={class:"pdap-footer-social-links"},Ve=["href"],Oe=e.createElementVNode("p",{class:"pdap-footer-copyright"},[e.createTextVNode(" © 2023 Police Data Accessibility Project"),e.createElementVNode("br")],-1),Be=e.createElementVNode("p",{class:"pdap-footer-copyright"},[e.createTextVNode(" PDAP is a non-profit. EIN: 85-4207132. "),e.createElementVNode("a",{href:"https://docs.pdap.io/meta/policy/pdap-privacy-policy",alt:"Privacy Policy",target:"_blank"},[e.createElementVNode("br"),e.createTextVNode(" Privacy Policy "),e.createElementVNode("i",{class:"fa fa-external-link"})]),e.createElementVNode("br"),e.createElementVNode("a",{href:"mailto:contact@pdap.io"},"contact@pdap.io")],-1),je={class:"pdap-footer-widget-links"},Te=e.createElementVNode("a",{href:"https://www.guidestar.org/profile/85-4207132",target:"_blank"},[e.createElementVNode("img",{src:"https://widgets.guidestar.org/gximage2?o=9973356&l=v4"})],-1),Se=["href"],Ne=["src"],Ae=["src"],Le=e.defineComponent({__name:"PdapFooter",props:{logoImageSrc:{default:"node_modules/pdap-design-system/dist/images/acronym.svg"},logoImageAnchorPath:{default:"/"}},setup(t){const r=t,n=e.inject("footerLinks",[{href:"https://github.com/orgs/Police-Data-Accessibility-Project",text:"Github"},{href:"https://discord.gg/wMqex8nKZJ",text:"Discord"},{href:"https://www.linkedin.com/company/pdap",text:"LinkedIn"},{path:"/jobs",text:"Jobs"}]),a=r.logoImageAnchorPath.startsWith("/");return(o,s)=>{const u=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("footer",Pe,[e.createVNode(L,{alignment:"center"},{default:e.withCtx(()=>[e.createElementVNode("ul",Re,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n),c=>(e.openBlock(),e.createElementBlock("li",{key:c.text,class:"pdap-footer-link-container"},[c.href?(e.openBlock(),e.createElementBlock("a",{key:0,class:"pdap-footer-social-link",href:c.href,target:"_blank",referrerpolicy:"no-referrer"},e.toDisplayString(c.text),9,Ve)):e.createCommentVNode("",!0),c.path?(e.openBlock(),e.createBlock(u,{key:1,"active-class":"pdap-footer-social-link-current","exact-active-class":"pdap-footer-social-link-current-exact",class:"pdap-footer-social-link",to:c.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.text),1)]),_:2},1032,["to"])):e.createCommentVNode("",!0)]))),128))]),Oe,Be,e.createElementVNode("div",je,[Te,e.unref(a)?(e.openBlock(),e.createBlock(u,{key:1,to:o.logoImageAnchorPath,class:"pdap-footer-logo"},{default:e.withCtx(()=>[e.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Ae)]),_:1},8,["to"])):(e.openBlock(),e.createElementBlock("a",{key:0,href:o.logoImageAnchorPath,class:"pdap-footer-logo"},[e.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Ne)],8,Se))])]),_:1})])}}});function Y(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,a)}return n}function k(t){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?Y(Object(n),!0).forEach(function(a){Ie(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}function Ie(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function ee(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(t).reduce((n,a)=>(r.includes(a)||(n[a]=e.unref(t[a])),n),{})}function I(t){return typeof t=="function"}function ze(t){return e.isReactive(t)||e.isReadonly(t)}function ue(t,r,n){let a=t;const o=r.split(".");for(let s=0;s<o.length;s++){if(!a[o[s]])return n;a=a[o[s]]}return a}function G(t,r,n){return e.computed(()=>t.some(a=>ue(r,a,{[n]:!1})[n]))}function te(t,r,n){return e.computed(()=>t.reduce((a,o)=>{const s=ue(r,o,{[n]:!1})[n]||[];return a.concat(s)},[]))}function de(t,r,n,a){return t.call(a,e.unref(r),e.unref(n),a)}function me(t){return t.$valid!==void 0?!t.$valid:!t}function De(t,r,n,a,o,s,u){let{$lazy:c,$rewardEarly:l}=o,d=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],g=arguments.length>8?arguments[8]:void 0,p=arguments.length>9?arguments[9]:void 0,$=arguments.length>10?arguments[10]:void 0;const h=e.ref(!!a.value),i=e.ref(0);n.value=!1;const m=e.watch([r,a].concat(d,$),()=>{if(c&&!a.value||l&&!p.value&&!n.value)return;let f;try{f=de(t,r,g,u)}catch(v){f=Promise.reject(v)}i.value++,n.value=!!i.value,h.value=!1,Promise.resolve(f).then(v=>{i.value--,n.value=!!i.value,s.value=v,h.value=me(v)}).catch(v=>{i.value--,n.value=!!i.value,s.value=v,h.value=!0})},{immediate:!0,deep:typeof r=="object"});return{$invalid:h,$unwatch:m}}function Me(t,r,n,a,o,s,u,c){let{$lazy:l,$rewardEarly:d}=a;const g=()=>({}),p=e.computed(()=>{if(l&&!n.value||d&&!c.value)return!1;let $=!0;try{const h=de(t,r,u,s);o.value=h,$=me(h)}catch(h){o.value=h}return $});return{$unwatch:g,$invalid:p}}function Fe(t,r,n,a,o,s,u,c,l,d,g){const p=e.ref(!1),$=t.$params||{},h=e.ref(null);let i,m;t.$async?{$invalid:i,$unwatch:m}=De(t.$validator,r,p,n,a,h,o,t.$watchTargets,l,d,g):{$invalid:i,$unwatch:m}=Me(t.$validator,r,n,a,h,o,l,d);const f=t.$message;return{$message:I(f)?e.computed(()=>f(ee({$pending:p,$invalid:i,$params:ee($),$model:r,$response:h,$validator:s,$propertyPath:c,$property:u}))):f||"",$params:$,$pending:p,$invalid:i,$response:h,$unwatch:m}}function qe(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=e.unref(t),n=Object.keys(r),a={},o={},s={};let u=null;return n.forEach(c=>{const l=r[c];switch(!0){case I(l.$validator):a[c]=l;break;case I(l):a[c]={$validator:l};break;case c==="$validationGroups":u=l;break;case c.startsWith("$"):s[c]=l;break;default:o[c]=l}}),{rules:a,nestedValidators:o,config:s,validationGroups:u}}const He="__root";function Ge(t,r,n,a,o,s,u,c,l){const d=Object.keys(t),g=a.get(o,t),p=e.ref(!1),$=e.ref(!1),h=e.ref(0);if(g){if(!g.$partial)return g;g.$unwatch(),p.value=g.$dirty.value}const i={$dirty:p,$path:o,$touch:()=>{p.value||(p.value=!0)},$reset:()=>{p.value&&(p.value=!1)},$commit:()=>{}};return d.length?(d.forEach(m=>{i[m]=Fe(t[m],r,i.$dirty,s,u,m,n,o,l,$,h)}),i.$externalResults=e.computed(()=>c.value?[].concat(c.value).map((m,f)=>({$propertyPath:o,$property:n,$validator:"$externalResults",$uid:`${o}-externalResult-${f}`,$message:m,$params:{},$response:null,$pending:!1})):[]),i.$invalid=e.computed(()=>{const m=d.some(f=>e.unref(i[f].$invalid));return $.value=m,!!i.$externalResults.value.length||m}),i.$pending=e.computed(()=>d.some(m=>e.unref(i[m].$pending))),i.$error=e.computed(()=>i.$dirty.value?i.$pending.value||i.$invalid.value:!1),i.$silentErrors=e.computed(()=>d.filter(m=>e.unref(i[m].$invalid)).map(m=>{const f=i[m];return e.reactive({$propertyPath:o,$property:n,$validator:m,$uid:`${o}-${m}`,$message:f.$message,$params:f.$params,$response:f.$response,$pending:f.$pending})}).concat(i.$externalResults.value)),i.$errors=e.computed(()=>i.$dirty.value?i.$silentErrors.value:[]),i.$unwatch=()=>d.forEach(m=>{i[m].$unwatch()}),i.$commit=()=>{$.value=!0,h.value=Date.now()},a.set(o,t,i),i):(g&&a.set(o,t,i),i)}function Ue(t,r,n,a,o,s,u){const c=Object.keys(t);return c.length?c.reduce((l,d)=>(l[d]=U({validations:t[d],state:r,key:d,parentKey:n,resultsCache:a,globalConfig:o,instance:s,externalResults:u}),l),{}):{}}function Xe(t,r,n){const a=e.computed(()=>[r,n].filter(i=>i).reduce((i,m)=>i.concat(Object.values(e.unref(m))),[])),o=e.computed({get(){return t.$dirty.value||(a.value.length?a.value.every(i=>i.$dirty):!1)},set(i){t.$dirty.value=i}}),s=e.computed(()=>{const i=e.unref(t.$silentErrors)||[],m=a.value.filter(f=>(e.unref(f).$silentErrors||[]).length).reduce((f,v)=>f.concat(...v.$silentErrors),[]);return i.concat(m)}),u=e.computed(()=>{const i=e.unref(t.$errors)||[],m=a.value.filter(f=>(e.unref(f).$errors||[]).length).reduce((f,v)=>f.concat(...v.$errors),[]);return i.concat(m)}),c=e.computed(()=>a.value.some(i=>i.$invalid)||e.unref(t.$invalid)||!1),l=e.computed(()=>a.value.some(i=>e.unref(i.$pending))||e.unref(t.$pending)||!1),d=e.computed(()=>a.value.some(i=>i.$dirty)||a.value.some(i=>i.$anyDirty)||o.value),g=e.computed(()=>o.value?l.value||c.value:!1),p=()=>{t.$touch(),a.value.forEach(i=>{i.$touch()})},$=()=>{t.$commit(),a.value.forEach(i=>{i.$commit()})},h=()=>{t.$reset(),a.value.forEach(i=>{i.$reset()})};return a.value.length&&a.value.every(i=>i.$dirty)&&p(),{$dirty:o,$errors:u,$invalid:c,$anyDirty:d,$error:g,$pending:l,$touch:p,$reset:h,$silentErrors:s,$commit:$}}function U(t){let{validations:r,state:n,key:a,parentKey:o,childResults:s,resultsCache:u,globalConfig:c={},instance:l,externalResults:d}=t;const g=o?`${o}.${a}`:a,{rules:p,nestedValidators:$,config:h,validationGroups:i}=qe(r),m=k(k({},c),h),f=a?e.computed(()=>{const y=e.unref(n);return y?e.unref(y[a]):void 0}):n,v=k({},e.unref(d)||{}),b=e.computed(()=>{const y=e.unref(d);return a?y?e.unref(y[a]):void 0:y}),M=Ge(p,f,a,u,g,m,l,b,n),w=Ue($,f,g,u,m,l,b),V={};i&&Object.entries(i).forEach(y=>{let[O,C]=y;V[O]={$invalid:G(C,w,"$invalid"),$error:G(C,w,"$error"),$pending:G(C,w,"$pending"),$errors:te(C,w,"$errors"),$silentErrors:te(C,w,"$silentErrors")}});const{$dirty:E,$errors:N,$invalid:F,$anyDirty:ye,$error:_e,$pending:q,$touch:H,$reset:we,$silentErrors:be,$commit:J}=Xe(M,w,s),xe=a?e.computed({get:()=>e.unref(f),set:y=>{E.value=!0;const O=e.unref(n),C=e.unref(d);C&&(C[a]=v[a]),e.isRef(O[a])?O[a].value=y:O[a]=y}}):null;a&&m.$autoDirty&&e.watch(f,()=>{E.value||H();const y=e.unref(d);y&&(y[a]=v[a])},{flush:"sync"});async function Ee(){return H(),m.$rewardEarly&&(J(),await e.nextTick()),await e.nextTick(),new Promise(y=>{if(!q.value)return y(!F.value);const O=e.watch(q,()=>{y(!F.value),O()})})}function Ce(y){return(s.value||{})[y]}function ke(){e.isRef(d)?d.value=v:Object.keys(v).length===0?Object.keys(d).forEach(y=>{delete d[y]}):Object.assign(d,v)}return e.reactive(k(k(k({},M),{},{$model:xe,$dirty:E,$error:_e,$errors:N,$invalid:F,$anyDirty:ye,$pending:q,$touch:H,$reset:we,$path:g||He,$silentErrors:be,$validate:Ee,$commit:J},s&&{$getResultsForChild:Ce,$clearExternalResults:ke,$validationGroups:V}),w))}class We{constructor(){this.storage=new Map}set(r,n,a){this.storage.set(r,{rules:n,result:a})}checkRulesValidity(r,n,a){const o=Object.keys(a),s=Object.keys(n);return s.length!==o.length||!s.every(c=>o.includes(c))?!1:s.every(c=>n[c].$params?Object.keys(n[c].$params).every(l=>e.unref(a[c].$params[l])===e.unref(n[c].$params[l])):!0)}get(r,n){const a=this.storage.get(r);if(!a)return;const{rules:o,result:s}=a,u=this.checkRulesValidity(r,n,o),c=s.$unwatch?s.$unwatch:()=>({});return u?s:{$dirty:s.$dirty,$partial:!0,$unwatch:c}}}const A={COLLECT_ALL:!0,COLLECT_NONE:!1},re=Symbol("vuelidate#injectChildResults"),ne=Symbol("vuelidate#removeChildResults");function Ke(t){let{$scope:r,instance:n}=t;const a={},o=e.ref([]),s=e.computed(()=>o.value.reduce((g,p)=>(g[p]=e.unref(a[p]),g),{}));function u(g,p){let{$registerAs:$,$scope:h,$stopPropagation:i}=p;i||r===A.COLLECT_NONE||h===A.COLLECT_NONE||r!==A.COLLECT_ALL&&r!==h||(a[$]=g,o.value.push($))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],u);function c(g){o.value=o.value.filter(p=>p!==g),delete a[g]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],c);const l=e.inject(re,[]);e.provide(re,n.__vuelidateInjectInstances);const d=e.inject(ne,[]);return e.provide(ne,n.__vuelidateRemoveInstances),{childResults:s,sendValidationResultsToParent:l,removeValidationResultsFromParent:d}}function pe(t){return new Proxy(t,{get(r,n){return typeof r[n]=="object"?pe(r[n]):e.computed(()=>r[n])}})}let ae=0;function Qe(t,r){var n;let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(a=t,t=void 0,r=void 0);let{$registerAs:o,$scope:s=A.COLLECT_ALL,$stopPropagation:u,$externalResults:c,currentVueInstance:l}=a;const d=l||((n=e.getCurrentInstance())===null||n===void 0?void 0:n.proxy),g=d?d.$options:{};o||(ae+=1,o=`_vuelidate_${ae}`);const p=e.ref({}),$=new We,{childResults:h,sendValidationResultsToParent:i,removeValidationResultsFromParent:m}=d?Ke({$scope:s,instance:d}):{childResults:e.ref({})};if(!t&&g.validations){const f=g.validations;r=e.ref({}),e.onBeforeMount(()=>{r.value=d,e.watch(()=>I(f)?f.call(r.value,new pe(r.value)):f,v=>{p.value=U({validations:v,state:r,childResults:h,resultsCache:$,globalConfig:a,instance:d,externalResults:c||d.vuelidateExternalResults})},{immediate:!0})}),a=g.validationsConfig||a}else{const f=e.isRef(t)||ze(t)?t:e.reactive(t||{});e.watch(f,v=>{p.value=U({validations:v,state:r,childResults:h,resultsCache:$,globalConfig:a,instance:d??{},externalResults:c})},{immediate:!0})}return d&&(i.forEach(f=>f(p,{$registerAs:o,$scope:s,$stopPropagation:u})),e.onBeforeUnmount(()=>m.forEach(f=>f(o)))),e.computed(()=>k(k({},e.unref(p.value)),h.value))}var x=(t=>(t.CHECKBOX="checkbox",t.TEXT="text",t))(x||{});const Ze=["id","name","placeholder","value"],Je=["id","name","checked","value"],Ye=["id"],et=["for"],fe=e.defineComponent({__name:"PdapInput",props:{error:{},id:{},label:{},name:{},placeholder:{},type:{},value:{},defaultChecked:{type:Boolean}},emits:["change","input"],setup(t,{emit:r}){const n=t,a=r,o=()=>{u.value=!u.value,a("change",u.value.toString())},s=l=>{a("input",l.target.value)},u=e.ref(n.defaultChecked),c=e.computed(()=>`pdap-${n.name}-input-error`);return(l,d)=>{var g;return e.openBlock(),e.createBlock(e.unref($e),{class:e.normalizeClass({"pdap-input":!0,"pdap-input-error":Number((g=l.error)==null?void 0:g.length)>=1})},{default:e.withCtx(()=>[l.type===e.unref(x).TEXT?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0,id:l.id,type:"text",name:l.name,placeholder:l.placeholder,value:l.value},l.$attrs,{onInput:s}),null,16,Ze)):l.type===e.unref(x).CHECKBOX?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1,id:l.id,class:"pdap-input-checkbox",name:l.name,checked:u.value,type:"checkbox",value:l.value},l.$attrs,{onChange:o}),null,16,Je)):e.createCommentVNode("",!0),l.error?(e.openBlock(),e.createElementBlock("div",{key:2,id:c.value,class:"pdap-input-error-message"},e.toDisplayString(l.error),9,Ye)):e.createCommentVNode("",!0),e.createElementVNode("label",{class:"pdap-input-label",for:l.id},e.toDisplayString(l.label),9,et)]),_:1},8,["class"])}}});function oe(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,a)}return n}function j(t){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?oe(Object(n),!0).forEach(function(a){tt(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}function tt(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function T(t){return typeof t=="function"}function z(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function D(t){return T(t.$validator)?j({},t):{$validator:t}}function rt(t){return z(t)&&T(t.then)}function P(t){return typeof t=="object"?t.$valid:t}function B(t){return t.$validator||t}function W(t,r){if(!z(t))throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof t}`);if(!z(r)&&!T(r))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=D(r);return n.$params=j(j({},n.$params||{}),t),n}function S(t,r){if(!T(t)&&typeof e.unref(t)!="string")throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof t}`);if(!z(r)&&!T(r))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=D(r);return n.$message=t,n}function nt(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=D(t);return j(j({},n),{},{$async:!0,$watchTargets:r})}function at(t){return{$validator(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];return e.unref(r).reduce((s,u,c)=>{const l=Object.entries(u).reduce((d,g)=>{let[p,$]=g;const h=t[p]||{},i=Object.entries(h).reduce((m,f)=>{let[v,b]=f;const w=B(b).call(this,$,u,c,...a),V=P(w);if(m.$data[v]=w,m.$data.$invalid=!V||!!m.$data.$invalid,m.$data.$error=m.$data.$invalid,!V){let E=b.$message||"";const N=b.$params||{};typeof E=="function"&&(E=E({$pending:!1,$invalid:!V,$params:N,$model:$,$response:w})),m.$errors.push({$property:p,$message:E,$params:N,$response:w,$model:$,$pending:!1,$validator:v})}return{$valid:m.$valid&&V,$data:m.$data,$errors:m.$errors}},{$valid:!0,$data:{},$errors:[]});return d.$data[p]=i.$data,d.$errors[p]=i.$errors,{$valid:d.$valid&&i.$valid,$data:d.$data,$errors:d.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:s.$valid&&l.$valid,$data:s.$data.concat(l.$data),$errors:s.$errors.concat(l.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:r=>{let{$response:n}=r;return n?n.$errors.map(a=>Object.values(a).map(o=>o.map(s=>s.$message)).reduce((o,s)=>o.concat(s),[])):[]}}}const _=t=>{if(t=e.unref(t),Array.isArray(t))return!!t.length;if(t==null)return!1;if(t===!1)return!0;if(t instanceof Date)return!isNaN(t.getTime());if(typeof t=="object"){for(let r in t)return!0;return!1}return!!String(t).length},K=t=>(t=e.unref(t),Array.isArray(t)?t.length:typeof t=="object"?Object.keys(t).length:String(t).length);function R(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return a=>(a=e.unref(a),!_(a)||r.every(o=>(o.lastIndex=0,o.test(a))))}var Q=Object.freeze({__proto__:null,forEach:at,len:K,normalizeValidatorObject:D,regex:R,req:_,unwrap:e.unref,unwrapNormalizedValidator:B,unwrapValidatorResponse:P,withAsync:nt,withMessage:S,withParams:W}),ot=R(/^[a-zA-Z]*$/),st={$validator:ot,$message:"The value is not alphabetical",$params:{type:"alpha"}},lt=R(/^[a-zA-Z0-9]*$/),it={$validator:lt,$message:"The value must be alpha-numeric",$params:{type:"alphaNum"}},ct=R(/^\d*(\.\d+)?$/),ut={$validator:ct,$message:"Value must be numeric",$params:{type:"numeric"}};function dt(t,r){return n=>!_(n)||(!/\s/.test(n)||n instanceof Date)&&+e.unref(t)<=+n&&+e.unref(r)>=+n}function mt(t,r){return{$validator:dt(t,r),$message:n=>{let{$params:a}=n;return`The value must be between ${a.min} and ${a.max}`},$params:{min:t,max:r,type:"between"}}}const pt=/^(?:[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 ft=R(pt),gt={$validator:ft,$message:"Value is not a valid email address",$params:{type:"email"}};function ht(t){if(!_(t))return!0;if(typeof t!="string")return!1;const r=t.split(".");return r.length===4&&r.every($t)}const $t=t=>{if(t.length>3||t.length===0||t[0]==="0"&&t!=="0"||!t.match(/^\d+$/))return!1;const r=+t|0;return r>=0&&r<=255};var vt={$validator:ht,$message:"The value is not a valid IP address",$params:{type:"ipAddress"}};function yt(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:":";return r=>{if(t=e.unref(t),!_(r))return!0;if(typeof r!="string")return!1;const n=typeof t=="string"&&t!==""?r.split(t):r.length===12||r.length===16?r.match(/.{2}/g):null;return n!==null&&(n.length===6||n.length===8)&&n.every(_t)}}const _t=t=>t.toLowerCase().match(/^[0-9a-f]{2}$/);function wt(t){return{$validator:yt(t),$message:"The value is not a valid MAC Address",$params:{type:"macAddress"}}}function bt(t){return r=>!_(r)||K(r)<=e.unref(t)}function xt(t){return{$validator:bt(t),$message:r=>{let{$params:n}=r;return`The maximum length allowed is ${n.max}`},$params:{max:t,type:"maxLength"}}}function Et(t){return r=>!_(r)||K(r)>=e.unref(t)}function Ct(t){return{$validator:Et(t),$message:r=>{let{$params:n}=r;return`This field should be at least ${n.min} characters long`},$params:{min:t,type:"minLength"}}}function kt(t){return typeof t=="string"&&(t=t.trim()),_(t)}var Z={$validator:kt,$message:"Value is required",$params:{type:"required"}};const se=(t,r)=>t?_(typeof r=="string"?r.trim():r):!0;function Pt(t){return function(r,n){if(typeof t!="function")return se(e.unref(t),r);const a=t.call(this,r,n);return se(a,r)}}function Rt(t){return{$validator:Pt(t),$message:"The value is required",$params:{type:"requiredIf",prop:t}}}const le=(t,r)=>t?!0:_(typeof r=="string"?r.trim():r);function Vt(t){return function(r,n){if(typeof t!="function")return le(e.unref(t),r);const a=t.call(this,r,n);return le(a,r)}}function Ot(t){return{$validator:Vt(t),$message:"The value is required",$params:{type:"requiredUnless",prop:t}}}function Bt(t){return r=>e.unref(r)===e.unref(t)}function jt(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"other";return{$validator:Bt(t),$message:n=>`The value must be equal to the ${r} value`,$params:{equalTo:t,otherName:r,type:"sameAs"}}}const Tt=/^(?:(?:(?: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 St=R(Tt),Nt={$validator:St,$message:"The value is not a valid URL address",$params:{type:"url"}};function At(t){return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return t.reduce((o,s)=>P(o)?o:B(s).apply(this,n),!1)}}function Lt(t){return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return t.reduce(async(o,s)=>{const u=await o;return P(u)?u:B(s).apply(this,n)},Promise.resolve(!1))}}function It(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const a=r.some(u=>u.$async),o=r.reduce((u,c)=>c.$watchTargets?u.concat(c.$watchTargets):u,[]);let s=()=>!1;return r.length&&(s=a?Lt(r):At(r)),{$async:a,$validator:s,$watchTargets:o}}function zt(){return W({type:"or"},S("The value does not match any of the provided validators",It(...arguments)))}function Dt(t){return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return t.reduce((o,s)=>P(o)?B(s).apply(this,n):o,!0)}}function Mt(t){return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return t.reduce(async(o,s)=>{const u=await o;return P(u)?B(s).apply(this,n):u},Promise.resolve(!0))}}function Ft(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const a=r.some(u=>u.$async),o=r.reduce((u,c)=>c.$watchTargets?u.concat(c.$watchTargets):u,[]);let s=()=>!1;return r.length&&(s=a?Mt(r):Dt(r)),{$async:a,$validator:s,$watchTargets:o}}function qt(){return W({type:"and"},S("The value does not match all of the provided validators",Ft(...arguments)))}function Ht(t){return function(r,n){if(!_(r))return!0;const a=B(t).call(this,r,n);return rt(a)?a.then(o=>!P(o)):!P(a)}}function Gt(t){return{$validator:Ht(t),$message:"The value does not match the provided validator",$params:{type:"not"}}}function Ut(t){return r=>!_(r)||(!/\s/.test(r)||r instanceof Date)&&+r>=+e.unref(t)}function Xt(t){return{$validator:Ut(t),$message:r=>{let{$params:n}=r;return`The minimum value allowed is ${n.min}`},$params:{min:t,type:"minValue"}}}function Wt(t){return r=>!_(r)||(!/\s/.test(r)||r instanceof Date)&&+r<=+e.unref(t)}var Kt=t=>({$validator:Wt(t),$message:r=>{let{$params:n}=r;return`The maximum value allowed is ${n.max}`},$params:{max:t,type:"maxValue"}}),Qt=R(/(^[0-9]*$)|(^-[0-9]+$)/),Zt={$validator:Qt,$message:"Value is not an integer",$params:{type:"integer"}},Jt=R(/^[-]?\d*(\.\d+)?$/),Yt={$validator:Jt,$message:"Value must be decimal",$params:{type:"decimal"}};function er(t){let{t:r,messagePath:n=o=>{let{$validator:s}=o;return`validations.${s}`},messageParams:a=o=>o}=t;return function(s){let{withArguments:u=!1,messagePath:c=n,messageParams:l=a}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function d(g){return r(c(g),l(j({model:g.$model,property:g.$property,pending:g.$pending,invalid:g.$invalid,response:g.$response,validator:g.$validator,propertyPath:g.$propertyPath},g.$params)))}return u&&typeof s=="function"?function(){return S(d,s(...arguments))}:S(d,s)}}const ge=Object.freeze(Object.defineProperty({__proto__:null,alpha:st,alphaNum:it,and:qt,between:mt,createI18nMessage:er,decimal:Yt,email:gt,helpers:Q,integer:Zt,ipAddress:vt,macAddress:wt,maxLength:xt,maxValue:Kt,minLength:Ct,minValue:Xt,not:Gt,numeric:ut,or:zt,required:Z,requiredIf:Rt,requiredUnless:Ot,sameAs:jt,url:Nt},Symbol.toStringTag,{value:"Module"}));function ie(t){return["maxLength","minLength"].includes(t)}function tr(t,r){return{[t]:ge[t](r)}}function rr(t,r,n){return{[t]:Q.withMessage(n,ge[t](r))}}function nr(){return{required:Z}}function ar(t){return{required:Q.withMessage(t,Z)}}function or(t,r){if(ie(t)&&typeof r.message=="string"&&typeof r.value=="number")return rr(t,r.value,r.message);if(ie(t)&&typeof r.message>"u"&&typeof r.value=="number")return tr(t,r.value);if(t==="required"&&typeof r.message=="string")return ar(r.message);if(t==="required"&&typeof r.message>"u")return nr();throw new Error("No valid rule detected")}const sr={key:0,class:"pdap-form-error-message"},he=e.defineComponent({__name:"PdapForm",props:{error:{default:null},id:{},name:{},schema:{}},emits:["submit"],setup(t,{emit:r}){const n=t,a=r,o=e.ref(n.schema.map(p=>{const $={...p};return delete $.validators,$})),s=e.ref(n.schema.reduce((p,$)=>{switch($.type){case x.CHECKBOX:return{...p,[$.name]:String($.defaultChecked)};case x.TEXT:default:return{...p,[$.name]:$.value}}},{})),u=n.schema.reduce((p,$)=>{const h=Object.entries($.validators??{}).reduce((i,[m,f])=>({...i,...or(m,f)}),{});return{...p,[$.name]:{...h}}},{}),c=Qe(u,s,{$autoDirty:!1,$lazy:!0}),l=e.ref(n.error);function d(p,$){s.value[p]=$}e.watchEffect(()=>{n.error?l.value=n.error:l.value&&c.value.$errors.length===0?l.value=null:!l.value&&c.value.$errors.length>0&&(l.value="Please update this form to correct the errors")}),e.watchEffect(()=>{console.debug(`PdapForm ${n.name}
|
2
|
-
`,{errorMessage:l.value,props:n,values:s,vuelidate:{rules:u,v$:c}})});async function g(p){if(await c.value.$validate()){a("submit",{...s.value}),c.value.$reset(),p.target.reset(),s.value=Object.entries(s.value).reduce((i,[m,f])=>({...i,[m]:["true","false"].includes(f)?f:""}),{});return}}return(p,$)=>(e.openBlock(),e.createElementBlock("form",{class:"pdap-form",onSubmit:$[0]||($[0]=e.withModifiers(h=>g(h),["prevent"]))},[typeof l.value=="string"?(e.openBlock(),e.createElementBlock("div",sr,e.toDisplayString(l.value),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,h=>{var i,m,f,v;return e.openBlock(),e.createBlock(fe,e.mergeProps(h,{key:h.name,error:(i=e.unref(c)[h.name])!=null&&i.$error?(v=(f=(m=e.unref(c)[h.name])==null?void 0:m.$errors)==null?void 0:f[0])==null?void 0:v.$message:"",value:s.value[h.name],onChange:
|
3
|
-
`,"Did you forget to inject some linkData for the Nav component?"));const n=e.reactive({isExpanded:!1,isMobile:!0}),a=e.reactive({"pdap-nav":!0});e.onBeforeMount(()=>{o(),window.addEventListener("resize",o)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",o)});async function o(){window.innerWidth<=1024?n.isMobile=!0:n.isMobile=!1,await e.nextTick()}async function s(){var c,l;const u=document.querySelector("body");!n.isExpanded&&n.isMobile?(n.isExpanded=!0,u!=null&&u.classList.contains("lock-scroll")||(c=document.querySelector("body"))==null||c.classList.add("lock-scroll")):n.isExpanded&&n.isMobile&&(n.isExpanded=!1,(l=document.querySelector("body"))==null||l.classList.remove("lock-scroll")),await e.nextTick()}return(u,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{"aria-controls":"nav",class:"pdap-nav-open-button",role:"button",onClick:s},cr),e.createElementVNode("nav",{id:"nav","aria-expanded":n.isMobile&&n.isExpanded||!n.isMobile,class:e.normalizeClass(a),style:e.normalizeStyle(n.isMobile?{top:`${u.topPosition}px`}:{})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),l=>(e.openBlock(),e.createElementBlock("li",{key:l.text,class:"pdap-nav-link-container"},[l.href?(e.openBlock(),e.createElementBlock("a",{key:0,class:"pdap-nav-link",href:l.href,target:"_blank",referrerpolicy:"no-referrer",onClick:s},e.toDisplayString(l.text),9,dr)):e.createCommentVNode("",!0),l.path?(e.openBlock(),e.createBlock(e.unref(X.RouterLink),{key:1,"active-class":"pdap-nav-link-current","exact-active-class":"pdap-nav-link-current-exact",class:"pdap-nav-link",to:l.path,onClick:s},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.text),1)]),_:2},1032,["to"])):e.createCommentVNode("",!0)]))),128))],14,ur)],64))}});const mr=["href"],pr=["src"],fr=["src"],gr=e.defineComponent({__name:"PdapHeader",props:{logoImageSrc:{default:"node_modules/pdap-design-system/dist/images/lockup.svg"},logoImageAnchorPath:{default:"/"}},setup(t){const r=t,n=e.ref(),a=e.ref(null),o=r.logoImageAnchorPath.startsWith("/");e.onMounted(()=>{s(),window.addEventListener("resize",s)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",s)});function s(){a.value&&(n.value=a.value.offsetHeight)}return(u,c)=>(e.openBlock(),e.createElementBlock("header",{ref_key:"el",ref:a,class:"pdap-header"},[e.unref(o)?(e.openBlock(),e.createBlock(e.unref(X.RouterLink),{key:1,to:u.logoImageAnchorPath,class:"logo"},{default:e.withCtx(()=>[e.createElementVNode("img",{src:u.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,fr)]),_:1},8,["to"])):(e.openBlock(),e.createElementBlock("a",{key:0,href:u.logoImageAnchorPath,class:"logo"},[e.createElementVNode("img",{src:u.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,pr)],8,mr)),e.createVNode(ve,{"top-position":n.value},null,8,["top-position"])],512))}});const hr=e.createElementVNode("h2",{class:"mt-0"},"Search our database",-1),$r={class:"pb-4 md:pb-8"},vr=e.defineComponent({__name:"QuickSearchForm",props:{mode:{default:"prod"}},setup(t){const r=X.useRouter(),n=t,a=[{id:"search-term",name:"searchTerm",label:"What are you looking for?",type:x.TEXT,placeholder:"Enter a keyword, or 'all'",value:""},{id:"location",name:"location",label:"From where?",type:x.TEXT,placeholder:"Enter a place, or 'all'",value:""}],o=e.ref(void 0);function s(u){if(Object.values(u).every(d=>!d)){o.value="Either a search term or a location is required.";return}let{location:c,searchTerm:l}=u;if(c=c&&c.length>0?c:"all",l=l&&l.length>0?l:"all",r.getRoutes().some(d=>d.path.includes("/search/")))r.push(`/search/${l}/${c}`);else{const d=n.mode==="prod"?"https://data-sources.pdap.io":"https://data-sources.pdap.dev";window.location.assign(`${d}/search/${l}/${c}`)}}return(u,c)=>
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),X=require("vue-router"),ce=e.defineComponent({__name:"PdapButton",props:{intent:{default:"primary"},isLoading:{type:Boolean,default:!1}},setup(t){const r=t,n=e.reactive({"pdap-button":!0,[`pdap-button-${r.intent}`]:!!r.intent,"pdap-button-loading":r.isLoading});return(a,o)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(n)},[e.renderSlot(a.$slots,"default")],2))}});const I=e.defineComponent({__name:"FlexContainer",props:{alignment:{default:"start"},component:{default:"div"}},setup(t){const r=t,n=e.reactive({"pdap-flex-container":!0,[`pdap-flex-container-${r.alignment}`]:!0});return(a,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.component),{class:e.normalizeClass(n)},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["class"]))}});const ke={class:"pdap-footer"},Re={class:"pdap-footer-social-links"},Ve=["href"],Oe=e.createElementVNode("p",{class:"pdap-footer-copyright"},[e.createTextVNode(" © 2023 Police Data Accessibility Project"),e.createElementVNode("br")],-1),Be=e.createElementVNode("p",{class:"pdap-footer-copyright"},[e.createTextVNode(" PDAP is a non-profit. EIN: 85-4207132. "),e.createElementVNode("a",{href:"https://docs.pdap.io/meta/policy/pdap-privacy-policy",alt:"Privacy Policy",target:"_blank"},[e.createElementVNode("br"),e.createTextVNode(" Privacy Policy "),e.createElementVNode("i",{class:"fa fa-external-link"})]),e.createElementVNode("br"),e.createElementVNode("a",{href:"mailto:contact@pdap.io"},"contact@pdap.io")],-1),je={class:"pdap-footer-widget-links"},Te=e.createElementVNode("a",{href:"https://www.guidestar.org/profile/85-4207132",target:"_blank"},[e.createElementVNode("img",{src:"https://widgets.guidestar.org/gximage2?o=9973356&l=v4"})],-1),Se=["href"],Ne=["src"],Ae=["src"],Ie=e.defineComponent({__name:"PdapFooter",props:{logoImageSrc:{default:"node_modules/pdap-design-system/dist/images/acronym.svg"},logoImageAnchorPath:{default:"/"}},setup(t){const r=t,n=e.inject("footerLinks",[{href:"https://github.com/orgs/Police-Data-Accessibility-Project",text:"Github"},{href:"https://discord.gg/wMqex8nKZJ",text:"Discord"},{href:"https://www.linkedin.com/company/pdap",text:"LinkedIn"},{path:"/jobs",text:"Jobs"}]),a=r.logoImageAnchorPath.startsWith("/");return(o,s)=>{const u=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("footer",ke,[e.createVNode(I,{alignment:"center"},{default:e.withCtx(()=>[e.createElementVNode("ul",Re,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n),c=>(e.openBlock(),e.createElementBlock("li",{key:c.text,class:"pdap-footer-link-container"},[c.href?(e.openBlock(),e.createElementBlock("a",{key:0,class:"pdap-footer-social-link",href:c.href,target:"_blank",referrerpolicy:"no-referrer"},e.toDisplayString(c.text),9,Ve)):e.createCommentVNode("",!0),c.path?(e.openBlock(),e.createBlock(u,{key:1,"active-class":"pdap-footer-social-link-current","exact-active-class":"pdap-footer-social-link-current-exact",class:"pdap-footer-social-link",to:c.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.text),1)]),_:2},1032,["to"])):e.createCommentVNode("",!0)]))),128))]),Oe,Be,e.createElementVNode("div",je,[Te,e.unref(a)?(e.openBlock(),e.createBlock(u,{key:1,to:o.logoImageAnchorPath,class:"pdap-footer-logo"},{default:e.withCtx(()=>[e.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Ae)]),_:1},8,["to"])):(e.openBlock(),e.createElementBlock("a",{key:0,href:o.logoImageAnchorPath,class:"pdap-footer-logo"},[e.createElementVNode("img",{src:o.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,Ne)],8,Se))])]),_:1})])}}});function Y(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,a)}return n}function P(t){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?Y(Object(n),!0).forEach(function(a){Le(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}function Le(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function ee(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(t).reduce((n,a)=>(r.includes(a)||(n[a]=e.unref(t[a])),n),{})}function L(t){return typeof t=="function"}function ze(t){return e.isReactive(t)||e.isReadonly(t)}function ue(t,r,n){let a=t;const o=r.split(".");for(let s=0;s<o.length;s++){if(!a[o[s]])return n;a=a[o[s]]}return a}function G(t,r,n){return e.computed(()=>t.some(a=>ue(r,a,{[n]:!1})[n]))}function te(t,r,n){return e.computed(()=>t.reduce((a,o)=>{const s=ue(r,o,{[n]:!1})[n]||[];return a.concat(s)},[]))}function de(t,r,n,a){return t.call(a,e.unref(r),e.unref(n),a)}function me(t){return t.$valid!==void 0?!t.$valid:!t}function De(t,r,n,a,o,s,u){let{$lazy:c,$rewardEarly:l}=o,d=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],g=arguments.length>8?arguments[8]:void 0,p=arguments.length>9?arguments[9]:void 0,$=arguments.length>10?arguments[10]:void 0;const h=e.ref(!!a.value),i=e.ref(0);n.value=!1;const m=e.watch([r,a].concat(d,$),()=>{if(c&&!a.value||l&&!p.value&&!n.value)return;let f;try{f=de(t,r,g,u)}catch(v){f=Promise.reject(v)}i.value++,n.value=!!i.value,h.value=!1,Promise.resolve(f).then(v=>{i.value--,n.value=!!i.value,s.value=v,h.value=me(v)}).catch(v=>{i.value--,n.value=!!i.value,s.value=v,h.value=!0})},{immediate:!0,deep:typeof r=="object"});return{$invalid:h,$unwatch:m}}function Me(t,r,n,a,o,s,u,c){let{$lazy:l,$rewardEarly:d}=a;const g=()=>({}),p=e.computed(()=>{if(l&&!n.value||d&&!c.value)return!1;let $=!0;try{const h=de(t,r,u,s);o.value=h,$=me(h)}catch(h){o.value=h}return $});return{$unwatch:g,$invalid:p}}function Fe(t,r,n,a,o,s,u,c,l,d,g){const p=e.ref(!1),$=t.$params||{},h=e.ref(null);let i,m;t.$async?{$invalid:i,$unwatch:m}=De(t.$validator,r,p,n,a,h,o,t.$watchTargets,l,d,g):{$invalid:i,$unwatch:m}=Me(t.$validator,r,n,a,h,o,l,d);const f=t.$message;return{$message:L(f)?e.computed(()=>f(ee({$pending:p,$invalid:i,$params:ee($),$model:r,$response:h,$validator:s,$propertyPath:c,$property:u}))):f||"",$params:$,$pending:p,$invalid:i,$response:h,$unwatch:m}}function qe(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=e.unref(t),n=Object.keys(r),a={},o={},s={};let u=null;return n.forEach(c=>{const l=r[c];switch(!0){case L(l.$validator):a[c]=l;break;case L(l):a[c]={$validator:l};break;case c==="$validationGroups":u=l;break;case c.startsWith("$"):s[c]=l;break;default:o[c]=l}}),{rules:a,nestedValidators:o,config:s,validationGroups:u}}const He="__root";function Ge(t,r,n,a,o,s,u,c,l){const d=Object.keys(t),g=a.get(o,t),p=e.ref(!1),$=e.ref(!1),h=e.ref(0);if(g){if(!g.$partial)return g;g.$unwatch(),p.value=g.$dirty.value}const i={$dirty:p,$path:o,$touch:()=>{p.value||(p.value=!0)},$reset:()=>{p.value&&(p.value=!1)},$commit:()=>{}};return d.length?(d.forEach(m=>{i[m]=Fe(t[m],r,i.$dirty,s,u,m,n,o,l,$,h)}),i.$externalResults=e.computed(()=>c.value?[].concat(c.value).map((m,f)=>({$propertyPath:o,$property:n,$validator:"$externalResults",$uid:`${o}-externalResult-${f}`,$message:m,$params:{},$response:null,$pending:!1})):[]),i.$invalid=e.computed(()=>{const m=d.some(f=>e.unref(i[f].$invalid));return $.value=m,!!i.$externalResults.value.length||m}),i.$pending=e.computed(()=>d.some(m=>e.unref(i[m].$pending))),i.$error=e.computed(()=>i.$dirty.value?i.$pending.value||i.$invalid.value:!1),i.$silentErrors=e.computed(()=>d.filter(m=>e.unref(i[m].$invalid)).map(m=>{const f=i[m];return e.reactive({$propertyPath:o,$property:n,$validator:m,$uid:`${o}-${m}`,$message:f.$message,$params:f.$params,$response:f.$response,$pending:f.$pending})}).concat(i.$externalResults.value)),i.$errors=e.computed(()=>i.$dirty.value?i.$silentErrors.value:[]),i.$unwatch=()=>d.forEach(m=>{i[m].$unwatch()}),i.$commit=()=>{$.value=!0,h.value=Date.now()},a.set(o,t,i),i):(g&&a.set(o,t,i),i)}function Ue(t,r,n,a,o,s,u){const c=Object.keys(t);return c.length?c.reduce((l,d)=>(l[d]=U({validations:t[d],state:r,key:d,parentKey:n,resultsCache:a,globalConfig:o,instance:s,externalResults:u}),l),{}):{}}function Xe(t,r,n){const a=e.computed(()=>[r,n].filter(i=>i).reduce((i,m)=>i.concat(Object.values(e.unref(m))),[])),o=e.computed({get(){return t.$dirty.value||(a.value.length?a.value.every(i=>i.$dirty):!1)},set(i){t.$dirty.value=i}}),s=e.computed(()=>{const i=e.unref(t.$silentErrors)||[],m=a.value.filter(f=>(e.unref(f).$silentErrors||[]).length).reduce((f,v)=>f.concat(...v.$silentErrors),[]);return i.concat(m)}),u=e.computed(()=>{const i=e.unref(t.$errors)||[],m=a.value.filter(f=>(e.unref(f).$errors||[]).length).reduce((f,v)=>f.concat(...v.$errors),[]);return i.concat(m)}),c=e.computed(()=>a.value.some(i=>i.$invalid)||e.unref(t.$invalid)||!1),l=e.computed(()=>a.value.some(i=>e.unref(i.$pending))||e.unref(t.$pending)||!1),d=e.computed(()=>a.value.some(i=>i.$dirty)||a.value.some(i=>i.$anyDirty)||o.value),g=e.computed(()=>o.value?l.value||c.value:!1),p=()=>{t.$touch(),a.value.forEach(i=>{i.$touch()})},$=()=>{t.$commit(),a.value.forEach(i=>{i.$commit()})},h=()=>{t.$reset(),a.value.forEach(i=>{i.$reset()})};return a.value.length&&a.value.every(i=>i.$dirty)&&p(),{$dirty:o,$errors:u,$invalid:c,$anyDirty:d,$error:g,$pending:l,$touch:p,$reset:h,$silentErrors:s,$commit:$}}function U(t){let{validations:r,state:n,key:a,parentKey:o,childResults:s,resultsCache:u,globalConfig:c={},instance:l,externalResults:d}=t;const g=o?`${o}.${a}`:a,{rules:p,nestedValidators:$,config:h,validationGroups:i}=qe(r),m=P(P({},c),h),f=a?e.computed(()=>{const y=e.unref(n);return y?e.unref(y[a]):void 0}):n,v=P({},e.unref(d)||{}),w=e.computed(()=>{const y=e.unref(d);return a?y?e.unref(y[a]):void 0:y}),M=Ge(p,f,a,u,g,m,l,w,n),b=Ue($,f,g,u,m,l,w),V={};i&&Object.entries(i).forEach(y=>{let[O,C]=y;V[O]={$invalid:G(C,b,"$invalid"),$error:G(C,b,"$error"),$pending:G(C,b,"$pending"),$errors:te(C,b,"$errors"),$silentErrors:te(C,b,"$silentErrors")}});const{$dirty:E,$errors:N,$invalid:F,$anyDirty:ye,$error:_e,$pending:q,$touch:H,$reset:be,$silentErrors:we,$commit:J}=Xe(M,b,s),xe=a?e.computed({get:()=>e.unref(f),set:y=>{E.value=!0;const O=e.unref(n),C=e.unref(d);C&&(C[a]=v[a]),e.isRef(O[a])?O[a].value=y:O[a]=y}}):null;a&&m.$autoDirty&&e.watch(f,()=>{E.value||H();const y=e.unref(d);y&&(y[a]=v[a])},{flush:"sync"});async function Ee(){return H(),m.$rewardEarly&&(J(),await e.nextTick()),await e.nextTick(),new Promise(y=>{if(!q.value)return y(!F.value);const O=e.watch(q,()=>{y(!F.value),O()})})}function Ce(y){return(s.value||{})[y]}function Pe(){e.isRef(d)?d.value=v:Object.keys(v).length===0?Object.keys(d).forEach(y=>{delete d[y]}):Object.assign(d,v)}return e.reactive(P(P(P({},M),{},{$model:xe,$dirty:E,$error:_e,$errors:N,$invalid:F,$anyDirty:ye,$pending:q,$touch:H,$reset:be,$path:g||He,$silentErrors:we,$validate:Ee,$commit:J},s&&{$getResultsForChild:Ce,$clearExternalResults:Pe,$validationGroups:V}),b))}class We{constructor(){this.storage=new Map}set(r,n,a){this.storage.set(r,{rules:n,result:a})}checkRulesValidity(r,n,a){const o=Object.keys(a),s=Object.keys(n);return s.length!==o.length||!s.every(c=>o.includes(c))?!1:s.every(c=>n[c].$params?Object.keys(n[c].$params).every(l=>e.unref(a[c].$params[l])===e.unref(n[c].$params[l])):!0)}get(r,n){const a=this.storage.get(r);if(!a)return;const{rules:o,result:s}=a,u=this.checkRulesValidity(r,n,o),c=s.$unwatch?s.$unwatch:()=>({});return u?s:{$dirty:s.$dirty,$partial:!0,$unwatch:c}}}const A={COLLECT_ALL:!0,COLLECT_NONE:!1},re=Symbol("vuelidate#injectChildResults"),ne=Symbol("vuelidate#removeChildResults");function Ke(t){let{$scope:r,instance:n}=t;const a={},o=e.ref([]),s=e.computed(()=>o.value.reduce((g,p)=>(g[p]=e.unref(a[p]),g),{}));function u(g,p){let{$registerAs:$,$scope:h,$stopPropagation:i}=p;i||r===A.COLLECT_NONE||h===A.COLLECT_NONE||r!==A.COLLECT_ALL&&r!==h||(a[$]=g,o.value.push($))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],u);function c(g){o.value=o.value.filter(p=>p!==g),delete a[g]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],c);const l=e.inject(re,[]);e.provide(re,n.__vuelidateInjectInstances);const d=e.inject(ne,[]);return e.provide(ne,n.__vuelidateRemoveInstances),{childResults:s,sendValidationResultsToParent:l,removeValidationResultsFromParent:d}}function pe(t){return new Proxy(t,{get(r,n){return typeof r[n]=="object"?pe(r[n]):e.computed(()=>r[n])}})}let ae=0;function Qe(t,r){var n;let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(a=t,t=void 0,r=void 0);let{$registerAs:o,$scope:s=A.COLLECT_ALL,$stopPropagation:u,$externalResults:c,currentVueInstance:l}=a;const d=l||((n=e.getCurrentInstance())===null||n===void 0?void 0:n.proxy),g=d?d.$options:{};o||(ae+=1,o=`_vuelidate_${ae}`);const p=e.ref({}),$=new We,{childResults:h,sendValidationResultsToParent:i,removeValidationResultsFromParent:m}=d?Ke({$scope:s,instance:d}):{childResults:e.ref({})};if(!t&&g.validations){const f=g.validations;r=e.ref({}),e.onBeforeMount(()=>{r.value=d,e.watch(()=>L(f)?f.call(r.value,new pe(r.value)):f,v=>{p.value=U({validations:v,state:r,childResults:h,resultsCache:$,globalConfig:a,instance:d,externalResults:c||d.vuelidateExternalResults})},{immediate:!0})}),a=g.validationsConfig||a}else{const f=e.isRef(t)||ze(t)?t:e.reactive(t||{});e.watch(f,v=>{p.value=U({validations:v,state:r,childResults:h,resultsCache:$,globalConfig:a,instance:d??{},externalResults:c})},{immediate:!0})}return d&&(i.forEach(f=>f(p,{$registerAs:o,$scope:s,$stopPropagation:u})),e.onBeforeUnmount(()=>m.forEach(f=>f(o)))),e.computed(()=>P(P({},e.unref(p.value)),h.value))}var x=(t=>(t.CHECKBOX="checkbox",t.TEXT="text",t))(x||{});const Ze=["id","name","placeholder","value"],Je=["id","name","checked","value"],Ye=["id"],et=["for"],fe=e.defineComponent({__name:"PdapInput",props:{error:{},id:{},label:{},name:{},placeholder:{},type:{},value:{},defaultChecked:{type:Boolean}},emits:["change","input"],setup(t,{emit:r}){const n=t,a=r,o=()=>{u.value=!u.value,a("change",u.value.toString())},s=l=>{a("input",l.target.value)},u=e.ref(n.defaultChecked),c=e.computed(()=>`pdap-${n.name}-input-error`);return(l,d)=>{var g;return e.openBlock(),e.createBlock(e.unref($e),{class:e.normalizeClass({"pdap-input":!0,"pdap-input-error":Number((g=l.error)==null?void 0:g.length)>=1})},{default:e.withCtx(()=>[l.type===e.unref(x).TEXT?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0,id:l.id,type:"text",name:l.name,placeholder:l.placeholder,value:l.value},l.$attrs,{onInput:s}),null,16,Ze)):l.type===e.unref(x).CHECKBOX?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1,id:l.id,class:"pdap-input-checkbox",name:l.name,checked:u.value,type:"checkbox",value:l.value},l.$attrs,{onChange:o}),null,16,Je)):e.createCommentVNode("",!0),l.error?(e.openBlock(),e.createElementBlock("div",{key:2,id:c.value,class:"pdap-input-error-message"},e.toDisplayString(l.error),9,Ye)):e.createCommentVNode("",!0),e.createElementVNode("label",{class:"pdap-input-label",for:l.id},e.toDisplayString(l.label),9,et)]),_:1},8,["class"])}}});function oe(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,a)}return n}function j(t){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?oe(Object(n),!0).forEach(function(a){tt(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}function tt(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function T(t){return typeof t=="function"}function z(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function D(t){return T(t.$validator)?j({},t):{$validator:t}}function rt(t){return z(t)&&T(t.then)}function k(t){return typeof t=="object"?t.$valid:t}function B(t){return t.$validator||t}function W(t,r){if(!z(t))throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof t}`);if(!z(r)&&!T(r))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=D(r);return n.$params=j(j({},n.$params||{}),t),n}function S(t,r){if(!T(t)&&typeof e.unref(t)!="string")throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof t}`);if(!z(r)&&!T(r))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=D(r);return n.$message=t,n}function nt(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=D(t);return j(j({},n),{},{$async:!0,$watchTargets:r})}function at(t){return{$validator(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];return e.unref(r).reduce((s,u,c)=>{const l=Object.entries(u).reduce((d,g)=>{let[p,$]=g;const h=t[p]||{},i=Object.entries(h).reduce((m,f)=>{let[v,w]=f;const b=B(w).call(this,$,u,c,...a),V=k(b);if(m.$data[v]=b,m.$data.$invalid=!V||!!m.$data.$invalid,m.$data.$error=m.$data.$invalid,!V){let E=w.$message||"";const N=w.$params||{};typeof E=="function"&&(E=E({$pending:!1,$invalid:!V,$params:N,$model:$,$response:b})),m.$errors.push({$property:p,$message:E,$params:N,$response:b,$model:$,$pending:!1,$validator:v})}return{$valid:m.$valid&&V,$data:m.$data,$errors:m.$errors}},{$valid:!0,$data:{},$errors:[]});return d.$data[p]=i.$data,d.$errors[p]=i.$errors,{$valid:d.$valid&&i.$valid,$data:d.$data,$errors:d.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:s.$valid&&l.$valid,$data:s.$data.concat(l.$data),$errors:s.$errors.concat(l.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:r=>{let{$response:n}=r;return n?n.$errors.map(a=>Object.values(a).map(o=>o.map(s=>s.$message)).reduce((o,s)=>o.concat(s),[])):[]}}}const _=t=>{if(t=e.unref(t),Array.isArray(t))return!!t.length;if(t==null)return!1;if(t===!1)return!0;if(t instanceof Date)return!isNaN(t.getTime());if(typeof t=="object"){for(let r in t)return!0;return!1}return!!String(t).length},K=t=>(t=e.unref(t),Array.isArray(t)?t.length:typeof t=="object"?Object.keys(t).length:String(t).length);function R(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return a=>(a=e.unref(a),!_(a)||r.every(o=>(o.lastIndex=0,o.test(a))))}var Q=Object.freeze({__proto__:null,forEach:at,len:K,normalizeValidatorObject:D,regex:R,req:_,unwrap:e.unref,unwrapNormalizedValidator:B,unwrapValidatorResponse:k,withAsync:nt,withMessage:S,withParams:W}),ot=R(/^[a-zA-Z]*$/),st={$validator:ot,$message:"The value is not alphabetical",$params:{type:"alpha"}},lt=R(/^[a-zA-Z0-9]*$/),it={$validator:lt,$message:"The value must be alpha-numeric",$params:{type:"alphaNum"}},ct=R(/^\d*(\.\d+)?$/),ut={$validator:ct,$message:"Value must be numeric",$params:{type:"numeric"}};function dt(t,r){return n=>!_(n)||(!/\s/.test(n)||n instanceof Date)&&+e.unref(t)<=+n&&+e.unref(r)>=+n}function mt(t,r){return{$validator:dt(t,r),$message:n=>{let{$params:a}=n;return`The value must be between ${a.min} and ${a.max}`},$params:{min:t,max:r,type:"between"}}}const pt=/^(?:[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 ft=R(pt),gt={$validator:ft,$message:"Value is not a valid email address",$params:{type:"email"}};function ht(t){if(!_(t))return!0;if(typeof t!="string")return!1;const r=t.split(".");return r.length===4&&r.every($t)}const $t=t=>{if(t.length>3||t.length===0||t[0]==="0"&&t!=="0"||!t.match(/^\d+$/))return!1;const r=+t|0;return r>=0&&r<=255};var vt={$validator:ht,$message:"The value is not a valid IP address",$params:{type:"ipAddress"}};function yt(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:":";return r=>{if(t=e.unref(t),!_(r))return!0;if(typeof r!="string")return!1;const n=typeof t=="string"&&t!==""?r.split(t):r.length===12||r.length===16?r.match(/.{2}/g):null;return n!==null&&(n.length===6||n.length===8)&&n.every(_t)}}const _t=t=>t.toLowerCase().match(/^[0-9a-f]{2}$/);function bt(t){return{$validator:yt(t),$message:"The value is not a valid MAC Address",$params:{type:"macAddress"}}}function wt(t){return r=>!_(r)||K(r)<=e.unref(t)}function xt(t){return{$validator:wt(t),$message:r=>{let{$params:n}=r;return`The maximum length allowed is ${n.max}`},$params:{max:t,type:"maxLength"}}}function Et(t){return r=>!_(r)||K(r)>=e.unref(t)}function Ct(t){return{$validator:Et(t),$message:r=>{let{$params:n}=r;return`This field should be at least ${n.min} characters long`},$params:{min:t,type:"minLength"}}}function Pt(t){return typeof t=="string"&&(t=t.trim()),_(t)}var Z={$validator:Pt,$message:"Value is required",$params:{type:"required"}};const se=(t,r)=>t?_(typeof r=="string"?r.trim():r):!0;function kt(t){return function(r,n){if(typeof t!="function")return se(e.unref(t),r);const a=t.call(this,r,n);return se(a,r)}}function Rt(t){return{$validator:kt(t),$message:"The value is required",$params:{type:"requiredIf",prop:t}}}const le=(t,r)=>t?!0:_(typeof r=="string"?r.trim():r);function Vt(t){return function(r,n){if(typeof t!="function")return le(e.unref(t),r);const a=t.call(this,r,n);return le(a,r)}}function Ot(t){return{$validator:Vt(t),$message:"The value is required",$params:{type:"requiredUnless",prop:t}}}function Bt(t){return r=>e.unref(r)===e.unref(t)}function jt(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"other";return{$validator:Bt(t),$message:n=>`The value must be equal to the ${r} value`,$params:{equalTo:t,otherName:r,type:"sameAs"}}}const Tt=/^(?:(?:(?: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 St=R(Tt),Nt={$validator:St,$message:"The value is not a valid URL address",$params:{type:"url"}};function At(t){return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return t.reduce((o,s)=>k(o)?o:B(s).apply(this,n),!1)}}function It(t){return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return t.reduce(async(o,s)=>{const u=await o;return k(u)?u:B(s).apply(this,n)},Promise.resolve(!1))}}function Lt(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const a=r.some(u=>u.$async),o=r.reduce((u,c)=>c.$watchTargets?u.concat(c.$watchTargets):u,[]);let s=()=>!1;return r.length&&(s=a?It(r):At(r)),{$async:a,$validator:s,$watchTargets:o}}function zt(){return W({type:"or"},S("The value does not match any of the provided validators",Lt(...arguments)))}function Dt(t){return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return t.reduce((o,s)=>k(o)?B(s).apply(this,n):o,!0)}}function Mt(t){return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return t.reduce(async(o,s)=>{const u=await o;return k(u)?B(s).apply(this,n):u},Promise.resolve(!0))}}function Ft(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const a=r.some(u=>u.$async),o=r.reduce((u,c)=>c.$watchTargets?u.concat(c.$watchTargets):u,[]);let s=()=>!1;return r.length&&(s=a?Mt(r):Dt(r)),{$async:a,$validator:s,$watchTargets:o}}function qt(){return W({type:"and"},S("The value does not match all of the provided validators",Ft(...arguments)))}function Ht(t){return function(r,n){if(!_(r))return!0;const a=B(t).call(this,r,n);return rt(a)?a.then(o=>!k(o)):!k(a)}}function Gt(t){return{$validator:Ht(t),$message:"The value does not match the provided validator",$params:{type:"not"}}}function Ut(t){return r=>!_(r)||(!/\s/.test(r)||r instanceof Date)&&+r>=+e.unref(t)}function Xt(t){return{$validator:Ut(t),$message:r=>{let{$params:n}=r;return`The minimum value allowed is ${n.min}`},$params:{min:t,type:"minValue"}}}function Wt(t){return r=>!_(r)||(!/\s/.test(r)||r instanceof Date)&&+r<=+e.unref(t)}var Kt=t=>({$validator:Wt(t),$message:r=>{let{$params:n}=r;return`The maximum value allowed is ${n.max}`},$params:{max:t,type:"maxValue"}}),Qt=R(/(^[0-9]*$)|(^-[0-9]+$)/),Zt={$validator:Qt,$message:"Value is not an integer",$params:{type:"integer"}},Jt=R(/^[-]?\d*(\.\d+)?$/),Yt={$validator:Jt,$message:"Value must be decimal",$params:{type:"decimal"}};function er(t){let{t:r,messagePath:n=o=>{let{$validator:s}=o;return`validations.${s}`},messageParams:a=o=>o}=t;return function(s){let{withArguments:u=!1,messagePath:c=n,messageParams:l=a}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function d(g){return r(c(g),l(j({model:g.$model,property:g.$property,pending:g.$pending,invalid:g.$invalid,response:g.$response,validator:g.$validator,propertyPath:g.$propertyPath},g.$params)))}return u&&typeof s=="function"?function(){return S(d,s(...arguments))}:S(d,s)}}const ge=Object.freeze(Object.defineProperty({__proto__:null,alpha:st,alphaNum:it,and:qt,between:mt,createI18nMessage:er,decimal:Yt,email:gt,helpers:Q,integer:Zt,ipAddress:vt,macAddress:bt,maxLength:xt,maxValue:Kt,minLength:Ct,minValue:Xt,not:Gt,numeric:ut,or:zt,required:Z,requiredIf:Rt,requiredUnless:Ot,sameAs:jt,url:Nt},Symbol.toStringTag,{value:"Module"}));function ie(t){return["maxLength","minLength"].includes(t)}function tr(t,r){return{[t]:ge[t](r)}}function rr(t,r,n){return{[t]:Q.withMessage(n,ge[t](r))}}function nr(){return{required:Z}}function ar(t){return{required:Q.withMessage(t,Z)}}function or(t,r){if(ie(t)&&typeof r.message=="string"&&typeof r.value=="number")return rr(t,r.value,r.message);if(ie(t)&&typeof r.message>"u"&&typeof r.value=="number")return tr(t,r.value);if(t==="required"&&typeof r.message=="string")return ar(r.message);if(t==="required"&&typeof r.message>"u")return nr();throw new Error("No valid rule detected")}const sr={key:0,class:"pdap-form-error-message"},he=e.defineComponent({__name:"PdapForm",props:{error:{default:null},id:{},name:{},schema:{}},emits:["submit"],setup(t,{emit:r}){const n=t,a=r,o=e.ref(n.schema.map(p=>{const $={...p};return delete $.validators,$})),s=e.ref(n.schema.reduce((p,$)=>{switch($.type){case x.CHECKBOX:return{...p,[$.name]:String($.defaultChecked)};case x.TEXT:default:return{...p,[$.name]:$.value}}},{})),u=n.schema.reduce((p,$)=>{const h=Object.entries($.validators??{}).reduce((i,[m,f])=>({...i,...or(m,f)}),{});return{...p,[$.name]:{...h}}},{}),c=Qe(u,s,{$autoDirty:!1,$lazy:!0}),l=e.ref(n.error);function d(p,$){s.value[p]=$}e.watchEffect(()=>{n.error?l.value=n.error:l.value&&c.value.$errors.length===0?l.value=null:!l.value&&c.value.$errors.length>0&&(l.value="Please update this form to correct the errors")}),e.watchEffect(()=>{console.debug(`PdapForm ${n.name}
|
2
|
+
`,{errorMessage:l.value,props:n,values:s,vuelidate:{rules:u,v$:c}})});async function g(p){if(await c.value.$validate()){a("submit",{...s.value}),c.value.$reset(),p.target.reset(),s.value=Object.entries(s.value).reduce((i,[m,f])=>({...i,[m]:["true","false"].includes(f)?f:""}),{});return}}return(p,$)=>(e.openBlock(),e.createElementBlock("form",{class:"pdap-form",onSubmit:$[0]||($[0]=e.withModifiers(h=>g(h),["prevent"]))},[typeof l.value=="string"?(e.openBlock(),e.createElementBlock("div",sr,e.toDisplayString(l.value),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,h=>{var i,m,f,v;return e.openBlock(),e.createBlock(fe,e.mergeProps(h,{key:h.name,error:(i=e.unref(c)[h.name])!=null&&i.$error?(v=(f=(m=e.unref(c)[h.name])==null?void 0:m.$errors)==null?void 0:f[0])==null?void 0:v.$message:"",value:s.value[h.name],onChange:w=>h.type!==e.unref(x).TEXT?d(h.name,w):void 0,onInput:w=>h.type===e.unref(x).TEXT?d(h.name,w):void 0}),null,16,["error","value","onChange","onInput"])}),128)),e.renderSlot(p.$slots,"default")],32))}});const $e=e.defineComponent({__name:"GridContainer",props:{columns:{default:"auto"},component:{default:"div"},rows:{default:"auto"},templateColumns:{},templateRows:{}},setup(t){const r=t,n=e.reactive({"pdap-grid-container":!0,[`pdap-grid-container-column-${r.columns}`]:r.columns!=="auto"}),a=r.templateRows||typeof r.rows=="number",o=r.templateRows??`repeat(${r.rows}, minmax(0, 1fr))`,s=e.reactive({...a&&{gridTemplateRows:o},...r.templateColumns&&{gridTemplateColumns:r.templateColumns}});return(u,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.component),{class:e.normalizeClass(n),style:e.normalizeStyle(s)},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},8,["class","style"]))}});const lr=e.defineComponent({__name:"GridItem",props:{component:{default:"div"},spanColumn:{default:1},spanRow:{default:1}},setup(t){const r=t,n=e.reactive({"pdap-grid-item":!0,[`pdap-grid-item-span-column-${r.spanColumn}`]:r.spanColumn>1}),a=e.reactive({...r.spanRow>1&&{gridRow:`span ${r.spanRow} / span ${r.spanRow}`}});return(o,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.component),{class:e.normalizeClass(n),style:e.normalizeStyle(a)},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["class","style"]))}});const ir=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},[e.createElementVNode("path",{d:"M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"})],-1),cr=[ir],ur=["aria-expanded"],dr=["href"],ve=e.defineComponent({__name:"PdapNav",props:{topPosition:{}},setup(t){let r=e.inject("navLinks");typeof r>"u"&&(r=[],console.error(`Hey, PDAP developer
|
3
|
+
`,"Did you forget to inject some linkData for the Nav component?"));const n=e.reactive({isExpanded:!1,isMobile:!0}),a=e.reactive({"pdap-nav":!0});e.onBeforeMount(()=>{o(),window.addEventListener("resize",o)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",o)});async function o(){window.innerWidth<=1024?n.isMobile=!0:n.isMobile=!1,await e.nextTick()}async function s(){var c,l;const u=document.querySelector("body");!n.isExpanded&&n.isMobile?(n.isExpanded=!0,u!=null&&u.classList.contains("lock-scroll")||(c=document.querySelector("body"))==null||c.classList.add("lock-scroll")):n.isExpanded&&n.isMobile&&(n.isExpanded=!1,(l=document.querySelector("body"))==null||l.classList.remove("lock-scroll")),await e.nextTick()}return(u,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{"aria-controls":"nav",class:"pdap-nav-open-button",role:"button",onClick:s},cr),e.createElementVNode("nav",{id:"nav","aria-expanded":n.isMobile&&n.isExpanded||!n.isMobile,class:e.normalizeClass(a),style:e.normalizeStyle(n.isMobile?{top:`${u.topPosition}px`}:{})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),l=>(e.openBlock(),e.createElementBlock("li",{key:l.text,class:"pdap-nav-link-container"},[l.href?(e.openBlock(),e.createElementBlock("a",{key:0,class:"pdap-nav-link",href:l.href,target:"_blank",referrerpolicy:"no-referrer",onClick:s},e.toDisplayString(l.text),9,dr)):e.createCommentVNode("",!0),l.path?(e.openBlock(),e.createBlock(e.unref(X.RouterLink),{key:1,"active-class":"pdap-nav-link-current","exact-active-class":"pdap-nav-link-current-exact",class:"pdap-nav-link",to:l.path,onClick:s},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.text),1)]),_:2},1032,["to"])):e.createCommentVNode("",!0)]))),128))],14,ur)],64))}});const mr=["href"],pr=["src"],fr=["src"],gr=e.defineComponent({__name:"PdapHeader",props:{logoImageSrc:{default:"node_modules/pdap-design-system/dist/images/lockup.svg"},logoImageAnchorPath:{default:"/"}},setup(t){const r=t,n=e.ref(),a=e.ref(null),o=r.logoImageAnchorPath.startsWith("/");e.onMounted(()=>{s(),window.addEventListener("resize",s)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",s)});function s(){a.value&&(n.value=a.value.offsetHeight)}return(u,c)=>(e.openBlock(),e.createElementBlock("header",{ref_key:"el",ref:a,class:"pdap-header"},[e.unref(o)?(e.openBlock(),e.createBlock(e.unref(X.RouterLink),{key:1,to:u.logoImageAnchorPath,class:"logo"},{default:e.withCtx(()=>[e.createElementVNode("img",{src:u.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,fr)]),_:1},8,["to"])):(e.openBlock(),e.createElementBlock("a",{key:0,href:u.logoImageAnchorPath,class:"logo"},[e.createElementVNode("img",{src:u.logoImageSrc,loading:"lazy",width:"250",alt:"Police Data Accessibility Project Logo"},null,8,pr)],8,mr)),e.createVNode(ve,{"top-position":n.value},null,8,["top-position"])],512))}});const hr=e.createElementVNode("h2",{class:"mt-0"},"Search our database",-1),$r=e.createElementVNode("p",{class:"pb-4 md:pb-8"},[e.createTextVNode(" If you have a question to answer, we may already know about helpful data in your area. "),e.createElementVNode("a",{href:"https://pdap.io/data"},"Learn more about the data here.")],-1),vr=e.defineComponent({__name:"QuickSearchForm",props:{mode:{default:"prod"}},setup(t){const r=X.useRouter(),n=t,a=[{id:"search-term",name:"searchTerm",label:"What are you looking for?",type:x.TEXT,placeholder:"Enter a keyword, or 'all'",value:""},{id:"location",name:"location",label:"From where?",type:x.TEXT,placeholder:"Enter a place, or 'all'",value:""}],o=e.ref(void 0);function s(u){if(Object.values(u).every(d=>!d)){o.value="Either a search term or a location is required.";return}let{location:c,searchTerm:l}=u;if(c=c&&c.length>0?c:"all",l=l&&l.length>0?l:"all",r.getRoutes().some(d=>d.path.includes("/search/")))r.push(`/search/${l}/${c}`);else{const d=n.mode==="prod"?"https://data-sources.pdap.io":"https://data-sources.pdap.dev";window.location.assign(`${d}/search/${l}/${c}`)}}return(u,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(I,{class:"p-0"},{default:e.withCtx(()=>[hr,$r]),_:1}),e.createVNode(I,{alignment:"center",class:"pdap-quick-search-form h-full max-h-[75-vh] justify-start p-0"},{default:e.withCtx(()=>[e.createVNode(he,{id:"quick-search-form",class:"flex flex-wrap gap-x-4",error:o.value,schema:a,name:"quickSearchForm",onSubmit:s},{default:e.withCtx(()=>[e.createVNode(ce,{type:"submit",class:"flex-grow-0 flex-shrink-0 basis-full max-w-[unset] mt-4"},{default:e.withCtx(()=>[e.createTextVNode("Search Data Sources")]),_:1})]),_:1},8,["error"])]),_:1})],64))}});const yr=["alt","src"],_r=e.defineComponent({__name:"TileIcon",props:{imgAltText:{},imgSrc:{}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("img",{class:"pdap-tile-icon",alt:r.imgAltText,src:r.imgSrc},null,8,yr))}});const br={content:["./src/**/*.vue","./src/**/*.css"],theme:{extend:{colors:{brand:{blue:{light:"rgba(var(--color-brand-blue-light)/<alpha-value>)",medium:"rgba(var(--color-brand-blue-medium)/<alpha-value>)"},gold:"rgba(var(--color-brand-gold)/<alpha-value>)",wine:"rgba(var(--color-brand-wine)/<alpha-value>)"},neutral:{50:"rgba(var(--color-neutral-50)/<alpha-value>)",100:"rgba(var(--color-neutral-100)/<alpha-value>)",200:"rgba(var(--color-neutral-200)/<alpha-value>)",300:"rgba(var(--color-neutral-300)/<alpha-value>)",400:"rgba(var(--color-neutral-400)/<alpha-value>)",500:"rgba(var(--color-neutral-500)/<alpha-value>)",600:"rgba(var(--color-neutral-600)/<alpha-value>)",700:"rgba(var(--color-neutral-700)/<alpha-value>)",800:"rgba(var(--color-neutral-800)/<alpha-value>)",900:"rgba(var(--color-neutral-900)/<alpha-value>)",950:"rgba(var(--color-neutral-950)/<alpha-value>)"}},brightness:{85:".85"},maxWidth:{"4xl":"59rem"},screens:{xs:"500px"}},fontFamily:{sans:['"Libre Franklin"',"ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto","Oxygen","Ubuntu","Cantarell",'"Fira Sans"','"Droid Sans"','"Helvetica Neue"',"sans-serif"],serif:["ui-serif","Georgia"],mono:['"Source Code Pro"',"monospace","ui-monospace","SFMono-Regular"]},fontSize:{xs:"0.75rem",sm:"0.875rem",med:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.75rem","4xl":"2rem","5xl":"2.625rem","6xl":"3rem"}}},wr=Object.freeze(Object.defineProperty({__proto__:null,default:br},Symbol.toStringTag,{value:"Module"}));exports.Button=ce;exports.FlexContainer=I;exports.Footer=Ie;exports.Form=he;exports.GridContainer=$e;exports.GridItem=lr;exports.Header=gr;exports.Input=fe;exports.Nav=ve;exports.PdapInputTypes=x;exports.QuickSearchForm=vr;exports.TileIcon=_r;exports.tailwindConfig=wr;
|
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent as j, reactive as C, openBlock as v, createElementBlock as x, normalizeClass as X, renderSlot as Z, createBlock as S, resolveDynamicComponent as fe, withCtx as R, inject as ee, resolveComponent as
|
2
|
-
import { RouterLink as
|
1
|
+
import { defineComponent as j, reactive as C, openBlock as v, createElementBlock as x, normalizeClass as X, renderSlot as Z, createBlock as S, resolveDynamicComponent as fe, withCtx as R, inject as ee, resolveComponent as Qe, createVNode as H, createElementVNode as b, Fragment as W, renderList as ge, unref as d, toDisplayString as F, createCommentVNode as q, createTextVNode as N, getCurrentInstance as Ze, ref as P, onBeforeMount as Ve, watch as U, isRef as ce, onBeforeUnmount as $e, computed as _, isReactive as Je, isReadonly as Ye, provide as xe, nextTick as te, mergeProps as de, watchEffect as Pe, withModifiers as et, normalizeStyle as he, onMounted as tt } from "vue";
|
2
|
+
import { RouterLink as ke, useRouter as rt } from "vue-router";
|
3
3
|
const at = /* @__PURE__ */ j({
|
4
4
|
__name: "PdapButton",
|
5
5
|
props: {
|
@@ -41,17 +41,17 @@ const pe = /* @__PURE__ */ j({
|
|
41
41
|
}
|
42
42
|
});
|
43
43
|
const nt = { class: "pdap-footer" }, st = { class: "pdap-footer-social-links" }, ot = ["href"], it = /* @__PURE__ */ b("p", { class: "pdap-footer-copyright" }, [
|
44
|
-
/* @__PURE__ */
|
44
|
+
/* @__PURE__ */ N(" © 2023 Police Data Accessibility Project"),
|
45
45
|
/* @__PURE__ */ b("br")
|
46
46
|
], -1), lt = /* @__PURE__ */ b("p", { class: "pdap-footer-copyright" }, [
|
47
|
-
/* @__PURE__ */
|
47
|
+
/* @__PURE__ */ N(" PDAP is a non-profit. EIN: 85-4207132. "),
|
48
48
|
/* @__PURE__ */ b("a", {
|
49
49
|
href: "https://docs.pdap.io/meta/policy/pdap-privacy-policy",
|
50
50
|
alt: "Privacy Policy",
|
51
51
|
target: "_blank"
|
52
52
|
}, [
|
53
53
|
/* @__PURE__ */ b("br"),
|
54
|
-
/* @__PURE__ */
|
54
|
+
/* @__PURE__ */ N(" Privacy Policy "),
|
55
55
|
/* @__PURE__ */ b("i", { class: "fa fa-external-link" })
|
56
56
|
]),
|
57
57
|
/* @__PURE__ */ b("br"),
|
@@ -87,9 +87,9 @@ const nt = { class: "pdap-footer" }, st = { class: "pdap-footer-social-links" },
|
|
87
87
|
}
|
88
88
|
]), a = t.logoImageAnchorPath.startsWith("/");
|
89
89
|
return (n, s) => {
|
90
|
-
const u =
|
90
|
+
const u = Qe("router-link");
|
91
91
|
return v(), x("footer", nt, [
|
92
|
-
|
92
|
+
H(pe, { alignment: "center" }, {
|
93
93
|
default: R(() => [
|
94
94
|
b("ul", st, [
|
95
95
|
(v(!0), x(W, null, ge(d(r), (l) => (v(), x("li", {
|
@@ -102,7 +102,7 @@ const nt = { class: "pdap-footer" }, st = { class: "pdap-footer-social-links" },
|
|
102
102
|
href: l.href,
|
103
103
|
target: "_blank",
|
104
104
|
referrerpolicy: "no-referrer"
|
105
|
-
},
|
105
|
+
}, F(l.text), 9, ot)) : q("", !0),
|
106
106
|
l.path ? (v(), S(u, {
|
107
107
|
key: 1,
|
108
108
|
"active-class": "pdap-footer-social-link-current",
|
@@ -111,10 +111,10 @@ const nt = { class: "pdap-footer" }, st = { class: "pdap-footer-social-links" },
|
|
111
111
|
to: l.path
|
112
112
|
}, {
|
113
113
|
default: R(() => [
|
114
|
-
|
114
|
+
N(F(l.text), 1)
|
115
115
|
]),
|
116
116
|
_: 2
|
117
|
-
}, 1032, ["to"])) :
|
117
|
+
}, 1032, ["to"])) : q("", !0)
|
118
118
|
]))), 128))
|
119
119
|
]),
|
120
120
|
it,
|
@@ -194,7 +194,7 @@ function re(e) {
|
|
194
194
|
function gt(e) {
|
195
195
|
return Je(e) || Ye(e);
|
196
196
|
}
|
197
|
-
function
|
197
|
+
function ze(e, t, r) {
|
198
198
|
let a = e;
|
199
199
|
const n = t.split(".");
|
200
200
|
for (let s = 0; s < n.length; s++) {
|
@@ -205,22 +205,22 @@ function Me(e, t, r) {
|
|
205
205
|
return a;
|
206
206
|
}
|
207
207
|
function ue(e, t, r) {
|
208
|
-
return _(() => e.some((a) =>
|
208
|
+
return _(() => e.some((a) => ze(t, a, {
|
209
209
|
[r]: !1
|
210
210
|
})[r]));
|
211
211
|
}
|
212
212
|
function Ee(e, t, r) {
|
213
213
|
return _(() => e.reduce((a, n) => {
|
214
|
-
const s =
|
214
|
+
const s = ze(t, n, {
|
215
215
|
[r]: !1
|
216
216
|
})[r] || [];
|
217
217
|
return a.concat(s);
|
218
218
|
}, []));
|
219
219
|
}
|
220
|
-
function
|
220
|
+
function Me(e, t, r, a) {
|
221
221
|
return e.call(a, d(t), d(r), a);
|
222
222
|
}
|
223
|
-
function
|
223
|
+
function De(e) {
|
224
224
|
return e.$valid !== void 0 ? !e.$valid : !e;
|
225
225
|
}
|
226
226
|
function $t(e, t, r, a, n, s, u) {
|
@@ -235,12 +235,12 @@ function $t(e, t, r, a, n, s, u) {
|
|
235
235
|
return;
|
236
236
|
let f;
|
237
237
|
try {
|
238
|
-
f =
|
238
|
+
f = Me(e, t, g, u);
|
239
239
|
} catch (y) {
|
240
240
|
f = Promise.reject(y);
|
241
241
|
}
|
242
242
|
i.value++, r.value = !!i.value, $.value = !1, Promise.resolve(f).then((y) => {
|
243
|
-
i.value--, r.value = !!i.value, s.value = y, $.value =
|
243
|
+
i.value--, r.value = !!i.value, s.value = y, $.value = De(y);
|
244
244
|
}).catch((y) => {
|
245
245
|
i.value--, r.value = !!i.value, s.value = y, $.value = !0;
|
246
246
|
});
|
@@ -263,8 +263,8 @@ function ht(e, t, r, a, n, s, u, l) {
|
|
263
263
|
return !1;
|
264
264
|
let h = !0;
|
265
265
|
try {
|
266
|
-
const $ =
|
267
|
-
n.value = $, h =
|
266
|
+
const $ = Me(e, t, u, s);
|
267
|
+
n.value = $, h = De($);
|
268
268
|
} catch ($) {
|
269
269
|
n.value = $;
|
270
270
|
}
|
@@ -463,10 +463,10 @@ function me(e) {
|
|
463
463
|
}) : r, y = V({}, d(c) || {}), A = _(() => {
|
464
464
|
const w = d(c);
|
465
465
|
return a ? w ? d(w[a]) : void 0 : w;
|
466
|
-
}), se = bt(m, f, a, u, g, p, o, A, r), E = wt(h, f, g, u, p, o, A),
|
466
|
+
}), se = bt(m, f, a, u, g, p, o, A, r), E = wt(h, f, g, u, p, o, A), M = {};
|
467
467
|
i && Object.entries(i).forEach((w) => {
|
468
|
-
let [
|
469
|
-
D
|
468
|
+
let [D, L] = w;
|
469
|
+
M[D] = {
|
470
470
|
$invalid: ue(L, E, "$invalid"),
|
471
471
|
$error: ue(L, E, "$error"),
|
472
472
|
$pending: ue(L, E, "$pending"),
|
@@ -478,19 +478,19 @@ function me(e) {
|
|
478
478
|
$dirty: I,
|
479
479
|
$errors: J,
|
480
480
|
$invalid: oe,
|
481
|
-
$anyDirty:
|
482
|
-
$error:
|
481
|
+
$anyDirty: Ne,
|
482
|
+
$error: Be,
|
483
483
|
$pending: ie,
|
484
484
|
$touch: le,
|
485
|
-
$reset:
|
486
|
-
$silentErrors:
|
485
|
+
$reset: He,
|
486
|
+
$silentErrors: Ge,
|
487
487
|
$commit: we
|
488
|
-
} = xt(se, E, s),
|
488
|
+
} = xt(se, E, s), Xe = a ? _({
|
489
489
|
get: () => d(f),
|
490
490
|
set: (w) => {
|
491
491
|
I.value = !0;
|
492
|
-
const
|
493
|
-
L && (L[a] = y[a]), ce(
|
492
|
+
const D = d(r), L = d(c);
|
493
|
+
L && (L[a] = y[a]), ce(D[a]) ? D[a].value = w : D[a] = w;
|
494
494
|
}
|
495
495
|
}) : null;
|
496
496
|
a && p.$autoDirty && U(f, () => {
|
@@ -500,41 +500,41 @@ function me(e) {
|
|
500
500
|
}, {
|
501
501
|
flush: "sync"
|
502
502
|
});
|
503
|
-
async function
|
503
|
+
async function We() {
|
504
504
|
return le(), p.$rewardEarly && (we(), await te()), await te(), new Promise((w) => {
|
505
505
|
if (!ie.value)
|
506
506
|
return w(!oe.value);
|
507
|
-
const
|
508
|
-
w(!oe.value),
|
507
|
+
const D = U(ie, () => {
|
508
|
+
w(!oe.value), D();
|
509
509
|
});
|
510
510
|
});
|
511
511
|
}
|
512
|
-
function
|
512
|
+
function Ue(w) {
|
513
513
|
return (s.value || {})[w];
|
514
514
|
}
|
515
|
-
function
|
515
|
+
function Ke() {
|
516
516
|
ce(c) ? c.value = y : Object.keys(y).length === 0 ? Object.keys(c).forEach((w) => {
|
517
517
|
delete c[w];
|
518
518
|
}) : Object.assign(c, y);
|
519
519
|
}
|
520
520
|
return C(V(V(V({}, se), {}, {
|
521
|
-
$model:
|
521
|
+
$model: Xe,
|
522
522
|
$dirty: I,
|
523
|
-
$error:
|
523
|
+
$error: Be,
|
524
524
|
$errors: J,
|
525
525
|
$invalid: oe,
|
526
|
-
$anyDirty:
|
526
|
+
$anyDirty: Ne,
|
527
527
|
$pending: ie,
|
528
528
|
$touch: le,
|
529
|
-
$reset:
|
529
|
+
$reset: He,
|
530
530
|
$path: g || _t,
|
531
|
-
$silentErrors:
|
532
|
-
$validate:
|
531
|
+
$silentErrors: Ge,
|
532
|
+
$validate: We,
|
533
533
|
$commit: we
|
534
534
|
}, s && {
|
535
|
-
$getResultsForChild:
|
536
|
-
$clearExternalResults:
|
537
|
-
$validationGroups:
|
535
|
+
$getResultsForChild: Ue,
|
536
|
+
$clearExternalResults: Ke,
|
537
|
+
$validationGroups: M
|
538
538
|
}), E));
|
539
539
|
}
|
540
540
|
class Pt {
|
@@ -598,10 +598,10 @@ function Rt(e) {
|
|
598
598
|
removeValidationResultsFromParent: c
|
599
599
|
};
|
600
600
|
}
|
601
|
-
function
|
601
|
+
function Fe(e) {
|
602
602
|
return new Proxy(e, {
|
603
603
|
get(t, r) {
|
604
|
-
return typeof t[r] == "object" ?
|
604
|
+
return typeof t[r] == "object" ? Fe(t[r]) : _(() => t[r]);
|
605
605
|
}
|
606
606
|
});
|
607
607
|
}
|
@@ -631,8 +631,8 @@ function Ot(e, t) {
|
|
631
631
|
};
|
632
632
|
if (!e && g.validations) {
|
633
633
|
const f = g.validations;
|
634
|
-
t = P({}),
|
635
|
-
t.value = c, U(() => re(f) ? f.call(t.value, new
|
634
|
+
t = P({}), Ve(() => {
|
635
|
+
t.value = c, U(() => re(f) ? f.call(t.value, new Fe(t.value)) : f, (y) => {
|
636
636
|
m.value = me({
|
637
637
|
validations: y,
|
638
638
|
state: t,
|
@@ -712,16 +712,16 @@ const Et = ["id", "name", "placeholder", "value"], Ct = ["id", "name", "checked"
|
|
712
712
|
checked: u.value,
|
713
713
|
type: "checkbox",
|
714
714
|
value: o.value
|
715
|
-
}, o.$attrs, { onChange: n }), null, 16, Ct)) :
|
715
|
+
}, o.$attrs, { onChange: n }), null, 16, Ct)) : q("", !0),
|
716
716
|
o.error ? (v(), x("div", {
|
717
717
|
key: 2,
|
718
718
|
id: l.value,
|
719
719
|
class: "pdap-input-error-message"
|
720
|
-
},
|
720
|
+
}, F(o.error), 9, jt)) : q("", !0),
|
721
721
|
b("label", {
|
722
722
|
class: "pdap-input-label",
|
723
723
|
for: o.id
|
724
|
-
},
|
724
|
+
}, F(o.label), 9, At)
|
725
725
|
]),
|
726
726
|
_: 1
|
727
727
|
}, 8, ["class"]);
|
@@ -771,10 +771,10 @@ function ne(e) {
|
|
771
771
|
function It(e) {
|
772
772
|
return ae(e) && K(e.then);
|
773
773
|
}
|
774
|
-
function
|
774
|
+
function k(e) {
|
775
775
|
return typeof e == "object" ? e.$valid : e;
|
776
776
|
}
|
777
|
-
function
|
777
|
+
function B(e) {
|
778
778
|
return e.$validator || e;
|
779
779
|
}
|
780
780
|
function ve(e, t) {
|
@@ -811,13 +811,13 @@ function Vt(e) {
|
|
811
811
|
let [m, h] = g;
|
812
812
|
const $ = e[m] || {}, i = Object.entries($).reduce((p, f) => {
|
813
813
|
let [y, A] = f;
|
814
|
-
const E =
|
815
|
-
if (p.$data[y] = E, p.$data.$invalid = !
|
814
|
+
const E = B(A).call(this, h, u, l, ...a), M = k(E);
|
815
|
+
if (p.$data[y] = E, p.$data.$invalid = !M || !!p.$data.$invalid, p.$data.$error = p.$data.$invalid, !M) {
|
816
816
|
let I = A.$message || "";
|
817
817
|
const J = A.$params || {};
|
818
818
|
typeof I == "function" && (I = I({
|
819
819
|
$pending: !1,
|
820
|
-
$invalid: !
|
820
|
+
$invalid: !M,
|
821
821
|
$params: J,
|
822
822
|
$model: h,
|
823
823
|
$response: E
|
@@ -832,7 +832,7 @@ function Vt(e) {
|
|
832
832
|
});
|
833
833
|
}
|
834
834
|
return {
|
835
|
-
$valid: p.$valid &&
|
835
|
+
$valid: p.$valid && M,
|
836
836
|
$data: p.$data,
|
837
837
|
$errors: p.$errors
|
838
838
|
};
|
@@ -886,7 +886,7 @@ const O = (e) => {
|
|
886
886
|
}
|
887
887
|
return !!String(e).length;
|
888
888
|
}, ye = (e) => (e = d(e), Array.isArray(e) ? e.length : typeof e == "object" ? Object.keys(e).length : String(e).length);
|
889
|
-
function
|
889
|
+
function z() {
|
890
890
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
891
891
|
t[r] = arguments[r];
|
892
892
|
return (a) => (a = d(a), !O(a) || t.every((n) => (n.lastIndex = 0, n.test(a))));
|
@@ -896,27 +896,27 @@ var _e = /* @__PURE__ */ Object.freeze({
|
|
896
896
|
forEach: Vt,
|
897
897
|
len: ye,
|
898
898
|
normalizeValidatorObject: ne,
|
899
|
-
regex:
|
899
|
+
regex: z,
|
900
900
|
req: O,
|
901
901
|
unwrap: d,
|
902
|
-
unwrapNormalizedValidator:
|
903
|
-
unwrapValidatorResponse:
|
902
|
+
unwrapNormalizedValidator: B,
|
903
|
+
unwrapValidatorResponse: k,
|
904
904
|
withAsync: Lt,
|
905
905
|
withMessage: Q,
|
906
906
|
withParams: ve
|
907
|
-
}), kt =
|
907
|
+
}), kt = z(/^[a-zA-Z]*$/), zt = {
|
908
908
|
$validator: kt,
|
909
909
|
$message: "The value is not alphabetical",
|
910
910
|
$params: {
|
911
911
|
type: "alpha"
|
912
912
|
}
|
913
|
-
}, Mt =
|
913
|
+
}, Mt = z(/^[a-zA-Z0-9]*$/), Dt = {
|
914
914
|
$validator: Mt,
|
915
915
|
$message: "The value must be alpha-numeric",
|
916
916
|
$params: {
|
917
917
|
type: "alphaNum"
|
918
918
|
}
|
919
|
-
}, Ft =
|
919
|
+
}, Ft = z(/^\d*(\.\d+)?$/), qt = {
|
920
920
|
$validator: Ft,
|
921
921
|
$message: "Value must be numeric",
|
922
922
|
$params: {
|
@@ -943,7 +943,7 @@ function Bt(e, t) {
|
|
943
943
|
};
|
944
944
|
}
|
945
945
|
const Ht = /^(?:[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;
|
946
|
-
var Gt =
|
946
|
+
var Gt = z(Ht), Xt = {
|
947
947
|
$validator: Gt,
|
948
948
|
$message: "Value is not a valid email address",
|
949
949
|
$params: {
|
@@ -1092,7 +1092,7 @@ function ur(e) {
|
|
1092
1092
|
};
|
1093
1093
|
}
|
1094
1094
|
const cr = /^(?:(?:(?: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;
|
1095
|
-
var dr =
|
1095
|
+
var dr = z(cr), pr = {
|
1096
1096
|
$validator: dr,
|
1097
1097
|
$message: "The value is not a valid URL address",
|
1098
1098
|
$params: {
|
@@ -1103,7 +1103,7 @@ function mr(e) {
|
|
1103
1103
|
return function() {
|
1104
1104
|
for (var t = arguments.length, r = new Array(t), a = 0; a < t; a++)
|
1105
1105
|
r[a] = arguments[a];
|
1106
|
-
return e.reduce((n, s) =>
|
1106
|
+
return e.reduce((n, s) => k(n) ? n : B(s).apply(this, r), !1);
|
1107
1107
|
};
|
1108
1108
|
}
|
1109
1109
|
function fr(e) {
|
@@ -1112,7 +1112,7 @@ function fr(e) {
|
|
1112
1112
|
r[a] = arguments[a];
|
1113
1113
|
return e.reduce(async (n, s) => {
|
1114
1114
|
const u = await n;
|
1115
|
-
return
|
1115
|
+
return k(u) ? u : B(s).apply(this, r);
|
1116
1116
|
}, Promise.resolve(!1));
|
1117
1117
|
};
|
1118
1118
|
}
|
@@ -1136,7 +1136,7 @@ function hr(e) {
|
|
1136
1136
|
return function() {
|
1137
1137
|
for (var t = arguments.length, r = new Array(t), a = 0; a < t; a++)
|
1138
1138
|
r[a] = arguments[a];
|
1139
|
-
return e.reduce((n, s) =>
|
1139
|
+
return e.reduce((n, s) => k(n) ? B(s).apply(this, r) : n, !0);
|
1140
1140
|
};
|
1141
1141
|
}
|
1142
1142
|
function vr(e) {
|
@@ -1145,7 +1145,7 @@ function vr(e) {
|
|
1145
1145
|
r[a] = arguments[a];
|
1146
1146
|
return e.reduce(async (n, s) => {
|
1147
1147
|
const u = await n;
|
1148
|
-
return
|
1148
|
+
return k(u) ? B(s).apply(this, r) : u;
|
1149
1149
|
}, Promise.resolve(!0));
|
1150
1150
|
};
|
1151
1151
|
}
|
@@ -1169,8 +1169,8 @@ function br(e) {
|
|
1169
1169
|
return function(t, r) {
|
1170
1170
|
if (!O(t))
|
1171
1171
|
return !0;
|
1172
|
-
const a =
|
1173
|
-
return It(a) ? a.then((n) => !
|
1172
|
+
const a = B(e).call(this, t, r);
|
1173
|
+
return It(a) ? a.then((n) => !k(n)) : !k(a);
|
1174
1174
|
};
|
1175
1175
|
}
|
1176
1176
|
function wr(e) {
|
@@ -1215,13 +1215,13 @@ var Or = (e) => ({
|
|
1215
1215
|
max: e,
|
1216
1216
|
type: "maxValue"
|
1217
1217
|
}
|
1218
|
-
}), Er =
|
1218
|
+
}), Er = z(/(^[0-9]*$)|(^-[0-9]+$)/), Cr = {
|
1219
1219
|
$validator: Er,
|
1220
1220
|
$message: "Value is not an integer",
|
1221
1221
|
$params: {
|
1222
1222
|
type: "integer"
|
1223
1223
|
}
|
1224
|
-
}, jr =
|
1224
|
+
}, jr = z(/^[-]?\d*(\.\d+)?$/), Ar = {
|
1225
1225
|
$validator: jr,
|
1226
1226
|
$message: "Value must be decimal",
|
1227
1227
|
$params: {
|
@@ -1261,7 +1261,7 @@ function Tr(e) {
|
|
1261
1261
|
} : Q(c, s);
|
1262
1262
|
};
|
1263
1263
|
}
|
1264
|
-
const
|
1264
|
+
const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1265
1265
|
__proto__: null,
|
1266
1266
|
alpha: zt,
|
1267
1267
|
alphaNum: Dt,
|
@@ -1292,12 +1292,12 @@ function Le(e) {
|
|
1292
1292
|
}
|
1293
1293
|
function Sr(e, t) {
|
1294
1294
|
return {
|
1295
|
-
[e]:
|
1295
|
+
[e]: qe[e](t)
|
1296
1296
|
};
|
1297
1297
|
}
|
1298
1298
|
function Ir(e, t, r) {
|
1299
1299
|
return {
|
1300
|
-
[e]: _e.withMessage(r,
|
1300
|
+
[e]: _e.withMessage(r, qe[e](t))
|
1301
1301
|
};
|
1302
1302
|
}
|
1303
1303
|
function Lr() {
|
@@ -1393,7 +1393,7 @@ const zr = {
|
|
1393
1393
|
class: "pdap-form",
|
1394
1394
|
onSubmit: h[0] || (h[0] = et(($) => g($), ["prevent"]))
|
1395
1395
|
}, [
|
1396
|
-
typeof o.value == "string" ? (v(), x("div", zr,
|
1396
|
+
typeof o.value == "string" ? (v(), x("div", zr, F(o.value), 1)) : q("", !0),
|
1397
1397
|
(v(!0), x(W, null, ge(n.value, ($) => {
|
1398
1398
|
var i, p, f, y;
|
1399
1399
|
return v(), S(Tt, de($, {
|
@@ -1491,7 +1491,7 @@ const Fr = /* @__PURE__ */ b("svg", {
|
|
1491
1491
|
}), a = C({
|
1492
1492
|
"pdap-nav": !0
|
1493
1493
|
});
|
1494
|
-
|
1494
|
+
Ve(() => {
|
1495
1495
|
n(), window.addEventListener("resize", n);
|
1496
1496
|
}), $e(() => {
|
1497
1497
|
window.removeEventListener("resize", n);
|
@@ -1528,8 +1528,8 @@ const Fr = /* @__PURE__ */ b("svg", {
|
|
1528
1528
|
target: "_blank",
|
1529
1529
|
referrerpolicy: "no-referrer",
|
1530
1530
|
onClick: s
|
1531
|
-
},
|
1532
|
-
o.path ? (v(), S(d(
|
1531
|
+
}, F(o.text), 9, Br)) : q("", !0),
|
1532
|
+
o.path ? (v(), S(d(ke), {
|
1533
1533
|
key: 1,
|
1534
1534
|
"active-class": "pdap-nav-link-current",
|
1535
1535
|
"exact-active-class": "pdap-nav-link-current-exact",
|
@@ -1538,10 +1538,10 @@ const Fr = /* @__PURE__ */ b("svg", {
|
|
1538
1538
|
onClick: s
|
1539
1539
|
}, {
|
1540
1540
|
default: R(() => [
|
1541
|
-
|
1541
|
+
N(F(o.text), 1)
|
1542
1542
|
]),
|
1543
1543
|
_: 2
|
1544
|
-
}, 1032, ["to"])) :
|
1544
|
+
}, 1032, ["to"])) : q("", !0)
|
1545
1545
|
]))), 128))
|
1546
1546
|
], 14, Nr)
|
1547
1547
|
], 64));
|
@@ -1568,7 +1568,7 @@ const Gr = ["href"], Xr = ["src"], Wr = ["src"], ra = /* @__PURE__ */ j({
|
|
1568
1568
|
ref: a,
|
1569
1569
|
class: "pdap-header"
|
1570
1570
|
}, [
|
1571
|
-
d(n) ? (v(), S(d(
|
1571
|
+
d(n) ? (v(), S(d(ke), {
|
1572
1572
|
key: 1,
|
1573
1573
|
to: u.logoImageAnchorPath,
|
1574
1574
|
class: "logo"
|
@@ -1594,11 +1594,14 @@ const Gr = ["href"], Xr = ["src"], Wr = ["src"], ra = /* @__PURE__ */ j({
|
|
1594
1594
|
alt: "Police Data Accessibility Project Logo"
|
1595
1595
|
}, null, 8, Xr)
|
1596
1596
|
], 8, Gr)),
|
1597
|
-
|
1597
|
+
H(Hr, { "top-position": r.value }, null, 8, ["top-position"])
|
1598
1598
|
], 512));
|
1599
1599
|
}
|
1600
1600
|
});
|
1601
|
-
const Ur = /* @__PURE__ */ b("h2", { class: "mt-0" }, "Search our database", -1), Kr = { class: "pb-4 md:pb-8" },
|
1601
|
+
const Ur = /* @__PURE__ */ b("h2", { class: "mt-0" }, "Search our database", -1), Kr = /* @__PURE__ */ b("p", { class: "pb-4 md:pb-8" }, [
|
1602
|
+
/* @__PURE__ */ N(" If you have a question to answer, we may already know about helpful data in your area. "),
|
1603
|
+
/* @__PURE__ */ b("a", { href: "https://pdap.io/data" }, "Learn more about the data here.")
|
1604
|
+
], -1), aa = /* @__PURE__ */ j({
|
1602
1605
|
__name: "QuickSearchForm",
|
1603
1606
|
props: {
|
1604
1607
|
mode: { default: "prod" }
|
@@ -1635,55 +1638,44 @@ const Ur = /* @__PURE__ */ b("h2", { class: "mt-0" }, "Search our database", -1)
|
|
1635
1638
|
window.location.assign(`${c}/search/${o}/${l}`);
|
1636
1639
|
}
|
1637
1640
|
}
|
1638
|
-
return (u, l) =>
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1641
|
+
return (u, l) => (v(), x(W, null, [
|
1642
|
+
H(pe, { class: "p-0" }, {
|
1643
|
+
default: R(() => [
|
1644
|
+
Ur,
|
1645
|
+
Kr
|
1646
|
+
]),
|
1647
|
+
_: 1
|
1648
|
+
}),
|
1649
|
+
H(pe, {
|
1650
|
+
alignment: "center",
|
1651
|
+
class: "pdap-quick-search-form h-full max-h-[75-vh] justify-start p-0"
|
1652
|
+
}, {
|
1653
|
+
default: R(() => [
|
1654
|
+
H(Mr, {
|
1655
|
+
id: "quick-search-form",
|
1656
|
+
class: "flex flex-wrap gap-x-4",
|
1657
|
+
error: n.value,
|
1658
|
+
schema: a,
|
1659
|
+
name: "quickSearchForm",
|
1660
|
+
onSubmit: s
|
1661
|
+
}, {
|
1662
|
+
default: R(() => [
|
1663
|
+
H(at, {
|
1664
|
+
type: "submit",
|
1665
|
+
class: "flex-grow-0 flex-shrink-0 basis-full max-w-[unset] mt-4"
|
1666
|
+
}, {
|
1647
1667
|
default: R(() => [
|
1648
|
-
|
1668
|
+
N("Search Data Sources")
|
1649
1669
|
]),
|
1650
1670
|
_: 1
|
1651
1671
|
})
|
1652
|
-
])
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
}, {
|
1660
|
-
default: R(() => [
|
1661
|
-
q(Mr, {
|
1662
|
-
id: "quick-search-form",
|
1663
|
-
class: "flex flex-wrap gap-x-4",
|
1664
|
-
error: n.value,
|
1665
|
-
schema: a,
|
1666
|
-
name: "quickSearchForm",
|
1667
|
-
onSubmit: s
|
1668
|
-
}, {
|
1669
|
-
default: R(() => [
|
1670
|
-
q(at, {
|
1671
|
-
type: "submit",
|
1672
|
-
class: "flex-grow-0 flex-shrink-0 basis-full max-w-[unset] mt-4"
|
1673
|
-
}, {
|
1674
|
-
default: R(() => [
|
1675
|
-
k("Search Data Sources")
|
1676
|
-
]),
|
1677
|
-
_: 1
|
1678
|
-
})
|
1679
|
-
]),
|
1680
|
-
_: 1
|
1681
|
-
}, 8, ["error"])
|
1682
|
-
]),
|
1683
|
-
_: 1
|
1684
|
-
})
|
1685
|
-
], 64);
|
1686
|
-
};
|
1672
|
+
]),
|
1673
|
+
_: 1
|
1674
|
+
}, 8, ["error"])
|
1675
|
+
]),
|
1676
|
+
_: 1
|
1677
|
+
})
|
1678
|
+
], 64));
|
1687
1679
|
}
|
1688
1680
|
});
|
1689
1681
|
const Qr = ["alt", "src"], na = /* @__PURE__ */ j({
|
package/dist/styles.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.pdap-button{margin-left:.25rem;margin-right:.25rem;display:inline-block;width:100%;cursor:pointer;border-radius:0;border-width:2px;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity));padding:.5rem 1.5rem;text-align:center;font-size:1.125rem;font-weight:600;text-decoration-thickness:0px}.pdap-button:disabled{opacity:.5}.pdap-button:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 640px){.pdap-button{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}}@media (min-width: 1024px){.pdap-button{font-size:1.25rem}}.pdap-button-primary{margin-left:.25rem;margin-right:.25rem;display:inline-block;width:100%;cursor:pointer;border-radius:0;border-width:2px;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity));padding:.5rem 1.5rem;text-align:center;font-size:1.125rem;font-weight:600;text-decoration-thickness:0px}.pdap-button-primary:disabled{opacity:.5}.pdap-button-primary:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 640px){.pdap-button-primary{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}}@media (min-width: 1024px){.pdap-button-primary{font-size:1.25rem}}.pdap-button-primary{--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-gold)/var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.pdap-button-primary[type=submit]{--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-gold)/var(--tw-bg-opacity))}.pdap-button-secondary{margin-left:.25rem;margin-right:.25rem;display:inline-block;width:100%;cursor:pointer;border-radius:0;border-width:2px;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity));padding:.5rem 1.5rem;text-align:center;font-size:1.125rem;font-weight:600;text-decoration-thickness:0px}.pdap-button-secondary:disabled{opacity:.5}.pdap-button-secondary:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 640px){.pdap-button-secondary{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}}@media (min-width: 1024px){.pdap-button-secondary{font-size:1.25rem}}.pdap-button-secondary{border-width:2px;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgba(var(--color-brand-gold)/var(--tw-text-opacity))}.pdap-button-secondary[type=submit]{background-color:transparent}.pdap-flex-container{margin-left:auto;margin-right:auto;display:-webkit-box;display:flex;height:100%;width:100%;max-width:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:start;align-items:flex-start;-webkit-box-pack:start;justify-content:flex-start;gap:.5rem;padding:2rem}@media (min-width: 500px){.pdap-flex-container{max-width:48rem}}@media (min-width: 1024px){.pdap-flex-container{max-width:59rem}}.pdap-flex-container-center{margin-left:auto;margin-right:auto;display:-webkit-box;display:flex;height:100%;width:100%;max-width:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:start;align-items:flex-start;-webkit-box-pack:start;justify-content:flex-start;gap:.5rem;padding:2rem}@media (min-width: 500px){.pdap-flex-container-center{max-width:48rem}}@media (min-width: 1024px){.pdap-flex-container-center{max-width:59rem}}.pdap-flex-container-center>*{width:100%}.pdap-flex-container-center.pdap-grid-item{padding:0}.pdap-flex-container-center{-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.pdap-flex-container-start{margin-left:auto;margin-right:auto;display:-webkit-box;display:flex;height:100%;width:100%;max-width:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:start;align-items:flex-start;-webkit-box-pack:start;justify-content:flex-start;gap:.5rem;padding:2rem}@media (min-width: 500px){.pdap-flex-container-start{max-width:48rem}}@media (min-width: 1024px){.pdap-flex-container-start{max-width:59rem}}.pdap-flex-container-start>*{width:100%}.pdap-flex-container-start.pdap-grid-item{padding:0}.pdap-flex-container>*{width:100%}.pdap-flex-container.pdap-grid-item{padding:0}.pdap-footer{position:relative;margin-left:auto;margin-right:auto;margin-top:auto;--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-wine)/var(--tw-bg-opacity));padding-left:.5rem;padding-right:.5rem;padding-top:.5rem;padding-bottom:0;text-align:center;font-size:1.125rem;--tw-text-opacity: 1;color:rgba(255,251,250,var(--tw-text-opacity))}@media (min-width: 768px){.pdap-footer{padding:2rem .5rem}}.pdap-footer-social-links{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-pack:center;justify-content:center;gap:.5rem}@media (min-width: 768px){.pdap-footer-social-links{flex-wrap:nowrap}}.pdap-footer-social-links>*{margin-bottom:.5rem}.pdap-footer .pdap-flex-container>*{margin-bottom:.5rem;color:inherit}.pdap-footer-widget-links{margin-top:1.5rem;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center}.pdap-footer-logo{margin-left:1.75rem;width:10rem;--tw-invert: invert(100%);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.pdap-footer-logo img{width:100%}@media (min-width: 1024px){.pdap-nav-link-container{margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;flex-shrink:0}}.pdap-footer-social-link{margin-left:.25rem;margin-right:.25rem;display:inline-block;width:100%;cursor:pointer;border-radius:0;border-width:2px;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-gold)/var(--tw-bg-opacity));padding:.5rem 1.5rem;text-align:center;font-size:1.125rem;font-weight:600;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));text-decoration-thickness:0px}.pdap-footer-social-link:disabled{opacity:.5}.pdap-footer-social-link:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 640px){.pdap-footer-social-link{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}}@media (min-width: 1024px){.pdap-footer-social-link{font-size:1.25rem}}.pdap-input{margin-bottom:.75rem;height:-webkit-max-content;height:-moz-max-content;height:max-content;width:100%;gap:1rem;line-height:1.5}.pdap-grid-container.pdap-input{gap:0px;padding:0}.pdap-input input{border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgba(var(--color-neutral-500)/var(--tw-border-opacity));padding:.5rem .75rem;--tw-text-opacity: 1;color:rgba(0,0,0,var(--tw-text-opacity))}@media (prefers-color-scheme: dark){.pdap-input input{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-950)/var(--tw-bg-opacity))}}.pdap-input input::-webkit-input-placeholder{font-size:1.125rem;--tw-text-opacity: 1;color:rgba(var(--color-neutral-600)/var(--tw-text-opacity))}.pdap-input input::-moz-placeholder{font-size:1.125rem;--tw-text-opacity: 1;color:rgba(var(--color-neutral-600)/var(--tw-text-opacity))}.pdap-input input::-ms-input-placeholder{font-size:1.125rem;--tw-text-opacity: 1;color:rgba(var(--color-neutral-600)/var(--tw-text-opacity))}.pdap-input input::placeholder{font-size:1.125rem;--tw-text-opacity: 1;color:rgba(var(--color-neutral-600)/var(--tw-text-opacity))}.pdap-input input:focus,.pdap-input input:focus-within,.pdap-input input:focus-visible{border-width:2px;border-style:solid;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-blue-light)/var(--tw-border-opacity));outline:2px solid transparent;outline-offset:2px}.pdap-input label{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content;padding-top:.5rem;padding-bottom:.5rem;font-size:1.125rem;font-weight:500}.pdap-input-error{flex-wrap:wrap;row-gap:0}.pdap-input-error label{-webkit-box-pack:start;justify-content:flex-start;font-size:.875rem}.pdap-input-error input{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}@media (prefers-color-scheme: dark){.pdap-input-error input{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}}.pdap-input-error-message{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:start;justify-content:flex-start;--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity));padding:.25rem;font-size:.75rem;--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.pdap-input input[type=text]{height:3rem;font-size:1.125rem}.pdap-input input[type=checkbox]{height:1.5rem;width:1.5rem;accent-color:rgba(var(--color-brand-gold)/1)}.pdap-input input[type=checkbox]~label{padding-left:0}.pdap-form{margin-bottom:1rem;width:100%}.pdap-form-error-message{margin-bottom:.75rem;display:-webkit-box;display:flex;flex-shrink:1;flex-basis:100%;-webkit-box-align:center;align-items:center;-webkit-box-pack:start;justify-content:flex-start;--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity));padding:.5rem;font-size:.875rem;--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.pdap-grid-container{margin-left:auto;margin-right:auto;display:grid;height:100%;width:100%;grid-template-columns:auto;grid-template-rows:auto;gap:1rem;padding:2rem}@media (min-width: 500px){.pdap-grid-container{max-width:48rem}}@media (min-width: 768px){.pdap-grid-container{gap:2rem}}@media (min-width: 1024px){.pdap-grid-container{max-width:59rem}}.pdap-grid-container-column-1{grid-template-columns:repeat(1,minmax(0,1fr))}.pdap-grid-container-column-2{grid-template-columns:repeat(1,minmax(0,1fr));-webkit-box-align:start;align-items:flex-start}@media (min-width: 768px){.pdap-grid-container-column-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.pdap-grid-container-column-3{grid-template-columns:repeat(1,minmax(0,1fr))}@media (min-width: 768px){.pdap-grid-container-column-3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.pdap-grid-container-column-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.pdap-grid-item{grid-column:span 1 / span 1;grid-row:span 1 / span 1}@media (min-width: 768px){.pdap-grid-item-span-column-2{grid-column:span 2 / span 2}}.pdap-grid-item-span-column-3{grid-column:span 1 / span 1}@media (min-width: 768px){.pdap-grid-item-span-column-3{grid-column:span 2 / span 2}}@media (min-width: 1024px){.pdap-grid-item-span-column-3{grid-column:span 3 / span 3}}.pdap-nav{position:relative;z-index:40;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-400)/var(--tw-bg-opacity))}@media not all and (min-width: 1024px){.pdap-nav{position:absolute;left:0;top:104px;height:calc(100vh - 104px);width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;padding:1.5rem}}@media (min-width: 1024px){.pdap-nav{-webkit-box-pack:center;justify-content:center;background-color:transparent}}@media not all and (min-width: 1024px){.pdap-nav[aria-expanded=false],.pdap-nav-open-button{display:none}}.pdap-nav-link-container{position:relative;display:inline-block;flex-basis:max-content;list-style-type:none;vertical-align:top}@media (min-width: 1024px){.pdap-nav-link-container{margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;flex-shrink:0;-webkit-box-flex:1;flex-grow:1}}.pdap-nav-link{padding:.5rem;text-align:left;font-size:1.125rem;font-weight:500;--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity));text-decoration-thickness:0px}.pdap-nav-link-current{--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity))}@media (min-width: 1024px){.pdap-nav-link-current{outline-style:solid;outline-color:rgba(var(--color-neutral-800)/1)}}.pdap-nav-link-current-exact{--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity))}@media (min-width: 1024px){.pdap-nav-link-current-exact{outline-style:solid;outline-color:rgba(var(--color-neutral-800)/1)}}.pdap-nav-open-button{display:-webkit-box;display:flex;cursor:pointer;-webkit-box-align:center;align-items:center;font-size:1.25rem}@media (min-width: 1024px){.pdap-nav-open-button{display:none}}.pdap-nav-open-button svg{height:1.25rem;fill:rgba(var(--color-neutral-950)/1)}.pdap-header{position:relative;z-index:50;display:-webkit-box;display:flex;width:100%;-webkit-box-pack:justify;justify-content:space-between;--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-50)/var(--tw-bg-opacity));padding:1rem}@media (prefers-color-scheme: dark){.pdap-header{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-300)/var(--tw-bg-opacity))}}@media (min-width: 768px){.pdap-header{padding:1.5rem}}.logo{position:relative;max-width:80%;text-decoration-thickness:0px}@media (prefers-color-scheme: dark){.logo{--tw-invert: invert(100%);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}@media (min-width: 500px){.logo{max-width:none}}.pdap-quick-search-form .pdap-input{flex-shrink:0;-webkit-box-flex:1;flex-grow:1;flex-basis:45%;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;row-gap:0px}.pdap-quick-search-form .pdap-input-label{-webkit-box-pack:start;justify-content:flex-start}.pdap-tile-icon{height:auto;max-width:7.5rem}@tailwind base;@tailwind utilities;*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:Libre Franklin,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:Source Code Pro,monospace,ui-monospace,SFMono-Regular;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;-webkit-font-feature-settings:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#9ca3af}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--color-neutral-50: 255 255 255;--color-neutral-100: 255 253 253;--color-neutral-200: 255 251 250;--color-neutral-300: 204 204 204;--color-neutral-400: 191 192 192;--color-neutral-500: 153 153 153;--color-neutral-600: 97 97 97;--color-neutral-700: 51 51 51;--color-neutral-800: 34 34 34;--color-neutral-900: 26 26 26;--color-neutral-950: 0 0 0;--color-brand-blue-light: 56 152 236;--color-brand-blue-medium: 0 130 243;--color-brand-gold: 213 162 60;--color-brand-wine: 81 42 79}@media (prefers-color-scheme: dark){:root{--color-neutral-50: 0 0 0;--color-neutral-100: 26 26 26;--color-neutral-200: 34 34 34;--color-neutral-300: 51 51 51;--color-neutral-400: 97 97 97;--color-neutral-500: 153 153 153;--color-neutral-600: 191 192 192;--color-neutral-700: 204 204 204;--color-neutral-800: 255 251 250;--color-neutral-800: 255 253 253;--color-neutral-950: 255 255 255}}*{-webkit-box-sizing:border-box;box-sizing:border-box}html,body,#app{height:100%}body{margin:0;min-height:100%;--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-50)/var(--tw-bg-opacity));font-family:Libre Franklin,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:1.25rem;font-weight:300;line-height:1.5;--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity))}@media (min-width: 1024px){body{font-size:1.5rem}}img{display:inline-block;max-width:100%;vertical-align:middle}h1,h2,h3,h4,h5,h6{font-family:Libre Franklin,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.25}h3,h4{--tw-text-opacity: 1;color:rgba(var(--color-brand-wine)/var(--tw-text-opacity))}@media (prefers-color-scheme: dark){h3,h4{--tw-text-opacity: 1;color:rgba(var(--color-neutral-500)/var(--tw-text-opacity))}}h4,h5,h6{margin-bottom:.625rem;margin-top:.625rem}h1:first-child{margin-top:0}h1.pdap-grid-item,h2.pdap-grid-item,h3.pdap-grid-item,h4.pdap-grid-item,h5.pdap-grid-item,h6.pdap-grid-item{margin-top:0;margin-bottom:0}h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child{margin-top:0}h1{margin-top:3rem;margin-bottom:1rem;font-size:2.625rem;font-weight:500}h2{margin-bottom:1rem;margin-top:2rem;font-size:1.5rem;font-weight:700}@media (min-width: 768px){h2{font-size:2rem}}h3{margin-bottom:.5rem;margin-top:2rem;font-size:1rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}@media (min-width: 768px){h3{font-size:1.125rem}}h4{font-size:1.125rem;font-weight:600;text-transform:uppercase;letter-spacing:.07em}h5{font-size:1.75rem;font-weight:300;font-style:italic}h6{font-size:1.125rem;font-weight:300;text-transform:uppercase;letter-spacing:.8125rem}a{--tw-text-opacity: 1;color:rgba(var(--color-brand-gold)/var(--tw-text-opacity));-webkit-text-decoration-style:solid;text-decoration-style:solid;text-decoration-thickness:6%;text-underline-offset:5%}a:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}p{margin-bottom:.5rem;margin-top:0}p,li{max-width:45ch}strong{font-weight:600}code{max-width:100%;font-family:Source Code Pro,monospace,ui-monospace,SFMono-Regular;font-weight:400;--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity))}p>code,li>code,pre code{background-color:rgba(var(--color-brand-wine)/var(--tw-bg-opacity));--tw-bg-opacity: .05}p>code,li>code{border-radius:.125rem;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:.25rem .5rem;word-wrap:break-word}pre code{display:block;max-width:100%;overflow:scroll;white-space:pre;border-width:1px;border-style:solid;border-color:rgba(var(--color-brand-wine)/var(--tw-border-opacity));--tw-border-opacity: .2;padding:1.25rem;text-align:left;font-size:1.25rem}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-ms-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.relative{position:relative}.col-span-1{grid-column:span 1 / span 1}.m-0{margin:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-\[\.625rem\]{margin-bottom:.625rem}.ml-7{margin-left:1.75rem}.mt-0{margin-top:0}.mt-12{margin-top:3rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.mt-\[\.625rem\]{margin-top:.625rem}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:-webkit-box;display:flex}.grid{display:grid}.h-12{height:3rem}.h-6{height:1.5rem}.h-\[max-content\]{height:-webkit-max-content;height:-moz-max-content;height:max-content}.h-auto{height:auto}.h-full{height:100%}.max-h-\[75-vh\]{max-height:75-vh}.w-6{width:1.5rem}.w-\[10rem\]{width:10rem}.w-full{width:100%}.max-w-\[45ch\]{max-width:45ch}.max-w-\[7\.5rem\]{max-width:7.5rem}.max-w-\[80\%\]{max-width:80%}.max-w-\[max-content\]{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}.max-w-\[unset\]{max-width:unset}.max-w-full{max-width:100%}.max-w-none{max-width:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.flex-grow{-webkit-box-flex:1;flex-grow:1}.flex-grow-0{-webkit-box-flex:0;flex-grow:0}.basis-\[45\%\]{flex-basis:45%}.basis-\[max-content\]{flex-basis:max-content}.basis-full{flex-basis:100%}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.grid-cols-\[auto\]{grid-template-columns:auto}.grid-rows-\[auto\]{grid-template-rows:auto}.flex-col{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{-webkit-box-align:start;align-items:flex-start}.items-center{-webkit-box-align:center;align-items:center}.justify-start{-webkit-box-pack:start;justify-content:flex-start}.justify-center{-webkit-box-pack:center;justify-content:center}.justify-between{-webkit-box-pack:justify;justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-x-4{-webkit-column-gap:1rem;-moz-column-gap:1rem;column-gap:1rem}.overflow-scroll{overflow:scroll}.rounded-none{border-radius:0}.border{border-width:1px}.border-2{border-width:2px}.border-\[1px\]{border-width:1px}.border-solid{border-style:solid}.border-brand-blue-light{--tw-border-opacity: 1;border-color:rgba(var(--color-brand-blue-light)/var(--tw-border-opacity))}.border-brand-gold{--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity))}.border-brand-wine{--tw-border-opacity: 1;border-color:rgba(var(--color-brand-wine)/var(--tw-border-opacity))}.border-neutral-500{--tw-border-opacity: 1;border-color:rgba(var(--color-neutral-500)/var(--tw-border-opacity))}.border-red-800{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}.border-opacity-20{--tw-border-opacity: .2}.bg-brand-gold{--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-gold)/var(--tw-bg-opacity))}.bg-brand-wine{--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-wine)/var(--tw-bg-opacity))}.bg-neutral-400{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-400)/var(--tw-bg-opacity))}.bg-neutral-50{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-50)/var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.box-decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.fill-neutral-950{fill:rgba(var(--color-neutral-950)/1)}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-4{padding-bottom:1rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-mono{font-family:Source Code Pro,monospace,ui-monospace,SFMono-Regular}.font-sans{font-family:Libre Franklin,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.text-\[2\.625rem\]{font-size:2.625rem}.text-lg{font-size:1.125rem}.text-med{font-size:1rem}.text-xl{font-size:1.25rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-normal{line-height:1.5}.tracking-\[\.07em\]{letter-spacing:.07em}.tracking-\[\.1em\]{letter-spacing:.1em}.tracking-\[\.8125rem\]{letter-spacing:.8125rem}.text-\[rgba\(0\,0\,0\)\]{--tw-text-opacity: 1;color:rgba(0,0,0,var(--tw-text-opacity))}.text-\[rgba\(255\,251\,250\)\]{--tw-text-opacity: 1;color:rgba(255,251,250,var(--tw-text-opacity))}.text-brand-gold{--tw-text-opacity: 1;color:rgba(var(--color-brand-gold)/var(--tw-text-opacity))}.text-brand-wine{--tw-text-opacity: 1;color:rgba(var(--color-brand-wine)/var(--tw-text-opacity))}.text-neutral-600{--tw-text-opacity: 1;color:rgba(var(--color-neutral-600)/var(--tw-text-opacity))}.text-neutral-950{--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.decoration-solid{-webkit-text-decoration-style:solid;text-decoration-style:solid}.decoration-0{text-decoration-thickness:0px}.decoration-\[6\%\]{text-decoration-thickness:6%}.underline-offset-\[5\%\]{text-underline-offset:5%}.invert{--tw-invert: invert(100%);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.lock-scroll{overflow:hidden}.hover\:brightness-85:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.disabled\:opacity-50:disabled{opacity:.5}@media (prefers-color-scheme: dark){.dark\:bg-neutral-300{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-300)/var(--tw-bg-opacity))}.dark\:bg-neutral-950{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-950)/var(--tw-bg-opacity))}.dark\:invert{--tw-invert: invert(100%);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}@media not all and (min-width: 1024px){.max-lg\:absolute{position:absolute}.max-lg\:left-0{left:0}.max-lg\:top-\[104px\]{top:104px}.max-lg\:hidden{display:none}.max-lg\:h-\[calc\(100vh-104px\)\]{height:calc(100vh - 104px)}.max-lg\:flex-col{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.max-lg\:p-6{padding:1.5rem}}@media (min-width: 500px){.xs\:max-w-3xl{max-width:48rem}}@media (min-width: 768px){.md\:col-span-2{grid-column:span 2 / span 2}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:gap-8{gap:2rem}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:py-8{padding-top:2rem;padding-bottom:2rem}.md\:pb-8{padding-bottom:2rem}}@media (min-width: 1024px){.lg\:mx-2{margin-left:.5rem;margin-right:.5rem}.lg\:hidden{display:none}.lg\:flex-shrink-0{flex-shrink:0}.lg\:flex-grow{-webkit-box-flex:1;flex-grow:1}.lg\:justify-center{-webkit-box-pack:center;justify-content:center}.lg\:bg-transparent{background-color:transparent}.lg\:text-xl{font-size:1.25rem}.lg\:outline{outline-style:solid}.lg\:outline-neutral-800{outline-color:rgba(var(--color-neutral-800)/1)}}
|
1
|
+
.pdap-button{margin-left:.25rem;margin-right:.25rem;display:inline-block;width:100%;cursor:pointer;border-radius:0;border-width:2px;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity));padding:.5rem 1.5rem;text-align:center;font-size:1.125rem;font-weight:600;text-decoration-thickness:0px}.pdap-button:disabled{opacity:.5}.pdap-button:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 640px){.pdap-button{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}}@media (min-width: 1024px){.pdap-button{font-size:1.25rem}}.pdap-button-primary{margin-left:.25rem;margin-right:.25rem;display:inline-block;width:100%;cursor:pointer;border-radius:0;border-width:2px;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity));padding:.5rem 1.5rem;text-align:center;font-size:1.125rem;font-weight:600;text-decoration-thickness:0px}.pdap-button-primary:disabled{opacity:.5}.pdap-button-primary:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 640px){.pdap-button-primary{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}}@media (min-width: 1024px){.pdap-button-primary{font-size:1.25rem}}.pdap-button-primary{--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-gold)/var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.pdap-button-primary[type=submit]{--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-gold)/var(--tw-bg-opacity))}.pdap-button-secondary{margin-left:.25rem;margin-right:.25rem;display:inline-block;width:100%;cursor:pointer;border-radius:0;border-width:2px;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity));padding:.5rem 1.5rem;text-align:center;font-size:1.125rem;font-weight:600;text-decoration-thickness:0px}.pdap-button-secondary:disabled{opacity:.5}.pdap-button-secondary:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 640px){.pdap-button-secondary{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}}@media (min-width: 1024px){.pdap-button-secondary{font-size:1.25rem}}.pdap-button-secondary{border-width:2px;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgba(var(--color-brand-gold)/var(--tw-text-opacity))}.pdap-button-secondary[type=submit]{background-color:transparent}.pdap-flex-container{margin-left:auto;margin-right:auto;display:-webkit-box;display:flex;height:100%;width:100%;max-width:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:start;align-items:flex-start;-webkit-box-pack:start;justify-content:flex-start;gap:.5rem;padding:2rem}@media (min-width: 500px){.pdap-flex-container{max-width:48rem}}@media (min-width: 1024px){.pdap-flex-container{max-width:59rem}}.pdap-flex-container-center{margin-left:auto;margin-right:auto;display:-webkit-box;display:flex;height:100%;width:100%;max-width:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:start;align-items:flex-start;-webkit-box-pack:start;justify-content:flex-start;gap:.5rem;padding:2rem}@media (min-width: 500px){.pdap-flex-container-center{max-width:48rem}}@media (min-width: 1024px){.pdap-flex-container-center{max-width:59rem}}.pdap-flex-container-center>*{width:100%}.pdap-flex-container-center.pdap-grid-item{padding:0}.pdap-flex-container-center{-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.pdap-flex-container-start{margin-left:auto;margin-right:auto;display:-webkit-box;display:flex;height:100%;width:100%;max-width:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:start;align-items:flex-start;-webkit-box-pack:start;justify-content:flex-start;gap:.5rem;padding:2rem}@media (min-width: 500px){.pdap-flex-container-start{max-width:48rem}}@media (min-width: 1024px){.pdap-flex-container-start{max-width:59rem}}.pdap-flex-container-start>*{width:100%}.pdap-flex-container-start.pdap-grid-item{padding:0}.pdap-flex-container>*{width:100%}.pdap-flex-container.pdap-grid-item{padding:0}.pdap-footer{position:relative;margin-left:auto;margin-right:auto;margin-top:auto;--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-wine)/var(--tw-bg-opacity));padding-left:.5rem;padding-right:.5rem;padding-top:.5rem;padding-bottom:0;text-align:center;font-size:1.125rem;--tw-text-opacity: 1;color:rgba(255,251,250,var(--tw-text-opacity))}@media (min-width: 768px){.pdap-footer{padding:2rem .5rem}}.pdap-footer-social-links{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-pack:center;justify-content:center;gap:.5rem}@media (min-width: 768px){.pdap-footer-social-links{flex-wrap:nowrap}}.pdap-footer-social-links>*{margin-bottom:.5rem}.pdap-footer .pdap-flex-container>*{margin-bottom:.5rem;color:inherit}.pdap-footer-widget-links{margin-top:1.5rem;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center}.pdap-footer-logo{margin-left:1.75rem;width:10rem;--tw-invert: invert(100%);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.pdap-footer-logo img{width:100%}.pdap-nav-link-container{position:relative;display:inline-block;flex-basis:max-content;list-style-type:none;vertical-align:top}@media (min-width: 1024px){.pdap-nav-link-container{margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;flex-shrink:0}}.pdap-footer-social-link{margin-left:.25rem;margin-right:.25rem;display:inline-block;width:100%;cursor:pointer;border-radius:0;border-width:2px;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-gold)/var(--tw-bg-opacity));padding:.5rem 1.5rem;text-align:center;font-size:1.125rem;font-weight:600;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));text-decoration-thickness:0px}.pdap-footer-social-link:disabled{opacity:.5}.pdap-footer-social-link:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 640px){.pdap-footer-social-link{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}}@media (min-width: 1024px){.pdap-footer-social-link{font-size:1.25rem}}.pdap-input{margin-bottom:.75rem;height:-webkit-max-content;height:-moz-max-content;height:max-content;width:100%;gap:1rem;line-height:1.5}.pdap-grid-container.pdap-input{gap:0px;padding:0}.pdap-input input{border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgba(var(--color-neutral-500)/var(--tw-border-opacity));padding:.5rem .75rem;--tw-text-opacity: 1;color:rgba(0,0,0,var(--tw-text-opacity))}@media (prefers-color-scheme: dark){.pdap-input input{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-950)/var(--tw-bg-opacity))}}.pdap-input input::-webkit-input-placeholder{font-size:1.125rem;--tw-text-opacity: 1;color:rgba(var(--color-neutral-600)/var(--tw-text-opacity))}.pdap-input input::-moz-placeholder{font-size:1.125rem;--tw-text-opacity: 1;color:rgba(var(--color-neutral-600)/var(--tw-text-opacity))}.pdap-input input::-ms-input-placeholder{font-size:1.125rem;--tw-text-opacity: 1;color:rgba(var(--color-neutral-600)/var(--tw-text-opacity))}.pdap-input input::placeholder{font-size:1.125rem;--tw-text-opacity: 1;color:rgba(var(--color-neutral-600)/var(--tw-text-opacity))}.pdap-input input:focus,.pdap-input input:focus-within,.pdap-input input:focus-visible{border-width:2px;border-style:solid;--tw-border-opacity: 1;border-color:rgba(var(--color-brand-blue-light)/var(--tw-border-opacity));outline:2px solid transparent;outline-offset:2px}.pdap-input label{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content;padding-top:.5rem;padding-bottom:.5rem;font-size:1.125rem;font-weight:500}.pdap-input-error{flex-wrap:wrap;row-gap:0}.pdap-input-error label{-webkit-box-pack:start;justify-content:flex-start;font-size:.875rem}.pdap-input-error input{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}@media (prefers-color-scheme: dark){.pdap-input-error input{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}}.pdap-input-error-message{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:start;justify-content:flex-start;--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity));padding:.25rem;font-size:.75rem;--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.pdap-input input[type=text]{height:3rem;font-size:1.125rem}.pdap-input input[type=checkbox]{height:1.5rem;width:1.5rem;accent-color:rgba(var(--color-brand-gold)/1)}.pdap-input input[type=checkbox]~label{padding-left:0}.pdap-form{margin-bottom:1rem;width:100%}.pdap-form-error-message{margin-bottom:.75rem;display:-webkit-box;display:flex;flex-shrink:1;flex-basis:100%;-webkit-box-align:center;align-items:center;-webkit-box-pack:start;justify-content:flex-start;--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity));padding:.5rem;font-size:.875rem;--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.pdap-grid-container{margin-left:auto;margin-right:auto;display:grid;height:100%;width:100%;grid-template-columns:auto;grid-template-rows:auto;gap:1rem;padding:2rem}@media (min-width: 500px){.pdap-grid-container{max-width:48rem}}@media (min-width: 768px){.pdap-grid-container{gap:2rem}}@media (min-width: 1024px){.pdap-grid-container{max-width:59rem}}.pdap-grid-container-column-1{grid-template-columns:repeat(1,minmax(0,1fr))}.pdap-grid-container-column-2{grid-template-columns:repeat(1,minmax(0,1fr));-webkit-box-align:start;align-items:flex-start}@media (min-width: 768px){.pdap-grid-container-column-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.pdap-grid-container-column-3{grid-template-columns:repeat(1,minmax(0,1fr))}@media (min-width: 768px){.pdap-grid-container-column-3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.pdap-grid-container-column-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.pdap-grid-item{grid-column:span 1 / span 1;grid-row:span 1 / span 1}@media (min-width: 768px){.pdap-grid-item-span-column-2{grid-column:span 2 / span 2}}.pdap-grid-item-span-column-3{grid-column:span 1 / span 1}@media (min-width: 768px){.pdap-grid-item-span-column-3{grid-column:span 2 / span 2}}@media (min-width: 1024px){.pdap-grid-item-span-column-3{grid-column:span 3 / span 3}}.pdap-nav{position:relative;z-index:40;display:-webkit-box;display:flex;-webkit-box-align:start;align-items:flex-start;--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-300)/var(--tw-bg-opacity))}@media not all and (min-width: 1024px){.pdap-nav{position:absolute;left:0;top:104px;height:calc(100vh - 104px);width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;padding:1.5rem}}@media (min-width: 1024px){.pdap-nav{-webkit-box-pack:center;justify-content:center;background-color:transparent}}@media not all and (min-width: 1024px){.pdap-nav[aria-expanded=false],.pdap-nav-open-button{display:none}}.pdap-nav-link-container{position:relative;display:inline-block;flex-basis:max-content;list-style-type:none;padding:.5rem;vertical-align:top}@media (min-width: 1024px){.pdap-nav-link-container{padding:0;margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;flex-shrink:0;-webkit-box-flex:1;flex-grow:1}}.pdap-nav-link{padding:.5rem;text-align:left;font-size:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity));text-decoration-thickness:0px}@media (min-width: 1024px){.pdap-nav-link{font-size:1.125rem}}.pdap-nav-link-current{--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity))}@media (min-width: 1024px){.pdap-nav-link-current{outline-style:solid;outline-color:rgba(var(--color-neutral-800)/1)}}.pdap-nav-link-current-exact{--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity))}@media (min-width: 1024px){.pdap-nav-link-current-exact{outline-style:solid;outline-color:rgba(var(--color-neutral-800)/1)}}.pdap-nav-open-button{display:-webkit-box;display:flex;cursor:pointer;-webkit-box-align:center;align-items:center;font-size:1.25rem}@media (min-width: 1024px){.pdap-nav-open-button{display:none}}.pdap-nav-open-button svg{height:1.25rem;fill:rgba(var(--color-neutral-950)/1)}.pdap-header{position:relative;z-index:50;display:-webkit-box;display:flex;width:100%;-webkit-box-pack:justify;justify-content:space-between;--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-50)/var(--tw-bg-opacity));padding:1rem}@media (prefers-color-scheme: dark){.pdap-header{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-300)/var(--tw-bg-opacity))}}@media (min-width: 768px){.pdap-header{padding:1.5rem}}.logo{position:relative;max-width:80%;text-decoration-thickness:0px}@media (prefers-color-scheme: dark){.logo{--tw-invert: invert(100%);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}@media (min-width: 500px){.logo{max-width:none}}.pdap-quick-search-form .pdap-input{flex-shrink:0;-webkit-box-flex:1;flex-grow:1;flex-basis:45%;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;row-gap:0px}.pdap-quick-search-form .pdap-input-label{-webkit-box-pack:start;justify-content:flex-start}.pdap-tile-icon{height:auto;max-width:7.5rem}@tailwind base;@tailwind utilities;*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:Libre Franklin,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:Source Code Pro,monospace,ui-monospace,SFMono-Regular;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;-webkit-font-feature-settings:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#9ca3af}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--color-neutral-50: 255 255 255;--color-neutral-100: 255 253 253;--color-neutral-200: 255 251 250;--color-neutral-300: 204 204 204;--color-neutral-400: 191 192 192;--color-neutral-500: 153 153 153;--color-neutral-600: 97 97 97;--color-neutral-700: 51 51 51;--color-neutral-800: 34 34 34;--color-neutral-900: 26 26 26;--color-neutral-950: 0 0 0;--color-brand-blue-light: 56 152 236;--color-brand-blue-medium: 0 130 243;--color-brand-gold: 213 162 60;--color-brand-wine: 81 42 79}@media (prefers-color-scheme: dark){:root{--color-neutral-50: 0 0 0;--color-neutral-100: 26 26 26;--color-neutral-200: 34 34 34;--color-neutral-300: 51 51 51;--color-neutral-400: 97 97 97;--color-neutral-500: 153 153 153;--color-neutral-600: 191 192 192;--color-neutral-700: 204 204 204;--color-neutral-800: 255 251 250;--color-neutral-800: 255 253 253;--color-neutral-950: 255 255 255}}*{-webkit-box-sizing:border-box;box-sizing:border-box}html,body,#app{height:100%}body{margin:0;min-height:100%;--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-50)/var(--tw-bg-opacity));font-family:Libre Franklin,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:1.25rem;font-weight:300;line-height:1.5;--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity))}@media (min-width: 1024px){body{font-size:1.5rem}}img{display:inline-block;max-width:100%;vertical-align:middle}h1,h2,h3,h4,h5,h6{font-family:Libre Franklin,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.25}h3,h4{--tw-text-opacity: 1;color:rgba(var(--color-brand-wine)/var(--tw-text-opacity))}@media (prefers-color-scheme: dark){h3,h4{--tw-text-opacity: 1;color:rgba(var(--color-neutral-500)/var(--tw-text-opacity))}}h4,h5,h6{margin-bottom:.625rem;margin-top:.625rem}h1:first-child{margin-top:0}h1.pdap-grid-item,h2.pdap-grid-item,h3.pdap-grid-item,h4.pdap-grid-item,h5.pdap-grid-item,h6.pdap-grid-item{margin-top:0;margin-bottom:0}h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child{margin-top:0}h1{margin-top:3rem;margin-bottom:1rem;font-size:2.625rem;font-weight:500}h2{margin-bottom:1rem;margin-top:2rem;font-size:1.5rem;font-weight:700}@media (min-width: 768px){h2{font-size:2rem}}h3{margin-bottom:.5rem;margin-top:2rem;font-size:1rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}@media (min-width: 768px){h3{font-size:1.125rem}}h4{font-size:1.125rem;font-weight:600;text-transform:uppercase;letter-spacing:.07em}h5{font-size:1.75rem;font-weight:300;font-style:italic}h6{font-size:1.125rem;font-weight:300;text-transform:uppercase;letter-spacing:.8125rem}a{--tw-text-opacity: 1;color:rgba(var(--color-brand-gold)/var(--tw-text-opacity));-webkit-text-decoration-style:solid;text-decoration-style:solid;text-decoration-thickness:6%;text-underline-offset:5%}a:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}p{margin-bottom:.5rem;margin-top:0}p,li{max-width:45ch}strong{font-weight:600}code{max-width:100%;font-family:Source Code Pro,monospace,ui-monospace,SFMono-Regular;font-weight:400;--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity))}p>code,li>code,pre code{background-color:rgba(var(--color-brand-wine)/var(--tw-bg-opacity));--tw-bg-opacity: .05}p>code,li>code{border-radius:.125rem;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:.25rem .5rem;word-wrap:break-word}pre code{display:block;max-width:100%;overflow:scroll;white-space:pre;border-width:1px;border-style:solid;border-color:rgba(var(--color-brand-wine)/var(--tw-border-opacity));--tw-border-opacity: .2;padding:1.25rem;text-align:left;font-size:1.25rem}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-ms-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.relative{position:relative}.col-span-1{grid-column:span 1 / span 1}.m-0{margin:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-\[\.625rem\]{margin-bottom:.625rem}.ml-7{margin-left:1.75rem}.mt-0{margin-top:0}.mt-12{margin-top:3rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.mt-\[\.625rem\]{margin-top:.625rem}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:-webkit-box;display:flex}.grid{display:grid}.h-12{height:3rem}.h-6{height:1.5rem}.h-\[max-content\]{height:-webkit-max-content;height:-moz-max-content;height:max-content}.h-auto{height:auto}.h-full{height:100%}.max-h-\[75-vh\]{max-height:75-vh}.w-6{width:1.5rem}.w-\[10rem\]{width:10rem}.w-full{width:100%}.max-w-\[45ch\]{max-width:45ch}.max-w-\[7\.5rem\]{max-width:7.5rem}.max-w-\[80\%\]{max-width:80%}.max-w-\[max-content\]{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}.max-w-\[unset\]{max-width:unset}.max-w-full{max-width:100%}.max-w-none{max-width:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.flex-grow{-webkit-box-flex:1;flex-grow:1}.flex-grow-0{-webkit-box-flex:0;flex-grow:0}.basis-\[45\%\]{flex-basis:45%}.basis-\[max-content\]{flex-basis:max-content}.basis-full{flex-basis:100%}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.grid-cols-\[auto\]{grid-template-columns:auto}.grid-rows-\[auto\]{grid-template-rows:auto}.flex-col{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{-webkit-box-align:start;align-items:flex-start}.items-center{-webkit-box-align:center;align-items:center}.justify-start{-webkit-box-pack:start;justify-content:flex-start}.justify-center{-webkit-box-pack:center;justify-content:center}.justify-between{-webkit-box-pack:justify;justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-x-4{-webkit-column-gap:1rem;-moz-column-gap:1rem;column-gap:1rem}.overflow-scroll{overflow:scroll}.rounded-none{border-radius:0}.border{border-width:1px}.border-2{border-width:2px}.border-\[1px\]{border-width:1px}.border-solid{border-style:solid}.border-brand-blue-light{--tw-border-opacity: 1;border-color:rgba(var(--color-brand-blue-light)/var(--tw-border-opacity))}.border-brand-gold{--tw-border-opacity: 1;border-color:rgba(var(--color-brand-gold)/var(--tw-border-opacity))}.border-brand-wine{--tw-border-opacity: 1;border-color:rgba(var(--color-brand-wine)/var(--tw-border-opacity))}.border-neutral-500{--tw-border-opacity: 1;border-color:rgba(var(--color-neutral-500)/var(--tw-border-opacity))}.border-red-800{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}.border-opacity-20{--tw-border-opacity: .2}.bg-brand-gold{--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-gold)/var(--tw-bg-opacity))}.bg-brand-wine{--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-wine)/var(--tw-bg-opacity))}.bg-neutral-300{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-300)/var(--tw-bg-opacity))}.bg-neutral-50{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-50)/var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.box-decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.fill-neutral-950{fill:rgba(var(--color-neutral-950)/1)}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-4{padding-bottom:1rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-mono{font-family:Source Code Pro,monospace,ui-monospace,SFMono-Regular}.font-sans{font-family:Libre Franklin,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.text-\[2\.625rem\]{font-size:2.625rem}.text-lg{font-size:1.125rem}.text-med{font-size:1rem}.text-xl{font-size:1.25rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-normal{line-height:1.5}.tracking-\[\.07em\]{letter-spacing:.07em}.tracking-\[\.1em\]{letter-spacing:.1em}.tracking-\[\.8125rem\]{letter-spacing:.8125rem}.text-\[rgba\(0\,0\,0\)\]{--tw-text-opacity: 1;color:rgba(0,0,0,var(--tw-text-opacity))}.text-\[rgba\(255\,251\,250\)\]{--tw-text-opacity: 1;color:rgba(255,251,250,var(--tw-text-opacity))}.text-brand-gold{--tw-text-opacity: 1;color:rgba(var(--color-brand-gold)/var(--tw-text-opacity))}.text-brand-wine{--tw-text-opacity: 1;color:rgba(var(--color-brand-wine)/var(--tw-text-opacity))}.text-neutral-600{--tw-text-opacity: 1;color:rgba(var(--color-neutral-600)/var(--tw-text-opacity))}.text-neutral-950{--tw-text-opacity: 1;color:rgba(var(--color-neutral-950)/var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.decoration-solid{-webkit-text-decoration-style:solid;text-decoration-style:solid}.decoration-0{text-decoration-thickness:0px}.decoration-\[6\%\]{text-decoration-thickness:6%}.underline-offset-\[5\%\]{text-underline-offset:5%}.invert{--tw-invert: invert(100%);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.lock-scroll{overflow:hidden}.hover\:brightness-85:hover{--tw-brightness: brightness(.85);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.disabled\:opacity-50:disabled{opacity:.5}@media (prefers-color-scheme: dark){.dark\:bg-neutral-300{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-300)/var(--tw-bg-opacity))}.dark\:bg-neutral-950{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-950)/var(--tw-bg-opacity))}.dark\:invert{--tw-invert: invert(100%);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}@media not all and (min-width: 1024px){.max-lg\:absolute{position:absolute}.max-lg\:left-0{left:0}.max-lg\:top-\[104px\]{top:104px}.max-lg\:hidden{display:none}.max-lg\:h-\[calc\(100vh-104px\)\]{height:calc(100vh - 104px)}.max-lg\:flex-col{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.max-lg\:p-6{padding:1.5rem}}@media (min-width: 500px){.xs\:max-w-3xl{max-width:48rem}}@media (min-width: 768px){.md\:col-span-2{grid-column:span 2 / span 2}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:gap-8{gap:2rem}.md\:p-6{padding:1.5rem}.md\:py-8{padding-top:2rem;padding-bottom:2rem}.md\:pb-8{padding-bottom:2rem}}@media (min-width: 1024px){.lg\:mx-2{margin-left:.5rem;margin-right:.5rem}.lg\:hidden{display:none}.lg\:flex-shrink-0{flex-shrink:0}.lg\:flex-grow{-webkit-box-flex:1;flex-grow:1}.lg\:justify-center{-webkit-box-pack:center;justify-content:center}.lg\:bg-transparent{background-color:transparent}.lg\:p-0{padding:0}.lg\:text-lg{font-size:1.125rem}.lg\:text-xl{font-size:1.25rem}.lg\:outline{outline-style:solid}.lg\:outline-neutral-800{outline-color:rgba(var(--color-neutral-800)/1)}}
|