UNPKG

@am-ogs/vue-ui

Version:

Library for components that are re-used across all my projects,

8 lines 131 kB
(function(X,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],i):(X=typeof globalThis<"u"?globalThis:X||self,i(X.VUI={},X.Vue))})(this,function(X,i){"use strict";const Ea={class:i.normalizeClass(["mt-1","text-xl text-pop-secondary","fa-regular fa-sync fa-spin"]),"aria-hidden":"true"},ba=i.defineComponent({__name:"LoadingSpinner",props:{text:String},setup(s){return(a,o)=>(i.openBlock(),i.createElementBlock("i",Ea))}});function Sa(s){return i.getCurrentScope()?(i.onScopeDispose(s),!0):!1}const kr=new WeakMap,Ca=(...s)=>{var a;const o=s[0],u=(a=i.getCurrentInstance())==null?void 0:a.proxy;if(u==null&&!i.hasInjectionContext())throw new Error("injectLocal must be called in setup");return u&&kr.has(u)&&o in kr.get(u)?kr.get(u)[o]:i.inject(...s)},Na=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Aa=Object.prototype.toString,ka=s=>Aa.call(s)==="[object Object]",Ba=()=>{};function so(...s){if(s.length!==1)return i.toRef(...s);const a=s[0];return typeof a=="function"?i.readonly(i.customRef(()=>({get:a,set:Ba}))):i.ref(a)}function Ia(s,a){function o(...u){return new Promise((d,g)=>{Promise.resolve(s(()=>a.apply(this,u),{fn:a,thisArg:this,args:u})).then(d).catch(g)})}return o}const lo=s=>s();function va(s=lo,a={}){const{initialState:o="active"}=a,u=so(o==="active");function d(){u.value=!1}function g(){u.value=!0}const x=(...S)=>{u.value&&s(...S)};return{isActive:i.readonly(u),pause:d,resume:g,eventFilter:x}}function ao(s){return s.endsWith("rem")?Number.parseFloat(s)*16:Number.parseFloat(s)}function Br(s){return Array.isArray(s)?s:[s]}function $a(s){return i.getCurrentInstance()}function Ta(s,a,o={}){const{eventFilter:u=lo,...d}=o;return i.watch(s,Ia(u,a),d)}function La(s,a,o={}){const{eventFilter:u,initialState:d="active",...g}=o,{eventFilter:x,pause:S,resume:N,isActive:A}=va(u,{initialState:d});return{stop:Ta(s,a,{...g,eventFilter:x}),pause:S,resume:N,isActive:A}}function co(s,a=!0,o){$a()?i.onMounted(s,o):a?s():i.nextTick(s)}function Ra(s=!1,a={}){const{truthyValue:o=!0,falsyValue:u=!1}=a,d=i.isRef(s),g=i.shallowRef(s);function x(S){if(arguments.length)return g.value=S,g.value;{const N=i.toValue(o);return g.value=g.value===N?i.toValue(u):N,g.value}}return d?x:[g,x]}function Va(s,a,o){return i.watch(s,a,{...o,immediate:!0})}const Jn=Na?window:void 0;function fo(s){var a;const o=i.toValue(s);return(a=o==null?void 0:o.$el)!=null?a:o}function Ir(...s){const a=[],o=()=>{a.forEach(S=>S()),a.length=0},u=(S,N,A,$)=>(S.addEventListener(N,A,$),()=>S.removeEventListener(N,A,$)),d=i.computed(()=>{const S=Br(i.toValue(s[0])).filter(N=>N!=null);return S.every(N=>typeof N!="string")?S:void 0}),g=Va(()=>{var S,N;return[(N=(S=d.value)==null?void 0:S.map(A=>fo(A)))!=null?N:[Jn].filter(A=>A!=null),Br(i.toValue(d.value?s[1]:s[0])),Br(i.unref(d.value?s[2]:s[1])),i.toValue(d.value?s[3]:s[2])]},([S,N,A,$])=>{if(o(),!(S!=null&&S.length)||!(N!=null&&N.length)||!(A!=null&&A.length))return;const V=ka($)?{...$}:$;a.push(...S.flatMap(W=>N.flatMap(K=>A.map(Y=>u(W,K,Y,V)))))},{flush:"post"}),x=()=>{g(),o()};return Sa(o),x}function Oa(){const s=i.shallowRef(!1),a=i.getCurrentInstance();return a&&i.onMounted(()=>{s.value=!0},a),s}function Fa(s){const a=Oa();return i.computed(()=>(a.value,!!s()))}const Pa=Symbol("vueuse-ssr-width");function Da(){const s=i.hasInjectionContext()?Ca(Pa,null):null;return typeof s=="number"?s:void 0}function Ma(s,a={}){const{window:o=Jn,ssrWidth:u=Da()}=a,d=Fa(()=>o&&"matchMedia"in o&&typeof o.matchMedia=="function"),g=i.shallowRef(typeof u=="number"),x=i.shallowRef(),S=i.shallowRef(!1),N=A=>{S.value=A.matches};return i.watchEffect(()=>{if(g.value){g.value=!d.value;const A=i.toValue(s).split(",");S.value=A.some($=>{const V=$.includes("not all"),W=$.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),K=$.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let Y=!!(W||K);return W&&Y&&(Y=u>=ao(W[1])),K&&Y&&(Y=u<=ao(K[1])),V?!Y:Y});return}d.value&&(x.value=o.matchMedia(i.toValue(s)),S.value=x.value.matches)}),Ir(x,"change",N,{passive:!0}),i.computed(()=>S.value)}const Ct=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Nt="__vueuse_ssr_handlers__",Wa=Ua();function Ua(){return Nt in Ct||(Ct[Nt]=Ct[Nt]||{}),Ct[Nt]}function uo(s,a){return Wa[s]||a}function za(s){return Ma("(prefers-color-scheme: dark)",s)}function Ha(s){return s==null?"any":s instanceof Set?"set":s instanceof Map?"map":s instanceof Date?"date":typeof s=="boolean"?"boolean":typeof s=="string"?"string":typeof s=="object"?"object":Number.isNaN(s)?"any":"number"}const Ga={boolean:{read:s=>s==="true",write:s=>String(s)},object:{read:s=>JSON.parse(s),write:s=>JSON.stringify(s)},number:{read:s=>Number.parseFloat(s),write:s=>String(s)},any:{read:s=>s,write:s=>String(s)},string:{read:s=>s,write:s=>String(s)},map:{read:s=>new Map(JSON.parse(s)),write:s=>JSON.stringify(Array.from(s.entries()))},set:{read:s=>new Set(JSON.parse(s)),write:s=>JSON.stringify(Array.from(s))},date:{read:s=>new Date(s),write:s=>s.toISOString()}},ho="vueuse-storage";function qa(s,a,o,u={}){var d;const{flush:g="pre",deep:x=!0,listenToStorageChanges:S=!0,writeDefaults:N=!0,mergeDefaults:A=!1,shallow:$,window:V=Jn,eventFilter:W,onError:K=G=>{console.error(G)},initOnMounted:Y}=u,H=($?i.shallowRef:i.ref)(typeof a=="function"?a():a),I=i.computed(()=>i.toValue(s));if(!o)try{o=uo("getDefaultStorage",()=>{var G;return(G=Jn)==null?void 0:G.localStorage})()}catch(G){K(G)}if(!o)return H;const se=i.toValue(a),Se=Ha(se),ee=(d=u.serializer)!=null?d:Ga[Se],{pause:J,resume:fe}=La(H,()=>ne(H.value),{flush:g,deep:x,eventFilter:W});i.watch(I,()=>me(),{flush:g}),V&&S&&co(()=>{o instanceof Storage?Ir(V,"storage",me,{passive:!0}):Ir(V,ho,we),Y&&me()}),Y||me();function U(G,ae){if(V){const pe={key:I.value,oldValue:G,newValue:ae,storageArea:o};V.dispatchEvent(o instanceof Storage?new StorageEvent("storage",pe):new CustomEvent(ho,{detail:pe}))}}function ne(G){try{const ae=o.getItem(I.value);if(G==null)U(ae,null),o.removeItem(I.value);else{const pe=ee.write(G);ae!==pe&&(o.setItem(I.value,pe),U(ae,pe))}}catch(ae){K(ae)}}function ye(G){const ae=G?G.newValue:o.getItem(I.value);if(ae==null)return N&&se!=null&&o.setItem(I.value,ee.write(se)),se;if(!G&&A){const pe=ee.read(ae);return typeof A=="function"?A(pe,se):Se==="object"&&!Array.isArray(pe)?{...se,...pe}:pe}else return typeof ae!="string"?ae:ee.read(ae)}function me(G){if(!(G&&G.storageArea!==o)){if(G&&G.key==null){H.value=se;return}if(!(G&&G.key!==I.value)){J();try{(G==null?void 0:G.newValue)!==ee.write(H.value)&&(H.value=ye(G))}catch(ae){K(ae)}finally{G?i.nextTick(fe):fe()}}}}function we(G){me(G.detail)}return H}const Ka="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Za(s={}){const{selector:a="html",attribute:o="class",initialValue:u="auto",window:d=Jn,storage:g,storageKey:x="vueuse-color-scheme",listenToStorageChanges:S=!0,storageRef:N,emitAuto:A,disableTransition:$=!0}=s,V={auto:"",light:"light",dark:"dark",...s.modes||{}},W=za({window:d}),K=i.computed(()=>W.value?"dark":"light"),Y=N||(x==null?so(u):qa(x,u,g,{window:d,listenToStorageChanges:S})),H=i.computed(()=>Y.value==="auto"?K.value:Y.value),I=uo("updateHTMLAttrs",(J,fe,U)=>{const ne=typeof J=="string"?d==null?void 0:d.document.querySelector(J):fo(J);if(!ne)return;const ye=new Set,me=new Set;let we=null;if(fe==="class"){const ae=U.split(/\s/g);Object.values(V).flatMap(pe=>(pe||"").split(/\s/g)).filter(Boolean).forEach(pe=>{ae.includes(pe)?ye.add(pe):me.add(pe)})}else we={key:fe,value:U};if(ye.size===0&&me.size===0&&we===null)return;let G;$&&(G=d.document.createElement("style"),G.appendChild(document.createTextNode(Ka)),d.document.head.appendChild(G));for(const ae of ye)ne.classList.add(ae);for(const ae of me)ne.classList.remove(ae);we&&ne.setAttribute(we.key,we.value),$&&(d.getComputedStyle(G).opacity,document.head.removeChild(G))});function se(J){var fe;I(a,o,(fe=V[J])!=null?fe:J)}function Se(J){s.onChanged?s.onChanged(J,se):se(J)}i.watch(H,Se,{flush:"post",immediate:!0}),co(()=>Se(H.value));const ee=i.computed({get(){return A?Y.value:H.value},set(J){Y.value=J}});return Object.assign(ee,{store:Y,system:K,state:H})}function Ya(s={}){const{valueDark:a="dark",valueLight:o=""}=s,u=Za({...s,onChanged:(x,S)=>{var N;s.onChanged?(N=s.onChanged)==null||N.call(s,x==="dark",S,x):S(x)},modes:{dark:a,light:o}}),d=i.computed(()=>u.system.value);return i.computed({get(){return u.value==="dark"},set(x){const S=x?"dark":"light";d.value===S?u.value="auto":u.value=S}})}function Ja(s,a){return i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[i.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"})])}function Qa(s,a){return i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[i.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"})])}const Xa={class:"float-left mr-4"},ja={key:0,class:"float-right pt-1 text-pop-secondary"},ec=i.defineComponent({__name:"ThemeToggle",props:{is_authenticated:{}},setup(s){const a=Ya(),o=Ra(a);return(u,d)=>(i.openBlock(),i.createElementBlock("div",{onClick:d[0]||(d[0]=g=>i.unref(o)()),class:"flow-root"},[i.createElementVNode("p",Xa,[i.unref(a)?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(i.resolveDynamicComponent(i.unref(Ja)),{key:0,class:i.normalizeClass(["text-pop-secondary","w-6 shrink-0"]),"aria-hidden":"true"})),i.unref(a)?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(i.unref(Qa)),{key:1,class:i.normalizeClass(["text-pop-secondary","w-6 shrink-0"]),"aria-hidden":"true"})):i.createCommentVNode("",!0)]),u.is_authenticated?(i.openBlock(),i.createElementBlock("p",ja,i.toDisplayString(i.unref(a)?"Go Light":"Go Dark")+" Theme ",1)):i.createCommentVNode("",!0)]))}}),nc=["disabled"],po=i.defineComponent({__name:"BaseButton",props:{text:String,disabled:Boolean},setup(s){return(a,o)=>(i.openBlock(),i.createElementBlock("button",{disabled:s.disabled,class:i.normalizeClass([s.disabled?"bg-btn-disabled cursor-not-allowed":"bg-btn-primary dark:bg-btn-primary hover:bg-btn-hover hover:text-btn-txt","min-w-36 w-fit md:px-12 py-3","text-sm md:text-lg font-semibold text-btn-txt","rounded-md transition shadow-lg hover:border-transparent"])},i.toDisplayString(s.text),11,nc))}}),tc={class:"hidden md:flex px-4"},rc=i.defineComponent({__name:"LoginButton",props:{text:String,disabled:Boolean,handler:Function},setup(s){return(a,o)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",tc,[i.createVNode(i.unref(po),{text:s.text,onClick:s.handler},null,8,["text","onClick"])]),i.createElementVNode("button",{onClick:o[0]||(o[0]=(...u)=>s.handler&&s.handler(...u)),class:"flex md:hidden px-4 text-pop-secondary dark:text-btn-txt hover:text-btn-hover"},o[1]||(o[1]=[i.createElementVNode("i",{class:"fa-solid fa-arrow-right-to-bracket text-3xl"},null,-1)]))],64))}}),ic={class:"flex space-x-4 md:space-x-8"},oc=["href"],sc={class:"sr-only fixed"},lc=i.defineComponent({__name:"ReelHero",props:{items:{}},setup(s){return(a,o)=>(i.openBlock(),i.createElementBlock("div",ic,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.items,u=>(i.openBlock(),i.createElementBlock("a",{key:u.name,href:u.href,target:"_blank",class:i.normalizeClass(["text-pop-primary hover:text-pop-secondary","text-2xl md:text-6xl",u.hidden?"hidden":""])},[i.createElementVNode("span",sc,i.toDisplayString(u.name),1),i.createElementVNode("span",{class:i.normalizeClass(u.icon)},null,2)],10,oc))),128))]))}}),ac={class:"flex justify-center space-x-6 md:order-2"},cc=["href","hidden"],fc={class:"sr-only fixed"},uc=i.defineComponent({__name:"ReelNarrow",props:{items:{}},setup(s){return(a,o)=>(i.openBlock(),i.createElementBlock("div",ac,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.items,u=>(i.openBlock(),i.createElementBlock("a",{key:u.name,href:u.href,hidden:u.hidden,class:i.normalizeClass(["hover:text-pop-primary","text-lg"]),target:"_blank"},[i.createElementVNode("span",fc,i.toDisplayString(u.name),1),i.createElementVNode("span",{class:i.normalizeClass(u.icon)},null,2)],8,cc))),128))]))}}),dc={class:"flex w-full items-center rounded-md"},hc=["href"],pc={class:"sr-only fixed"},go=i.defineComponent({__name:"ReelWide",props:{items:{}},setup(s){return(a,o)=>(i.openBlock(),i.createElementBlock("div",dc,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.items,u=>(i.openBlock(),i.createElementBlock("a",{key:u.name,href:u.href,target:"_blank",class:i.normalizeClass(["w-full p-4","flex justify-around text-2xl","border-t-2 border-pop-primary","text-pop-primary hover:text-pop-secondary",u.hidden?"hidden":""])},[i.createElementVNode("span",pc,i.toDisplayString(u.name),1),i.createElementVNode("span",{class:i.normalizeClass(u.icon)},null,2)],10,hc))),128))]))}}),_o=/^[a-z0-9]+(-[a-z0-9]+)*$/,At=(s,a,o,u="")=>{const d=s.split(":");if(s.slice(0,1)==="@"){if(d.length<2||d.length>3)return null;u=d.shift().slice(1)}if(d.length>3||!d.length)return null;if(d.length>1){const S=d.pop(),N=d.pop(),A={provider:d.length>0?d[0]:u,prefix:N,name:S};return a&&!kt(A)?null:A}const g=d[0],x=g.split("-");if(x.length>1){const S={provider:u,prefix:x.shift(),name:x.join("-")};return a&&!kt(S)?null:S}if(o&&u===""){const S={provider:u,prefix:"",name:g};return a&&!kt(S,o)?null:S}return null},kt=(s,a)=>s?!!((a&&s.prefix===""||s.prefix)&&s.name):!1,mo=Object.freeze({left:0,top:0,width:16,height:16}),Bt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),It=Object.freeze({...mo,...Bt}),vr=Object.freeze({...It,body:"",hidden:!1});function gc(s,a){const o={};!s.hFlip!=!a.hFlip&&(o.hFlip=!0),!s.vFlip!=!a.vFlip&&(o.vFlip=!0);const u=((s.rotate||0)+(a.rotate||0))%4;return u&&(o.rotate=u),o}function xo(s,a){const o=gc(s,a);for(const u in vr)u in Bt?u in s&&!(u in o)&&(o[u]=Bt[u]):u in a?o[u]=a[u]:u in s&&(o[u]=s[u]);return o}function _c(s,a){const o=s.icons,u=s.aliases||Object.create(null),d=Object.create(null);function g(x){if(o[x])return d[x]=[];if(!(x in d)){d[x]=null;const S=u[x]&&u[x].parent,N=S&&g(S);N&&(d[x]=[S].concat(N))}return d[x]}return Object.keys(o).concat(Object.keys(u)).forEach(g),d}function mc(s,a,o){const u=s.icons,d=s.aliases||Object.create(null);let g={};function x(S){g=xo(u[S]||d[S],g)}return x(a),o.forEach(x),xo(s,g)}function yo(s,a){const o=[];if(typeof s!="object"||typeof s.icons!="object")return o;s.not_found instanceof Array&&s.not_found.forEach(d=>{a(d,null),o.push(d)});const u=_c(s);for(const d in u){const g=u[d];g&&(a(d,mc(s,d,g)),o.push(d))}return o}const xc={provider:"",aliases:{},not_found:{},...mo};function $r(s,a){for(const o in a)if(o in s&&typeof s[o]!=typeof a[o])return!1;return!0}function wo(s){if(typeof s!="object"||s===null)return null;const a=s;if(typeof a.prefix!="string"||!s.icons||typeof s.icons!="object"||!$r(s,xc))return null;const o=a.icons;for(const d in o){const g=o[d];if(!d||typeof g.body!="string"||!$r(g,vr))return null}const u=a.aliases||Object.create(null);for(const d in u){const g=u[d],x=g.parent;if(!d||typeof x!="string"||!o[x]&&!u[x]||!$r(g,vr))return null}return a}const Eo=Object.create(null);function yc(s,a){return{provider:s,prefix:a,icons:Object.create(null),missing:new Set}}function Tn(s,a){const o=Eo[s]||(Eo[s]=Object.create(null));return o[a]||(o[a]=yc(s,a))}function bo(s,a){return wo(a)?yo(a,(o,u)=>{u?s.icons[o]=u:s.missing.add(o)}):[]}function wc(s,a,o){try{if(typeof o.body=="string")return s.icons[a]={...o},!0}catch{}return!1}let Qn=!1;function So(s){return typeof s=="boolean"&&(Qn=s),Qn}function Ec(s){const a=typeof s=="string"?At(s,!0,Qn):s;if(a){const o=Tn(a.provider,a.prefix),u=a.name;return o.icons[u]||(o.missing.has(u)?null:void 0)}}function bc(s,a){const o=At(s,!0,Qn);if(!o)return!1;const u=Tn(o.provider,o.prefix);return a?wc(u,o.name,a):(u.missing.add(o.name),!0)}function Sc(s,a){if(typeof s!="object")return!1;if(typeof a!="string"&&(a=s.provider||""),Qn&&!a&&!s.prefix){let d=!1;return wo(s)&&(s.prefix="",yo(s,(g,x)=>{bc(g,x)&&(d=!0)})),d}const o=s.prefix;if(!kt({prefix:o,name:"a"}))return!1;const u=Tn(a,o);return!!bo(u,s)}const Co=Object.freeze({width:null,height:null}),No=Object.freeze({...Co,...Bt}),Cc=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Nc=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ao(s,a,o){if(a===1)return s;if(o=o||100,typeof s=="number")return Math.ceil(s*a*o)/o;if(typeof s!="string")return s;const u=s.split(Cc);if(u===null||!u.length)return s;const d=[];let g=u.shift(),x=Nc.test(g);for(;;){if(x){const S=parseFloat(g);isNaN(S)?d.push(g):d.push(Math.ceil(S*a*o)/o)}else d.push(g);if(g=u.shift(),g===void 0)return d.join("");x=!x}}function Ac(s,a="defs"){let o="";const u=s.indexOf("<"+a);for(;u>=0;){const d=s.indexOf(">",u),g=s.indexOf("</"+a);if(d===-1||g===-1)break;const x=s.indexOf(">",g);if(x===-1)break;o+=s.slice(d+1,g).trim(),s=s.slice(0,u).trim()+s.slice(x+1)}return{defs:o,content:s}}function kc(s,a){return s?"<defs>"+s+"</defs>"+a:a}function Bc(s,a,o){const u=Ac(s);return kc(u.defs,a+u.content+o)}const Ic=s=>s==="unset"||s==="undefined"||s==="none";function vc(s,a){const o={...It,...s},u={...No,...a},d={left:o.left,top:o.top,width:o.width,height:o.height};let g=o.body;[o,u].forEach(H=>{const I=[],se=H.hFlip,Se=H.vFlip;let ee=H.rotate;se?Se?ee+=2:(I.push("translate("+(d.width+d.left).toString()+" "+(0-d.top).toString()+")"),I.push("scale(-1 1)"),d.top=d.left=0):Se&&(I.push("translate("+(0-d.left).toString()+" "+(d.height+d.top).toString()+")"),I.push("scale(1 -1)"),d.top=d.left=0);let J;switch(ee<0&&(ee-=Math.floor(ee/4)*4),ee=ee%4,ee){case 1:J=d.height/2+d.top,I.unshift("rotate(90 "+J.toString()+" "+J.toString()+")");break;case 2:I.unshift("rotate(180 "+(d.width/2+d.left).toString()+" "+(d.height/2+d.top).toString()+")");break;case 3:J=d.width/2+d.left,I.unshift("rotate(-90 "+J.toString()+" "+J.toString()+")");break}ee%2===1&&(d.left!==d.top&&(J=d.left,d.left=d.top,d.top=J),d.width!==d.height&&(J=d.width,d.width=d.height,d.height=J)),I.length&&(g=Bc(g,'<g transform="'+I.join(" ")+'">',"</g>"))});const x=u.width,S=u.height,N=d.width,A=d.height;let $,V;x===null?(V=S===null?"1em":S==="auto"?A:S,$=Ao(V,N/A)):($=x==="auto"?N:x,V=S===null?Ao($,A/N):S==="auto"?A:S);const W={},K=(H,I)=>{Ic(I)||(W[H]=I.toString())};K("width",$),K("height",V);const Y=[d.left,d.top,N,A];return W.viewBox=Y.join(" "),{attributes:W,viewBox:Y,body:g}}const $c=/\sid="(\S+)"/g,Tc="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Lc=0;function Rc(s,a=Tc){const o=[];let u;for(;u=$c.exec(s);)o.push(u[1]);if(!o.length)return s;const d="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(g=>{const x=typeof a=="function"?a(g):a+(Lc++).toString(),S=g.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");s=s.replace(new RegExp('([#;"])('+S+')([")]|\\.[a-z])',"g"),"$1"+x+d+"$3")}),s=s.replace(new RegExp(d,"g"),""),s}const Tr=Object.create(null);function Vc(s,a){Tr[s]=a}function Lr(s){return Tr[s]||Tr[""]}function Rr(s){let a;if(typeof s.resources=="string")a=[s.resources];else if(a=s.resources,!(a instanceof Array)||!a.length)return null;return{resources:a,path:s.path||"/",maxURL:s.maxURL||500,rotate:s.rotate||750,timeout:s.timeout||5e3,random:s.random===!0,index:s.index||0,dataAfterTimeout:s.dataAfterTimeout!==!1}}const Vr=Object.create(null),Xn=["https://api.simplesvg.com","https://api.unisvg.com"],vt=[];for(;Xn.length>0;)Xn.length===1||Math.random()>.5?vt.push(Xn.shift()):vt.push(Xn.pop());Vr[""]=Rr({resources:["https://api.iconify.design"].concat(vt)});function Oc(s,a){const o=Rr(a);return o===null?!1:(Vr[s]=o,!0)}function Or(s){return Vr[s]}let ko=(()=>{let s;try{if(s=fetch,typeof s=="function")return s}catch{}})();function Fc(s,a){const o=Or(s);if(!o)return 0;let u;if(!o.maxURL)u=0;else{let d=0;o.resources.forEach(x=>{d=Math.max(d,x.length)});const g=a+".json?icons=";u=o.maxURL-d-o.path.length-g.length}return u}function Pc(s){return s===404}const Dc=(s,a,o)=>{const u=[],d=Fc(s,a),g="icons";let x={type:g,provider:s,prefix:a,icons:[]},S=0;return o.forEach((N,A)=>{S+=N.length+1,S>=d&&A>0&&(u.push(x),x={type:g,provider:s,prefix:a,icons:[]},S=N.length),x.icons.push(N)}),u.push(x),u};function Mc(s){if(typeof s=="string"){const a=Or(s);if(a)return a.path}return"/"}const Wc={prepare:Dc,send:(s,a,o)=>{if(!ko){o("abort",424);return}let u=Mc(a.provider);switch(a.type){case"icons":{const g=a.prefix,S=a.icons.join(","),N=new URLSearchParams({icons:S});u+=g+".json?"+N.toString();break}case"custom":{const g=a.uri;u+=g.slice(0,1)==="/"?g.slice(1):g;break}default:o("abort",400);return}let d=503;ko(s+u).then(g=>{const x=g.status;if(x!==200){setTimeout(()=>{o(Pc(x)?"abort":"next",x)});return}return d=501,g.json()}).then(g=>{if(typeof g!="object"||g===null){setTimeout(()=>{g===404?o("abort",g):o("next",d)});return}setTimeout(()=>{o("success",g)})}).catch(()=>{o("next",d)})}};function Uc(s){const a={loaded:[],missing:[],pending:[]},o=Object.create(null);s.sort((d,g)=>d.provider!==g.provider?d.provider.localeCompare(g.provider):d.prefix!==g.prefix?d.prefix.localeCompare(g.prefix):d.name.localeCompare(g.name));let u={provider:"",prefix:"",name:""};return s.forEach(d=>{if(u.name===d.name&&u.prefix===d.prefix&&u.provider===d.provider)return;u=d;const g=d.provider,x=d.prefix,S=d.name,N=o[g]||(o[g]=Object.create(null)),A=N[x]||(N[x]=Tn(g,x));let $;S in A.icons?$=a.loaded:x===""||A.missing.has(S)?$=a.missing:$=a.pending;const V={provider:g,prefix:x,name:S};$.push(V)}),a}function Bo(s,a){s.forEach(o=>{const u=o.loaderCallbacks;u&&(o.loaderCallbacks=u.filter(d=>d.id!==a))})}function zc(s){s.pendingCallbacksFlag||(s.pendingCallbacksFlag=!0,setTimeout(()=>{s.pendingCallbacksFlag=!1;const a=s.loaderCallbacks?s.loaderCallbacks.slice(0):[];if(!a.length)return;let o=!1;const u=s.provider,d=s.prefix;a.forEach(g=>{const x=g.icons,S=x.pending.length;x.pending=x.pending.filter(N=>{if(N.prefix!==d)return!0;const A=N.name;if(s.icons[A])x.loaded.push({provider:u,prefix:d,name:A});else if(s.missing.has(A))x.missing.push({provider:u,prefix:d,name:A});else return o=!0,!0;return!1}),x.pending.length!==S&&(o||Bo([s],g.id),g.callback(x.loaded.slice(0),x.missing.slice(0),x.pending.slice(0),g.abort))})}))}let Hc=0;function Gc(s,a,o){const u=Hc++,d=Bo.bind(null,o,u);if(!a.pending.length)return d;const g={id:u,icons:a,callback:s,abort:d};return o.forEach(x=>{(x.loaderCallbacks||(x.loaderCallbacks=[])).push(g)}),d}function qc(s,a=!0,o=!1){const u=[];return s.forEach(d=>{const g=typeof d=="string"?At(d,a,o):d;g&&u.push(g)}),u}var Kc={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Zc(s,a,o,u){const d=s.resources.length,g=s.random?Math.floor(Math.random()*d):s.index;let x;if(s.random){let U=s.resources.slice(0);for(x=[];U.length>1;){const ne=Math.floor(Math.random()*U.length);x.push(U[ne]),U=U.slice(0,ne).concat(U.slice(ne+1))}x=x.concat(U)}else x=s.resources.slice(g).concat(s.resources.slice(0,g));const S=Date.now();let N="pending",A=0,$,V=null,W=[],K=[];typeof u=="function"&&K.push(u);function Y(){V&&(clearTimeout(V),V=null)}function H(){N==="pending"&&(N="aborted"),Y(),W.forEach(U=>{U.status==="pending"&&(U.status="aborted")}),W=[]}function I(U,ne){ne&&(K=[]),typeof U=="function"&&K.push(U)}function se(){return{startTime:S,payload:a,status:N,queriesSent:A,queriesPending:W.length,subscribe:I,abort:H}}function Se(){N="failed",K.forEach(U=>{U(void 0,$)})}function ee(){W.forEach(U=>{U.status==="pending"&&(U.status="aborted")}),W=[]}function J(U,ne,ye){const me=ne!=="success";switch(W=W.filter(we=>we!==U),N){case"pending":break;case"failed":if(me||!s.dataAfterTimeout)return;break;default:return}if(ne==="abort"){$=ye,Se();return}if(me){$=ye,W.length||(x.length?fe():Se());return}if(Y(),ee(),!s.random){const we=s.resources.indexOf(U.resource);we!==-1&&we!==s.index&&(s.index=we)}N="completed",K.forEach(we=>{we(ye)})}function fe(){if(N!=="pending")return;Y();const U=x.shift();if(U===void 0){if(W.length){V=setTimeout(()=>{Y(),N==="pending"&&(ee(),Se())},s.timeout);return}Se();return}const ne={status:"pending",resource:U,callback:(ye,me)=>{J(ne,ye,me)}};W.push(ne),A++,V=setTimeout(fe,s.rotate),o(U,a,ne.callback)}return setTimeout(fe),se}function Io(s){const a={...Kc,...s};let o=[];function u(){o=o.filter(S=>S().status==="pending")}function d(S,N,A){const $=Zc(a,S,N,(V,W)=>{u(),A&&A(V,W)});return o.push($),$}function g(S){return o.find(N=>S(N))||null}return{query:d,find:g,setIndex:S=>{a.index=S},getIndex:()=>a.index,cleanup:u}}function vo(){}const Fr=Object.create(null);function Yc(s){if(!Fr[s]){const a=Or(s);if(!a)return;const o=Io(a),u={config:a,redundancy:o};Fr[s]=u}return Fr[s]}function Jc(s,a,o){let u,d;if(typeof s=="string"){const g=Lr(s);if(!g)return o(void 0,424),vo;d=g.send;const x=Yc(s);x&&(u=x.redundancy)}else{const g=Rr(s);if(g){u=Io(g);const x=s.resources?s.resources[0]:"",S=Lr(x);S&&(d=S.send)}}return!u||!d?(o(void 0,424),vo):u.query(a,d,o)().abort}function $o(){}function Qc(s){s.iconsLoaderFlag||(s.iconsLoaderFlag=!0,setTimeout(()=>{s.iconsLoaderFlag=!1,zc(s)}))}function Xc(s){const a=[],o=[];return s.forEach(u=>{(u.match(_o)?a:o).push(u)}),{valid:a,invalid:o}}function jn(s,a,o){function u(){const d=s.pendingIcons;a.forEach(g=>{d&&d.delete(g),s.icons[g]||s.missing.add(g)})}if(o&&typeof o=="object")try{if(!bo(s,o).length){u();return}}catch(d){console.error(d)}u(),Qc(s)}function To(s,a){s instanceof Promise?s.then(o=>{a(o)}).catch(()=>{a(null)}):a(s)}function jc(s,a){s.iconsToLoad?s.iconsToLoad=s.iconsToLoad.concat(a).sort():s.iconsToLoad=a,s.iconsQueueFlag||(s.iconsQueueFlag=!0,setTimeout(()=>{s.iconsQueueFlag=!1;const{provider:o,prefix:u}=s,d=s.iconsToLoad;if(delete s.iconsToLoad,!d||!d.length)return;const g=s.loadIcon;if(s.loadIcons&&(d.length>1||!g)){To(s.loadIcons(d,u,o),$=>{jn(s,d,$)});return}if(g){d.forEach($=>{const V=g($,u,o);To(V,W=>{const K=W?{prefix:u,icons:{[$]:W}}:null;jn(s,[$],K)})});return}const{valid:x,invalid:S}=Xc(d);if(S.length&&jn(s,S,null),!x.length)return;const N=u.match(_o)?Lr(o):null;if(!N){jn(s,x,null);return}N.prepare(o,u,x).forEach($=>{Jc(o,$,V=>{jn(s,$.icons,V)})})}))}const ef=(s,a)=>{const o=qc(s,!0,So()),u=Uc(o);if(!u.pending.length){let N=!0;return a&&setTimeout(()=>{N&&a(u.loaded,u.missing,u.pending,$o)}),()=>{N=!1}}const d=Object.create(null),g=[];let x,S;return u.pending.forEach(N=>{const{provider:A,prefix:$}=N;if($===S&&A===x)return;x=A,S=$,g.push(Tn(A,$));const V=d[A]||(d[A]=Object.create(null));V[$]||(V[$]=[])}),u.pending.forEach(N=>{const{provider:A,prefix:$,name:V}=N,W=Tn(A,$),K=W.pendingIcons||(W.pendingIcons=new Set);K.has(V)||(K.add(V),d[A][$].push(V))}),g.forEach(N=>{const A=d[N.provider][N.prefix];A.length&&jc(N,A)}),a?Gc(a,u,g):$o};function nf(s,a){const o={...s};for(const u in a){const d=a[u],g=typeof d;u in Co?(d===null||d&&(g==="string"||g==="number"))&&(o[u]=d):g===typeof o[u]&&(o[u]=u==="rotate"?d%4:d)}return o}const tf=/[\s,]+/;function rf(s,a){a.split(tf).forEach(o=>{switch(o.trim()){case"horizontal":s.hFlip=!0;break;case"vertical":s.vFlip=!0;break}})}function of(s,a=0){const o=s.replace(/^-?[0-9.]*/,"");function u(d){for(;d<0;)d+=4;return d%4}if(o===""){const d=parseInt(s);return isNaN(d)?0:u(d)}else if(o!==s){let d=0;switch(o){case"%":d=25;break;case"deg":d=90}if(d){let g=parseFloat(s.slice(0,s.length-o.length));return isNaN(g)?0:(g=g/d,g%1===0?u(g):0)}}return a}function sf(s,a){let o=s.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const u in a)o+=" "+u+'="'+a[u]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+s+"</svg>"}function lf(s){return s.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function af(s){return"data:image/svg+xml,"+lf(s)}function cf(s){return'url("'+af(s)+'")'}const Lo={...No,inline:!1},ff={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},uf={display:"inline-block"},Pr={backgroundColor:"currentColor"},Ro={backgroundColor:"transparent"},Vo={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Oo={webkitMask:Pr,mask:Pr,background:Ro};for(const s in Oo){const a=Oo[s];for(const o in Vo)a[s+o]=Vo[o]}const $t={};["horizontal","vertical"].forEach(s=>{const a=s.slice(0,1)+"Flip";$t[s+"-flip"]=a,$t[s.slice(0,1)+"-flip"]=a,$t[s+"Flip"]=a});function Fo(s){return s+(s.match(/^[-0-9.]+$/)?"px":"")}const Po=(s,a)=>{const o=nf(Lo,a),u={...ff},d=a.mode||"svg",g={},x=a.style,S=typeof x=="object"&&!(x instanceof Array)?x:{};for(let H in a){const I=a[H];if(I!==void 0)switch(H){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":o[H]=I===!0||I==="true"||I===1;break;case"flip":typeof I=="string"&&rf(o,I);break;case"color":g.color=I;break;case"rotate":typeof I=="string"?o[H]=of(I):typeof I=="number"&&(o[H]=I);break;case"ariaHidden":case"aria-hidden":I!==!0&&I!=="true"&&delete u["aria-hidden"];break;default:{const se=$t[H];se?(I===!0||I==="true"||I===1)&&(o[se]=!0):Lo[H]===void 0&&(u[H]=I)}}}const N=vc(s,o),A=N.attributes;if(o.inline&&(g.verticalAlign="-0.125em"),d==="svg"){u.style={...g,...S},Object.assign(u,A);let H=0,I=a.id;return typeof I=="string"&&(I=I.replace(/-/g,"_")),u.innerHTML=Rc(N.body,I?()=>I+"ID"+H++:"iconifyVue"),i.h("svg",u)}const{body:$,width:V,height:W}=s,K=d==="mask"||(d==="bg"?!1:$.indexOf("currentColor")!==-1),Y=sf($,{...A,width:V+"",height:W+""});return u.style={...g,"--svg":cf(Y),width:Fo(A.width),height:Fo(A.height),...uf,...K?Pr:Ro,...S},i.h("span",u)};if(So(!0),Vc("",Wc),typeof document<"u"&&typeof window<"u"){const s=window;if(s.IconifyPreload!==void 0){const a=s.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof a=="object"&&a!==null&&(a instanceof Array?a:[a]).forEach(u=>{try{(typeof u!="object"||u===null||u instanceof Array||typeof u.icons!="object"||typeof u.prefix!="string"||!Sc(u))&&console.error(o)}catch{console.error(o)}})}if(s.IconifyProviders!==void 0){const a=s.IconifyProviders;if(typeof a=="object"&&a!==null)for(let o in a){const u="IconifyProviders["+o+"] is invalid.";try{const d=a[o];if(typeof d!="object"||!d||d.resources===void 0)continue;Oc(o,d)||console.error(u)}catch{console.error(u)}}}}const df={...It,body:""},Do=i.defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(s,a,o){if(typeof s=="object"&&s!==null&&typeof s.body=="string")return this._name="",this.abortLoading(),{data:s};let u;if(typeof s!="string"||(u=At(s,!1,!0))===null)return this.abortLoading(),null;let d=Ec(u);if(!d)return(!this._loadingIcon||this._loadingIcon.name!==s)&&(this.abortLoading(),this._name="",d!==null&&(this._loadingIcon={name:s,abort:ef([u],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==s&&(this._name=s,a&&a(s)),o){d=Object.assign({},d);const x=o(d.body,u.name,u.prefix,u.provider);typeof x=="string"&&(d.body=x)}const g=["iconify"];return u.prefix!==""&&g.push("iconify--"+u.prefix),u.provider!==""&&g.push("iconify--"+u.provider),{data:d,classes:g}}},render(){this.counter;const s=this.$attrs,a=this.iconMounted||s.ssr?this.getIcon(s.icon,s.onLoad,s.customise):null;if(!a)return Po(df,s);let o=s;return a.classes&&(o={...s,class:(typeof s.class=="string"?s.class+" ":"")+a.classes.join(" ")}),Po({...It,...a.data},o)}}),hf={class:"flex w-full gap-4 items-center"},pf=["href"],gf={class:"sr-only fixed"},_f=i.defineComponent({__name:"ReelHero",props:{items:{}},setup(s){return(a,o)=>(i.openBlock(),i.createElementBlock("div",hf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.items,u=>(i.openBlock(),i.createElementBlock("a",{key:u.name,href:u.href,target:"_blank"},[i.createElementVNode("span",gf,i.toDisplayString(u.name),1),i.createVNode(i.unref(Do),{icon:u.icon,class:i.normalizeClass(["text-xl md:text-3xl lg:text-5xl","text-pop-primary hover:text-pop-secondary"])},null,8,["icon"])],8,pf))),128))]))}}),mf={class:"flex justify-center space-x-6 md:order-2"},xf=["href","hidden"],yf={class:"sr-only fixed"},wf=i.defineComponent({__name:"ReelNarrow",props:{items:{}},setup(s){return(a,o)=>{const u=i.resolveComponent("Icon");return i.openBlock(),i.createElementBlock("div",mf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.items,d=>(i.openBlock(),i.createElementBlock("a",{key:d.name,href:d.href,hidden:d.hidden,class:i.normalizeClass(["hover:text-pop-primary","text-lg"]),target:"_blank"},[i.createElementVNode("span",yf,i.toDisplayString(d.name),1),i.createVNode(u,{icon:d.icon,class:"text-6xl"},null,8,["icon"])],8,xf))),128))])}}}),Ef={class:"flex w-full items-center rounded-md"},bf=["href"],Sf={class:"sr-only fixed"},Cf=i.defineComponent({__name:"ReelWide",props:{items:{}},setup(s){return(a,o)=>(i.openBlock(),i.createElementBlock("div",Ef,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.items,u=>(i.openBlock(),i.createElementBlock("a",{key:u.name,href:u.href,target:"_blank",class:i.normalizeClass(["flex w-full p-4 justify-around text-pop-primary hover:text-pop-secondary text-2xl border-pop-primary border-t-2",u.hidden?"hidden":""])},[i.createElementVNode("span",Sf,i.toDisplayString(u.name),1),i.createVNode(i.unref(Do),{icon:u.icon,class:"text-6xl"},null,8,["icon"])],10,bf))),128))]))}}),Nf={id:"ogs-site-layout"},Af={key:0,id:"ogs-sl-side-menu",class:"hidden lg:fixed lg:flex lg:flex-col lg:inset-y-0 lg:z-50 lg:w-80"},kf={key:0,id:"ogs-sl-header-authenticated",class:"sticky top-0 z-40 lg:px-8"},Bf={key:1,id:"ogs-sl-top-nav-public",class:"sticky top-0 z-40 mx-4"},If={id:"ogs-sl-footer",class:"sticky z-40 mx-4"},vf=i.defineComponent({__name:"SiteLayout",props:{is_authenticated:{}},setup(s){return(a,o)=>(i.openBlock(),i.createElementBlock("div",Nf,[a.is_authenticated?(i.openBlock(),i.createElementBlock("div",Af,[i.renderSlot(a.$slots,"sideMenu")])):i.createCommentVNode("",!0),i.createElementVNode("div",{id:"ogs-sl-main-column",class:i.normalizeClass([a.is_authenticated?"lg:pl-80":"","flex flex-col h-screen justify-between"])},[a.is_authenticated?(i.openBlock(),i.createElementBlock("div",kf,[i.renderSlot(a.$slots,"header")])):(i.openBlock(),i.createElementBlock("div",Bf,[i.renderSlot(a.$slots,"topNavigation")])),i.createElementVNode("main",{id:"ogs-sl-main",class:i.normalizeClass(["mb-auto mx-auto w-full overflow-auto scrollbar","px-4 sm:px-6",a.is_authenticated?"lg:px-24":"lg:px-36"])},[i.renderSlot(a.$slots,"toast"),i.renderSlot(a.$slots,"routerView")],2),i.createElementVNode("div",If,[i.renderSlot(a.$slots,"footer")])],2)]))}}),et=(s,a)=>{const o=s.__vccOpts||s;for(const[u,d]of a)o[u]=d;return o},$f={},Tf={class:"flex-1 not-italic"},Lf={class:"relative mx-auto"},Rf={class:"pb-16 pt-10"},Vf={class:"px-4 sm:px-6 lg:px-0"},Of={class:"text-3xl font-bold tracking-tight text-pop-secondary"},Ff={class:"max-w-2xl text-sm text-dull-secondary pt-2"},Pf={class:"px-4 sm:px-6 lg:px-0"},Df={class:"py-6"};function Mf(s,a){return i.openBlock(),i.createElementBlock("main",Tf,[i.createElementVNode("div",Lf,[i.createElementVNode("div",Rf,[i.createElementVNode("div",Vf,[i.createElementVNode("h1",Of,[i.renderSlot(s.$slots,"pageTitle")]),i.createElementVNode("p",Ff,[i.renderSlot(s.$slots,"description")])]),i.createElementVNode("div",Pf,[i.createElementVNode("div",Df,[i.renderSlot(s.$slots,"tabs"),i.renderSlot(s.$slots,"search"),i.renderSlot(s.$slots,"pageContent")])])])])])}const Wf=et($f,[["render",Mf]]),Uf={},zf={class:"mt-10 divide-y divide-dull-secondary"},Hf={class:"space-y-1"},Gf={class:"text-lg font-medium leading-6 text-pop-secondary"},qf={class:"max-w-2xl text-sm text-dull-secondary"},Kf={class:"mt-5 mb-20"};function Zf(s,a){return i.openBlock(),i.createElementBlock("div",zf,[i.createElementVNode("div",Hf,[i.createElementVNode("h3",Gf,[i.renderSlot(s.$slots,"divisionTitle")]),i.createElementVNode("p",qf,[i.renderSlot(s.$slots,"divisionDescription")])]),i.createElementVNode("div",Kf,[i.renderSlot(s.$slots,"divisionContent")])])}const Yf=et(Uf,[["render",Zf]]),Jf={},Qf={id:"ogs-column-layout",class:"flex justify-center items-center"},Xf={id:"ogs-cl-grid",class:"grid grid-cols-1 md:grid-cols-4 gap-10 items-center"},jf={id:"ogs-cl-title",class:"col-span-1 md:col-span-2 space-y-2 md:space-y-6"},eu={class:i.normalizeClass(["text-pop-secondary","text-4xl md:text-5xl font-bold leading-tight"])},nu={id:"ogs-cl-sub-title",class:i.normalizeClass(["text-pop-primary","flex space-x-12"])},tu={id:"ogs-cl-description",class:i.normalizeClass(["text-dull-secondary","text-lg md:text-2xl"])},ru={id:"ogs-cl-left-content"},iu={id:"ogs-cl-right-content",class:"col-span-1 md:col-span-2"};function ou(s,a){return i.openBlock(),i.createElementBlock("div",Qf,[i.createElementVNode("div",Xf,[i.createElementVNode("div",jf,[i.createElementVNode("h1",eu,[i.renderSlot(s.$slots,"title")]),i.createElementVNode("div",nu,[i.renderSlot(s.$slots,"subTitle")]),i.createElementVNode("p",tu,[i.renderSlot(s.$slots,"description")]),i.createElementVNode("div",ru,[i.renderSlot(s.$slots,"leftContent")])]),i.createElementVNode("div",iu,[i.renderSlot(s.$slots,"rightContent")])])])}const su=et(Jf,[["render",ou]]),lu={},au={id:"ogs-row-layout",class:"flex flex-col justify-center items-center"},cu={id:"ogs-rl-titles-left",class:"w-full text-left"},fu={id:"ogs-rl-title-left",class:i.normalizeClass(["text-pop-secondary","text-3xl md:text-5xl font-bold leading-tight"])},uu={id:"ogs-rl-sub-title-left",class:i.normalizeClass(["text-dull-secondary/50","text-lg md:text-2xl"])},du={id:"ogs-rl-titles-centered",class:"text-center"},hu={class:i.normalizeClass(["text-pop-secondary","text-3xl md:text-5xl font-bold leading-tight"])},pu={id:"ogs-rl-titles-right",class:"w-full text-right"},gu={id:"ogs-rl-title-right",class:i.normalizeClass(["text-pop-secondary","text-3xl md:text-5xl font-bold leading-tight"])},_u={id:"ogs-rl-sub-title-right",class:i.normalizeClass(["text-dull-secondary/50","text-lg md:text-2xl"])},mu={id:"ogs-rl-description",class:i.normalizeClass(["text-dull-secondary","md:mx-44 mt-6 p-6 text-center text-xl"])},xu={id:"ogs-rl-content",class:"text-pop-secondary"};function yu(s,a){return i.openBlock(),i.createElementBlock("div",au,[i.createElementVNode("div",cu,[i.createElementVNode("h1",fu,[i.renderSlot(s.$slots,"titleLeft")]),i.createElementVNode("h2",uu,[i.renderSlot(s.$slots,"subTitleLeft")])]),i.createElementVNode("div",du,[i.createElementVNode("h1",hu,[i.renderSlot(s.$slots,"titleCentered")])]),i.createElementVNode("div",pu,[i.createElementVNode("h1",gu,[i.renderSlot(s.$slots,"titleRight")]),i.createElementVNode("h2",_u,[i.renderSlot(s.$slots,"subTitleRight")])]),i.createElementVNode("div",mu,[i.renderSlot(s.$slots,"description")]),i.createElementVNode("div",xu,[i.renderSlot(s.$slots,"content")])])}const wu=et(lu,[["render",yu]]),Eu={class:i.normalizeClass(["flex w-full","bg-dull-primary","items-center justify-between","border-b border-pop-secondary shadow-lg"])},bu={class:"flex items-center"},Su={class:"hidden md:flex space-x-8 pt-6 text-pop-secondary font-medium"},Cu={class:"ml-24"},Nu=i.defineComponent({__name:"TopNavigation",props:{handler:{},landing_page_navigation:{}},setup(s){return(a,o)=>(i.openBlock(),i.createElementBlock("nav",Eu,[i.createElementVNode("div",bu,[i.renderSlot(a.$slots,"logo")]),i.createElementVNode("div",Su,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.landing_page_navigation,u=>(i.openBlock(),i.createElementBlock("div",{key:u.action},[i.createElementVNode("a",{href:"#",onClick:o[0]||(o[0]=(...d)=>a.handler&&a.handler(...d)),class:"hover:text-pop-primary transition"},i.toDisplayString(u.name),1)]))),128)),i.createElementVNode("div",Cu,[i.renderSlot(a.$slots,"themeToggle")])]),i.renderSlot(a.$slots,"loginButton")]))}}),Au={class:"flex items-center border-b border-pop-secondary shadow-sm lg:shadow-none h-16 gap-x-4 sm:gap-x-6 px-4 sm:px-6 lg:px-0"},ku={class:"flex flex-1 gap-x-4 self-stretch lg:gap-x-6"},Bu={class:"flex items-center gap-x-4 lg:gap-x-6"},Iu=i.defineComponent({__name:"Header",setup(s){const a=i.ref(!1);return(o,u)=>(i.openBlock(),i.createElementBlock("div",Au,[i.createElementVNode("button",{type:"button",class:"-m-2.5 p-2.5 text-pop-secondary lg:hidden",onClick:u[0]||(u[0]=d=>a.value=!0)},u[1]||(u[1]=[i.createElementVNode("span",{class:"sr-only fixed"},"Open sidebar",-1),i.createElementVNode("i",{class:"fa-solid fa-bars text-pop-secondary mt-1 text-2xl","aria-hidden":"true"},null,-1)])),u[5]||(u[5]=i.createElementVNode("div",{class:"h-6 w-px bg-pop-secondary lg:hidden","aria-hidden":"true"},null,-1)),i.createElementVNode("div",ku,[u[4]||(u[4]=i.createElementVNode("form",{class:"relative flex flex-1 m-1",action:"#",method:"GET"},[i.createElementVNode("label",{for:"search-field",class:"sr-only fixed"},"Search"),i.createElementVNode("i",{class:"fa-solid fa-magnifying-glass text-pop-secondary pointer-events-none absolute inset-y-5 left-2 text-lg","aria-hidden":"true"}),i.createElementVNode("input",{id:"search-field",class:"block h-full w-full pl-10 pr-0 text-pop-secondary placeholder:text-pop-secondary focus:ring-0 sm:text-sm bg-primary border-2 border-secondary/20 rounded-md",placeholder:"Search ...",type:"search",name:"search"})],-1)),i.createElementVNode("div",Bu,[u[2]||(u[2]=i.createElementVNode("button",{type:"button",class:"-m-2.5 p-2.5 text-pop-secondary hover:text-secondary"},[i.createElementVNode("span",{class:"sr-only fixed"},"View notifications"),i.createElementVNode("i",{class:"fa-regular fa-bell fa-shake text-pop-secondary mt-1 text-xl",style:{"--fa-animation-delay":"10s","--fa-animation-duration":"3s","--fa-animation-iteration-count":"1"},"aria-hidden":"true"})],-1)),u[3]||(u[3]=i.createElementVNode("div",{class:"hidden lg:block lg:h-6 lg:w-px lg:bg-pop-secondary","aria-hidden":"true"},null,-1)),i.renderSlot(o.$slots,"profileButton")])])]))}});var Tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},nt={exports:{}};/** * @license * Lodash <https://lodash.com/> * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> * Released under MIT license <https://lodash.com/license> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */var vu=nt.exports,Mo;function $u(){return Mo||(Mo=1,function(s,a){(function(){var o,u="4.17.21",d=200,g="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",x="Expected a function",S="Invalid `variable` option passed into `_.template`",N="__lodash_hash_undefined__",A=500,$="__lodash_placeholder__",V=1,W=2,K=4,Y=1,H=2,I=1,se=2,Se=4,ee=8,J=16,fe=32,U=64,ne=128,ye=256,me=512,we=30,G="...",ae=800,pe=16,zo=1,mh=2,xh=3,Lt=1/0,Ln=9007199254740991,yh=17976931348623157e292,Rt=NaN,je=4294967295,wh=je-1,Eh=je>>>1,bh=[["ary",ne],["bind",I],["bindKey",se],["curry",ee],["curryRight",J],["flip",me],["partial",fe],["partialRight",U],["rearg",ye]],Rn="[object Arguments]",Vt="[object Array]",Sh="[object AsyncFunction]",tt="[object Boolean]",rt="[object Date]",Ch="[object DOMException]",Ot="[object Error]",Ft="[object Function]",Ho="[object GeneratorFunction]",Ke="[object Map]",it="[object Number]",Nh="[object Null]",rn="[object Object]",Go="[object Promise]",Ah="[object Proxy]",ot="[object RegExp]",Ze="[object Set]",st="[object String]",Pt="[object Symbol]",kh="[object Undefined]",lt="[object WeakMap]",Bh="[object WeakSet]",at="[object ArrayBuffer]",Vn="[object DataView]",Dr="[object Float32Array]",Mr="[object Float64Array]",Wr="[object Int8Array]",Ur="[object Int16Array]",zr="[object Int32Array]",Hr="[object Uint8Array]",Gr="[object Uint8ClampedArray]",qr="[object Uint16Array]",Kr="[object Uint32Array]",Ih=/\b__p \+= '';/g,vh=/\b(__p \+=) '' \+/g,$h=/(__e\(.*?\)|\b__t\)) \+\n'';/g,qo=/&(?:amp|lt|gt|quot|#39);/g,Ko=/[&<>"']/g,Th=RegExp(qo.source),Lh=RegExp(Ko.source),Rh=/<%-([\s\S]+?)%>/g,Vh=/<%([\s\S]+?)%>/g,Zo=/<%=([\s\S]+?)%>/g,Oh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Fh=/^\w*$/,Ph=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Zr=/[\\^$.*+?()[\]{}|]/g,Dh=RegExp(Zr.source),Yr=/^\s+/,Mh=/\s/,Wh=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Uh=/\{\n\/\* \[wrapped with (.+)\] \*/,zh=/,? & /,Hh=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Gh=/[()=,{}\[\]\/\s]/,qh=/\\(\\)?/g,Kh=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Yo=/\w*$/,Zh=/^[-+]0x[0-9a-f]+$/i,Yh=/^0b[01]+$/i,Jh=/^\[object .+?Constructor\]$/,Qh=/^0o[0-7]+$/i,Xh=/^(?:0|[1-9]\d*)$/,jh=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Dt=/($^)/,ep=/['\n\r\u2028\u2029\\]/g,Mt="\\ud800-\\udfff",np="\\u0300-\\u036f",tp="\\ufe20-\\ufe2f",rp="\\u20d0-\\u20ff",Jo=np+tp+rp,Qo="\\u2700-\\u27bf",Xo="a-z\\xdf-\\xf6\\xf8-\\xff",ip="\\xac\\xb1\\xd7\\xf7",op="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",sp="\\u2000-\\u206f",lp=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",jo="A-Z\\xc0-\\xd6\\xd8-\\xde",es="\\ufe0e\\ufe0f",ns=ip+op+sp+lp,Jr="['’]",ap="["+Mt+"]",ts="["+ns+"]",Wt="["+Jo+"]",rs="\\d+",cp="["+Qo+"]",is="["+Xo+"]",os="[^"+Mt+ns+rs+Qo+Xo+jo+"]",Qr="\\ud83c[\\udffb-\\udfff]",fp="(?:"+Wt+"|"+Qr+")",ss="[^"+Mt+"]",Xr="(?:\\ud83c[\\udde6-\\uddff]){2}",jr="[\\ud800-\\udbff][\\udc00-\\udfff]",On="["+jo+"]",ls="\\u200d",as="(?:"+is+"|"+os+")",up="(?:"+On+"|"+os+")",cs="(?:"+Jr+"(?:d|ll|m|re|s|t|ve))?",fs="(?:"+Jr+"(?:D|LL|M|RE|S|T|VE))?",us=fp+"?",ds="["+es+"]?",dp="(?:"+ls+"(?:"+[ss,Xr,jr].join("|")+")"+ds+us+")*",hp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",pp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",hs=ds+us+dp,gp="(?:"+[cp,Xr,jr].join("|")+")"+hs,_p="(?:"+[ss+Wt+"?",Wt,Xr,jr,ap].join("|")+")",mp=RegExp(Jr,"g"),xp=RegExp(Wt,"g"),ei=RegExp(Qr+"(?="+Qr+")|"+_p+hs,"g"),yp=RegExp([On+"?"+is+"+"+cs+"(?="+[ts,On,"$"].join("|")+")",up+"+"+fs+"(?="+[ts,On+as,"$"].join("|")+")",On+"?"+as+"+"+cs,On+"+"+fs,pp,hp,rs,gp].join("|"),"g"),wp=RegExp("["+ls+Mt+Jo+es+"]"),Ep=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bp=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Sp=-1,oe={};oe[Dr]=oe[Mr]=oe[Wr]=oe[Ur]=oe[zr]=oe[Hr]=oe[Gr]=oe[qr]=oe[Kr]=!0,oe[Rn]=oe[Vt]=oe[at]=oe[tt]=oe[Vn]=oe[rt]=oe[Ot]=oe[Ft]=oe[Ke]=oe[it]=oe[rn]=oe[ot]=oe[Ze]=oe[st]=oe[lt]=!1;var ie={};ie[Rn]=ie[Vt]=ie[at]=ie[Vn]=ie[tt]=ie[rt]=ie[Dr]=ie[Mr]=ie[Wr]=ie[Ur]=ie[zr]=ie[Ke]=ie[it]=ie[rn]=ie[ot]=ie[Ze]=ie[st]=ie[Pt]=ie[Hr]=ie[Gr]=ie[qr]=ie[Kr]=!0,ie[Ot]=ie[Ft]=ie[lt]=!1;var Cp={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Np={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ap={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},kp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Bp=parseFloat,Ip=parseInt,ps=typeof Tt=="object"&&Tt&&Tt.Object===Object&&Tt,vp=typeof self=="object"&&self&&self.Object===Object&&self,Ee=ps||vp||Function("return this")(),ni=a&&!a.nodeType&&a,Sn=ni&&!0&&s&&!s.nodeType&&s,gs=Sn&&Sn.exports===ni,ti=gs&&ps.process,De=function(){try{var _=Sn&&Sn.require&&Sn.require("util").types;return _||ti&&ti.binding&&ti.binding("util")}catch{}}(),_s=De&&De.isArrayBuffer,ms=De&&De.isDate,xs=De&&De.isMap,ys=De&&De.isRegExp,ws=De&&De.isSet,Es=De&&De.isTypedArray;function Le(_,w,y){switch(y.length){case 0:return _.call(w);case 1:return _.call(w,y[0]);case 2:return _.call(w,y[0],y[1]);case 3:return _.call(w,y[0],y[1],y[2])}return _.apply(w,y)}function $p(_,w,y,B){for(var O=-1,Q=_==null?0:_.length;++O<Q;){var ge=_[O];w(B,ge,y(ge),_)}return B}function Me(_,w){for(var y=-1,B=_==null?0:_.length;++y<B&&w(_[y],y,_)!==!1;);return _}function Tp(_,w){for(var y=_==null?0:_.length;y--&&w(_[y]