diff --git a/build/slide-show-figure.js b/build/slide-show-figure.js index 1d61afa..207705e 100644 --- a/build/slide-show-figure.js +++ b/build/slide-show-figure.js @@ -1,7 +1,7 @@ /* slide-show - 1.1.5 + 1.1.6 By Stephen Band - Built 2022-05-16 23:59 */ + Built 2022-05-19 13:25 */ -var qe=Object.defineProperty;var Mt=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var Dt=(t,e)=>{var n={};for(var o in t)We.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Mt)for(var o of Mt(t))e.indexOf(o)<0&&$e.call(t,o)&&(n[o]=t[o]);return n};var G=(t,e)=>{for(var n in e)qe(t,n,{get:e[n],enumerable:!0})};function $(t){var e=new Map;return function(o){if(e.has(o))return e.get(o);var r=t(o);return e.set(o,r),r}}var Ne=Array.prototype;function Xe(t,e){return typeof t=="function"?t.apply(null,e):t}function Bt(t,e,n){n=n||t.length;var o=n===1?e?t:$(t):$(function(r){return Bt(function(){var i=[r];return i.push.apply(i,arguments),t.apply(null,i)},e,n-1)});return function r(i){return arguments.length===0?r:arguments.length===1?o(i):arguments.length>=n?t.apply(null,arguments):Xe(o(i),Ne.slice.call(arguments,1))}}var w=Bt;function Ye(t,e){return 1-Math.pow(1-e,t)}var Gt=w(Ye);function v(){}function at(t,e){return e(t)}function S(t){return t}var Ke=Array.prototype;function pt(){let t=arguments;return t.length?e=>Ke.reduce.call(t,at,e):S}function ft(t,e,n){return n*(e-t)+t}var Ze=window.performance,zt=window.requestAnimationFrame,Qe=window.cancelAnimationFrame;function dt(t,e,n){var o=Ze.now();function r(s){var u=(s-o)/(t*1e3);u<1?(u>0&&e(u),i=zt(r)):(e(1),n&&n())}var i=zt(r);return function(){Qe(i)}}function N(t,e,n,o,r,i){let s=o[n];return dt(t,pt(e,u=>ft(s,r,u),u=>o[n]=u),i)}function Je(){return{x:0,y:0,left:0,top:0,right:window.innerWidth,bottom:window.innerHeight,width:window.innerWidth,height:window.innerHeight}}function T(t){return t===window?Je():t.getClientRects()[0]||t.getBoundingClientRect()}var I={scrollDuration:.3,scrollDurationPerHeight:.125,scrollTransform:Gt(3)},_t=v;function tn(t,e){if(e.behavior==="smooth"){let n=t.style.getPropertyValue("scroll-snap-type"),o=()=>t.style.setProperty("scroll-snap-type",n);if(t.style.setProperty("scroll-snap-type","none"),e.left!==void 0){let r=t===document.body?window.innerWidth:T(t).width,i=I.scrollDuration+I.scrollDurationPerHeight*Math.abs(e.left-t.scrollLeft)/r;_t=N(i,I.scrollTransform,"scrollLeft",t,e.left,o)}else{let r=t===document.body?window.innerHeight:T(t).height,i=I.scrollDuration+I.scrollDurationPerHeight*Math.abs(e.top-t.scrollTop)/r;_t=N(i,I.scrollTransform,"scrollTop",t,e.top,o)}}else e.left!==void 0&&(t.scrollLeft=e.left),e.top!==void 0&&(t.scrollTop=e.top)}if(!("scrollBehavior"in document.documentElement.style)){console.log("Polyfilling Element.scrollTo(options).");let t="scrollTo"in Element.prototype?Element:HTMLElement,e=t.scrollIntoView;t.prototype.scrollTo=function(n){typeof n=="object"?tn(this,n):e.apply(this,arguments)}}function y(t,e){return function(){let o=t.apply(this,arguments),r=e[o]||e.default;if(!r)throw new Error('overload() no handler for "'+o+'"');return r.apply(this,arguments)}}var en=y(S,{is:v,tag:v,html:function(t,e,n){e.innerHTML=n},text:function(t,e,n){e.textContent=n},children:function(t,e,n){e.innerHTML="",n.forEach(o=>{e.appendChild(o)})},points:j,cx:j,cy:j,r:j,preserveAspectRatio:j,viewBox:j,default:function(t,e,n){t in e?e[t]=n:e.setAttribute(t,n)}});function j(t,e,n){e.setAttribute(t,n)}function nn(t,e){for(var n=Object.keys(e),o=n.length;o--;)en(n[o],t,e[n[o]]);return t}var mt=w(nn,!0);var on="http://www.w3.org/2000/svg",Rt=document.createElement("div");var Ut=(t,e)=>e&&typeof e;function Vt(t,e){let n=document.createRange();return n.selectNode(t),n.createContextualFragment(e)}function L(t,e){var n=document.createElementNS(on,t);return e&&(n.innerHTML=e),n}var rn=y(S,{comment:function(t,e){return document.createComment(e||"")},fragment:y(Ut,{string:function(t,e,n){if(n)return Vt(n,e);let o=document.createDocumentFragment();Rt.innerHTML=e;let r=Rt.childNodes;for(;r[0];)o.appendChild(r[0]);return o},object:function(t,e,n){let o=n?Vt(n):document.createDocumentFragment();return typeof e.length=="number"?o.append.apply(o,e):mt(o,e),o},default:()=>document.createDocumentFragment()}),text:function(t,e){return document.createTextNode(e||"")},circle:L,ellipse:L,g:L,glyph:L,image:L,line:L,rect:L,use:L,path:L,pattern:L,polygon:L,polyline:L,svg:L,default:y(Ut,{string:function(t,e){let n=document.createElement(t);return n.innerHTML=e,n},object:function(t,e){let n=document.createElement(t);return typeof e.length=="number"?n.append.apply(n,e):mt(n,e),n},default:t=>{if(typeof t!="string")throw new Error('create(tag, content) accepts only a string as tag "'+typeof t+'"');return document.createElement(t)}})}),b=rn;function ht(t,e,n){let o;typeof n!="string"&&n.input!==void 0&&n.index!==void 0&&(o=n,n=o.input.slice(n.index+n[0].length+(n.consumed||0)));let r=t.exec(n);if(!r)return;let i=e(r);return o&&(o.consumed=(o.consumed||0)+r.index+r[0].length+(r.consumed||0)),i}var fr=w(ht,!0);function sn(t,e,n){throw n.input!==void 0&&n.index!==void 0&&(n=n.input),new Error('Cannot parse string "'+n+'"')}function cn(t,e,n){let o=-1;for(;++ocn(e,n,i),o);return r===void 0?e.catch?e.catch(n,o):sn(t,e,o):r}var qt=w(un,!0);var gt=v;var k=Symbol("internals"),O=Symbol("shadow"),Wt=Object.defineProperties,ln={a:HTMLAnchorElement,dl:HTMLDListElement,p:HTMLParagraphElement,br:HTMLBRElement,fieldset:HTMLFieldSetElement,hr:HTMLHRElement,img:HTMLImageElement,li:HTMLLIElement,ol:HTMLOListElement,optgroup:HTMLOptGroupElement,q:HTMLQuoteElement,textarea:HTMLTextAreaElement,td:HTMLTableCellElement,th:HTMLTableCellElement,tr:HTMLTableRowElement,tbody:HTMLTableSectionElement,thead:HTMLTableSectionElement,tfoot:HTMLTableSectionElement,ul:HTMLUListElement},an={name:{set:function(t){return this.setAttribute("name",t)},get:function(){return this.getAttribute("name")||""}},form:{get:function(){return this[k].form}},labels:{get:function(){return this[k].labels}},validity:{get:function(){return this[k].validity}},validationMessage:{get:function(){return this[k].validationMessage}},willValidate:{get:function(){return this[k].willValidate}},checkValidity:{value:function(){return this[k].checkValidity()}},reportValidity:{value:function(){return this[k].reportValidity()}}},pn={},$t={once:!0},fn=0,Nt=!1;function dn(t){return ln[t]||window["HTML"+t[0].toUpperCase()+t.slice(1)+"Element"]||(()=>{throw new Error('Constructor not found for tag "'+t+'"')})()}var mn=qt(/^\s*?\s*$|^\s*?\s*$/,{1:(t,e)=>({name:e[1]}),2:(t,e)=>({name:e[3],tag:e[2]}),catch:function(t,e){throw new SyntaxError(`dom element() – name must be of the form 'element-name' or 'tag is="element-name"' (`+e+")")}},null);function hn(t,e){if(t.hasOwnProperty(e)){let n=t[e];delete t[e],t[e]=n}return t}function gn(t,e,n){t._initialLoad=!0;let o=t.attachShadow({mode:e.mode||"closed",delegatesFocus:e.focusable||!1});if(n){let r=b("link",{rel:"stylesheet",href:n});o.append(r)}return t[O]=o,o}function wn(t){var e;if(t.attachInternals){if(e=t.attachInternals(),e.setFormValue)return e}else e={shadowRoot:t.shadowRoot};return e.input=b("input",{type:"hidden",name:t.name}),t.appendChild(e.input),e.setFormValue=function(n){this.input.value=n},e}function vn(t){t._initialAttributes={},t._n=0}function yn(t,e,n){let o=t._initialAttributes;for(;t._nfn?gn(p,e,o||e.stylesheet):void 0,c=l.formAssociated&&wn(p);return i&&(Nt=!0),e.construct&&e.construct.call(p,a,c),u&&(vn(p),Promise.resolve(1).then(function(){Xt(p,l.observedAttributes,u)})),f&&Object.keys(f).reduce(hn,p),p}return l.prototype=Object.create(s.prototype,f),f&&f.value&&(l.formAssociated=!0,Wt(l.prototype,an),(e.enable||e.disable)&&(l.prototype.formDisabledCallback=function(p){return p?e.disable&&e.disable.call(this,this[O],this[k]):e.enable&&e.enable.call(this,this[O],this[k])}),e.reset&&(l.prototype.formResetCallback=function(){return e.reset.call(this,this[O],this[k])}),e.restore&&(l.prototype.formStateRestoreCallback=function(){return e.restore.call(this,this[O],this[k])})),u&&(l.observedAttributes=Object.keys(u),l.prototype.attributeChangedCallback=function(p,a,c){if(!this._initialAttributes)return u[p].call(this,c);this._initialAttributes[p]=c,yn(this,l.observedAttributes,u)}),l.prototype.connectedCallback=function(){let p=this,a=p[O],c=p[k];if(p._initialAttributes&&Xt(p,l.observedAttributes,u),p._initialLoad){let E=a.querySelectorAll('link[rel="stylesheet"]');if(E.length){let ze=0,lt=E.length,Ht=function(Ue){++ze>=E.length&&(delete p._initialLoad,e.load&&(gt("element()","loaded",Array.from(E).map(Ve=>Ve.href).join(` -`)),e.load.call(p,a)))},_e=Ht;for(;lt--;)E[lt].addEventListener("load",Ht,$t),E[lt].addEventListener("error",_e,$t);e.connect&&e.connect.call(this,a,c)}else e.connect&&e.connect.call(this,a,c),e.load&&e.load.call(this,a,c)}else e.connect&&e.connect.call(this,a,c)},e.disconnect&&(l.prototype.disconnectedCallback=function(){return e.disconnect.call(this,this[O],this[k])}),gt("element()","<"+(i?i+" is="+r:r)+">"),window.customElements.define(r,l,i&&{extends:i}),i&&!Nt&&document.querySelectorAll('[is="'+r+'"]').forEach(p=>{Wt(p,f),e.construct&&e.construct.apply(p);let a;for(a in u){let c=p.attributes[a];c&&u[a].call(p,c.value)}e.connect&&e.connect.apply(p)}),l}function Kt(t,e){if(t===e)return!0;if(t===null||e===null||typeof t!="object"||typeof e!="object")return!1;let n=Object.keys(t),o=Object.keys(e),r=n.length;for(;r--;){if(t[n[r]]===void 0){if(e[n[r]]!==void 0)return!1}else if(!e.hasOwnProperty(n[r])||!Kt(t[n[r]],e[n[r]]))return!1;let i=o.indexOf(n[r]);i>-1&&o.splice(i,1)}for(r=o.length;r--;)if(e[o[r]]===void 0){if(t[o[r]]!==void 0)return!1}else return!1;return!0}var Zt=w(Kt,!0);function En(t,e){return e[t]}var H=w(En,!0);var Sn=Object.freeze;function Qt(){return this}var M=Sn({shift:v,push:v,forEach:v,join:function(){return""},map:Qt,filter:Qt,reduce:function(t,e){return e},length:0,each:v,pipe:S,start:v,stop:v,done:v,valueOf:function(){return null}});function vt(){return this}function yt(t){return t&&t[Symbol.iterator]}var Tn=Object.assign;function Ln(t){return t.stop?t.stop():t()}function kn(t){t.forEach(Ln),t.length=0}function D(){}Tn(D.prototype,{stop:function(){return this.stopables&&kn(this.stopables),this},done:function(e){return(this.stopables||(this.stopables=[])).push(e),this}});var Pn=Object.assign;function X(t){D.prototype.stop.apply(t);let e=-1,n;for(;n=t[++e];)t[e]=void 0,X(n)}function m(){}Pn(m.prototype,{pipe:function(t){return this[0]=t,t},stop:function(){return X(this[0]),this}});var P=Object.assign,F=Object.create;function z(t,e){e!==void 0&&t[0].push(e)}function Fn(t,e){if(t[1]){let n=-1;for(;t[++n]&&t[n]!==e;);for(;t[n++];)t[n-1]=t[n];X(e)}else t.stop()}function h(t){this.input=t}P(h.prototype,D.prototype,{push:function(t){z(this,t)},pipe:function(t){if(this[0])throw new Error("Stream: Attempt to .pipe() a unicast stream multiple times. Create a multicast stream with stream.broadcast().");return this[0]=t,this.input.pipe(this),t},map:function(t){return new Jt(this,t)},filter:function(t){return new te(this,t)},chunk:function(t){return new ne(this,t)},flatMap:function(t){return new ee(this,t)},take:function(t){return new oe(this,t)},each:function(t){return new se(this,t)},reduce:function(t,e){return new re(this,t,e)},scan:function(t,e){return new ie(this,t,e)},stop:function(){return Fn(this.input,this),this}});function Jt(t,e){this.input=t,this.fn=e}Jt.prototype=P(F(h.prototype),{push:function(e){let n=this.fn;z(this,n(e))}});function te(t,e){this.input=t,this.fn=e}te.prototype=P(F(h.prototype),{push:function(e){this.fn(e)&&z(this,e)}});function ee(t,e){this.input=t,this.fn=e}ee.prototype=P(F(h.prototype),{push:function(e){let o=this.fn(e);if(o!==void 0)if(yt(o))for(let r of o)z(this,r);else throw new Error("Stream: Cannot .flatMap() non-iterable values")}});function ne(t,e){this.input=t,this.chunk=[],typeof e=="number"?this.n=e:typeof e=="function"&&(this.fn=e)}ne.prototype=P(F(h.prototype),{fn:function(t){return t.length===this.n},push:function(e){let n=this.chunk;n.push(e),this.fn(n)&&(z(this,n),this.chunk=[])}});function oe(t,e){this.input=t,this.count=e}oe.prototype=P(F(h.prototype),{push:function(e){this[0].push(e),--this.count||this.stop()}});function re(t,e,n){return this.input=t,this.fn=e,this.value=n,this.i=0,t.pipe(this),n}re.prototype=P(F(h.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t,this.i++,this)}});function ie(t,e,n){this.input=t,this.fn=e,this.value=n}ie.prototype=P(F(h.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t),this[0].push(this.value)}});function se(t,e){this.input=t,this.push=e,t.pipe(this)}se.prototype=P(F(h.prototype),{each:null,reduce:null,pipe:null});var On=Array.prototype,An=Object.assign,Cn=Object.create;function _(t){this.buffer=t||[]}_.prototype=An(Cn(h.prototype),m.prototype,{push:function(t){t!==void 0&&this.buffer.push(t)},pipe:function(t){for(this[0]=t;this.buffer.length;)this[0].push(On.shift.apply(this.buffer));return this.buffer=this[0],t}});var In=Object.assign,jn=Object.create;function R(t,e){this.input=t,this.memory=!!(e&&e.memory),e&&e.hot&&this.pipe(M)}R.prototype=In(jn(h.prototype),{push:function(t){if(t!==void 0){this.memory&&(this.value=t);let e=-1;for(;this[++e];)this[e].push(t)}},pipe:function(t){let e=-1;for(;this[++e];);return this[e]=t,this.value!==void 0&&t.push(this.value),e===0&&this.input.pipe(this),t}});var Hn=Object.assign;function Y(t){this.promise=t}Hn(Y.prototype,m.prototype,{pipe:function(t){let e=this.promise;this[0]=t,e.then(n=>this[0].push(n)).finally(n=>this.stop())},stop:function(){m.prototype.stop.apply(this,arguments),this[0]=M}});var ue=Object.assign,le=Object.keys;function ce(t,e,n){let o=t.values,r=t.names,i=t[0];o[e]=n,(t.active||(t.active=le(o).length===r.length))&&i.push(ue({},o))}function K(t){this.inputs=t,this.active=!1}ue(K.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this.values={},this.names=le(e),this[0]=t;for(let n in e){let o=e[n];o.pipe?t.done(o.each(r=>ce(this,n,r))):o.then?o.then(r=>ce(this,n,r)):console.log("Todo: combine() raw values ?")}}});var Mn=Object.assign;function Z(t){this.inputs=t}Mn(Z.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this[0]=t;let n=-1,o;for(;o=e[++n];)if(o.pipe)o.pipe(t);else if(o.then)o.then(r=>t.push(r));else{let r=-1;for(;++r0}function Gn(t,e,n){return t[n]=e.shift(),t}function zn(t){return[]}function bt(t,e,n,o){n.push(o),e.every(Bn)&&t.push(e.reduce(Gn,{}))}function Q(t){this.inputs=t,this.buffers=xt.map.call(t,zn)}Dn(Q.prototype,m.prototype,{pipe:function(t){let e=this.inputs,n=this.buffers;this[0]=t,xt.forEach.call(e,(o,r)=>{let i=n[r];o.each?t.done(o.each(s=>bt(t,n,i,s))):o.then?o.then(s=>bt(t,n,i,s)):xt.forEach.call(o,s=>bt(t,n,i,s))})},stop:function(){let t=this.inputs,e=-1,n;for(;n=t[++e];)n.stop();return m.prototype.stop.apply(this,arguments)}});var _n=Array.prototype,ae=Object.assign;function Rn(t){throw new TypeError("Stream: invalid source object cannot be read into stream")}var g=ae(h,{of:function(){return new _(_n.slice.apply(arguments))},from:function(t){return t.pipe?new h(t):t.then?new h(new Y(t)):typeof t.length=="number"?new _(t):Rn(t)},broadcast:function(e){return new R(M,e)},combine:function(e){return new h(new K(e))},merge:function(){return new h(new Z(arguments))},zip:function(){return new h(new Q(arguments))}});ae(h.prototype,{log:vt,broadcast:function(t){return new R(this,t)}});var Un=Object.assign,Vn=/\s+/,pe={fullscreenchange:"fullscreenElement"in document?"fullscreenchange":"webkitFullscreenElement"in document?"webkitfullscreenchange":"fullscreenchange"};function fe(t){return t.which===1&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}var de=0;window.addEventListener("click",t=>de=t.timeStamp);function qn(t,e){return t.node.addEventListener(pe[e]||e,t,t.options),t}function Wn(t,e){return t.node.removeEventListener(pe[e]||e,t),t}function me(t,e,n){this.types=t.split(Vn),this.options=e,this.node=n,this.select=e&&e.select}Un(me.prototype,m.prototype,{pipe:function(t){this[0]=t,this.types.reduce(qn,this)},handleEvent:function(t){if(!(t.type==="click"&&t.timeStamp<=de)){if(this.select){let e=t.target.closest(this.select);if(!e)return;t.selectedTarget=e}this[0].push(t)}},stop:function(){this.types.reduce(Wn,this),m.prototype.stop.apply(this,arguments)}});function x(t,e){let n;return typeof t=="object"&&(n=t,t=n.type),new g(new me(t,n,e))}function Et(t){return typeof t}var $n=/^\s*([+-]?\d*\.?\d+)([^\s\d]*)\s*$/;function Nn(t,e){if(typeof e=="number")return e;var n=$n.exec(e);if(!n||!t[n[2]||""]){if(!t.catch)throw new Error('Cannot parse value "'+e+'" with provided units '+Object.keys(t).join(", "));return n?t.catch(parseFloat(n[1]),n[2]):t.catch(parseFloat(e))}return t[n[2]||""](parseFloat(n[1]))}var J=w(Nn);var Xn=/px$/,he={"transform:translateX":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e);return parseFloat(n[4])},"transform:translateY":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e);return parseFloat(n[5])},"transform:scale":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.sqrt(o*o+r*r)},"transform:rotate":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.atan2(r,o)}};function tt(t){return t.split("(")[1].split(")")[0].split(/\s*,\s*/)}function U(t,e){return window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):0}function et(t,e){if(he[t])return he[t](e);var n=U(t,e);return typeof n=="string"&&Xn.test(n)?parseFloat(n):n}var nt,ot;function Yn(){if(!nt){let t=document.documentElement.style.fontSize;document.documentElement.style.fontSize="100%",nt=et("font-size",document.documentElement),document.documentElement.style.fontSize=t||""}return nt}function Kn(){return ot||(ot=et("font-size",document.documentElement)),ot}window.addEventListener("resize",()=>{nt=void 0,ot=void 0});var A=y(Et,{number:S,string:J({em:function(t){return Yn()*t},px:function(t){return t},rem:function(t){return Kn()*t},vw:function(t){return window.innerWidth*t/100},vh:function(t){return window.innerHeight*t/100},vmin:function(t){return window.innerWidthn?o:n}n=nq.maxScrollInterval?q.maxScrollInterval:1.4*n}function it(){return ye}function xe(t){let e=T(t),n=window.getComputedStyle(t,null),o=A(n.getPropertyValue("padding-left")),r=A(n.getPropertyValue("padding-right"));return e.leftPadding=e.left+o,e.rightPadding=e.left+e.width-r,e.centrePadding=e.leftPadding+(e.width-o-r)/2,e}function Ee(t){let e=window.getComputedStyle(t,null).getPropertyValue("scroll-snap-align");return e.endsWith("start")?"left":e.endsWith("end")?"right":"centre"}function Se(t,e,n){let o=xe(t),r=T(e),i=Ee(e);t.scrollTo({top:t.scrollTop,left:t.scrollLeft+(i==="left"?r.left-o.leftPadding:i==="right"?r.right-o.rightPadding:r.left+r.width/2-o.centrePadding),behavior:n})}function Te(t,e){return Se(t,e,"smooth"),e}function B(t,e){return t.style.setProperty("scroll-behavior","auto","important"),Se(t,e,"auto"),t.style.setProperty("scroll-behavior",""),e}function Le(t,e){let{leftPadding:n,rightPadding:o,centrePadding:r}=xe(t),i=e.length,s;for(;s=e[--i];){let u=T(s);if(!u)continue;let f=Ee(s),l=u.width/2+(f==="left"?n:f==="right"?o:r);if((f==="left"?u.left:f==="right"?u.right:u.left+u.width/2)<=l)break}return s}function ke(t){return!!t.dataset.slideIndex}function Pe(t){let{scroller:e,elements:n,children:o}=t,r=Le(e,n);return ke(r)?o[r.dataset.slideIndex]:r}function Fe(t){let{scroller:e,children:n,elements:o}=t,r=Le(e,o),i;!r||(ke(r)?(i=n[r.dataset.slideIndex],B(e,i)):i=r,t.activations.push(i))}function to(t,e){t.style.setProperty("scroll-snap-type",""),e.stop()}var Oe=y((t,e)=>e.type,{pointerdown:function(t,e){return t.e0=e,t.x0=e.clientX,t.y0=e.clientY,t},pointermove:function(t,e){let n=e.clientX,o=e.clientY;if(!t.gesturing){if(Math.abs(n-t.x0)(clearTimeout(s),setTimeout(to,it()*1e3,n,l)))}return t.gesturing=!1,t.e0=void 0,t.x0=void 0,t.y0=void 0,t.pointers=void 0,t.scrollLeft0=void 0,t}});var eo=Object.assign,no={capture:!0,passive:!0};function oo(t,e){t.timer=void 0,t.stream.push(e);let n=t.times;n.length>1&&be(n),n.length=0}function Ae(t){this.element=t,this.times=[]}eo(Ae.prototype,m.prototype,{pipe:function(t){this.stream=t,this.element.addEventListener("scroll",this,no)},handleEvent:function(t){let e=t.timeStamp/1e3;this.times.push(e),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(oo,it()*1e3,this,t)},stop:function(){this.element.removeEventListener("scroll",this),m.prototype.stop.apply(this,arguments)}});function kt(t){return new g(new Ae(t))}function ro(t,e,n){let o=n.length,r=-1/0;for(;o--;){let l=T(n[o]),p=l.x+l.width;r=p>r?p:r}let i=T(e),s=getComputedStyle(t),u=A(s.paddingLeft||0),f=A(s.paddingRight||0);return u+f+r-i.x}function io(t,e,n){let o=ro(t,e,n);t.style.setProperty("--scroll-width",o+"px")}function so(t){return!t.dataset.slideIndex}var Ce={construct:function(t){let e=b("slot",{part:"slides"}),n=b("div",{class:"scroller",children:[e]}),o=b("nav",{part:"controls",children:[b("slot",{name:"controls"})]});t.append(n,o);let r=g.of(),i=g.combine({host:r,elements:x("slotchange",e).map(c=>a.elements=e.assignedElements())}).broadcast({memory:!0}),s=i.map(c=>{let E=c.elements.filter(so);return Zt(a.children,E)?void 0:a.children=E}).broadcast({memory:!0}),u=g.of(null),f=g.of(),l=f.filter(c=>a.active!==c&&Lt("slide-active",c)).map(c=>a.active=c).broadcast({memory:!0,hot:!0}),p=x("click",t).filter(fe).broadcast(),a=this[d]={clickSuppressTime:-1/0,host:this,style:window.getComputedStyle(this),scroller:n,slides:e,controls:o,load:r,views:u,activations:f,actives:l,slotchanges:i,mutations:s,clicks:p};g.merge(i,x("resize",window)).each(c=>io(n,e,a.elements)),g.combine({children:s,child:u}).map(c=>!a.active||a.active===c.child?B(n,c.children.includes(c.child)?c.child:c.children[0]):(Te(n,c.child),c.child.dataset.slideIndex?c.children[c.child.dataset.slideIndex]:c.child)).pipe(f),kt(n).filter(()=>!a.gesturing).each(c=>Fe(a)),Tt({threshold:"0.25rem",device:"mouse"},t).filter(()=>a.children.length>1).each(c=>{a.pointers=c,c.reduce(Oe,a)}),p.each(c=>{c.timeStamp-a.clickSuppressTime<120&&(c.preventDefault(),c.stopPropagation())}),x("fullscreenchange",window).each(c=>{(c.target===this||c.target.contains(this))&&B(n,a.active)}),x("focusin",this).map(c=>a.children.indexOf(c.target)!==-1?c.target:a.children.find(E=>E.contains(c.target))).pipe(u),x("keydown",this).filter(()=>document.activeElement===this||this.contains(document.activeElement)).map(y(H("keyCode"),{37:c=>(c.preventDefault(),a.elements[a.elements.indexOf(a.active)-1]),39:c=>(c.preventDefault(),a.elements[a.elements.indexOf(a.active)+1]),default:v})).pipe(u)},load:function(t){this[d].load.push(this)}};function st(t,e){function n(o,r){if(t.getState(o)!==r)return t[r?"enable":"disable"](o)}return{attribute:function(o){return n(this,o!==null)},set:function(o){return n(this,!!o)},get:function(){return t.getState(this)}}}function Pt(t,e){t.remove&&t.remove(e);let n;for(;(n=t.indexOf(e))!==-1;)t.splice(n,1);return e}var ls=w(Pt,!0);var co=Object.assign;function W(t,e){this.element=t,this.definitions=e,this.tokens=[]}co(W.prototype,{contains:function(t){return this.tokens.includes(t)},add:function(){let t=arguments.length;for(;t--;){let e=arguments[t];!this.tokens.includes(e)&&this.definitions[e]&&(this.definitions[e].enable(this.element),this.tokens.push(e))}},remove:function(){let t=arguments.length;for(;t--;){let e=arguments[t];this.tokens.includes(e)&&(this.definitions[e].disable(this.element),Pt(this.tokens,e))}},supports:function(t){return!!this.definitions[t]}});var uo=Array.prototype;function lo(t,e){let n=t.tokens.slice(),o=uo.slice.apply(e),r=n.length;for(;r--;)o.includes(n[r])&&n.splice(r,1);t.remove.apply(t,n),t.add.apply(t,o)}function Ft(t){let e=Symbol("TokenList");function n(o,r){let i=o[e]||(o[e]=new W(o,t));lo(i,r.trim().split(/\s+/))}return{attribute:function(o){n(this,o||"")},set:function(o){n(this,o+"")},get:function(){return this[e]||(this[e]=new W(this,t))}}}var Ot={};G(Ot,{disable:()=>ho,enable:()=>mo,getState:()=>go});var ao=J({s:S,ms:t=>t/1e3});function po(t){let{active:e,children:n,elements:o,host:r}=t,i=o.indexOf(e),s=o[i+1]||n[0];t.autoplay.timer=null,!!s&&(r.active=s)}function fo(t){let{active:e,style:n}=t,o=ao(window.getComputedStyle(e).getPropertyValue("--slide-duration")||n.getPropertyValue("--slide-duration"));clearTimeout(t.autoplay.timer),t.autoplay.timer=setTimeout(po,o*1e3,t)}function Ie(t){clearTimeout(t.autoplay.timer),t.autoplay.timer=null}function mo(t){let e=t[d],{actives:n}=e,o=e.autoplay={},r=g.merge([!1],x("pointerenter pointerleave",t).map(s=>s.type==="pointerenter")),i=g.merge([t.contains(document.activeElement)],x("focusin focusout",t).map(y(H("type"),{focusin:s=>!0,focusout:s=>t.contains(s.relatedTarget)}))).map((s=>u=>s===u?void 0:s=u)());o.updates=g.combine({active:n,hover:r,focus:i}).each(s=>s.hover||s.focus?Ie(e):fo(e))}function ho(t){let e=t[d];Ie(e),e.autoplay.updates.stop(),e.autoplay=void 0}function go(t){return!!t[d].autoplay}var At={};G(At,{disable:()=>yo,enable:()=>vo,getState:()=>bo});function je(t,e){let n=t.cloneNode(!0);return n.dataset.slideIndex=e,n.removeAttribute("id"),n.setAttribute("aria-hidden","true"),n.tabIndex="-1",n}function wo(t){let{active:e,children:n,host:o,scroller:r}=t;if(t.loop.prepends&&(t.loop.prepends.forEach(c=>c.remove()),t.loop.appends.forEach(c=>c.remove()),t.loop.prepends=void 0,t.loop.appends=void 0),n.length<2){t.elements=t.slides.assignedElements();return}let i=o.clientWidth,s=n.map(T),u=s[1].left,f=s[s.length-2].right,l=1;for(;s[++l]&&s[l].leftf-i;);let a=n.slice(++l).map((c,E)=>je(c,l+E));o.prepend.apply(o,a),o.append.apply(o,p),t.loop.prepends=a,t.loop.appends=p,t.elements=t.slides.assignedElements(),B(r,e||n[0])}function vo(t){let e=t[d],{mutations:n}=e,o=e.loop={};o.renders=n.each(r=>wo(e))}function yo(t){let e=t[d];e.loop&&(e.loop.prepends&&e.loop.prepends.forEach(n=>n.remove()),e.loop.appends&&e.loop.appends.forEach(n=>n.remove()),e.loop.renders.stop(),e.loop=void 0)}function bo(t){return!!t[d].loop}var Ct={};G(Ct,{disable:()=>Eo,enable:()=>xo,getState:()=>So});function C(t){if(typeof t!="object"||arguments.length>1)throw new Error("delegate() now takes an object of selector:fn pairs.");let e=Object.keys(t);return function(o){let r=o.target,i=-1;for(;e[++i];){let s=r.closest(e[i]);if(s)return t[e[i]](s,...arguments)}}}function He(t,e,n,o){o===0?t.hidden=!0:t.hidden=!1,o===n.length-1?e.hidden=!0:e.hidden=!1}function xo(t){let e=t[d],{actives:n,clicks:o,slotchanges:r}=e,i=e.navigation={prev:b("button",{part:"prev-button",type:"button",name:"navigation",value:"-1",html:"Previous"}),next:b("button",{part:"next-button",type:"button",name:"navigation",value:"1",html:"Next"})};e.controls.prepend(i.prev,i.next),i.updates=g.combine({active:n,changes:r}).each(s=>He(i.prev,i.next,s.changes.elements,s.changes.elements.indexOf(s.active))),i.clicks=o.each(C({'[name="navigation"]':function(s,u){let f=parseFloat(s.value),l=e.elements.indexOf(e.active)+f,p=e.elements[l];!p||(t.active=p,He(i.prev,i.next,e.elements,l))}}))}function Eo(t){let e=t[d];e.navigation.prev.remove(),e.navigation.next.remove(),e.navigation.updates.stop(),e.navigation.clicks.stop(),e.navigation=void 0}function So(t){return!!t[d].navigation}var It={};G(It,{disable:()=>ko,enable:()=>Lo,getState:()=>Po});function Me(t,e,n){let{active:o,buttons:r,index:i}=t;if(o===n)return;i>-1&&(t.activeSpan.remove(),r.children[i].part.remove("page-button-active"));let s=e.indexOf(n);s!==-1&&(r.children[s].part.add("page-button-active"),r.children[s].append(t.activeSpan),t.index=s,t.active=n)}function To(t,e,n,o){return e.buttons&&(e.buttons.remove(),e.buttons=void 0),o.length<2||(e.buttons=b("div",{part:"pagination",children:o.map((r,i)=>b("button",{part:"page-button",type:"button",name:"pagination",value:i}))}),t.append(e.buttons)),o.length}function Lo(t){let e=t[d],{shadow:n,actives:o,clicks:r,mutations:i}=e,s=e.pagination={activeSpan:b("span",{class:"invisible",text:"(Current slide)"})};s.mutations=i.each(()=>To(e.controls,s,n,e.children)),s.updates=g.combine({active:o,children:i}).filter(u=>u.children.length>1).each(u=>Me(s,e.children,e.active)),s.clicks=r.each(C({'[name="pagination"]':function(u,f){let{host:l}=e,p=e.children,a=p[u.value];!a||(l.active=a,Me(s,p,a))}}))}function ko(t){let e=t[d];e.pagination.buttons.remove(),e.pagination.mutations.stop(),e.pagination.updates.stop(),e.pagination.clicks.stop(),e.pagination=void 0}function Po(t){return!!t[d].pagination}var jt={};G(jt,{disable:()=>Oo,enable:()=>Fo,getState:()=>Ao});var De=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled;function ct(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}function Be(t){return t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():void 0}function ut(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}function Fo(t){let e=t[d];if(!De)return;let n=e.fullscreen={button:b("button",{part:"fullscreen-button",type:"button",name:"fullscreen",html:"Open in fullscreen"})};e.controls.append(n.button),n.changes=x("fullscreenchange",t).filter(o=>ct()===t).each(o=>{n.button.part.add("fullscreen-button-active"),n.button.innerHTML="Close fullscreen",document.activeElement!==t&&(n.tabIndex=t.tabIndex,t.tabIndex<0&&(t.tabIndex=0),t.focus());let r=x("fullscreenchange",t).each(i=>{n.button.part.remove("fullscreen-button-active"),n.button.innerHTML="Open in fullscreen",t.tabIndex=n.tabIndex,n.tabIndex=void 0,r.stop()})}),n.clicks=e.clicks.each(C({'[name="fullscreen"]':(o,r)=>{let i=ct();if(i===t){ut();return}i&&ut(),Be(t)}}))}function Oo(t){let e=t[d];ct()===t&&ut(),e.fullscreen.button.remove(),e.fullscreen.clicks.stop(),e.fullscreen.changes.stop(),e.fullscreen=void 0}function Ao(t){return!!t[d].fullscreen}var Ge={active:{attribute:function(t){this.active=t},set:function(t){let e=this[d],n=typeof t=="object"?t:/^\d/.test(t+"")?this.querySelector("#\\3"+(t+"")[0]+" "+(t+"").slice(1)):/^\#/.test(t+"")?this.querySelector(t):this.querySelector("#"+t);if(!n)throw new Error("Cannot set active – not a child of slide-show");e.views.push(n)},get:function(){return this[d].active}},autoplay:st(Ot,"autoplay"),controls:Ft({navigation:Ct,pagination:It,fullscreen:jt}),loop:st(At,"loop")};var Co=import.meta.url.replace(/\/[^\/]*\.js/,"/slide-show-shadow.css"),Qs=wt('
',Ce,Ge,Co);export{Qs as default}; +var qe=Object.defineProperty;var Dt=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var Bt=(t,e)=>{var n={};for(var o in t)We.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Dt)for(var o of Dt(t))e.indexOf(o)<0&&$e.call(t,o)&&(n[o]=t[o]);return n};var z=(t,e)=>{for(var n in e)qe(t,n,{get:e[n],enumerable:!0})};function N(t){var e=new Map;return function(o){if(e.has(o))return e.get(o);var r=t(o);return e.set(o,r),r}}var Ne=Array.prototype;function Xe(t,e){return typeof t=="function"?t.apply(null,e):t}function Gt(t,e,n){n=n||t.length;var o=n===1?e?t:N(t):N(function(r){return Gt(function(){var i=[r];return i.push.apply(i,arguments),t.apply(null,i)},e,n-1)});return function r(i){return arguments.length===0?r:arguments.length===1?o(i):arguments.length>=n?t.apply(null,arguments):Xe(o(i),Ne.slice.call(arguments,1))}}var v=Gt;function Ye(t,e){return 1-Math.pow(1-e,t)}var zt=v(Ye);function y(){}function pt(t,e){return e(t)}function S(t){return t}var Ke=Array.prototype;function ft(){let t=arguments;return t.length?e=>Ke.reduce.call(t,pt,e):S}function dt(t,e,n){return n*(e-t)+t}var Ze=window.performance,_t=window.requestAnimationFrame,Qe=window.cancelAnimationFrame;function mt(t,e,n){var o=Ze.now();function r(s){var a=(s-o)/(t*1e3);a<1?(a>0&&e(a),i=_t(r)):(e(1),n&&n())}var i=_t(r);return function(){Qe(i)}}function X(t,e,n,o,r,i){let s=o[n];return mt(t,ft(e,a=>dt(s,r,a),a=>o[n]=a),i)}function Je(){return{x:0,y:0,left:0,top:0,right:window.innerWidth,bottom:window.innerHeight,width:window.innerWidth,height:window.innerHeight}}function T(t){return t===window?Je():t.getClientRects()[0]||t.getBoundingClientRect()}var M={scrollDuration:.3,scrollDurationPerHeight:.125,scrollTransform:zt(3)},Rt=y;function tn(t,e){if(e.behavior==="smooth"){let n=t.style.getPropertyValue("scroll-snap-type"),o=()=>{let r=t.scrollLeft,i=t.scrollTop;t.style.setProperty("scroll-snap-type",n),t.scrollLeft=r,t.scrollTop=i};if(t.style.setProperty("scroll-snap-type","none"),e.left!==void 0){let r=t===document.body?window.innerWidth:T(t).width,i=M.scrollDuration+M.scrollDurationPerHeight*Math.abs(e.left-t.scrollLeft)/r;Rt=X(i,M.scrollTransform,"scrollLeft",t,e.left,o)}else{let r=t===document.body?window.innerHeight:T(t).height,i=M.scrollDuration+M.scrollDurationPerHeight*Math.abs(e.top-t.scrollTop)/r;Rt=X(i,M.scrollTransform,"scrollTop",t,e.top,o)}}else e.left!==void 0&&(t.scrollLeft=e.left),e.top!==void 0&&(t.scrollTop=e.top)}if(!("scrollBehavior"in document.documentElement.style)){window.console&&console.log("Polyfilling Element.scrollTo(options)");let t="scrollTo"in Element.prototype?Element:HTMLElement,e=t.scrollIntoView;t.prototype.scrollTo=function(n){typeof n=="object"?tn(this,n):e.apply(this,arguments)}}function b(t,e){return function(){let o=t.apply(this,arguments),r=e[o]||e.default;if(!r)throw new Error('overload() no handler for "'+o+'"');return r.apply(this,arguments)}}var en=b(S,{is:y,tag:y,html:function(t,e,n){e.innerHTML=n},text:function(t,e,n){e.textContent=n},children:function(t,e,n){e.innerHTML="",n.forEach(o=>{e.appendChild(o)})},points:D,cx:D,cy:D,r:D,preserveAspectRatio:D,viewBox:D,default:function(t,e,n){t in e?e[t]=n:e.setAttribute(t,n)}});function D(t,e,n){e.setAttribute(t,n)}function nn(t,e){for(var n=Object.keys(e),o=n.length;o--;)en(n[o],t,e[n[o]]);return t}var ht=v(nn,!0);var on="http://www.w3.org/2000/svg",Ut=document.createElement("div");var Vt=(t,e)=>e&&typeof e;function qt(t,e){let n=document.createRange();return n.selectNode(t),n.createContextualFragment(e)}function L(t,e){var n=document.createElementNS(on,t);return e&&(n.innerHTML=e),n}var rn=b(S,{comment:function(t,e){return document.createComment(e||"")},fragment:b(Vt,{string:function(t,e,n){if(n)return qt(n,e);let o=document.createDocumentFragment();Ut.innerHTML=e;let r=Ut.childNodes;for(;r[0];)o.appendChild(r[0]);return o},object:function(t,e,n){let o=n?qt(n):document.createDocumentFragment();return typeof e.length=="number"?o.append.apply(o,e):ht(o,e),o},default:()=>document.createDocumentFragment()}),text:function(t,e){return document.createTextNode(e||"")},circle:L,ellipse:L,g:L,glyph:L,image:L,line:L,rect:L,use:L,path:L,pattern:L,polygon:L,polyline:L,svg:L,default:b(Vt,{string:function(t,e){let n=document.createElement(t);return n.innerHTML=e,n},object:function(t,e){let n=document.createElement(t);return typeof e.length=="number"?n.append.apply(n,e):ht(n,e),n},default:t=>{if(typeof t!="string")throw new Error('create(tag, content) accepts only a string as tag "'+typeof t+'"');return document.createElement(t)}})}),x=rn;function gt(t,e,n){let o;typeof n!="string"&&n.input!==void 0&&n.index!==void 0&&(o=n,n=o.input.slice(n.index+n[0].length+(n.consumed||0)));let r=t.exec(n);if(!r)return;let i=e(r);return o&&(o.consumed=(o.consumed||0)+r.index+r[0].length+(r.consumed||0)),i}var fr=v(gt,!0);function sn(t,e,n){throw n.input!==void 0&&n.index!==void 0&&(n=n.input),new Error('Cannot parse string "'+n+'"')}function cn(t,e,n){let o=-1;for(;++ocn(e,n,i),o);return r===void 0?e.catch?e.catch(n,o):sn(t,e,o):r}var Wt=v(un,!0);var wt=y;var k=Symbol("internals"),A=Symbol("shadow"),$t=Object.defineProperties,ln={a:HTMLAnchorElement,dl:HTMLDListElement,p:HTMLParagraphElement,br:HTMLBRElement,fieldset:HTMLFieldSetElement,hr:HTMLHRElement,img:HTMLImageElement,li:HTMLLIElement,ol:HTMLOListElement,optgroup:HTMLOptGroupElement,q:HTMLQuoteElement,textarea:HTMLTextAreaElement,td:HTMLTableCellElement,th:HTMLTableCellElement,tr:HTMLTableRowElement,tbody:HTMLTableSectionElement,thead:HTMLTableSectionElement,tfoot:HTMLTableSectionElement,ul:HTMLUListElement},an={name:{set:function(t){return this.setAttribute("name",t)},get:function(){return this.getAttribute("name")||""}},form:{get:function(){return this[k].form}},labels:{get:function(){return this[k].labels}},validity:{get:function(){return this[k].validity}},validationMessage:{get:function(){return this[k].validationMessage}},willValidate:{get:function(){return this[k].willValidate}},checkValidity:{value:function(){return this[k].checkValidity()}},reportValidity:{value:function(){return this[k].reportValidity()}}},pn={},Nt={once:!0},fn=0,Xt=!1;function dn(t){return ln[t]||window["HTML"+t[0].toUpperCase()+t.slice(1)+"Element"]||(()=>{throw new Error('Constructor not found for tag "'+t+'"')})()}var mn=Wt(/^\s*?\s*$|^\s*?\s*$/,{1:(t,e)=>({name:e[1]}),2:(t,e)=>({name:e[3],tag:e[2]}),catch:function(t,e){throw new SyntaxError(`dom element() – name must be of the form 'element-name' or 'tag is="element-name"' (`+e+")")}},null);function hn(t,e){if(t.hasOwnProperty(e)){let n=t[e];delete t[e],t[e]=n}return t}function gn(t,e,n){t._initialLoad=!0;let o=t.attachShadow({mode:e.mode||"closed",delegatesFocus:e.focusable||!1});if(n){let r=x("link",{rel:"stylesheet",href:n});o.append(r)}return t[A]=o,o}function wn(t){var e;if(t.attachInternals){if(e=t.attachInternals(),e.setFormValue)return e}else e={shadowRoot:t.shadowRoot};return e.input=x("input",{type:"hidden",name:t.name}),t.appendChild(e.input),e.setFormValue=function(n){this.input.value=n},e}function vn(t){t._initialAttributes={},t._n=0}function yn(t,e,n){let o=t._initialAttributes;for(;t._nfn?gn(p,e,o||e.stylesheet):void 0,u=l.formAssociated&&wn(p);return i&&(Xt=!0),e.construct&&e.construct.call(p,g,u),a&&(vn(p),Promise.resolve(1).then(function(){Yt(p,l.observedAttributes,a)})),f&&Object.keys(f).reduce(hn,p),p}return l.prototype=Object.create(s.prototype,f),f&&f.value&&(l.formAssociated=!0,$t(l.prototype,an),(e.enable||e.disable)&&(l.prototype.formDisabledCallback=function(p){return p?e.disable&&e.disable.call(this,this[A],this[k]):e.enable&&e.enable.call(this,this[A],this[k])}),e.reset&&(l.prototype.formResetCallback=function(){return e.reset.call(this,this[A],this[k])}),e.restore&&(l.prototype.formStateRestoreCallback=function(){return e.restore.call(this,this[A],this[k])})),a&&(l.observedAttributes=Object.keys(a),l.prototype.attributeChangedCallback=function(p,g,u){if(!this._initialAttributes)return a[p].call(this,u);this._initialAttributes[p]=u,yn(this,l.observedAttributes,a)}),l.prototype.connectedCallback=function(){let p=this,g=p[A],u=p[k];if(p._initialAttributes&&Yt(p,l.observedAttributes,a),p._initialLoad){let c=g.querySelectorAll('link[rel="stylesheet"]');if(c.length){let H=0,at=c.length,Mt=function(Ue){++H>=c.length&&(delete p._initialLoad,e.load&&(wt("element()","loaded",Array.from(c).map(Ve=>Ve.href).join(` +`)),e.load.call(p,g)))},_e=Mt;for(;at--;)c[at].addEventListener("load",Mt,Nt),c[at].addEventListener("error",_e,Nt);e.connect&&e.connect.call(this,g,u)}else e.connect&&e.connect.call(this,g,u),e.load&&e.load.call(this,g,u)}else e.connect&&e.connect.call(this,g,u)},e.disconnect&&(l.prototype.disconnectedCallback=function(){return e.disconnect.call(this,this[A],this[k])}),wt("element()","<"+(i?i+" is="+r:r)+">"),window.customElements.define(r,l,i&&{extends:i}),i&&!Xt&&document.querySelectorAll('[is="'+r+'"]').forEach(p=>{$t(p,f),e.construct&&e.construct.apply(p);let g;for(g in a){let u=p.attributes[g];u&&a[g].call(p,u.value)}e.connect&&e.connect.apply(p)}),l}function Zt(t,e){if(t===e)return!0;if(t===null||e===null||typeof t!="object"||typeof e!="object")return!1;let n=Object.keys(t),o=Object.keys(e),r=n.length;for(;r--;){if(t[n[r]]===void 0){if(e[n[r]]!==void 0)return!1}else if(!e.hasOwnProperty(n[r])||!Zt(t[n[r]],e[n[r]]))return!1;let i=o.indexOf(n[r]);i>-1&&o.splice(i,1)}for(r=o.length;r--;)if(e[o[r]]===void 0){if(t[o[r]]!==void 0)return!1}else return!1;return!0}var Qt=v(Zt,!0);function En(t,e){return e[t]}var B=v(En,!0);var Sn=Object.freeze;function Jt(){return this}var P=Sn({shift:y,push:y,forEach:y,join:function(){return""},map:Jt,filter:Jt,includes:function(){return!1},reduce:function(t,e){return e},length:0,each:y,pipe:S,start:y,stop:y,done:y,valueOf:function(){return null}});function yt(){return this}function bt(t){return t&&t[Symbol.iterator]}var Tn=Object.assign;function Ln(t){return t.stop?t.stop():t()}function kn(t){t.forEach(Ln),t.length=0}function G(){}Tn(G.prototype,{stop:function(){return this.stopables&&kn(this.stopables),this},done:function(e){return(this.stopables||(this.stopables=[])).push(e),this}});var Pn=Object.assign;function Y(t){G.prototype.stop.apply(t);let e=-1,n;for(;n=t[++e];)t[e]=void 0,Y(n)}function m(){}Pn(m.prototype,{pipe:function(t){return this[0]=t,t},stop:function(){return Y(this[0]),this}});var F=Object.assign,O=Object.create;function _(t,e){e!==void 0&&t[0].push(e)}function Fn(t,e){if(t[1]){let n=-1;for(;t[++n]&&t[n]!==e;);for(;t[n++];)t[n-1]=t[n];Y(e)}else t.stop()}function w(t){this.input=t}F(w.prototype,G.prototype,{push:function(t){_(this,t)},pipe:function(t){if(this[0])throw new Error("Stream: Attempt to .pipe() a unicast stream multiple times. Create a multicast stream with stream.broadcast().");return this[0]=t,this.input.pipe(this),t},map:function(t){return new te(this,t)},filter:function(t){return new ee(this,t)},chunk:function(t){return new oe(this,t)},flatMap:function(t){return new ne(this,t)},take:function(t){return new re(this,t)},each:function(t){return new ce(this,t)},reduce:function(t,e){return new ie(this,t,e)},scan:function(t,e){return new se(this,t,e)},stop:function(){return Fn(this.input,this),this}});function te(t,e){this.input=t,this.fn=e}te.prototype=F(O(w.prototype),{push:function(e){let n=this.fn;_(this,n(e))}});function ee(t,e){this.input=t,this.fn=e}ee.prototype=F(O(w.prototype),{push:function(e){this.fn(e)&&_(this,e)}});function ne(t,e){this.input=t,this.fn=e}ne.prototype=F(O(w.prototype),{push:function(e){let o=this.fn(e);if(o!==void 0)if(bt(o))for(let r of o)_(this,r);else throw new Error("Stream: Cannot .flatMap() non-iterable values")}});function oe(t,e){this.input=t,this.chunk=[],typeof e=="number"?this.n=e:typeof e=="function"&&(this.fn=e)}oe.prototype=F(O(w.prototype),{fn:function(t){return t.length===this.n},push:function(e){let n=this.chunk;n.push(e),this.fn(n)&&(_(this,n),this.chunk=[])}});function re(t,e){this.input=t,this.count=e}re.prototype=F(O(w.prototype),{push:function(e){this[0].push(e),--this.count||this.stop()}});function ie(t,e,n){return this.input=t,this.fn=e,this.value=n,this.i=0,t.pipe(this),n}ie.prototype=F(O(w.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t,this.i++,this)}});function se(t,e,n){this.input=t,this.fn=e,this.value=n}se.prototype=F(O(w.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t),this[0].push(this.value)}});function ce(t,e){this.input=t,this.push=e,t.pipe(this)}ce.prototype=F(O(w.prototype),{each:null,reduce:null,pipe:null});var On=Array.prototype,An=Object.assign,Cn=Object.create;function R(t){this.buffer=t||[]}R.prototype=An(Cn(w.prototype),m.prototype,{push:function(t){t!==void 0&&this.buffer.push(t)},pipe:function(t){for(this[0]=t;this.buffer.length;)this[0].push(On.shift.apply(this.buffer));return this.buffer=this[0],t}});var In=Object.assign,jn=Object.create;function U(t,e){this.input=t,this.memory=!!(e&&e.memory),e&&e.hot&&this.pipe(P)}U.prototype=In(jn(w.prototype),{push:function(t){if(t!==void 0){this.memory&&(this.value=t);let e=-1;for(;this[++e];)this[e].push(t)}},pipe:function(t){let e=-1;for(;this[++e];);return this[e]=t,this.value!==void 0&&t.push(this.value),e===0&&this.input.pipe(this),t}});var Hn=Object.assign;function K(t){this.promise=t}Hn(K.prototype,m.prototype,{pipe:function(t){let e=this.promise;this[0]=t,e.then(n=>this[0].push(n)).finally(n=>this.stop())},stop:function(){m.prototype.stop.apply(this,arguments),this[0]=P}});var le=Object.assign,ae=Object.keys;function ue(t,e,n){let o=t.values,r=t.names,i=t[0];o[e]=n,(t.active||(t.active=ae(o).length===r.length))&&i.push(le({},o))}function Z(t){this.inputs=t,this.active=!1}le(Z.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this.values={},this.names=ae(e),this[0]=t;for(let n in e){let o=e[n];o.pipe?t.done(o.each(r=>ue(this,n,r))):o.then?o.then(r=>ue(this,n,r)):console.log("Todo: combine() raw values ?")}}});var Mn=Object.assign;function Q(t){this.inputs=t}Mn(Q.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this[0]=t;let n=-1,o;for(;o=e[++n];)if(o.pipe)o.pipe(t);else if(o.then)o.then(r=>t.push(r));else{let r=-1;for(;++r0}function Gn(t,e,n){return t[n]=e.shift(),t}function zn(t){return[]}function xt(t,e,n,o){n.push(o),e.every(Bn)&&t.push(e.reduce(Gn,{}))}function J(t){this.inputs=t,this.buffers=Et.map.call(t,zn)}Dn(J.prototype,m.prototype,{pipe:function(t){let e=this.inputs,n=this.buffers;this[0]=t,Et.forEach.call(e,(o,r)=>{let i=n[r];o.each?t.done(o.each(s=>xt(t,n,i,s))):o.then?o.then(s=>xt(t,n,i,s)):Et.forEach.call(o,s=>xt(t,n,i,s))})},stop:function(){let t=this.inputs,e=-1,n;for(;n=t[++e];)n.stop();return m.prototype.stop.apply(this,arguments)}});var _n=Array.prototype,pe=Object.assign;function Rn(t){throw new TypeError("Stream: invalid source object cannot be read into stream")}var h=pe(w,{of:function(){return new R(_n.slice.apply(arguments))},from:function(t){return t.pipe?new w(t):t.then?new w(new K(t)):typeof t.length=="number"?new R(t):Rn(t)},broadcast:function(e){return new U(P,e)},combine:function(e){return new w(new Z(e))},merge:function(){return new w(new Q(arguments))},zip:function(){return new w(new J(arguments))}});pe(w.prototype,{log:yt,broadcast:function(t){return new U(this,t)}});var Un=Object.assign,Vn=/\s+/,fe={fullscreenchange:"fullscreenElement"in document?"fullscreenchange":"webkitFullscreenElement"in document?"webkitfullscreenchange":"fullscreenchange"};function de(t){return t.which===1&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}var me=0;window.addEventListener("click",t=>me=t.timeStamp);function qn(t,e){return t.node.addEventListener(fe[e]||e,t,t.options),t}function Wn(t,e){return t.node.removeEventListener(fe[e]||e,t),t}function he(t,e,n){this.types=t.split(Vn),this.options=e,this.node=n,this.select=e&&e.select}Un(he.prototype,m.prototype,{pipe:function(t){this[0]=t,this.types.reduce(qn,this)},handleEvent:function(t){if(!(t.type==="click"&&t.timeStamp<=me)){if(this.select){let e=t.target.closest(this.select);if(!e)return;t.selectedTarget=e}this[0].push(t)}},stop:function(){this.types.reduce(Wn,this),m.prototype.stop.apply(this,arguments)}});function E(t,e){let n;return typeof t=="object"&&(n=t,t=n.type),new h(new he(t,n,e))}function St(t){return typeof t}var $n=/^\s*([+-]?\d*\.?\d+)([^\s\d]*)\s*$/;function Nn(t,e){if(typeof e=="number")return e;var n=$n.exec(e);if(!n||!t[n[2]||""]){if(!t.catch)throw new Error('Cannot parse value "'+e+'" with provided units '+Object.keys(t).join(", "));return n?t.catch(parseFloat(n[1]),n[2]):t.catch(parseFloat(e))}return t[n[2]||""](parseFloat(n[1]))}var tt=v(Nn);var Xn=/px$/,ge={"transform:translateX":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e);return parseFloat(n[4])},"transform:translateY":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e);return parseFloat(n[5])},"transform:scale":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.sqrt(o*o+r*r)},"transform:rotate":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.atan2(r,o)}};function et(t){return t.split("(")[1].split(")")[0].split(/\s*,\s*/)}function V(t,e){return window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):0}function nt(t,e){if(ge[t])return ge[t](e);var n=V(t,e);return typeof n=="string"&&Xn.test(n)?parseFloat(n):n}var ot,rt;function Yn(){if(!ot){let t=document.documentElement.style.fontSize;document.documentElement.style.fontSize="100%",ot=nt("font-size",document.documentElement),document.documentElement.style.fontSize=t||""}return ot}function Kn(){return rt||(rt=nt("font-size",document.documentElement)),rt}window.addEventListener("resize",()=>{ot=void 0,rt=void 0});var C=b(St,{number:S,string:tt({em:function(t){return Yn()*t},px:function(t){return t},rem:function(t){return Kn()*t},vw:function(t){return window.innerWidth*t/100},vh:function(t){return window.innerHeight*t/100},vmin:function(t){return window.innerWidthn?o:n}n=nW.maxScrollInterval?W.maxScrollInterval:1.4*n}function st(){return be}function Ee(t){let e=T(t),n=window.getComputedStyle(t,null),o=C(n.getPropertyValue("padding-left")),r=C(n.getPropertyValue("padding-right"));return e.leftPadding=e.left+o,e.rightPadding=e.left+e.width-r,e.centrePadding=e.leftPadding+(e.width-o-r)/2,e}function Se(t){let e=window.getComputedStyle(t,null).getPropertyValue("scroll-snap-align");return e.endsWith("start")?"left":e.endsWith("end")?"right":"centre"}function Te(t,e,n){let o=Ee(t),r=T(e),i=Se(e);t.scrollTo({top:t.scrollTop,left:t.scrollLeft+(i==="left"?r.left-o.leftPadding:i==="right"?r.right-o.rightPadding:r.left+r.width/2-o.centrePadding),behavior:n})}function Le(t,e){return Te(t,e,"smooth"),e}function I(t,e){return t.style.setProperty("scroll-behavior","auto","important"),Te(t,e,"auto"),t.style.setProperty("scroll-behavior",""),e}function ke(t,e){let{leftPadding:n,rightPadding:o,centrePadding:r}=Ee(t),i=e.length,s;for(;s=e[--i];){let a=T(s);if(!a)continue;let f=Se(s),l=a.width/2+(f==="left"?n:f==="right"?o:r);if((f==="left"?a.left:f==="right"?a.right:a.left+a.width/2)<=l)break}return s}function Pe(t){return!!t.dataset.slideIndex}function Fe(t){let{scroller:e,elements:n,children:o}=t,r=ke(e,n);return Pe(r)?o[r.dataset.slideIndex]:r}function Oe(t){let{scroller:e,children:n,elements:o}=t,r=ke(e,o),i;!r||(Pe(r)?(i=n[r.dataset.slideIndex],I(e,i)):i=r,t.activations.push(i))}function to(t,e){t.style.setProperty("scroll-snap-type",""),e.stop()}var Ae=b((t,e)=>e.type,{pointerdown:function(t,e){return t.e0=e,t.x0=e.clientX,t.y0=e.clientY,t},pointermove:function(t,e){let n=e.clientX,o=e.clientY;if(!t.gesturing){if(Math.abs(n-t.x0)(clearTimeout(s),setTimeout(to,st()*1e3,n,l)))}return t.gesturing=!1,t.e0=void 0,t.x0=void 0,t.y0=void 0,t.pointers=void 0,t.scrollLeft0=void 0,t}});var eo=Object.assign,no={capture:!0,passive:!0};function oo(t,e){t.timer=void 0,t.stream.push(e);let n=t.times;n.length>1&&xe(n),n.length=0}function Ce(t){this.element=t,this.times=[]}eo(Ce.prototype,m.prototype,{pipe:function(t){this.stream=t,this.element.addEventListener("scroll",this,no)},handleEvent:function(t){let e=t.timeStamp/1e3;this.times.push(e),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(oo,st()*1e3,this,t)},stop:function(){this.element.removeEventListener("scroll",this),m.prototype.stop.apply(this,arguments)}});function Pt(t){return new h(new Ce(t))}function ro(t,e,n){let o=n.length,r=-1/0;for(;o--;){let l=T(n[o]),p=l.x+l.width;r=p>r?p:r}let i=T(e),s=getComputedStyle(t),a=C(s.paddingLeft||0),f=C(s.paddingRight||0);return a+f+r-i.x}function io(t,e,n){let o=ro(t,e,n);t.style.setProperty("--scroll-width",o+"px")}function so(t){return!t.dataset.slideIndex}var Ie={construct:function(t){let e=x("slot",{part:"slides"}),n=x("div",{class:"scroller",children:[e]}),o=x("nav",{part:"controls",children:[x("slot",{name:"controls"})]});t.append(n,o);let r=h.broadcast(),i=h.broadcast(),s=h.combine({host:i,elements:E("slotchange",e).map(c=>u.elements=e.assignedElements())}).broadcast({memory:!0}),a=s.map(c=>{let H=c.elements.filter(so);return Qt(u.children,H)?void 0:u.children=H}).broadcast({memory:!0,hot:!0}),f=h.of(),l=h.of(),p=l.map(c=>c.dataset.slideIndex?u.children[c.dataset.slideIndex]:c).filter(c=>u.active!==c&&kt("slide-active",c)).map(c=>u.active=c).broadcast({memory:!0,hot:!0}),g=E("click",t).filter(de).broadcast(),u=this[d]={clickSuppressTime:-1/0,connected:!1,host:this,style:window.getComputedStyle(this),elements:P,children:P,scroller:n,slides:e,controls:o,connects:r,load:i,views:f,activations:l,actives:p,slotchanges:s,mutations:a,clicks:g};h.merge(s,E("resize",window)).each(c=>io(n,e,u.elements)),h.combine({slotchanges:s,connects:r}).map(c=>u.elements.includes(u.active)?u.active:u.children[0]).map(c=>u.connected?I(n,c):c).pipe(l),h.combine({host:i,child:f}).map(c=>u.elements.includes(c.child)&&u.active!==c.child?c.child:void 0).map(c=>u.connected?u.active?Le(n,c):I(n,c):c).pipe(l),Pt(n).filter(c=>u.connected&&!u.gesturing).each(c=>Oe(u)),Lt({threshold:"0.25rem",device:"mouse"},t).filter(()=>u.children.length>1).each(c=>{u.pointers=c,c.reduce(Ae,u)}),g.each(c=>{c.timeStamp-u.clickSuppressTime<120&&(c.preventDefault(),c.stopPropagation())}),E("fullscreenchange",window).each(c=>{(c.target===this||c.target.contains(this))&&I(n,u.active)}),E("focusin",this).map(c=>u.children.indexOf(c.target)!==-1?c.target:u.children.find(H=>H.contains(c.target))).pipe(f),E("keydown",this).filter(()=>document.activeElement===this||this.contains(document.activeElement)).map(b(B("keyCode"),{37:c=>(c.preventDefault(),u.elements[u.elements.indexOf(u.active)-1]),39:c=>(c.preventDefault(),u.elements[u.elements.indexOf(u.active)+1]),default:y})).pipe(f)},load:function(t){this[d].load.push(this)},connect:function(t){let e=this[d];e.connected=!0,e.connects.push(!0)},disconnect:function(t){let e=this[d];e.connected=!1}};function ct(t,e){function n(o,r){if(t.getState(o)!==r)return t[r?"enable":"disable"](o)}return{attribute:function(o){return n(this,o!==null)},set:function(o){return n(this,!!o)},get:function(){return t.getState(this)}}}function Ft(t,e){t.remove&&t.remove(e);let n;for(;(n=t.indexOf(e))!==-1;)t.splice(n,1);return e}var as=v(Ft,!0);var co=Object.assign;function $(t,e){this.element=t,this.definitions=e,this.tokens=[]}co($.prototype,{contains:function(t){return this.tokens.includes(t)},add:function(){let t=arguments.length;for(;t--;){let e=arguments[t];!this.tokens.includes(e)&&this.definitions[e]&&(this.definitions[e].enable(this.element),this.tokens.push(e))}},remove:function(){let t=arguments.length;for(;t--;){let e=arguments[t];this.tokens.includes(e)&&(this.definitions[e].disable(this.element),Ft(this.tokens,e))}},supports:function(t){return!!this.definitions[t]}});var uo=Array.prototype;function lo(t,e){let n=t.tokens.slice(),o=uo.slice.apply(e),r=n.length;for(;r--;)o.includes(n[r])&&n.splice(r,1);t.remove.apply(t,n),t.add.apply(t,o)}function Ot(t){let e=Symbol("TokenList");function n(o,r){let i=o[e]||(o[e]=new $(o,t));lo(i,r.trim().split(/\s+/))}return{attribute:function(o){n(this,o||"")},set:function(o){n(this,o+"")},get:function(){return this[e]||(this[e]=new $(this,t))}}}var At={};z(At,{disable:()=>ho,enable:()=>mo,getState:()=>go});var ao=tt({s:S,ms:t=>t/1e3});function po(t){let{active:e,children:n,elements:o,host:r}=t,i=o.indexOf(e),s=o[i+1]||n[0];t.autoplay.timer=null,!!s&&(r.active=s)}function fo(t){let{active:e,style:n}=t,o=ao(window.getComputedStyle(e).getPropertyValue("--slide-duration")||n.getPropertyValue("--slide-duration"));clearTimeout(t.autoplay.timer),t.autoplay.timer=setTimeout(po,o*1e3,t)}function je(t){clearTimeout(t.autoplay.timer),t.autoplay.timer=null}function mo(t){let e=t[d],{actives:n}=e,o=e.autoplay={},r=h.merge([!1],E("pointerenter pointerleave",t).map(s=>s.type==="pointerenter")),i=h.merge([t.contains(document.activeElement)],E("focusin focusout",t).map(b(B("type"),{focusin:s=>!0,focusout:s=>t.contains(s.relatedTarget)}))).map((s=>a=>s===a?void 0:s=a)());o.updates=h.combine({active:n,hover:r,focus:i}).each(s=>s.hover||s.focus?je(e):fo(e))}function ho(t){let e=t[d];je(e),e.autoplay.updates.stop(),e.autoplay=void 0}function go(t){return!!t[d].autoplay}var Ct={};z(Ct,{disable:()=>yo,enable:()=>vo,getState:()=>bo});function He(t,e){let n=t.cloneNode(!0);return n.dataset.slideIndex=e,n.removeAttribute("id"),n.setAttribute("aria-hidden","true"),n.tabIndex="-1",n}function wo(t){let{active:e,children:n,host:o,scroller:r}=t;if(t.loop.prepends&&(t.loop.prepends.forEach(u=>u.remove()),t.loop.appends.forEach(u=>u.remove()),t.loop.prepends=void 0,t.loop.appends=void 0),n.length<2){t.elements=t.slides.assignedElements();return}let i=o.clientWidth,s=n.map(T),a=s[1].left,f=s[s.length-2].right,l=1;for(;s[++l]&&s[l].leftf-i;);let g=n.slice(++l).map((u,c)=>He(u,l+c));o.prepend.apply(o,g),o.append.apply(o,p),t.loop.prepends=g,t.loop.appends=p,t.elements=t.slides.assignedElements(),I(r,e||n[0])}function vo(t){let e=t[d],{mutations:n}=e,o=e.loop={};o.renders=n.each(r=>wo(e))}function yo(t){let e=t[d];e.loop&&(e.loop.prepends&&e.loop.prepends.forEach(n=>n.remove()),e.loop.appends&&e.loop.appends.forEach(n=>n.remove()),e.loop.renders.stop(),e.loop=void 0)}function bo(t){return!!t[d].loop}var It={};z(It,{disable:()=>Eo,enable:()=>xo,getState:()=>So});function j(t){if(typeof t!="object"||arguments.length>1)throw new Error("delegate() now takes an object of selector:fn pairs.");let e=Object.keys(t);return function(o){let r=o.target,i=-1;for(;e[++i];){let s=r.closest(e[i]);if(s)return t[e[i]](s,...arguments)}}}function Me(t,e,n,o){o===0?t.hidden=!0:t.hidden=!1,o===n.length-1?e.hidden=!0:e.hidden=!1}function xo(t){let e=t[d],{actives:n,clicks:o,slotchanges:r}=e,i=e.navigation={prev:x("button",{part:"prev-button",type:"button",name:"navigation",value:"-1",html:"Previous"}),next:x("button",{part:"next-button",type:"button",name:"navigation",value:"1",html:"Next"})};e.controls.prepend(i.prev,i.next),i.updates=h.combine({active:n,changes:r}).each(s=>Me(i.prev,i.next,s.changes.elements,s.changes.elements.indexOf(s.active))),i.clicks=o.each(j({'[name="navigation"]':function(s,a){let f=parseFloat(s.value),l=e.elements.indexOf(e.active)+f,p=e.elements[l];!p||(t.active=p,Me(i.prev,i.next,e.elements,l))}}))}function Eo(t){let e=t[d];e.navigation.prev.remove(),e.navigation.next.remove(),e.navigation.updates.stop(),e.navigation.clicks.stop(),e.navigation=void 0}function So(t){return!!t[d].navigation}var jt={};z(jt,{disable:()=>ko,enable:()=>Lo,getState:()=>Po});function De(t,e,n){let{active:o,buttons:r,index:i}=t;if(o===n)return;i>-1&&(t.activeSpan.remove(),r.children[i].part.remove("page-button-active"));let s=e.indexOf(n);s!==-1&&(r.children[s].part.add("page-button-active"),r.children[s].append(t.activeSpan),t.index=s,t.active=n)}function To(t,e,n,o){return e.buttons&&(e.buttons.remove(),e.buttons=void 0),o.length<2||(e.buttons=x("div",{part:"pagination",children:o.map((r,i)=>x("button",{part:"page-button",type:"button",name:"pagination",value:i}))}),t.append(e.buttons)),o.length}function Lo(t){let e=t[d],{shadow:n,actives:o,clicks:r,mutations:i}=e,s=e.pagination={activeSpan:x("span",{class:"invisible",text:"(Current slide)"})};s.mutations=i.each(()=>To(e.controls,s,n,e.children)),s.updates=h.combine({active:o,children:i}).filter(a=>a.children.length>1).each(a=>De(s,e.children,e.active)),s.clicks=r.each(j({'[name="pagination"]':function(a,f){let{host:l}=e,p=e.children,g=p[a.value];!g||(l.active=g,De(s,p,g))}}))}function ko(t){let e=t[d];e.pagination.buttons.remove(),e.pagination.mutations.stop(),e.pagination.updates.stop(),e.pagination.clicks.stop(),e.pagination=void 0}function Po(t){return!!t[d].pagination}var Ht={};z(Ht,{disable:()=>Oo,enable:()=>Fo,getState:()=>Ao});var Be=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled;function ut(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}function Ge(t){return t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():void 0}function lt(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}function Fo(t){let e=t[d];if(!Be)return;let n=e.fullscreen={button:x("button",{part:"fullscreen-button",type:"button",name:"fullscreen",html:"Open in fullscreen"})};e.controls.append(n.button),n.changes=E("fullscreenchange",t).filter(o=>ut()===t).each(o=>{n.button.part.add("fullscreen-button-active"),n.button.innerHTML="Close fullscreen",document.activeElement!==t&&(n.tabIndex=t.tabIndex,t.tabIndex<0&&(t.tabIndex=0),t.focus());let r=E("fullscreenchange",t).each(i=>{n.button.part.remove("fullscreen-button-active"),n.button.innerHTML="Open in fullscreen",t.tabIndex=n.tabIndex,n.tabIndex=void 0,r.stop()})}),n.clicks=e.clicks.each(j({'[name="fullscreen"]':(o,r)=>{let i=ut();if(i===t){lt();return}i&<(),Ge(t)}}))}function Oo(t){let e=t[d];ut()===t&<(),e.fullscreen.button.remove(),e.fullscreen.clicks.stop(),e.fullscreen.changes.stop(),e.fullscreen=void 0}function Ao(t){return!!t[d].fullscreen}var ze={active:{attribute:function(t){this.active=t},set:function(t){let e=this[d],n=typeof t=="object"?t:/^\d/.test(t+"")?this.querySelector("#\\3"+(t+"")[0]+" "+(t+"").slice(1)):/^\#/.test(t+"")?this.querySelector(t):this.querySelector("#"+t);e.views.push(n)},get:function(){return this[d].active}},autoplay:ct(At,"autoplay"),controls:Ot({navigation:It,pagination:jt,fullscreen:Ht}),loop:ct(Ct,"loop")};var Co=import.meta.url.replace(/\/[^\/]*\.js/,"/slide-show-shadow.css"),Js=vt('
',Ie,ze,Co);export{Js as default}; diff --git a/build/slide-show-ol.js b/build/slide-show-ol.js index a00f74b..973c8fe 100644 --- a/build/slide-show-ol.js +++ b/build/slide-show-ol.js @@ -1,7 +1,7 @@ /* slide-show - 1.1.5 + 1.1.6 By Stephen Band - Built 2022-05-16 23:59 */ + Built 2022-05-19 13:25 */ -var qe=Object.defineProperty;var Mt=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var Dt=(t,e)=>{var n={};for(var o in t)We.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Mt)for(var o of Mt(t))e.indexOf(o)<0&&$e.call(t,o)&&(n[o]=t[o]);return n};var G=(t,e)=>{for(var n in e)qe(t,n,{get:e[n],enumerable:!0})};function $(t){var e=new Map;return function(o){if(e.has(o))return e.get(o);var r=t(o);return e.set(o,r),r}}var Ne=Array.prototype;function Xe(t,e){return typeof t=="function"?t.apply(null,e):t}function Bt(t,e,n){n=n||t.length;var o=n===1?e?t:$(t):$(function(r){return Bt(function(){var i=[r];return i.push.apply(i,arguments),t.apply(null,i)},e,n-1)});return function r(i){return arguments.length===0?r:arguments.length===1?o(i):arguments.length>=n?t.apply(null,arguments):Xe(o(i),Ne.slice.call(arguments,1))}}var w=Bt;function Ye(t,e){return 1-Math.pow(1-e,t)}var Gt=w(Ye);function v(){}function at(t,e){return e(t)}function S(t){return t}var Ke=Array.prototype;function pt(){let t=arguments;return t.length?e=>Ke.reduce.call(t,at,e):S}function ft(t,e,n){return n*(e-t)+t}var Ze=window.performance,zt=window.requestAnimationFrame,Qe=window.cancelAnimationFrame;function dt(t,e,n){var o=Ze.now();function r(s){var u=(s-o)/(t*1e3);u<1?(u>0&&e(u),i=zt(r)):(e(1),n&&n())}var i=zt(r);return function(){Qe(i)}}function N(t,e,n,o,r,i){let s=o[n];return dt(t,pt(e,u=>ft(s,r,u),u=>o[n]=u),i)}function Je(){return{x:0,y:0,left:0,top:0,right:window.innerWidth,bottom:window.innerHeight,width:window.innerWidth,height:window.innerHeight}}function T(t){return t===window?Je():t.getClientRects()[0]||t.getBoundingClientRect()}var I={scrollDuration:.3,scrollDurationPerHeight:.125,scrollTransform:Gt(3)},_t=v;function tn(t,e){if(e.behavior==="smooth"){let n=t.style.getPropertyValue("scroll-snap-type"),o=()=>t.style.setProperty("scroll-snap-type",n);if(t.style.setProperty("scroll-snap-type","none"),e.left!==void 0){let r=t===document.body?window.innerWidth:T(t).width,i=I.scrollDuration+I.scrollDurationPerHeight*Math.abs(e.left-t.scrollLeft)/r;_t=N(i,I.scrollTransform,"scrollLeft",t,e.left,o)}else{let r=t===document.body?window.innerHeight:T(t).height,i=I.scrollDuration+I.scrollDurationPerHeight*Math.abs(e.top-t.scrollTop)/r;_t=N(i,I.scrollTransform,"scrollTop",t,e.top,o)}}else e.left!==void 0&&(t.scrollLeft=e.left),e.top!==void 0&&(t.scrollTop=e.top)}if(!("scrollBehavior"in document.documentElement.style)){console.log("Polyfilling Element.scrollTo(options).");let t="scrollTo"in Element.prototype?Element:HTMLElement,e=t.scrollIntoView;t.prototype.scrollTo=function(n){typeof n=="object"?tn(this,n):e.apply(this,arguments)}}function y(t,e){return function(){let o=t.apply(this,arguments),r=e[o]||e.default;if(!r)throw new Error('overload() no handler for "'+o+'"');return r.apply(this,arguments)}}var en=y(S,{is:v,tag:v,html:function(t,e,n){e.innerHTML=n},text:function(t,e,n){e.textContent=n},children:function(t,e,n){e.innerHTML="",n.forEach(o=>{e.appendChild(o)})},points:j,cx:j,cy:j,r:j,preserveAspectRatio:j,viewBox:j,default:function(t,e,n){t in e?e[t]=n:e.setAttribute(t,n)}});function j(t,e,n){e.setAttribute(t,n)}function nn(t,e){for(var n=Object.keys(e),o=n.length;o--;)en(n[o],t,e[n[o]]);return t}var mt=w(nn,!0);var on="http://www.w3.org/2000/svg",Rt=document.createElement("div");var Ut=(t,e)=>e&&typeof e;function Vt(t,e){let n=document.createRange();return n.selectNode(t),n.createContextualFragment(e)}function L(t,e){var n=document.createElementNS(on,t);return e&&(n.innerHTML=e),n}var rn=y(S,{comment:function(t,e){return document.createComment(e||"")},fragment:y(Ut,{string:function(t,e,n){if(n)return Vt(n,e);let o=document.createDocumentFragment();Rt.innerHTML=e;let r=Rt.childNodes;for(;r[0];)o.appendChild(r[0]);return o},object:function(t,e,n){let o=n?Vt(n):document.createDocumentFragment();return typeof e.length=="number"?o.append.apply(o,e):mt(o,e),o},default:()=>document.createDocumentFragment()}),text:function(t,e){return document.createTextNode(e||"")},circle:L,ellipse:L,g:L,glyph:L,image:L,line:L,rect:L,use:L,path:L,pattern:L,polygon:L,polyline:L,svg:L,default:y(Ut,{string:function(t,e){let n=document.createElement(t);return n.innerHTML=e,n},object:function(t,e){let n=document.createElement(t);return typeof e.length=="number"?n.append.apply(n,e):mt(n,e),n},default:t=>{if(typeof t!="string")throw new Error('create(tag, content) accepts only a string as tag "'+typeof t+'"');return document.createElement(t)}})}),b=rn;function ht(t,e,n){let o;typeof n!="string"&&n.input!==void 0&&n.index!==void 0&&(o=n,n=o.input.slice(n.index+n[0].length+(n.consumed||0)));let r=t.exec(n);if(!r)return;let i=e(r);return o&&(o.consumed=(o.consumed||0)+r.index+r[0].length+(r.consumed||0)),i}var fr=w(ht,!0);function sn(t,e,n){throw n.input!==void 0&&n.index!==void 0&&(n=n.input),new Error('Cannot parse string "'+n+'"')}function cn(t,e,n){let o=-1;for(;++ocn(e,n,i),o);return r===void 0?e.catch?e.catch(n,o):sn(t,e,o):r}var qt=w(un,!0);var gt=v;var k=Symbol("internals"),O=Symbol("shadow"),Wt=Object.defineProperties,ln={a:HTMLAnchorElement,dl:HTMLDListElement,p:HTMLParagraphElement,br:HTMLBRElement,fieldset:HTMLFieldSetElement,hr:HTMLHRElement,img:HTMLImageElement,li:HTMLLIElement,ol:HTMLOListElement,optgroup:HTMLOptGroupElement,q:HTMLQuoteElement,textarea:HTMLTextAreaElement,td:HTMLTableCellElement,th:HTMLTableCellElement,tr:HTMLTableRowElement,tbody:HTMLTableSectionElement,thead:HTMLTableSectionElement,tfoot:HTMLTableSectionElement,ul:HTMLUListElement},an={name:{set:function(t){return this.setAttribute("name",t)},get:function(){return this.getAttribute("name")||""}},form:{get:function(){return this[k].form}},labels:{get:function(){return this[k].labels}},validity:{get:function(){return this[k].validity}},validationMessage:{get:function(){return this[k].validationMessage}},willValidate:{get:function(){return this[k].willValidate}},checkValidity:{value:function(){return this[k].checkValidity()}},reportValidity:{value:function(){return this[k].reportValidity()}}},pn={},$t={once:!0},fn=0,Nt=!1;function dn(t){return ln[t]||window["HTML"+t[0].toUpperCase()+t.slice(1)+"Element"]||(()=>{throw new Error('Constructor not found for tag "'+t+'"')})()}var mn=qt(/^\s*?\s*$|^\s*?\s*$/,{1:(t,e)=>({name:e[1]}),2:(t,e)=>({name:e[3],tag:e[2]}),catch:function(t,e){throw new SyntaxError(`dom element() – name must be of the form 'element-name' or 'tag is="element-name"' (`+e+")")}},null);function hn(t,e){if(t.hasOwnProperty(e)){let n=t[e];delete t[e],t[e]=n}return t}function gn(t,e,n){t._initialLoad=!0;let o=t.attachShadow({mode:e.mode||"closed",delegatesFocus:e.focusable||!1});if(n){let r=b("link",{rel:"stylesheet",href:n});o.append(r)}return t[O]=o,o}function wn(t){var e;if(t.attachInternals){if(e=t.attachInternals(),e.setFormValue)return e}else e={shadowRoot:t.shadowRoot};return e.input=b("input",{type:"hidden",name:t.name}),t.appendChild(e.input),e.setFormValue=function(n){this.input.value=n},e}function vn(t){t._initialAttributes={},t._n=0}function yn(t,e,n){let o=t._initialAttributes;for(;t._nfn?gn(p,e,o||e.stylesheet):void 0,c=l.formAssociated&&wn(p);return i&&(Nt=!0),e.construct&&e.construct.call(p,a,c),u&&(vn(p),Promise.resolve(1).then(function(){Xt(p,l.observedAttributes,u)})),f&&Object.keys(f).reduce(hn,p),p}return l.prototype=Object.create(s.prototype,f),f&&f.value&&(l.formAssociated=!0,Wt(l.prototype,an),(e.enable||e.disable)&&(l.prototype.formDisabledCallback=function(p){return p?e.disable&&e.disable.call(this,this[O],this[k]):e.enable&&e.enable.call(this,this[O],this[k])}),e.reset&&(l.prototype.formResetCallback=function(){return e.reset.call(this,this[O],this[k])}),e.restore&&(l.prototype.formStateRestoreCallback=function(){return e.restore.call(this,this[O],this[k])})),u&&(l.observedAttributes=Object.keys(u),l.prototype.attributeChangedCallback=function(p,a,c){if(!this._initialAttributes)return u[p].call(this,c);this._initialAttributes[p]=c,yn(this,l.observedAttributes,u)}),l.prototype.connectedCallback=function(){let p=this,a=p[O],c=p[k];if(p._initialAttributes&&Xt(p,l.observedAttributes,u),p._initialLoad){let E=a.querySelectorAll('link[rel="stylesheet"]');if(E.length){let ze=0,lt=E.length,Ht=function(Ue){++ze>=E.length&&(delete p._initialLoad,e.load&&(gt("element()","loaded",Array.from(E).map(Ve=>Ve.href).join(` -`)),e.load.call(p,a)))},_e=Ht;for(;lt--;)E[lt].addEventListener("load",Ht,$t),E[lt].addEventListener("error",_e,$t);e.connect&&e.connect.call(this,a,c)}else e.connect&&e.connect.call(this,a,c),e.load&&e.load.call(this,a,c)}else e.connect&&e.connect.call(this,a,c)},e.disconnect&&(l.prototype.disconnectedCallback=function(){return e.disconnect.call(this,this[O],this[k])}),gt("element()","<"+(i?i+" is="+r:r)+">"),window.customElements.define(r,l,i&&{extends:i}),i&&!Nt&&document.querySelectorAll('[is="'+r+'"]').forEach(p=>{Wt(p,f),e.construct&&e.construct.apply(p);let a;for(a in u){let c=p.attributes[a];c&&u[a].call(p,c.value)}e.connect&&e.connect.apply(p)}),l}function Kt(t,e){if(t===e)return!0;if(t===null||e===null||typeof t!="object"||typeof e!="object")return!1;let n=Object.keys(t),o=Object.keys(e),r=n.length;for(;r--;){if(t[n[r]]===void 0){if(e[n[r]]!==void 0)return!1}else if(!e.hasOwnProperty(n[r])||!Kt(t[n[r]],e[n[r]]))return!1;let i=o.indexOf(n[r]);i>-1&&o.splice(i,1)}for(r=o.length;r--;)if(e[o[r]]===void 0){if(t[o[r]]!==void 0)return!1}else return!1;return!0}var Zt=w(Kt,!0);function En(t,e){return e[t]}var H=w(En,!0);var Sn=Object.freeze;function Qt(){return this}var M=Sn({shift:v,push:v,forEach:v,join:function(){return""},map:Qt,filter:Qt,reduce:function(t,e){return e},length:0,each:v,pipe:S,start:v,stop:v,done:v,valueOf:function(){return null}});function vt(){return this}function yt(t){return t&&t[Symbol.iterator]}var Tn=Object.assign;function Ln(t){return t.stop?t.stop():t()}function kn(t){t.forEach(Ln),t.length=0}function D(){}Tn(D.prototype,{stop:function(){return this.stopables&&kn(this.stopables),this},done:function(e){return(this.stopables||(this.stopables=[])).push(e),this}});var Pn=Object.assign;function X(t){D.prototype.stop.apply(t);let e=-1,n;for(;n=t[++e];)t[e]=void 0,X(n)}function m(){}Pn(m.prototype,{pipe:function(t){return this[0]=t,t},stop:function(){return X(this[0]),this}});var P=Object.assign,F=Object.create;function z(t,e){e!==void 0&&t[0].push(e)}function Fn(t,e){if(t[1]){let n=-1;for(;t[++n]&&t[n]!==e;);for(;t[n++];)t[n-1]=t[n];X(e)}else t.stop()}function h(t){this.input=t}P(h.prototype,D.prototype,{push:function(t){z(this,t)},pipe:function(t){if(this[0])throw new Error("Stream: Attempt to .pipe() a unicast stream multiple times. Create a multicast stream with stream.broadcast().");return this[0]=t,this.input.pipe(this),t},map:function(t){return new Jt(this,t)},filter:function(t){return new te(this,t)},chunk:function(t){return new ne(this,t)},flatMap:function(t){return new ee(this,t)},take:function(t){return new oe(this,t)},each:function(t){return new se(this,t)},reduce:function(t,e){return new re(this,t,e)},scan:function(t,e){return new ie(this,t,e)},stop:function(){return Fn(this.input,this),this}});function Jt(t,e){this.input=t,this.fn=e}Jt.prototype=P(F(h.prototype),{push:function(e){let n=this.fn;z(this,n(e))}});function te(t,e){this.input=t,this.fn=e}te.prototype=P(F(h.prototype),{push:function(e){this.fn(e)&&z(this,e)}});function ee(t,e){this.input=t,this.fn=e}ee.prototype=P(F(h.prototype),{push:function(e){let o=this.fn(e);if(o!==void 0)if(yt(o))for(let r of o)z(this,r);else throw new Error("Stream: Cannot .flatMap() non-iterable values")}});function ne(t,e){this.input=t,this.chunk=[],typeof e=="number"?this.n=e:typeof e=="function"&&(this.fn=e)}ne.prototype=P(F(h.prototype),{fn:function(t){return t.length===this.n},push:function(e){let n=this.chunk;n.push(e),this.fn(n)&&(z(this,n),this.chunk=[])}});function oe(t,e){this.input=t,this.count=e}oe.prototype=P(F(h.prototype),{push:function(e){this[0].push(e),--this.count||this.stop()}});function re(t,e,n){return this.input=t,this.fn=e,this.value=n,this.i=0,t.pipe(this),n}re.prototype=P(F(h.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t,this.i++,this)}});function ie(t,e,n){this.input=t,this.fn=e,this.value=n}ie.prototype=P(F(h.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t),this[0].push(this.value)}});function se(t,e){this.input=t,this.push=e,t.pipe(this)}se.prototype=P(F(h.prototype),{each:null,reduce:null,pipe:null});var On=Array.prototype,An=Object.assign,Cn=Object.create;function _(t){this.buffer=t||[]}_.prototype=An(Cn(h.prototype),m.prototype,{push:function(t){t!==void 0&&this.buffer.push(t)},pipe:function(t){for(this[0]=t;this.buffer.length;)this[0].push(On.shift.apply(this.buffer));return this.buffer=this[0],t}});var In=Object.assign,jn=Object.create;function R(t,e){this.input=t,this.memory=!!(e&&e.memory),e&&e.hot&&this.pipe(M)}R.prototype=In(jn(h.prototype),{push:function(t){if(t!==void 0){this.memory&&(this.value=t);let e=-1;for(;this[++e];)this[e].push(t)}},pipe:function(t){let e=-1;for(;this[++e];);return this[e]=t,this.value!==void 0&&t.push(this.value),e===0&&this.input.pipe(this),t}});var Hn=Object.assign;function Y(t){this.promise=t}Hn(Y.prototype,m.prototype,{pipe:function(t){let e=this.promise;this[0]=t,e.then(n=>this[0].push(n)).finally(n=>this.stop())},stop:function(){m.prototype.stop.apply(this,arguments),this[0]=M}});var ue=Object.assign,le=Object.keys;function ce(t,e,n){let o=t.values,r=t.names,i=t[0];o[e]=n,(t.active||(t.active=le(o).length===r.length))&&i.push(ue({},o))}function K(t){this.inputs=t,this.active=!1}ue(K.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this.values={},this.names=le(e),this[0]=t;for(let n in e){let o=e[n];o.pipe?t.done(o.each(r=>ce(this,n,r))):o.then?o.then(r=>ce(this,n,r)):console.log("Todo: combine() raw values ?")}}});var Mn=Object.assign;function Z(t){this.inputs=t}Mn(Z.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this[0]=t;let n=-1,o;for(;o=e[++n];)if(o.pipe)o.pipe(t);else if(o.then)o.then(r=>t.push(r));else{let r=-1;for(;++r0}function Gn(t,e,n){return t[n]=e.shift(),t}function zn(t){return[]}function bt(t,e,n,o){n.push(o),e.every(Bn)&&t.push(e.reduce(Gn,{}))}function Q(t){this.inputs=t,this.buffers=xt.map.call(t,zn)}Dn(Q.prototype,m.prototype,{pipe:function(t){let e=this.inputs,n=this.buffers;this[0]=t,xt.forEach.call(e,(o,r)=>{let i=n[r];o.each?t.done(o.each(s=>bt(t,n,i,s))):o.then?o.then(s=>bt(t,n,i,s)):xt.forEach.call(o,s=>bt(t,n,i,s))})},stop:function(){let t=this.inputs,e=-1,n;for(;n=t[++e];)n.stop();return m.prototype.stop.apply(this,arguments)}});var _n=Array.prototype,ae=Object.assign;function Rn(t){throw new TypeError("Stream: invalid source object cannot be read into stream")}var g=ae(h,{of:function(){return new _(_n.slice.apply(arguments))},from:function(t){return t.pipe?new h(t):t.then?new h(new Y(t)):typeof t.length=="number"?new _(t):Rn(t)},broadcast:function(e){return new R(M,e)},combine:function(e){return new h(new K(e))},merge:function(){return new h(new Z(arguments))},zip:function(){return new h(new Q(arguments))}});ae(h.prototype,{log:vt,broadcast:function(t){return new R(this,t)}});var Un=Object.assign,Vn=/\s+/,pe={fullscreenchange:"fullscreenElement"in document?"fullscreenchange":"webkitFullscreenElement"in document?"webkitfullscreenchange":"fullscreenchange"};function fe(t){return t.which===1&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}var de=0;window.addEventListener("click",t=>de=t.timeStamp);function qn(t,e){return t.node.addEventListener(pe[e]||e,t,t.options),t}function Wn(t,e){return t.node.removeEventListener(pe[e]||e,t),t}function me(t,e,n){this.types=t.split(Vn),this.options=e,this.node=n,this.select=e&&e.select}Un(me.prototype,m.prototype,{pipe:function(t){this[0]=t,this.types.reduce(qn,this)},handleEvent:function(t){if(!(t.type==="click"&&t.timeStamp<=de)){if(this.select){let e=t.target.closest(this.select);if(!e)return;t.selectedTarget=e}this[0].push(t)}},stop:function(){this.types.reduce(Wn,this),m.prototype.stop.apply(this,arguments)}});function x(t,e){let n;return typeof t=="object"&&(n=t,t=n.type),new g(new me(t,n,e))}function Et(t){return typeof t}var $n=/^\s*([+-]?\d*\.?\d+)([^\s\d]*)\s*$/;function Nn(t,e){if(typeof e=="number")return e;var n=$n.exec(e);if(!n||!t[n[2]||""]){if(!t.catch)throw new Error('Cannot parse value "'+e+'" with provided units '+Object.keys(t).join(", "));return n?t.catch(parseFloat(n[1]),n[2]):t.catch(parseFloat(e))}return t[n[2]||""](parseFloat(n[1]))}var J=w(Nn);var Xn=/px$/,he={"transform:translateX":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e);return parseFloat(n[4])},"transform:translateY":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e);return parseFloat(n[5])},"transform:scale":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.sqrt(o*o+r*r)},"transform:rotate":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.atan2(r,o)}};function tt(t){return t.split("(")[1].split(")")[0].split(/\s*,\s*/)}function U(t,e){return window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):0}function et(t,e){if(he[t])return he[t](e);var n=U(t,e);return typeof n=="string"&&Xn.test(n)?parseFloat(n):n}var nt,ot;function Yn(){if(!nt){let t=document.documentElement.style.fontSize;document.documentElement.style.fontSize="100%",nt=et("font-size",document.documentElement),document.documentElement.style.fontSize=t||""}return nt}function Kn(){return ot||(ot=et("font-size",document.documentElement)),ot}window.addEventListener("resize",()=>{nt=void 0,ot=void 0});var A=y(Et,{number:S,string:J({em:function(t){return Yn()*t},px:function(t){return t},rem:function(t){return Kn()*t},vw:function(t){return window.innerWidth*t/100},vh:function(t){return window.innerHeight*t/100},vmin:function(t){return window.innerWidthn?o:n}n=nq.maxScrollInterval?q.maxScrollInterval:1.4*n}function it(){return ye}function xe(t){let e=T(t),n=window.getComputedStyle(t,null),o=A(n.getPropertyValue("padding-left")),r=A(n.getPropertyValue("padding-right"));return e.leftPadding=e.left+o,e.rightPadding=e.left+e.width-r,e.centrePadding=e.leftPadding+(e.width-o-r)/2,e}function Ee(t){let e=window.getComputedStyle(t,null).getPropertyValue("scroll-snap-align");return e.endsWith("start")?"left":e.endsWith("end")?"right":"centre"}function Se(t,e,n){let o=xe(t),r=T(e),i=Ee(e);t.scrollTo({top:t.scrollTop,left:t.scrollLeft+(i==="left"?r.left-o.leftPadding:i==="right"?r.right-o.rightPadding:r.left+r.width/2-o.centrePadding),behavior:n})}function Te(t,e){return Se(t,e,"smooth"),e}function B(t,e){return t.style.setProperty("scroll-behavior","auto","important"),Se(t,e,"auto"),t.style.setProperty("scroll-behavior",""),e}function Le(t,e){let{leftPadding:n,rightPadding:o,centrePadding:r}=xe(t),i=e.length,s;for(;s=e[--i];){let u=T(s);if(!u)continue;let f=Ee(s),l=u.width/2+(f==="left"?n:f==="right"?o:r);if((f==="left"?u.left:f==="right"?u.right:u.left+u.width/2)<=l)break}return s}function ke(t){return!!t.dataset.slideIndex}function Pe(t){let{scroller:e,elements:n,children:o}=t,r=Le(e,n);return ke(r)?o[r.dataset.slideIndex]:r}function Fe(t){let{scroller:e,children:n,elements:o}=t,r=Le(e,o),i;!r||(ke(r)?(i=n[r.dataset.slideIndex],B(e,i)):i=r,t.activations.push(i))}function to(t,e){t.style.setProperty("scroll-snap-type",""),e.stop()}var Oe=y((t,e)=>e.type,{pointerdown:function(t,e){return t.e0=e,t.x0=e.clientX,t.y0=e.clientY,t},pointermove:function(t,e){let n=e.clientX,o=e.clientY;if(!t.gesturing){if(Math.abs(n-t.x0)(clearTimeout(s),setTimeout(to,it()*1e3,n,l)))}return t.gesturing=!1,t.e0=void 0,t.x0=void 0,t.y0=void 0,t.pointers=void 0,t.scrollLeft0=void 0,t}});var eo=Object.assign,no={capture:!0,passive:!0};function oo(t,e){t.timer=void 0,t.stream.push(e);let n=t.times;n.length>1&&be(n),n.length=0}function Ae(t){this.element=t,this.times=[]}eo(Ae.prototype,m.prototype,{pipe:function(t){this.stream=t,this.element.addEventListener("scroll",this,no)},handleEvent:function(t){let e=t.timeStamp/1e3;this.times.push(e),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(oo,it()*1e3,this,t)},stop:function(){this.element.removeEventListener("scroll",this),m.prototype.stop.apply(this,arguments)}});function kt(t){return new g(new Ae(t))}function ro(t,e,n){let o=n.length,r=-1/0;for(;o--;){let l=T(n[o]),p=l.x+l.width;r=p>r?p:r}let i=T(e),s=getComputedStyle(t),u=A(s.paddingLeft||0),f=A(s.paddingRight||0);return u+f+r-i.x}function io(t,e,n){let o=ro(t,e,n);t.style.setProperty("--scroll-width",o+"px")}function so(t){return!t.dataset.slideIndex}var Ce={construct:function(t){let e=b("slot",{part:"slides"}),n=b("div",{class:"scroller",children:[e]}),o=b("nav",{part:"controls",children:[b("slot",{name:"controls"})]});t.append(n,o);let r=g.of(),i=g.combine({host:r,elements:x("slotchange",e).map(c=>a.elements=e.assignedElements())}).broadcast({memory:!0}),s=i.map(c=>{let E=c.elements.filter(so);return Zt(a.children,E)?void 0:a.children=E}).broadcast({memory:!0}),u=g.of(null),f=g.of(),l=f.filter(c=>a.active!==c&&Lt("slide-active",c)).map(c=>a.active=c).broadcast({memory:!0,hot:!0}),p=x("click",t).filter(fe).broadcast(),a=this[d]={clickSuppressTime:-1/0,host:this,style:window.getComputedStyle(this),scroller:n,slides:e,controls:o,load:r,views:u,activations:f,actives:l,slotchanges:i,mutations:s,clicks:p};g.merge(i,x("resize",window)).each(c=>io(n,e,a.elements)),g.combine({children:s,child:u}).map(c=>!a.active||a.active===c.child?B(n,c.children.includes(c.child)?c.child:c.children[0]):(Te(n,c.child),c.child.dataset.slideIndex?c.children[c.child.dataset.slideIndex]:c.child)).pipe(f),kt(n).filter(()=>!a.gesturing).each(c=>Fe(a)),Tt({threshold:"0.25rem",device:"mouse"},t).filter(()=>a.children.length>1).each(c=>{a.pointers=c,c.reduce(Oe,a)}),p.each(c=>{c.timeStamp-a.clickSuppressTime<120&&(c.preventDefault(),c.stopPropagation())}),x("fullscreenchange",window).each(c=>{(c.target===this||c.target.contains(this))&&B(n,a.active)}),x("focusin",this).map(c=>a.children.indexOf(c.target)!==-1?c.target:a.children.find(E=>E.contains(c.target))).pipe(u),x("keydown",this).filter(()=>document.activeElement===this||this.contains(document.activeElement)).map(y(H("keyCode"),{37:c=>(c.preventDefault(),a.elements[a.elements.indexOf(a.active)-1]),39:c=>(c.preventDefault(),a.elements[a.elements.indexOf(a.active)+1]),default:v})).pipe(u)},load:function(t){this[d].load.push(this)}};function st(t,e){function n(o,r){if(t.getState(o)!==r)return t[r?"enable":"disable"](o)}return{attribute:function(o){return n(this,o!==null)},set:function(o){return n(this,!!o)},get:function(){return t.getState(this)}}}function Pt(t,e){t.remove&&t.remove(e);let n;for(;(n=t.indexOf(e))!==-1;)t.splice(n,1);return e}var ls=w(Pt,!0);var co=Object.assign;function W(t,e){this.element=t,this.definitions=e,this.tokens=[]}co(W.prototype,{contains:function(t){return this.tokens.includes(t)},add:function(){let t=arguments.length;for(;t--;){let e=arguments[t];!this.tokens.includes(e)&&this.definitions[e]&&(this.definitions[e].enable(this.element),this.tokens.push(e))}},remove:function(){let t=arguments.length;for(;t--;){let e=arguments[t];this.tokens.includes(e)&&(this.definitions[e].disable(this.element),Pt(this.tokens,e))}},supports:function(t){return!!this.definitions[t]}});var uo=Array.prototype;function lo(t,e){let n=t.tokens.slice(),o=uo.slice.apply(e),r=n.length;for(;r--;)o.includes(n[r])&&n.splice(r,1);t.remove.apply(t,n),t.add.apply(t,o)}function Ft(t){let e=Symbol("TokenList");function n(o,r){let i=o[e]||(o[e]=new W(o,t));lo(i,r.trim().split(/\s+/))}return{attribute:function(o){n(this,o||"")},set:function(o){n(this,o+"")},get:function(){return this[e]||(this[e]=new W(this,t))}}}var Ot={};G(Ot,{disable:()=>ho,enable:()=>mo,getState:()=>go});var ao=J({s:S,ms:t=>t/1e3});function po(t){let{active:e,children:n,elements:o,host:r}=t,i=o.indexOf(e),s=o[i+1]||n[0];t.autoplay.timer=null,!!s&&(r.active=s)}function fo(t){let{active:e,style:n}=t,o=ao(window.getComputedStyle(e).getPropertyValue("--slide-duration")||n.getPropertyValue("--slide-duration"));clearTimeout(t.autoplay.timer),t.autoplay.timer=setTimeout(po,o*1e3,t)}function Ie(t){clearTimeout(t.autoplay.timer),t.autoplay.timer=null}function mo(t){let e=t[d],{actives:n}=e,o=e.autoplay={},r=g.merge([!1],x("pointerenter pointerleave",t).map(s=>s.type==="pointerenter")),i=g.merge([t.contains(document.activeElement)],x("focusin focusout",t).map(y(H("type"),{focusin:s=>!0,focusout:s=>t.contains(s.relatedTarget)}))).map((s=>u=>s===u?void 0:s=u)());o.updates=g.combine({active:n,hover:r,focus:i}).each(s=>s.hover||s.focus?Ie(e):fo(e))}function ho(t){let e=t[d];Ie(e),e.autoplay.updates.stop(),e.autoplay=void 0}function go(t){return!!t[d].autoplay}var At={};G(At,{disable:()=>yo,enable:()=>vo,getState:()=>bo});function je(t,e){let n=t.cloneNode(!0);return n.dataset.slideIndex=e,n.removeAttribute("id"),n.setAttribute("aria-hidden","true"),n.tabIndex="-1",n}function wo(t){let{active:e,children:n,host:o,scroller:r}=t;if(t.loop.prepends&&(t.loop.prepends.forEach(c=>c.remove()),t.loop.appends.forEach(c=>c.remove()),t.loop.prepends=void 0,t.loop.appends=void 0),n.length<2){t.elements=t.slides.assignedElements();return}let i=o.clientWidth,s=n.map(T),u=s[1].left,f=s[s.length-2].right,l=1;for(;s[++l]&&s[l].leftf-i;);let a=n.slice(++l).map((c,E)=>je(c,l+E));o.prepend.apply(o,a),o.append.apply(o,p),t.loop.prepends=a,t.loop.appends=p,t.elements=t.slides.assignedElements(),B(r,e||n[0])}function vo(t){let e=t[d],{mutations:n}=e,o=e.loop={};o.renders=n.each(r=>wo(e))}function yo(t){let e=t[d];e.loop&&(e.loop.prepends&&e.loop.prepends.forEach(n=>n.remove()),e.loop.appends&&e.loop.appends.forEach(n=>n.remove()),e.loop.renders.stop(),e.loop=void 0)}function bo(t){return!!t[d].loop}var Ct={};G(Ct,{disable:()=>Eo,enable:()=>xo,getState:()=>So});function C(t){if(typeof t!="object"||arguments.length>1)throw new Error("delegate() now takes an object of selector:fn pairs.");let e=Object.keys(t);return function(o){let r=o.target,i=-1;for(;e[++i];){let s=r.closest(e[i]);if(s)return t[e[i]](s,...arguments)}}}function He(t,e,n,o){o===0?t.hidden=!0:t.hidden=!1,o===n.length-1?e.hidden=!0:e.hidden=!1}function xo(t){let e=t[d],{actives:n,clicks:o,slotchanges:r}=e,i=e.navigation={prev:b("button",{part:"prev-button",type:"button",name:"navigation",value:"-1",html:"Previous"}),next:b("button",{part:"next-button",type:"button",name:"navigation",value:"1",html:"Next"})};e.controls.prepend(i.prev,i.next),i.updates=g.combine({active:n,changes:r}).each(s=>He(i.prev,i.next,s.changes.elements,s.changes.elements.indexOf(s.active))),i.clicks=o.each(C({'[name="navigation"]':function(s,u){let f=parseFloat(s.value),l=e.elements.indexOf(e.active)+f,p=e.elements[l];!p||(t.active=p,He(i.prev,i.next,e.elements,l))}}))}function Eo(t){let e=t[d];e.navigation.prev.remove(),e.navigation.next.remove(),e.navigation.updates.stop(),e.navigation.clicks.stop(),e.navigation=void 0}function So(t){return!!t[d].navigation}var It={};G(It,{disable:()=>ko,enable:()=>Lo,getState:()=>Po});function Me(t,e,n){let{active:o,buttons:r,index:i}=t;if(o===n)return;i>-1&&(t.activeSpan.remove(),r.children[i].part.remove("page-button-active"));let s=e.indexOf(n);s!==-1&&(r.children[s].part.add("page-button-active"),r.children[s].append(t.activeSpan),t.index=s,t.active=n)}function To(t,e,n,o){return e.buttons&&(e.buttons.remove(),e.buttons=void 0),o.length<2||(e.buttons=b("div",{part:"pagination",children:o.map((r,i)=>b("button",{part:"page-button",type:"button",name:"pagination",value:i}))}),t.append(e.buttons)),o.length}function Lo(t){let e=t[d],{shadow:n,actives:o,clicks:r,mutations:i}=e,s=e.pagination={activeSpan:b("span",{class:"invisible",text:"(Current slide)"})};s.mutations=i.each(()=>To(e.controls,s,n,e.children)),s.updates=g.combine({active:o,children:i}).filter(u=>u.children.length>1).each(u=>Me(s,e.children,e.active)),s.clicks=r.each(C({'[name="pagination"]':function(u,f){let{host:l}=e,p=e.children,a=p[u.value];!a||(l.active=a,Me(s,p,a))}}))}function ko(t){let e=t[d];e.pagination.buttons.remove(),e.pagination.mutations.stop(),e.pagination.updates.stop(),e.pagination.clicks.stop(),e.pagination=void 0}function Po(t){return!!t[d].pagination}var jt={};G(jt,{disable:()=>Oo,enable:()=>Fo,getState:()=>Ao});var De=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled;function ct(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}function Be(t){return t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():void 0}function ut(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}function Fo(t){let e=t[d];if(!De)return;let n=e.fullscreen={button:b("button",{part:"fullscreen-button",type:"button",name:"fullscreen",html:"Open in fullscreen"})};e.controls.append(n.button),n.changes=x("fullscreenchange",t).filter(o=>ct()===t).each(o=>{n.button.part.add("fullscreen-button-active"),n.button.innerHTML="Close fullscreen",document.activeElement!==t&&(n.tabIndex=t.tabIndex,t.tabIndex<0&&(t.tabIndex=0),t.focus());let r=x("fullscreenchange",t).each(i=>{n.button.part.remove("fullscreen-button-active"),n.button.innerHTML="Open in fullscreen",t.tabIndex=n.tabIndex,n.tabIndex=void 0,r.stop()})}),n.clicks=e.clicks.each(C({'[name="fullscreen"]':(o,r)=>{let i=ct();if(i===t){ut();return}i&&ut(),Be(t)}}))}function Oo(t){let e=t[d];ct()===t&&ut(),e.fullscreen.button.remove(),e.fullscreen.clicks.stop(),e.fullscreen.changes.stop(),e.fullscreen=void 0}function Ao(t){return!!t[d].fullscreen}var Ge={active:{attribute:function(t){this.active=t},set:function(t){let e=this[d],n=typeof t=="object"?t:/^\d/.test(t+"")?this.querySelector("#\\3"+(t+"")[0]+" "+(t+"").slice(1)):/^\#/.test(t+"")?this.querySelector(t):this.querySelector("#"+t);if(!n)throw new Error("Cannot set active – not a child of slide-show");e.views.push(n)},get:function(){return this[d].active}},autoplay:st(Ot,"autoplay"),controls:Ft({navigation:Ct,pagination:It,fullscreen:jt}),loop:st(At,"loop")};var Co=import.meta.url.replace(/\/[^\/]*\.js/,"/slide-show-shadow.css"),Qs=wt('
    ',Ce,Ge,Co);export{Qs as default}; +var qe=Object.defineProperty;var Dt=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var Bt=(t,e)=>{var n={};for(var o in t)We.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Dt)for(var o of Dt(t))e.indexOf(o)<0&&$e.call(t,o)&&(n[o]=t[o]);return n};var z=(t,e)=>{for(var n in e)qe(t,n,{get:e[n],enumerable:!0})};function N(t){var e=new Map;return function(o){if(e.has(o))return e.get(o);var r=t(o);return e.set(o,r),r}}var Ne=Array.prototype;function Xe(t,e){return typeof t=="function"?t.apply(null,e):t}function Gt(t,e,n){n=n||t.length;var o=n===1?e?t:N(t):N(function(r){return Gt(function(){var i=[r];return i.push.apply(i,arguments),t.apply(null,i)},e,n-1)});return function r(i){return arguments.length===0?r:arguments.length===1?o(i):arguments.length>=n?t.apply(null,arguments):Xe(o(i),Ne.slice.call(arguments,1))}}var v=Gt;function Ye(t,e){return 1-Math.pow(1-e,t)}var zt=v(Ye);function y(){}function pt(t,e){return e(t)}function S(t){return t}var Ke=Array.prototype;function ft(){let t=arguments;return t.length?e=>Ke.reduce.call(t,pt,e):S}function dt(t,e,n){return n*(e-t)+t}var Ze=window.performance,_t=window.requestAnimationFrame,Qe=window.cancelAnimationFrame;function mt(t,e,n){var o=Ze.now();function r(s){var a=(s-o)/(t*1e3);a<1?(a>0&&e(a),i=_t(r)):(e(1),n&&n())}var i=_t(r);return function(){Qe(i)}}function X(t,e,n,o,r,i){let s=o[n];return mt(t,ft(e,a=>dt(s,r,a),a=>o[n]=a),i)}function Je(){return{x:0,y:0,left:0,top:0,right:window.innerWidth,bottom:window.innerHeight,width:window.innerWidth,height:window.innerHeight}}function T(t){return t===window?Je():t.getClientRects()[0]||t.getBoundingClientRect()}var M={scrollDuration:.3,scrollDurationPerHeight:.125,scrollTransform:zt(3)},Rt=y;function tn(t,e){if(e.behavior==="smooth"){let n=t.style.getPropertyValue("scroll-snap-type"),o=()=>{let r=t.scrollLeft,i=t.scrollTop;t.style.setProperty("scroll-snap-type",n),t.scrollLeft=r,t.scrollTop=i};if(t.style.setProperty("scroll-snap-type","none"),e.left!==void 0){let r=t===document.body?window.innerWidth:T(t).width,i=M.scrollDuration+M.scrollDurationPerHeight*Math.abs(e.left-t.scrollLeft)/r;Rt=X(i,M.scrollTransform,"scrollLeft",t,e.left,o)}else{let r=t===document.body?window.innerHeight:T(t).height,i=M.scrollDuration+M.scrollDurationPerHeight*Math.abs(e.top-t.scrollTop)/r;Rt=X(i,M.scrollTransform,"scrollTop",t,e.top,o)}}else e.left!==void 0&&(t.scrollLeft=e.left),e.top!==void 0&&(t.scrollTop=e.top)}if(!("scrollBehavior"in document.documentElement.style)){window.console&&console.log("Polyfilling Element.scrollTo(options)");let t="scrollTo"in Element.prototype?Element:HTMLElement,e=t.scrollIntoView;t.prototype.scrollTo=function(n){typeof n=="object"?tn(this,n):e.apply(this,arguments)}}function b(t,e){return function(){let o=t.apply(this,arguments),r=e[o]||e.default;if(!r)throw new Error('overload() no handler for "'+o+'"');return r.apply(this,arguments)}}var en=b(S,{is:y,tag:y,html:function(t,e,n){e.innerHTML=n},text:function(t,e,n){e.textContent=n},children:function(t,e,n){e.innerHTML="",n.forEach(o=>{e.appendChild(o)})},points:D,cx:D,cy:D,r:D,preserveAspectRatio:D,viewBox:D,default:function(t,e,n){t in e?e[t]=n:e.setAttribute(t,n)}});function D(t,e,n){e.setAttribute(t,n)}function nn(t,e){for(var n=Object.keys(e),o=n.length;o--;)en(n[o],t,e[n[o]]);return t}var ht=v(nn,!0);var on="http://www.w3.org/2000/svg",Ut=document.createElement("div");var Vt=(t,e)=>e&&typeof e;function qt(t,e){let n=document.createRange();return n.selectNode(t),n.createContextualFragment(e)}function L(t,e){var n=document.createElementNS(on,t);return e&&(n.innerHTML=e),n}var rn=b(S,{comment:function(t,e){return document.createComment(e||"")},fragment:b(Vt,{string:function(t,e,n){if(n)return qt(n,e);let o=document.createDocumentFragment();Ut.innerHTML=e;let r=Ut.childNodes;for(;r[0];)o.appendChild(r[0]);return o},object:function(t,e,n){let o=n?qt(n):document.createDocumentFragment();return typeof e.length=="number"?o.append.apply(o,e):ht(o,e),o},default:()=>document.createDocumentFragment()}),text:function(t,e){return document.createTextNode(e||"")},circle:L,ellipse:L,g:L,glyph:L,image:L,line:L,rect:L,use:L,path:L,pattern:L,polygon:L,polyline:L,svg:L,default:b(Vt,{string:function(t,e){let n=document.createElement(t);return n.innerHTML=e,n},object:function(t,e){let n=document.createElement(t);return typeof e.length=="number"?n.append.apply(n,e):ht(n,e),n},default:t=>{if(typeof t!="string")throw new Error('create(tag, content) accepts only a string as tag "'+typeof t+'"');return document.createElement(t)}})}),x=rn;function gt(t,e,n){let o;typeof n!="string"&&n.input!==void 0&&n.index!==void 0&&(o=n,n=o.input.slice(n.index+n[0].length+(n.consumed||0)));let r=t.exec(n);if(!r)return;let i=e(r);return o&&(o.consumed=(o.consumed||0)+r.index+r[0].length+(r.consumed||0)),i}var fr=v(gt,!0);function sn(t,e,n){throw n.input!==void 0&&n.index!==void 0&&(n=n.input),new Error('Cannot parse string "'+n+'"')}function cn(t,e,n){let o=-1;for(;++ocn(e,n,i),o);return r===void 0?e.catch?e.catch(n,o):sn(t,e,o):r}var Wt=v(un,!0);var wt=y;var k=Symbol("internals"),A=Symbol("shadow"),$t=Object.defineProperties,ln={a:HTMLAnchorElement,dl:HTMLDListElement,p:HTMLParagraphElement,br:HTMLBRElement,fieldset:HTMLFieldSetElement,hr:HTMLHRElement,img:HTMLImageElement,li:HTMLLIElement,ol:HTMLOListElement,optgroup:HTMLOptGroupElement,q:HTMLQuoteElement,textarea:HTMLTextAreaElement,td:HTMLTableCellElement,th:HTMLTableCellElement,tr:HTMLTableRowElement,tbody:HTMLTableSectionElement,thead:HTMLTableSectionElement,tfoot:HTMLTableSectionElement,ul:HTMLUListElement},an={name:{set:function(t){return this.setAttribute("name",t)},get:function(){return this.getAttribute("name")||""}},form:{get:function(){return this[k].form}},labels:{get:function(){return this[k].labels}},validity:{get:function(){return this[k].validity}},validationMessage:{get:function(){return this[k].validationMessage}},willValidate:{get:function(){return this[k].willValidate}},checkValidity:{value:function(){return this[k].checkValidity()}},reportValidity:{value:function(){return this[k].reportValidity()}}},pn={},Nt={once:!0},fn=0,Xt=!1;function dn(t){return ln[t]||window["HTML"+t[0].toUpperCase()+t.slice(1)+"Element"]||(()=>{throw new Error('Constructor not found for tag "'+t+'"')})()}var mn=Wt(/^\s*?\s*$|^\s*?\s*$/,{1:(t,e)=>({name:e[1]}),2:(t,e)=>({name:e[3],tag:e[2]}),catch:function(t,e){throw new SyntaxError(`dom element() – name must be of the form 'element-name' or 'tag is="element-name"' (`+e+")")}},null);function hn(t,e){if(t.hasOwnProperty(e)){let n=t[e];delete t[e],t[e]=n}return t}function gn(t,e,n){t._initialLoad=!0;let o=t.attachShadow({mode:e.mode||"closed",delegatesFocus:e.focusable||!1});if(n){let r=x("link",{rel:"stylesheet",href:n});o.append(r)}return t[A]=o,o}function wn(t){var e;if(t.attachInternals){if(e=t.attachInternals(),e.setFormValue)return e}else e={shadowRoot:t.shadowRoot};return e.input=x("input",{type:"hidden",name:t.name}),t.appendChild(e.input),e.setFormValue=function(n){this.input.value=n},e}function vn(t){t._initialAttributes={},t._n=0}function yn(t,e,n){let o=t._initialAttributes;for(;t._nfn?gn(p,e,o||e.stylesheet):void 0,u=l.formAssociated&&wn(p);return i&&(Xt=!0),e.construct&&e.construct.call(p,g,u),a&&(vn(p),Promise.resolve(1).then(function(){Yt(p,l.observedAttributes,a)})),f&&Object.keys(f).reduce(hn,p),p}return l.prototype=Object.create(s.prototype,f),f&&f.value&&(l.formAssociated=!0,$t(l.prototype,an),(e.enable||e.disable)&&(l.prototype.formDisabledCallback=function(p){return p?e.disable&&e.disable.call(this,this[A],this[k]):e.enable&&e.enable.call(this,this[A],this[k])}),e.reset&&(l.prototype.formResetCallback=function(){return e.reset.call(this,this[A],this[k])}),e.restore&&(l.prototype.formStateRestoreCallback=function(){return e.restore.call(this,this[A],this[k])})),a&&(l.observedAttributes=Object.keys(a),l.prototype.attributeChangedCallback=function(p,g,u){if(!this._initialAttributes)return a[p].call(this,u);this._initialAttributes[p]=u,yn(this,l.observedAttributes,a)}),l.prototype.connectedCallback=function(){let p=this,g=p[A],u=p[k];if(p._initialAttributes&&Yt(p,l.observedAttributes,a),p._initialLoad){let c=g.querySelectorAll('link[rel="stylesheet"]');if(c.length){let H=0,at=c.length,Mt=function(Ue){++H>=c.length&&(delete p._initialLoad,e.load&&(wt("element()","loaded",Array.from(c).map(Ve=>Ve.href).join(` +`)),e.load.call(p,g)))},_e=Mt;for(;at--;)c[at].addEventListener("load",Mt,Nt),c[at].addEventListener("error",_e,Nt);e.connect&&e.connect.call(this,g,u)}else e.connect&&e.connect.call(this,g,u),e.load&&e.load.call(this,g,u)}else e.connect&&e.connect.call(this,g,u)},e.disconnect&&(l.prototype.disconnectedCallback=function(){return e.disconnect.call(this,this[A],this[k])}),wt("element()","<"+(i?i+" is="+r:r)+">"),window.customElements.define(r,l,i&&{extends:i}),i&&!Xt&&document.querySelectorAll('[is="'+r+'"]').forEach(p=>{$t(p,f),e.construct&&e.construct.apply(p);let g;for(g in a){let u=p.attributes[g];u&&a[g].call(p,u.value)}e.connect&&e.connect.apply(p)}),l}function Zt(t,e){if(t===e)return!0;if(t===null||e===null||typeof t!="object"||typeof e!="object")return!1;let n=Object.keys(t),o=Object.keys(e),r=n.length;for(;r--;){if(t[n[r]]===void 0){if(e[n[r]]!==void 0)return!1}else if(!e.hasOwnProperty(n[r])||!Zt(t[n[r]],e[n[r]]))return!1;let i=o.indexOf(n[r]);i>-1&&o.splice(i,1)}for(r=o.length;r--;)if(e[o[r]]===void 0){if(t[o[r]]!==void 0)return!1}else return!1;return!0}var Qt=v(Zt,!0);function En(t,e){return e[t]}var B=v(En,!0);var Sn=Object.freeze;function Jt(){return this}var P=Sn({shift:y,push:y,forEach:y,join:function(){return""},map:Jt,filter:Jt,includes:function(){return!1},reduce:function(t,e){return e},length:0,each:y,pipe:S,start:y,stop:y,done:y,valueOf:function(){return null}});function yt(){return this}function bt(t){return t&&t[Symbol.iterator]}var Tn=Object.assign;function Ln(t){return t.stop?t.stop():t()}function kn(t){t.forEach(Ln),t.length=0}function G(){}Tn(G.prototype,{stop:function(){return this.stopables&&kn(this.stopables),this},done:function(e){return(this.stopables||(this.stopables=[])).push(e),this}});var Pn=Object.assign;function Y(t){G.prototype.stop.apply(t);let e=-1,n;for(;n=t[++e];)t[e]=void 0,Y(n)}function m(){}Pn(m.prototype,{pipe:function(t){return this[0]=t,t},stop:function(){return Y(this[0]),this}});var F=Object.assign,O=Object.create;function _(t,e){e!==void 0&&t[0].push(e)}function Fn(t,e){if(t[1]){let n=-1;for(;t[++n]&&t[n]!==e;);for(;t[n++];)t[n-1]=t[n];Y(e)}else t.stop()}function w(t){this.input=t}F(w.prototype,G.prototype,{push:function(t){_(this,t)},pipe:function(t){if(this[0])throw new Error("Stream: Attempt to .pipe() a unicast stream multiple times. Create a multicast stream with stream.broadcast().");return this[0]=t,this.input.pipe(this),t},map:function(t){return new te(this,t)},filter:function(t){return new ee(this,t)},chunk:function(t){return new oe(this,t)},flatMap:function(t){return new ne(this,t)},take:function(t){return new re(this,t)},each:function(t){return new ce(this,t)},reduce:function(t,e){return new ie(this,t,e)},scan:function(t,e){return new se(this,t,e)},stop:function(){return Fn(this.input,this),this}});function te(t,e){this.input=t,this.fn=e}te.prototype=F(O(w.prototype),{push:function(e){let n=this.fn;_(this,n(e))}});function ee(t,e){this.input=t,this.fn=e}ee.prototype=F(O(w.prototype),{push:function(e){this.fn(e)&&_(this,e)}});function ne(t,e){this.input=t,this.fn=e}ne.prototype=F(O(w.prototype),{push:function(e){let o=this.fn(e);if(o!==void 0)if(bt(o))for(let r of o)_(this,r);else throw new Error("Stream: Cannot .flatMap() non-iterable values")}});function oe(t,e){this.input=t,this.chunk=[],typeof e=="number"?this.n=e:typeof e=="function"&&(this.fn=e)}oe.prototype=F(O(w.prototype),{fn:function(t){return t.length===this.n},push:function(e){let n=this.chunk;n.push(e),this.fn(n)&&(_(this,n),this.chunk=[])}});function re(t,e){this.input=t,this.count=e}re.prototype=F(O(w.prototype),{push:function(e){this[0].push(e),--this.count||this.stop()}});function ie(t,e,n){return this.input=t,this.fn=e,this.value=n,this.i=0,t.pipe(this),n}ie.prototype=F(O(w.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t,this.i++,this)}});function se(t,e,n){this.input=t,this.fn=e,this.value=n}se.prototype=F(O(w.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t),this[0].push(this.value)}});function ce(t,e){this.input=t,this.push=e,t.pipe(this)}ce.prototype=F(O(w.prototype),{each:null,reduce:null,pipe:null});var On=Array.prototype,An=Object.assign,Cn=Object.create;function R(t){this.buffer=t||[]}R.prototype=An(Cn(w.prototype),m.prototype,{push:function(t){t!==void 0&&this.buffer.push(t)},pipe:function(t){for(this[0]=t;this.buffer.length;)this[0].push(On.shift.apply(this.buffer));return this.buffer=this[0],t}});var In=Object.assign,jn=Object.create;function U(t,e){this.input=t,this.memory=!!(e&&e.memory),e&&e.hot&&this.pipe(P)}U.prototype=In(jn(w.prototype),{push:function(t){if(t!==void 0){this.memory&&(this.value=t);let e=-1;for(;this[++e];)this[e].push(t)}},pipe:function(t){let e=-1;for(;this[++e];);return this[e]=t,this.value!==void 0&&t.push(this.value),e===0&&this.input.pipe(this),t}});var Hn=Object.assign;function K(t){this.promise=t}Hn(K.prototype,m.prototype,{pipe:function(t){let e=this.promise;this[0]=t,e.then(n=>this[0].push(n)).finally(n=>this.stop())},stop:function(){m.prototype.stop.apply(this,arguments),this[0]=P}});var le=Object.assign,ae=Object.keys;function ue(t,e,n){let o=t.values,r=t.names,i=t[0];o[e]=n,(t.active||(t.active=ae(o).length===r.length))&&i.push(le({},o))}function Z(t){this.inputs=t,this.active=!1}le(Z.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this.values={},this.names=ae(e),this[0]=t;for(let n in e){let o=e[n];o.pipe?t.done(o.each(r=>ue(this,n,r))):o.then?o.then(r=>ue(this,n,r)):console.log("Todo: combine() raw values ?")}}});var Mn=Object.assign;function Q(t){this.inputs=t}Mn(Q.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this[0]=t;let n=-1,o;for(;o=e[++n];)if(o.pipe)o.pipe(t);else if(o.then)o.then(r=>t.push(r));else{let r=-1;for(;++r0}function Gn(t,e,n){return t[n]=e.shift(),t}function zn(t){return[]}function xt(t,e,n,o){n.push(o),e.every(Bn)&&t.push(e.reduce(Gn,{}))}function J(t){this.inputs=t,this.buffers=Et.map.call(t,zn)}Dn(J.prototype,m.prototype,{pipe:function(t){let e=this.inputs,n=this.buffers;this[0]=t,Et.forEach.call(e,(o,r)=>{let i=n[r];o.each?t.done(o.each(s=>xt(t,n,i,s))):o.then?o.then(s=>xt(t,n,i,s)):Et.forEach.call(o,s=>xt(t,n,i,s))})},stop:function(){let t=this.inputs,e=-1,n;for(;n=t[++e];)n.stop();return m.prototype.stop.apply(this,arguments)}});var _n=Array.prototype,pe=Object.assign;function Rn(t){throw new TypeError("Stream: invalid source object cannot be read into stream")}var h=pe(w,{of:function(){return new R(_n.slice.apply(arguments))},from:function(t){return t.pipe?new w(t):t.then?new w(new K(t)):typeof t.length=="number"?new R(t):Rn(t)},broadcast:function(e){return new U(P,e)},combine:function(e){return new w(new Z(e))},merge:function(){return new w(new Q(arguments))},zip:function(){return new w(new J(arguments))}});pe(w.prototype,{log:yt,broadcast:function(t){return new U(this,t)}});var Un=Object.assign,Vn=/\s+/,fe={fullscreenchange:"fullscreenElement"in document?"fullscreenchange":"webkitFullscreenElement"in document?"webkitfullscreenchange":"fullscreenchange"};function de(t){return t.which===1&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}var me=0;window.addEventListener("click",t=>me=t.timeStamp);function qn(t,e){return t.node.addEventListener(fe[e]||e,t,t.options),t}function Wn(t,e){return t.node.removeEventListener(fe[e]||e,t),t}function he(t,e,n){this.types=t.split(Vn),this.options=e,this.node=n,this.select=e&&e.select}Un(he.prototype,m.prototype,{pipe:function(t){this[0]=t,this.types.reduce(qn,this)},handleEvent:function(t){if(!(t.type==="click"&&t.timeStamp<=me)){if(this.select){let e=t.target.closest(this.select);if(!e)return;t.selectedTarget=e}this[0].push(t)}},stop:function(){this.types.reduce(Wn,this),m.prototype.stop.apply(this,arguments)}});function E(t,e){let n;return typeof t=="object"&&(n=t,t=n.type),new h(new he(t,n,e))}function St(t){return typeof t}var $n=/^\s*([+-]?\d*\.?\d+)([^\s\d]*)\s*$/;function Nn(t,e){if(typeof e=="number")return e;var n=$n.exec(e);if(!n||!t[n[2]||""]){if(!t.catch)throw new Error('Cannot parse value "'+e+'" with provided units '+Object.keys(t).join(", "));return n?t.catch(parseFloat(n[1]),n[2]):t.catch(parseFloat(e))}return t[n[2]||""](parseFloat(n[1]))}var tt=v(Nn);var Xn=/px$/,ge={"transform:translateX":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e);return parseFloat(n[4])},"transform:translateY":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e);return parseFloat(n[5])},"transform:scale":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.sqrt(o*o+r*r)},"transform:rotate":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.atan2(r,o)}};function et(t){return t.split("(")[1].split(")")[0].split(/\s*,\s*/)}function V(t,e){return window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):0}function nt(t,e){if(ge[t])return ge[t](e);var n=V(t,e);return typeof n=="string"&&Xn.test(n)?parseFloat(n):n}var ot,rt;function Yn(){if(!ot){let t=document.documentElement.style.fontSize;document.documentElement.style.fontSize="100%",ot=nt("font-size",document.documentElement),document.documentElement.style.fontSize=t||""}return ot}function Kn(){return rt||(rt=nt("font-size",document.documentElement)),rt}window.addEventListener("resize",()=>{ot=void 0,rt=void 0});var C=b(St,{number:S,string:tt({em:function(t){return Yn()*t},px:function(t){return t},rem:function(t){return Kn()*t},vw:function(t){return window.innerWidth*t/100},vh:function(t){return window.innerHeight*t/100},vmin:function(t){return window.innerWidthn?o:n}n=nW.maxScrollInterval?W.maxScrollInterval:1.4*n}function st(){return be}function Ee(t){let e=T(t),n=window.getComputedStyle(t,null),o=C(n.getPropertyValue("padding-left")),r=C(n.getPropertyValue("padding-right"));return e.leftPadding=e.left+o,e.rightPadding=e.left+e.width-r,e.centrePadding=e.leftPadding+(e.width-o-r)/2,e}function Se(t){let e=window.getComputedStyle(t,null).getPropertyValue("scroll-snap-align");return e.endsWith("start")?"left":e.endsWith("end")?"right":"centre"}function Te(t,e,n){let o=Ee(t),r=T(e),i=Se(e);t.scrollTo({top:t.scrollTop,left:t.scrollLeft+(i==="left"?r.left-o.leftPadding:i==="right"?r.right-o.rightPadding:r.left+r.width/2-o.centrePadding),behavior:n})}function Le(t,e){return Te(t,e,"smooth"),e}function I(t,e){return t.style.setProperty("scroll-behavior","auto","important"),Te(t,e,"auto"),t.style.setProperty("scroll-behavior",""),e}function ke(t,e){let{leftPadding:n,rightPadding:o,centrePadding:r}=Ee(t),i=e.length,s;for(;s=e[--i];){let a=T(s);if(!a)continue;let f=Se(s),l=a.width/2+(f==="left"?n:f==="right"?o:r);if((f==="left"?a.left:f==="right"?a.right:a.left+a.width/2)<=l)break}return s}function Pe(t){return!!t.dataset.slideIndex}function Fe(t){let{scroller:e,elements:n,children:o}=t,r=ke(e,n);return Pe(r)?o[r.dataset.slideIndex]:r}function Oe(t){let{scroller:e,children:n,elements:o}=t,r=ke(e,o),i;!r||(Pe(r)?(i=n[r.dataset.slideIndex],I(e,i)):i=r,t.activations.push(i))}function to(t,e){t.style.setProperty("scroll-snap-type",""),e.stop()}var Ae=b((t,e)=>e.type,{pointerdown:function(t,e){return t.e0=e,t.x0=e.clientX,t.y0=e.clientY,t},pointermove:function(t,e){let n=e.clientX,o=e.clientY;if(!t.gesturing){if(Math.abs(n-t.x0)(clearTimeout(s),setTimeout(to,st()*1e3,n,l)))}return t.gesturing=!1,t.e0=void 0,t.x0=void 0,t.y0=void 0,t.pointers=void 0,t.scrollLeft0=void 0,t}});var eo=Object.assign,no={capture:!0,passive:!0};function oo(t,e){t.timer=void 0,t.stream.push(e);let n=t.times;n.length>1&&xe(n),n.length=0}function Ce(t){this.element=t,this.times=[]}eo(Ce.prototype,m.prototype,{pipe:function(t){this.stream=t,this.element.addEventListener("scroll",this,no)},handleEvent:function(t){let e=t.timeStamp/1e3;this.times.push(e),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(oo,st()*1e3,this,t)},stop:function(){this.element.removeEventListener("scroll",this),m.prototype.stop.apply(this,arguments)}});function Pt(t){return new h(new Ce(t))}function ro(t,e,n){let o=n.length,r=-1/0;for(;o--;){let l=T(n[o]),p=l.x+l.width;r=p>r?p:r}let i=T(e),s=getComputedStyle(t),a=C(s.paddingLeft||0),f=C(s.paddingRight||0);return a+f+r-i.x}function io(t,e,n){let o=ro(t,e,n);t.style.setProperty("--scroll-width",o+"px")}function so(t){return!t.dataset.slideIndex}var Ie={construct:function(t){let e=x("slot",{part:"slides"}),n=x("div",{class:"scroller",children:[e]}),o=x("nav",{part:"controls",children:[x("slot",{name:"controls"})]});t.append(n,o);let r=h.broadcast(),i=h.broadcast(),s=h.combine({host:i,elements:E("slotchange",e).map(c=>u.elements=e.assignedElements())}).broadcast({memory:!0}),a=s.map(c=>{let H=c.elements.filter(so);return Qt(u.children,H)?void 0:u.children=H}).broadcast({memory:!0,hot:!0}),f=h.of(),l=h.of(),p=l.map(c=>c.dataset.slideIndex?u.children[c.dataset.slideIndex]:c).filter(c=>u.active!==c&&kt("slide-active",c)).map(c=>u.active=c).broadcast({memory:!0,hot:!0}),g=E("click",t).filter(de).broadcast(),u=this[d]={clickSuppressTime:-1/0,connected:!1,host:this,style:window.getComputedStyle(this),elements:P,children:P,scroller:n,slides:e,controls:o,connects:r,load:i,views:f,activations:l,actives:p,slotchanges:s,mutations:a,clicks:g};h.merge(s,E("resize",window)).each(c=>io(n,e,u.elements)),h.combine({slotchanges:s,connects:r}).map(c=>u.elements.includes(u.active)?u.active:u.children[0]).map(c=>u.connected?I(n,c):c).pipe(l),h.combine({host:i,child:f}).map(c=>u.elements.includes(c.child)&&u.active!==c.child?c.child:void 0).map(c=>u.connected?u.active?Le(n,c):I(n,c):c).pipe(l),Pt(n).filter(c=>u.connected&&!u.gesturing).each(c=>Oe(u)),Lt({threshold:"0.25rem",device:"mouse"},t).filter(()=>u.children.length>1).each(c=>{u.pointers=c,c.reduce(Ae,u)}),g.each(c=>{c.timeStamp-u.clickSuppressTime<120&&(c.preventDefault(),c.stopPropagation())}),E("fullscreenchange",window).each(c=>{(c.target===this||c.target.contains(this))&&I(n,u.active)}),E("focusin",this).map(c=>u.children.indexOf(c.target)!==-1?c.target:u.children.find(H=>H.contains(c.target))).pipe(f),E("keydown",this).filter(()=>document.activeElement===this||this.contains(document.activeElement)).map(b(B("keyCode"),{37:c=>(c.preventDefault(),u.elements[u.elements.indexOf(u.active)-1]),39:c=>(c.preventDefault(),u.elements[u.elements.indexOf(u.active)+1]),default:y})).pipe(f)},load:function(t){this[d].load.push(this)},connect:function(t){let e=this[d];e.connected=!0,e.connects.push(!0)},disconnect:function(t){let e=this[d];e.connected=!1}};function ct(t,e){function n(o,r){if(t.getState(o)!==r)return t[r?"enable":"disable"](o)}return{attribute:function(o){return n(this,o!==null)},set:function(o){return n(this,!!o)},get:function(){return t.getState(this)}}}function Ft(t,e){t.remove&&t.remove(e);let n;for(;(n=t.indexOf(e))!==-1;)t.splice(n,1);return e}var as=v(Ft,!0);var co=Object.assign;function $(t,e){this.element=t,this.definitions=e,this.tokens=[]}co($.prototype,{contains:function(t){return this.tokens.includes(t)},add:function(){let t=arguments.length;for(;t--;){let e=arguments[t];!this.tokens.includes(e)&&this.definitions[e]&&(this.definitions[e].enable(this.element),this.tokens.push(e))}},remove:function(){let t=arguments.length;for(;t--;){let e=arguments[t];this.tokens.includes(e)&&(this.definitions[e].disable(this.element),Ft(this.tokens,e))}},supports:function(t){return!!this.definitions[t]}});var uo=Array.prototype;function lo(t,e){let n=t.tokens.slice(),o=uo.slice.apply(e),r=n.length;for(;r--;)o.includes(n[r])&&n.splice(r,1);t.remove.apply(t,n),t.add.apply(t,o)}function Ot(t){let e=Symbol("TokenList");function n(o,r){let i=o[e]||(o[e]=new $(o,t));lo(i,r.trim().split(/\s+/))}return{attribute:function(o){n(this,o||"")},set:function(o){n(this,o+"")},get:function(){return this[e]||(this[e]=new $(this,t))}}}var At={};z(At,{disable:()=>ho,enable:()=>mo,getState:()=>go});var ao=tt({s:S,ms:t=>t/1e3});function po(t){let{active:e,children:n,elements:o,host:r}=t,i=o.indexOf(e),s=o[i+1]||n[0];t.autoplay.timer=null,!!s&&(r.active=s)}function fo(t){let{active:e,style:n}=t,o=ao(window.getComputedStyle(e).getPropertyValue("--slide-duration")||n.getPropertyValue("--slide-duration"));clearTimeout(t.autoplay.timer),t.autoplay.timer=setTimeout(po,o*1e3,t)}function je(t){clearTimeout(t.autoplay.timer),t.autoplay.timer=null}function mo(t){let e=t[d],{actives:n}=e,o=e.autoplay={},r=h.merge([!1],E("pointerenter pointerleave",t).map(s=>s.type==="pointerenter")),i=h.merge([t.contains(document.activeElement)],E("focusin focusout",t).map(b(B("type"),{focusin:s=>!0,focusout:s=>t.contains(s.relatedTarget)}))).map((s=>a=>s===a?void 0:s=a)());o.updates=h.combine({active:n,hover:r,focus:i}).each(s=>s.hover||s.focus?je(e):fo(e))}function ho(t){let e=t[d];je(e),e.autoplay.updates.stop(),e.autoplay=void 0}function go(t){return!!t[d].autoplay}var Ct={};z(Ct,{disable:()=>yo,enable:()=>vo,getState:()=>bo});function He(t,e){let n=t.cloneNode(!0);return n.dataset.slideIndex=e,n.removeAttribute("id"),n.setAttribute("aria-hidden","true"),n.tabIndex="-1",n}function wo(t){let{active:e,children:n,host:o,scroller:r}=t;if(t.loop.prepends&&(t.loop.prepends.forEach(u=>u.remove()),t.loop.appends.forEach(u=>u.remove()),t.loop.prepends=void 0,t.loop.appends=void 0),n.length<2){t.elements=t.slides.assignedElements();return}let i=o.clientWidth,s=n.map(T),a=s[1].left,f=s[s.length-2].right,l=1;for(;s[++l]&&s[l].leftf-i;);let g=n.slice(++l).map((u,c)=>He(u,l+c));o.prepend.apply(o,g),o.append.apply(o,p),t.loop.prepends=g,t.loop.appends=p,t.elements=t.slides.assignedElements(),I(r,e||n[0])}function vo(t){let e=t[d],{mutations:n}=e,o=e.loop={};o.renders=n.each(r=>wo(e))}function yo(t){let e=t[d];e.loop&&(e.loop.prepends&&e.loop.prepends.forEach(n=>n.remove()),e.loop.appends&&e.loop.appends.forEach(n=>n.remove()),e.loop.renders.stop(),e.loop=void 0)}function bo(t){return!!t[d].loop}var It={};z(It,{disable:()=>Eo,enable:()=>xo,getState:()=>So});function j(t){if(typeof t!="object"||arguments.length>1)throw new Error("delegate() now takes an object of selector:fn pairs.");let e=Object.keys(t);return function(o){let r=o.target,i=-1;for(;e[++i];){let s=r.closest(e[i]);if(s)return t[e[i]](s,...arguments)}}}function Me(t,e,n,o){o===0?t.hidden=!0:t.hidden=!1,o===n.length-1?e.hidden=!0:e.hidden=!1}function xo(t){let e=t[d],{actives:n,clicks:o,slotchanges:r}=e,i=e.navigation={prev:x("button",{part:"prev-button",type:"button",name:"navigation",value:"-1",html:"Previous"}),next:x("button",{part:"next-button",type:"button",name:"navigation",value:"1",html:"Next"})};e.controls.prepend(i.prev,i.next),i.updates=h.combine({active:n,changes:r}).each(s=>Me(i.prev,i.next,s.changes.elements,s.changes.elements.indexOf(s.active))),i.clicks=o.each(j({'[name="navigation"]':function(s,a){let f=parseFloat(s.value),l=e.elements.indexOf(e.active)+f,p=e.elements[l];!p||(t.active=p,Me(i.prev,i.next,e.elements,l))}}))}function Eo(t){let e=t[d];e.navigation.prev.remove(),e.navigation.next.remove(),e.navigation.updates.stop(),e.navigation.clicks.stop(),e.navigation=void 0}function So(t){return!!t[d].navigation}var jt={};z(jt,{disable:()=>ko,enable:()=>Lo,getState:()=>Po});function De(t,e,n){let{active:o,buttons:r,index:i}=t;if(o===n)return;i>-1&&(t.activeSpan.remove(),r.children[i].part.remove("page-button-active"));let s=e.indexOf(n);s!==-1&&(r.children[s].part.add("page-button-active"),r.children[s].append(t.activeSpan),t.index=s,t.active=n)}function To(t,e,n,o){return e.buttons&&(e.buttons.remove(),e.buttons=void 0),o.length<2||(e.buttons=x("div",{part:"pagination",children:o.map((r,i)=>x("button",{part:"page-button",type:"button",name:"pagination",value:i}))}),t.append(e.buttons)),o.length}function Lo(t){let e=t[d],{shadow:n,actives:o,clicks:r,mutations:i}=e,s=e.pagination={activeSpan:x("span",{class:"invisible",text:"(Current slide)"})};s.mutations=i.each(()=>To(e.controls,s,n,e.children)),s.updates=h.combine({active:o,children:i}).filter(a=>a.children.length>1).each(a=>De(s,e.children,e.active)),s.clicks=r.each(j({'[name="pagination"]':function(a,f){let{host:l}=e,p=e.children,g=p[a.value];!g||(l.active=g,De(s,p,g))}}))}function ko(t){let e=t[d];e.pagination.buttons.remove(),e.pagination.mutations.stop(),e.pagination.updates.stop(),e.pagination.clicks.stop(),e.pagination=void 0}function Po(t){return!!t[d].pagination}var Ht={};z(Ht,{disable:()=>Oo,enable:()=>Fo,getState:()=>Ao});var Be=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled;function ut(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}function Ge(t){return t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():void 0}function lt(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}function Fo(t){let e=t[d];if(!Be)return;let n=e.fullscreen={button:x("button",{part:"fullscreen-button",type:"button",name:"fullscreen",html:"Open in fullscreen"})};e.controls.append(n.button),n.changes=E("fullscreenchange",t).filter(o=>ut()===t).each(o=>{n.button.part.add("fullscreen-button-active"),n.button.innerHTML="Close fullscreen",document.activeElement!==t&&(n.tabIndex=t.tabIndex,t.tabIndex<0&&(t.tabIndex=0),t.focus());let r=E("fullscreenchange",t).each(i=>{n.button.part.remove("fullscreen-button-active"),n.button.innerHTML="Open in fullscreen",t.tabIndex=n.tabIndex,n.tabIndex=void 0,r.stop()})}),n.clicks=e.clicks.each(j({'[name="fullscreen"]':(o,r)=>{let i=ut();if(i===t){lt();return}i&<(),Ge(t)}}))}function Oo(t){let e=t[d];ut()===t&<(),e.fullscreen.button.remove(),e.fullscreen.clicks.stop(),e.fullscreen.changes.stop(),e.fullscreen=void 0}function Ao(t){return!!t[d].fullscreen}var ze={active:{attribute:function(t){this.active=t},set:function(t){let e=this[d],n=typeof t=="object"?t:/^\d/.test(t+"")?this.querySelector("#\\3"+(t+"")[0]+" "+(t+"").slice(1)):/^\#/.test(t+"")?this.querySelector(t):this.querySelector("#"+t);e.views.push(n)},get:function(){return this[d].active}},autoplay:ct(At,"autoplay"),controls:Ot({navigation:It,pagination:jt,fullscreen:Ht}),loop:ct(Ct,"loop")};var Co=import.meta.url.replace(/\/[^\/]*\.js/,"/slide-show-shadow.css"),Js=vt('
      ',Ie,ze,Co);export{Js as default}; diff --git a/build/slide-show-shadow.css b/build/slide-show-shadow.css index aa408f0..41d2207 100644 --- a/build/slide-show-shadow.css +++ b/build/slide-show-shadow.css @@ -1,6 +1,6 @@ /* slide-show - 1.1.5 + 1.1.6 By Stephen Band - Built 2022-05-16 23:59 */ + Built 2022-05-19 13:25 */ :host,*{box-sizing:border-box;background-origin:padding-box;background-repeat:no-repeat;padding:0;margin:0}button{font-size:inherit}:host{--slide-duration: 8s;--padding-left: 0;--padding-right: 0;position:relative;display:block!important;padding-left:0!important;padding-right:0!important;align-content:center!important;align-items:stretch;justify-content:center!important;justify-items:stretch;grid-auto-flow:row!important;grid-auto-columns:100%;grid-template-columns:none;column-gap:0;grid-auto-rows:min-content;grid-template-rows:1fr;row-gap:0;scroll-snap-type:none!important;scroll-snap-stop:none!important;-webkit-scroll-behavior:smooth;scroll-behavior:smooth;overscroll-behavior-x:none!important;-ms-overflow-style:none!important;scrollbar-width:none!important;overflow:visible}:host(:-webkit-full-screen){width:100vw!important;height:100vh!important;margin:0!important;background-color:#121212}:host(:fullscreen){width:100vw!important;height:100vh!important;margin:0!important;background-color:#121212}.invisible{position:absolute;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);width:1px;height:1px;padding:0;margin:0 -1px -1px 0;overflow:hidden;white-space:nowrap;border-width:0}.scroller{display:block;position:relative;height:100%;padding-left:var(--padding-left, 0);padding-right:var(--padding-right, 0);scroll-padding-left:var(--padding-left, 0);scroll-padding-right:var(--padding-right, 0);overflow:auto;overflow-y:hidden;overscroll-behavior-x:none;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x mandatory;scroll-snap-stop:always;-webkit-scroll-behavior:inherit;scroll-behavior:inherit;will-change:-webkit-scroll-behavior;will-change:scroll-behavior;grid-template-columns:inherit;grid-auto-columns:inherit;column-gap:inherit;justify-content:inherit;justify-items:inherit;grid-template-rows:inherit;grid-auto-rows:inherit;row-gap:inherit;align-content:inherit;align-items:inherit}.scroller:before{content:"";position:absolute;left:0;top:0;width:var(--scroll-width, 5000%);height:1px;z-index:-1}.scroller::-webkit-scrollbar{-webkit-appearance:none;display:var(--webkit-scrollbar-display, none);width:var(--webkit-scrollbar-width);height:var(--webkit-scrollbar-width);background:var(--webkit-scrollbar-background);border:var(--webkit-scrollbar-border);border-radius:var(--webkit-scrollbar-border-radius)}.scroller::-webkit-scrollbar-thumb:vertical,.scroller::-webkit-scrollbar-thumb:horizontal{background:var(--webkit-scrollbar-thumb-background);border:var(--webkit-scrollbar-thumb-border);border-radius:var(--webkit-scrollbar-thumb-border-radius)}.scroller>[part=slides]{position:relative;z-index:1}:host(:-webkit-full-screen) .scroller{height:calc(100% - 2.75rem)}:host(:fullscreen) .scroller{height:calc(100% - 2.75rem)}[part=slides]{display:grid;height:100%;margin-left:auto;margin-right:auto;grid-auto-flow:column;grid-template-columns:inherit;grid-auto-columns:inherit;column-gap:inherit;justify-content:start!important;justify-items:inherit;grid-template-rows:inherit;grid-auto-rows:inherit;row-gap:inherit;align-content:inherit;align-items:inherit}[part=slides]::slotted(*){scroll-snap-align:center}[part=controls]{display:grid;grid-template-columns:[left] 1fr [center] auto [right] 1fr;height:auto;padding-left:var(--padding-left);padding-right:var(--padding-right);align-content:center;align-items:center;justify-items:center;justify-content:stretch}[part=controls]:empty{display:none}@media print{:host>nav{display:none!important}}[part*=fullscreen-button]{vertical-align:baseline;overflow:hidden;z-index:2;grid-column:3;grid-row:1;justify-self:end;margin:.375em 0;width:0;min-width:0;line-height:inherit;text-decoration:none;padding:0 0 0 1.875em;height:1.875em;cursor:pointer;background-size:contain;background-position:50% 50%;background-repeat:no-repeat;background-color:transparent;background-image:url('data:image/svg+xml;utf8, ');border-width:0;border-radius:.3125em;color:inherit;transition:background-color .2s linear}[part*=fullscreen-button]:hover{transition:background-color .1s linear;background-color:#ffffff4d}[part*=fullscreen-button-active]{background-image:url('data:image/svg+xml;utf8, ')}:host(:fullscreen) [part*=fullscreen-button]{grid-column:auto;grid-row:auto;position:absolute;top:.75em;right:.75em;margin:0;bottom:auto}:host(:-webkit-full-screen) [part*=fullscreen-button]{grid-column:auto;grid-row:auto;position:absolute;top:.75em;right:.75em;margin:0;bottom:auto}[part=prev-button],[part=next-button]{vertical-align:baseline;overflow:hidden;position:absolute;top:50%;z-index:2;padding:0;width:0;min-width:0;line-height:inherit;text-decoration:none;padding-left:1.875rem;height:2.5rem;margin-top:-1.25rem;background-size:contain;background-position:50% 50%;background-repeat:no-repeat;background-color:transparent;border-width:0;border-radius:.3125rem;color:inherit;transition:background-color .2s linear;cursor:pointer}[part=prev-button]{left:.1875rem;background-image:url('data:image/svg+xml;utf8, ')}[part=next-button]{right:.1875rem;background-image:url('data:image/svg+xml;utf8, ')}[part=prev-button]:hover,[part=next-button]:hover{transition:background-color .1s linear;background-color:#ffffff4d}[part=pagination]{display:flex;justify-content:center;grid-column:2;grid-row:1;justify-self:center;margin:0;padding:.875em 0}[part*=page-button]{display:inline-block;padding:0 0 0 1.25em;height:1.25em;cursor:pointer;border-width:0;background-color:transparent;background-size:100% auto;background-position:50% 50%;background-image:url('data:image/svg+xml;utf8, ')}[part*=page-button-active]{background-image:url('data:image/svg+xml;utf8, ')}:host(:fullscreen) [part*=page-button-active]{background-image:url('data:image/svg+xml;utf8, ')}:host(:-webkit-full-screen) [part*=page-button-active]{background-image:url('data:image/svg+xml;utf8, ')}slot[name=optional]::slotted(*){grid-column:1;grid-row:1} diff --git a/build/slide-show-ul.js b/build/slide-show-ul.js index 3beaf0d..ff1d084 100644 --- a/build/slide-show-ul.js +++ b/build/slide-show-ul.js @@ -1,7 +1,7 @@ /* slide-show - 1.1.5 + 1.1.6 By Stephen Band - Built 2022-05-16 23:59 */ + Built 2022-05-19 13:25 */ -var qe=Object.defineProperty;var Mt=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var Dt=(t,e)=>{var n={};for(var o in t)We.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Mt)for(var o of Mt(t))e.indexOf(o)<0&&$e.call(t,o)&&(n[o]=t[o]);return n};var G=(t,e)=>{for(var n in e)qe(t,n,{get:e[n],enumerable:!0})};function $(t){var e=new Map;return function(o){if(e.has(o))return e.get(o);var r=t(o);return e.set(o,r),r}}var Ne=Array.prototype;function Xe(t,e){return typeof t=="function"?t.apply(null,e):t}function Bt(t,e,n){n=n||t.length;var o=n===1?e?t:$(t):$(function(r){return Bt(function(){var i=[r];return i.push.apply(i,arguments),t.apply(null,i)},e,n-1)});return function r(i){return arguments.length===0?r:arguments.length===1?o(i):arguments.length>=n?t.apply(null,arguments):Xe(o(i),Ne.slice.call(arguments,1))}}var w=Bt;function Ye(t,e){return 1-Math.pow(1-e,t)}var Gt=w(Ye);function v(){}function at(t,e){return e(t)}function S(t){return t}var Ke=Array.prototype;function pt(){let t=arguments;return t.length?e=>Ke.reduce.call(t,at,e):S}function ft(t,e,n){return n*(e-t)+t}var Ze=window.performance,zt=window.requestAnimationFrame,Qe=window.cancelAnimationFrame;function dt(t,e,n){var o=Ze.now();function r(s){var u=(s-o)/(t*1e3);u<1?(u>0&&e(u),i=zt(r)):(e(1),n&&n())}var i=zt(r);return function(){Qe(i)}}function N(t,e,n,o,r,i){let s=o[n];return dt(t,pt(e,u=>ft(s,r,u),u=>o[n]=u),i)}function Je(){return{x:0,y:0,left:0,top:0,right:window.innerWidth,bottom:window.innerHeight,width:window.innerWidth,height:window.innerHeight}}function T(t){return t===window?Je():t.getClientRects()[0]||t.getBoundingClientRect()}var I={scrollDuration:.3,scrollDurationPerHeight:.125,scrollTransform:Gt(3)},_t=v;function tn(t,e){if(e.behavior==="smooth"){let n=t.style.getPropertyValue("scroll-snap-type"),o=()=>t.style.setProperty("scroll-snap-type",n);if(t.style.setProperty("scroll-snap-type","none"),e.left!==void 0){let r=t===document.body?window.innerWidth:T(t).width,i=I.scrollDuration+I.scrollDurationPerHeight*Math.abs(e.left-t.scrollLeft)/r;_t=N(i,I.scrollTransform,"scrollLeft",t,e.left,o)}else{let r=t===document.body?window.innerHeight:T(t).height,i=I.scrollDuration+I.scrollDurationPerHeight*Math.abs(e.top-t.scrollTop)/r;_t=N(i,I.scrollTransform,"scrollTop",t,e.top,o)}}else e.left!==void 0&&(t.scrollLeft=e.left),e.top!==void 0&&(t.scrollTop=e.top)}if(!("scrollBehavior"in document.documentElement.style)){console.log("Polyfilling Element.scrollTo(options).");let t="scrollTo"in Element.prototype?Element:HTMLElement,e=t.scrollIntoView;t.prototype.scrollTo=function(n){typeof n=="object"?tn(this,n):e.apply(this,arguments)}}function y(t,e){return function(){let o=t.apply(this,arguments),r=e[o]||e.default;if(!r)throw new Error('overload() no handler for "'+o+'"');return r.apply(this,arguments)}}var en=y(S,{is:v,tag:v,html:function(t,e,n){e.innerHTML=n},text:function(t,e,n){e.textContent=n},children:function(t,e,n){e.innerHTML="",n.forEach(o=>{e.appendChild(o)})},points:j,cx:j,cy:j,r:j,preserveAspectRatio:j,viewBox:j,default:function(t,e,n){t in e?e[t]=n:e.setAttribute(t,n)}});function j(t,e,n){e.setAttribute(t,n)}function nn(t,e){for(var n=Object.keys(e),o=n.length;o--;)en(n[o],t,e[n[o]]);return t}var mt=w(nn,!0);var on="http://www.w3.org/2000/svg",Rt=document.createElement("div");var Ut=(t,e)=>e&&typeof e;function Vt(t,e){let n=document.createRange();return n.selectNode(t),n.createContextualFragment(e)}function L(t,e){var n=document.createElementNS(on,t);return e&&(n.innerHTML=e),n}var rn=y(S,{comment:function(t,e){return document.createComment(e||"")},fragment:y(Ut,{string:function(t,e,n){if(n)return Vt(n,e);let o=document.createDocumentFragment();Rt.innerHTML=e;let r=Rt.childNodes;for(;r[0];)o.appendChild(r[0]);return o},object:function(t,e,n){let o=n?Vt(n):document.createDocumentFragment();return typeof e.length=="number"?o.append.apply(o,e):mt(o,e),o},default:()=>document.createDocumentFragment()}),text:function(t,e){return document.createTextNode(e||"")},circle:L,ellipse:L,g:L,glyph:L,image:L,line:L,rect:L,use:L,path:L,pattern:L,polygon:L,polyline:L,svg:L,default:y(Ut,{string:function(t,e){let n=document.createElement(t);return n.innerHTML=e,n},object:function(t,e){let n=document.createElement(t);return typeof e.length=="number"?n.append.apply(n,e):mt(n,e),n},default:t=>{if(typeof t!="string")throw new Error('create(tag, content) accepts only a string as tag "'+typeof t+'"');return document.createElement(t)}})}),b=rn;function ht(t,e,n){let o;typeof n!="string"&&n.input!==void 0&&n.index!==void 0&&(o=n,n=o.input.slice(n.index+n[0].length+(n.consumed||0)));let r=t.exec(n);if(!r)return;let i=e(r);return o&&(o.consumed=(o.consumed||0)+r.index+r[0].length+(r.consumed||0)),i}var fr=w(ht,!0);function sn(t,e,n){throw n.input!==void 0&&n.index!==void 0&&(n=n.input),new Error('Cannot parse string "'+n+'"')}function cn(t,e,n){let o=-1;for(;++ocn(e,n,i),o);return r===void 0?e.catch?e.catch(n,o):sn(t,e,o):r}var qt=w(un,!0);var gt=v;var k=Symbol("internals"),O=Symbol("shadow"),Wt=Object.defineProperties,ln={a:HTMLAnchorElement,dl:HTMLDListElement,p:HTMLParagraphElement,br:HTMLBRElement,fieldset:HTMLFieldSetElement,hr:HTMLHRElement,img:HTMLImageElement,li:HTMLLIElement,ol:HTMLOListElement,optgroup:HTMLOptGroupElement,q:HTMLQuoteElement,textarea:HTMLTextAreaElement,td:HTMLTableCellElement,th:HTMLTableCellElement,tr:HTMLTableRowElement,tbody:HTMLTableSectionElement,thead:HTMLTableSectionElement,tfoot:HTMLTableSectionElement,ul:HTMLUListElement},an={name:{set:function(t){return this.setAttribute("name",t)},get:function(){return this.getAttribute("name")||""}},form:{get:function(){return this[k].form}},labels:{get:function(){return this[k].labels}},validity:{get:function(){return this[k].validity}},validationMessage:{get:function(){return this[k].validationMessage}},willValidate:{get:function(){return this[k].willValidate}},checkValidity:{value:function(){return this[k].checkValidity()}},reportValidity:{value:function(){return this[k].reportValidity()}}},pn={},$t={once:!0},fn=0,Nt=!1;function dn(t){return ln[t]||window["HTML"+t[0].toUpperCase()+t.slice(1)+"Element"]||(()=>{throw new Error('Constructor not found for tag "'+t+'"')})()}var mn=qt(/^\s*?\s*$|^\s*?\s*$/,{1:(t,e)=>({name:e[1]}),2:(t,e)=>({name:e[3],tag:e[2]}),catch:function(t,e){throw new SyntaxError(`dom element() – name must be of the form 'element-name' or 'tag is="element-name"' (`+e+")")}},null);function hn(t,e){if(t.hasOwnProperty(e)){let n=t[e];delete t[e],t[e]=n}return t}function gn(t,e,n){t._initialLoad=!0;let o=t.attachShadow({mode:e.mode||"closed",delegatesFocus:e.focusable||!1});if(n){let r=b("link",{rel:"stylesheet",href:n});o.append(r)}return t[O]=o,o}function wn(t){var e;if(t.attachInternals){if(e=t.attachInternals(),e.setFormValue)return e}else e={shadowRoot:t.shadowRoot};return e.input=b("input",{type:"hidden",name:t.name}),t.appendChild(e.input),e.setFormValue=function(n){this.input.value=n},e}function vn(t){t._initialAttributes={},t._n=0}function yn(t,e,n){let o=t._initialAttributes;for(;t._nfn?gn(p,e,o||e.stylesheet):void 0,c=l.formAssociated&&wn(p);return i&&(Nt=!0),e.construct&&e.construct.call(p,a,c),u&&(vn(p),Promise.resolve(1).then(function(){Xt(p,l.observedAttributes,u)})),f&&Object.keys(f).reduce(hn,p),p}return l.prototype=Object.create(s.prototype,f),f&&f.value&&(l.formAssociated=!0,Wt(l.prototype,an),(e.enable||e.disable)&&(l.prototype.formDisabledCallback=function(p){return p?e.disable&&e.disable.call(this,this[O],this[k]):e.enable&&e.enable.call(this,this[O],this[k])}),e.reset&&(l.prototype.formResetCallback=function(){return e.reset.call(this,this[O],this[k])}),e.restore&&(l.prototype.formStateRestoreCallback=function(){return e.restore.call(this,this[O],this[k])})),u&&(l.observedAttributes=Object.keys(u),l.prototype.attributeChangedCallback=function(p,a,c){if(!this._initialAttributes)return u[p].call(this,c);this._initialAttributes[p]=c,yn(this,l.observedAttributes,u)}),l.prototype.connectedCallback=function(){let p=this,a=p[O],c=p[k];if(p._initialAttributes&&Xt(p,l.observedAttributes,u),p._initialLoad){let E=a.querySelectorAll('link[rel="stylesheet"]');if(E.length){let ze=0,lt=E.length,Ht=function(Ue){++ze>=E.length&&(delete p._initialLoad,e.load&&(gt("element()","loaded",Array.from(E).map(Ve=>Ve.href).join(` -`)),e.load.call(p,a)))},_e=Ht;for(;lt--;)E[lt].addEventListener("load",Ht,$t),E[lt].addEventListener("error",_e,$t);e.connect&&e.connect.call(this,a,c)}else e.connect&&e.connect.call(this,a,c),e.load&&e.load.call(this,a,c)}else e.connect&&e.connect.call(this,a,c)},e.disconnect&&(l.prototype.disconnectedCallback=function(){return e.disconnect.call(this,this[O],this[k])}),gt("element()","<"+(i?i+" is="+r:r)+">"),window.customElements.define(r,l,i&&{extends:i}),i&&!Nt&&document.querySelectorAll('[is="'+r+'"]').forEach(p=>{Wt(p,f),e.construct&&e.construct.apply(p);let a;for(a in u){let c=p.attributes[a];c&&u[a].call(p,c.value)}e.connect&&e.connect.apply(p)}),l}function Kt(t,e){if(t===e)return!0;if(t===null||e===null||typeof t!="object"||typeof e!="object")return!1;let n=Object.keys(t),o=Object.keys(e),r=n.length;for(;r--;){if(t[n[r]]===void 0){if(e[n[r]]!==void 0)return!1}else if(!e.hasOwnProperty(n[r])||!Kt(t[n[r]],e[n[r]]))return!1;let i=o.indexOf(n[r]);i>-1&&o.splice(i,1)}for(r=o.length;r--;)if(e[o[r]]===void 0){if(t[o[r]]!==void 0)return!1}else return!1;return!0}var Zt=w(Kt,!0);function En(t,e){return e[t]}var H=w(En,!0);var Sn=Object.freeze;function Qt(){return this}var M=Sn({shift:v,push:v,forEach:v,join:function(){return""},map:Qt,filter:Qt,reduce:function(t,e){return e},length:0,each:v,pipe:S,start:v,stop:v,done:v,valueOf:function(){return null}});function vt(){return this}function yt(t){return t&&t[Symbol.iterator]}var Tn=Object.assign;function Ln(t){return t.stop?t.stop():t()}function kn(t){t.forEach(Ln),t.length=0}function D(){}Tn(D.prototype,{stop:function(){return this.stopables&&kn(this.stopables),this},done:function(e){return(this.stopables||(this.stopables=[])).push(e),this}});var Pn=Object.assign;function X(t){D.prototype.stop.apply(t);let e=-1,n;for(;n=t[++e];)t[e]=void 0,X(n)}function m(){}Pn(m.prototype,{pipe:function(t){return this[0]=t,t},stop:function(){return X(this[0]),this}});var P=Object.assign,F=Object.create;function z(t,e){e!==void 0&&t[0].push(e)}function Fn(t,e){if(t[1]){let n=-1;for(;t[++n]&&t[n]!==e;);for(;t[n++];)t[n-1]=t[n];X(e)}else t.stop()}function h(t){this.input=t}P(h.prototype,D.prototype,{push:function(t){z(this,t)},pipe:function(t){if(this[0])throw new Error("Stream: Attempt to .pipe() a unicast stream multiple times. Create a multicast stream with stream.broadcast().");return this[0]=t,this.input.pipe(this),t},map:function(t){return new Jt(this,t)},filter:function(t){return new te(this,t)},chunk:function(t){return new ne(this,t)},flatMap:function(t){return new ee(this,t)},take:function(t){return new oe(this,t)},each:function(t){return new se(this,t)},reduce:function(t,e){return new re(this,t,e)},scan:function(t,e){return new ie(this,t,e)},stop:function(){return Fn(this.input,this),this}});function Jt(t,e){this.input=t,this.fn=e}Jt.prototype=P(F(h.prototype),{push:function(e){let n=this.fn;z(this,n(e))}});function te(t,e){this.input=t,this.fn=e}te.prototype=P(F(h.prototype),{push:function(e){this.fn(e)&&z(this,e)}});function ee(t,e){this.input=t,this.fn=e}ee.prototype=P(F(h.prototype),{push:function(e){let o=this.fn(e);if(o!==void 0)if(yt(o))for(let r of o)z(this,r);else throw new Error("Stream: Cannot .flatMap() non-iterable values")}});function ne(t,e){this.input=t,this.chunk=[],typeof e=="number"?this.n=e:typeof e=="function"&&(this.fn=e)}ne.prototype=P(F(h.prototype),{fn:function(t){return t.length===this.n},push:function(e){let n=this.chunk;n.push(e),this.fn(n)&&(z(this,n),this.chunk=[])}});function oe(t,e){this.input=t,this.count=e}oe.prototype=P(F(h.prototype),{push:function(e){this[0].push(e),--this.count||this.stop()}});function re(t,e,n){return this.input=t,this.fn=e,this.value=n,this.i=0,t.pipe(this),n}re.prototype=P(F(h.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t,this.i++,this)}});function ie(t,e,n){this.input=t,this.fn=e,this.value=n}ie.prototype=P(F(h.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t),this[0].push(this.value)}});function se(t,e){this.input=t,this.push=e,t.pipe(this)}se.prototype=P(F(h.prototype),{each:null,reduce:null,pipe:null});var On=Array.prototype,An=Object.assign,Cn=Object.create;function _(t){this.buffer=t||[]}_.prototype=An(Cn(h.prototype),m.prototype,{push:function(t){t!==void 0&&this.buffer.push(t)},pipe:function(t){for(this[0]=t;this.buffer.length;)this[0].push(On.shift.apply(this.buffer));return this.buffer=this[0],t}});var In=Object.assign,jn=Object.create;function R(t,e){this.input=t,this.memory=!!(e&&e.memory),e&&e.hot&&this.pipe(M)}R.prototype=In(jn(h.prototype),{push:function(t){if(t!==void 0){this.memory&&(this.value=t);let e=-1;for(;this[++e];)this[e].push(t)}},pipe:function(t){let e=-1;for(;this[++e];);return this[e]=t,this.value!==void 0&&t.push(this.value),e===0&&this.input.pipe(this),t}});var Hn=Object.assign;function Y(t){this.promise=t}Hn(Y.prototype,m.prototype,{pipe:function(t){let e=this.promise;this[0]=t,e.then(n=>this[0].push(n)).finally(n=>this.stop())},stop:function(){m.prototype.stop.apply(this,arguments),this[0]=M}});var ue=Object.assign,le=Object.keys;function ce(t,e,n){let o=t.values,r=t.names,i=t[0];o[e]=n,(t.active||(t.active=le(o).length===r.length))&&i.push(ue({},o))}function K(t){this.inputs=t,this.active=!1}ue(K.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this.values={},this.names=le(e),this[0]=t;for(let n in e){let o=e[n];o.pipe?t.done(o.each(r=>ce(this,n,r))):o.then?o.then(r=>ce(this,n,r)):console.log("Todo: combine() raw values ?")}}});var Mn=Object.assign;function Z(t){this.inputs=t}Mn(Z.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this[0]=t;let n=-1,o;for(;o=e[++n];)if(o.pipe)o.pipe(t);else if(o.then)o.then(r=>t.push(r));else{let r=-1;for(;++r0}function Gn(t,e,n){return t[n]=e.shift(),t}function zn(t){return[]}function bt(t,e,n,o){n.push(o),e.every(Bn)&&t.push(e.reduce(Gn,{}))}function Q(t){this.inputs=t,this.buffers=xt.map.call(t,zn)}Dn(Q.prototype,m.prototype,{pipe:function(t){let e=this.inputs,n=this.buffers;this[0]=t,xt.forEach.call(e,(o,r)=>{let i=n[r];o.each?t.done(o.each(s=>bt(t,n,i,s))):o.then?o.then(s=>bt(t,n,i,s)):xt.forEach.call(o,s=>bt(t,n,i,s))})},stop:function(){let t=this.inputs,e=-1,n;for(;n=t[++e];)n.stop();return m.prototype.stop.apply(this,arguments)}});var _n=Array.prototype,ae=Object.assign;function Rn(t){throw new TypeError("Stream: invalid source object cannot be read into stream")}var g=ae(h,{of:function(){return new _(_n.slice.apply(arguments))},from:function(t){return t.pipe?new h(t):t.then?new h(new Y(t)):typeof t.length=="number"?new _(t):Rn(t)},broadcast:function(e){return new R(M,e)},combine:function(e){return new h(new K(e))},merge:function(){return new h(new Z(arguments))},zip:function(){return new h(new Q(arguments))}});ae(h.prototype,{log:vt,broadcast:function(t){return new R(this,t)}});var Un=Object.assign,Vn=/\s+/,pe={fullscreenchange:"fullscreenElement"in document?"fullscreenchange":"webkitFullscreenElement"in document?"webkitfullscreenchange":"fullscreenchange"};function fe(t){return t.which===1&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}var de=0;window.addEventListener("click",t=>de=t.timeStamp);function qn(t,e){return t.node.addEventListener(pe[e]||e,t,t.options),t}function Wn(t,e){return t.node.removeEventListener(pe[e]||e,t),t}function me(t,e,n){this.types=t.split(Vn),this.options=e,this.node=n,this.select=e&&e.select}Un(me.prototype,m.prototype,{pipe:function(t){this[0]=t,this.types.reduce(qn,this)},handleEvent:function(t){if(!(t.type==="click"&&t.timeStamp<=de)){if(this.select){let e=t.target.closest(this.select);if(!e)return;t.selectedTarget=e}this[0].push(t)}},stop:function(){this.types.reduce(Wn,this),m.prototype.stop.apply(this,arguments)}});function x(t,e){let n;return typeof t=="object"&&(n=t,t=n.type),new g(new me(t,n,e))}function Et(t){return typeof t}var $n=/^\s*([+-]?\d*\.?\d+)([^\s\d]*)\s*$/;function Nn(t,e){if(typeof e=="number")return e;var n=$n.exec(e);if(!n||!t[n[2]||""]){if(!t.catch)throw new Error('Cannot parse value "'+e+'" with provided units '+Object.keys(t).join(", "));return n?t.catch(parseFloat(n[1]),n[2]):t.catch(parseFloat(e))}return t[n[2]||""](parseFloat(n[1]))}var J=w(Nn);var Xn=/px$/,he={"transform:translateX":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e);return parseFloat(n[4])},"transform:translateY":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e);return parseFloat(n[5])},"transform:scale":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.sqrt(o*o+r*r)},"transform:rotate":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.atan2(r,o)}};function tt(t){return t.split("(")[1].split(")")[0].split(/\s*,\s*/)}function U(t,e){return window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):0}function et(t,e){if(he[t])return he[t](e);var n=U(t,e);return typeof n=="string"&&Xn.test(n)?parseFloat(n):n}var nt,ot;function Yn(){if(!nt){let t=document.documentElement.style.fontSize;document.documentElement.style.fontSize="100%",nt=et("font-size",document.documentElement),document.documentElement.style.fontSize=t||""}return nt}function Kn(){return ot||(ot=et("font-size",document.documentElement)),ot}window.addEventListener("resize",()=>{nt=void 0,ot=void 0});var A=y(Et,{number:S,string:J({em:function(t){return Yn()*t},px:function(t){return t},rem:function(t){return Kn()*t},vw:function(t){return window.innerWidth*t/100},vh:function(t){return window.innerHeight*t/100},vmin:function(t){return window.innerWidthn?o:n}n=nq.maxScrollInterval?q.maxScrollInterval:1.4*n}function it(){return ye}function xe(t){let e=T(t),n=window.getComputedStyle(t,null),o=A(n.getPropertyValue("padding-left")),r=A(n.getPropertyValue("padding-right"));return e.leftPadding=e.left+o,e.rightPadding=e.left+e.width-r,e.centrePadding=e.leftPadding+(e.width-o-r)/2,e}function Ee(t){let e=window.getComputedStyle(t,null).getPropertyValue("scroll-snap-align");return e.endsWith("start")?"left":e.endsWith("end")?"right":"centre"}function Se(t,e,n){let o=xe(t),r=T(e),i=Ee(e);t.scrollTo({top:t.scrollTop,left:t.scrollLeft+(i==="left"?r.left-o.leftPadding:i==="right"?r.right-o.rightPadding:r.left+r.width/2-o.centrePadding),behavior:n})}function Te(t,e){return Se(t,e,"smooth"),e}function B(t,e){return t.style.setProperty("scroll-behavior","auto","important"),Se(t,e,"auto"),t.style.setProperty("scroll-behavior",""),e}function Le(t,e){let{leftPadding:n,rightPadding:o,centrePadding:r}=xe(t),i=e.length,s;for(;s=e[--i];){let u=T(s);if(!u)continue;let f=Ee(s),l=u.width/2+(f==="left"?n:f==="right"?o:r);if((f==="left"?u.left:f==="right"?u.right:u.left+u.width/2)<=l)break}return s}function ke(t){return!!t.dataset.slideIndex}function Pe(t){let{scroller:e,elements:n,children:o}=t,r=Le(e,n);return ke(r)?o[r.dataset.slideIndex]:r}function Fe(t){let{scroller:e,children:n,elements:o}=t,r=Le(e,o),i;!r||(ke(r)?(i=n[r.dataset.slideIndex],B(e,i)):i=r,t.activations.push(i))}function to(t,e){t.style.setProperty("scroll-snap-type",""),e.stop()}var Oe=y((t,e)=>e.type,{pointerdown:function(t,e){return t.e0=e,t.x0=e.clientX,t.y0=e.clientY,t},pointermove:function(t,e){let n=e.clientX,o=e.clientY;if(!t.gesturing){if(Math.abs(n-t.x0)(clearTimeout(s),setTimeout(to,it()*1e3,n,l)))}return t.gesturing=!1,t.e0=void 0,t.x0=void 0,t.y0=void 0,t.pointers=void 0,t.scrollLeft0=void 0,t}});var eo=Object.assign,no={capture:!0,passive:!0};function oo(t,e){t.timer=void 0,t.stream.push(e);let n=t.times;n.length>1&&be(n),n.length=0}function Ae(t){this.element=t,this.times=[]}eo(Ae.prototype,m.prototype,{pipe:function(t){this.stream=t,this.element.addEventListener("scroll",this,no)},handleEvent:function(t){let e=t.timeStamp/1e3;this.times.push(e),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(oo,it()*1e3,this,t)},stop:function(){this.element.removeEventListener("scroll",this),m.prototype.stop.apply(this,arguments)}});function kt(t){return new g(new Ae(t))}function ro(t,e,n){let o=n.length,r=-1/0;for(;o--;){let l=T(n[o]),p=l.x+l.width;r=p>r?p:r}let i=T(e),s=getComputedStyle(t),u=A(s.paddingLeft||0),f=A(s.paddingRight||0);return u+f+r-i.x}function io(t,e,n){let o=ro(t,e,n);t.style.setProperty("--scroll-width",o+"px")}function so(t){return!t.dataset.slideIndex}var Ce={construct:function(t){let e=b("slot",{part:"slides"}),n=b("div",{class:"scroller",children:[e]}),o=b("nav",{part:"controls",children:[b("slot",{name:"controls"})]});t.append(n,o);let r=g.of(),i=g.combine({host:r,elements:x("slotchange",e).map(c=>a.elements=e.assignedElements())}).broadcast({memory:!0}),s=i.map(c=>{let E=c.elements.filter(so);return Zt(a.children,E)?void 0:a.children=E}).broadcast({memory:!0}),u=g.of(null),f=g.of(),l=f.filter(c=>a.active!==c&&Lt("slide-active",c)).map(c=>a.active=c).broadcast({memory:!0,hot:!0}),p=x("click",t).filter(fe).broadcast(),a=this[d]={clickSuppressTime:-1/0,host:this,style:window.getComputedStyle(this),scroller:n,slides:e,controls:o,load:r,views:u,activations:f,actives:l,slotchanges:i,mutations:s,clicks:p};g.merge(i,x("resize",window)).each(c=>io(n,e,a.elements)),g.combine({children:s,child:u}).map(c=>!a.active||a.active===c.child?B(n,c.children.includes(c.child)?c.child:c.children[0]):(Te(n,c.child),c.child.dataset.slideIndex?c.children[c.child.dataset.slideIndex]:c.child)).pipe(f),kt(n).filter(()=>!a.gesturing).each(c=>Fe(a)),Tt({threshold:"0.25rem",device:"mouse"},t).filter(()=>a.children.length>1).each(c=>{a.pointers=c,c.reduce(Oe,a)}),p.each(c=>{c.timeStamp-a.clickSuppressTime<120&&(c.preventDefault(),c.stopPropagation())}),x("fullscreenchange",window).each(c=>{(c.target===this||c.target.contains(this))&&B(n,a.active)}),x("focusin",this).map(c=>a.children.indexOf(c.target)!==-1?c.target:a.children.find(E=>E.contains(c.target))).pipe(u),x("keydown",this).filter(()=>document.activeElement===this||this.contains(document.activeElement)).map(y(H("keyCode"),{37:c=>(c.preventDefault(),a.elements[a.elements.indexOf(a.active)-1]),39:c=>(c.preventDefault(),a.elements[a.elements.indexOf(a.active)+1]),default:v})).pipe(u)},load:function(t){this[d].load.push(this)}};function st(t,e){function n(o,r){if(t.getState(o)!==r)return t[r?"enable":"disable"](o)}return{attribute:function(o){return n(this,o!==null)},set:function(o){return n(this,!!o)},get:function(){return t.getState(this)}}}function Pt(t,e){t.remove&&t.remove(e);let n;for(;(n=t.indexOf(e))!==-1;)t.splice(n,1);return e}var ls=w(Pt,!0);var co=Object.assign;function W(t,e){this.element=t,this.definitions=e,this.tokens=[]}co(W.prototype,{contains:function(t){return this.tokens.includes(t)},add:function(){let t=arguments.length;for(;t--;){let e=arguments[t];!this.tokens.includes(e)&&this.definitions[e]&&(this.definitions[e].enable(this.element),this.tokens.push(e))}},remove:function(){let t=arguments.length;for(;t--;){let e=arguments[t];this.tokens.includes(e)&&(this.definitions[e].disable(this.element),Pt(this.tokens,e))}},supports:function(t){return!!this.definitions[t]}});var uo=Array.prototype;function lo(t,e){let n=t.tokens.slice(),o=uo.slice.apply(e),r=n.length;for(;r--;)o.includes(n[r])&&n.splice(r,1);t.remove.apply(t,n),t.add.apply(t,o)}function Ft(t){let e=Symbol("TokenList");function n(o,r){let i=o[e]||(o[e]=new W(o,t));lo(i,r.trim().split(/\s+/))}return{attribute:function(o){n(this,o||"")},set:function(o){n(this,o+"")},get:function(){return this[e]||(this[e]=new W(this,t))}}}var Ot={};G(Ot,{disable:()=>ho,enable:()=>mo,getState:()=>go});var ao=J({s:S,ms:t=>t/1e3});function po(t){let{active:e,children:n,elements:o,host:r}=t,i=o.indexOf(e),s=o[i+1]||n[0];t.autoplay.timer=null,!!s&&(r.active=s)}function fo(t){let{active:e,style:n}=t,o=ao(window.getComputedStyle(e).getPropertyValue("--slide-duration")||n.getPropertyValue("--slide-duration"));clearTimeout(t.autoplay.timer),t.autoplay.timer=setTimeout(po,o*1e3,t)}function Ie(t){clearTimeout(t.autoplay.timer),t.autoplay.timer=null}function mo(t){let e=t[d],{actives:n}=e,o=e.autoplay={},r=g.merge([!1],x("pointerenter pointerleave",t).map(s=>s.type==="pointerenter")),i=g.merge([t.contains(document.activeElement)],x("focusin focusout",t).map(y(H("type"),{focusin:s=>!0,focusout:s=>t.contains(s.relatedTarget)}))).map((s=>u=>s===u?void 0:s=u)());o.updates=g.combine({active:n,hover:r,focus:i}).each(s=>s.hover||s.focus?Ie(e):fo(e))}function ho(t){let e=t[d];Ie(e),e.autoplay.updates.stop(),e.autoplay=void 0}function go(t){return!!t[d].autoplay}var At={};G(At,{disable:()=>yo,enable:()=>vo,getState:()=>bo});function je(t,e){let n=t.cloneNode(!0);return n.dataset.slideIndex=e,n.removeAttribute("id"),n.setAttribute("aria-hidden","true"),n.tabIndex="-1",n}function wo(t){let{active:e,children:n,host:o,scroller:r}=t;if(t.loop.prepends&&(t.loop.prepends.forEach(c=>c.remove()),t.loop.appends.forEach(c=>c.remove()),t.loop.prepends=void 0,t.loop.appends=void 0),n.length<2){t.elements=t.slides.assignedElements();return}let i=o.clientWidth,s=n.map(T),u=s[1].left,f=s[s.length-2].right,l=1;for(;s[++l]&&s[l].leftf-i;);let a=n.slice(++l).map((c,E)=>je(c,l+E));o.prepend.apply(o,a),o.append.apply(o,p),t.loop.prepends=a,t.loop.appends=p,t.elements=t.slides.assignedElements(),B(r,e||n[0])}function vo(t){let e=t[d],{mutations:n}=e,o=e.loop={};o.renders=n.each(r=>wo(e))}function yo(t){let e=t[d];e.loop&&(e.loop.prepends&&e.loop.prepends.forEach(n=>n.remove()),e.loop.appends&&e.loop.appends.forEach(n=>n.remove()),e.loop.renders.stop(),e.loop=void 0)}function bo(t){return!!t[d].loop}var Ct={};G(Ct,{disable:()=>Eo,enable:()=>xo,getState:()=>So});function C(t){if(typeof t!="object"||arguments.length>1)throw new Error("delegate() now takes an object of selector:fn pairs.");let e=Object.keys(t);return function(o){let r=o.target,i=-1;for(;e[++i];){let s=r.closest(e[i]);if(s)return t[e[i]](s,...arguments)}}}function He(t,e,n,o){o===0?t.hidden=!0:t.hidden=!1,o===n.length-1?e.hidden=!0:e.hidden=!1}function xo(t){let e=t[d],{actives:n,clicks:o,slotchanges:r}=e,i=e.navigation={prev:b("button",{part:"prev-button",type:"button",name:"navigation",value:"-1",html:"Previous"}),next:b("button",{part:"next-button",type:"button",name:"navigation",value:"1",html:"Next"})};e.controls.prepend(i.prev,i.next),i.updates=g.combine({active:n,changes:r}).each(s=>He(i.prev,i.next,s.changes.elements,s.changes.elements.indexOf(s.active))),i.clicks=o.each(C({'[name="navigation"]':function(s,u){let f=parseFloat(s.value),l=e.elements.indexOf(e.active)+f,p=e.elements[l];!p||(t.active=p,He(i.prev,i.next,e.elements,l))}}))}function Eo(t){let e=t[d];e.navigation.prev.remove(),e.navigation.next.remove(),e.navigation.updates.stop(),e.navigation.clicks.stop(),e.navigation=void 0}function So(t){return!!t[d].navigation}var It={};G(It,{disable:()=>ko,enable:()=>Lo,getState:()=>Po});function Me(t,e,n){let{active:o,buttons:r,index:i}=t;if(o===n)return;i>-1&&(t.activeSpan.remove(),r.children[i].part.remove("page-button-active"));let s=e.indexOf(n);s!==-1&&(r.children[s].part.add("page-button-active"),r.children[s].append(t.activeSpan),t.index=s,t.active=n)}function To(t,e,n,o){return e.buttons&&(e.buttons.remove(),e.buttons=void 0),o.length<2||(e.buttons=b("div",{part:"pagination",children:o.map((r,i)=>b("button",{part:"page-button",type:"button",name:"pagination",value:i}))}),t.append(e.buttons)),o.length}function Lo(t){let e=t[d],{shadow:n,actives:o,clicks:r,mutations:i}=e,s=e.pagination={activeSpan:b("span",{class:"invisible",text:"(Current slide)"})};s.mutations=i.each(()=>To(e.controls,s,n,e.children)),s.updates=g.combine({active:o,children:i}).filter(u=>u.children.length>1).each(u=>Me(s,e.children,e.active)),s.clicks=r.each(C({'[name="pagination"]':function(u,f){let{host:l}=e,p=e.children,a=p[u.value];!a||(l.active=a,Me(s,p,a))}}))}function ko(t){let e=t[d];e.pagination.buttons.remove(),e.pagination.mutations.stop(),e.pagination.updates.stop(),e.pagination.clicks.stop(),e.pagination=void 0}function Po(t){return!!t[d].pagination}var jt={};G(jt,{disable:()=>Oo,enable:()=>Fo,getState:()=>Ao});var De=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled;function ct(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}function Be(t){return t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():void 0}function ut(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}function Fo(t){let e=t[d];if(!De)return;let n=e.fullscreen={button:b("button",{part:"fullscreen-button",type:"button",name:"fullscreen",html:"Open in fullscreen"})};e.controls.append(n.button),n.changes=x("fullscreenchange",t).filter(o=>ct()===t).each(o=>{n.button.part.add("fullscreen-button-active"),n.button.innerHTML="Close fullscreen",document.activeElement!==t&&(n.tabIndex=t.tabIndex,t.tabIndex<0&&(t.tabIndex=0),t.focus());let r=x("fullscreenchange",t).each(i=>{n.button.part.remove("fullscreen-button-active"),n.button.innerHTML="Open in fullscreen",t.tabIndex=n.tabIndex,n.tabIndex=void 0,r.stop()})}),n.clicks=e.clicks.each(C({'[name="fullscreen"]':(o,r)=>{let i=ct();if(i===t){ut();return}i&&ut(),Be(t)}}))}function Oo(t){let e=t[d];ct()===t&&ut(),e.fullscreen.button.remove(),e.fullscreen.clicks.stop(),e.fullscreen.changes.stop(),e.fullscreen=void 0}function Ao(t){return!!t[d].fullscreen}var Ge={active:{attribute:function(t){this.active=t},set:function(t){let e=this[d],n=typeof t=="object"?t:/^\d/.test(t+"")?this.querySelector("#\\3"+(t+"")[0]+" "+(t+"").slice(1)):/^\#/.test(t+"")?this.querySelector(t):this.querySelector("#"+t);if(!n)throw new Error("Cannot set active – not a child of slide-show");e.views.push(n)},get:function(){return this[d].active}},autoplay:st(Ot,"autoplay"),controls:Ft({navigation:Ct,pagination:It,fullscreen:jt}),loop:st(At,"loop")};var Co=import.meta.url.replace(/\/[^\/]*\.js/,"/slide-show-shadow.css"),Qs=wt('
        ',Ce,Ge,Co);export{Qs as default}; +var qe=Object.defineProperty;var Dt=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var Bt=(t,e)=>{var n={};for(var o in t)We.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Dt)for(var o of Dt(t))e.indexOf(o)<0&&$e.call(t,o)&&(n[o]=t[o]);return n};var z=(t,e)=>{for(var n in e)qe(t,n,{get:e[n],enumerable:!0})};function N(t){var e=new Map;return function(o){if(e.has(o))return e.get(o);var r=t(o);return e.set(o,r),r}}var Ne=Array.prototype;function Xe(t,e){return typeof t=="function"?t.apply(null,e):t}function Gt(t,e,n){n=n||t.length;var o=n===1?e?t:N(t):N(function(r){return Gt(function(){var i=[r];return i.push.apply(i,arguments),t.apply(null,i)},e,n-1)});return function r(i){return arguments.length===0?r:arguments.length===1?o(i):arguments.length>=n?t.apply(null,arguments):Xe(o(i),Ne.slice.call(arguments,1))}}var v=Gt;function Ye(t,e){return 1-Math.pow(1-e,t)}var zt=v(Ye);function y(){}function pt(t,e){return e(t)}function S(t){return t}var Ke=Array.prototype;function ft(){let t=arguments;return t.length?e=>Ke.reduce.call(t,pt,e):S}function dt(t,e,n){return n*(e-t)+t}var Ze=window.performance,_t=window.requestAnimationFrame,Qe=window.cancelAnimationFrame;function mt(t,e,n){var o=Ze.now();function r(s){var a=(s-o)/(t*1e3);a<1?(a>0&&e(a),i=_t(r)):(e(1),n&&n())}var i=_t(r);return function(){Qe(i)}}function X(t,e,n,o,r,i){let s=o[n];return mt(t,ft(e,a=>dt(s,r,a),a=>o[n]=a),i)}function Je(){return{x:0,y:0,left:0,top:0,right:window.innerWidth,bottom:window.innerHeight,width:window.innerWidth,height:window.innerHeight}}function T(t){return t===window?Je():t.getClientRects()[0]||t.getBoundingClientRect()}var M={scrollDuration:.3,scrollDurationPerHeight:.125,scrollTransform:zt(3)},Rt=y;function tn(t,e){if(e.behavior==="smooth"){let n=t.style.getPropertyValue("scroll-snap-type"),o=()=>{let r=t.scrollLeft,i=t.scrollTop;t.style.setProperty("scroll-snap-type",n),t.scrollLeft=r,t.scrollTop=i};if(t.style.setProperty("scroll-snap-type","none"),e.left!==void 0){let r=t===document.body?window.innerWidth:T(t).width,i=M.scrollDuration+M.scrollDurationPerHeight*Math.abs(e.left-t.scrollLeft)/r;Rt=X(i,M.scrollTransform,"scrollLeft",t,e.left,o)}else{let r=t===document.body?window.innerHeight:T(t).height,i=M.scrollDuration+M.scrollDurationPerHeight*Math.abs(e.top-t.scrollTop)/r;Rt=X(i,M.scrollTransform,"scrollTop",t,e.top,o)}}else e.left!==void 0&&(t.scrollLeft=e.left),e.top!==void 0&&(t.scrollTop=e.top)}if(!("scrollBehavior"in document.documentElement.style)){window.console&&console.log("Polyfilling Element.scrollTo(options)");let t="scrollTo"in Element.prototype?Element:HTMLElement,e=t.scrollIntoView;t.prototype.scrollTo=function(n){typeof n=="object"?tn(this,n):e.apply(this,arguments)}}function b(t,e){return function(){let o=t.apply(this,arguments),r=e[o]||e.default;if(!r)throw new Error('overload() no handler for "'+o+'"');return r.apply(this,arguments)}}var en=b(S,{is:y,tag:y,html:function(t,e,n){e.innerHTML=n},text:function(t,e,n){e.textContent=n},children:function(t,e,n){e.innerHTML="",n.forEach(o=>{e.appendChild(o)})},points:D,cx:D,cy:D,r:D,preserveAspectRatio:D,viewBox:D,default:function(t,e,n){t in e?e[t]=n:e.setAttribute(t,n)}});function D(t,e,n){e.setAttribute(t,n)}function nn(t,e){for(var n=Object.keys(e),o=n.length;o--;)en(n[o],t,e[n[o]]);return t}var ht=v(nn,!0);var on="http://www.w3.org/2000/svg",Ut=document.createElement("div");var Vt=(t,e)=>e&&typeof e;function qt(t,e){let n=document.createRange();return n.selectNode(t),n.createContextualFragment(e)}function L(t,e){var n=document.createElementNS(on,t);return e&&(n.innerHTML=e),n}var rn=b(S,{comment:function(t,e){return document.createComment(e||"")},fragment:b(Vt,{string:function(t,e,n){if(n)return qt(n,e);let o=document.createDocumentFragment();Ut.innerHTML=e;let r=Ut.childNodes;for(;r[0];)o.appendChild(r[0]);return o},object:function(t,e,n){let o=n?qt(n):document.createDocumentFragment();return typeof e.length=="number"?o.append.apply(o,e):ht(o,e),o},default:()=>document.createDocumentFragment()}),text:function(t,e){return document.createTextNode(e||"")},circle:L,ellipse:L,g:L,glyph:L,image:L,line:L,rect:L,use:L,path:L,pattern:L,polygon:L,polyline:L,svg:L,default:b(Vt,{string:function(t,e){let n=document.createElement(t);return n.innerHTML=e,n},object:function(t,e){let n=document.createElement(t);return typeof e.length=="number"?n.append.apply(n,e):ht(n,e),n},default:t=>{if(typeof t!="string")throw new Error('create(tag, content) accepts only a string as tag "'+typeof t+'"');return document.createElement(t)}})}),x=rn;function gt(t,e,n){let o;typeof n!="string"&&n.input!==void 0&&n.index!==void 0&&(o=n,n=o.input.slice(n.index+n[0].length+(n.consumed||0)));let r=t.exec(n);if(!r)return;let i=e(r);return o&&(o.consumed=(o.consumed||0)+r.index+r[0].length+(r.consumed||0)),i}var fr=v(gt,!0);function sn(t,e,n){throw n.input!==void 0&&n.index!==void 0&&(n=n.input),new Error('Cannot parse string "'+n+'"')}function cn(t,e,n){let o=-1;for(;++ocn(e,n,i),o);return r===void 0?e.catch?e.catch(n,o):sn(t,e,o):r}var Wt=v(un,!0);var wt=y;var k=Symbol("internals"),A=Symbol("shadow"),$t=Object.defineProperties,ln={a:HTMLAnchorElement,dl:HTMLDListElement,p:HTMLParagraphElement,br:HTMLBRElement,fieldset:HTMLFieldSetElement,hr:HTMLHRElement,img:HTMLImageElement,li:HTMLLIElement,ol:HTMLOListElement,optgroup:HTMLOptGroupElement,q:HTMLQuoteElement,textarea:HTMLTextAreaElement,td:HTMLTableCellElement,th:HTMLTableCellElement,tr:HTMLTableRowElement,tbody:HTMLTableSectionElement,thead:HTMLTableSectionElement,tfoot:HTMLTableSectionElement,ul:HTMLUListElement},an={name:{set:function(t){return this.setAttribute("name",t)},get:function(){return this.getAttribute("name")||""}},form:{get:function(){return this[k].form}},labels:{get:function(){return this[k].labels}},validity:{get:function(){return this[k].validity}},validationMessage:{get:function(){return this[k].validationMessage}},willValidate:{get:function(){return this[k].willValidate}},checkValidity:{value:function(){return this[k].checkValidity()}},reportValidity:{value:function(){return this[k].reportValidity()}}},pn={},Nt={once:!0},fn=0,Xt=!1;function dn(t){return ln[t]||window["HTML"+t[0].toUpperCase()+t.slice(1)+"Element"]||(()=>{throw new Error('Constructor not found for tag "'+t+'"')})()}var mn=Wt(/^\s*?\s*$|^\s*?\s*$/,{1:(t,e)=>({name:e[1]}),2:(t,e)=>({name:e[3],tag:e[2]}),catch:function(t,e){throw new SyntaxError(`dom element() – name must be of the form 'element-name' or 'tag is="element-name"' (`+e+")")}},null);function hn(t,e){if(t.hasOwnProperty(e)){let n=t[e];delete t[e],t[e]=n}return t}function gn(t,e,n){t._initialLoad=!0;let o=t.attachShadow({mode:e.mode||"closed",delegatesFocus:e.focusable||!1});if(n){let r=x("link",{rel:"stylesheet",href:n});o.append(r)}return t[A]=o,o}function wn(t){var e;if(t.attachInternals){if(e=t.attachInternals(),e.setFormValue)return e}else e={shadowRoot:t.shadowRoot};return e.input=x("input",{type:"hidden",name:t.name}),t.appendChild(e.input),e.setFormValue=function(n){this.input.value=n},e}function vn(t){t._initialAttributes={},t._n=0}function yn(t,e,n){let o=t._initialAttributes;for(;t._nfn?gn(p,e,o||e.stylesheet):void 0,u=l.formAssociated&&wn(p);return i&&(Xt=!0),e.construct&&e.construct.call(p,g,u),a&&(vn(p),Promise.resolve(1).then(function(){Yt(p,l.observedAttributes,a)})),f&&Object.keys(f).reduce(hn,p),p}return l.prototype=Object.create(s.prototype,f),f&&f.value&&(l.formAssociated=!0,$t(l.prototype,an),(e.enable||e.disable)&&(l.prototype.formDisabledCallback=function(p){return p?e.disable&&e.disable.call(this,this[A],this[k]):e.enable&&e.enable.call(this,this[A],this[k])}),e.reset&&(l.prototype.formResetCallback=function(){return e.reset.call(this,this[A],this[k])}),e.restore&&(l.prototype.formStateRestoreCallback=function(){return e.restore.call(this,this[A],this[k])})),a&&(l.observedAttributes=Object.keys(a),l.prototype.attributeChangedCallback=function(p,g,u){if(!this._initialAttributes)return a[p].call(this,u);this._initialAttributes[p]=u,yn(this,l.observedAttributes,a)}),l.prototype.connectedCallback=function(){let p=this,g=p[A],u=p[k];if(p._initialAttributes&&Yt(p,l.observedAttributes,a),p._initialLoad){let c=g.querySelectorAll('link[rel="stylesheet"]');if(c.length){let H=0,at=c.length,Mt=function(Ue){++H>=c.length&&(delete p._initialLoad,e.load&&(wt("element()","loaded",Array.from(c).map(Ve=>Ve.href).join(` +`)),e.load.call(p,g)))},_e=Mt;for(;at--;)c[at].addEventListener("load",Mt,Nt),c[at].addEventListener("error",_e,Nt);e.connect&&e.connect.call(this,g,u)}else e.connect&&e.connect.call(this,g,u),e.load&&e.load.call(this,g,u)}else e.connect&&e.connect.call(this,g,u)},e.disconnect&&(l.prototype.disconnectedCallback=function(){return e.disconnect.call(this,this[A],this[k])}),wt("element()","<"+(i?i+" is="+r:r)+">"),window.customElements.define(r,l,i&&{extends:i}),i&&!Xt&&document.querySelectorAll('[is="'+r+'"]').forEach(p=>{$t(p,f),e.construct&&e.construct.apply(p);let g;for(g in a){let u=p.attributes[g];u&&a[g].call(p,u.value)}e.connect&&e.connect.apply(p)}),l}function Zt(t,e){if(t===e)return!0;if(t===null||e===null||typeof t!="object"||typeof e!="object")return!1;let n=Object.keys(t),o=Object.keys(e),r=n.length;for(;r--;){if(t[n[r]]===void 0){if(e[n[r]]!==void 0)return!1}else if(!e.hasOwnProperty(n[r])||!Zt(t[n[r]],e[n[r]]))return!1;let i=o.indexOf(n[r]);i>-1&&o.splice(i,1)}for(r=o.length;r--;)if(e[o[r]]===void 0){if(t[o[r]]!==void 0)return!1}else return!1;return!0}var Qt=v(Zt,!0);function En(t,e){return e[t]}var B=v(En,!0);var Sn=Object.freeze;function Jt(){return this}var P=Sn({shift:y,push:y,forEach:y,join:function(){return""},map:Jt,filter:Jt,includes:function(){return!1},reduce:function(t,e){return e},length:0,each:y,pipe:S,start:y,stop:y,done:y,valueOf:function(){return null}});function yt(){return this}function bt(t){return t&&t[Symbol.iterator]}var Tn=Object.assign;function Ln(t){return t.stop?t.stop():t()}function kn(t){t.forEach(Ln),t.length=0}function G(){}Tn(G.prototype,{stop:function(){return this.stopables&&kn(this.stopables),this},done:function(e){return(this.stopables||(this.stopables=[])).push(e),this}});var Pn=Object.assign;function Y(t){G.prototype.stop.apply(t);let e=-1,n;for(;n=t[++e];)t[e]=void 0,Y(n)}function m(){}Pn(m.prototype,{pipe:function(t){return this[0]=t,t},stop:function(){return Y(this[0]),this}});var F=Object.assign,O=Object.create;function _(t,e){e!==void 0&&t[0].push(e)}function Fn(t,e){if(t[1]){let n=-1;for(;t[++n]&&t[n]!==e;);for(;t[n++];)t[n-1]=t[n];Y(e)}else t.stop()}function w(t){this.input=t}F(w.prototype,G.prototype,{push:function(t){_(this,t)},pipe:function(t){if(this[0])throw new Error("Stream: Attempt to .pipe() a unicast stream multiple times. Create a multicast stream with stream.broadcast().");return this[0]=t,this.input.pipe(this),t},map:function(t){return new te(this,t)},filter:function(t){return new ee(this,t)},chunk:function(t){return new oe(this,t)},flatMap:function(t){return new ne(this,t)},take:function(t){return new re(this,t)},each:function(t){return new ce(this,t)},reduce:function(t,e){return new ie(this,t,e)},scan:function(t,e){return new se(this,t,e)},stop:function(){return Fn(this.input,this),this}});function te(t,e){this.input=t,this.fn=e}te.prototype=F(O(w.prototype),{push:function(e){let n=this.fn;_(this,n(e))}});function ee(t,e){this.input=t,this.fn=e}ee.prototype=F(O(w.prototype),{push:function(e){this.fn(e)&&_(this,e)}});function ne(t,e){this.input=t,this.fn=e}ne.prototype=F(O(w.prototype),{push:function(e){let o=this.fn(e);if(o!==void 0)if(bt(o))for(let r of o)_(this,r);else throw new Error("Stream: Cannot .flatMap() non-iterable values")}});function oe(t,e){this.input=t,this.chunk=[],typeof e=="number"?this.n=e:typeof e=="function"&&(this.fn=e)}oe.prototype=F(O(w.prototype),{fn:function(t){return t.length===this.n},push:function(e){let n=this.chunk;n.push(e),this.fn(n)&&(_(this,n),this.chunk=[])}});function re(t,e){this.input=t,this.count=e}re.prototype=F(O(w.prototype),{push:function(e){this[0].push(e),--this.count||this.stop()}});function ie(t,e,n){return this.input=t,this.fn=e,this.value=n,this.i=0,t.pipe(this),n}ie.prototype=F(O(w.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t,this.i++,this)}});function se(t,e,n){this.input=t,this.fn=e,this.value=n}se.prototype=F(O(w.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t),this[0].push(this.value)}});function ce(t,e){this.input=t,this.push=e,t.pipe(this)}ce.prototype=F(O(w.prototype),{each:null,reduce:null,pipe:null});var On=Array.prototype,An=Object.assign,Cn=Object.create;function R(t){this.buffer=t||[]}R.prototype=An(Cn(w.prototype),m.prototype,{push:function(t){t!==void 0&&this.buffer.push(t)},pipe:function(t){for(this[0]=t;this.buffer.length;)this[0].push(On.shift.apply(this.buffer));return this.buffer=this[0],t}});var In=Object.assign,jn=Object.create;function U(t,e){this.input=t,this.memory=!!(e&&e.memory),e&&e.hot&&this.pipe(P)}U.prototype=In(jn(w.prototype),{push:function(t){if(t!==void 0){this.memory&&(this.value=t);let e=-1;for(;this[++e];)this[e].push(t)}},pipe:function(t){let e=-1;for(;this[++e];);return this[e]=t,this.value!==void 0&&t.push(this.value),e===0&&this.input.pipe(this),t}});var Hn=Object.assign;function K(t){this.promise=t}Hn(K.prototype,m.prototype,{pipe:function(t){let e=this.promise;this[0]=t,e.then(n=>this[0].push(n)).finally(n=>this.stop())},stop:function(){m.prototype.stop.apply(this,arguments),this[0]=P}});var le=Object.assign,ae=Object.keys;function ue(t,e,n){let o=t.values,r=t.names,i=t[0];o[e]=n,(t.active||(t.active=ae(o).length===r.length))&&i.push(le({},o))}function Z(t){this.inputs=t,this.active=!1}le(Z.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this.values={},this.names=ae(e),this[0]=t;for(let n in e){let o=e[n];o.pipe?t.done(o.each(r=>ue(this,n,r))):o.then?o.then(r=>ue(this,n,r)):console.log("Todo: combine() raw values ?")}}});var Mn=Object.assign;function Q(t){this.inputs=t}Mn(Q.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this[0]=t;let n=-1,o;for(;o=e[++n];)if(o.pipe)o.pipe(t);else if(o.then)o.then(r=>t.push(r));else{let r=-1;for(;++r0}function Gn(t,e,n){return t[n]=e.shift(),t}function zn(t){return[]}function xt(t,e,n,o){n.push(o),e.every(Bn)&&t.push(e.reduce(Gn,{}))}function J(t){this.inputs=t,this.buffers=Et.map.call(t,zn)}Dn(J.prototype,m.prototype,{pipe:function(t){let e=this.inputs,n=this.buffers;this[0]=t,Et.forEach.call(e,(o,r)=>{let i=n[r];o.each?t.done(o.each(s=>xt(t,n,i,s))):o.then?o.then(s=>xt(t,n,i,s)):Et.forEach.call(o,s=>xt(t,n,i,s))})},stop:function(){let t=this.inputs,e=-1,n;for(;n=t[++e];)n.stop();return m.prototype.stop.apply(this,arguments)}});var _n=Array.prototype,pe=Object.assign;function Rn(t){throw new TypeError("Stream: invalid source object cannot be read into stream")}var h=pe(w,{of:function(){return new R(_n.slice.apply(arguments))},from:function(t){return t.pipe?new w(t):t.then?new w(new K(t)):typeof t.length=="number"?new R(t):Rn(t)},broadcast:function(e){return new U(P,e)},combine:function(e){return new w(new Z(e))},merge:function(){return new w(new Q(arguments))},zip:function(){return new w(new J(arguments))}});pe(w.prototype,{log:yt,broadcast:function(t){return new U(this,t)}});var Un=Object.assign,Vn=/\s+/,fe={fullscreenchange:"fullscreenElement"in document?"fullscreenchange":"webkitFullscreenElement"in document?"webkitfullscreenchange":"fullscreenchange"};function de(t){return t.which===1&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}var me=0;window.addEventListener("click",t=>me=t.timeStamp);function qn(t,e){return t.node.addEventListener(fe[e]||e,t,t.options),t}function Wn(t,e){return t.node.removeEventListener(fe[e]||e,t),t}function he(t,e,n){this.types=t.split(Vn),this.options=e,this.node=n,this.select=e&&e.select}Un(he.prototype,m.prototype,{pipe:function(t){this[0]=t,this.types.reduce(qn,this)},handleEvent:function(t){if(!(t.type==="click"&&t.timeStamp<=me)){if(this.select){let e=t.target.closest(this.select);if(!e)return;t.selectedTarget=e}this[0].push(t)}},stop:function(){this.types.reduce(Wn,this),m.prototype.stop.apply(this,arguments)}});function E(t,e){let n;return typeof t=="object"&&(n=t,t=n.type),new h(new he(t,n,e))}function St(t){return typeof t}var $n=/^\s*([+-]?\d*\.?\d+)([^\s\d]*)\s*$/;function Nn(t,e){if(typeof e=="number")return e;var n=$n.exec(e);if(!n||!t[n[2]||""]){if(!t.catch)throw new Error('Cannot parse value "'+e+'" with provided units '+Object.keys(t).join(", "));return n?t.catch(parseFloat(n[1]),n[2]):t.catch(parseFloat(e))}return t[n[2]||""](parseFloat(n[1]))}var tt=v(Nn);var Xn=/px$/,ge={"transform:translateX":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e);return parseFloat(n[4])},"transform:translateY":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e);return parseFloat(n[5])},"transform:scale":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.sqrt(o*o+r*r)},"transform:rotate":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.atan2(r,o)}};function et(t){return t.split("(")[1].split(")")[0].split(/\s*,\s*/)}function V(t,e){return window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):0}function nt(t,e){if(ge[t])return ge[t](e);var n=V(t,e);return typeof n=="string"&&Xn.test(n)?parseFloat(n):n}var ot,rt;function Yn(){if(!ot){let t=document.documentElement.style.fontSize;document.documentElement.style.fontSize="100%",ot=nt("font-size",document.documentElement),document.documentElement.style.fontSize=t||""}return ot}function Kn(){return rt||(rt=nt("font-size",document.documentElement)),rt}window.addEventListener("resize",()=>{ot=void 0,rt=void 0});var C=b(St,{number:S,string:tt({em:function(t){return Yn()*t},px:function(t){return t},rem:function(t){return Kn()*t},vw:function(t){return window.innerWidth*t/100},vh:function(t){return window.innerHeight*t/100},vmin:function(t){return window.innerWidthn?o:n}n=nW.maxScrollInterval?W.maxScrollInterval:1.4*n}function st(){return be}function Ee(t){let e=T(t),n=window.getComputedStyle(t,null),o=C(n.getPropertyValue("padding-left")),r=C(n.getPropertyValue("padding-right"));return e.leftPadding=e.left+o,e.rightPadding=e.left+e.width-r,e.centrePadding=e.leftPadding+(e.width-o-r)/2,e}function Se(t){let e=window.getComputedStyle(t,null).getPropertyValue("scroll-snap-align");return e.endsWith("start")?"left":e.endsWith("end")?"right":"centre"}function Te(t,e,n){let o=Ee(t),r=T(e),i=Se(e);t.scrollTo({top:t.scrollTop,left:t.scrollLeft+(i==="left"?r.left-o.leftPadding:i==="right"?r.right-o.rightPadding:r.left+r.width/2-o.centrePadding),behavior:n})}function Le(t,e){return Te(t,e,"smooth"),e}function I(t,e){return t.style.setProperty("scroll-behavior","auto","important"),Te(t,e,"auto"),t.style.setProperty("scroll-behavior",""),e}function ke(t,e){let{leftPadding:n,rightPadding:o,centrePadding:r}=Ee(t),i=e.length,s;for(;s=e[--i];){let a=T(s);if(!a)continue;let f=Se(s),l=a.width/2+(f==="left"?n:f==="right"?o:r);if((f==="left"?a.left:f==="right"?a.right:a.left+a.width/2)<=l)break}return s}function Pe(t){return!!t.dataset.slideIndex}function Fe(t){let{scroller:e,elements:n,children:o}=t,r=ke(e,n);return Pe(r)?o[r.dataset.slideIndex]:r}function Oe(t){let{scroller:e,children:n,elements:o}=t,r=ke(e,o),i;!r||(Pe(r)?(i=n[r.dataset.slideIndex],I(e,i)):i=r,t.activations.push(i))}function to(t,e){t.style.setProperty("scroll-snap-type",""),e.stop()}var Ae=b((t,e)=>e.type,{pointerdown:function(t,e){return t.e0=e,t.x0=e.clientX,t.y0=e.clientY,t},pointermove:function(t,e){let n=e.clientX,o=e.clientY;if(!t.gesturing){if(Math.abs(n-t.x0)(clearTimeout(s),setTimeout(to,st()*1e3,n,l)))}return t.gesturing=!1,t.e0=void 0,t.x0=void 0,t.y0=void 0,t.pointers=void 0,t.scrollLeft0=void 0,t}});var eo=Object.assign,no={capture:!0,passive:!0};function oo(t,e){t.timer=void 0,t.stream.push(e);let n=t.times;n.length>1&&xe(n),n.length=0}function Ce(t){this.element=t,this.times=[]}eo(Ce.prototype,m.prototype,{pipe:function(t){this.stream=t,this.element.addEventListener("scroll",this,no)},handleEvent:function(t){let e=t.timeStamp/1e3;this.times.push(e),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(oo,st()*1e3,this,t)},stop:function(){this.element.removeEventListener("scroll",this),m.prototype.stop.apply(this,arguments)}});function Pt(t){return new h(new Ce(t))}function ro(t,e,n){let o=n.length,r=-1/0;for(;o--;){let l=T(n[o]),p=l.x+l.width;r=p>r?p:r}let i=T(e),s=getComputedStyle(t),a=C(s.paddingLeft||0),f=C(s.paddingRight||0);return a+f+r-i.x}function io(t,e,n){let o=ro(t,e,n);t.style.setProperty("--scroll-width",o+"px")}function so(t){return!t.dataset.slideIndex}var Ie={construct:function(t){let e=x("slot",{part:"slides"}),n=x("div",{class:"scroller",children:[e]}),o=x("nav",{part:"controls",children:[x("slot",{name:"controls"})]});t.append(n,o);let r=h.broadcast(),i=h.broadcast(),s=h.combine({host:i,elements:E("slotchange",e).map(c=>u.elements=e.assignedElements())}).broadcast({memory:!0}),a=s.map(c=>{let H=c.elements.filter(so);return Qt(u.children,H)?void 0:u.children=H}).broadcast({memory:!0,hot:!0}),f=h.of(),l=h.of(),p=l.map(c=>c.dataset.slideIndex?u.children[c.dataset.slideIndex]:c).filter(c=>u.active!==c&&kt("slide-active",c)).map(c=>u.active=c).broadcast({memory:!0,hot:!0}),g=E("click",t).filter(de).broadcast(),u=this[d]={clickSuppressTime:-1/0,connected:!1,host:this,style:window.getComputedStyle(this),elements:P,children:P,scroller:n,slides:e,controls:o,connects:r,load:i,views:f,activations:l,actives:p,slotchanges:s,mutations:a,clicks:g};h.merge(s,E("resize",window)).each(c=>io(n,e,u.elements)),h.combine({slotchanges:s,connects:r}).map(c=>u.elements.includes(u.active)?u.active:u.children[0]).map(c=>u.connected?I(n,c):c).pipe(l),h.combine({host:i,child:f}).map(c=>u.elements.includes(c.child)&&u.active!==c.child?c.child:void 0).map(c=>u.connected?u.active?Le(n,c):I(n,c):c).pipe(l),Pt(n).filter(c=>u.connected&&!u.gesturing).each(c=>Oe(u)),Lt({threshold:"0.25rem",device:"mouse"},t).filter(()=>u.children.length>1).each(c=>{u.pointers=c,c.reduce(Ae,u)}),g.each(c=>{c.timeStamp-u.clickSuppressTime<120&&(c.preventDefault(),c.stopPropagation())}),E("fullscreenchange",window).each(c=>{(c.target===this||c.target.contains(this))&&I(n,u.active)}),E("focusin",this).map(c=>u.children.indexOf(c.target)!==-1?c.target:u.children.find(H=>H.contains(c.target))).pipe(f),E("keydown",this).filter(()=>document.activeElement===this||this.contains(document.activeElement)).map(b(B("keyCode"),{37:c=>(c.preventDefault(),u.elements[u.elements.indexOf(u.active)-1]),39:c=>(c.preventDefault(),u.elements[u.elements.indexOf(u.active)+1]),default:y})).pipe(f)},load:function(t){this[d].load.push(this)},connect:function(t){let e=this[d];e.connected=!0,e.connects.push(!0)},disconnect:function(t){let e=this[d];e.connected=!1}};function ct(t,e){function n(o,r){if(t.getState(o)!==r)return t[r?"enable":"disable"](o)}return{attribute:function(o){return n(this,o!==null)},set:function(o){return n(this,!!o)},get:function(){return t.getState(this)}}}function Ft(t,e){t.remove&&t.remove(e);let n;for(;(n=t.indexOf(e))!==-1;)t.splice(n,1);return e}var as=v(Ft,!0);var co=Object.assign;function $(t,e){this.element=t,this.definitions=e,this.tokens=[]}co($.prototype,{contains:function(t){return this.tokens.includes(t)},add:function(){let t=arguments.length;for(;t--;){let e=arguments[t];!this.tokens.includes(e)&&this.definitions[e]&&(this.definitions[e].enable(this.element),this.tokens.push(e))}},remove:function(){let t=arguments.length;for(;t--;){let e=arguments[t];this.tokens.includes(e)&&(this.definitions[e].disable(this.element),Ft(this.tokens,e))}},supports:function(t){return!!this.definitions[t]}});var uo=Array.prototype;function lo(t,e){let n=t.tokens.slice(),o=uo.slice.apply(e),r=n.length;for(;r--;)o.includes(n[r])&&n.splice(r,1);t.remove.apply(t,n),t.add.apply(t,o)}function Ot(t){let e=Symbol("TokenList");function n(o,r){let i=o[e]||(o[e]=new $(o,t));lo(i,r.trim().split(/\s+/))}return{attribute:function(o){n(this,o||"")},set:function(o){n(this,o+"")},get:function(){return this[e]||(this[e]=new $(this,t))}}}var At={};z(At,{disable:()=>ho,enable:()=>mo,getState:()=>go});var ao=tt({s:S,ms:t=>t/1e3});function po(t){let{active:e,children:n,elements:o,host:r}=t,i=o.indexOf(e),s=o[i+1]||n[0];t.autoplay.timer=null,!!s&&(r.active=s)}function fo(t){let{active:e,style:n}=t,o=ao(window.getComputedStyle(e).getPropertyValue("--slide-duration")||n.getPropertyValue("--slide-duration"));clearTimeout(t.autoplay.timer),t.autoplay.timer=setTimeout(po,o*1e3,t)}function je(t){clearTimeout(t.autoplay.timer),t.autoplay.timer=null}function mo(t){let e=t[d],{actives:n}=e,o=e.autoplay={},r=h.merge([!1],E("pointerenter pointerleave",t).map(s=>s.type==="pointerenter")),i=h.merge([t.contains(document.activeElement)],E("focusin focusout",t).map(b(B("type"),{focusin:s=>!0,focusout:s=>t.contains(s.relatedTarget)}))).map((s=>a=>s===a?void 0:s=a)());o.updates=h.combine({active:n,hover:r,focus:i}).each(s=>s.hover||s.focus?je(e):fo(e))}function ho(t){let e=t[d];je(e),e.autoplay.updates.stop(),e.autoplay=void 0}function go(t){return!!t[d].autoplay}var Ct={};z(Ct,{disable:()=>yo,enable:()=>vo,getState:()=>bo});function He(t,e){let n=t.cloneNode(!0);return n.dataset.slideIndex=e,n.removeAttribute("id"),n.setAttribute("aria-hidden","true"),n.tabIndex="-1",n}function wo(t){let{active:e,children:n,host:o,scroller:r}=t;if(t.loop.prepends&&(t.loop.prepends.forEach(u=>u.remove()),t.loop.appends.forEach(u=>u.remove()),t.loop.prepends=void 0,t.loop.appends=void 0),n.length<2){t.elements=t.slides.assignedElements();return}let i=o.clientWidth,s=n.map(T),a=s[1].left,f=s[s.length-2].right,l=1;for(;s[++l]&&s[l].leftf-i;);let g=n.slice(++l).map((u,c)=>He(u,l+c));o.prepend.apply(o,g),o.append.apply(o,p),t.loop.prepends=g,t.loop.appends=p,t.elements=t.slides.assignedElements(),I(r,e||n[0])}function vo(t){let e=t[d],{mutations:n}=e,o=e.loop={};o.renders=n.each(r=>wo(e))}function yo(t){let e=t[d];e.loop&&(e.loop.prepends&&e.loop.prepends.forEach(n=>n.remove()),e.loop.appends&&e.loop.appends.forEach(n=>n.remove()),e.loop.renders.stop(),e.loop=void 0)}function bo(t){return!!t[d].loop}var It={};z(It,{disable:()=>Eo,enable:()=>xo,getState:()=>So});function j(t){if(typeof t!="object"||arguments.length>1)throw new Error("delegate() now takes an object of selector:fn pairs.");let e=Object.keys(t);return function(o){let r=o.target,i=-1;for(;e[++i];){let s=r.closest(e[i]);if(s)return t[e[i]](s,...arguments)}}}function Me(t,e,n,o){o===0?t.hidden=!0:t.hidden=!1,o===n.length-1?e.hidden=!0:e.hidden=!1}function xo(t){let e=t[d],{actives:n,clicks:o,slotchanges:r}=e,i=e.navigation={prev:x("button",{part:"prev-button",type:"button",name:"navigation",value:"-1",html:"Previous"}),next:x("button",{part:"next-button",type:"button",name:"navigation",value:"1",html:"Next"})};e.controls.prepend(i.prev,i.next),i.updates=h.combine({active:n,changes:r}).each(s=>Me(i.prev,i.next,s.changes.elements,s.changes.elements.indexOf(s.active))),i.clicks=o.each(j({'[name="navigation"]':function(s,a){let f=parseFloat(s.value),l=e.elements.indexOf(e.active)+f,p=e.elements[l];!p||(t.active=p,Me(i.prev,i.next,e.elements,l))}}))}function Eo(t){let e=t[d];e.navigation.prev.remove(),e.navigation.next.remove(),e.navigation.updates.stop(),e.navigation.clicks.stop(),e.navigation=void 0}function So(t){return!!t[d].navigation}var jt={};z(jt,{disable:()=>ko,enable:()=>Lo,getState:()=>Po});function De(t,e,n){let{active:o,buttons:r,index:i}=t;if(o===n)return;i>-1&&(t.activeSpan.remove(),r.children[i].part.remove("page-button-active"));let s=e.indexOf(n);s!==-1&&(r.children[s].part.add("page-button-active"),r.children[s].append(t.activeSpan),t.index=s,t.active=n)}function To(t,e,n,o){return e.buttons&&(e.buttons.remove(),e.buttons=void 0),o.length<2||(e.buttons=x("div",{part:"pagination",children:o.map((r,i)=>x("button",{part:"page-button",type:"button",name:"pagination",value:i}))}),t.append(e.buttons)),o.length}function Lo(t){let e=t[d],{shadow:n,actives:o,clicks:r,mutations:i}=e,s=e.pagination={activeSpan:x("span",{class:"invisible",text:"(Current slide)"})};s.mutations=i.each(()=>To(e.controls,s,n,e.children)),s.updates=h.combine({active:o,children:i}).filter(a=>a.children.length>1).each(a=>De(s,e.children,e.active)),s.clicks=r.each(j({'[name="pagination"]':function(a,f){let{host:l}=e,p=e.children,g=p[a.value];!g||(l.active=g,De(s,p,g))}}))}function ko(t){let e=t[d];e.pagination.buttons.remove(),e.pagination.mutations.stop(),e.pagination.updates.stop(),e.pagination.clicks.stop(),e.pagination=void 0}function Po(t){return!!t[d].pagination}var Ht={};z(Ht,{disable:()=>Oo,enable:()=>Fo,getState:()=>Ao});var Be=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled;function ut(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}function Ge(t){return t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():void 0}function lt(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}function Fo(t){let e=t[d];if(!Be)return;let n=e.fullscreen={button:x("button",{part:"fullscreen-button",type:"button",name:"fullscreen",html:"Open in fullscreen"})};e.controls.append(n.button),n.changes=E("fullscreenchange",t).filter(o=>ut()===t).each(o=>{n.button.part.add("fullscreen-button-active"),n.button.innerHTML="Close fullscreen",document.activeElement!==t&&(n.tabIndex=t.tabIndex,t.tabIndex<0&&(t.tabIndex=0),t.focus());let r=E("fullscreenchange",t).each(i=>{n.button.part.remove("fullscreen-button-active"),n.button.innerHTML="Open in fullscreen",t.tabIndex=n.tabIndex,n.tabIndex=void 0,r.stop()})}),n.clicks=e.clicks.each(j({'[name="fullscreen"]':(o,r)=>{let i=ut();if(i===t){lt();return}i&<(),Ge(t)}}))}function Oo(t){let e=t[d];ut()===t&<(),e.fullscreen.button.remove(),e.fullscreen.clicks.stop(),e.fullscreen.changes.stop(),e.fullscreen=void 0}function Ao(t){return!!t[d].fullscreen}var ze={active:{attribute:function(t){this.active=t},set:function(t){let e=this[d],n=typeof t=="object"?t:/^\d/.test(t+"")?this.querySelector("#\\3"+(t+"")[0]+" "+(t+"").slice(1)):/^\#/.test(t+"")?this.querySelector(t):this.querySelector("#"+t);e.views.push(n)},get:function(){return this[d].active}},autoplay:ct(At,"autoplay"),controls:Ot({navigation:It,pagination:jt,fullscreen:Ht}),loop:ct(Ct,"loop")};var Co=import.meta.url.replace(/\/[^\/]*\.js/,"/slide-show-shadow.css"),Js=vt('
          ',Ie,ze,Co);export{Js as default}; diff --git a/build/slide-show.css b/build/slide-show.css index 1aa3a96..62d2e21 100644 --- a/build/slide-show.css +++ b/build/slide-show.css @@ -1,6 +1,6 @@ /* slide-show - 1.1.5 + 1.1.6 By Stephen Band - Built 2022-05-16 23:59 */ + Built 2022-05-19 13:25 */ slide-show{display:grid;position:relative;box-sizing:border-box;padding:0;grid-auto-flow:column;grid-auto-columns:100%;grid-auto-rows:min-content;align-items:center;justify-items:stretch;scroll-snap-type:x mandatory;scroll-snap-stop:always;-webkit-scroll-behavior:smooth;scroll-behavior:smooth;overscroll-behavior-x:contain;-ms-overflow-style:none;scrollbar-width:none;padding-left:var(--padding-left, 0);padding-right:var(--padding-right, 0);scroll-padding-left:var(--padding-left, 0);scroll-padding-right:var(--padding-right, 0)}slide-show:not(:defined){overflow:scroll;overflow-y:hidden}.loading slide-show{-webkit-scroll-behavior:auto;scroll-behavior:auto}slide-show::-webkit-scrollbar{display:none}slide-show:not(:defined)>[slot]{display:none}slide-show>*{scroll-snap-align:center}slide-show:-webkit-full-screen{align-content:center}slide-show:fullscreen{align-content:center} diff --git a/build/slide-show.js b/build/slide-show.js index e57995b..2bf9c27 100644 --- a/build/slide-show.js +++ b/build/slide-show.js @@ -1,7 +1,7 @@ /* slide-show - 1.1.5 + 1.1.6 By Stephen Band - Built 2022-05-16 23:59 */ + Built 2022-05-19 13:25 */ -var qe=Object.defineProperty;var Mt=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var Dt=(t,e)=>{var n={};for(var o in t)We.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Mt)for(var o of Mt(t))e.indexOf(o)<0&&$e.call(t,o)&&(n[o]=t[o]);return n};var G=(t,e)=>{for(var n in e)qe(t,n,{get:e[n],enumerable:!0})};function $(t){var e=new Map;return function(o){if(e.has(o))return e.get(o);var r=t(o);return e.set(o,r),r}}var Ne=Array.prototype;function Xe(t,e){return typeof t=="function"?t.apply(null,e):t}function Bt(t,e,n){n=n||t.length;var o=n===1?e?t:$(t):$(function(r){return Bt(function(){var i=[r];return i.push.apply(i,arguments),t.apply(null,i)},e,n-1)});return function r(i){return arguments.length===0?r:arguments.length===1?o(i):arguments.length>=n?t.apply(null,arguments):Xe(o(i),Ne.slice.call(arguments,1))}}var w=Bt;function Ye(t,e){return 1-Math.pow(1-e,t)}var Gt=w(Ye);function v(){}function at(t,e){return e(t)}function S(t){return t}var Ke=Array.prototype;function pt(){let t=arguments;return t.length?e=>Ke.reduce.call(t,at,e):S}function ft(t,e,n){return n*(e-t)+t}var Ze=window.performance,zt=window.requestAnimationFrame,Qe=window.cancelAnimationFrame;function dt(t,e,n){var o=Ze.now();function r(s){var u=(s-o)/(t*1e3);u<1?(u>0&&e(u),i=zt(r)):(e(1),n&&n())}var i=zt(r);return function(){Qe(i)}}function N(t,e,n,o,r,i){let s=o[n];return dt(t,pt(e,u=>ft(s,r,u),u=>o[n]=u),i)}function Je(){return{x:0,y:0,left:0,top:0,right:window.innerWidth,bottom:window.innerHeight,width:window.innerWidth,height:window.innerHeight}}function T(t){return t===window?Je():t.getClientRects()[0]||t.getBoundingClientRect()}var I={scrollDuration:.3,scrollDurationPerHeight:.125,scrollTransform:Gt(3)},_t=v;function tn(t,e){if(e.behavior==="smooth"){let n=t.style.getPropertyValue("scroll-snap-type"),o=()=>t.style.setProperty("scroll-snap-type",n);if(t.style.setProperty("scroll-snap-type","none"),e.left!==void 0){let r=t===document.body?window.innerWidth:T(t).width,i=I.scrollDuration+I.scrollDurationPerHeight*Math.abs(e.left-t.scrollLeft)/r;_t=N(i,I.scrollTransform,"scrollLeft",t,e.left,o)}else{let r=t===document.body?window.innerHeight:T(t).height,i=I.scrollDuration+I.scrollDurationPerHeight*Math.abs(e.top-t.scrollTop)/r;_t=N(i,I.scrollTransform,"scrollTop",t,e.top,o)}}else e.left!==void 0&&(t.scrollLeft=e.left),e.top!==void 0&&(t.scrollTop=e.top)}if(!("scrollBehavior"in document.documentElement.style)){console.log("Polyfilling Element.scrollTo(options).");let t="scrollTo"in Element.prototype?Element:HTMLElement,e=t.scrollIntoView;t.prototype.scrollTo=function(n){typeof n=="object"?tn(this,n):e.apply(this,arguments)}}function y(t,e){return function(){let o=t.apply(this,arguments),r=e[o]||e.default;if(!r)throw new Error('overload() no handler for "'+o+'"');return r.apply(this,arguments)}}var en=y(S,{is:v,tag:v,html:function(t,e,n){e.innerHTML=n},text:function(t,e,n){e.textContent=n},children:function(t,e,n){e.innerHTML="",n.forEach(o=>{e.appendChild(o)})},points:j,cx:j,cy:j,r:j,preserveAspectRatio:j,viewBox:j,default:function(t,e,n){t in e?e[t]=n:e.setAttribute(t,n)}});function j(t,e,n){e.setAttribute(t,n)}function nn(t,e){for(var n=Object.keys(e),o=n.length;o--;)en(n[o],t,e[n[o]]);return t}var mt=w(nn,!0);var on="http://www.w3.org/2000/svg",Rt=document.createElement("div");var Ut=(t,e)=>e&&typeof e;function Vt(t,e){let n=document.createRange();return n.selectNode(t),n.createContextualFragment(e)}function L(t,e){var n=document.createElementNS(on,t);return e&&(n.innerHTML=e),n}var rn=y(S,{comment:function(t,e){return document.createComment(e||"")},fragment:y(Ut,{string:function(t,e,n){if(n)return Vt(n,e);let o=document.createDocumentFragment();Rt.innerHTML=e;let r=Rt.childNodes;for(;r[0];)o.appendChild(r[0]);return o},object:function(t,e,n){let o=n?Vt(n):document.createDocumentFragment();return typeof e.length=="number"?o.append.apply(o,e):mt(o,e),o},default:()=>document.createDocumentFragment()}),text:function(t,e){return document.createTextNode(e||"")},circle:L,ellipse:L,g:L,glyph:L,image:L,line:L,rect:L,use:L,path:L,pattern:L,polygon:L,polyline:L,svg:L,default:y(Ut,{string:function(t,e){let n=document.createElement(t);return n.innerHTML=e,n},object:function(t,e){let n=document.createElement(t);return typeof e.length=="number"?n.append.apply(n,e):mt(n,e),n},default:t=>{if(typeof t!="string")throw new Error('create(tag, content) accepts only a string as tag "'+typeof t+'"');return document.createElement(t)}})}),b=rn;function ht(t,e,n){let o;typeof n!="string"&&n.input!==void 0&&n.index!==void 0&&(o=n,n=o.input.slice(n.index+n[0].length+(n.consumed||0)));let r=t.exec(n);if(!r)return;let i=e(r);return o&&(o.consumed=(o.consumed||0)+r.index+r[0].length+(r.consumed||0)),i}var fr=w(ht,!0);function sn(t,e,n){throw n.input!==void 0&&n.index!==void 0&&(n=n.input),new Error('Cannot parse string "'+n+'"')}function cn(t,e,n){let o=-1;for(;++ocn(e,n,i),o);return r===void 0?e.catch?e.catch(n,o):sn(t,e,o):r}var qt=w(un,!0);var gt=v;var k=Symbol("internals"),O=Symbol("shadow"),Wt=Object.defineProperties,ln={a:HTMLAnchorElement,dl:HTMLDListElement,p:HTMLParagraphElement,br:HTMLBRElement,fieldset:HTMLFieldSetElement,hr:HTMLHRElement,img:HTMLImageElement,li:HTMLLIElement,ol:HTMLOListElement,optgroup:HTMLOptGroupElement,q:HTMLQuoteElement,textarea:HTMLTextAreaElement,td:HTMLTableCellElement,th:HTMLTableCellElement,tr:HTMLTableRowElement,tbody:HTMLTableSectionElement,thead:HTMLTableSectionElement,tfoot:HTMLTableSectionElement,ul:HTMLUListElement},an={name:{set:function(t){return this.setAttribute("name",t)},get:function(){return this.getAttribute("name")||""}},form:{get:function(){return this[k].form}},labels:{get:function(){return this[k].labels}},validity:{get:function(){return this[k].validity}},validationMessage:{get:function(){return this[k].validationMessage}},willValidate:{get:function(){return this[k].willValidate}},checkValidity:{value:function(){return this[k].checkValidity()}},reportValidity:{value:function(){return this[k].reportValidity()}}},pn={},$t={once:!0},fn=0,Nt=!1;function dn(t){return ln[t]||window["HTML"+t[0].toUpperCase()+t.slice(1)+"Element"]||(()=>{throw new Error('Constructor not found for tag "'+t+'"')})()}var mn=qt(/^\s*?\s*$|^\s*?\s*$/,{1:(t,e)=>({name:e[1]}),2:(t,e)=>({name:e[3],tag:e[2]}),catch:function(t,e){throw new SyntaxError(`dom element() – name must be of the form 'element-name' or 'tag is="element-name"' (`+e+")")}},null);function hn(t,e){if(t.hasOwnProperty(e)){let n=t[e];delete t[e],t[e]=n}return t}function gn(t,e,n){t._initialLoad=!0;let o=t.attachShadow({mode:e.mode||"closed",delegatesFocus:e.focusable||!1});if(n){let r=b("link",{rel:"stylesheet",href:n});o.append(r)}return t[O]=o,o}function wn(t){var e;if(t.attachInternals){if(e=t.attachInternals(),e.setFormValue)return e}else e={shadowRoot:t.shadowRoot};return e.input=b("input",{type:"hidden",name:t.name}),t.appendChild(e.input),e.setFormValue=function(n){this.input.value=n},e}function vn(t){t._initialAttributes={},t._n=0}function yn(t,e,n){let o=t._initialAttributes;for(;t._nfn?gn(p,e,o||e.stylesheet):void 0,c=l.formAssociated&&wn(p);return i&&(Nt=!0),e.construct&&e.construct.call(p,a,c),u&&(vn(p),Promise.resolve(1).then(function(){Xt(p,l.observedAttributes,u)})),f&&Object.keys(f).reduce(hn,p),p}return l.prototype=Object.create(s.prototype,f),f&&f.value&&(l.formAssociated=!0,Wt(l.prototype,an),(e.enable||e.disable)&&(l.prototype.formDisabledCallback=function(p){return p?e.disable&&e.disable.call(this,this[O],this[k]):e.enable&&e.enable.call(this,this[O],this[k])}),e.reset&&(l.prototype.formResetCallback=function(){return e.reset.call(this,this[O],this[k])}),e.restore&&(l.prototype.formStateRestoreCallback=function(){return e.restore.call(this,this[O],this[k])})),u&&(l.observedAttributes=Object.keys(u),l.prototype.attributeChangedCallback=function(p,a,c){if(!this._initialAttributes)return u[p].call(this,c);this._initialAttributes[p]=c,yn(this,l.observedAttributes,u)}),l.prototype.connectedCallback=function(){let p=this,a=p[O],c=p[k];if(p._initialAttributes&&Xt(p,l.observedAttributes,u),p._initialLoad){let E=a.querySelectorAll('link[rel="stylesheet"]');if(E.length){let ze=0,lt=E.length,Ht=function(Ue){++ze>=E.length&&(delete p._initialLoad,e.load&&(gt("element()","loaded",Array.from(E).map(Ve=>Ve.href).join(` -`)),e.load.call(p,a)))},_e=Ht;for(;lt--;)E[lt].addEventListener("load",Ht,$t),E[lt].addEventListener("error",_e,$t);e.connect&&e.connect.call(this,a,c)}else e.connect&&e.connect.call(this,a,c),e.load&&e.load.call(this,a,c)}else e.connect&&e.connect.call(this,a,c)},e.disconnect&&(l.prototype.disconnectedCallback=function(){return e.disconnect.call(this,this[O],this[k])}),gt("element()","<"+(i?i+" is="+r:r)+">"),window.customElements.define(r,l,i&&{extends:i}),i&&!Nt&&document.querySelectorAll('[is="'+r+'"]').forEach(p=>{Wt(p,f),e.construct&&e.construct.apply(p);let a;for(a in u){let c=p.attributes[a];c&&u[a].call(p,c.value)}e.connect&&e.connect.apply(p)}),l}function Kt(t,e){if(t===e)return!0;if(t===null||e===null||typeof t!="object"||typeof e!="object")return!1;let n=Object.keys(t),o=Object.keys(e),r=n.length;for(;r--;){if(t[n[r]]===void 0){if(e[n[r]]!==void 0)return!1}else if(!e.hasOwnProperty(n[r])||!Kt(t[n[r]],e[n[r]]))return!1;let i=o.indexOf(n[r]);i>-1&&o.splice(i,1)}for(r=o.length;r--;)if(e[o[r]]===void 0){if(t[o[r]]!==void 0)return!1}else return!1;return!0}var Zt=w(Kt,!0);function En(t,e){return e[t]}var H=w(En,!0);var Sn=Object.freeze;function Qt(){return this}var M=Sn({shift:v,push:v,forEach:v,join:function(){return""},map:Qt,filter:Qt,reduce:function(t,e){return e},length:0,each:v,pipe:S,start:v,stop:v,done:v,valueOf:function(){return null}});function vt(){return this}function yt(t){return t&&t[Symbol.iterator]}var Tn=Object.assign;function Ln(t){return t.stop?t.stop():t()}function kn(t){t.forEach(Ln),t.length=0}function D(){}Tn(D.prototype,{stop:function(){return this.stopables&&kn(this.stopables),this},done:function(e){return(this.stopables||(this.stopables=[])).push(e),this}});var Pn=Object.assign;function X(t){D.prototype.stop.apply(t);let e=-1,n;for(;n=t[++e];)t[e]=void 0,X(n)}function m(){}Pn(m.prototype,{pipe:function(t){return this[0]=t,t},stop:function(){return X(this[0]),this}});var P=Object.assign,F=Object.create;function z(t,e){e!==void 0&&t[0].push(e)}function Fn(t,e){if(t[1]){let n=-1;for(;t[++n]&&t[n]!==e;);for(;t[n++];)t[n-1]=t[n];X(e)}else t.stop()}function h(t){this.input=t}P(h.prototype,D.prototype,{push:function(t){z(this,t)},pipe:function(t){if(this[0])throw new Error("Stream: Attempt to .pipe() a unicast stream multiple times. Create a multicast stream with stream.broadcast().");return this[0]=t,this.input.pipe(this),t},map:function(t){return new Jt(this,t)},filter:function(t){return new te(this,t)},chunk:function(t){return new ne(this,t)},flatMap:function(t){return new ee(this,t)},take:function(t){return new oe(this,t)},each:function(t){return new se(this,t)},reduce:function(t,e){return new re(this,t,e)},scan:function(t,e){return new ie(this,t,e)},stop:function(){return Fn(this.input,this),this}});function Jt(t,e){this.input=t,this.fn=e}Jt.prototype=P(F(h.prototype),{push:function(e){let n=this.fn;z(this,n(e))}});function te(t,e){this.input=t,this.fn=e}te.prototype=P(F(h.prototype),{push:function(e){this.fn(e)&&z(this,e)}});function ee(t,e){this.input=t,this.fn=e}ee.prototype=P(F(h.prototype),{push:function(e){let o=this.fn(e);if(o!==void 0)if(yt(o))for(let r of o)z(this,r);else throw new Error("Stream: Cannot .flatMap() non-iterable values")}});function ne(t,e){this.input=t,this.chunk=[],typeof e=="number"?this.n=e:typeof e=="function"&&(this.fn=e)}ne.prototype=P(F(h.prototype),{fn:function(t){return t.length===this.n},push:function(e){let n=this.chunk;n.push(e),this.fn(n)&&(z(this,n),this.chunk=[])}});function oe(t,e){this.input=t,this.count=e}oe.prototype=P(F(h.prototype),{push:function(e){this[0].push(e),--this.count||this.stop()}});function re(t,e,n){return this.input=t,this.fn=e,this.value=n,this.i=0,t.pipe(this),n}re.prototype=P(F(h.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t,this.i++,this)}});function ie(t,e,n){this.input=t,this.fn=e,this.value=n}ie.prototype=P(F(h.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t),this[0].push(this.value)}});function se(t,e){this.input=t,this.push=e,t.pipe(this)}se.prototype=P(F(h.prototype),{each:null,reduce:null,pipe:null});var On=Array.prototype,An=Object.assign,Cn=Object.create;function _(t){this.buffer=t||[]}_.prototype=An(Cn(h.prototype),m.prototype,{push:function(t){t!==void 0&&this.buffer.push(t)},pipe:function(t){for(this[0]=t;this.buffer.length;)this[0].push(On.shift.apply(this.buffer));return this.buffer=this[0],t}});var In=Object.assign,jn=Object.create;function R(t,e){this.input=t,this.memory=!!(e&&e.memory),e&&e.hot&&this.pipe(M)}R.prototype=In(jn(h.prototype),{push:function(t){if(t!==void 0){this.memory&&(this.value=t);let e=-1;for(;this[++e];)this[e].push(t)}},pipe:function(t){let e=-1;for(;this[++e];);return this[e]=t,this.value!==void 0&&t.push(this.value),e===0&&this.input.pipe(this),t}});var Hn=Object.assign;function Y(t){this.promise=t}Hn(Y.prototype,m.prototype,{pipe:function(t){let e=this.promise;this[0]=t,e.then(n=>this[0].push(n)).finally(n=>this.stop())},stop:function(){m.prototype.stop.apply(this,arguments),this[0]=M}});var ue=Object.assign,le=Object.keys;function ce(t,e,n){let o=t.values,r=t.names,i=t[0];o[e]=n,(t.active||(t.active=le(o).length===r.length))&&i.push(ue({},o))}function K(t){this.inputs=t,this.active=!1}ue(K.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this.values={},this.names=le(e),this[0]=t;for(let n in e){let o=e[n];o.pipe?t.done(o.each(r=>ce(this,n,r))):o.then?o.then(r=>ce(this,n,r)):console.log("Todo: combine() raw values ?")}}});var Mn=Object.assign;function Z(t){this.inputs=t}Mn(Z.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this[0]=t;let n=-1,o;for(;o=e[++n];)if(o.pipe)o.pipe(t);else if(o.then)o.then(r=>t.push(r));else{let r=-1;for(;++r0}function Gn(t,e,n){return t[n]=e.shift(),t}function zn(t){return[]}function bt(t,e,n,o){n.push(o),e.every(Bn)&&t.push(e.reduce(Gn,{}))}function Q(t){this.inputs=t,this.buffers=xt.map.call(t,zn)}Dn(Q.prototype,m.prototype,{pipe:function(t){let e=this.inputs,n=this.buffers;this[0]=t,xt.forEach.call(e,(o,r)=>{let i=n[r];o.each?t.done(o.each(s=>bt(t,n,i,s))):o.then?o.then(s=>bt(t,n,i,s)):xt.forEach.call(o,s=>bt(t,n,i,s))})},stop:function(){let t=this.inputs,e=-1,n;for(;n=t[++e];)n.stop();return m.prototype.stop.apply(this,arguments)}});var _n=Array.prototype,ae=Object.assign;function Rn(t){throw new TypeError("Stream: invalid source object cannot be read into stream")}var g=ae(h,{of:function(){return new _(_n.slice.apply(arguments))},from:function(t){return t.pipe?new h(t):t.then?new h(new Y(t)):typeof t.length=="number"?new _(t):Rn(t)},broadcast:function(e){return new R(M,e)},combine:function(e){return new h(new K(e))},merge:function(){return new h(new Z(arguments))},zip:function(){return new h(new Q(arguments))}});ae(h.prototype,{log:vt,broadcast:function(t){return new R(this,t)}});var Un=Object.assign,Vn=/\s+/,pe={fullscreenchange:"fullscreenElement"in document?"fullscreenchange":"webkitFullscreenElement"in document?"webkitfullscreenchange":"fullscreenchange"};function fe(t){return t.which===1&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}var de=0;window.addEventListener("click",t=>de=t.timeStamp);function qn(t,e){return t.node.addEventListener(pe[e]||e,t,t.options),t}function Wn(t,e){return t.node.removeEventListener(pe[e]||e,t),t}function me(t,e,n){this.types=t.split(Vn),this.options=e,this.node=n,this.select=e&&e.select}Un(me.prototype,m.prototype,{pipe:function(t){this[0]=t,this.types.reduce(qn,this)},handleEvent:function(t){if(!(t.type==="click"&&t.timeStamp<=de)){if(this.select){let e=t.target.closest(this.select);if(!e)return;t.selectedTarget=e}this[0].push(t)}},stop:function(){this.types.reduce(Wn,this),m.prototype.stop.apply(this,arguments)}});function x(t,e){let n;return typeof t=="object"&&(n=t,t=n.type),new g(new me(t,n,e))}function Et(t){return typeof t}var $n=/^\s*([+-]?\d*\.?\d+)([^\s\d]*)\s*$/;function Nn(t,e){if(typeof e=="number")return e;var n=$n.exec(e);if(!n||!t[n[2]||""]){if(!t.catch)throw new Error('Cannot parse value "'+e+'" with provided units '+Object.keys(t).join(", "));return n?t.catch(parseFloat(n[1]),n[2]):t.catch(parseFloat(e))}return t[n[2]||""](parseFloat(n[1]))}var J=w(Nn);var Xn=/px$/,he={"transform:translateX":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e);return parseFloat(n[4])},"transform:translateY":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e);return parseFloat(n[5])},"transform:scale":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.sqrt(o*o+r*r)},"transform:rotate":function(t){var e=U("transform",t);if(!e||e==="none")return 0;var n=tt(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.atan2(r,o)}};function tt(t){return t.split("(")[1].split(")")[0].split(/\s*,\s*/)}function U(t,e){return window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):0}function et(t,e){if(he[t])return he[t](e);var n=U(t,e);return typeof n=="string"&&Xn.test(n)?parseFloat(n):n}var nt,ot;function Yn(){if(!nt){let t=document.documentElement.style.fontSize;document.documentElement.style.fontSize="100%",nt=et("font-size",document.documentElement),document.documentElement.style.fontSize=t||""}return nt}function Kn(){return ot||(ot=et("font-size",document.documentElement)),ot}window.addEventListener("resize",()=>{nt=void 0,ot=void 0});var A=y(Et,{number:S,string:J({em:function(t){return Yn()*t},px:function(t){return t},rem:function(t){return Kn()*t},vw:function(t){return window.innerWidth*t/100},vh:function(t){return window.innerHeight*t/100},vmin:function(t){return window.innerWidthn?o:n}n=nq.maxScrollInterval?q.maxScrollInterval:1.4*n}function it(){return ye}function xe(t){let e=T(t),n=window.getComputedStyle(t,null),o=A(n.getPropertyValue("padding-left")),r=A(n.getPropertyValue("padding-right"));return e.leftPadding=e.left+o,e.rightPadding=e.left+e.width-r,e.centrePadding=e.leftPadding+(e.width-o-r)/2,e}function Ee(t){let e=window.getComputedStyle(t,null).getPropertyValue("scroll-snap-align");return e.endsWith("start")?"left":e.endsWith("end")?"right":"centre"}function Se(t,e,n){let o=xe(t),r=T(e),i=Ee(e);t.scrollTo({top:t.scrollTop,left:t.scrollLeft+(i==="left"?r.left-o.leftPadding:i==="right"?r.right-o.rightPadding:r.left+r.width/2-o.centrePadding),behavior:n})}function Te(t,e){return Se(t,e,"smooth"),e}function B(t,e){return t.style.setProperty("scroll-behavior","auto","important"),Se(t,e,"auto"),t.style.setProperty("scroll-behavior",""),e}function Le(t,e){let{leftPadding:n,rightPadding:o,centrePadding:r}=xe(t),i=e.length,s;for(;s=e[--i];){let u=T(s);if(!u)continue;let f=Ee(s),l=u.width/2+(f==="left"?n:f==="right"?o:r);if((f==="left"?u.left:f==="right"?u.right:u.left+u.width/2)<=l)break}return s}function ke(t){return!!t.dataset.slideIndex}function Pe(t){let{scroller:e,elements:n,children:o}=t,r=Le(e,n);return ke(r)?o[r.dataset.slideIndex]:r}function Fe(t){let{scroller:e,children:n,elements:o}=t,r=Le(e,o),i;!r||(ke(r)?(i=n[r.dataset.slideIndex],B(e,i)):i=r,t.activations.push(i))}function to(t,e){t.style.setProperty("scroll-snap-type",""),e.stop()}var Oe=y((t,e)=>e.type,{pointerdown:function(t,e){return t.e0=e,t.x0=e.clientX,t.y0=e.clientY,t},pointermove:function(t,e){let n=e.clientX,o=e.clientY;if(!t.gesturing){if(Math.abs(n-t.x0)(clearTimeout(s),setTimeout(to,it()*1e3,n,l)))}return t.gesturing=!1,t.e0=void 0,t.x0=void 0,t.y0=void 0,t.pointers=void 0,t.scrollLeft0=void 0,t}});var eo=Object.assign,no={capture:!0,passive:!0};function oo(t,e){t.timer=void 0,t.stream.push(e);let n=t.times;n.length>1&&be(n),n.length=0}function Ae(t){this.element=t,this.times=[]}eo(Ae.prototype,m.prototype,{pipe:function(t){this.stream=t,this.element.addEventListener("scroll",this,no)},handleEvent:function(t){let e=t.timeStamp/1e3;this.times.push(e),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(oo,it()*1e3,this,t)},stop:function(){this.element.removeEventListener("scroll",this),m.prototype.stop.apply(this,arguments)}});function kt(t){return new g(new Ae(t))}function ro(t,e,n){let o=n.length,r=-1/0;for(;o--;){let l=T(n[o]),p=l.x+l.width;r=p>r?p:r}let i=T(e),s=getComputedStyle(t),u=A(s.paddingLeft||0),f=A(s.paddingRight||0);return u+f+r-i.x}function io(t,e,n){let o=ro(t,e,n);t.style.setProperty("--scroll-width",o+"px")}function so(t){return!t.dataset.slideIndex}var Ce={construct:function(t){let e=b("slot",{part:"slides"}),n=b("div",{class:"scroller",children:[e]}),o=b("nav",{part:"controls",children:[b("slot",{name:"controls"})]});t.append(n,o);let r=g.of(),i=g.combine({host:r,elements:x("slotchange",e).map(c=>a.elements=e.assignedElements())}).broadcast({memory:!0}),s=i.map(c=>{let E=c.elements.filter(so);return Zt(a.children,E)?void 0:a.children=E}).broadcast({memory:!0}),u=g.of(null),f=g.of(),l=f.filter(c=>a.active!==c&&Lt("slide-active",c)).map(c=>a.active=c).broadcast({memory:!0,hot:!0}),p=x("click",t).filter(fe).broadcast(),a=this[d]={clickSuppressTime:-1/0,host:this,style:window.getComputedStyle(this),scroller:n,slides:e,controls:o,load:r,views:u,activations:f,actives:l,slotchanges:i,mutations:s,clicks:p};g.merge(i,x("resize",window)).each(c=>io(n,e,a.elements)),g.combine({children:s,child:u}).map(c=>!a.active||a.active===c.child?B(n,c.children.includes(c.child)?c.child:c.children[0]):(Te(n,c.child),c.child.dataset.slideIndex?c.children[c.child.dataset.slideIndex]:c.child)).pipe(f),kt(n).filter(()=>!a.gesturing).each(c=>Fe(a)),Tt({threshold:"0.25rem",device:"mouse"},t).filter(()=>a.children.length>1).each(c=>{a.pointers=c,c.reduce(Oe,a)}),p.each(c=>{c.timeStamp-a.clickSuppressTime<120&&(c.preventDefault(),c.stopPropagation())}),x("fullscreenchange",window).each(c=>{(c.target===this||c.target.contains(this))&&B(n,a.active)}),x("focusin",this).map(c=>a.children.indexOf(c.target)!==-1?c.target:a.children.find(E=>E.contains(c.target))).pipe(u),x("keydown",this).filter(()=>document.activeElement===this||this.contains(document.activeElement)).map(y(H("keyCode"),{37:c=>(c.preventDefault(),a.elements[a.elements.indexOf(a.active)-1]),39:c=>(c.preventDefault(),a.elements[a.elements.indexOf(a.active)+1]),default:v})).pipe(u)},load:function(t){this[d].load.push(this)}};function st(t,e){function n(o,r){if(t.getState(o)!==r)return t[r?"enable":"disable"](o)}return{attribute:function(o){return n(this,o!==null)},set:function(o){return n(this,!!o)},get:function(){return t.getState(this)}}}function Pt(t,e){t.remove&&t.remove(e);let n;for(;(n=t.indexOf(e))!==-1;)t.splice(n,1);return e}var ls=w(Pt,!0);var co=Object.assign;function W(t,e){this.element=t,this.definitions=e,this.tokens=[]}co(W.prototype,{contains:function(t){return this.tokens.includes(t)},add:function(){let t=arguments.length;for(;t--;){let e=arguments[t];!this.tokens.includes(e)&&this.definitions[e]&&(this.definitions[e].enable(this.element),this.tokens.push(e))}},remove:function(){let t=arguments.length;for(;t--;){let e=arguments[t];this.tokens.includes(e)&&(this.definitions[e].disable(this.element),Pt(this.tokens,e))}},supports:function(t){return!!this.definitions[t]}});var uo=Array.prototype;function lo(t,e){let n=t.tokens.slice(),o=uo.slice.apply(e),r=n.length;for(;r--;)o.includes(n[r])&&n.splice(r,1);t.remove.apply(t,n),t.add.apply(t,o)}function Ft(t){let e=Symbol("TokenList");function n(o,r){let i=o[e]||(o[e]=new W(o,t));lo(i,r.trim().split(/\s+/))}return{attribute:function(o){n(this,o||"")},set:function(o){n(this,o+"")},get:function(){return this[e]||(this[e]=new W(this,t))}}}var Ot={};G(Ot,{disable:()=>ho,enable:()=>mo,getState:()=>go});var ao=J({s:S,ms:t=>t/1e3});function po(t){let{active:e,children:n,elements:o,host:r}=t,i=o.indexOf(e),s=o[i+1]||n[0];t.autoplay.timer=null,!!s&&(r.active=s)}function fo(t){let{active:e,style:n}=t,o=ao(window.getComputedStyle(e).getPropertyValue("--slide-duration")||n.getPropertyValue("--slide-duration"));clearTimeout(t.autoplay.timer),t.autoplay.timer=setTimeout(po,o*1e3,t)}function Ie(t){clearTimeout(t.autoplay.timer),t.autoplay.timer=null}function mo(t){let e=t[d],{actives:n}=e,o=e.autoplay={},r=g.merge([!1],x("pointerenter pointerleave",t).map(s=>s.type==="pointerenter")),i=g.merge([t.contains(document.activeElement)],x("focusin focusout",t).map(y(H("type"),{focusin:s=>!0,focusout:s=>t.contains(s.relatedTarget)}))).map((s=>u=>s===u?void 0:s=u)());o.updates=g.combine({active:n,hover:r,focus:i}).each(s=>s.hover||s.focus?Ie(e):fo(e))}function ho(t){let e=t[d];Ie(e),e.autoplay.updates.stop(),e.autoplay=void 0}function go(t){return!!t[d].autoplay}var At={};G(At,{disable:()=>yo,enable:()=>vo,getState:()=>bo});function je(t,e){let n=t.cloneNode(!0);return n.dataset.slideIndex=e,n.removeAttribute("id"),n.setAttribute("aria-hidden","true"),n.tabIndex="-1",n}function wo(t){let{active:e,children:n,host:o,scroller:r}=t;if(t.loop.prepends&&(t.loop.prepends.forEach(c=>c.remove()),t.loop.appends.forEach(c=>c.remove()),t.loop.prepends=void 0,t.loop.appends=void 0),n.length<2){t.elements=t.slides.assignedElements();return}let i=o.clientWidth,s=n.map(T),u=s[1].left,f=s[s.length-2].right,l=1;for(;s[++l]&&s[l].leftf-i;);let a=n.slice(++l).map((c,E)=>je(c,l+E));o.prepend.apply(o,a),o.append.apply(o,p),t.loop.prepends=a,t.loop.appends=p,t.elements=t.slides.assignedElements(),B(r,e||n[0])}function vo(t){let e=t[d],{mutations:n}=e,o=e.loop={};o.renders=n.each(r=>wo(e))}function yo(t){let e=t[d];e.loop&&(e.loop.prepends&&e.loop.prepends.forEach(n=>n.remove()),e.loop.appends&&e.loop.appends.forEach(n=>n.remove()),e.loop.renders.stop(),e.loop=void 0)}function bo(t){return!!t[d].loop}var Ct={};G(Ct,{disable:()=>Eo,enable:()=>xo,getState:()=>So});function C(t){if(typeof t!="object"||arguments.length>1)throw new Error("delegate() now takes an object of selector:fn pairs.");let e=Object.keys(t);return function(o){let r=o.target,i=-1;for(;e[++i];){let s=r.closest(e[i]);if(s)return t[e[i]](s,...arguments)}}}function He(t,e,n,o){o===0?t.hidden=!0:t.hidden=!1,o===n.length-1?e.hidden=!0:e.hidden=!1}function xo(t){let e=t[d],{actives:n,clicks:o,slotchanges:r}=e,i=e.navigation={prev:b("button",{part:"prev-button",type:"button",name:"navigation",value:"-1",html:"Previous"}),next:b("button",{part:"next-button",type:"button",name:"navigation",value:"1",html:"Next"})};e.controls.prepend(i.prev,i.next),i.updates=g.combine({active:n,changes:r}).each(s=>He(i.prev,i.next,s.changes.elements,s.changes.elements.indexOf(s.active))),i.clicks=o.each(C({'[name="navigation"]':function(s,u){let f=parseFloat(s.value),l=e.elements.indexOf(e.active)+f,p=e.elements[l];!p||(t.active=p,He(i.prev,i.next,e.elements,l))}}))}function Eo(t){let e=t[d];e.navigation.prev.remove(),e.navigation.next.remove(),e.navigation.updates.stop(),e.navigation.clicks.stop(),e.navigation=void 0}function So(t){return!!t[d].navigation}var It={};G(It,{disable:()=>ko,enable:()=>Lo,getState:()=>Po});function Me(t,e,n){let{active:o,buttons:r,index:i}=t;if(o===n)return;i>-1&&(t.activeSpan.remove(),r.children[i].part.remove("page-button-active"));let s=e.indexOf(n);s!==-1&&(r.children[s].part.add("page-button-active"),r.children[s].append(t.activeSpan),t.index=s,t.active=n)}function To(t,e,n,o){return e.buttons&&(e.buttons.remove(),e.buttons=void 0),o.length<2||(e.buttons=b("div",{part:"pagination",children:o.map((r,i)=>b("button",{part:"page-button",type:"button",name:"pagination",value:i}))}),t.append(e.buttons)),o.length}function Lo(t){let e=t[d],{shadow:n,actives:o,clicks:r,mutations:i}=e,s=e.pagination={activeSpan:b("span",{class:"invisible",text:"(Current slide)"})};s.mutations=i.each(()=>To(e.controls,s,n,e.children)),s.updates=g.combine({active:o,children:i}).filter(u=>u.children.length>1).each(u=>Me(s,e.children,e.active)),s.clicks=r.each(C({'[name="pagination"]':function(u,f){let{host:l}=e,p=e.children,a=p[u.value];!a||(l.active=a,Me(s,p,a))}}))}function ko(t){let e=t[d];e.pagination.buttons.remove(),e.pagination.mutations.stop(),e.pagination.updates.stop(),e.pagination.clicks.stop(),e.pagination=void 0}function Po(t){return!!t[d].pagination}var jt={};G(jt,{disable:()=>Oo,enable:()=>Fo,getState:()=>Ao});var De=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled;function ct(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}function Be(t){return t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():void 0}function ut(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}function Fo(t){let e=t[d];if(!De)return;let n=e.fullscreen={button:b("button",{part:"fullscreen-button",type:"button",name:"fullscreen",html:"Open in fullscreen"})};e.controls.append(n.button),n.changes=x("fullscreenchange",t).filter(o=>ct()===t).each(o=>{n.button.part.add("fullscreen-button-active"),n.button.innerHTML="Close fullscreen",document.activeElement!==t&&(n.tabIndex=t.tabIndex,t.tabIndex<0&&(t.tabIndex=0),t.focus());let r=x("fullscreenchange",t).each(i=>{n.button.part.remove("fullscreen-button-active"),n.button.innerHTML="Open in fullscreen",t.tabIndex=n.tabIndex,n.tabIndex=void 0,r.stop()})}),n.clicks=e.clicks.each(C({'[name="fullscreen"]':(o,r)=>{let i=ct();if(i===t){ut();return}i&&ut(),Be(t)}}))}function Oo(t){let e=t[d];ct()===t&&ut(),e.fullscreen.button.remove(),e.fullscreen.clicks.stop(),e.fullscreen.changes.stop(),e.fullscreen=void 0}function Ao(t){return!!t[d].fullscreen}var Ge={active:{attribute:function(t){this.active=t},set:function(t){let e=this[d],n=typeof t=="object"?t:/^\d/.test(t+"")?this.querySelector("#\\3"+(t+"")[0]+" "+(t+"").slice(1)):/^\#/.test(t+"")?this.querySelector(t):this.querySelector("#"+t);if(!n)throw new Error("Cannot set active – not a child of slide-show");e.views.push(n)},get:function(){return this[d].active}},autoplay:st(Ot,"autoplay"),controls:Ft({navigation:Ct,pagination:It,fullscreen:jt}),loop:st(At,"loop")};var Co=import.meta.url.replace(/\/[^\/]*\.js/,"/slide-show-shadow.css"),Qs=wt("slide-show",Ce,Ge,Co);window.console&&window.console.log("%c%c registered (documentation at %chttps://stephen.band/slide-show/%c)","color: #3a8ab0; font-weight: 600;","color: #888888; font-weight: 400;","color: inherit; font-weight: 400;","color: #888888; font-weight: 400;");export{Qs as default}; +var qe=Object.defineProperty;var Dt=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var Bt=(t,e)=>{var n={};for(var o in t)We.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Dt)for(var o of Dt(t))e.indexOf(o)<0&&$e.call(t,o)&&(n[o]=t[o]);return n};var z=(t,e)=>{for(var n in e)qe(t,n,{get:e[n],enumerable:!0})};function N(t){var e=new Map;return function(o){if(e.has(o))return e.get(o);var r=t(o);return e.set(o,r),r}}var Ne=Array.prototype;function Xe(t,e){return typeof t=="function"?t.apply(null,e):t}function Gt(t,e,n){n=n||t.length;var o=n===1?e?t:N(t):N(function(r){return Gt(function(){var i=[r];return i.push.apply(i,arguments),t.apply(null,i)},e,n-1)});return function r(i){return arguments.length===0?r:arguments.length===1?o(i):arguments.length>=n?t.apply(null,arguments):Xe(o(i),Ne.slice.call(arguments,1))}}var v=Gt;function Ye(t,e){return 1-Math.pow(1-e,t)}var zt=v(Ye);function y(){}function pt(t,e){return e(t)}function S(t){return t}var Ke=Array.prototype;function ft(){let t=arguments;return t.length?e=>Ke.reduce.call(t,pt,e):S}function dt(t,e,n){return n*(e-t)+t}var Ze=window.performance,_t=window.requestAnimationFrame,Qe=window.cancelAnimationFrame;function mt(t,e,n){var o=Ze.now();function r(s){var a=(s-o)/(t*1e3);a<1?(a>0&&e(a),i=_t(r)):(e(1),n&&n())}var i=_t(r);return function(){Qe(i)}}function X(t,e,n,o,r,i){let s=o[n];return mt(t,ft(e,a=>dt(s,r,a),a=>o[n]=a),i)}function Je(){return{x:0,y:0,left:0,top:0,right:window.innerWidth,bottom:window.innerHeight,width:window.innerWidth,height:window.innerHeight}}function T(t){return t===window?Je():t.getClientRects()[0]||t.getBoundingClientRect()}var M={scrollDuration:.3,scrollDurationPerHeight:.125,scrollTransform:zt(3)},Rt=y;function tn(t,e){if(e.behavior==="smooth"){let n=t.style.getPropertyValue("scroll-snap-type"),o=()=>{let r=t.scrollLeft,i=t.scrollTop;t.style.setProperty("scroll-snap-type",n),t.scrollLeft=r,t.scrollTop=i};if(t.style.setProperty("scroll-snap-type","none"),e.left!==void 0){let r=t===document.body?window.innerWidth:T(t).width,i=M.scrollDuration+M.scrollDurationPerHeight*Math.abs(e.left-t.scrollLeft)/r;Rt=X(i,M.scrollTransform,"scrollLeft",t,e.left,o)}else{let r=t===document.body?window.innerHeight:T(t).height,i=M.scrollDuration+M.scrollDurationPerHeight*Math.abs(e.top-t.scrollTop)/r;Rt=X(i,M.scrollTransform,"scrollTop",t,e.top,o)}}else e.left!==void 0&&(t.scrollLeft=e.left),e.top!==void 0&&(t.scrollTop=e.top)}if(!("scrollBehavior"in document.documentElement.style)){window.console&&console.log("Polyfilling Element.scrollTo(options)");let t="scrollTo"in Element.prototype?Element:HTMLElement,e=t.scrollIntoView;t.prototype.scrollTo=function(n){typeof n=="object"?tn(this,n):e.apply(this,arguments)}}function b(t,e){return function(){let o=t.apply(this,arguments),r=e[o]||e.default;if(!r)throw new Error('overload() no handler for "'+o+'"');return r.apply(this,arguments)}}var en=b(S,{is:y,tag:y,html:function(t,e,n){e.innerHTML=n},text:function(t,e,n){e.textContent=n},children:function(t,e,n){e.innerHTML="",n.forEach(o=>{e.appendChild(o)})},points:D,cx:D,cy:D,r:D,preserveAspectRatio:D,viewBox:D,default:function(t,e,n){t in e?e[t]=n:e.setAttribute(t,n)}});function D(t,e,n){e.setAttribute(t,n)}function nn(t,e){for(var n=Object.keys(e),o=n.length;o--;)en(n[o],t,e[n[o]]);return t}var ht=v(nn,!0);var on="http://www.w3.org/2000/svg",Ut=document.createElement("div");var Vt=(t,e)=>e&&typeof e;function qt(t,e){let n=document.createRange();return n.selectNode(t),n.createContextualFragment(e)}function L(t,e){var n=document.createElementNS(on,t);return e&&(n.innerHTML=e),n}var rn=b(S,{comment:function(t,e){return document.createComment(e||"")},fragment:b(Vt,{string:function(t,e,n){if(n)return qt(n,e);let o=document.createDocumentFragment();Ut.innerHTML=e;let r=Ut.childNodes;for(;r[0];)o.appendChild(r[0]);return o},object:function(t,e,n){let o=n?qt(n):document.createDocumentFragment();return typeof e.length=="number"?o.append.apply(o,e):ht(o,e),o},default:()=>document.createDocumentFragment()}),text:function(t,e){return document.createTextNode(e||"")},circle:L,ellipse:L,g:L,glyph:L,image:L,line:L,rect:L,use:L,path:L,pattern:L,polygon:L,polyline:L,svg:L,default:b(Vt,{string:function(t,e){let n=document.createElement(t);return n.innerHTML=e,n},object:function(t,e){let n=document.createElement(t);return typeof e.length=="number"?n.append.apply(n,e):ht(n,e),n},default:t=>{if(typeof t!="string")throw new Error('create(tag, content) accepts only a string as tag "'+typeof t+'"');return document.createElement(t)}})}),x=rn;function gt(t,e,n){let o;typeof n!="string"&&n.input!==void 0&&n.index!==void 0&&(o=n,n=o.input.slice(n.index+n[0].length+(n.consumed||0)));let r=t.exec(n);if(!r)return;let i=e(r);return o&&(o.consumed=(o.consumed||0)+r.index+r[0].length+(r.consumed||0)),i}var fr=v(gt,!0);function sn(t,e,n){throw n.input!==void 0&&n.index!==void 0&&(n=n.input),new Error('Cannot parse string "'+n+'"')}function cn(t,e,n){let o=-1;for(;++ocn(e,n,i),o);return r===void 0?e.catch?e.catch(n,o):sn(t,e,o):r}var Wt=v(un,!0);var wt=y;var k=Symbol("internals"),A=Symbol("shadow"),$t=Object.defineProperties,ln={a:HTMLAnchorElement,dl:HTMLDListElement,p:HTMLParagraphElement,br:HTMLBRElement,fieldset:HTMLFieldSetElement,hr:HTMLHRElement,img:HTMLImageElement,li:HTMLLIElement,ol:HTMLOListElement,optgroup:HTMLOptGroupElement,q:HTMLQuoteElement,textarea:HTMLTextAreaElement,td:HTMLTableCellElement,th:HTMLTableCellElement,tr:HTMLTableRowElement,tbody:HTMLTableSectionElement,thead:HTMLTableSectionElement,tfoot:HTMLTableSectionElement,ul:HTMLUListElement},an={name:{set:function(t){return this.setAttribute("name",t)},get:function(){return this.getAttribute("name")||""}},form:{get:function(){return this[k].form}},labels:{get:function(){return this[k].labels}},validity:{get:function(){return this[k].validity}},validationMessage:{get:function(){return this[k].validationMessage}},willValidate:{get:function(){return this[k].willValidate}},checkValidity:{value:function(){return this[k].checkValidity()}},reportValidity:{value:function(){return this[k].reportValidity()}}},pn={},Nt={once:!0},fn=0,Xt=!1;function dn(t){return ln[t]||window["HTML"+t[0].toUpperCase()+t.slice(1)+"Element"]||(()=>{throw new Error('Constructor not found for tag "'+t+'"')})()}var mn=Wt(/^\s*?\s*$|^\s*?\s*$/,{1:(t,e)=>({name:e[1]}),2:(t,e)=>({name:e[3],tag:e[2]}),catch:function(t,e){throw new SyntaxError(`dom element() – name must be of the form 'element-name' or 'tag is="element-name"' (`+e+")")}},null);function hn(t,e){if(t.hasOwnProperty(e)){let n=t[e];delete t[e],t[e]=n}return t}function gn(t,e,n){t._initialLoad=!0;let o=t.attachShadow({mode:e.mode||"closed",delegatesFocus:e.focusable||!1});if(n){let r=x("link",{rel:"stylesheet",href:n});o.append(r)}return t[A]=o,o}function wn(t){var e;if(t.attachInternals){if(e=t.attachInternals(),e.setFormValue)return e}else e={shadowRoot:t.shadowRoot};return e.input=x("input",{type:"hidden",name:t.name}),t.appendChild(e.input),e.setFormValue=function(n){this.input.value=n},e}function vn(t){t._initialAttributes={},t._n=0}function yn(t,e,n){let o=t._initialAttributes;for(;t._nfn?gn(p,e,o||e.stylesheet):void 0,u=l.formAssociated&&wn(p);return i&&(Xt=!0),e.construct&&e.construct.call(p,g,u),a&&(vn(p),Promise.resolve(1).then(function(){Yt(p,l.observedAttributes,a)})),f&&Object.keys(f).reduce(hn,p),p}return l.prototype=Object.create(s.prototype,f),f&&f.value&&(l.formAssociated=!0,$t(l.prototype,an),(e.enable||e.disable)&&(l.prototype.formDisabledCallback=function(p){return p?e.disable&&e.disable.call(this,this[A],this[k]):e.enable&&e.enable.call(this,this[A],this[k])}),e.reset&&(l.prototype.formResetCallback=function(){return e.reset.call(this,this[A],this[k])}),e.restore&&(l.prototype.formStateRestoreCallback=function(){return e.restore.call(this,this[A],this[k])})),a&&(l.observedAttributes=Object.keys(a),l.prototype.attributeChangedCallback=function(p,g,u){if(!this._initialAttributes)return a[p].call(this,u);this._initialAttributes[p]=u,yn(this,l.observedAttributes,a)}),l.prototype.connectedCallback=function(){let p=this,g=p[A],u=p[k];if(p._initialAttributes&&Yt(p,l.observedAttributes,a),p._initialLoad){let c=g.querySelectorAll('link[rel="stylesheet"]');if(c.length){let H=0,at=c.length,Mt=function(Ue){++H>=c.length&&(delete p._initialLoad,e.load&&(wt("element()","loaded",Array.from(c).map(Ve=>Ve.href).join(` +`)),e.load.call(p,g)))},_e=Mt;for(;at--;)c[at].addEventListener("load",Mt,Nt),c[at].addEventListener("error",_e,Nt);e.connect&&e.connect.call(this,g,u)}else e.connect&&e.connect.call(this,g,u),e.load&&e.load.call(this,g,u)}else e.connect&&e.connect.call(this,g,u)},e.disconnect&&(l.prototype.disconnectedCallback=function(){return e.disconnect.call(this,this[A],this[k])}),wt("element()","<"+(i?i+" is="+r:r)+">"),window.customElements.define(r,l,i&&{extends:i}),i&&!Xt&&document.querySelectorAll('[is="'+r+'"]').forEach(p=>{$t(p,f),e.construct&&e.construct.apply(p);let g;for(g in a){let u=p.attributes[g];u&&a[g].call(p,u.value)}e.connect&&e.connect.apply(p)}),l}function Zt(t,e){if(t===e)return!0;if(t===null||e===null||typeof t!="object"||typeof e!="object")return!1;let n=Object.keys(t),o=Object.keys(e),r=n.length;for(;r--;){if(t[n[r]]===void 0){if(e[n[r]]!==void 0)return!1}else if(!e.hasOwnProperty(n[r])||!Zt(t[n[r]],e[n[r]]))return!1;let i=o.indexOf(n[r]);i>-1&&o.splice(i,1)}for(r=o.length;r--;)if(e[o[r]]===void 0){if(t[o[r]]!==void 0)return!1}else return!1;return!0}var Qt=v(Zt,!0);function En(t,e){return e[t]}var B=v(En,!0);var Sn=Object.freeze;function Jt(){return this}var P=Sn({shift:y,push:y,forEach:y,join:function(){return""},map:Jt,filter:Jt,includes:function(){return!1},reduce:function(t,e){return e},length:0,each:y,pipe:S,start:y,stop:y,done:y,valueOf:function(){return null}});function yt(){return this}function bt(t){return t&&t[Symbol.iterator]}var Tn=Object.assign;function Ln(t){return t.stop?t.stop():t()}function kn(t){t.forEach(Ln),t.length=0}function G(){}Tn(G.prototype,{stop:function(){return this.stopables&&kn(this.stopables),this},done:function(e){return(this.stopables||(this.stopables=[])).push(e),this}});var Pn=Object.assign;function Y(t){G.prototype.stop.apply(t);let e=-1,n;for(;n=t[++e];)t[e]=void 0,Y(n)}function m(){}Pn(m.prototype,{pipe:function(t){return this[0]=t,t},stop:function(){return Y(this[0]),this}});var F=Object.assign,O=Object.create;function _(t,e){e!==void 0&&t[0].push(e)}function Fn(t,e){if(t[1]){let n=-1;for(;t[++n]&&t[n]!==e;);for(;t[n++];)t[n-1]=t[n];Y(e)}else t.stop()}function w(t){this.input=t}F(w.prototype,G.prototype,{push:function(t){_(this,t)},pipe:function(t){if(this[0])throw new Error("Stream: Attempt to .pipe() a unicast stream multiple times. Create a multicast stream with stream.broadcast().");return this[0]=t,this.input.pipe(this),t},map:function(t){return new te(this,t)},filter:function(t){return new ee(this,t)},chunk:function(t){return new oe(this,t)},flatMap:function(t){return new ne(this,t)},take:function(t){return new re(this,t)},each:function(t){return new ce(this,t)},reduce:function(t,e){return new ie(this,t,e)},scan:function(t,e){return new se(this,t,e)},stop:function(){return Fn(this.input,this),this}});function te(t,e){this.input=t,this.fn=e}te.prototype=F(O(w.prototype),{push:function(e){let n=this.fn;_(this,n(e))}});function ee(t,e){this.input=t,this.fn=e}ee.prototype=F(O(w.prototype),{push:function(e){this.fn(e)&&_(this,e)}});function ne(t,e){this.input=t,this.fn=e}ne.prototype=F(O(w.prototype),{push:function(e){let o=this.fn(e);if(o!==void 0)if(bt(o))for(let r of o)_(this,r);else throw new Error("Stream: Cannot .flatMap() non-iterable values")}});function oe(t,e){this.input=t,this.chunk=[],typeof e=="number"?this.n=e:typeof e=="function"&&(this.fn=e)}oe.prototype=F(O(w.prototype),{fn:function(t){return t.length===this.n},push:function(e){let n=this.chunk;n.push(e),this.fn(n)&&(_(this,n),this.chunk=[])}});function re(t,e){this.input=t,this.count=e}re.prototype=F(O(w.prototype),{push:function(e){this[0].push(e),--this.count||this.stop()}});function ie(t,e,n){return this.input=t,this.fn=e,this.value=n,this.i=0,t.pipe(this),n}ie.prototype=F(O(w.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t,this.i++,this)}});function se(t,e,n){this.input=t,this.fn=e,this.value=n}se.prototype=F(O(w.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t),this[0].push(this.value)}});function ce(t,e){this.input=t,this.push=e,t.pipe(this)}ce.prototype=F(O(w.prototype),{each:null,reduce:null,pipe:null});var On=Array.prototype,An=Object.assign,Cn=Object.create;function R(t){this.buffer=t||[]}R.prototype=An(Cn(w.prototype),m.prototype,{push:function(t){t!==void 0&&this.buffer.push(t)},pipe:function(t){for(this[0]=t;this.buffer.length;)this[0].push(On.shift.apply(this.buffer));return this.buffer=this[0],t}});var In=Object.assign,jn=Object.create;function U(t,e){this.input=t,this.memory=!!(e&&e.memory),e&&e.hot&&this.pipe(P)}U.prototype=In(jn(w.prototype),{push:function(t){if(t!==void 0){this.memory&&(this.value=t);let e=-1;for(;this[++e];)this[e].push(t)}},pipe:function(t){let e=-1;for(;this[++e];);return this[e]=t,this.value!==void 0&&t.push(this.value),e===0&&this.input.pipe(this),t}});var Hn=Object.assign;function K(t){this.promise=t}Hn(K.prototype,m.prototype,{pipe:function(t){let e=this.promise;this[0]=t,e.then(n=>this[0].push(n)).finally(n=>this.stop())},stop:function(){m.prototype.stop.apply(this,arguments),this[0]=P}});var le=Object.assign,ae=Object.keys;function ue(t,e,n){let o=t.values,r=t.names,i=t[0];o[e]=n,(t.active||(t.active=ae(o).length===r.length))&&i.push(le({},o))}function Z(t){this.inputs=t,this.active=!1}le(Z.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this.values={},this.names=ae(e),this[0]=t;for(let n in e){let o=e[n];o.pipe?t.done(o.each(r=>ue(this,n,r))):o.then?o.then(r=>ue(this,n,r)):console.log("Todo: combine() raw values ?")}}});var Mn=Object.assign;function Q(t){this.inputs=t}Mn(Q.prototype,m.prototype,{pipe:function(t){let e=this.inputs;this[0]=t;let n=-1,o;for(;o=e[++n];)if(o.pipe)o.pipe(t);else if(o.then)o.then(r=>t.push(r));else{let r=-1;for(;++r0}function Gn(t,e,n){return t[n]=e.shift(),t}function zn(t){return[]}function xt(t,e,n,o){n.push(o),e.every(Bn)&&t.push(e.reduce(Gn,{}))}function J(t){this.inputs=t,this.buffers=Et.map.call(t,zn)}Dn(J.prototype,m.prototype,{pipe:function(t){let e=this.inputs,n=this.buffers;this[0]=t,Et.forEach.call(e,(o,r)=>{let i=n[r];o.each?t.done(o.each(s=>xt(t,n,i,s))):o.then?o.then(s=>xt(t,n,i,s)):Et.forEach.call(o,s=>xt(t,n,i,s))})},stop:function(){let t=this.inputs,e=-1,n;for(;n=t[++e];)n.stop();return m.prototype.stop.apply(this,arguments)}});var _n=Array.prototype,pe=Object.assign;function Rn(t){throw new TypeError("Stream: invalid source object cannot be read into stream")}var h=pe(w,{of:function(){return new R(_n.slice.apply(arguments))},from:function(t){return t.pipe?new w(t):t.then?new w(new K(t)):typeof t.length=="number"?new R(t):Rn(t)},broadcast:function(e){return new U(P,e)},combine:function(e){return new w(new Z(e))},merge:function(){return new w(new Q(arguments))},zip:function(){return new w(new J(arguments))}});pe(w.prototype,{log:yt,broadcast:function(t){return new U(this,t)}});var Un=Object.assign,Vn=/\s+/,fe={fullscreenchange:"fullscreenElement"in document?"fullscreenchange":"webkitFullscreenElement"in document?"webkitfullscreenchange":"fullscreenchange"};function de(t){return t.which===1&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}var me=0;window.addEventListener("click",t=>me=t.timeStamp);function qn(t,e){return t.node.addEventListener(fe[e]||e,t,t.options),t}function Wn(t,e){return t.node.removeEventListener(fe[e]||e,t),t}function he(t,e,n){this.types=t.split(Vn),this.options=e,this.node=n,this.select=e&&e.select}Un(he.prototype,m.prototype,{pipe:function(t){this[0]=t,this.types.reduce(qn,this)},handleEvent:function(t){if(!(t.type==="click"&&t.timeStamp<=me)){if(this.select){let e=t.target.closest(this.select);if(!e)return;t.selectedTarget=e}this[0].push(t)}},stop:function(){this.types.reduce(Wn,this),m.prototype.stop.apply(this,arguments)}});function E(t,e){let n;return typeof t=="object"&&(n=t,t=n.type),new h(new he(t,n,e))}function St(t){return typeof t}var $n=/^\s*([+-]?\d*\.?\d+)([^\s\d]*)\s*$/;function Nn(t,e){if(typeof e=="number")return e;var n=$n.exec(e);if(!n||!t[n[2]||""]){if(!t.catch)throw new Error('Cannot parse value "'+e+'" with provided units '+Object.keys(t).join(", "));return n?t.catch(parseFloat(n[1]),n[2]):t.catch(parseFloat(e))}return t[n[2]||""](parseFloat(n[1]))}var tt=v(Nn);var Xn=/px$/,ge={"transform:translateX":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e);return parseFloat(n[4])},"transform:translateY":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e);return parseFloat(n[5])},"transform:scale":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.sqrt(o*o+r*r)},"transform:rotate":function(t){var e=V("transform",t);if(!e||e==="none")return 0;var n=et(e),o=parseFloat(n[0]),r=parseFloat(n[1]);return Math.atan2(r,o)}};function et(t){return t.split("(")[1].split(")")[0].split(/\s*,\s*/)}function V(t,e){return window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):0}function nt(t,e){if(ge[t])return ge[t](e);var n=V(t,e);return typeof n=="string"&&Xn.test(n)?parseFloat(n):n}var ot,rt;function Yn(){if(!ot){let t=document.documentElement.style.fontSize;document.documentElement.style.fontSize="100%",ot=nt("font-size",document.documentElement),document.documentElement.style.fontSize=t||""}return ot}function Kn(){return rt||(rt=nt("font-size",document.documentElement)),rt}window.addEventListener("resize",()=>{ot=void 0,rt=void 0});var C=b(St,{number:S,string:tt({em:function(t){return Yn()*t},px:function(t){return t},rem:function(t){return Kn()*t},vw:function(t){return window.innerWidth*t/100},vh:function(t){return window.innerHeight*t/100},vmin:function(t){return window.innerWidthn?o:n}n=nW.maxScrollInterval?W.maxScrollInterval:1.4*n}function st(){return be}function Ee(t){let e=T(t),n=window.getComputedStyle(t,null),o=C(n.getPropertyValue("padding-left")),r=C(n.getPropertyValue("padding-right"));return e.leftPadding=e.left+o,e.rightPadding=e.left+e.width-r,e.centrePadding=e.leftPadding+(e.width-o-r)/2,e}function Se(t){let e=window.getComputedStyle(t,null).getPropertyValue("scroll-snap-align");return e.endsWith("start")?"left":e.endsWith("end")?"right":"centre"}function Te(t,e,n){let o=Ee(t),r=T(e),i=Se(e);t.scrollTo({top:t.scrollTop,left:t.scrollLeft+(i==="left"?r.left-o.leftPadding:i==="right"?r.right-o.rightPadding:r.left+r.width/2-o.centrePadding),behavior:n})}function Le(t,e){return Te(t,e,"smooth"),e}function I(t,e){return t.style.setProperty("scroll-behavior","auto","important"),Te(t,e,"auto"),t.style.setProperty("scroll-behavior",""),e}function ke(t,e){let{leftPadding:n,rightPadding:o,centrePadding:r}=Ee(t),i=e.length,s;for(;s=e[--i];){let a=T(s);if(!a)continue;let f=Se(s),l=a.width/2+(f==="left"?n:f==="right"?o:r);if((f==="left"?a.left:f==="right"?a.right:a.left+a.width/2)<=l)break}return s}function Pe(t){return!!t.dataset.slideIndex}function Fe(t){let{scroller:e,elements:n,children:o}=t,r=ke(e,n);return Pe(r)?o[r.dataset.slideIndex]:r}function Oe(t){let{scroller:e,children:n,elements:o}=t,r=ke(e,o),i;!r||(Pe(r)?(i=n[r.dataset.slideIndex],I(e,i)):i=r,t.activations.push(i))}function to(t,e){t.style.setProperty("scroll-snap-type",""),e.stop()}var Ae=b((t,e)=>e.type,{pointerdown:function(t,e){return t.e0=e,t.x0=e.clientX,t.y0=e.clientY,t},pointermove:function(t,e){let n=e.clientX,o=e.clientY;if(!t.gesturing){if(Math.abs(n-t.x0)(clearTimeout(s),setTimeout(to,st()*1e3,n,l)))}return t.gesturing=!1,t.e0=void 0,t.x0=void 0,t.y0=void 0,t.pointers=void 0,t.scrollLeft0=void 0,t}});var eo=Object.assign,no={capture:!0,passive:!0};function oo(t,e){t.timer=void 0,t.stream.push(e);let n=t.times;n.length>1&&xe(n),n.length=0}function Ce(t){this.element=t,this.times=[]}eo(Ce.prototype,m.prototype,{pipe:function(t){this.stream=t,this.element.addEventListener("scroll",this,no)},handleEvent:function(t){let e=t.timeStamp/1e3;this.times.push(e),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(oo,st()*1e3,this,t)},stop:function(){this.element.removeEventListener("scroll",this),m.prototype.stop.apply(this,arguments)}});function Pt(t){return new h(new Ce(t))}function ro(t,e,n){let o=n.length,r=-1/0;for(;o--;){let l=T(n[o]),p=l.x+l.width;r=p>r?p:r}let i=T(e),s=getComputedStyle(t),a=C(s.paddingLeft||0),f=C(s.paddingRight||0);return a+f+r-i.x}function io(t,e,n){let o=ro(t,e,n);t.style.setProperty("--scroll-width",o+"px")}function so(t){return!t.dataset.slideIndex}var Ie={construct:function(t){let e=x("slot",{part:"slides"}),n=x("div",{class:"scroller",children:[e]}),o=x("nav",{part:"controls",children:[x("slot",{name:"controls"})]});t.append(n,o);let r=h.broadcast(),i=h.broadcast(),s=h.combine({host:i,elements:E("slotchange",e).map(c=>u.elements=e.assignedElements())}).broadcast({memory:!0}),a=s.map(c=>{let H=c.elements.filter(so);return Qt(u.children,H)?void 0:u.children=H}).broadcast({memory:!0,hot:!0}),f=h.of(),l=h.of(),p=l.map(c=>c.dataset.slideIndex?u.children[c.dataset.slideIndex]:c).filter(c=>u.active!==c&&kt("slide-active",c)).map(c=>u.active=c).broadcast({memory:!0,hot:!0}),g=E("click",t).filter(de).broadcast(),u=this[d]={clickSuppressTime:-1/0,connected:!1,host:this,style:window.getComputedStyle(this),elements:P,children:P,scroller:n,slides:e,controls:o,connects:r,load:i,views:f,activations:l,actives:p,slotchanges:s,mutations:a,clicks:g};h.merge(s,E("resize",window)).each(c=>io(n,e,u.elements)),h.combine({slotchanges:s,connects:r}).map(c=>u.elements.includes(u.active)?u.active:u.children[0]).map(c=>u.connected?I(n,c):c).pipe(l),h.combine({host:i,child:f}).map(c=>u.elements.includes(c.child)&&u.active!==c.child?c.child:void 0).map(c=>u.connected?u.active?Le(n,c):I(n,c):c).pipe(l),Pt(n).filter(c=>u.connected&&!u.gesturing).each(c=>Oe(u)),Lt({threshold:"0.25rem",device:"mouse"},t).filter(()=>u.children.length>1).each(c=>{u.pointers=c,c.reduce(Ae,u)}),g.each(c=>{c.timeStamp-u.clickSuppressTime<120&&(c.preventDefault(),c.stopPropagation())}),E("fullscreenchange",window).each(c=>{(c.target===this||c.target.contains(this))&&I(n,u.active)}),E("focusin",this).map(c=>u.children.indexOf(c.target)!==-1?c.target:u.children.find(H=>H.contains(c.target))).pipe(f),E("keydown",this).filter(()=>document.activeElement===this||this.contains(document.activeElement)).map(b(B("keyCode"),{37:c=>(c.preventDefault(),u.elements[u.elements.indexOf(u.active)-1]),39:c=>(c.preventDefault(),u.elements[u.elements.indexOf(u.active)+1]),default:y})).pipe(f)},load:function(t){this[d].load.push(this)},connect:function(t){let e=this[d];e.connected=!0,e.connects.push(!0)},disconnect:function(t){let e=this[d];e.connected=!1}};function ct(t,e){function n(o,r){if(t.getState(o)!==r)return t[r?"enable":"disable"](o)}return{attribute:function(o){return n(this,o!==null)},set:function(o){return n(this,!!o)},get:function(){return t.getState(this)}}}function Ft(t,e){t.remove&&t.remove(e);let n;for(;(n=t.indexOf(e))!==-1;)t.splice(n,1);return e}var as=v(Ft,!0);var co=Object.assign;function $(t,e){this.element=t,this.definitions=e,this.tokens=[]}co($.prototype,{contains:function(t){return this.tokens.includes(t)},add:function(){let t=arguments.length;for(;t--;){let e=arguments[t];!this.tokens.includes(e)&&this.definitions[e]&&(this.definitions[e].enable(this.element),this.tokens.push(e))}},remove:function(){let t=arguments.length;for(;t--;){let e=arguments[t];this.tokens.includes(e)&&(this.definitions[e].disable(this.element),Ft(this.tokens,e))}},supports:function(t){return!!this.definitions[t]}});var uo=Array.prototype;function lo(t,e){let n=t.tokens.slice(),o=uo.slice.apply(e),r=n.length;for(;r--;)o.includes(n[r])&&n.splice(r,1);t.remove.apply(t,n),t.add.apply(t,o)}function Ot(t){let e=Symbol("TokenList");function n(o,r){let i=o[e]||(o[e]=new $(o,t));lo(i,r.trim().split(/\s+/))}return{attribute:function(o){n(this,o||"")},set:function(o){n(this,o+"")},get:function(){return this[e]||(this[e]=new $(this,t))}}}var At={};z(At,{disable:()=>ho,enable:()=>mo,getState:()=>go});var ao=tt({s:S,ms:t=>t/1e3});function po(t){let{active:e,children:n,elements:o,host:r}=t,i=o.indexOf(e),s=o[i+1]||n[0];t.autoplay.timer=null,!!s&&(r.active=s)}function fo(t){let{active:e,style:n}=t,o=ao(window.getComputedStyle(e).getPropertyValue("--slide-duration")||n.getPropertyValue("--slide-duration"));clearTimeout(t.autoplay.timer),t.autoplay.timer=setTimeout(po,o*1e3,t)}function je(t){clearTimeout(t.autoplay.timer),t.autoplay.timer=null}function mo(t){let e=t[d],{actives:n}=e,o=e.autoplay={},r=h.merge([!1],E("pointerenter pointerleave",t).map(s=>s.type==="pointerenter")),i=h.merge([t.contains(document.activeElement)],E("focusin focusout",t).map(b(B("type"),{focusin:s=>!0,focusout:s=>t.contains(s.relatedTarget)}))).map((s=>a=>s===a?void 0:s=a)());o.updates=h.combine({active:n,hover:r,focus:i}).each(s=>s.hover||s.focus?je(e):fo(e))}function ho(t){let e=t[d];je(e),e.autoplay.updates.stop(),e.autoplay=void 0}function go(t){return!!t[d].autoplay}var Ct={};z(Ct,{disable:()=>yo,enable:()=>vo,getState:()=>bo});function He(t,e){let n=t.cloneNode(!0);return n.dataset.slideIndex=e,n.removeAttribute("id"),n.setAttribute("aria-hidden","true"),n.tabIndex="-1",n}function wo(t){let{active:e,children:n,host:o,scroller:r}=t;if(t.loop.prepends&&(t.loop.prepends.forEach(u=>u.remove()),t.loop.appends.forEach(u=>u.remove()),t.loop.prepends=void 0,t.loop.appends=void 0),n.length<2){t.elements=t.slides.assignedElements();return}let i=o.clientWidth,s=n.map(T),a=s[1].left,f=s[s.length-2].right,l=1;for(;s[++l]&&s[l].leftf-i;);let g=n.slice(++l).map((u,c)=>He(u,l+c));o.prepend.apply(o,g),o.append.apply(o,p),t.loop.prepends=g,t.loop.appends=p,t.elements=t.slides.assignedElements(),I(r,e||n[0])}function vo(t){let e=t[d],{mutations:n}=e,o=e.loop={};o.renders=n.each(r=>wo(e))}function yo(t){let e=t[d];e.loop&&(e.loop.prepends&&e.loop.prepends.forEach(n=>n.remove()),e.loop.appends&&e.loop.appends.forEach(n=>n.remove()),e.loop.renders.stop(),e.loop=void 0)}function bo(t){return!!t[d].loop}var It={};z(It,{disable:()=>Eo,enable:()=>xo,getState:()=>So});function j(t){if(typeof t!="object"||arguments.length>1)throw new Error("delegate() now takes an object of selector:fn pairs.");let e=Object.keys(t);return function(o){let r=o.target,i=-1;for(;e[++i];){let s=r.closest(e[i]);if(s)return t[e[i]](s,...arguments)}}}function Me(t,e,n,o){o===0?t.hidden=!0:t.hidden=!1,o===n.length-1?e.hidden=!0:e.hidden=!1}function xo(t){let e=t[d],{actives:n,clicks:o,slotchanges:r}=e,i=e.navigation={prev:x("button",{part:"prev-button",type:"button",name:"navigation",value:"-1",html:"Previous"}),next:x("button",{part:"next-button",type:"button",name:"navigation",value:"1",html:"Next"})};e.controls.prepend(i.prev,i.next),i.updates=h.combine({active:n,changes:r}).each(s=>Me(i.prev,i.next,s.changes.elements,s.changes.elements.indexOf(s.active))),i.clicks=o.each(j({'[name="navigation"]':function(s,a){let f=parseFloat(s.value),l=e.elements.indexOf(e.active)+f,p=e.elements[l];!p||(t.active=p,Me(i.prev,i.next,e.elements,l))}}))}function Eo(t){let e=t[d];e.navigation.prev.remove(),e.navigation.next.remove(),e.navigation.updates.stop(),e.navigation.clicks.stop(),e.navigation=void 0}function So(t){return!!t[d].navigation}var jt={};z(jt,{disable:()=>ko,enable:()=>Lo,getState:()=>Po});function De(t,e,n){let{active:o,buttons:r,index:i}=t;if(o===n)return;i>-1&&(t.activeSpan.remove(),r.children[i].part.remove("page-button-active"));let s=e.indexOf(n);s!==-1&&(r.children[s].part.add("page-button-active"),r.children[s].append(t.activeSpan),t.index=s,t.active=n)}function To(t,e,n,o){return e.buttons&&(e.buttons.remove(),e.buttons=void 0),o.length<2||(e.buttons=x("div",{part:"pagination",children:o.map((r,i)=>x("button",{part:"page-button",type:"button",name:"pagination",value:i}))}),t.append(e.buttons)),o.length}function Lo(t){let e=t[d],{shadow:n,actives:o,clicks:r,mutations:i}=e,s=e.pagination={activeSpan:x("span",{class:"invisible",text:"(Current slide)"})};s.mutations=i.each(()=>To(e.controls,s,n,e.children)),s.updates=h.combine({active:o,children:i}).filter(a=>a.children.length>1).each(a=>De(s,e.children,e.active)),s.clicks=r.each(j({'[name="pagination"]':function(a,f){let{host:l}=e,p=e.children,g=p[a.value];!g||(l.active=g,De(s,p,g))}}))}function ko(t){let e=t[d];e.pagination.buttons.remove(),e.pagination.mutations.stop(),e.pagination.updates.stop(),e.pagination.clicks.stop(),e.pagination=void 0}function Po(t){return!!t[d].pagination}var Ht={};z(Ht,{disable:()=>Oo,enable:()=>Fo,getState:()=>Ao});var Be=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled;function ut(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}function Ge(t){return t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():void 0}function lt(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}function Fo(t){let e=t[d];if(!Be)return;let n=e.fullscreen={button:x("button",{part:"fullscreen-button",type:"button",name:"fullscreen",html:"Open in fullscreen"})};e.controls.append(n.button),n.changes=E("fullscreenchange",t).filter(o=>ut()===t).each(o=>{n.button.part.add("fullscreen-button-active"),n.button.innerHTML="Close fullscreen",document.activeElement!==t&&(n.tabIndex=t.tabIndex,t.tabIndex<0&&(t.tabIndex=0),t.focus());let r=E("fullscreenchange",t).each(i=>{n.button.part.remove("fullscreen-button-active"),n.button.innerHTML="Open in fullscreen",t.tabIndex=n.tabIndex,n.tabIndex=void 0,r.stop()})}),n.clicks=e.clicks.each(j({'[name="fullscreen"]':(o,r)=>{let i=ut();if(i===t){lt();return}i&<(),Ge(t)}}))}function Oo(t){let e=t[d];ut()===t&<(),e.fullscreen.button.remove(),e.fullscreen.clicks.stop(),e.fullscreen.changes.stop(),e.fullscreen=void 0}function Ao(t){return!!t[d].fullscreen}var ze={active:{attribute:function(t){this.active=t},set:function(t){let e=this[d],n=typeof t=="object"?t:/^\d/.test(t+"")?this.querySelector("#\\3"+(t+"")[0]+" "+(t+"").slice(1)):/^\#/.test(t+"")?this.querySelector(t):this.querySelector("#"+t);e.views.push(n)},get:function(){return this[d].active}},autoplay:ct(At,"autoplay"),controls:Ot({navigation:It,pagination:jt,fullscreen:Ht}),loop:ct(Ct,"loop")};var Co=import.meta.url.replace(/\/[^\/]*\.js/,"/slide-show-shadow.css"),Js=vt("slide-show",Ie,ze,Co);window.console&&window.console.log("%c%c registered (documentation at %chttps://stephen.band/slide-show/%c)","color: #3a8ab0; font-weight: 600;","color: #888888; font-weight: 400;","color: inherit; font-weight: 400;","color: #888888; font-weight: 400;");export{Js as default}; diff --git a/docs/docs.css b/docs/docs.css index 4f42c9e..58ec9c7 100644 --- a/docs/docs.css +++ b/docs/docs.css @@ -1,6 +1,6 @@ /* slide-show - 1.1.4 + 1.1.6 By Stephen Band - Built 2022-05-16 23:33 */ + Built 2022-05-19 13:25 */ :root>body template{display:none!important}:-webkit-full-screen{width:100vw!important;height:100vh!important;margin:0!important}:-moz-full-screen{width:100vw!important;height:100vh!important;margin:0!important}:-ms-fullscreen{width:100vw!important;height:100vh!important;margin:0!important}:fullscreen{width:100vw!important;height:100vh!important;margin:0!important}html,body,div,span,object,iframe,canvas,img,svg,audio,video,track,math,h1,h2,h3,h4,h5,h6,hr,p,blockquote,pre,a,abbr,address,code,time,kbd,samp,br,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,slot,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,details,dialog,figure,figcaption,footer,header,nav,main,section,summary,form,fieldset,label,legend,input,output,button,select,textarea,progress,meter,:before,:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-background-origin:padding-box;-moz-background-origin:padding;background-origin:padding-box;background-repeat:no-repeat}html,:root{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{padding:0;margin:0}article,aside,details,dialog,figcaption,figure,footer,header,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}p,dl,input,menu,ol,ul,dd,pre{margin:auto}hr{margin:0}code,kbd,samp,pre{font-family:monospace,monospace;font-size:1em}menu,ol,ul{padding:0}a{background-color:transparent;-webkit-text-decoration-skip:objects}:focus{outline:thin dotted}abbr[title]{border-bottom:none}mark{background:#ff0;color:#000}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button;cursor:pointer}img,svg,canvas,video,object,embed,iframe{display:block;border:0}img,svg,canvas,video{max-width:100%;height:auto}img{object-fit:cover;-ms-interpolation-mode:bicubic;object-position:50% t}audio:not([controls]){display:none;height:0}figure{margin:auto}figure>img,figure>svg,figure>canvas,figure>video{width:100%}table{border-spacing:0;border-collapse:separate}caption,th,td{text-align:left;font-weight:400}table,td,th{vertical-align:top}[hidden]{display:none!important}::-ms-clear{width:0;height:0}[placeholder]:focus::-webkit-input-placeholder{color:transparent}[placeholder]:focus::-moz-placeholder{color:transparent}[draggable]{-webkit-user-drag:element;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:move}[draggable=false]{-webkit-user-drag:none;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;cursor:inherit}[draggable=false][href]{cursor:pointer}@page{margin:.5cm}@media print{html,body{background:transparent;text-shadow:none!important}a[href^="http://"],a[href^="http://"]:visited,a[href^="https://"],a[href^="https://"]:visited{text-decoration:underline}a[href^="http://"]:after,a[href^="https://"]:after{content:" (" attr(href) ") ";font-size:.9167em;text-transform:lowercase;opacity:.8}pre,blockquote,tr,img{page-break-inside:avoid}h1,h2,h3,h4,h5,h6{page-break-after:avoid}thead{display:table-header-group}p,h2,h3,h4,h5,h6{orphans:3;widows:3}}svg{overflow:visible;fill:none;stroke:currentcolor;stroke-width:1}altGlyph,circle,ellipse,line,path,polygon,polyline,rect,text,textpath,tref,tspan{fill:inherit;stroke:inherit;stroke-width:inherit;vector-effect:non-scaling-stroke}.fill{fill:currentcolor;stroke:none}.stroke{stroke:currentcolor}:root{height:100%;color:#000;background-color:#fff;scroll-behavior:smooth;scroll-padding:0}:root.loading{scroll-behavior:auto}:root>body{scroll-padding:inherit;scroll-snap-type:inherit;scroll-snap-stop:inherit;scroll-snap-points-y:inherit}body{position:relative;min-height:100%}@media screen and (min-aspect-ratio: 3/1){body{min-height:33.3333vw}}html{font-size:100%}body,button{text-rendering:geometricPrecision}pre,code,kbd,output,samp{font-family:monospace,serif;font-family:Monaco,Lucida Console,monospace}code,kbd,samp{white-space:nowrap}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}pre>code{line-height:inherit;white-space:inherit}a:focus,a:hover{text-decoration:underline}a{text-decoration:underline;color:inherit}[href]{-webkit-tap-highlight-color:rgba(0,0,0,.25)}p,h1,h2,h3,h4,h5,h6{margin:0}h1,h2,h3,h4,h5,h6{font-weight:400;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual}hr{height:1px;border-width:0;margin-bottom:-1px;background-color:currentcolor}ul{list-style-type:disc}ol{list-style-type:decimal;list-style-position:inside}dl{display:grid;grid-column-gap:1.125rem;grid-template-columns:max-content 1fr;grid-auto-columns:1fr;align-items:flex-end}dl>dt{grid-column:1 / span 1;max-width:40vw}blockquote{font-style:italic;font-family:Georgia,serif}blockquote:before{content:"“";font-size:3em;color:#484848;float:left;margin-left:-.6em;line-height:.92em}p:empty,h1:empty,h2:empty,h3:empty,h4:empty,h5:empty,h6:empty,ul:empty,ol:empty,dl:empty,li:empty,dt:empty,dd:empty,blockquote:empty{display:none}p>img,p>svg,p>video,p>canvas,p>object,p>embed,p>iframe,li>img,li>svg,li>video,li>canvas,li>object,li>embed,li>iframe,dd>img,dd>svg,dd>video,dd>canvas,dd>object,dd>embed,dd>iframe{max-width:100%}abbr[title]{border-bottom:1px dotted}b,strong,dfn{font-weight:700}em,dfn{font-style:italic}small{font-size:.727272em;font-weight:400}sup,sub{line-height:0;font-size:.8333em;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}q{quotes:none}q:before,q:after{content:"";content:none}del{opacity:.5;text-decoration:line-through}table{width:100%}tfoot{font-style:italic}caption{background-color:inherit}dd{margin:0}*+ul,*+ol,*+dl,*+blockquote{margin-top:1.25rem}li{margin-bottom:0}blockquote:before{font-size:3em;line-height:.84em;margin-left:-.6em}sup,sub{font-size:.6em;line-height:0}abbr{letter-spacing:.03125em}th,td,caption{padding:4px 10px 4px 5px}ul,ol{margin-left:0}blockquote{margin-left:2.6667em}.left{margin:.75em 1em .75em 0}.right{margin:.75em 0 .75em 1em}.note{font-size:.9167em;line-height:1.8181;font-style:italic}.tag-code:before{content:"<";margin-right:-.1em}.tag-code:after{content:">";margin-left:-.1em}.wrap{white-space:normal;flex-wrap:wrap}.no-wrap{white-space:nowrap;flex-wrap:nowrap;text-overflow:ellipsis}.break-wrap{white-space:normal;overflow-wrap:break-word}.line-wrap{white-space:pre}a{min-width:2rem;min-height:2rem}a[draggable=false]{cursor:pointer}.a{text-decoration:none}.a:hover,.a:focus{text-decoration:underline}code.block,pre>code{display:block;font-size:.8125rem;padding:.5625rem .75rem;width:100%;overflow:auto;box-shadow:inset -18px 4px 110px -20px #0000001a;color:var(--color);background-color:--var(black)}th,td{font-style:inherit;font-weight:inherit;line-height:inherit;padding-left:.1875rem;padding-right:.1875rem;background-clip:border-box}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}thead>tr>th,thead>tr>td{padding-top:.75rem;padding-bottom:.375rem;vertical-align:bottom}thead>tr:last-child>th,thead>tr:last-child>td{padding-bottom:.375rem}tbody>tr>th,tbody>tr>td{padding-top:.1875rem;padding-bottom:.1875rem;vertical-align:middle}tfoot>tr>th,tfoot>tr>td{padding-top:.875rem;padding-bottom:.875rem;vertical-align:top}table{width:100%;margin-left:0;margin-right:0;table-layout:fixed}table.x-bleed th:first-child,table.x-bleed td:first-child{padding-left:calc(.5 * var(--x-gap))}table.x-bleed th:last-child,table.x-bleed td:last-child{padding-right:calc(.5 * var(--x-gap))}:root.js .js-hidden{display:none!important}:root:not(.js) .js-shown{display:none!important}button,[type=button]{font-size:inherit;font-family:inherit;-ms-hyphens:none;hyphens:none;color:inherit;background:transparent;min-width:2rem;min-height:2rem}button,[type=button],.button{--font-size: inherit;--height: 3rem;--line-height: 1.5rem;--color: black;--border-color: transparent;--border-width: .0625rem;--border-radius: .3125rem;--padding-left: .5625em;--padding-right: var(--padding-left);display:inline-block;font-size:var(--font-size);line-height:var(--line-height);padding-top:calc(.5 * (var(--height) - var(--line-height)) - var(--border-width));padding-bottom:calc(.5 * (var(--height) - var(--line-height)) - var(--border-width));padding-left:var(--padding-left);padding-right:var(--padding-right);width:auto;height:auto;min-height:var(--height);vertical-align:baseline;text-overflow:ellipsis;text-align:center;text-decoration:none;white-space:normal;break-inside:avoid;grid-auto-flow:column;align-content:center;align-items:center;justify-content:center;position:relative;z-index:0;background-repeat:no-repeat;background-clip:padding-box;background-origin:padding-box;border-style:solid;border-width:var(--border-width);border-color:var(--border-color);border-radius:var(--border-radius);transition:background-color .12s linear,color .12s linear}button>svg,[type=button]>svg,.button>svg{display:inline-block;width:auto;height:var(--line-height);vertical-align:middle}button:hover,button:focus,.button:hover,.button:focus{text-decoration:none;transition:background-color 80ms linear,color 80ms linear}button.loading,.button.loading{opacity:.4}.button>input[type=radio],.button>input[type=checkbox]{display:inline;height:auto;vertical-align:baseline;margin-right:.5em;margin-left:1px}.button>small:first-child{display:inline-block;margin-right:.25em}.button.block{display:block}.thumb>select,.button>input[type=file],.button>input[type=submit]{position:absolute;display:block;top:0;left:0;bottom:0;right:0;width:100%;height:100%;padding:0;margin:0;border:0;cursor:pointer;z-index:2}.js .thumb>select,.js .button>input[type=file],.js .button>input[type=submit]{-webkit-appearance:none;opacity:0}.list{list-style:none;margin:0;padding:0}.list>li{display:block;margin:0;padding:0;position:relative;break-inside:avoid;vertical-align:top}.inline-list>li{display:inline-block}.thumb{display:inline-block;vertical-align:top;overflow:hidden;position:relative;padding-bottom:0;padding-right:0;min-width:0;padding-left:2.8125em;height:2.8125em;min-height:0;width:0;line-height:2;break-inside:avoid;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-position:50% 40%;background-repeat:no-repeat;background-color:transparent;border-width:0;border-radius:0;text-decoration:none;color:inherit}.thumb>img,.thumb>svg,.thumb>iframe{position:absolute;top:0;left:0;width:100%;height:100%}.thumb>img{object-fit:cover}.thumb.block{display:block;overflow:hidden}@media print{.thumb{-webkit-print-color-adjust:exact}}.burger-thumb.on{color:#000;background-color:#e6e6e6;background-color:var(--color-grey-5);outline-width:0}.burger-thumb:before,.burger-thumb:after{content:"";position:absolute;top:calc(50% - 2px);left:32%;width:36%;height:9px;border-top:3px solid currentcolor;border-bottom:3px solid currentcolor}.burger-thumb:before{top:calc(50% - 8px);border-top:3px solid currentcolor}.close-thumb,.add-thumb,.subtract-thumb,.remove-thumb{padding-left:1.875rem;height:1.875rem;border-radius:50%}.close-thumb,.add-thumb,.subtract-thumb{background-color:#fff;box-shadow:var(--handle-shadow)}.remove-thumb{color:#fff;background-color:var(--error)}.close-thumb:before,.close-thumb:after,.add-thumb:before,.add-thumb:after,.subtract-thumb:before,.remove-thumb:before,.remove-thumb:after{content:"";position:absolute;top:50%;left:50%;height:.1875rem;background-color:currentcolor;border-radius:2px}.close-thumb:before,.close-thumb:after{width:1.25em}.add-thumb:before,.add-thumb:after,.remove-thumb:before,.remove-thumb:after{width:1.125em}.subtract-thumb:before{width:1rem}.add-thumb:before,.subtract-thumb:before{transform:translate(-50%,-50%)}.add-thumb:after{transform:translate(-50%,-50%) rotate(-90deg)}.close-thumb:before,.remove-thumb:before{transform:translate(-50%,-50%) rotate(45deg)}.close-thumb:after,.remove-thumb:after{transform:translate(-50%,-50%) rotate(-45deg)}.prev-thumb,.next-thumb{position:relative;padding-left:3.75rem;height:5rem;background-image:none}.prev-thumb:before,.next-thumb:before{position:absolute;top:50%;content:"";height:36%;width:36%;margin-top:-18%;border-top:1px solid currentcolor;border-left:1px solid currentcolor}.prev-thumb:before{left:62.5%;margin-left:-18%;transform:rotate(-45deg)}.next-thumb:before{right:62.5%;margin-right:-18%;transform:rotate(135deg)}.prev-thumb:hover:before,.next-thumb:hover:before{border-top-width:2px;border-left-width:2px}.thumb-1\:2,.thumb-2\:3,.thumb-3\:4,.thumb-4\:5,.thumb-1\:1,.thumb-5\:4,.thumb-4\:3,.thumb-3\:2,.thumb-16\:9,.thumb-2\:1{width:100%}.thumb-2\:3{padding-top:150%}.thumb-3\:4{padding-top:133.333333%}.thumb-4\:5{padding-top:125%}.thumb-1\:1{padding-top:100%}.thumb-5\:4{padding-top:80%}.thumb-4\:3{padding-top:75%}.thumb-3\:2{padding-top:66.666667%}.thumb-16\:9{padding-top:56.25%}.thumb-2\:1{padding-top:50%}.block{display:block;position:relative;height:auto;vertical-align:top;overflow:visible;break-inside:avoid;justify-content:center;margin:0 auto}a.block,a.block:hover,a.block:focus{text-decoration:none}.block>svg,.block>video,.block>canvas,.block>object,.block>embed,.block>iframe{max-width:100%}hr.block{height:1px}.block[href]{text-decoration:none}.inline-block{display:inline-block}.current-fg{color:currentcolor;stroke:currentcolor}.current-bg{background-color:currentcolor;fill:currentcolor}.transparent-fg{color:transparent}.transparent-bg{background-color:transparent}:root{--black: black}.black-fg{color:#000;stroke:#000}.black-bg{background-color:#000;fill:#000}:root{--white: white}.white-fg{color:#fff;stroke:#fff}.white-bg{background-color:#fff;fill:#fff}:root{--info: #46789a}.info-fg{color:#46789a;stroke:#46789a}.info-bg{background-color:#46789a;fill:#46789a}:root{--success: #8aa231}.success-fg{color:#8aa231;stroke:#8aa231}.success-bg{background-color:#8aa231;fill:#8aa231}:root{--warn: #e6ba1a}.warn-fg{color:#e6ba1a;stroke:#e6ba1a}.warn-bg{background-color:#e6ba1a;fill:#e6ba1a}:root{--error: #DC0F0E}.error-fg{color:#dc0f0e;stroke:#dc0f0e}.error-bg{background-color:#dc0f0e;fill:#dc0f0e}.hidden{display:none!important}.fixed{position:fixed!important}.sticky{position:-webkit-sticky!important;position:sticky!important;top:0}.columns{display:block!important;column-gap:var(--x-gap);--x-gap: 1.5rem}.\31-columns{columns:1!important}.\32-columns{columns:2!important}.\33-columns{columns:3!important}.\34-columns{columns:4!important}.\35-columns{columns:5!important}.\36-columns{columns:6!important}.\37-columns{columns:7!important}.\38-columns{columns:8!important}.\39-columns{columns:9!important}.\31 0-columns{columns:10!important}.\31 1-columns{columns:11!important}.\31 2-columns{columns:12!important}.flex{display:flex!important}.grid{display:grid!important;grid-auto-flow:row;grid-auto-columns:minmax(0,1fr);column-gap:var(--x-gap);row-gap:var(--y-gap);--x-gap: 1.5rem;--y-gap: 1.5rem}a.grid,a.grid:hover,a.grid:focus{text-decoration:none}.grid[hidden]{display:none!important}.dense-grid{grid-auto-flow:dense}.y-start-grid{align-content:start}.y-center-grid{align-content:center}.x-start-grid{justify-content:start}.x-center-grid{justify-content:center}.\31x-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.\32x-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.\33x-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.\34x-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.\35x-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.\36x-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.\37x-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.\38x-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.\39x-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.\31 0x-grid{grid-template-columns:repeat(10,minmax(0,1fr))}.\31 1x-grid{grid-template-columns:repeat(11,minmax(0,1fr))}.\31 2x-grid{grid-template-columns:repeat(12,minmax(0,1fr))}.x1{grid-column-start:1!important}.x2{grid-column-start:2!important}.x3{grid-column-start:3!important}.x4{grid-column-start:4!important}.x5{grid-column-start:5!important}.x6{grid-column-start:6!important}.x7{grid-column-start:7!important}.x8{grid-column-start:8!important}.x9{grid-column-start:9!important}.x10{grid-column-start:10!important}.x11{grid-column-start:11!important}.x12{grid-column-start:12!important}.\31x{grid-column-end:span 1!important}.\32x{grid-column-end:span 2!important}.\33x{grid-column-end:span 3!important}.\34x{grid-column-end:span 4!important}.\35x{grid-column-end:span 5!important}.\36x{grid-column-end:span 6!important}.\37x{grid-column-end:span 7!important}.\38x{grid-column-end:span 8!important}.\39x{grid-column-end:span 9!important}.\31 0x{grid-column-end:span 10!important}.\31 1x{grid-column-end:span 11!important}.\31 2x{grid-column-end:span 12!important}.x-end{justify-self:end!important;margin-left:auto;margin-right:0}.x-start{justify-self:start!important;margin-left:0;margin-right:auto}.x-center{justify-self:center!important;margin-left:auto;margin-right:auto}.x-stretch{justify-self:stretch!important;margin-left:0;margin-right:0;max-width:100%;width:100%}.x-unbleedl{margin-left:calc(.5 * var(--x-gap));margin-right:0;max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.x-unbleedr{margin-left:0;margin-right:calc(.5 * var(--x-gap));max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.x-bleedl{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:0;max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.x-bleedr{justify-self:stretch!important;margin-left:0;margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.x-bleed{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.x-floodl{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:0;max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.x-floodr{justify-self:stretch!important;margin-left:0;margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.x-flood{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 2 * var(--x-gap));width:calc(100% + 2 * var(--x-gap))}.x-bleedl.x-floodr{margin-left:calc(-.5 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 1.5 * var(--x-gap));width:calc(100% + 1.5 * var(--x-gap))}.\31y-grid{grid-template-rows:repeat(1,minmax(0,1fr))}.\32y-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.\33y-grid{grid-template-rows:repeat(3,minmax(0,1fr))}.\34y-grid{grid-template-rows:repeat(4,minmax(0,1fr))}.\35y-grid{grid-template-rows:repeat(5,minmax(0,1fr))}.\36y-grid{grid-template-rows:repeat(6,minmax(0,1fr))}.\37y-grid{grid-template-rows:repeat(7,minmax(0,1fr))}.\38y-grid{grid-template-rows:repeat(8,minmax(0,1fr))}.\39y-grid{grid-template-rows:repeat(9,minmax(0,1fr))}.\31 0y-grid{grid-template-rows:repeat(10,minmax(0,1fr))}.\31 1y-grid{grid-template-rows:repeat(11,minmax(0,1fr))}.\31 2y-grid{grid-template-rows:repeat(12,minmax(0,1fr))}.y1{grid-row-start:1!important}.y2{grid-row-start:2!important}.y3{grid-row-start:3!important}.y4{grid-row-start:4!important}.y5{grid-row-start:5!important}.y6{grid-row-start:6!important}.y7{grid-row-start:7!important}.y8{grid-row-start:8!important}.y9{grid-row-start:9!important}.y10{grid-row-start:10!important}.y11{grid-row-start:11!important}.y12{grid-row-start:12!important}.\31y{grid-row-end:span 1!important}.\32y{grid-row-end:span 2!important}.\33y{grid-row-end:span 3!important}.\34y{grid-row-end:span 4!important}.\35y{grid-row-end:span 5!important}.\36y{grid-row-end:span 6!important}.\37y{grid-row-end:span 7!important}.\38y{grid-row-end:span 8!important}.\39y{grid-row-end:span 9!important}.\31 0y{grid-row-end:span 10!important}.\31 1y{grid-row-end:span 11!important}.\31 2y{grid-row-end:span 12!important}.y-end{align-self:end!important;margin-top:auto;margin-bottom:0}.y-start{align-self:start!important;margin-top:0;margin-bottom:auto}.y-center{align-self:center!important;margin-top:auto;margin-bottom:auto}.y-baseline{align-self:baseline!important;margin-top:auto;margin-bottom:auto}.y-lastline{align-self:last baseline!important;margin-top:auto;margin-bottom:auto}.y-stretch{justify-self:stretch!important;margin-top:0;margin-bottom:0;max-height:100%;height:100%}.y-bleed{justify-self:stretch!important;margin-top:calc(var(--y-gap) / -2);margin-bottom:calc(var(--y-gap) / -2);max-height:calc(100% + var(--y-gap));height:calc(100% + var(--y-gap))}.y-flood{justify-self:stretch!important;margin-top:calc(-1 * var(--y-gap));margin-bottom:calc(-1 * var(--y-gap));max-height:calc(100% + 2 * var(--y-gap));height:calc(100% + 2 * var(--y-gap))}.inline{display:inline-block!important}.normal-text{text-transform:none!important}.lowercase-text{text-transform:lowercase!important}.uppercase-text{text-transform:uppercase!important}.thin-text{font-weight:200!important}.light-text{font-weight:300!important}.regular-text{font-weight:400!important}.book-text{font-weight:450!important}.medium-text{font-weight:500!important}.semi-text{font-weight:600!important}.bold-text{font-weight:700!important}.black-text{font-weight:800!important}.left{float:left!important;clear:left}.right{float:right!important;clear:right}.top-align{vertical-align:top!important}.bottom-align{vertical-align:bottom!important}.middle-align{vertical-align:middle!important}.baseline-align{vertical-align:baseline!important}.left-align{text-align:left!important}.right-align{text-align:right!important}.center-align{text-align:center!important}.justify-align{text-align:justify!important}@media screen and (max-width: 49.9375em){.\@1-shown{display:none!important}}@media (min-width: 50em){.\@1-hidden{display:none!important}.\@1-fixed{position:fixed!important}.\@1-sticky{position:-webkit-sticky!important;position:sticky!important;top:0}.\@1-columns{display:block!important;column-gap:var(--x-gap);--x-gap: 1.5rem}.\@1-1-columns{columns:1!important}.\@1-2-columns{columns:2!important}.\@1-3-columns{columns:3!important}.\@1-4-columns{columns:4!important}.\@1-5-columns{columns:5!important}.\@1-6-columns{columns:6!important}.\@1-7-columns{columns:7!important}.\@1-8-columns{columns:8!important}.\@1-9-columns{columns:9!important}.\@1-10-columns{columns:10!important}.\@1-11-columns{columns:11!important}.\@1-12-columns{columns:12!important}.\@1-flex{display:flex!important}.\@1-grid{display:grid!important;grid-auto-flow:row;grid-auto-columns:minmax(0,1fr);column-gap:var(--x-gap);row-gap:var(--y-gap);--x-gap: 1.5rem;--y-gap: 1.5rem}a.\@1-grid,a.\@1-grid:hover,a.\@1-grid:focus{text-decoration:none}.\@1-grid[hidden]{display:none!important}.\@1-dense-grid{grid-auto-flow:dense}.\@1-y-start-grid{align-content:start}.\@1-y-center-grid{align-content:center}.\@1-x-start-grid{justify-content:start}.\@1-x-center-grid{justify-content:center}.\@1-1x-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.\@1-2x-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.\@1-3x-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.\@1-4x-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.\@1-5x-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.\@1-6x-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.\@1-7x-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.\@1-8x-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.\@1-9x-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.\@1-10x-grid{grid-template-columns:repeat(10,minmax(0,1fr))}.\@1-11x-grid{grid-template-columns:repeat(11,minmax(0,1fr))}.\@1-12x-grid{grid-template-columns:repeat(12,minmax(0,1fr))}.\@1-x1{grid-column-start:1!important}.\@1-x2{grid-column-start:2!important}.\@1-x3{grid-column-start:3!important}.\@1-x4{grid-column-start:4!important}.\@1-x5{grid-column-start:5!important}.\@1-x6{grid-column-start:6!important}.\@1-x7{grid-column-start:7!important}.\@1-x8{grid-column-start:8!important}.\@1-x9{grid-column-start:9!important}.\@1-x10{grid-column-start:10!important}.\@1-x11{grid-column-start:11!important}.\@1-x12{grid-column-start:12!important}.\@1-1x{grid-column-end:span 1!important}.\@1-2x{grid-column-end:span 2!important}.\@1-3x{grid-column-end:span 3!important}.\@1-4x{grid-column-end:span 4!important}.\@1-5x{grid-column-end:span 5!important}.\@1-6x{grid-column-end:span 6!important}.\@1-7x{grid-column-end:span 7!important}.\@1-8x{grid-column-end:span 8!important}.\@1-9x{grid-column-end:span 9!important}.\@1-10x{grid-column-end:span 10!important}.\@1-11x{grid-column-end:span 11!important}.\@1-12x{grid-column-end:span 12!important}.\@1-x-end{justify-self:end!important;margin-left:auto;margin-right:0}.\@1-x-start{justify-self:start!important;margin-left:0;margin-right:auto}.\@1-x-center{justify-self:center!important;margin-left:auto;margin-right:auto}.\@1-x-stretch{justify-self:stretch!important;margin-left:0;margin-right:0;max-width:100%;width:100%}.\@1-x-unbleedl{margin-left:calc(.5 * var(--x-gap));margin-right:0;max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@1-x-unbleedr{margin-left:0;margin-right:calc(.5 * var(--x-gap));max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@1-x-bleedl{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:0;max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@1-x-bleedr{justify-self:stretch!important;margin-left:0;margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@1-x-bleed{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@1-x-floodl{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:0;max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@1-x-floodr{justify-self:stretch!important;margin-left:0;margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@1-x-flood{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 2 * var(--x-gap));width:calc(100% + 2 * var(--x-gap))}.\@1-x-bleedl.\@1-x-floodr{margin-left:calc(-.5 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 1.5 * var(--x-gap));width:calc(100% + 1.5 * var(--x-gap))}.\@1-1y-grid{grid-template-rows:repeat(1,minmax(0,1fr))}.\@1-2y-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.\@1-3y-grid{grid-template-rows:repeat(3,minmax(0,1fr))}.\@1-4y-grid{grid-template-rows:repeat(4,minmax(0,1fr))}.\@1-5y-grid{grid-template-rows:repeat(5,minmax(0,1fr))}.\@1-6y-grid{grid-template-rows:repeat(6,minmax(0,1fr))}.\@1-7y-grid{grid-template-rows:repeat(7,minmax(0,1fr))}.\@1-8y-grid{grid-template-rows:repeat(8,minmax(0,1fr))}.\@1-9y-grid{grid-template-rows:repeat(9,minmax(0,1fr))}.\@1-10y-grid{grid-template-rows:repeat(10,minmax(0,1fr))}.\@1-11y-grid{grid-template-rows:repeat(11,minmax(0,1fr))}.\@1-12y-grid{grid-template-rows:repeat(12,minmax(0,1fr))}.\@1-y1{grid-row-start:1!important}.\@1-y2{grid-row-start:2!important}.\@1-y3{grid-row-start:3!important}.\@1-y4{grid-row-start:4!important}.\@1-y5{grid-row-start:5!important}.\@1-y6{grid-row-start:6!important}.\@1-y7{grid-row-start:7!important}.\@1-y8{grid-row-start:8!important}.\@1-y9{grid-row-start:9!important}.\@1-y10{grid-row-start:10!important}.\@1-y11{grid-row-start:11!important}.\@1-y12{grid-row-start:12!important}.\@1-1y{grid-row-end:span 1!important}.\@1-2y{grid-row-end:span 2!important}.\@1-3y{grid-row-end:span 3!important}.\@1-4y{grid-row-end:span 4!important}.\@1-5y{grid-row-end:span 5!important}.\@1-6y{grid-row-end:span 6!important}.\@1-7y{grid-row-end:span 7!important}.\@1-8y{grid-row-end:span 8!important}.\@1-9y{grid-row-end:span 9!important}.\@1-10y{grid-row-end:span 10!important}.\@1-11y{grid-row-end:span 11!important}.\@1-12y{grid-row-end:span 12!important}.\@1-y-end{align-self:end!important;margin-top:auto;margin-bottom:0}.\@1-y-start{align-self:start!important;margin-top:0;margin-bottom:auto}.\@1-y-center{align-self:center!important;margin-top:auto;margin-bottom:auto}.\@1-y-baseline{align-self:baseline!important;margin-top:auto;margin-bottom:auto}.\@1-y-lastline{align-self:last baseline!important;margin-top:auto;margin-bottom:auto}.\@1-y-stretch{justify-self:stretch!important;margin-top:0;margin-bottom:0;max-height:100%;height:100%}.\@1-y-bleed{justify-self:stretch!important;margin-top:calc(var(--y-gap) / -2);margin-bottom:calc(var(--y-gap) / -2);max-height:calc(100% + var(--y-gap));height:calc(100% + var(--y-gap))}.\@1-y-flood{justify-self:stretch!important;margin-top:calc(-1 * var(--y-gap));margin-bottom:calc(-1 * var(--y-gap));max-height:calc(100% + 2 * var(--y-gap));height:calc(100% + 2 * var(--y-gap))}.\@1-inline{display:inline-block!important}.\@1-normal-text{text-transform:none!important}.\@1-lowercase-text{text-transform:lowercase!important}.\@1-uppercase-text{text-transform:uppercase!important}.\@1-thin-text{font-weight:200!important}.\@1-light-text{font-weight:300!important}.\@1-regular-text{font-weight:400!important}.\@1-book-text{font-weight:450!important}.\@1-medium-text{font-weight:500!important}.\@1-semi-text{font-weight:600!important}.\@1-bold-text{font-weight:700!important}.\@1-black-text{font-weight:800!important}.\@1-left{float:left!important;clear:left}.\@1-right{float:right!important;clear:right}.\@1-top-align{vertical-align:top!important}.\@1-bottom-align{vertical-align:bottom!important}.\@1-middle-align{vertical-align:middle!important}.\@1-baseline-align{vertical-align:baseline!important}.\@1-left-align{text-align:left!important}.\@1-right-align{text-align:right!important}.\@1-center-align{text-align:center!important}.\@1-justify-align{text-align:justify!important}}@media screen and (max-width: 69.9375em){.\@2-shown{display:none!important}}@media (min-width: 70em){.\@2-hidden{display:none!important}.\@2-fixed{position:fixed!important}.\@2-sticky{position:-webkit-sticky!important;position:sticky!important;top:0}.\@2-columns{display:block!important;column-gap:var(--x-gap);--x-gap: 2.8125rem}.\@2-1-columns{columns:1!important}.\@2-2-columns{columns:2!important}.\@2-3-columns{columns:3!important}.\@2-4-columns{columns:4!important}.\@2-5-columns{columns:5!important}.\@2-6-columns{columns:6!important}.\@2-7-columns{columns:7!important}.\@2-8-columns{columns:8!important}.\@2-9-columns{columns:9!important}.\@2-10-columns{columns:10!important}.\@2-11-columns{columns:11!important}.\@2-12-columns{columns:12!important}.\@2-flex{display:flex!important}.\@2-grid{display:grid!important;grid-auto-flow:row;grid-auto-columns:minmax(0,1fr);column-gap:var(--x-gap);row-gap:var(--y-gap);--x-gap: 2.8125rem;--y-gap: 1.875rem}a.\@2-grid,a.\@2-grid:hover,a.\@2-grid:focus{text-decoration:none}.\@2-grid[hidden]{display:none!important}.\@2-dense-grid{grid-auto-flow:dense}.\@2-y-start-grid{align-content:start}.\@2-y-center-grid{align-content:center}.\@2-x-start-grid{justify-content:start}.\@2-x-center-grid{justify-content:center}.\@2-1x-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.\@2-2x-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.\@2-3x-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.\@2-4x-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.\@2-5x-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.\@2-6x-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.\@2-7x-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.\@2-8x-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.\@2-9x-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.\@2-10x-grid{grid-template-columns:repeat(10,minmax(0,1fr))}.\@2-11x-grid{grid-template-columns:repeat(11,minmax(0,1fr))}.\@2-12x-grid{grid-template-columns:repeat(12,minmax(0,1fr))}.\@2-x1{grid-column-start:1!important}.\@2-x2{grid-column-start:2!important}.\@2-x3{grid-column-start:3!important}.\@2-x4{grid-column-start:4!important}.\@2-x5{grid-column-start:5!important}.\@2-x6{grid-column-start:6!important}.\@2-x7{grid-column-start:7!important}.\@2-x8{grid-column-start:8!important}.\@2-x9{grid-column-start:9!important}.\@2-x10{grid-column-start:10!important}.\@2-x11{grid-column-start:11!important}.\@2-x12{grid-column-start:12!important}.\@2-1x{grid-column-end:span 1!important}.\@2-2x{grid-column-end:span 2!important}.\@2-3x{grid-column-end:span 3!important}.\@2-4x{grid-column-end:span 4!important}.\@2-5x{grid-column-end:span 5!important}.\@2-6x{grid-column-end:span 6!important}.\@2-7x{grid-column-end:span 7!important}.\@2-8x{grid-column-end:span 8!important}.\@2-9x{grid-column-end:span 9!important}.\@2-10x{grid-column-end:span 10!important}.\@2-11x{grid-column-end:span 11!important}.\@2-12x{grid-column-end:span 12!important}.\@2-x-end{justify-self:end!important;margin-left:auto;margin-right:0}.\@2-x-start{justify-self:start!important;margin-left:0;margin-right:auto}.\@2-x-center{justify-self:center!important;margin-left:auto;margin-right:auto}.\@2-x-stretch{justify-self:stretch!important;margin-left:0;margin-right:0;max-width:100%;width:100%}.\@2-x-unbleedl{margin-left:calc(.5 * var(--x-gap));margin-right:0;max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@2-x-unbleedr{margin-left:0;margin-right:calc(.5 * var(--x-gap));max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@2-x-bleedl{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:0;max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@2-x-bleedr{justify-self:stretch!important;margin-left:0;margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@2-x-bleed{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@2-x-floodl{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:0;max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@2-x-floodr{justify-self:stretch!important;margin-left:0;margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@2-x-flood{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 2 * var(--x-gap));width:calc(100% + 2 * var(--x-gap))}.\@2-x-bleedl.\@2-x-floodr{margin-left:calc(-.5 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 1.5 * var(--x-gap));width:calc(100% + 1.5 * var(--x-gap))}.\@2-1y-grid{grid-template-rows:repeat(1,minmax(0,1fr))}.\@2-2y-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.\@2-3y-grid{grid-template-rows:repeat(3,minmax(0,1fr))}.\@2-4y-grid{grid-template-rows:repeat(4,minmax(0,1fr))}.\@2-5y-grid{grid-template-rows:repeat(5,minmax(0,1fr))}.\@2-6y-grid{grid-template-rows:repeat(6,minmax(0,1fr))}.\@2-7y-grid{grid-template-rows:repeat(7,minmax(0,1fr))}.\@2-8y-grid{grid-template-rows:repeat(8,minmax(0,1fr))}.\@2-9y-grid{grid-template-rows:repeat(9,minmax(0,1fr))}.\@2-10y-grid{grid-template-rows:repeat(10,minmax(0,1fr))}.\@2-11y-grid{grid-template-rows:repeat(11,minmax(0,1fr))}.\@2-12y-grid{grid-template-rows:repeat(12,minmax(0,1fr))}.\@2-y1{grid-row-start:1!important}.\@2-y2{grid-row-start:2!important}.\@2-y3{grid-row-start:3!important}.\@2-y4{grid-row-start:4!important}.\@2-y5{grid-row-start:5!important}.\@2-y6{grid-row-start:6!important}.\@2-y7{grid-row-start:7!important}.\@2-y8{grid-row-start:8!important}.\@2-y9{grid-row-start:9!important}.\@2-y10{grid-row-start:10!important}.\@2-y11{grid-row-start:11!important}.\@2-y12{grid-row-start:12!important}.\@2-1y{grid-row-end:span 1!important}.\@2-2y{grid-row-end:span 2!important}.\@2-3y{grid-row-end:span 3!important}.\@2-4y{grid-row-end:span 4!important}.\@2-5y{grid-row-end:span 5!important}.\@2-6y{grid-row-end:span 6!important}.\@2-7y{grid-row-end:span 7!important}.\@2-8y{grid-row-end:span 8!important}.\@2-9y{grid-row-end:span 9!important}.\@2-10y{grid-row-end:span 10!important}.\@2-11y{grid-row-end:span 11!important}.\@2-12y{grid-row-end:span 12!important}.\@2-y-end{align-self:end!important;margin-top:auto;margin-bottom:0}.\@2-y-start{align-self:start!important;margin-top:0;margin-bottom:auto}.\@2-y-center{align-self:center!important;margin-top:auto;margin-bottom:auto}.\@2-y-baseline{align-self:baseline!important;margin-top:auto;margin-bottom:auto}.\@2-y-lastline{align-self:last baseline!important;margin-top:auto;margin-bottom:auto}.\@2-y-stretch{justify-self:stretch!important;margin-top:0;margin-bottom:0;max-height:100%;height:100%}.\@2-y-bleed{justify-self:stretch!important;margin-top:calc(var(--y-gap) / -2);margin-bottom:calc(var(--y-gap) / -2);max-height:calc(100% + var(--y-gap));height:calc(100% + var(--y-gap))}.\@2-y-flood{justify-self:stretch!important;margin-top:calc(-1 * var(--y-gap));margin-bottom:calc(-1 * var(--y-gap));max-height:calc(100% + 2 * var(--y-gap));height:calc(100% + 2 * var(--y-gap))}.\@2-inline{display:inline-block!important}.\@2-normal-text{text-transform:none!important}.\@2-lowercase-text{text-transform:lowercase!important}.\@2-uppercase-text{text-transform:uppercase!important}.\@2-thin-text{font-weight:200!important}.\@2-light-text{font-weight:300!important}.\@2-regular-text{font-weight:400!important}.\@2-book-text{font-weight:450!important}.\@2-medium-text{font-weight:500!important}.\@2-semi-text{font-weight:600!important}.\@2-bold-text{font-weight:700!important}.\@2-black-text{font-weight:800!important}.\@2-left{float:left!important;clear:left}.\@2-right{float:right!important;clear:right}.\@2-top-align{vertical-align:top!important}.\@2-bottom-align{vertical-align:bottom!important}.\@2-middle-align{vertical-align:middle!important}.\@2-baseline-align{vertical-align:baseline!important}.\@2-left-align{text-align:left!important}.\@2-right-align{text-align:right!important}.\@2-center-align{text-align:center!important}.\@2-justify-align{text-align:justify!important}}@media screen and (max-width: 89.9375em){.\@3-shown{display:none!important}}@media (min-width: 90em){.\@3-hidden{display:none!important}.\@3-fixed{position:fixed!important}.\@3-sticky{position:-webkit-sticky!important;position:sticky!important;top:0}.\@3-columns{display:block!important;column-gap:var(--x-gap);--x-gap: 3.75rem}.\@3-1-columns{columns:1!important}.\@3-2-columns{columns:2!important}.\@3-3-columns{columns:3!important}.\@3-4-columns{columns:4!important}.\@3-5-columns{columns:5!important}.\@3-6-columns{columns:6!important}.\@3-7-columns{columns:7!important}.\@3-8-columns{columns:8!important}.\@3-9-columns{columns:9!important}.\@3-10-columns{columns:10!important}.\@3-11-columns{columns:11!important}.\@3-12-columns{columns:12!important}.\@3-flex{display:flex!important}.\@3-grid{display:grid!important;grid-auto-flow:row;grid-auto-columns:minmax(0,1fr);column-gap:var(--x-gap);row-gap:var(--y-gap);--x-gap: 3.75rem;--y-gap: 1.875rem}a.\@3-grid,a.\@3-grid:hover,a.\@3-grid:focus{text-decoration:none}.\@3-grid[hidden]{display:none!important}.\@3-dense-grid{grid-auto-flow:dense}.\@3-y-start-grid{align-content:start}.\@3-y-center-grid{align-content:center}.\@3-x-start-grid{justify-content:start}.\@3-x-center-grid{justify-content:center}.\@3-1x-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.\@3-2x-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.\@3-3x-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.\@3-4x-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.\@3-5x-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.\@3-6x-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.\@3-7x-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.\@3-8x-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.\@3-9x-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.\@3-10x-grid{grid-template-columns:repeat(10,minmax(0,1fr))}.\@3-11x-grid{grid-template-columns:repeat(11,minmax(0,1fr))}.\@3-12x-grid{grid-template-columns:repeat(12,minmax(0,1fr))}.\@3-x1{grid-column-start:1!important}.\@3-x2{grid-column-start:2!important}.\@3-x3{grid-column-start:3!important}.\@3-x4{grid-column-start:4!important}.\@3-x5{grid-column-start:5!important}.\@3-x6{grid-column-start:6!important}.\@3-x7{grid-column-start:7!important}.\@3-x8{grid-column-start:8!important}.\@3-x9{grid-column-start:9!important}.\@3-x10{grid-column-start:10!important}.\@3-x11{grid-column-start:11!important}.\@3-x12{grid-column-start:12!important}.\@3-1x{grid-column-end:span 1!important}.\@3-2x{grid-column-end:span 2!important}.\@3-3x{grid-column-end:span 3!important}.\@3-4x{grid-column-end:span 4!important}.\@3-5x{grid-column-end:span 5!important}.\@3-6x{grid-column-end:span 6!important}.\@3-7x{grid-column-end:span 7!important}.\@3-8x{grid-column-end:span 8!important}.\@3-9x{grid-column-end:span 9!important}.\@3-10x{grid-column-end:span 10!important}.\@3-11x{grid-column-end:span 11!important}.\@3-12x{grid-column-end:span 12!important}.\@3-x-end{justify-self:end!important;margin-left:auto;margin-right:0}.\@3-x-start{justify-self:start!important;margin-left:0;margin-right:auto}.\@3-x-center{justify-self:center!important;margin-left:auto;margin-right:auto}.\@3-x-stretch{justify-self:stretch!important;margin-left:0;margin-right:0;max-width:100%;width:100%}.\@3-x-unbleedl{margin-left:calc(.5 * var(--x-gap));margin-right:0;max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@3-x-unbleedr{margin-left:0;margin-right:calc(.5 * var(--x-gap));max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@3-x-bleedl{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:0;max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@3-x-bleedr{justify-self:stretch!important;margin-left:0;margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@3-x-bleed{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@3-x-floodl{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:0;max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@3-x-floodr{justify-self:stretch!important;margin-left:0;margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@3-x-flood{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 2 * var(--x-gap));width:calc(100% + 2 * var(--x-gap))}.\@3-x-bleedl.\@3-x-floodr{margin-left:calc(-.5 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 1.5 * var(--x-gap));width:calc(100% + 1.5 * var(--x-gap))}.\@3-1y-grid{grid-template-rows:repeat(1,minmax(0,1fr))}.\@3-2y-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.\@3-3y-grid{grid-template-rows:repeat(3,minmax(0,1fr))}.\@3-4y-grid{grid-template-rows:repeat(4,minmax(0,1fr))}.\@3-5y-grid{grid-template-rows:repeat(5,minmax(0,1fr))}.\@3-6y-grid{grid-template-rows:repeat(6,minmax(0,1fr))}.\@3-7y-grid{grid-template-rows:repeat(7,minmax(0,1fr))}.\@3-8y-grid{grid-template-rows:repeat(8,minmax(0,1fr))}.\@3-9y-grid{grid-template-rows:repeat(9,minmax(0,1fr))}.\@3-10y-grid{grid-template-rows:repeat(10,minmax(0,1fr))}.\@3-11y-grid{grid-template-rows:repeat(11,minmax(0,1fr))}.\@3-12y-grid{grid-template-rows:repeat(12,minmax(0,1fr))}.\@3-y1{grid-row-start:1!important}.\@3-y2{grid-row-start:2!important}.\@3-y3{grid-row-start:3!important}.\@3-y4{grid-row-start:4!important}.\@3-y5{grid-row-start:5!important}.\@3-y6{grid-row-start:6!important}.\@3-y7{grid-row-start:7!important}.\@3-y8{grid-row-start:8!important}.\@3-y9{grid-row-start:9!important}.\@3-y10{grid-row-start:10!important}.\@3-y11{grid-row-start:11!important}.\@3-y12{grid-row-start:12!important}.\@3-1y{grid-row-end:span 1!important}.\@3-2y{grid-row-end:span 2!important}.\@3-3y{grid-row-end:span 3!important}.\@3-4y{grid-row-end:span 4!important}.\@3-5y{grid-row-end:span 5!important}.\@3-6y{grid-row-end:span 6!important}.\@3-7y{grid-row-end:span 7!important}.\@3-8y{grid-row-end:span 8!important}.\@3-9y{grid-row-end:span 9!important}.\@3-10y{grid-row-end:span 10!important}.\@3-11y{grid-row-end:span 11!important}.\@3-12y{grid-row-end:span 12!important}.\@3-y-end{align-self:end!important;margin-top:auto;margin-bottom:0}.\@3-y-start{align-self:start!important;margin-top:0;margin-bottom:auto}.\@3-y-center{align-self:center!important;margin-top:auto;margin-bottom:auto}.\@3-y-baseline{align-self:baseline!important;margin-top:auto;margin-bottom:auto}.\@3-y-lastline{align-self:last baseline!important;margin-top:auto;margin-bottom:auto}.\@3-y-stretch{justify-self:stretch!important;margin-top:0;margin-bottom:0;max-height:100%;height:100%}.\@3-y-bleed{justify-self:stretch!important;margin-top:calc(var(--y-gap) / -2);margin-bottom:calc(var(--y-gap) / -2);max-height:calc(100% + var(--y-gap));height:calc(100% + var(--y-gap))}.\@3-y-flood{justify-self:stretch!important;margin-top:calc(-1 * var(--y-gap));margin-bottom:calc(-1 * var(--y-gap));max-height:calc(100% + 2 * var(--y-gap));height:calc(100% + 2 * var(--y-gap))}.\@3-inline{display:inline-block!important}.\@3-normal-text{text-transform:none!important}.\@3-lowercase-text{text-transform:lowercase!important}.\@3-uppercase-text{text-transform:uppercase!important}.\@3-thin-text{font-weight:200!important}.\@3-light-text{font-weight:300!important}.\@3-regular-text{font-weight:400!important}.\@3-book-text{font-weight:450!important}.\@3-medium-text{font-weight:500!important}.\@3-semi-text{font-weight:600!important}.\@3-bold-text{font-weight:700!important}.\@3-black-text{font-weight:800!important}.\@3-left{float:left!important;clear:left}.\@3-right{float:right!important;clear:right}.\@3-top-align{vertical-align:top!important}.\@3-bottom-align{vertical-align:bottom!important}.\@3-middle-align{vertical-align:middle!important}.\@3-baseline-align{vertical-align:baseline!important}.\@3-left-align{text-align:left!important}.\@3-right-align{text-align:right!important}.\@3-center-align{text-align:center!important}.\@3-justify-align{text-align:justify!important}}:focus{outline-width:0;box-shadow:var(--focus-shadow);z-index:1}.mouse-device :not(input,select,textarea):focus,.touch-device :not(input,select,textarea):focus{box-shadow:none}.mouse-device a:focus,.mouse-device button:focus,.mouse-device input:focus,.mouse-device audio:focus,.mouse-device video:focus,.touch-device a:focus,.touch-device button:focus,.touch-device input:focus,.touch-device audio:focus,.touch-device video:focus{outline-width:0}.mouse-device button:focus{box-shadow:none}.touch-device .touch-hidden{display:none!important}:root:not(.touch-device) .touch-shown{display:none!important}.toggle-block{max-height:0;opacity:.5;overflow:hidden;visibility:hidden;transition:min-height .4s cubic-bezier(.36,0,.51,1),max-height .4s cubic-bezier(.36,0,.51,1),margin-top .4s cubic-bezier(.77,0,.79,.78),margin-bottom .4s cubic-bezier(0,.5,.33,1),padding-top .4s linear,padding-bottom .4s linear,opacity .4s linear,border-color .4s linear,background-color .2s linear,visibility .4s linear}.toggle-block.active{max-height:100rem;opacity:1;visibility:visible;transition:min-height .4s cubic-bezier(.4,0,1,.32),max-height .4s cubic-bezier(.4,0,1,.32),margin-top .4s cubic-bezier(0,.62,.35,.82),margin-bottom .4s cubic-bezier(0,.4,1,.32),padding-top .4s linear,padding-bottom .4s linear,opacity .4s linear,border-color .4s linear,background-color .2s linear,visibility .4s linear}*>.toggle-block{max-height:2rem;margin:-1rem;padding:1rem;width:auto}.loading .toggle-block,.loading .toggle-block.active{transition:none}:root{--code-fg: #b7d6e7;--code-bg: #272a2b;--code-bg: #141B1E}pre>code{color:var(--code-fg);background-color:var(--code-bg)}pre>code .punctuation{color:#779aab}pre>code .keyword{color:#63acdd}pre>code .rule{color:#63acdd}pre>code .operator{color:#63acdd}pre>code .number{color:#fe267e}pre>code .comment{color:#485b68}pre>code .string{color:#b2cb3a}pre>code .function{color:#f5a623}pre>.language-html{color:#b7d6e7}pre>.language-html .tag{color:#fc6827}pre>.language-html .tag>.punctuation{color:#8b572a}pre>.language-html .attr-name{color:#f5a623}pre>.language-html .attr-value{color:#b2cb3a}pre>.language-html .attr-value>.punctuation{color:#8b572a}pre>.language-html .property{color:#63acdd}pre>.language-html .property>.variable{color:#b7d6e7}pre>.language-js{color:#7daed3}pre>.language-css .function{color:#5ab7b2}pre>.language-css .selector{color:#f5a623}pre>.language-css .punctuation{color:#5e7f8f}pre>.language-css .property{color:#288dc1}:root{scroll-padding-top:5.625rem;--site-padding: 1.5rem}.doc-navy-fg{color:#005177}.doc-navy-bg{background-color:#005177}.doc-aqua-fg{color:#026f63}.doc-aqua-bg{background-color:#026f63}.doc-blue-fg{color:#46789a}.doc-blue-bg{background-color:#46789a}.docdemo-block{color:var(--code-fg);background-color:var(--code-bg);margin-left:-1.875rem;margin-right:-1.875rem;padding:1.5rem 1.875rem .9375rem}body>.docdemo-block+.grid{margin-top:2.8125rem}.docs-text-01,.docs-text-02,.docs-text-03,.docs-text-04,.docs-text-05,.docs-text-06,.docs-text-08,.docs-text-09{font-family:Helvetica,Arial,sans-serif;font-style:none;text-transform:none}.docs-text-07,code{font-family:Fira Code,Fira Mono,Roboto Mono,Courier,monospace;font-style:normal;text-transform:none}.docs-text-01{font-size:2.5rem;line-height:2.625rem;font-weight:700}.docs-text-02{font-size:1.5625rem;line-height:1.875rem;font-weight:400}.docs-text-03{font-size:1.25rem;line-height:1.875rem;font-weight:600}.docs-text-04{font-size:.75rem;line-height:.9375rem;font-weight:400;text-transform:uppercase}.docs-text-05{font-size:1rem;line-height:1.375rem;font-weight:700}.docs-text-06{font-size:1.5rem;line-height:1.875rem;font-weight:300}.docs-text-07{font-size:.9375rem;line-height:1.5rem;font-weight:400}.docs-text-08{font-size:1rem;line-height:1.5rem;font-weight:300}.docs-text-09{font-size:.9375rem;line-height:1.5rem;font-weight:400}*+.docs-text-01{margin-top:2.5rem}*+.docs-text-02{margin-top:2.5rem}.docs-text-08+.docs-text-02,body p+.docs-text-02,.docs-text-08+.docs-text-02{margin-top:2.5rem}*+.docs-text-03{margin-top:1.25rem}.docs-text-02+h3,body h2+.docs-text-03,.docs-text-02+.docs-text-03{margin-top:1.5625rem}.docs-text-08+h3,body p+.docs-text-03,.docs-text-08+.docs-text-03,dl+.docs-text-03,ul+.docs-text-03{margin-top:2.5rem}*+.docs-text-04{margin-top:1.25rem}.docs-text-01+h4,body h1+.docs-text-04,.docs-text-01+.docs-text-04,.docs-text-02+h4,body h2+.docs-text-04,.docs-text-02+.docs-text-04{margin-top:1.625rem}.docs-text-03+h4,body h3+.docs-text-04,.docs-text-03+.docs-text-04{margin-top:1.125rem}.docs-text-08+h4,body p+.docs-text-04,.docs-text-08+.docs-text-04,dl+.docs-text-04,ul+.docs-text-04{margin-top:2.5rem}*+.docs-text-05{margin-top:1.25rem}.docs-text-02+h5,body h2+.docs-text-05,.docs-text-02+.docs-text-05{margin-top:1.25rem}.docs-text-04+h5,body h4+.docs-text-05,.docs-text-04+.docs-text-05,.docs-text-08+h5,body p+.docs-text-05,.docs-text-08+.docs-text-05{margin-top:.9375rem}*+.docs-text-08{margin-top:.625rem}.docs-text-01+p,body h1+.docs-text-08,.docs-text-01+.docs-text-08{margin-top:2.1875rem}.docs-text-03+p,body h3+.docs-text-08,.docs-text-03+.docs-text-08{margin-top:.625rem}.docs-text-05+p,body h5+.docs-text-08,.docs-text-05+.docs-text-08,.docs-text-05+ul{margin-top:0}.docs-text-08+p,body p+.docs-text-08,.docs-text-08+.docs-text-08{margin-top:.9375rem}h2+ul,.docs-text-02+ul{margin-top:1.875rem}h3+ul,.docs-text-03+ul{margin-top:1.25rem}p+pre,.docs-text-08+pre,pre+p,pre+.docs-text-08{margin-top:1.25rem}p+form,.docs-text-08+form{margin-top:.5rem}p+fieldset,.docs-text-08+fieldset{margin-top:2rem}.docs-text-02+.doc-toggle-block{margin-top:.9375rem}.docs-text-03+.doc-toggle-block{margin-top:0rem}.docs-text-10,.docs-text-05 code:not(.pill),.docs-text-05+pre code{font-family:Fira Code,Fira Mono,Roboto Mono,monospace;font-size:1.0625rem}.docs-text-05+pre{margin-top:.75rem}.docs-text-05 code{white-space:pre}.docs-text-05 code{font-size:.8125rem}*+.docs-text-02{margin-top:1.875rem}.docs-text-03>code{color:inherit;font-weight:600;letter-spacing:0}.docs-text-03 a{text-decoration:none}.docs-text-03+pre{margin-top:1.5rem}.docs-text-03+pre+*{margin-top:1.5rem}.docs-text-04+p,h4+p{margin-top:0}p+.docs-text-04,p+h4{margin-top:1.5rem}.docs-text-04+.doc-toggle-block{margin-top:9px}.docs-text-08+.index{margin-top:.9375rem}button.docs-text-09{display:inline-block;min-height:0;padding-left:0;padding-right:0}.docbubble-thumb{font-size:.5rem;line-height:1rem;height:1rem;width:1rem;padding-left:1rem;padding-top:0;vertical-align:-3px;color:#eef9ff;background-color:#026f63;background-color:#005177;background-color:#46789a;border-radius:50%}.docbubble-thumb:before{content:"";position:absolute;top:.1875rem;left:.375rem;width:1rem;border-left:.375rem solid currentcolor;border-top:.3125rem solid transparent;border-bottom:.3125rem solid transparent}.key-device a:focus{border-bottom:1px solid #999999}.doctoggle-button{min-height:1.5rem;padding-left:0!important;padding-top:0!important;padding-bottom:0!important;background-color:transparent}.doctoggle-button:before{content:"";position:absolute;left:-1.5rem;margin-left:.18em;top:50%;margin-top:-.18em;width:.36em;height:.36em;border-top:2px solid currentcolor;border-right:2px solid currentcolor;transform:translate(-25%) rotate(45deg);transition:transform .24s linear;opacity:.333333}.doctoggle-button.on:before{transform:translateY(-25%) rotate(135deg)}.doc-toggle-block{visibility:visible;opacity:1;min-height:3rem}.doc-toggle-block.active{max-height:300rem}.doc-toggle-block:before{content:"";position:absolute;top:5px;bottom:15px;width:3px;left:0;background-color:transparent;transition:background-color .8s linear,bottom .6s linear}.doc-toggle-block.active:before{content:"";bottom:5px;background-color:transparent}.doc-toggle-block+.doc-toggle-block{margin-top:0rem}.doc-toggle-block.active+.doc-toggle-block{margin-top:1.5rem}.doc-toggle-block>.docs-text-05{overflow:hidden;text-overflow:ellipsis;margin-left:-.9375rem;padding-left:.9375rem;margin-right:0}.docs-text-05>a{text-decoration:none;padding-bottom:2px;border-bottom:none}.docs-text-05 code:not(.pill){font-size:inherit;font-weight:500;background-color:transparent;padding:0;word-spacing:-.25em;letter-spacing:-.0125em}.docs-text-02+p{margin-top:.9375rem}.docs-text-02+pre{margin-top:1.875rem}.docs-text-05+p{margin-top:.75rem}.docs-text-03 code:not(.pill)>span,.docs-text-05 code:not(.pill)>span{color:var(--name-color)}h5,.docs-text-05{margin-bottom:2px}h4+ul{margin-top:0}ul+pre{margin-top:18px}p+pre{margin-top:18px}.dot-indent,.quote-indent{text-indent:-.5625em}.doubledash-indent{text-indent:-1.125em}pre>code,code.block{border-radius:.375rem;width:calc(100% + 1.5rem);margin-left:-.75rem}pre,code.block{white-space:pre}.js.block+p,.html-code.block+p{margin-top:1.125rem}pre>code .comment{color:#75858c}code{font-size:.9375em;font-weight:500;padding:0 2px 2px;margin-left:-1px;margin-right:-1px;border-radius:4px;word-spacing:-.125em;white-space:nowrap;letter-spacing:-.0125em}code>.params{color:#46789a;font-weight:400}script[type=text]{white-space:pre;border-width:0;padding:0;line-height:inherit;tab-size:2;margin-left:-4.875rem;margin-top:-1.5rem;margin-bottom:-1.5rem;background-color:transparent}line{stroke-width:1;stroke:inherit}*+.component-doc-toggle-block{margin-top:.375rem}.active+.component-doc-toggle-block{margin-top:1.875rem}header+.component-doc-toggle-block{margin-top:1.875rem}.component-doc-toggle-block>header+.class-grid{margin-top:1.5rem}.grid>.docs-text-05{margin-top:0}.class-grid{grid-row-gap:0!important;justify-items:stretch}.class-grid>*{margin:0}.class-grid>*,.class-grid>pre{grid-column:1 / span 3}.class-grid>pre{display:none}.class-grid>pre+*{grid-column:1 / span 3;align-self:start}.class-grid>.docs-text-05{grid-column:1 / span 1;justify-self:end;align-self:start;overflow:visible;text-align:right;text-overflow:clip;width:auto;margin-right:0}.class-grid>.docs-text-05+*{margin-top:0!important}.class-grid>pre+.thumb{height:auto;line-height:1em;padding-top:calc(1.4125em - .5em);padding-bottom:calc(1.4em - .5em);text-indent:2.8125em;white-space:nowrap}.class-grid+.class-grid{margin-top:.75rem}@media (min-width: 50em){.class-grid>pre{display:inline-block}.class-grid>*,.class-grid>pre{grid-column:1 / span 3}.class-grid>pre+*{grid-column:4 / span 3}.class-grid>.docs-text-05{align-self:baseline}.class-grid>.docs-text-05+pre{align-self:baseline}.class-grid>.docs-text-05+pre+*{align-self:baseline}}@media (min-width: 70em){.class-grid>*,.class-grid>pre{grid-column:3 / span 3}.class-grid>pre+*{grid-column:6 / span 3}}.note{float:right;clear:right;width:calc(33.333333% - 1.875rem);margin:.9375rem 0 .9375rem 3.75rem;opacity:.8}.docs-grid{--x-gap: 1.875rem;--y-gap: 2.8125rem;grid-template-rows:min-content;padding:1.875rem 1.5rem 3.75rem}.docs-section-grid{row-gap:.9375rem;grid-auto-flow:column dense;align-content:start}@media (min-width: 50em){.docs-grid{--x-gap: 2.8125rem;--y-gap: 2.8125rem;padding-left:1.875rem;padding-right:1.875rem}}@media (min-width: 70em){.docs-grid{--y-gap: 3.75rem}}@media (min-width: 90em){.docs-grid{--x-gap: 3.75rem;padding-left:calc(.5 * var(--x-gap));padding-right:calc(.5 * var(--x-gap))}}.default-pill{color:#15374e;background-color:#d4dee4}.default{display:inline;margin-left:.1875em;opacity:.25}.param{display:inline;opacity:.33333333}.doc-toggle-block>.docs-text-05{display:flex;justify-content:space-between;align-content:center;align-items:center}.doc-toggle-block>.docs-text-05>.pill{margin:0;text-indent:0}.docs-text-05>a{display:inline}.docs-text-05>a>code{display:inline;margin:0;white-space:pre}.part-docs-text-05>a>code{position:relative;left:-1.125rem}.method-docs-text-05>a>code,.property-docs-text-05>a>code{position:relative;left:-.5625rem}.selector-docs-text-05>a>code{position:relative;left:-.5625rem}.var-docs-text-05>a>code{position:relative;left:-1.125rem}.string-docs-text-05>a>code{position:relative;left:-.5625rem}.docs-text-05+.bottom-bubble{left:3.75rem;top:calc(100% - .75rem);max-width:150%}.\@0-columns{display:block!important;column-gap:var(--x-gap);--x-gap: 1.5rem}.\@0-1-columns{columns:1!important}.\@0-2-columns{columns:2!important}.\@0-3-columns{columns:3!important}.\@0-grid{display:grid!important;grid-auto-flow:row;grid-auto-columns:minmax(0,1fr);column-gap:var(--x-gap);row-gap:var(--y-gap);--x-gap: 1.5rem;--y-gap: 1.5rem}.\@0-grid[hidden]{display:none!important}.\@0-dense-grid{grid-auto-flow:dense}.\@0-y-start-grid{align-content:start}.\@0-y-center-grid{align-content:center}.\@0-1x-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.\@0-2x-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.\@0-3x-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.\@0-x1{grid-column-start:1!important}.\@0-x2{grid-column-start:2!important}.\@0-x3{grid-column-start:3!important}.\@0-1x{grid-column-end:span 1!important}.\@0-2x{grid-column-end:span 2!important}.\@0-3x{grid-column-end:span 3!important}.\@0-x-end{justify-self:end!important;margin-left:auto;margin-right:0}.\@0-x-start{justify-self:start!important;margin-left:0;margin-right:auto}.\@0-x-center{justify-self:center!important;margin-left:auto;margin-right:auto}.\@0-x-stretch{justify-self:stretch!important;margin-left:0;margin-right:0;max-width:100%;width:100%}.\@0-x-unbleedl{margin-left:calc(.5 * var(--x-gap));margin-right:0;max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@0-x-unbleedr{margin-left:0;margin-right:calc(.5 * var(--x-gap));max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@0-x-bleedl{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:0;max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@0-x-bleedr{justify-self:stretch!important;margin-left:0;margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@0-x-bleed{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@0-x-floodl{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:0;max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@0-x-floodr{justify-self:stretch!important;margin-left:0;margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@0-x-flood{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 2 * var(--x-gap));width:calc(100% + 2 * var(--x-gap))}.\@0-x-bleedl.\@0-x-floodr{margin-left:calc(-.5 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 1.5 * var(--x-gap));width:calc(100% + 1.5 * var(--x-gap))}.\@0-1y-grid{grid-template-rows:repeat(1,minmax(0,1fr))}.\@0-2y-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.\@0-3y-grid{grid-template-rows:repeat(3,minmax(0,1fr))}.\@0-4y-grid{grid-template-rows:repeat(4,minmax(0,1fr))}.\@0-5y-grid{grid-template-rows:repeat(5,minmax(0,1fr))}.\@0-6y-grid{grid-template-rows:repeat(6,minmax(0,1fr))}.\@0-y1{grid-row-start:1!important}.\@0-y2{grid-row-start:2!important}.\@0-y3{grid-row-start:3!important}.\@0-y4{grid-row-start:4!important}.\@0-y5{grid-row-start:5!important}.\@0-y6{grid-row-start:6!important}.\@0-1y{grid-row-end:span 1!important}.\@0-2y{grid-row-end:span 2!important}.\@0-3y{grid-row-end:span 3!important}.\@0-4y{grid-row-end:span 4!important}.\@0-5y{grid-row-end:span 5!important}.\@0-6y{grid-row-end:span 6!important}.\@0-y-end{align-self:end!important;margin-top:auto;margin-bottom:0}.\@0-y-start{align-self:start!important;margin-top:0;margin-bottom:auto}.\@0-y-center{align-self:center!important;margin-top:auto;margin-bottom:auto}.\@0-y-baseline{align-self:baseline!important;margin-top:auto;margin-bottom:auto}.\@0-y-lastline{align-self:last baseline!important;margin-top:auto;margin-bottom:auto}.\@0-y-stretch{justify-self:stretch!important;margin-top:0;margin-bottom:0;max-height:100%;height:100%}.\@0-y-bleed{justify-self:stretch!important;margin-top:calc(var(--y-gap) / -2);margin-bottom:calc(var(--y-gap) / -2);max-height:calc(100% + var(--y-gap));height:calc(100% + var(--y-gap))}.\@0-y-flood{justify-self:stretch!important;margin-top:calc(-1 * var(--y-gap));margin-bottom:calc(-1 * var(--y-gap));max-height:calc(100% + 2 * var(--y-gap));height:calc(100% + 2 * var(--y-gap))}@media (min-width: 50em){.\@1-columns{display:block!important;column-gap:var(--x-gap);--x-gap: 1.5rem}.\@1-1-columns{columns:1!important}.\@1-2-columns{columns:2!important}.\@1-3-columns{columns:3!important}.\@1-4-columns{columns:4!important}.\@1-5-columns{columns:5!important}.\@1-6-columns{columns:6!important}.\@1-grid{display:grid!important;grid-auto-flow:row;grid-auto-columns:minmax(0,1fr);column-gap:var(--x-gap);row-gap:var(--y-gap);--x-gap: 1.5rem;--y-gap: 1.5rem}.\@1-grid[hidden]{display:none!important}.\@1-dense-grid{grid-auto-flow:dense}.\@1-y-start-grid{align-content:start}.\@1-y-center-grid{align-content:center}.\@1-1x-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.\@1-2x-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.\@1-3x-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.\@1-4x-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.\@1-5x-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.\@1-6x-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.\@1-x1{grid-column-start:1!important}.\@1-x2{grid-column-start:2!important}.\@1-x3{grid-column-start:3!important}.\@1-x4{grid-column-start:4!important}.\@1-x5{grid-column-start:5!important}.\@1-x6{grid-column-start:6!important}.\@1-1x{grid-column-end:span 1!important}.\@1-2x{grid-column-end:span 2!important}.\@1-3x{grid-column-end:span 3!important}.\@1-4x{grid-column-end:span 4!important}.\@1-5x{grid-column-end:span 5!important}.\@1-6x{grid-column-end:span 6!important}.\@1-x-end{justify-self:end!important;margin-left:auto;margin-right:0}.\@1-x-start{justify-self:start!important;margin-left:0;margin-right:auto}.\@1-x-center{justify-self:center!important;margin-left:auto;margin-right:auto}.\@1-x-stretch{justify-self:stretch!important;margin-left:0;margin-right:0;max-width:100%;width:100%}.\@1-x-unbleedl{margin-left:calc(.5 * var(--x-gap));margin-right:0;max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@1-x-unbleedr{margin-left:0;margin-right:calc(.5 * var(--x-gap));max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@1-x-bleedl{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:0;max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@1-x-bleedr{justify-self:stretch!important;margin-left:0;margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@1-x-bleed{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@1-x-floodl{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:0;max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@1-x-floodr{justify-self:stretch!important;margin-left:0;margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@1-x-flood{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 2 * var(--x-gap));width:calc(100% + 2 * var(--x-gap))}.\@1-x-bleedl.\@1-x-floodr{margin-left:calc(-.5 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 1.5 * var(--x-gap));width:calc(100% + 1.5 * var(--x-gap))}.\@1-1y-grid{grid-template-rows:repeat(1,minmax(0,1fr))}.\@1-2y-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.\@1-3y-grid{grid-template-rows:repeat(3,minmax(0,1fr))}.\@1-4y-grid{grid-template-rows:repeat(4,minmax(0,1fr))}.\@1-5y-grid{grid-template-rows:repeat(5,minmax(0,1fr))}.\@1-6y-grid{grid-template-rows:repeat(6,minmax(0,1fr))}.\@1-y1{grid-row-start:1!important}.\@1-y2{grid-row-start:2!important}.\@1-y3{grid-row-start:3!important}.\@1-y4{grid-row-start:4!important}.\@1-y5{grid-row-start:5!important}.\@1-y6{grid-row-start:6!important}.\@1-1y{grid-row-end:span 1!important}.\@1-2y{grid-row-end:span 2!important}.\@1-3y{grid-row-end:span 3!important}.\@1-4y{grid-row-end:span 4!important}.\@1-5y{grid-row-end:span 5!important}.\@1-6y{grid-row-end:span 6!important}.\@1-y-end{align-self:end!important;margin-top:auto;margin-bottom:0}.\@1-y-start{align-self:start!important;margin-top:0;margin-bottom:auto}.\@1-y-center{align-self:center!important;margin-top:auto;margin-bottom:auto}.\@1-y-baseline{align-self:baseline!important;margin-top:auto;margin-bottom:auto}.\@1-y-lastline{align-self:last baseline!important;margin-top:auto;margin-bottom:auto}.\@1-y-stretch{justify-self:stretch!important;margin-top:0;margin-bottom:0;max-height:100%;height:100%}.\@1-y-bleed{justify-self:stretch!important;margin-top:calc(var(--y-gap) / -2);margin-bottom:calc(var(--y-gap) / -2);max-height:calc(100% + var(--y-gap));height:calc(100% + var(--y-gap))}.\@1-y-flood{justify-self:stretch!important;margin-top:calc(-1 * var(--y-gap));margin-bottom:calc(-1 * var(--y-gap));max-height:calc(100% + 2 * var(--y-gap));height:calc(100% + 2 * var(--y-gap))}}@media (min-width: 70em){.\@2-columns{display:block!important;column-gap:var(--x-gap);--x-gap: 2.8125rem}.\@2-1-columns{columns:1!important}.\@2-2-columns{columns:2!important}.\@2-3-columns{columns:3!important}.\@2-4-columns{columns:4!important}.\@2-5-columns{columns:5!important}.\@2-6-columns{columns:6!important}.\@2-7-columns{columns:7!important}.\@2-8-columns{columns:8!important}.\@2-9-columns{columns:9!important}.\@2-grid{display:grid!important;grid-auto-flow:row;grid-auto-columns:minmax(0,1fr);column-gap:var(--x-gap);row-gap:var(--y-gap);--x-gap: 2.8125rem;--y-gap: 1.875rem}.\@2-grid[hidden]{display:none!important}.\@2-dense-grid{grid-auto-flow:dense}.\@2-y-start-grid{align-content:start}.\@2-y-center-grid{align-content:center}.\@2-1x-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.\@2-2x-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.\@2-3x-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.\@2-4x-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.\@2-5x-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.\@2-6x-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.\@2-7x-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.\@2-8x-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.\@2-9x-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.\@2-x1{grid-column-start:1!important}.\@2-x2{grid-column-start:2!important}.\@2-x3{grid-column-start:3!important}.\@2-x4{grid-column-start:4!important}.\@2-x5{grid-column-start:5!important}.\@2-x6{grid-column-start:6!important}.\@2-x7{grid-column-start:7!important}.\@2-x8{grid-column-start:8!important}.\@2-x9{grid-column-start:9!important}.\@2-1x{grid-column-end:span 1!important}.\@2-2x{grid-column-end:span 2!important}.\@2-3x{grid-column-end:span 3!important}.\@2-4x{grid-column-end:span 4!important}.\@2-5x{grid-column-end:span 5!important}.\@2-6x{grid-column-end:span 6!important}.\@2-7x{grid-column-end:span 7!important}.\@2-8x{grid-column-end:span 8!important}.\@2-9x{grid-column-end:span 9!important}.\@2-x-end{justify-self:end!important;margin-left:auto;margin-right:0}.\@2-x-start{justify-self:start!important;margin-left:0;margin-right:auto}.\@2-x-center{justify-self:center!important;margin-left:auto;margin-right:auto}.\@2-x-stretch{justify-self:stretch!important;margin-left:0;margin-right:0;max-width:100%;width:100%}.\@2-x-unbleedl{margin-left:calc(.5 * var(--x-gap));margin-right:0;max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@2-x-unbleedr{margin-left:0;margin-right:calc(.5 * var(--x-gap));max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@2-x-bleedl{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:0;max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@2-x-bleedr{justify-self:stretch!important;margin-left:0;margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@2-x-bleed{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@2-x-floodl{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:0;max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@2-x-floodr{justify-self:stretch!important;margin-left:0;margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@2-x-flood{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 2 * var(--x-gap));width:calc(100% + 2 * var(--x-gap))}.\@2-x-bleedl.\@2-x-floodr{margin-left:calc(-.5 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 1.5 * var(--x-gap));width:calc(100% + 1.5 * var(--x-gap))}.\@2-1y-grid{grid-template-rows:repeat(1,minmax(0,1fr))}.\@2-2y-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.\@2-3y-grid{grid-template-rows:repeat(3,minmax(0,1fr))}.\@2-4y-grid{grid-template-rows:repeat(4,minmax(0,1fr))}.\@2-5y-grid{grid-template-rows:repeat(5,minmax(0,1fr))}.\@2-6y-grid{grid-template-rows:repeat(6,minmax(0,1fr))}.\@2-y1{grid-row-start:1!important}.\@2-y2{grid-row-start:2!important}.\@2-y3{grid-row-start:3!important}.\@2-y4{grid-row-start:4!important}.\@2-y5{grid-row-start:5!important}.\@2-y6{grid-row-start:6!important}.\@2-1y{grid-row-end:span 1!important}.\@2-2y{grid-row-end:span 2!important}.\@2-3y{grid-row-end:span 3!important}.\@2-4y{grid-row-end:span 4!important}.\@2-5y{grid-row-end:span 5!important}.\@2-6y{grid-row-end:span 6!important}.\@2-y-end{align-self:end!important;margin-top:auto;margin-bottom:0}.\@2-y-start{align-self:start!important;margin-top:0;margin-bottom:auto}.\@2-y-center{align-self:center!important;margin-top:auto;margin-bottom:auto}.\@2-y-baseline{align-self:baseline!important;margin-top:auto;margin-bottom:auto}.\@2-y-lastline{align-self:last baseline!important;margin-top:auto;margin-bottom:auto}.\@2-y-stretch{justify-self:stretch!important;margin-top:0;margin-bottom:0;max-height:100%;height:100%}.\@2-y-bleed{justify-self:stretch!important;margin-top:calc(var(--y-gap) / -2);margin-bottom:calc(var(--y-gap) / -2);max-height:calc(100% + var(--y-gap));height:calc(100% + var(--y-gap))}.\@2-y-flood{justify-self:stretch!important;margin-top:calc(-1 * var(--y-gap));margin-bottom:calc(-1 * var(--y-gap));max-height:calc(100% + 2 * var(--y-gap));height:calc(100% + 2 * var(--y-gap))}}@media (min-width: 90em){.\@3-columns{display:block!important;column-gap:var(--x-gap);--x-gap: 3.75rem}.\@3-1-columns{columns:1!important}.\@3-2-columns{columns:2!important}.\@3-3-columns{columns:3!important}.\@3-4-columns{columns:4!important}.\@3-5-columns{columns:5!important}.\@3-6-columns{columns:6!important}.\@3-7-columns{columns:7!important}.\@3-8-columns{columns:8!important}.\@3-9-columns{columns:9!important}.\@3-grid{display:grid!important;grid-auto-flow:row;grid-auto-columns:minmax(0,1fr);column-gap:var(--x-gap);row-gap:var(--y-gap);--x-gap: 3.75rem;--y-gap: 1.875rem}.\@3-grid[hidden]{display:none!important}.\@3-dense-grid{grid-auto-flow:dense}.\@3-y-start-grid{align-content:start}.\@3-y-center-grid{align-content:center}.\@3-1x-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.\@3-2x-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.\@3-3x-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.\@3-4x-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.\@3-5x-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.\@3-6x-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.\@3-7x-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.\@3-8x-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.\@3-9x-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.\@3-x1{grid-column-start:1!important}.\@3-x2{grid-column-start:2!important}.\@3-x3{grid-column-start:3!important}.\@3-x4{grid-column-start:4!important}.\@3-x5{grid-column-start:5!important}.\@3-x6{grid-column-start:6!important}.\@3-x7{grid-column-start:7!important}.\@3-x8{grid-column-start:8!important}.\@3-x9{grid-column-start:9!important}.\@3-1x{grid-column-end:span 1!important}.\@3-2x{grid-column-end:span 2!important}.\@3-3x{grid-column-end:span 3!important}.\@3-4x{grid-column-end:span 4!important}.\@3-5x{grid-column-end:span 5!important}.\@3-6x{grid-column-end:span 6!important}.\@3-7x{grid-column-end:span 7!important}.\@3-8x{grid-column-end:span 8!important}.\@3-9x{grid-column-end:span 9!important}.\@3-x-end{justify-self:end!important;margin-left:auto;margin-right:0}.\@3-x-start{justify-self:start!important;margin-left:0;margin-right:auto}.\@3-x-center{justify-self:center!important;margin-left:auto;margin-right:auto}.\@3-x-stretch{justify-self:stretch!important;margin-left:0;margin-right:0;max-width:100%;width:100%}.\@3-x-unbleedl{margin-left:calc(.5 * var(--x-gap));margin-right:0;max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@3-x-unbleedr{margin-left:0;margin-right:calc(.5 * var(--x-gap));max-width:calc(100% - var(.5 * --x-gap));width:calc(100% - var(.5 * --x-gap))}.\@3-x-bleedl{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:0;max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@3-x-bleedr{justify-self:stretch!important;margin-left:0;margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(.5 * --x-gap));width:calc(100% + var(.5 * --x-gap))}.\@3-x-bleed{justify-self:stretch!important;margin-left:calc(var(--x-gap) / -2);margin-right:calc(var(--x-gap) / -2);max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@3-x-floodl{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:0;max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@3-x-floodr{justify-self:stretch!important;margin-left:0;margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + var(--x-gap));width:calc(100% + var(--x-gap))}.\@3-x-flood{justify-self:stretch!important;margin-left:calc(-1 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 2 * var(--x-gap));width:calc(100% + 2 * var(--x-gap))}.\@3-x-bleedl.\@3-x-floodr{margin-left:calc(-.5 * var(--x-gap));margin-right:calc(-1 * var(--x-gap));max-width:calc(100% + 1.5 * var(--x-gap));width:calc(100% + 1.5 * var(--x-gap))}.\@3-1y-grid{grid-template-rows:repeat(1,minmax(0,1fr))}.\@3-2y-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.\@3-3y-grid{grid-template-rows:repeat(3,minmax(0,1fr))}.\@3-4y-grid{grid-template-rows:repeat(4,minmax(0,1fr))}.\@3-5y-grid{grid-template-rows:repeat(5,minmax(0,1fr))}.\@3-6y-grid{grid-template-rows:repeat(6,minmax(0,1fr))}.\@3-y1{grid-row-start:1!important}.\@3-y2{grid-row-start:2!important}.\@3-y3{grid-row-start:3!important}.\@3-y4{grid-row-start:4!important}.\@3-y5{grid-row-start:5!important}.\@3-y6{grid-row-start:6!important}.\@3-1y{grid-row-end:span 1!important}.\@3-2y{grid-row-end:span 2!important}.\@3-3y{grid-row-end:span 3!important}.\@3-4y{grid-row-end:span 4!important}.\@3-5y{grid-row-end:span 5!important}.\@3-6y{grid-row-end:span 6!important}.\@3-y-end{align-self:end!important;margin-top:auto;margin-bottom:0}.\@3-y-start{align-self:start!important;margin-top:0;margin-bottom:auto}.\@3-y-center{align-self:center!important;margin-top:auto;margin-bottom:auto}.\@3-y-baseline{align-self:baseline!important;margin-top:auto;margin-bottom:auto}.\@3-y-lastline{align-self:last baseline!important;margin-top:auto;margin-bottom:auto}.\@3-y-stretch{justify-self:stretch!important;margin-top:0;margin-bottom:0;max-height:100%;height:100%}.\@3-y-bleed{justify-self:stretch!important;margin-top:calc(var(--y-gap) / -2);margin-bottom:calc(var(--y-gap) / -2);max-height:calc(100% + var(--y-gap));height:calc(100% + var(--y-gap))}.\@3-y-flood{justify-self:stretch!important;margin-top:calc(-1 * var(--y-gap));margin-bottom:calc(-1 * var(--y-gap));max-height:calc(100% + 2 * var(--y-gap));height:calc(100% + 2 * var(--y-gap))}}@font-face{font-family:Euclid;src:url(https://stephen.band/slide-show/docs/fonts/Euclid/EuclidCircularA-Regular-WebTrial.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Euclid;src:url(https://stephen.band/slide-show/docs/fonts/Euclid/EuclidCircularA-Medium-WebXL.woff) format("woff");font-weight:600;font-style:normal}@font-face{font-family:MartianMono;src:url(https://stephen.band/slide-show/docs/fonts/Martian-Mono/MartianMonoVF.woff2) format("woff2")}.docs-text-01,h1,.docs-text-02,h2,.docs-text-03,h3,.docs-text-04,h4,.docs-text-05,h5,.docs-text-06,h6,.docs-text-08,body,.docs-text-09{font-family:Euclid,Helvetica,Arial,sans-serif;font-style:none;text-transform:none;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.docs-text-05 code:not(.pill){font-family:MartianMono,Menlo,Monaco,monospace!important;font-variation-settings:"wght" 350,"wdth" 96;font-size:.875em}code{font-family:MartianMono,Menlo,Monaco,monospace!important;font-variation-settings:"wght" 520,"wdth" 96;font-size:.8125em}.docs-text-01,h1{font-size:14.5vw;line-height:1em;font-weight:600}.docs-text-02,h2{font-size:calc(1.88337054rem + .34877232vw);line-height:1.152em;font-weight:600}.docs-text-03,h3{font-size:calc(1.50669643rem + .27901786vw);line-height:1.44em;font-weight:600}.docs-text-04,h4{font-size:calc(1.20535714rem + .22321429vw);line-height:1.2em;font-weight:600}.docs-text-05,h5{font-size:calc(.96428571rem + .17857143vw);line-height:1.5em;font-weight:600}.docs-text-08,body{font-size:calc(.96428571rem + .17857143vw);line-height:1.5em;font-weight:400}.docs-text-09{font-size:calc(.77142857rem + .14285714vw);line-height:1.40625em;font-weight:400}.docs-text-01{font-size:14.5vw;white-space:nowrap}@media (min-width: 50em){.docs-text-01{font-size:10.2vw}}@media (min-width: 70em){.docs-text-01{font-size:7vw}}.docs-text-05>a{min-height:0;padding:0;display:inline-block}.docs-text-05>a:hover,.docs-text-05>a:focus-visible,.docs-text-05>a.on{color:#137bb1}.docs-text-04+p,.docs-text-04+.docs-text-08{margin-top:1em}*+.docs-text-04{margin-top:2.4em}p+p,ul+p{margin-top:1em}pre+p,p+pre{margin-top:1.5em}small>p+p{margin-top:0}@media (min-width: 50em){.\@1-no-wrap{white-space:nowrap;flex-wrap:nowrap;text-overflow:ellipsis}}.doc-toggle-block{font-size:.9em;min-height:calc(1.5em + 1rem)}*>.doc-toggle-block{margin-bottom:-.5rem;padding-bottom:.5rem}*+.doc-toggle-block{margin-top:-.5rem;padding-top:.5rem}.docs-text-04+.doc-toggle-block{margin-top:calc(1em - .5rem)}.doc-toggle-block>pre>code{margin-left:0;margin-right:0;width:100%}.grid{--x-gap: 1.5rem}.banner-slide-show{column-gap:.75rem;--padding-left: 1.5rem;--padding-right: 1.5rem;height:min-content}.banner-slide-show>a,.banner-slide-show>a>img,.banner-slide-show>img{display:block;width:100%;max-width:100%}@media (min-width: 50em){.banner-slide-show{column-gap:1.25rem;--padding-left: 4.5rem;--padding-right: 4.5rem}}@media (min-width: 70em){body.docs-grid{padding-top:4.5em;padding-left:var(--x-gap);padding-right:var(--x-gap)}.banner-slide-show{column-gap:1.5rem;--padding-left: calc(11.11111111% + 1.5rem / 9);--padding-right: calc(11.11111111% + 1.5rem / 9)}}@media (min-width: 90em){.banner-slide-show{--padding-left: calc(11.11111111% + 1.5rem / 9);--padding-right: calc(22.22222222% + 3rem / 9)}}.banner-slide-show:-webkit-full-screen{--padding-left: .75rem;--padding-right: .75rem}.banner-slide-show:fullscreen{--padding-left: .75rem;--padding-right: .75rem}@media (min-width: 50em){.banner-slide-show:-webkit-full-screen{--padding-left: 4.5rem;--padding-right: 4.5rem}.banner-slide-show:fullscreen{--padding-left: 4.5rem;--padding-right: 4.5rem}}.githubsponsor-button{--height: 1.75em;width:200px;color:#24292f;background-color:#f6f8fa;box-shadow:0 1px #1b1f240a,inset 0 1px #ffffff40;transition:80ms cubic-bezier(.33,1,.68,1);transition-property:color,background-color,box-shadow,border-color;position:relative;display:inline-block;padding:.3125rem 1rem;font-size:.875rem;font-weight:500;--line-height: 1em;white-space:nowrap;vertical-align:middle;cursor:pointer;-webkit-user-select:none;user-select:none;border:1px solid rgba(27,31,36,.45);border-radius:.375rem;-webkit-appearance:none;appearance:none}.githubsponsor-button>svg{fill:#bf3989;width:1rem;height:1rem;margin-right:.25rem}.tab-slide-show{width:100%;max-width:28.125rem;padding-top:1.25rem;padding-bottom:1.25rem;border-left:1px solid #eeeeee;border-right:1px solid #eeeeee;grid-auto-columns:max-content;column-gap:2px;background-image:radial-gradient(circle at -3.5rem,rgba(0,0,0,.25) 0%,transparent 4.5rem),radial-gradient(circle at calc(100% + 3.5rem),rgba(0,0,0,.25) 0%,transparent 4.5rem)}.tab-slide-show>*{scroll-snap-align:start}*+.tab-slide-show{margin-top:1.5em}.tab-button{--font-size: .9375rem;--line-height: 1.25em;--height: 2.5rem;color:#666;border-bottom-color:#999;border-radius:0;padding-left:1em;padding-right:1em}.tab-button:hover,.tab-button:focus-visible{color:#000;border-bottom-color:currentcolor}.tab-button.active{color:#000;border-bottom-color:currentcolor}.tab-button.active:before{content:"";position:absolute;bottom:0;left:0;right:0;border-bottom:3px solid currentcolor} diff --git a/docs/docs.js b/docs/docs.js index c834162..81da9cb 100644 --- a/docs/docs.js +++ b/docs/docs.js @@ -1,6 +1,6 @@ /* slide-show - 1.1.4 + 1.1.6 By Stephen Band - Built 2022-05-16 23:33 */ + Built 2022-05-19 13:25 */ -var mt=Object.getOwnPropertySymbols;var Wt=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable;var dt=(t,e)=>{var n={};for(var o in t)Wt.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&mt)for(var o of mt(t))e.indexOf(o)<0&&$t.call(t,o)&&(n[o]=t[o]);return n};function P(t){var e=new Map;return function(o){if(e.has(o))return e.get(o);var r=t(o);return e.set(o,r),r}}var Zt=Array.prototype;function Vt(t,e){return typeof t=="function"?t.apply(null,e):t}function gt(t,e,n){n=n||t.length;var o=n===1?e?t:P(t):P(function(r){return gt(function(){var i=[r];return i.push.apply(i,arguments),t.apply(null,i)},e,n-1)});return function r(i){return arguments.length===0?r:arguments.length===1?o(i):arguments.length>=n?t.apply(null,arguments):Vt(o(i),Zt.slice.call(arguments,1))}}var u=gt;function R(t,e){t.remove&&t.remove(e);let n;for(;(n=t.indexOf(e))!==-1;)t.splice(n,1);return e}var Qe=u(R,!0);function K(t){return document.getElementById(t)||void 0}function E(t){return t.tagName&&t.tagName.toLowerCase()}function Jt(t,e){return e.matches?e.matches(t):e.matchesSelector?e.matchesSelector(t):e.webkitMatchesSelector?e.webkitMatchesSelector(t):e.mozMatchesSelector?e.mozMatchesSelector(t):e.msMatchesSelector?e.msMatchesSelector(t):e.oMatchesSelector?e.oMatchesSelector(t):E(e)===t}var h=u(Jt,!0);function yt(t,e){var n=arguments[2];if(!(!e||e===document||e===n||e.nodeType===11))return e=e.correspondingUseElement||e,h(t,e)?e:yt(t,e.parentNode,n)}var wt=u(yt,!0);function W(t){var e=t.id;if(!e){do e=Math.ceil(Math.random()*1e5);while(document.getElementById(e));t.id=e}return e}function vt(t){return t.nodeType===1}function Qt(t){return(/^\//.test(t)?"":"/")+t}function k(t){var e=window.location;return(!t.hostname||e.hostname===t.hostname)&&e.pathname===Qt(t.pathname)}function $(t){return t}function p(){}var Xt=Object.freeze;function bt(){return this}var v=Xt({shift:p,push:p,forEach:p,join:function(){return""},map:bt,filter:bt,reduce:function(t,e){return e},length:0,each:p,pipe:$,start:p,stop:p,done:p,valueOf:function(){return null}});function Z(){return this}function V(t){return t&&t[Symbol.iterator]}var Yt=Object.assign;function te(t){return t.stop?t.stop():t()}function ee(t){t.forEach(te),t.length=0}function b(){}Yt(b.prototype,{stop:function(){return this.stopables&&ee(this.stopables),this},done:function(e){return(this.stopables||(this.stopables=[])).push(e),this}});var ne=Object.assign;function O(t){b.prototype.stop.apply(t);let e=-1,n;for(;n=t[++e];)t[e]=void 0,O(n)}function c(){}ne(c.prototype,{pipe:function(t){return this[0]=t,t},stop:function(){return O(this[0]),this}});var l=Object.assign,m=Object.create;function S(t,e){e!==void 0&&t[0].push(e)}function oe(t,e){if(t[1]){let n=-1;for(;t[++n]&&t[n]!==e;);for(;t[n++];)t[n-1]=t[n];O(e)}else t.stop()}function s(t){this.input=t}l(s.prototype,b.prototype,{push:function(t){S(this,t)},pipe:function(t){if(this[0])throw new Error("Stream: Attempt to .pipe() a unicast stream multiple times. Create a multicast stream with stream.broadcast().");return this[0]=t,this.input.pipe(this),t},map:function(t){return new xt(this,t)},filter:function(t){return new Et(this,t)},chunk:function(t){return new St(this,t)},flatMap:function(t){return new kt(this,t)},take:function(t){return new Ct(this,t)},each:function(t){return new Dt(this,t)},reduce:function(t,e){return new At(this,t,e)},scan:function(t,e){return new Bt(this,t,e)},stop:function(){return oe(this.input,this),this}});function xt(t,e){this.input=t,this.fn=e}xt.prototype=l(m(s.prototype),{push:function(e){let n=this.fn;S(this,n(e))}});function Et(t,e){this.input=t,this.fn=e}Et.prototype=l(m(s.prototype),{push:function(e){this.fn(e)&&S(this,e)}});function kt(t,e){this.input=t,this.fn=e}kt.prototype=l(m(s.prototype),{push:function(e){let o=this.fn(e);if(o!==void 0)if(V(o))for(let r of o)S(this,r);else throw new Error("Stream: Cannot .flatMap() non-iterable values")}});function St(t,e){this.input=t,this.chunk=[],typeof e=="number"?this.n=e:typeof e=="function"&&(this.fn=e)}St.prototype=l(m(s.prototype),{fn:function(t){return t.length===this.n},push:function(e){let n=this.chunk;n.push(e),this.fn(n)&&(S(this,n),this.chunk=[])}});function Ct(t,e){this.input=t,this.count=e}Ct.prototype=l(m(s.prototype),{push:function(e){this[0].push(e),--this.count||this.stop()}});function At(t,e,n){return this.input=t,this.fn=e,this.value=n,this.i=0,t.pipe(this),n}At.prototype=l(m(s.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t,this.i++,this)}});function Bt(t,e,n){this.input=t,this.fn=e,this.value=n}Bt.prototype=l(m(s.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t),this[0].push(this.value)}});function Dt(t,e){this.input=t,this.push=e,t.pipe(this)}Dt.prototype=l(m(s.prototype),{each:null,reduce:null,pipe:null});var re=Array.prototype,ie=Object.assign,se=Object.create;function C(t){this.buffer=t||[]}C.prototype=ie(se(s.prototype),c.prototype,{push:function(t){t!==void 0&&this.buffer.push(t)},pipe:function(t){for(this[0]=t;this.buffer.length;)this[0].push(re.shift.apply(this.buffer));return this.buffer=this[0],t}});var ue=Object.assign,ce=Object.create;function A(t,e){this.input=t,this.memory=!!(e&&e.memory),e&&e.hot&&this.pipe(v)}A.prototype=ue(ce(s.prototype),{push:function(t){if(t!==void 0){this.memory&&(this.value=t);let e=-1;for(;this[++e];)this[e].push(t)}},pipe:function(t){let e=-1;for(;this[++e];);return this[e]=t,this.value!==void 0&&t.push(this.value),e===0&&this.input.pipe(this),t}});var ae=Object.assign;function T(t){this.promise=t}ae(T.prototype,c.prototype,{pipe:function(t){let e=this.promise;this[0]=t,e.then(n=>this[0].push(n)).finally(n=>this.stop())},stop:function(){c.prototype.stop.apply(this,arguments),this[0]=v}});var Ot=Object.assign,Tt=Object.keys;function Pt(t,e,n){let o=t.values,r=t.names,i=t[0];o[e]=n,(t.active||(t.active=Tt(o).length===r.length))&&i.push(Ot({},o))}function j(t){this.inputs=t,this.active=!1}Ot(j.prototype,c.prototype,{pipe:function(t){let e=this.inputs;this.values={},this.names=Tt(e),this[0]=t;for(let n in e){let o=e[n];o.pipe?t.done(o.each(r=>Pt(this,n,r))):o.then?o.then(r=>Pt(this,n,r)):console.log("Todo: combine() raw values ?")}}});var fe=Object.assign;function L(t){this.inputs=t}fe(L.prototype,c.prototype,{pipe:function(t){let e=this.inputs;this[0]=t;let n=-1,o;for(;o=e[++n];)if(o.pipe)o.pipe(t);else if(o.then)o.then(r=>t.push(r));else{let r=-1;for(;++r0}function he(t,e,n){return t[n]=e.shift(),t}function me(t){return[]}function J(t,e,n,o){n.push(o),e.every(le)&&t.push(e.reduce(he,{}))}function M(t){this.inputs=t,this.buffers=Q.map.call(t,me)}pe(M.prototype,c.prototype,{pipe:function(t){let e=this.inputs,n=this.buffers;this[0]=t,Q.forEach.call(e,(o,r)=>{let i=n[r];o.each?t.done(o.each(a=>J(t,n,i,a))):o.then?o.then(a=>J(t,n,i,a)):Q.forEach.call(o,a=>J(t,n,i,a))})},stop:function(){let t=this.inputs,e=-1,n;for(;n=t[++e];)n.stop();return c.prototype.stop.apply(this,arguments)}});var de=Array.prototype,jt=Object.assign;function ge(t){throw new TypeError("Stream: invalid source object cannot be read into stream")}var Lt=jt(s,{of:function(){return new C(de.slice.apply(arguments))},from:function(t){return t.pipe?new s(t):t.then?new s(new T(t)):typeof t.length=="number"?new C(t):ge(t)},broadcast:function(e){return new A(v,e)},combine:function(e){return new s(new j(e))},merge:function(){return new s(new L(arguments))},zip:function(){return new s(new M(arguments))}});jt(s.prototype,{log:Z,broadcast:function(t){return new A(this,t)}});var ye=Object.assign,we=/\s+/,Mt={fullscreenchange:"fullscreenElement"in document?"fullscreenchange":"webkitFullscreenElement"in document?"webkitfullscreenchange":"fullscreenchange"};function U(t){return t.which===1&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}var Ut=0;window.addEventListener("click",t=>Ut=t.timeStamp);function ve(t,e){return t.node.addEventListener(Mt[e]||e,t,t.options),t}function be(t,e){return t.node.removeEventListener(Mt[e]||e,t),t}function Nt(t,e,n){this.types=t.split(we),this.options=e,this.node=n,this.select=e&&e.select}ye(Nt.prototype,c.prototype,{pipe:function(t){this[0]=t,this.types.reduce(ve,this)},handleEvent:function(t){if(!(t.type==="click"&&t.timeStamp<=Ut)){if(this.select){let e=t.target.closest(this.select);if(!e)return;t.selectedTarget=e}this[0].push(t)}},stop:function(){this.types.reduce(be,this),c.prototype.stop.apply(this,arguments)}});function f(t,e){let n;return typeof t=="object"&&(n=t,t=n.type),new Lt(new Nt(t,n,e))}function xe(t,e){return e[t]}var d=u(xe,!0);function X(t){return!!t||t!=null&&!Number.isNaN(t)}function Y(t,e){return function(){let o=t.apply(this,arguments),r=e[o]||e.default;if(!r)throw new Error('overload() no handler for "'+o+'"');return r.apply(this,arguments)}}var N=d("classList"),y=N;function Ee(t,e){N(e).add(t)}function ke(t,e){N(e).remove(t)}function Se(t,e){(function n(o){return t--?requestAnimationFrame(n):e(o)})()}function Ce(t,e){var n=N(e);n.add(t),Se(2,()=>n.remove(t))}var ro=u(Ee,!0),io=u(ke,!0),so=u(Ce,!0);function tt(t){if(typeof t!="object"||arguments.length>1)throw new Error("delegate() now takes an object of selector:fn pairs.");let e=Object.keys(t);return function(o){let r=o.target,i=-1;for(;e[++i];){let a=r.closest(e[i]);if(a)return t[e[i]](a,...arguments)}}}var Ae=Object.assign,B={bubbles:!0,cancelable:!0};function Be(t,e){var _;let n=B,o,r,i,a,H,z;return typeof t=="object"?(_=t,{type:t,detail:r,bubbles:i,cancelable:a,composed:H}=_,o=dt(_,["type","detail","bubbles","cancelable","composed"]),z=Ae(new CustomEvent(t,{detail:r,bubbles:i||B.bubbles,cancelable:a||B.cancelable,composed:H||B.composed}),o)):z=new CustomEvent(t,B),e.dispatchEvent(z)}var F=u(Be,!0);function et(t){if(t.toArray)return t.toArray();var e=[],n=t.length,o;if(typeof t.length!="number")return e;for(e.length=n,o=0;orequestAnimationFrame(()=>i.focus()))}function it(t,e){if(!F({type:"dom-deactivate",relatedTarget:e},t))return;let o=D(t);y(o.node).remove(g.activeClass);let r=zt(o);r&&r.forEach(function(i){y(i).remove(g.onClass)}),o.active=!1}f("click",document).each(tt({"a[href]":function(t,e){if(!Ue(e)&&!(t.hostname&&!k(t))){var n=Ne(t);if(!!n){var o=document.getElementById(n);if(!!o){if(o.classList.contains("active")){e.preventDefault();return}var r=je.map(Gt(o)).reduce(Fe,0);if(r){e.preventDefault();return}if(!!rt.find(Gt(o))){var i=D(o);i.active||(e.preventDefault(),e.type==="mousedown"&&Me(e),It(o,t))}}}}},'[name="activate"]':function(t,e){let n=t.value,o=n.replace(/^#/,""),r=document.getElementById(o);if(!r)throw new Error('Button action name="activate" target "'+n+'" not found');var i=D(r);i.active||(e.preventDefault(),It(r,t))},'[name="deactivate"]':function(t,e){let n=t.value,o=n.replace(/^#/,""),r=document.getElementById(o);if(!r)throw new Error('Button action name="deactivate" target "'+n+'" not found');var i=D(r);!i.active||(e.preventDefault(),it(r,t))}}));var ot=F("dom-activate"),_t=new WeakSet;function Rt(t){_t.add(t)}function qt(t){return!_t.has(t)}function Ge(t,e){let n=(window.location.hash?window.location.hash+", ":"")+("."+g.activeClass),o=x(n,e).filter(qt);return e.matches(n)&&qt(e)&&o.push(e),o.length&&(t.push.apply(t,o),o.forEach(Rt)),t}function Ie(t,e){return Oe.filter.call(e.addedNodes,vt).reduce(Ge,t)}f("DOMContentLoaded",document).each(function(){let t=x("."+g.activeClass,document);t.length&&(nt("dom-activate",t.length+" elements – #"+t.map(d("id")).join(", #")),t.forEach(ot)),new MutationObserver((n,o)=>{if(n[0].type!=="childList")throw new Error("Not childList",n);let r=n.reduce(Ie,[]);r.length&&(nt("dom-activate",r.length+" elements – #"+r.map(d("id")).join(", #")),r.forEach(ot),r.forEach(Rt))}).observe(document.body,{attributes:!1,childList:!0,subtree:!0})});f("load",window).each(function(){if(!(!G||!/^#\S+$/.test(G)))try{x(G,document).forEach(ot)}catch(t){console.warn("dom: Cannot activate "+G,t.message)}});var st=h("[data-toggleable]");rt.push(st);var ut=[];function qe(t){return(t.hash?t.hash:t.getAttribute("href")).substring(1)}f("click",document.documentElement).each(t=>{if(!t.defaultPrevented&&!!U(t)){var e=wt("a[href]",t.target);if(!!e&&!(e.hostname&&!k(e))){var n=qe(e);!n||ut.indexOf(n)!==-1&&(it(K(n),e),t.preventDefault())}}});f("dom-activate",document).each(t=>{var e=t.target;!st(e)||ut.push(W(e))});f("dom-deactivate",document).each(t=>{var e=t.target;!st(e)||R(ut,e.id)});var w={simulatedEventDelay:.08,keyClass:"key-device",mouseClass:"mouse-device",touchClass:"touch-device",keyType:"key",mouseType:"mouse",touchType:"touch"},at={type:"mouse"},Kt=y(document.documentElement),ct,I;function ft(t){ct!==t&&(Kt.remove(ct),Kt.add(t),ct=t)}function He(t){t.timeStampt.clientHeight+"px",default:(t,e,n)=>e[n]});f("dom-deactivate",document.body).map(d("target")).filter(h(".toggle-block")).each(function(t){let e=t.getAttribute("style"),n=getComputedStyle(t),o=n["transition-property"].split(/\s*,\s*/).map(ht);t.style.transition="none",o.forEach(r=>t.style[r]=Ke(r,t,n,r)),requestAnimationFrame(function(){e?t.setAttribute("style",e):t.removeAttribute("style")})}); +var mt=Object.getOwnPropertySymbols;var Wt=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable;var dt=(t,e)=>{var n={};for(var o in t)Wt.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&mt)for(var o of mt(t))e.indexOf(o)<0&&$t.call(t,o)&&(n[o]=t[o]);return n};function P(t){var e=new Map;return function(o){if(e.has(o))return e.get(o);var r=t(o);return e.set(o,r),r}}var Zt=Array.prototype;function Vt(t,e){return typeof t=="function"?t.apply(null,e):t}function gt(t,e,n){n=n||t.length;var o=n===1?e?t:P(t):P(function(r){return gt(function(){var i=[r];return i.push.apply(i,arguments),t.apply(null,i)},e,n-1)});return function r(i){return arguments.length===0?r:arguments.length===1?o(i):arguments.length>=n?t.apply(null,arguments):Vt(o(i),Zt.slice.call(arguments,1))}}var u=gt;function R(t,e){t.remove&&t.remove(e);let n;for(;(n=t.indexOf(e))!==-1;)t.splice(n,1);return e}var Qe=u(R,!0);function K(t){return document.getElementById(t)||void 0}function E(t){return t.tagName&&t.tagName.toLowerCase()}function Jt(t,e){return e.matches?e.matches(t):e.matchesSelector?e.matchesSelector(t):e.webkitMatchesSelector?e.webkitMatchesSelector(t):e.mozMatchesSelector?e.mozMatchesSelector(t):e.msMatchesSelector?e.msMatchesSelector(t):e.oMatchesSelector?e.oMatchesSelector(t):E(e)===t}var h=u(Jt,!0);function yt(t,e){var n=arguments[2];if(!(!e||e===document||e===n||e.nodeType===11))return e=e.correspondingUseElement||e,h(t,e)?e:yt(t,e.parentNode,n)}var wt=u(yt,!0);function W(t){var e=t.id;if(!e){do e=Math.ceil(Math.random()*1e5);while(document.getElementById(e));t.id=e}return e}function vt(t){return t.nodeType===1}function Qt(t){return(/^\//.test(t)?"":"/")+t}function k(t){var e=window.location;return(!t.hostname||e.hostname===t.hostname)&&e.pathname===Qt(t.pathname)}function $(t){return t}function p(){}var Xt=Object.freeze;function bt(){return this}var v=Xt({shift:p,push:p,forEach:p,join:function(){return""},map:bt,filter:bt,includes:function(){return!1},reduce:function(t,e){return e},length:0,each:p,pipe:$,start:p,stop:p,done:p,valueOf:function(){return null}});function Z(){return this}function V(t){return t&&t[Symbol.iterator]}var Yt=Object.assign;function te(t){return t.stop?t.stop():t()}function ee(t){t.forEach(te),t.length=0}function b(){}Yt(b.prototype,{stop:function(){return this.stopables&&ee(this.stopables),this},done:function(e){return(this.stopables||(this.stopables=[])).push(e),this}});var ne=Object.assign;function O(t){b.prototype.stop.apply(t);let e=-1,n;for(;n=t[++e];)t[e]=void 0,O(n)}function c(){}ne(c.prototype,{pipe:function(t){return this[0]=t,t},stop:function(){return O(this[0]),this}});var l=Object.assign,m=Object.create;function S(t,e){e!==void 0&&t[0].push(e)}function oe(t,e){if(t[1]){let n=-1;for(;t[++n]&&t[n]!==e;);for(;t[n++];)t[n-1]=t[n];O(e)}else t.stop()}function s(t){this.input=t}l(s.prototype,b.prototype,{push:function(t){S(this,t)},pipe:function(t){if(this[0])throw new Error("Stream: Attempt to .pipe() a unicast stream multiple times. Create a multicast stream with stream.broadcast().");return this[0]=t,this.input.pipe(this),t},map:function(t){return new xt(this,t)},filter:function(t){return new Et(this,t)},chunk:function(t){return new St(this,t)},flatMap:function(t){return new kt(this,t)},take:function(t){return new Ct(this,t)},each:function(t){return new Dt(this,t)},reduce:function(t,e){return new At(this,t,e)},scan:function(t,e){return new Bt(this,t,e)},stop:function(){return oe(this.input,this),this}});function xt(t,e){this.input=t,this.fn=e}xt.prototype=l(m(s.prototype),{push:function(e){let n=this.fn;S(this,n(e))}});function Et(t,e){this.input=t,this.fn=e}Et.prototype=l(m(s.prototype),{push:function(e){this.fn(e)&&S(this,e)}});function kt(t,e){this.input=t,this.fn=e}kt.prototype=l(m(s.prototype),{push:function(e){let o=this.fn(e);if(o!==void 0)if(V(o))for(let r of o)S(this,r);else throw new Error("Stream: Cannot .flatMap() non-iterable values")}});function St(t,e){this.input=t,this.chunk=[],typeof e=="number"?this.n=e:typeof e=="function"&&(this.fn=e)}St.prototype=l(m(s.prototype),{fn:function(t){return t.length===this.n},push:function(e){let n=this.chunk;n.push(e),this.fn(n)&&(S(this,n),this.chunk=[])}});function Ct(t,e){this.input=t,this.count=e}Ct.prototype=l(m(s.prototype),{push:function(e){this[0].push(e),--this.count||this.stop()}});function At(t,e,n){return this.input=t,this.fn=e,this.value=n,this.i=0,t.pipe(this),n}At.prototype=l(m(s.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t,this.i++,this)}});function Bt(t,e,n){this.input=t,this.fn=e,this.value=n}Bt.prototype=l(m(s.prototype),{push:function(t){let e=this.fn;this.value=e(this.value,t),this[0].push(this.value)}});function Dt(t,e){this.input=t,this.push=e,t.pipe(this)}Dt.prototype=l(m(s.prototype),{each:null,reduce:null,pipe:null});var re=Array.prototype,ie=Object.assign,se=Object.create;function C(t){this.buffer=t||[]}C.prototype=ie(se(s.prototype),c.prototype,{push:function(t){t!==void 0&&this.buffer.push(t)},pipe:function(t){for(this[0]=t;this.buffer.length;)this[0].push(re.shift.apply(this.buffer));return this.buffer=this[0],t}});var ue=Object.assign,ce=Object.create;function A(t,e){this.input=t,this.memory=!!(e&&e.memory),e&&e.hot&&this.pipe(v)}A.prototype=ue(ce(s.prototype),{push:function(t){if(t!==void 0){this.memory&&(this.value=t);let e=-1;for(;this[++e];)this[e].push(t)}},pipe:function(t){let e=-1;for(;this[++e];);return this[e]=t,this.value!==void 0&&t.push(this.value),e===0&&this.input.pipe(this),t}});var ae=Object.assign;function T(t){this.promise=t}ae(T.prototype,c.prototype,{pipe:function(t){let e=this.promise;this[0]=t,e.then(n=>this[0].push(n)).finally(n=>this.stop())},stop:function(){c.prototype.stop.apply(this,arguments),this[0]=v}});var Ot=Object.assign,Tt=Object.keys;function Pt(t,e,n){let o=t.values,r=t.names,i=t[0];o[e]=n,(t.active||(t.active=Tt(o).length===r.length))&&i.push(Ot({},o))}function j(t){this.inputs=t,this.active=!1}Ot(j.prototype,c.prototype,{pipe:function(t){let e=this.inputs;this.values={},this.names=Tt(e),this[0]=t;for(let n in e){let o=e[n];o.pipe?t.done(o.each(r=>Pt(this,n,r))):o.then?o.then(r=>Pt(this,n,r)):console.log("Todo: combine() raw values ?")}}});var fe=Object.assign;function L(t){this.inputs=t}fe(L.prototype,c.prototype,{pipe:function(t){let e=this.inputs;this[0]=t;let n=-1,o;for(;o=e[++n];)if(o.pipe)o.pipe(t);else if(o.then)o.then(r=>t.push(r));else{let r=-1;for(;++r0}function he(t,e,n){return t[n]=e.shift(),t}function me(t){return[]}function J(t,e,n,o){n.push(o),e.every(le)&&t.push(e.reduce(he,{}))}function M(t){this.inputs=t,this.buffers=Q.map.call(t,me)}pe(M.prototype,c.prototype,{pipe:function(t){let e=this.inputs,n=this.buffers;this[0]=t,Q.forEach.call(e,(o,r)=>{let i=n[r];o.each?t.done(o.each(a=>J(t,n,i,a))):o.then?o.then(a=>J(t,n,i,a)):Q.forEach.call(o,a=>J(t,n,i,a))})},stop:function(){let t=this.inputs,e=-1,n;for(;n=t[++e];)n.stop();return c.prototype.stop.apply(this,arguments)}});var de=Array.prototype,jt=Object.assign;function ge(t){throw new TypeError("Stream: invalid source object cannot be read into stream")}var Lt=jt(s,{of:function(){return new C(de.slice.apply(arguments))},from:function(t){return t.pipe?new s(t):t.then?new s(new T(t)):typeof t.length=="number"?new C(t):ge(t)},broadcast:function(e){return new A(v,e)},combine:function(e){return new s(new j(e))},merge:function(){return new s(new L(arguments))},zip:function(){return new s(new M(arguments))}});jt(s.prototype,{log:Z,broadcast:function(t){return new A(this,t)}});var ye=Object.assign,we=/\s+/,Mt={fullscreenchange:"fullscreenElement"in document?"fullscreenchange":"webkitFullscreenElement"in document?"webkitfullscreenchange":"fullscreenchange"};function U(t){return t.which===1&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}var Ut=0;window.addEventListener("click",t=>Ut=t.timeStamp);function ve(t,e){return t.node.addEventListener(Mt[e]||e,t,t.options),t}function be(t,e){return t.node.removeEventListener(Mt[e]||e,t),t}function Nt(t,e,n){this.types=t.split(we),this.options=e,this.node=n,this.select=e&&e.select}ye(Nt.prototype,c.prototype,{pipe:function(t){this[0]=t,this.types.reduce(ve,this)},handleEvent:function(t){if(!(t.type==="click"&&t.timeStamp<=Ut)){if(this.select){let e=t.target.closest(this.select);if(!e)return;t.selectedTarget=e}this[0].push(t)}},stop:function(){this.types.reduce(be,this),c.prototype.stop.apply(this,arguments)}});function f(t,e){let n;return typeof t=="object"&&(n=t,t=n.type),new Lt(new Nt(t,n,e))}function xe(t,e){return e[t]}var d=u(xe,!0);function X(t){return!!t||t!=null&&!Number.isNaN(t)}function Y(t,e){return function(){let o=t.apply(this,arguments),r=e[o]||e.default;if(!r)throw new Error('overload() no handler for "'+o+'"');return r.apply(this,arguments)}}var N=d("classList"),y=N;function Ee(t,e){N(e).add(t)}function ke(t,e){N(e).remove(t)}function Se(t,e){(function n(o){return t--?requestAnimationFrame(n):e(o)})()}function Ce(t,e){var n=N(e);n.add(t),Se(2,()=>n.remove(t))}var ro=u(Ee,!0),io=u(ke,!0),so=u(Ce,!0);function tt(t){if(typeof t!="object"||arguments.length>1)throw new Error("delegate() now takes an object of selector:fn pairs.");let e=Object.keys(t);return function(o){let r=o.target,i=-1;for(;e[++i];){let a=r.closest(e[i]);if(a)return t[e[i]](a,...arguments)}}}var Ae=Object.assign,B={bubbles:!0,cancelable:!0};function Be(t,e){var _;let n=B,o,r,i,a,H,z;return typeof t=="object"?(_=t,{type:t,detail:r,bubbles:i,cancelable:a,composed:H}=_,o=dt(_,["type","detail","bubbles","cancelable","composed"]),z=Ae(new CustomEvent(t,{detail:r,bubbles:i||B.bubbles,cancelable:a||B.cancelable,composed:H||B.composed}),o)):z=new CustomEvent(t,B),e.dispatchEvent(z)}var F=u(Be,!0);function et(t){if(t.toArray)return t.toArray();var e=[],n=t.length,o;if(typeof t.length!="number")return e;for(e.length=n,o=0;orequestAnimationFrame(()=>i.focus()))}function it(t,e){if(!F({type:"dom-deactivate",relatedTarget:e},t))return;let o=D(t);y(o.node).remove(g.activeClass);let r=zt(o);r&&r.forEach(function(i){y(i).remove(g.onClass)}),o.active=!1}f("click",document).each(tt({"a[href]":function(t,e){if(!Ue(e)&&!(t.hostname&&!k(t))){var n=Ne(t);if(!!n){var o=document.getElementById(n);if(!!o){if(o.classList.contains("active")){e.preventDefault();return}var r=je.map(Gt(o)).reduce(Fe,0);if(r){e.preventDefault();return}if(!!rt.find(Gt(o))){var i=D(o);i.active||(e.preventDefault(),e.type==="mousedown"&&Me(e),It(o,t))}}}}},'[name="activate"]':function(t,e){let n=t.value,o=n.replace(/^#/,""),r=document.getElementById(o);if(!r)throw new Error('Button action name="activate" target "'+n+'" not found');var i=D(r);i.active||(e.preventDefault(),It(r,t))},'[name="deactivate"]':function(t,e){let n=t.value,o=n.replace(/^#/,""),r=document.getElementById(o);if(!r)throw new Error('Button action name="deactivate" target "'+n+'" not found');var i=D(r);!i.active||(e.preventDefault(),it(r,t))}}));var ot=F("dom-activate"),_t=new WeakSet;function Rt(t){_t.add(t)}function qt(t){return!_t.has(t)}function Ge(t,e){let n=(window.location.hash?window.location.hash+", ":"")+("."+g.activeClass),o=x(n,e).filter(qt);return e.matches(n)&&qt(e)&&o.push(e),o.length&&(t.push.apply(t,o),o.forEach(Rt)),t}function Ie(t,e){return Oe.filter.call(e.addedNodes,vt).reduce(Ge,t)}f("DOMContentLoaded",document).each(function(){let t=x("."+g.activeClass,document);t.length&&(nt("dom-activate",t.length+" elements – #"+t.map(d("id")).join(", #")),t.forEach(ot)),new MutationObserver((n,o)=>{if(n[0].type!=="childList")throw new Error("Not childList",n);let r=n.reduce(Ie,[]);r.length&&(nt("dom-activate",r.length+" elements – #"+r.map(d("id")).join(", #")),r.forEach(ot),r.forEach(Rt))}).observe(document.body,{attributes:!1,childList:!0,subtree:!0})});f("load",window).each(function(){if(!(!G||!/^#\S+$/.test(G)))try{x(G,document).forEach(ot)}catch(t){console.warn("dom: Cannot activate "+G,t.message)}});var st=h("[data-toggleable]");rt.push(st);var ut=[];function qe(t){return(t.hash?t.hash:t.getAttribute("href")).substring(1)}f("click",document.documentElement).each(t=>{if(!t.defaultPrevented&&!!U(t)){var e=wt("a[href]",t.target);if(!!e&&!(e.hostname&&!k(e))){var n=qe(e);!n||ut.indexOf(n)!==-1&&(it(K(n),e),t.preventDefault())}}});f("dom-activate",document).each(t=>{var e=t.target;!st(e)||ut.push(W(e))});f("dom-deactivate",document).each(t=>{var e=t.target;!st(e)||R(ut,e.id)});var w={simulatedEventDelay:.08,keyClass:"key-device",mouseClass:"mouse-device",touchClass:"touch-device",keyType:"key",mouseType:"mouse",touchType:"touch"},at={type:"mouse"},Kt=y(document.documentElement),ct,I;function ft(t){ct!==t&&(Kt.remove(ct),Kt.add(t),ct=t)}function He(t){t.timeStampt.clientHeight+"px",default:(t,e,n)=>e[n]});f("dom-deactivate",document.body).map(d("target")).filter(h(".toggle-block")).each(function(t){let e=t.getAttribute("style"),n=getComputedStyle(t),o=n["transition-property"].split(/\s*,\s*/).map(ht);t.style.transition="none",o.forEach(r=>t.style[r]=Ke(r,t,n,r)),requestAnimationFrame(function(){e?t.setAttribute("style",e):t.removeAttribute("style")})});