@access-ci/ui 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -39
- package/dist/access-ci-ui.js +390 -334
- package/dist/access-ci-ui.umd.cjs +2 -2
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(C,H){typeof exports=="object"&&typeof module<"u"?H(exports):typeof define=="function"&&define.amd?define(["exports"],H):(C=typeof globalThis<"u"?globalThis:C||self,H(C.AccessCiUi={}))})(this,function(C){"use strict";var H,u,Y,P,Z,ee,j,N={},te=[],$e=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,R=Array.isArray;function E(t,e){for(var n in e)t[n]=e[n];return t}function ne(t){var e=t.parentNode;e&&e.removeChild(t)}function Pe(t,e,n){var c,a,o,r={};for(o in e)o=="key"?c=e[o]:o=="ref"?a=e[o]:r[o]=e[o];if(arguments.length>2&&(r.children=arguments.length>3?H.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(o in t.defaultProps)r[o]===void 0&&(r[o]=t.defaultProps[o]);return U(t,r,c,a,null)}function U(t,e,n,c,a){var o={type:t,props:e,key:n,ref:c,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:a??++Y};return a==null&&u.vnode!=null&&u.vnode(o),o}function T(t){return t.children}function D(t,e){this.props=t,this.context=e}function I(t,e){if(e==null)return t.__?I(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?I(t):null}function ie(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return ie(t)}}function oe(t){(!t.__d&&(t.__d=!0)&&P.push(t)&&!O.__r++||Z!==u.debounceRendering)&&((Z=u.debounceRendering)||ee)(O)}function O(){var t,e,n,c,a,o,r,_,s;for(P.sort(j);t=P.shift();)t.__d&&(e=P.length,c=void 0,a=void 0,o=void 0,_=(r=(n=t).__v).__e,(s=n.__P)&&(c=[],a=[],(o=E({},r)).__v=r.__v+1,q(s,r,o,n.__n,s.ownerSVGElement!==void 0,r.__h!=null?[_]:null,c,_??I(r),r.__h,a),ue(c,r,a),r.__e!=_&&ie(r)),P.length>e&&P.sort(j));O.__r=0}function ce(t,e,n,c,a,o,r,_,s,h,d){var i,p,f,l,m,$,v,b,x,M,w=0,S=c&&c.__k||te,A=S.length,L=A,y=e.length;for(n.__k=[],i=0;i<y;i++)(l=n.__k[i]=(l=e[i])==null||typeof l=="boolean"||typeof l=="function"?null:typeof l=="string"||typeof l=="number"||typeof l=="bigint"?U(null,l,null,null,l):R(l)?U(T,{children:l},null,null,null):l.__b>0?U(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l)!=null&&(l.__=n,l.__b=n.__b+1,(b=Ae(l,S,v=i+w,L))===-1?f=N:(f=S[b]||N,S[b]=void 0,L--),q(t,l,f,a,o,r,_,s,h,d),m=l.__e,(p=l.ref)&&f.ref!=p&&(f.ref&&G(f.ref,null,l),d.push(p,l.__c||m,l)),m!=null&&($==null&&($=m),M=!(x=f===N||f.__v===null)&&b===v,x?b==-1&&w--:b!==v&&(b===v+1?(w++,M=!0):b>v?L>y-v?(w+=b-v,M=!0):w--:w=b<v&&b==v-1?b-v:0),v=i+w,M=M||b==i&&!x,typeof l.type!="function"||b===v&&f.__k!==l.__k?typeof l.type=="function"||M?l.__d!==void 0?(s=l.__d,l.__d=void 0):s=m.nextSibling:s=re(t,m,s):s=ae(l,s,t),typeof n.type=="function"&&(n.__d=s)));for(n.__e=$,i=A;i--;)S[i]!=null&&(typeof n.type=="function"&&S[i].__e!=null&&S[i].__e==n.__d&&(n.__d=S[i].__e.nextSibling),me(S[i],S[i]))}function ae(t,e,n){for(var c,a=t.__k,o=0;a&&o<a.length;o++)(c=a[o])&&(c.__=t,e=typeof c.type=="function"?ae(c,e,n):re(n,c.__e,e));return e}function re(t,e,n){return n==null||n.parentNode!==t?t.insertBefore(e,null):e==n&&e.parentNode!=null||t.insertBefore(e,n),e.nextSibling}function Ae(t,e,n,c){var a=t.key,o=t.type,r=n-1,_=n+1,s=e[n];if(s===null||s&&a==s.key&&o===s.type)return n;if(c>(s!=null?1:0))for(;r>=0||_<e.length;){if(r>=0){if((s=e[r])&&a==s.key&&o===s.type)return r;r--}if(_<e.length){if((s=e[_])&&a==s.key&&o===s.type)return _;_++}}return-1}function Le(t,e,n,c,a){var o;for(o in n)o==="children"||o==="key"||o in e||V(t,o,null,n[o],c);for(o in e)a&&typeof e[o]!="function"||o==="children"||o==="key"||o==="value"||o==="checked"||n[o]===e[o]||V(t,o,e[o],n[o],c)}function _e(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||$e.test(e)?n:n+"px"}function V(t,e,n,c,a){var o;e:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof c=="string"&&(t.style.cssText=c=""),c)for(e in c)n&&e in n||_e(t.style,e,"");if(n)for(e in n)c&&n[e]===c[e]||_e(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=n,n?c||t.addEventListener(e,o?le:se,o):t.removeEventListener(e,o?le:se,o);else if(e!=="dangerouslySetInnerHTML"){if(a)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,n))}}function se(t){return this.l[t.type+!1](u.event?u.event(t):t)}function le(t){return this.l[t.type+!0](u.event?u.event(t):t)}function q(t,e,n,c,a,o,r,_,s,h){var d,i,p,f,l,m,$,v,b,x,M,w,S,A,L,y=e.type;if(e.constructor!==void 0)return null;n.__h!=null&&(s=n.__h,_=e.__e=n.__e,e.__h=null,o=[_]),(d=u.__b)&&d(e);try{e:if(typeof y=="function"){if(v=e.props,b=(d=y.contextType)&&c[d.__c],x=d?b?b.props.value:d.__:c,n.__c?$=(i=e.__c=n.__c).__=i.__E:("prototype"in y&&y.prototype.render?e.__c=i=new y(v,x):(e.__c=i=new D(v,x),i.constructor=y,i.render=Te),b&&b.sub(i),i.props=v,i.state||(i.state={}),i.context=x,i.__n=c,p=i.__d=!0,i.__h=[],i._sb=[]),i.__s==null&&(i.__s=i.state),y.getDerivedStateFromProps!=null&&(i.__s==i.state&&(i.__s=E({},i.__s)),E(i.__s,y.getDerivedStateFromProps(v,i.__s))),f=i.props,l=i.state,i.__v=e,p)y.getDerivedStateFromProps==null&&i.componentWillMount!=null&&i.componentWillMount(),i.componentDidMount!=null&&i.__h.push(i.componentDidMount);else{if(y.getDerivedStateFromProps==null&&v!==f&&i.componentWillReceiveProps!=null&&i.componentWillReceiveProps(v,x),!i.__e&&(i.shouldComponentUpdate!=null&&i.shouldComponentUpdate(v,i.__s,x)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(i.props=v,i.state=i.__s,i.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(W){W&&(W.__=e)}),M=0;M<i._sb.length;M++)i.__h.push(i._sb[M]);i._sb=[],i.__h.length&&r.push(i);break e}i.componentWillUpdate!=null&&i.componentWillUpdate(v,i.__s,x),i.componentDidUpdate!=null&&i.__h.push(function(){i.componentDidUpdate(f,l,m)})}if(i.context=x,i.props=v,i.__P=t,i.__e=!1,w=u.__r,S=0,"prototype"in y&&y.prototype.render){for(i.state=i.__s,i.__d=!1,w&&w(e),d=i.render(i.props,i.state,i.context),A=0;A<i._sb.length;A++)i.__h.push(i._sb[A]);i._sb=[]}else do i.__d=!1,w&&w(e),d=i.render(i.props,i.state,i.context),i.state=i.__s;while(i.__d&&++S<25);i.state=i.__s,i.getChildContext!=null&&(c=E(E({},c),i.getChildContext())),p||i.getSnapshotBeforeUpdate==null||(m=i.getSnapshotBeforeUpdate(f,l)),ce(t,R(L=d!=null&&d.type===T&&d.key==null?d.props.children:d)?L:[L],e,n,c,a,o,r,_,s,h),i.base=e.__e,e.__h=null,i.__h.length&&r.push(i),$&&(i.__E=i.__=null)}else o==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=Ne(n.__e,e,n,c,a,o,r,s,h);(d=u.diffed)&&d(e)}catch(W){e.__v=null,(s||o!=null)&&(e.__e=_,e.__h=!!s,o[o.indexOf(_)]=null),u.__e(W,e,n)}}function ue(t,e,n){for(var c=0;c<n.length;c++)G(n[c],n[++c],n[++c]);u.__c&&u.__c(e,t),t.some(function(a){try{t=a.__h,a.__h=[],t.some(function(o){o.call(a)})}catch(o){u.__e(o,a.__v)}})}function Ne(t,e,n,c,a,o,r,_,s){var h,d,i,p=n.props,f=e.props,l=e.type,m=0;if(l==="svg"&&(a=!0),o!=null){for(;m<o.length;m++)if((h=o[m])&&"setAttribute"in h==!!l&&(l?h.localName===l:h.nodeType===3)){t=h,o[m]=null;break}}if(t==null){if(l===null)return document.createTextNode(f);t=a?document.createElementNS("http://www.w3.org/2000/svg",l):document.createElement(l,f.is&&f),o=null,_=!1}if(l===null)p===f||_&&t.data===f||(t.data=f);else{if(o=o&&H.call(t.childNodes),d=(p=n.props||N).dangerouslySetInnerHTML,i=f.dangerouslySetInnerHTML,!_){if(o!=null)for(p={},m=0;m<t.attributes.length;m++)p[t.attributes[m].name]=t.attributes[m].value;(i||d)&&(i&&(d&&i.__html==d.__html||i.__html===t.innerHTML)||(t.innerHTML=i&&i.__html||""))}if(Le(t,f,p,a,_),i)e.__k=[];else if(ce(t,R(m=e.props.children)?m:[m],e,n,c,a&&l!=="foreignObject",o,r,o?o[0]:n.__k&&I(n,0),_,s),o!=null)for(m=o.length;m--;)o[m]!=null&&ne(o[m]);_||("value"in f&&(m=f.value)!==void 0&&(m!==t.value||l==="progress"&&!m||l==="option"&&m!==p.value)&&V(t,"value",m,p.value,!1),"checked"in f&&(m=f.checked)!==void 0&&m!==t.checked&&V(t,"checked",m,p.checked,!1))}return t}function G(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(c){u.__e(c,n)}}function me(t,e,n){var c,a;if(u.unmount&&u.unmount(t),(c=t.ref)&&(c.current&&c.current!==t.__e||G(c,null,e)),(c=t.__c)!=null){if(c.componentWillUnmount)try{c.componentWillUnmount()}catch(o){u.__e(o,e)}c.base=c.__P=null,t.__c=void 0}if(c=t.__k)for(a=0;a<c.length;a++)c[a]&&me(c[a],e,n||typeof t.type!="function");n||t.__e==null||ne(t.__e),t.__=t.__e=t.__d=void 0}function Te(t,e,n){return this.constructor(t,n)}function ze(t,e,n){var c,a,o,r;u.__&&u.__(t,e),a=(c=typeof n=="function")?null:n&&n.__k||e.__k,o=[],r=[],q(e,t=(!c&&n||e).__k=Pe(T,null,[t]),a||N,N,e.ownerSVGElement!==void 0,!c&&n?[n]:a?null:e.firstChild?H.call(e.childNodes):null,o,!c&&n?n:a?a.__e:e.firstChild,c,r),ue(o,t,r)}H=te.slice,u={__e:function(t,e,n,c){for(var a,o,r;e=e.__;)if((a=e.__c)&&!a.__)try{if((o=a.constructor)&&o.getDerivedStateFromError!=null&&(a.setState(o.getDerivedStateFromError(t)),r=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(t,c||{}),r=a.__d),r)return a.__E=a}catch(_){t=_}throw t}},Y=0,D.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=E({},this.state),typeof t=="function"&&(t=t(E({},n),this.props)),t&&E(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),oe(this))},D.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),oe(this))},D.prototype.render=T,P=[],ee=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,j=function(t,e){return t.__v.__b-e.__v.__b},O.__r=0;var z,g,Q,de,J=0,pe=[],B=[],fe=u.__b,he=u.__r,ve=u.diffed,ge=u.__c,be=u.unmount;function K(t,e){u.__h&&u.__h(g,t,J||e),J=0;var n=g.__H||(g.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:B}),n.__[t]}function ye(t){return J=1,Ue(ke,t)}function Ue(t,e,n){var c=K(z++,2);if(c.t=t,!c.__c&&(c.__=[n?n(e):ke(void 0,e),function(_){var s=c.__N?c.__N[0]:c.__[0],h=c.t(s,_);s!==h&&(c.__N=[h,c.__[1]],c.__c.setState({}))}],c.__c=g,!g.u)){var a=function(_,s,h){if(!c.__c.__H)return!0;var d=c.__c.__H.__.filter(function(p){return p.__c});if(d.every(function(p){return!p.__N}))return!o||o.call(this,_,s,h);var i=!1;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(i=!0)}}),!(!i&&c.__c.props===_)&&(!o||o.call(this,_,s,h))};g.u=!0;var o=g.shouldComponentUpdate,r=g.componentWillUpdate;g.componentWillUpdate=function(_,s,h){if(this.__e){var d=o;o=void 0,a(_,s,h),o=d}r&&r.call(this,_,s,h)},g.shouldComponentUpdate=a}return c.__N||c.__}function De(t,e){var n=K(z++,3);!u.__s&&Be(n.__H,e)&&(n.__=t,n.i=e,g.__H.__h.push(n))}function Ie(){var t=K(z++,11);if(!t.__){for(var e=g.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function Oe(){for(var t;t=pe.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(F),t.__H.__h.forEach(X),t.__H.__h=[]}catch(e){t.__H.__h=[],u.__e(e,t.__v)}}u.__b=function(t){g=null,fe&&fe(t)},u.__r=function(t){he&&he(t),z=0;var e=(g=t.__c).__H;e&&(Q===g?(e.__h=[],g.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=B,n.__N=n.i=void 0})):(e.__h.forEach(F),e.__h.forEach(X),e.__h=[],z=0)),Q=g},u.diffed=function(t){ve&&ve(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(pe.push(e)!==1&&de===u.requestAnimationFrame||((de=u.requestAnimationFrame)||Ve)(Oe)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==B&&(n.__=n.__V),n.i=void 0,n.__V=B})),Q=g=null},u.__c=function(t,e){e.some(function(n){try{n.__h.forEach(F),n.__h=n.__h.filter(function(c){return!c.__||X(c)})}catch(c){e.some(function(a){a.__h&&(a.__h=[])}),e=[],u.__e(c,n.__v)}}),ge&&ge(t,e)},u.unmount=function(t){be&&be(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(c){try{F(c)}catch(a){e=a}}),n.__H=void 0,e&&u.__e(e,n.__v))};var xe=typeof requestAnimationFrame=="function";function Ve(t){var e,n=function(){clearTimeout(c),xe&&cancelAnimationFrame(e),setTimeout(t)},c=setTimeout(n,100);xe&&(e=requestAnimationFrame(n))}function F(t){var e=g,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),g=e}function X(t){var e=g;t.__c=t.__(),g=e}function Be(t,e){return!t||t.length!==e.length||e.some(function(n,c){return n!==t[c]})}function ke(t,e){return typeof e=="function"?e(t):e}const Fe=`.acim-menu{--acim-teal-600: #107180;--acim-teal-700: #1a5b6e;--acim-color: white;--acim-padding: 30px;--acim-offset: 0px;--acim-outline: white}.acim-universal{--acim-background: var(--acim-teal-700);--acim-border: rgba(19, 133, 151, .35)}.acim-site{--acim-background: var(--acim-teal-600);--acim-border: #157688}.acim-site ul ul{--acim-border: rgba(19, 133, 151, .35)}.acim-menu,.acim-menu button{font-family:Archivo,sans-serif}.acim-menu ul,.acim-menu li{list-style-type:none;margin:0;padding:0}.acim-menu a{text-decoration:none}.acim-item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.acim-item{font-size:14px;font-weight:600;line-height:21px;padding:13.5px var(--acim-padding) 13.5px}.acim-menu>ul>li>.acim-item{font-weight:800}.acim-item,.acim-menu>.acim-expanded{border-bottom:1px solid var(--acim-border)}.acim-expanded,.acim-icon-search .acim-item,.acim-menu li:last-child>.acim-item,.acim-menu>.acim-collapsed{border-bottom:0 none transparent}.acim-menu>button{text-transform:uppercase}.acim-menu button{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='white' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/></svg>");background-position:calc(100% - var(--acim-padding) - var(--acim-offset)) center;background-repeat:no-repeat;background-size:14px 24px}.acim-menu button.acim-expanded{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='white' d='m 182.62211,201.27501 c -12.5,-12.5 -32.8,-12.5 -45.3,0 L 9.322106,329.275 c -9.19999996,9.2 -11.9,22.9 -6.9,34.9 5,12 16.6,19.8 29.6,19.8 l 256.000004,-0.1 c 12.9,0 24.6,-7.8 29.6,-19.8 5,-12 2.2,-25.7 -6.9,-34.9 l -128,-127.99999 z'/></svg>")}.acim-menu button,.acim-menu ul li{background-color:var(--acim-background)}.acim-menu button,.acim-menu ul li a{color:var(--acim-color)}.acim-menu ul li li{background-color:#fff}.acim-menu ul li li a{color:#138597}.acim-icon>.acim-item{background-position:calc(var(--acim-padding) + var(--acim-offset)) center;background-repeat:no-repeat;background-size:14px 14px;text-indent:-99999px}.acim-icon-home>.acim-item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='white'><path d='M543.8 287.6c17 0 32-14 32-32.1c1-9-3-17-11-24L512 185V64c0-17.7-14.3-32-32-32H448c-17.7 0-32 14.3-32 32v36.7L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32v69.7c-.1 .9-.1 1.8-.1 2.8V472c0 22.1 17.9 40 40 40h16c1.2 0 2.4-.1 3.6-.2c1.5 .1 3 .2 4.5 .2H160h24c22.1 0 40-17.9 40-40V448 384c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64 24c0 22.1 17.9 40 40 40h24 32.5c1.4 0 2.8 0 4.2-.1c1.1 .1 2.2 .1 3.3 .1h16c22.1 0 40-17.9 40-40V455.8c.3-2.6 .5-5.3 .5-8.1l-.7-160.2h32z'/></svg>")}.acim-icon-search>.acim-item{background-image:url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='18' height='18' viewBox='0 0 100 100'><path fill='white' class='st0' d='M98.22,92.72l-5.48,5.47c-1.8,1.82-4.74,1.82-6.55,0L66.9,78.9c-0.87-0.87-1.35-2.05-1.35-3.29v-3.15 c-6.83,5.34-15.42,8.51-24.76,8.51c-22.23,0-40.24-18.01-40.24-40.24S18.55,0.49,40.78,0.49S81.02,18.5,81.02,40.73 c0,9.34-3.18,17.94-8.51,24.76h3.15c1.24,0,2.42,0.48,3.29,1.35l19.29,19.29C100.03,87.95,100.03,90.89,98.22,92.72z M65.54,40.73 c0-13.7-11.08-24.76-24.76-24.76c-13.7,0-24.76,11.08-24.76,24.76c0,13.7,11.08,24.76,24.76,24.76 C54.47,65.49,65.54,54.41,65.54,40.73z'></path></svg>")}.acim-icon-hamburger>.acim-item,.acim-icon-hamburger>.acim-item.acim-expanded{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='white'><path d='M24 6h-24v-4h24v4zm0 4h-24v4h24v-4zm0 8h-24v4h24v-4z'/></svg>")}.acim-track .acim-item{text-transform:uppercase;padding-top:5px;padding-bottom:5px}.acim-track:not(.acim-grow) .acim-item{border-bottom:0 none transparent}.acim-track.acim-grow .acim-item{padding-bottom:10px}.acim-hamburger>button{display:none}@media (min-width: 600px){.acim-menu{--acim-padding:calc((100% - 540px)/2);--acim-offset: 7px}}@media (min-width: 768px){.acim-menu{--acim-padding:calc((100% - 712px)/2)}}@media (min-width: 900px){.acim-menu{--acim-padding: 10px;--acim-offset: 0px}.acim-site{--acim-background: white;--acim-color: var(--acim-teal-600);--acim-outline: var(--acim-teal-700);--acim-padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--acim-teal-700)}.acim-site>ul{justify-content:end}.acim-menu>button{display:none}.acim-menu>ul{display:flex;flex-direction:row;margin:0 auto;width:calc(840px + (2 * var(--acim-padding)))}.acim-item,.acim-track .acim-item{border-bottom:0 none transparent;padding-top:12px;padding-bottom:12px}.acim-site .acim-item{font-size:16px}.acim-grow{flex:1 0 auto}.acim-universal{background-color:var(--acim-teal-700)}.acim-icon>.acim-item{background-position:center center;width:56px}.acim-menu button,.acim-menu button.acim-expanded{background-image:none}.acim-hamburger>button{display:block}.acim-menu>ul>li{display:flex;flex-direction:row;justify-content:start;position:relative}.acim-menu>ul>li.acim-grow>.acim-item{flex:0 1 0}.acim-menu>ul>li>.acim-expanded,.acim-menu>ul>li>.acim-item:active,.acim-menu>ul>li>.acim-item:focus,.acim-menu>ul>li>.acim-item:hover{background-color:var(--acim-teal-600);color:#fff;outline:0 none transparent}.acim-menu>ul>li>.acim-item:focus-visible{outline:3px solid var(--acim-outline);outline-offset:-3px;z-index:1000}.acim-menu>ul ul{background-color:var(--acim-teal-600);padding:10px 0;position:absolute;right:0;top:48px;z-index:9999}.acim-menu>ul ul li{background-color:var(--acim-teal-600)}.acim-menu>ul ul .acim-item{color:#fff;white-space:nowrap;padding:5px 20px}.acim-menu>ul ul .acim-item:active,.acim-menu>ul ul .acim-item:focus,.acim-menu>ul ul .acim-item:hover{color:#cee8e9;outline:0 none transparent;text-decoration:underline}.acim-menu>ul ul .acim-item:focus-visible{outline:3px solid white;outline-offset:-3px;z-index:1000}.acim-menu>ul>li>.acim-item{line-height:24px}}@media (min-width: 1024px){.acim-menu>ul{width:calc(940px + (2 * var(--acim-padding)))}}@media (min-width: 1280px){.acim-menu>ul{width:calc(1180px + (2 * var(--acim-padding)))}}
|
|
2
|
-
`;var
|
|
1
|
+
(function(S,H){typeof exports=="object"&&typeof module<"u"?H(exports):typeof define=="function"&&define.amd?define(["exports"],H):(S=typeof globalThis<"u"?globalThis:S||self,H(S.AccessCiUi={}))})(this,function(S){"use strict";var H,u,ee,P,te,ne,j,N={},oe=[],Le=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,R=Array.isArray;function E(t,e){for(var n in e)t[n]=e[n];return t}function ie(t){var e=t.parentNode;e&&e.removeChild(t)}function Ne(t,e,n){var r,_,i,c={};for(i in e)i=="key"?r=e[i]:i=="ref"?_=e[i]:c[i]=e[i];if(arguments.length>2&&(c.children=arguments.length>3?H.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)c[i]===void 0&&(c[i]=t.defaultProps[i]);return U(t,c,r,_,null)}function U(t,e,n,r,_){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:_??++ee};return _==null&&u.vnode!=null&&u.vnode(i),i}function z(t){return t.children}function D(t,e){this.props=t,this.context=e}function I(t,e){if(e==null)return t.__?I(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?I(t):null}function re(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return re(t)}}function _e(t){(!t.__d&&(t.__d=!0)&&P.push(t)&&!O.__r++||te!==u.debounceRendering)&&((te=u.debounceRendering)||ne)(O)}function O(){var t,e,n,r,_,i,c,s,a;for(P.sort(j);t=P.shift();)t.__d&&(e=P.length,r=void 0,_=void 0,i=void 0,s=(c=(n=t).__v).__e,(a=n.__P)&&(r=[],_=[],(i=E({},c)).__v=c.__v+1,q(a,c,i,n.__n,a.ownerSVGElement!==void 0,c.__h!=null?[s]:null,r,s??I(c),c.__h,_),pe(r,c,_),c.__e!=s&&re(c)),P.length>e&&P.sort(j));O.__r=0}function ce(t,e,n,r,_,i,c,s,a,g,p){var o,f,h,l,d,$,v,x,w,C,k=0,M=r&&r.__k||oe,A=M.length,L=A,y=e.length;for(n.__k=[],o=0;o<y;o++)(l=n.__k[o]=(l=e[o])==null||typeof l=="boolean"||typeof l=="function"?null:typeof l=="string"||typeof l=="number"||typeof l=="bigint"?U(null,l,null,null,l):R(l)?U(z,{children:l},null,null,null):l.__b>0?U(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l)!=null&&(l.__=n,l.__b=n.__b+1,(x=Te(l,M,v=o+k,L))===-1?h=N:(h=M[x]||N,M[x]=void 0,L--),q(t,l,h,_,i,c,s,a,g,p),d=l.__e,(f=l.ref)&&h.ref!=f&&(h.ref&&G(h.ref,null,l),p.push(f,l.__c||d,l)),d!=null&&($==null&&($=d),C=!(w=h===N||h.__v===null)&&x===v,w?x==-1&&k--:x!==v&&(x===v+1?(k++,C=!0):x>v?L>y-v?(k+=x-v,C=!0):k--:k=x<v&&x==v-1?x-v:0),v=o+k,C=C||x==o&&!w,typeof l.type!="function"||x===v&&h.__k!==l.__k?typeof l.type=="function"||C?l.__d!==void 0?(a=l.__d,l.__d=void 0):a=d.nextSibling:a=le(t,d,a):a=se(l,a,t),typeof n.type=="function"&&(n.__d=a)));for(n.__e=$,o=A;o--;)M[o]!=null&&(typeof n.type=="function"&&M[o].__e!=null&&M[o].__e==n.__d&&(n.__d=M[o].__e.nextSibling),fe(M[o],M[o]))}function se(t,e,n){for(var r,_=t.__k,i=0;_&&i<_.length;i++)(r=_[i])&&(r.__=t,e=typeof r.type=="function"?se(r,e,n):le(n,r.__e,e));return e}function le(t,e,n){return n==null||n.parentNode!==t?t.insertBefore(e,null):e==n&&e.parentNode!=null||t.insertBefore(e,n),e.nextSibling}function Te(t,e,n,r){var _=t.key,i=t.type,c=n-1,s=n+1,a=e[n];if(a===null||a&&_==a.key&&i===a.type)return n;if(r>(a!=null?1:0))for(;c>=0||s<e.length;){if(c>=0){if((a=e[c])&&_==a.key&&i===a.type)return c;c--}if(s<e.length){if((a=e[s])&&_==a.key&&i===a.type)return s;s++}}return-1}function Ue(t,e,n,r,_){var i;for(i in n)i==="children"||i==="key"||i in e||F(t,i,null,n[i],r);for(i in e)_&&typeof e[i]!="function"||i==="children"||i==="key"||i==="value"||i==="checked"||n[i]===e[i]||F(t,i,e[i],n[i],r)}function ae(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||Le.test(e)?n:n+"px"}function F(t,e,n,r,_){var i;e:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||ae(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||ae(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r||t.addEventListener(e,i?de:ue,i):t.removeEventListener(e,i?de:ue,i);else if(e!=="dangerouslySetInnerHTML"){if(_)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,n))}}function ue(t){return this.l[t.type+!1](u.event?u.event(t):t)}function de(t){return this.l[t.type+!0](u.event?u.event(t):t)}function q(t,e,n,r,_,i,c,s,a,g){var p,o,f,h,l,d,$,v,x,w,C,k,M,A,L,y=e.type;if(e.constructor!==void 0)return null;n.__h!=null&&(a=n.__h,s=e.__e=n.__e,e.__h=null,i=[s]),(p=u.__b)&&p(e);try{e:if(typeof y=="function"){if(v=e.props,x=(p=y.contextType)&&r[p.__c],w=p?x?x.props.value:p.__:r,n.__c?$=(o=e.__c=n.__c).__=o.__E:("prototype"in y&&y.prototype.render?e.__c=o=new y(v,w):(e.__c=o=new D(v,w),o.constructor=y,o.render=Ie),x&&x.sub(o),o.props=v,o.state||(o.state={}),o.context=w,o.__n=r,f=o.__d=!0,o.__h=[],o._sb=[]),o.__s==null&&(o.__s=o.state),y.getDerivedStateFromProps!=null&&(o.__s==o.state&&(o.__s=E({},o.__s)),E(o.__s,y.getDerivedStateFromProps(v,o.__s))),h=o.props,l=o.state,o.__v=e,f)y.getDerivedStateFromProps==null&&o.componentWillMount!=null&&o.componentWillMount(),o.componentDidMount!=null&&o.__h.push(o.componentDidMount);else{if(y.getDerivedStateFromProps==null&&v!==h&&o.componentWillReceiveProps!=null&&o.componentWillReceiveProps(v,w),!o.__e&&(o.shouldComponentUpdate!=null&&o.shouldComponentUpdate(v,o.__s,w)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(o.props=v,o.state=o.__s,o.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(W){W&&(W.__=e)}),C=0;C<o._sb.length;C++)o.__h.push(o._sb[C]);o._sb=[],o.__h.length&&c.push(o);break e}o.componentWillUpdate!=null&&o.componentWillUpdate(v,o.__s,w),o.componentDidUpdate!=null&&o.__h.push(function(){o.componentDidUpdate(h,l,d)})}if(o.context=w,o.props=v,o.__P=t,o.__e=!1,k=u.__r,M=0,"prototype"in y&&y.prototype.render){for(o.state=o.__s,o.__d=!1,k&&k(e),p=o.render(o.props,o.state,o.context),A=0;A<o._sb.length;A++)o.__h.push(o._sb[A]);o._sb=[]}else do o.__d=!1,k&&k(e),p=o.render(o.props,o.state,o.context),o.state=o.__s;while(o.__d&&++M<25);o.state=o.__s,o.getChildContext!=null&&(r=E(E({},r),o.getChildContext())),f||o.getSnapshotBeforeUpdate==null||(d=o.getSnapshotBeforeUpdate(h,l)),ce(t,R(L=p!=null&&p.type===z&&p.key==null?p.props.children:p)?L:[L],e,n,r,_,i,c,s,a,g),o.base=e.__e,e.__h=null,o.__h.length&&c.push(o),$&&(o.__E=o.__=null)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=De(n.__e,e,n,r,_,i,c,a,g);(p=u.diffed)&&p(e)}catch(W){e.__v=null,(a||i!=null)&&(e.__e=s,e.__h=!!a,i[i.indexOf(s)]=null),u.__e(W,e,n)}}function pe(t,e,n){for(var r=0;r<n.length;r++)G(n[r],n[++r],n[++r]);u.__c&&u.__c(e,t),t.some(function(_){try{t=_.__h,_.__h=[],t.some(function(i){i.call(_)})}catch(i){u.__e(i,_.__v)}})}function De(t,e,n,r,_,i,c,s,a){var g,p,o,f=n.props,h=e.props,l=e.type,d=0;if(l==="svg"&&(_=!0),i!=null){for(;d<i.length;d++)if((g=i[d])&&"setAttribute"in g==!!l&&(l?g.localName===l:g.nodeType===3)){t=g,i[d]=null;break}}if(t==null){if(l===null)return document.createTextNode(h);t=_?document.createElementNS("http://www.w3.org/2000/svg",l):document.createElement(l,h.is&&h),i=null,s=!1}if(l===null)f===h||s&&t.data===h||(t.data=h);else{if(i=i&&H.call(t.childNodes),p=(f=n.props||N).dangerouslySetInnerHTML,o=h.dangerouslySetInnerHTML,!s){if(i!=null)for(f={},d=0;d<t.attributes.length;d++)f[t.attributes[d].name]=t.attributes[d].value;(o||p)&&(o&&(p&&o.__html==p.__html||o.__html===t.innerHTML)||(t.innerHTML=o&&o.__html||""))}if(Ue(t,h,f,_,s),o)e.__k=[];else if(ce(t,R(d=e.props.children)?d:[d],e,n,r,_&&l!=="foreignObject",i,c,i?i[0]:n.__k&&I(n,0),s,a),i!=null)for(d=i.length;d--;)i[d]!=null&&ie(i[d]);s||("value"in h&&(d=h.value)!==void 0&&(d!==t.value||l==="progress"&&!d||l==="option"&&d!==f.value)&&F(t,"value",d,f.value,!1),"checked"in h&&(d=h.checked)!==void 0&&d!==t.checked&&F(t,"checked",d,f.checked,!1))}return t}function G(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){u.__e(r,n)}}function fe(t,e,n){var r,_;if(u.unmount&&u.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||G(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){u.__e(i,e)}r.base=r.__P=null,t.__c=void 0}if(r=t.__k)for(_=0;_<r.length;_++)r[_]&&fe(r[_],e,n||typeof t.type!="function");n||t.__e==null||ie(t.__e),t.__=t.__e=t.__d=void 0}function Ie(t,e,n){return this.constructor(t,n)}function Oe(t,e,n){var r,_,i,c;u.__&&u.__(t,e),_=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],c=[],q(e,t=(!r&&n||e).__k=Ne(z,null,[t]),_||N,N,e.ownerSVGElement!==void 0,!r&&n?[n]:_?null:e.firstChild?H.call(e.childNodes):null,i,!r&&n?n:_?_.__e:e.firstChild,r,c),pe(i,t,c)}H=oe.slice,u={__e:function(t,e,n,r){for(var _,i,c;e=e.__;)if((_=e.__c)&&!_.__)try{if((i=_.constructor)&&i.getDerivedStateFromError!=null&&(_.setState(i.getDerivedStateFromError(t)),c=_.__d),_.componentDidCatch!=null&&(_.componentDidCatch(t,r||{}),c=_.__d),c)return _.__E=_}catch(s){t=s}throw t}},ee=0,D.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=E({},this.state),typeof t=="function"&&(t=t(E({},n),this.props)),t&&E(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),_e(this))},D.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),_e(this))},D.prototype.render=z,P=[],ne=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,j=function(t,e){return t.__v.__b-e.__v.__b},O.__r=0;var T,b,Q,he,J=0,me=[],V=[],ve=u.__b,ge=u.__r,be=u.diffed,xe=u.__c,ye=u.unmount;function K(t,e){u.__h&&u.__h(b,t,J||e),J=0;var n=b.__H||(b.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:V}),n.__[t]}function we(t){return J=1,Fe(Se,t)}function Fe(t,e,n){var r=K(T++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Se(void 0,e),function(s){var a=r.__N?r.__N[0]:r.__[0],g=r.t(a,s);a!==g&&(r.__N=[g,r.__[1]],r.__c.setState({}))}],r.__c=b,!b.u)){var _=function(s,a,g){if(!r.__c.__H)return!0;var p=r.__c.__H.__.filter(function(f){return f.__c});if(p.every(function(f){return!f.__N}))return!i||i.call(this,s,a,g);var o=!1;return p.forEach(function(f){if(f.__N){var h=f.__[0];f.__=f.__N,f.__N=void 0,h!==f.__[0]&&(o=!0)}}),!(!o&&r.__c.props===s)&&(!i||i.call(this,s,a,g))};b.u=!0;var i=b.shouldComponentUpdate,c=b.componentWillUpdate;b.componentWillUpdate=function(s,a,g){if(this.__e){var p=i;i=void 0,_(s,a,g),i=p}c&&c.call(this,s,a,g)},b.shouldComponentUpdate=_}return r.__N||r.__}function ke(t,e){var n=K(T++,3);!u.__s&&je(n.__H,e)&&(n.__=t,n.i=e,b.__H.__h.push(n))}function Ve(){var t=K(T++,11);if(!t.__){for(var e=b.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function Be(){for(var t;t=me.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(B),t.__H.__h.forEach(X),t.__H.__h=[]}catch(e){t.__H.__h=[],u.__e(e,t.__v)}}u.__b=function(t){b=null,ve&&ve(t)},u.__r=function(t){ge&&ge(t),T=0;var e=(b=t.__c).__H;e&&(Q===b?(e.__h=[],b.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=V,n.__N=n.i=void 0})):(e.__h.forEach(B),e.__h.forEach(X),e.__h=[],T=0)),Q=b},u.diffed=function(t){be&&be(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(me.push(e)!==1&&he===u.requestAnimationFrame||((he=u.requestAnimationFrame)||We)(Be)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==V&&(n.__=n.__V),n.i=void 0,n.__V=V})),Q=b=null},u.__c=function(t,e){e.some(function(n){try{n.__h.forEach(B),n.__h=n.__h.filter(function(r){return!r.__||X(r)})}catch(r){e.some(function(_){_.__h&&(_.__h=[])}),e=[],u.__e(r,n.__v)}}),xe&&xe(t,e)},u.unmount=function(t){ye&&ye(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{B(r)}catch(_){e=_}}),n.__H=void 0,e&&u.__e(e,n.__v))};var Me=typeof requestAnimationFrame=="function";function We(t){var e,n=function(){clearTimeout(r),Me&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Me&&(e=requestAnimationFrame(n))}function B(t){var e=b,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),b=e}function X(t){var e=b;t.__c=t.__(),b=e}function je(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Se(t,e){return typeof e=="function"?e(t):e}const Ce=`:host{--teal-100: #cee8e9;--teal-600: #107180;--teal-700: #1a5b6e;--color: white;--padding: 30px;--offset: 0px;--outline: white}:host,:host button{font-family:Archivo,sans-serif}.universal{--background: var(--teal-700);--border: rgba(19, 133, 151, .35)}.site{--background: var(--teal-600);--border: #157688}.site ul ul{--border: rgba(19, 133, 151, .35)}.menu ul,.menu li{list-style-type:none;margin:0;padding:0}.menu a{text-decoration:none}.item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.item{font-size:14px;font-weight:600;line-height:21px;padding:13.5px var(--padding) 13.5px}.menu>ul>li>.item{font-weight:800}.item,.menu>.expanded{border-bottom:1px solid var(--border)}.expanded,.icon-search .item,.menu li:last-child>.item,.menu>.collapsed{border-bottom:0 none transparent}.menu>button{text-transform:uppercase}.menu button{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='white' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/></svg>");background-position:calc(100% - var(--padding) - var(--offset)) center;background-repeat:no-repeat;background-size:14px 24px}.menu button.expanded{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='white' d='m 182.62211,201.27501 c -12.5,-12.5 -32.8,-12.5 -45.3,0 L 9.322106,329.275 c -9.19999996,9.2 -11.9,22.9 -6.9,34.9 5,12 16.6,19.8 29.6,19.8 l 256.000004,-0.1 c 12.9,0 24.6,-7.8 29.6,-19.8 5,-12 2.2,-25.7 -6.9,-34.9 l -128,-127.99999 z'/></svg>")}.menu button,.menu ul li{background-color:var(--background)}.menu button,.menu ul li a{color:var(--color)}.menu ul li li{background-color:#fff}.menu ul li li a{color:#138597}.icon>.item{background-position:calc(var(--padding) + var(--offset)) center;background-repeat:no-repeat;background-size:14px 14px;text-indent:-99999px}.icon-home>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='white'><path d='M543.8 287.6c17 0 32-14 32-32.1c1-9-3-17-11-24L512 185V64c0-17.7-14.3-32-32-32H448c-17.7 0-32 14.3-32 32v36.7L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32v69.7c-.1 .9-.1 1.8-.1 2.8V472c0 22.1 17.9 40 40 40h16c1.2 0 2.4-.1 3.6-.2c1.5 .1 3 .2 4.5 .2H160h24c22.1 0 40-17.9 40-40V448 384c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64 24c0 22.1 17.9 40 40 40h24 32.5c1.4 0 2.8 0 4.2-.1c1.1 .1 2.2 .1 3.3 .1h16c22.1 0 40-17.9 40-40V455.8c.3-2.6 .5-5.3 .5-8.1l-.7-160.2h32z'/></svg>")}.icon-search>.item{background-image:url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='18' height='18' viewBox='0 0 100 100'><path fill='white' class='st0' d='M98.22,92.72l-5.48,5.47c-1.8,1.82-4.74,1.82-6.55,0L66.9,78.9c-0.87-0.87-1.35-2.05-1.35-3.29v-3.15 c-6.83,5.34-15.42,8.51-24.76,8.51c-22.23,0-40.24-18.01-40.24-40.24S18.55,0.49,40.78,0.49S81.02,18.5,81.02,40.73 c0,9.34-3.18,17.94-8.51,24.76h3.15c1.24,0,2.42,0.48,3.29,1.35l19.29,19.29C100.03,87.95,100.03,90.89,98.22,92.72z M65.54,40.73 c0-13.7-11.08-24.76-24.76-24.76c-13.7,0-24.76,11.08-24.76,24.76c0,13.7,11.08,24.76,24.76,24.76 C54.47,65.49,65.54,54.41,65.54,40.73z'></path></svg>")}.icon-hamburger>.item,.icon-hamburger>.item.expanded{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='white'><path d='M24 6h-24v-4h24v4zm0 4h-24v4h24v-4zm0 8h-24v4h24v-4z'/></svg>")}.track .item{text-transform:uppercase;padding-top:5px;padding-bottom:5px}.track:not(.grow) .item{border-bottom:0 none transparent}.track.grow .item{padding-bottom:10px}.hamburger>button{display:none}.footer{background-color:var(--teal-700);color:#fff}.columns{margin:0 auto;padding:50px var(--padding) 36px;width:var(--width)}.column{padding-bottom:14px}.footer a,.footer a:visited{color:#fff;text-decoration:none}.footer a:active,.footer a:focus,.footer a:hover{color:var(--teal-100);text-decoration:underline}.footer h2{font-size:14px;font-weight:800;margin:0}.footer ul{margin:0;padding:0}.footer li{font-size:14px;font-weight:600;list-style-type:none;padding:14px 0 0}@media (min-width: 600px){:host{--padding: calc((100% - var(--width)) / 2);--offset: 7px;--width: 540px}}@media (min-width: 768px){:host{--width: 712px}.columns{display:flex;flex-direction:row;flex-wrap:wrap;padding:50px 0 10px}.column{padding-bottom:40px;padding-right:20px;width:calc((var(--width) - 60px) / 4)}.column:nth-child(4),.column:last-child{padding-right:0}}@media (min-width: 900px){:host{--padding: 10px;--offset: 0px;--width: 840px}.site{--background: white;--color: var(--teal-600);--outline: var(--teal-700);--padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--teal-700)}.site>ul{justify-content:end}.menu>button{display:none}.menu>ul{display:flex;flex-direction:row;margin:0 auto;width:calc(var(--width) + (2 * var(--padding)))}.item,.track .item{border-bottom:0 none transparent;padding-top:12px;padding-bottom:12px}.site .item{font-size:16px}.grow{flex:1 0 auto}.universal{background-color:var(--teal-700)}.icon>.item{background-position:center center;width:56px}.menu button,.menu button.expanded{background-image:none}.hamburger>button{display:block}.menu>ul>li{display:flex;flex-direction:row;justify-content:start;position:relative}.menu>ul>li.grow>.item{flex:0 1 0}.menu>ul>li>.expanded,.menu>ul>li>.item:active,.menu>ul>li>.item:focus,.menu>ul>li>.item:hover{background-color:var(--teal-600);color:#fff;outline:0 none transparent}.menu>ul>li>.item:focus-visible{outline:3px solid var(--outline);outline-offset:-3px;z-index:1000}.menu>ul ul{background-color:var(--teal-600);padding:10px 0;position:absolute;right:0;top:48px;z-index:9999}.menu>ul ul li{background-color:var(--teal-600)}.menu>ul ul .item{color:#fff;white-space:nowrap;padding:5px 20px}.menu>ul ul .item:active,.menu>ul ul .item:focus,.menu>ul ul .item:hover{color:#cee8e9;outline:0 none transparent;text-decoration:underline}.menu>ul ul .item:focus-visible{outline:3px solid white;outline-offset:-3px;z-index:1000}.menu>ul>li>.item{line-height:24px}}@media (min-width: 1024px){:host{--width: 940px}}@media (min-width: 1280px){:host{--width: 1180px}.columns{flex-wrap:nowrap;padding:72px 0 0}.column{padding-bottom:72px;width:calc((var(--width) - 120px) / 7)}.column:nth-child(4){padding-right:20px}}
|
|
2
|
+
`;var Re=0;function m(t,e,n,r,_,i){var c,s,a={};for(s in e)s=="ref"?c=e[s]:a[s]=e[s];var g={type:t,props:a,key:n,ref:c,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Re,__source:_,__self:i};if(typeof t=="function"&&(c=t.defaultProps))for(s in c)a[s]===void 0&&(a[s]=c[s]);return u.vnode&&u.vnode(g),g}const Y=(t=900)=>document.body.clientWidth>=t?"desktop":"mobile",He=(t=900)=>{const[e,n]=we(Y(t));return ke(()=>{window.addEventListener("resize",()=>n(Y(t)))},[]),e},Ee=({autoOpenMode:t,classes:e="",href:n="",html:r="",items:_,mode:i,name:c,open:s,parentId:a="root",setOpen:g})=>{const p=Ve(),o=s[a]==p,f=o||t==i,h=()=>g({...s,[a]:o?null:p});if(r)return m("div",{dangerouslySetInnerHTML:{__html:r}});if(n)return m("a",{href:n,class:`item ${e||""}`,children:c});if(_)return m(z,{children:[c&&m("button",{"aria-expanded":f,"aria-controls":p,class:`item ${f?"expanded":"collapsed"}`,onClick:h,children:c}),m("ul",{class:e,id:p,hidden:!f,"aria-hidden":!f,children:_.map(({autoOpenMode:l,classes:d,href:$,html:v,items:x,name:w})=>m("li",{class:d||"",children:m(Ee,{autoOpenMode:l,href:$,html:v,items:x,mode:i,name:w,open:s,parentId:p,setOpen:g})}))})]})},$e=({classes:t,items:e,name:n,target:r})=>{const _=He(),[i,c]=we({});return ke(()=>{document.body.addEventListener("click",s=>{s.target!=r&&Y()=="desktop"&&c({})}),r.addEventListener("keydown",({key:s})=>{s=="Escape"&&c({})})},[]),m(z,{children:[m("nav",{class:`menu ${t||""}`,children:m(Ee,{autoOpenMode:"desktop",items:e,mode:_,name:n,open:i,setOpen:c})}),m("style",{children:Ce})]})},qe=({items:t})=>{const e=He(768),n=t.map(({name:r,href:_,items:i})=>{if(e=="mobile")for(;!_;)_=i[0].href,i=i[0];return _?m("div",{class:"column",children:m("h2",{children:m("a",{href:_,children:r})})}):m("div",{class:"column",children:[m("h2",{children:r}),m("ul",{children:i.map(({name:c,href:s})=>m("li",{children:m("a",{href:s,children:c})}))})]})});return m(z,{children:[m("nav",{class:"footer",children:m("div",{class:"columns",children:n})}),m("style",{children:Ce})]})},Pe=[{name:"Allocations",href:"https://allocations.access-ci.org/",classes:"track"},{name:"Support",href:"https://support.access-ci.org/",classes:"track"},{name:"Operations",href:"https://operations.access-ci.org/",classes:"track"},{name:"Metrics",href:"https://metrics.access-ci.org/",classes:"track grow"},{name:"ACCESS Home",href:"https://access-ci.org/",classes:"icon icon-home"},{name:"Search",href:"https://support.access-ci.org/knowledge-base",classes:"icon icon-search"},{name:"Menu",classes:"icon icon-hamburger hamburger",autoOpenMode:"mobile",items:[{name:"About",href:"https://access-ci.org/about/"},{name:"Announcements",href:"https://support.access-ci.org/announcements"},{name:"Contact",href:"https://access-ci.org/about/contact/"},{name:"Events & Trainings",href:"https://support.access-ci.org/events"},{name:"News",href:"https://access-ci.org/news/"},{name:"Outages",href:"https://support.access-ci.org/outages"},{name:"Resource Providers",href:"https://access-ci.org/resource-providers/"}]}],ze={name:"My ACCESS",items:[{name:"Allocations",href:"https://allocations.access-ci.org/requests"},{name:"Community Persona",href:"https://support.access-ci.org/community-persona"},{name:"Edit Profile",href:"https://allocations.access-ci.org/profile"},{name:"Publications",href:"https://allocations.access-ci.org/publications"},{name:"Share with ORCID",href:"https://allocations.access-ci.org/orcid"},{name:"Log out",href:"https://cilogon.org/logout/?skin=access"}]},Ae={name:"Login",items:[{name:"Login",href:"https://cilogon.org/?skin=access"},{name:"Questions",href:"https://identity.access-ci.org/"},{name:"Register",href:"https://identity.access-ci.org/new-user"},{name:"Reset Password",href:"https://identity.access-ci.orgg/password-reset"}]},Z=(t,e)=>{const n=e.attachShadow({mode:"open"});Oe(t,n)},Ge=({items:t,isLoggedIn:e,loginUrl:n,logoutUrl:r,target:_}={})=>{if(e===void 0&&(e=document.cookie.split("; ").includes("SESSaccesscisso=1")),t===void 0){const i={...e?ze:Ae};i.items=i.items.map(c=>({...c,href:c.name=="Login"&&n||c.name=="Log out"&&r||c.href})),t=[...Pe,i]}Z(m($e,{classes:"universal",items:t,name:"ACCESS Menu",target:_}),_)},Qe=({items:t,siteName:e,target:n})=>Z(m($e,{classes:"site",items:t,name:`${e} Menu`,target:n}),n),Je=({items:t,target:e})=>Z(m(qe,{items:t}),e);S.footerMenus=Je,S.loginMenuItem=Ae,S.myAccessMenuItem=ze,S.siteMenus=Qe,S.universalMenuItems=Pe,S.universalMenus=Ge,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"})});
|