<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*!
 * @splidejs/splide-extension-grid
 * Version  : 0.4.1
 * License  : MIT
 * Copyright: 2022 Naotoshi Fujita
 */(function(O){typeof define=="function"&amp;&amp;define.amd?define(O):O()})(function(){"use strict";function O(n){n.length=0}function M(n,t,r){return Array.prototype.slice.call(n,t,r)}function D(n){return n.bind.apply(n,[null].concat(M(arguments,1)))}function V(n,t){return typeof t===n}var Q=Array.isArray;D(V,"function"),D(V,"string"),D(V,"undefined");function X(n){return Q(n)?n:[n]}function Z(n,t){X(n).forEach(t)}var En=Object.keys;function hn(n,t,r){if(n){var i=En(n);i=r?i.reverse():i;for(var f=0;f&lt;i.length;f++){var c=i[f];if(c!=="__proto__"&amp;&amp;t(n[c],c)===!1)break}}return n}function pn(n){return M(arguments,1).forEach(function(t){hn(t,function(r,i){n[i]=t[i]})}),n}var j="splide";function mn(){var n=[];function t(u,a,v,l){f(u,a,function(d,p,m){var A="addEventListener"in d,C=A?d.removeEventListener.bind(d,p,v,l):d.removeListener.bind(d,v);A?d.addEventListener(p,v,l):d.addListener(v),n.push([d,p,m,v,C])})}function r(u,a,v){f(u,a,function(l,d,p){n=n.filter(function(m){return m[0]===l&amp;&amp;m[1]===d&amp;&amp;m[2]===p&amp;&amp;(!v||m[3]===v)?(m[4](),!1):!0})})}function i(u,a,v){var l,d=!0;return typeof CustomEvent=="function"?l=new CustomEvent(a,{bubbles:d,detail:v}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(a,d,!1,v)),u.dispatchEvent(l),l}function f(u,a,v){Z(u,function(l){l&amp;&amp;Z(a,function(d){d.split(" ").forEach(function(p){var m=p.split(".");v(l,m[0],m[1])})})})}function c(){n.forEach(function(u){u[4]()}),O(n)}return{bind:t,unbind:r,dispatch:i,destroy:c}}var gn="visible",_n="hidden",F="refresh",yn="updated",An="destroy";function k(n){var t=n?n.event.bus:document.createDocumentFragment(),r=mn();function i(c,u){r.bind(t,X(c).join(" "),function(a){u.apply(u,Q(a.detail)?a.detail:[])})}function f(c){r.dispatch(t,c,M(arguments,1))}return n&amp;&amp;n.event.on(An,r.destroy),pn(r,{bus:t,on:i,off:D(r.unbind,t),emit:f})}var Cn=j,T=j+"__slide",wn=T+"__container";function nn(n){n.length=0}function N(n,t,r){return Array.prototype.slice.call(n,t,r)}function H(n){return n.bind.apply(n,[null].concat(N(arguments,1)))}function $(n,t){return typeof t===n}function Ln(n){return!P(n)&amp;&amp;$("object",n)}var U=Array.isArray;H($,"function");var B=H($,"string"),Sn=H($,"undefined");function P(n){return n===null}function bn(n){return n instanceof HTMLElement}function q(n){return U(n)?n:[n]}function w(n,t){q(n).forEach(t)}function tn(n,t){return n.push.apply(n,q(t)),n}function rn(n,t,r){n&amp;&amp;w(t,function(i){i&amp;&amp;n.classList[r?"add":"remove"](i)})}function G(n,t){rn(n,B(t)?t.split(" "):t,!0)}function x(n,t){w(t,n.appendChild.bind(n))}function On(n,t){return bn(n)&amp;&amp;(n.msMatchesSelector||n.matches).call(n,t)}function Dn(n,t){var r=n?N(n.children):[];return t?r.filter(function(i){return On(i,t)}):r}function on(n,t){return t?Dn(n,t)[0]:n.firstElementChild}var en=Object.keys;function un(n,t,r){if(n){var i=en(n);i=r?i.reverse():i;for(var f=0;f&lt;i.length;f++){var c=i[f];if(c!=="__proto__"&amp;&amp;t(n[c],c)===!1)break}}return n}function Tn(n){return N(arguments,1).forEach(function(t){un(t,function(r,i){n[i]=t[i]})}),n}function Nn(n,t){q(t||en(n)).forEach(function(r){delete n[r]})}function J(n,t){w(n,function(r){w(t,function(i){r&amp;&amp;r.removeAttribute(i)})})}function K(n,t,r){Ln(t)?un(t,function(i,f){K(n,f,i)}):w(n,function(i){P(r)||r===""?J(i,t):i.setAttribute(t,String(r))})}function fn(n,t,r){var i=document.createElement(n);return t&amp;&amp;(B(t)?G(i,t):K(i,t)),r&amp;&amp;x(r,i),i}function g(n,t,r){if(Sn(r))return getComputedStyle(n)[t];P(r)||(n.style[t]=""+r)}function $n(n,t){return n&amp;&amp;n.classList.contains(t)}function xn(n){w(n,function(t){t&amp;&amp;t.parentNode&amp;&amp;t.parentNode.removeChild(t)})}function cn(n,t){return t?N(n.querySelectorAll(t)):[]}function an(n,t){rn(n,t,!1)}function I(n){return B(n)?n:n?n+"px":""}var In="splide";function Rn(n,t){if(!n)throw new Error("["+In+"] "+(t||""))}var Mn=Math.min,qn=Math.max,Gn=Math.floor,Jn=Math.ceil,Kn=Math.abs;function Vn(n){return n&lt;10?"0"+n:""+n}var sn=T+"__row",W=T+"--col",Fn={rows:1,cols:1,dimensions:[],gap:{}};function Hn(n){function t(){var f=n.rows,c=n.cols,u=n.dimensions;return U(u)&amp;&amp;u.length?u:[[f,c]]}function r(f){var c=t();return c[Mn(f,c.length-1)]}function i(f){for(var c=t(),u,a,v=0,l=0;l&lt;c.length;l++){var d=c[l];if(u=d[0]||1,a=d[1]||1,v+=u*a,f&lt;v)break}return Rn(u&amp;&amp;a,"Invalid dimension"),[u,a]}return{get:r,getAt:i}}function Un(n,t,r){var i=k(n),f=i.on,c=i.destroy,u=n.Components,a=n.options,v=u.Direction.resolve,l=u.Slides.forEach;function d(){m(),a.slideFocus&amp;&amp;(f(gn,Y),f(_n,z))}function p(){l(function(e){var s=e.slide;b(s,!1),R(s).forEach(function(o){J(o,"style")}),L(s).forEach(function(o){S(o,!0),J(o,"style")})}),c()}function m(){l(function(e){var s=e.slide,o=r.get(e.isClone?e.slideIndex:e.index),E=o[0],h=o[1];A(E,s),C(h,s),L(e.slide).forEach(function(_,y){_.id=e.slide.id+"-col"+Vn(y+1),n.options.cover&amp;&amp;S(_)})})}function A(e,s){var o=t.gap.row,E="calc("+100/e+"%"+(o?" - "+I(o)+" * "+(e-1)/e:"")+")";R(s).forEach(function(h,_,y){g(h,"height",E),g(h,"display","flex"),g(h,"margin","0 0 "+I(o)+" 0"),g(h,"padding",0),_===y.length-1&amp;&amp;g(h,"marginBottom",0)})}function C(e,s){var o=t.gap.col,E="calc("+100/e+"%"+(o?" - "+I(o)+" * "+(e-1)/e:"")+")";L(s).forEach(function(h,_,y){g(h,"width",E),_!==y.length-1&amp;&amp;g(h,v("marginRight"),I(o))})}function S(e,s){var o=on(e,"."+wn),E=on(o||e,"img");E&amp;&amp;E.src&amp;&amp;(g(o||e,"background",s?"":'center/cover no-repeat url("'+E.src+'")'),g(E,"display",s?"":"none"))}function R(e){return cn(e,"."+sn)}function L(e){return cn(e,"."+W)}function b(e,s){L(e).forEach(function(o){K(o,"tabindex",s?0:null)})}function Y(e){b(e.slide,!0)}function z(e){b(e.slide,!1)}return{mount:d,destroy:p}}function Bn(n,t,r){var i=k(n),f=i.on,c=i.off,u=t.Elements,a={},v=Hn(a),l=Un(n,a,v),d=Cn+"--grid",p=[];function m(){A(),f(yn,A)}function A(){Nn(a),Tn(a,Fn,r.grid||{}),z()?(C(),tn(p,u.slides),G(n.root,d),x(u.list,L()),c(F),f(F,R),S()):e()&amp;&amp;(C(),S())}function C(){if(e()){var s=u.slides;l.destroy(),p.forEach(function(o){an(o,W),x(u.list,o)}),xn(s),an(n.root,d),nn(s),tn(s,p),nn(p),c(F)}}function S(){n.refresh()}function R(){e()&amp;&amp;l.mount()}function L(){var s=[],o=0,E=0,h,_;return p.forEach(function(y,Pn){var dn=v.getAt(Pn),ln=dn[0],vn=dn[1];E||(o||(h=fn(y.tagName,T),s.push(h)),_=b(ln,y,h)),Y(vn,y,_),++E&gt;=vn&amp;&amp;(E=0,o=++o&gt;=ln?0:o)}),s}function b(s,o,E){var h=o.tagName.toLowerCase()==="li"?"ul":"div";return fn(h,sn,E)}function Y(s,o,E){return G(o,W),x(E,o),o}function z(){if(r.grid){var s=a.rows,o=a.cols,E=a.dimensions;return s&gt;1||o&gt;1||U(E)&amp;&amp;E.length&gt;0}return!1}function e(){return $n(n.root,d)}return{mount:m,destroy:C}}typeof window&lt;"u"&amp;&amp;(window.splide=window.splide||{},window.splide.Extensions=window.splide.Extensions||{},window.splide.Extensions.Grid=Bn)});
//# sourceMappingURL=splide-extension-grid.min.js.map
</pre></body></html>