From 57e177c88ba272c62fec4f79612a747317332850 Mon Sep 17 00:00:00 2001 From: Vadim Date: Sun, 24 Jan 2021 19:23:04 +0300 Subject: [PATCH] Fix setup --- docs/index.css | 15 +++++++++++++-- docs/index.js | 2 +- package.json | 2 +- rollup.config.js | 4 ++-- src/docs/global.css | 9 +++++++++ 5 files changed, 26 insertions(+), 6 deletions(-) diff --git a/docs/index.css b/docs/index.css index b61d66f..833aa03 100644 --- a/docs/index.css +++ b/docs/index.css @@ -1,2 +1,13 @@ -.main-container.svelte-7d88a5.svelte-7d88a5{display:flex;width:100%;flex-direction:column;align-items:center}.carousel-container.svelte-7d88a5.svelte-7d88a5{display:flex;width:100%}.content-container.svelte-7d88a5.svelte-7d88a5{flex:1;display:flex;overflow:hidden;box-sizing:border-box}.content-container.svelte-7d88a5>div.svelte-7d88a5{width:100%;display:flex;transition-timing-function:ease-in-out;transition-property:transform}.arrow-container.svelte-7d88a5.svelte-7d88a5{padding:5px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}:root{--dot-size:10px}.main-container.svelte-1j143j1{display:flex;align-items:center}.dot-container.svelte-1j143j1{height:calc(var(--dot-size) + 10px);width:calc(var(--dot-size) + 10x);display:flex;align-items:center;justify-content:center}:root{--size:2px - }.circle.svelte-1bt6c9d{width:20px;height:20px;border-radius:50%;background-color:rgba(93, 93, 93, 0.5);display:flex;align-items:center;justify-content:center;transition:opacity 100ms ease;cursor:pointer}.circle.svelte-1bt6c9d:hover{opacity:0.9}.arrow.svelte-1bt6c9d{border:solid #1e1e1e;border-width:0 var(--size) var(--size) 0;padding:var(--size);position:relative}.next.svelte-1bt6c9d{transform:rotate(-45deg);left:calc(var(--size) / -2)}.prev.svelte-1bt6c9d{transform:rotate(135deg);right:calc(var(--size) / -2)}.disabled.svelte-1bt6c9d,.disabled.svelte-1bt6c9d:hover{opacity:0.5}.main-container.svelte-6wkp3k{display:flex;align-items:center;justify-content:center;height:16px;width:16px}.dot.svelte-6wkp3k{background-color:#5d5d5d;border-radius:50%;display:inline-block;opacity:0.5;cursor:pointer;transition:opacity 100ms ease}.dot.svelte-6wkp3k:hover{opacity:0.9}.current.svelte-6wkp3k{opacity:0.7} \ No newline at end of file +html, body { + position: relative; + width: 100%; + height: 100%; + margin: 0; + padding: 5px; + box-sizing: border-box; +} + +* { + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; +}.color-container.svelte-yl9omk.svelte-yl9omk{height:100px;display:flex;align-items:center;justify-content:center;user-select:none}.color-container.svelte-yl9omk>p.svelte-yl9omk{font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;font-style:italic;font-size:18px}.main-container.svelte-7d88a5.svelte-7d88a5{display:flex;width:100%;flex-direction:column;align-items:center}.carousel-container.svelte-7d88a5.svelte-7d88a5{display:flex;width:100%}.content-container.svelte-7d88a5.svelte-7d88a5{flex:1;display:flex;overflow:hidden;box-sizing:border-box}.content-container.svelte-7d88a5>div.svelte-7d88a5{width:100%;display:flex;transition-timing-function:ease-in-out;transition-property:transform}.arrow-container.svelte-7d88a5.svelte-7d88a5{padding:5px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}:root{--size:2px + }.circle.svelte-1bt6c9d{width:20px;height:20px;border-radius:50%;background-color:rgba(93, 93, 93, 0.5);display:flex;align-items:center;justify-content:center;transition:opacity 100ms ease;cursor:pointer}.circle.svelte-1bt6c9d:hover{opacity:0.9}.arrow.svelte-1bt6c9d{border:solid #1e1e1e;border-width:0 var(--size) var(--size) 0;padding:var(--size);position:relative}.next.svelte-1bt6c9d{transform:rotate(-45deg);left:calc(var(--size) / -2)}.prev.svelte-1bt6c9d{transform:rotate(135deg);right:calc(var(--size) / -2)}.disabled.svelte-1bt6c9d,.disabled.svelte-1bt6c9d:hover{opacity:0.5}:root{--dot-size:10px}.main-container.svelte-1j143j1{display:flex;align-items:center}.dot-container.svelte-1j143j1{height:calc(var(--dot-size) + 10px);width:calc(var(--dot-size) + 10x);display:flex;align-items:center;justify-content:center}.main-container.svelte-6wkp3k{display:flex;align-items:center;justify-content:center;height:16px;width:16px}.dot.svelte-6wkp3k{background-color:#5d5d5d;border-radius:50%;display:inline-block;opacity:0.5;cursor:pointer;transition:opacity 100ms ease}.dot.svelte-6wkp3k:hover{opacity:0.9}.current.svelte-6wkp3k{opacity:0.7} \ No newline at end of file diff --git a/docs/index.js b/docs/index.js index 1732965..47b05c1 100644 --- a/docs/index.js +++ b/docs/index.js @@ -1 +1 @@ -var app=function(){"use strict";function t(){}const n=t=>t;function e(t,n){for(const e in n)t[e]=n[e];return t}function o(t){return t()}function r(){return Object.create(null)}function i(t){t.forEach(o)}function c(t){return"function"==typeof t}function s(t,n){return t!=t?n==n:t!==n||t&&"object"==typeof t||"function"==typeof t}function u(n,e,o){n.$$.on_destroy.push(function(n,...e){if(null==n)return t;const o=n.subscribe(...e);return o.unsubscribe?()=>o.unsubscribe():o}(e,o))}function a(t,n,e,o){if(t){const r=l(t,n,e,o);return t[0](r)}}function l(t,n,o,r){return t[1]&&r?e(o.ctx.slice(),t[1](r(n))):o.ctx}function d(t,n,e,o,r,i,c){const s=function(t,n,e,o){if(t[2]&&o){const r=t[2](o(e));if(void 0===n.dirty)return r;if("object"==typeof r){const t=[],e=Math.max(n.dirty.length,r.length);for(let o=0;owindow.performance.now():()=>Date.now(),m=f?t=>requestAnimationFrame(t):t;const h=new Set;function g(t){h.forEach((n=>{n.c(t)||(h.delete(n),n.f())})),0!==h.size&&m(g)}function $(t,n){t.appendChild(n)}function v(t,n,e){t.insertBefore(n,e||null)}function y(t){t.parentNode.removeChild(t)}function x(t){return document.createElement(t)}function b(){return t=" ",document.createTextNode(t);var t}function w(t,n,e,o){return t.addEventListener(n,e,o),()=>t.removeEventListener(n,e,o)}function E(t,n,e){null==e?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function P(t,n,e,o){t.style.setProperty(n,e,o?"important":"")}function k(t,n,e){t.classList[e?"add":"remove"](n)}let I;function C(t){I=t}function _(){if(!I)throw new Error("Function called outside component initialization");return I}function L(){const t=_();return(n,e)=>{const o=t.$$.callbacks[n];if(o){const r=function(t,n){const e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,n),e}(n,e);o.slice().forEach((n=>{n.call(t,r)}))}}}function A(t,n){const e=t.$$.callbacks[n.type];e&&e.slice().forEach((t=>t(n)))}const M=[],j=[],D=[],S=[],N=Promise.resolve();let O=!1;function T(){O||(O=!0,N.then(q))}function z(t){D.push(t)}let X=!1;const W=new Set;function q(){if(!X){X=!0;do{for(let t=0;t{Y.delete(t),o&&(e&&t.d(1),o())})),t.o(n)}}function Q(t,n){K(t,1,1,(()=>{n.delete(t.key)}))}function R(t){t&&t.c()}function U(t,n,e){const{fragment:r,on_mount:s,on_destroy:u,after_update:a}=t.$$;r&&r.m(n,e),z((()=>{const n=s.map(o).filter(c);u?u.push(...n):i(n),t.$$.on_mount=[]})),a.forEach(z)}function V(t,n){const e=t.$$;null!==e.fragment&&(i(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}function Z(n,e,o,c,s,u,a=[-1]){const l=I;C(n);const d=e.props||{},f=n.$$={fragment:null,ctx:null,props:u,update:t,not_equal:s,bound:r(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:[]),callbacks:r(),dirty:a,skip_bound:!1};let p=!1;if(f.ctx=o?o(n,d,((t,e,...o)=>{const r=o.length?o[0]:e;return f.ctx&&s(f.ctx[t],f.ctx[t]=r)&&(!f.skip_bound&&f.bound[t]&&f.bound[t](r),p&&function(t,n){-1===t.$$.dirty[0]&&(M.push(t),T(),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<{const t=e.indexOf(n);-1!==t&&e.splice(t,1)}}$set(t){var n;this.$$set&&(n=t,0!==Object.keys(n).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const nt=[];function et(n,e=t){let o;const r=[];function i(t){if(s(n,t)&&(n=t,o)){const t=!nt.length;for(let t=0;t{const t=r.indexOf(u);-1!==t&&r.splice(t,1),0===r.length&&(o(),o=null)}}}}function ot(t,n){return Math.min(t+1,n-1)}function rt(t,n){const e=t+1;return e>n-1?0:e}function it(t,n){return Math.max(t-1,0)}function ct(t,n){const e=t-1;return e>=0?e:n-1}const st={currentPageIndex:0};const ut=function(){const{subscribe:t,set:n,update:e}=et(st);return{subscribe:t,next:function({infinite:t,pagesCount:n}){e((e=>{const o=function(t){return t?rt:ot}(t)(e.currentPageIndex,n);return{...e,currentPageIndex:o}}))},prev:function({infinite:t,pagesCount:n}){e((e=>{const o=function(t){return t?ct:it}(t)(e.currentPageIndex,n);return{...e,currentPageIndex:o}}))},setCurrentPageIndex:function(t){e((n=>({...n,currentPageIndex:t})))},init:function(t){n({...st,currentPageIndex:t})},moveToPage:function({pageIndex:t,pagesCount:n}){e((e=>({...e,currentPageIndex:t<0?0:Math.min(t,n-1)})))}}}();function at(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}function lt(t){return"[object Date]"===Object.prototype.toString.call(t)}function dt(t,n){if(t===n||t!=t)return()=>t;const e=typeof t;if(e!==typeof n||Array.isArray(t)!==Array.isArray(n))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const e=n.map(((n,e)=>dt(t[e],n)));return t=>e.map((n=>n(t)))}if("object"===e){if(!t||!n)throw new Error("Object cannot be null");if(lt(t)&<(n)){t=t.getTime();const e=(n=n.getTime())-t;return n=>new Date(t+n*e)}const e=Object.keys(n),o={};return e.forEach((e=>{o[e]=dt(t[e],n[e])})),t=>{const n={};return e.forEach((e=>{n[e]=o[e](t)})),n}}if("number"===e){const e=n-t;return n=>t+n*e}throw new Error(`Cannot interpolate ${e} values`)}function ft(t,o={}){const r=et(t);let i,c=t;function s(s,u){if(null==t)return r.set(t=s),Promise.resolve();c=s;let a=i,l=!1,{delay:d=0,duration:f=400,easing:$=n,interpolate:v=dt}=e(e({},o),u);if(0===f)return a&&(a.abort(),a=null),r.set(t=c),Promise.resolve();const y=p()+d;let x;return i=function(t){let n;return 0===h.size&&m(g),{promise:new Promise((e=>{h.add(n={c:t,f:e})})),abort(){h.delete(n)}}}((n=>{if(nf?(r.set(t=s),!1):(r.set(t=x($(e/f))),!0)})),i.promise}return{set:s,update:(n,e)=>s(n(c,t),e),subscribe:r.subscribe}}function pt(n){let e,o,r,i;return{c(){e=x("div"),o=x("div"),E(o,"class","dot svelte-6wkp3k"),P(o,"height",n[1]+"px"),P(o,"width",n[1]+"px"),k(o,"current",n[0]),E(e,"class","main-container svelte-6wkp3k")},m(t,c){v(t,e,c),$(e,o),r||(i=w(o,"click",n[3]),r=!0)},p(t,[n]){2&n&&P(o,"height",t[1]+"px"),2&n&&P(o,"width",t[1]+"px"),1&n&&k(o,"current",t[0])},i:t,o:t,d(t){t&&y(e),r=!1,i()}}}function mt(t,n,e){let o;const r=ft(5,{duration:250,easing:at});u(t,r,(t=>e(1,o=t)));let{active:i=!1}=n;return t.$$set=t=>{"active"in t&&e(0,i=t.active)},t.$$.update=()=>{1&t.$$.dirty&&r.set(i?8:5)},[i,o,r,function(n){A(t,n)}]}class ht extends tt{constructor(t){super(),Z(this,t,mt,pt,s,{active:0})}}function gt(t,n,e){const o=t.slice();return o[5]=n[e],o[7]=e,o}function $t(t,n){let e,o,r,i;return o=new ht({props:{active:n[1]===n[7]}}),o.$on("click",(function(){return n[3](n[7])})),{key:t,first:null,c(){e=x("div"),R(o.$$.fragment),r=b(),E(e,"class","dot-container svelte-1j143j1"),this.first=e},m(t,n){v(t,e,n),U(o,e,null),$(e,r),i=!0},p(t,e){n=t;const r={};3&e&&(r.active=n[1]===n[7]),o.$set(r)},i(t){i||(J(o.$$.fragment,t),i=!0)},o(t){K(o.$$.fragment,t),i=!1},d(t){t&&y(e),V(o)}}}function vt(t){let n,e,o=[],r=new Map,i=Array(t[0]);const c=t=>t[7];for(let n=0;nv.get(r)?(x.add(o),b(n)):(y.add(r),f--):(u(e,c),f--)}for(;f--;){const n=t[f];$.has(n.key)||u(n,c)}for(;p;)b(g[p-1]);return g}(o,e,c,1,t,i,r,n,Q,$t,null,gt),H())},i(t){if(!e){for(let t=0;t{"pagesCount"in t&&e(0,r=t.pagesCount),"currentPageIndex"in t&&e(1,i=t.currentPageIndex)},[r,i,c,t=>c(t)]}class xt extends tt{constructor(t){super(),Z(this,t,yt,vt,s,{pagesCount:0,currentPageIndex:1})}}const bt="prev",wt="next";function Et(n){let e,o,r,i;return{c(){e=x("div"),o=x("i"),E(o,"class","arrow svelte-1bt6c9d"),k(o,"next",n[0]===wt),k(o,"prev",n[0]===bt),E(e,"class","circle svelte-1bt6c9d"),k(e,"disabled",n[1])},m(t,c){v(t,e,c),$(e,o),r||(i=w(e,"click",n[2]),r=!0)},p(t,[n]){1&n&&k(o,"next",t[0]===wt),1&n&&k(o,"prev",t[0]===bt),2&n&&k(e,"disabled",t[1])},i:t,o:t,d(t){t&&y(e),r=!1,i()}}}function Pt(t,n,e){let{direction:o=wt}=n,{disabled:r=!1}=n;return t.$$set=t=>{"direction"in t&&e(0,o=t.direction),"disabled"in t&&e(1,r=t.disabled)},[o,r,function(n){A(t,n)}]}class kt extends tt{constructor(t){super(),Z(this,t,Pt,Et,s,{direction:0,disabled:1})}}function It(t,n){t.removeEventListener("mouseup",n),t.removeEventListener("touchend",n)}function Ct(t,n){t.removeEventListener("mousemove",n),t.removeEventListener("touchmove",n)}function _t(t){if(t instanceof TouchEvent){const n=t.touches[0];return{x:n?n.clientX:0,y:n?n.clientY:0}}return{x:t.clientX,y:t.clientY}}function Lt(t,{thresholdProvider:n}){const e=(o=t,function(t,n){o.dispatchEvent(new CustomEvent(t,{detail:n}))});var o;let r,i,c=0;function s(t){c=0;const n=_t(t);r=n.x,i=n.y,e("start",{x:r,y:i}),function(t,n){t.addEventListener("mousemove",n),t.addEventListener("touchmove",n)}(window,u),function(t,n){t.addEventListener("mouseup",n),t.addEventListener("touchend",n)}(window,a)}function u(t){const o=_t(t),s=o.x-r,l=o.y-i;r=o.x,i=o.y,e("move",{x:r,y:i,dx:s,dy:l}),0!==s&&Math.sign(s)!==Math.sign(c)&&(c=0),c+=s,Math.abs(c)>n()&&(e("threshold",{direction:c>0?bt:wt}),It(window,a),Ct(window,u))}function a(t){const n=_t(t);r=n.x,i=n.y,e("end",{x:r,y:i}),It(window,a),Ct(window,u)}return function(t,n){t.addEventListener("mousedown",n),t.addEventListener("touchstart",n)}(t,s),{destroy(){!function(t,n){t.removeEventListener("mousedown",n),t.removeEventListener("touchstart",n)}(t,s)}}}const At=t=>({currentPageIndex:256&t[0],pagesCount:512&t[0]}),Mt=t=>({currentPageIndex:t[8],pagesCount:t[9],showPage:t[30]}),jt=t=>({}),Dt=t=>({showNextPage:t[13]}),St=t=>({}),Nt=t=>({showPrevPage:t[12]});function Ot(t){let n;const e=t[26].prev,o=a(e,t,t[25],Nt),r=o||function(t){let n,e,o;return e=new kt({props:{direction:"prev",disabled:!t[1]&&0===t[8]}}),e.$on("click",t[12]),{c(){n=x("div"),R(e.$$.fragment),E(n,"class","arrow-container svelte-7d88a5")},m(t,r){v(t,n,r),U(e,n,null),o=!0},p(t,n){const o={};258&n[0]&&(o.disabled=!t[1]&&0===t[8]),e.$set(o)},i(t){o||(J(e.$$.fragment,t),o=!0)},o(t){K(e.$$.fragment,t),o=!1},d(t){t&&y(n),V(e)}}}(t);return{c(){r&&r.c()},m(t,e){r&&r.m(t,e),n=!0},p(t,n){o?o.p&&33554432&n[0]&&d(o,e,t,t[25],n,St,Nt):r&&r.p&&258&n[0]&&r.p(t,n)},i(t){n||(J(r,t),n=!0)},o(t){K(r,t),n=!1},d(t){r&&r.d(t)}}}function Tt(t){let n;const e=t[26].next,o=a(e,t,t[25],Dt),r=o||function(t){let n,e,o;return e=new kt({props:{direction:"next",disabled:!t[1]&&t[8]===t[9]-1}}),e.$on("click",t[13]),{c(){n=x("div"),R(e.$$.fragment),E(n,"class","arrow-container svelte-7d88a5")},m(t,r){v(t,n,r),U(e,n,null),o=!0},p(t,n){const o={};770&n[0]&&(o.disabled=!t[1]&&t[8]===t[9]-1),e.$set(o)},i(t){o||(J(e.$$.fragment,t),o=!0)},o(t){K(e.$$.fragment,t),o=!1},d(t){t&&y(n),V(e)}}}(t);return{c(){r&&r.c()},m(t,e){r&&r.m(t,e),n=!0},p(t,n){o?o.p&&33554432&n[0]&&d(o,e,t,t[25],n,jt,Dt):r&&r.p&&770&n[0]&&r.p(t,n)},i(t){n||(J(r,t),n=!0)},o(t){K(r,t),n=!1},d(t){r&&r.d(t)}}}function zt(t){let n;const e=t[26].dots,o=a(e,t,t[25],Mt),r=o||function(t){let n,e;return n=new xt({props:{pagesCount:t[9],currentPageIndex:t[8]}}),n.$on("pageChange",t[10]),{c(){R(n.$$.fragment)},m(t,o){U(n,t,o),e=!0},p(t,e){const o={};512&e[0]&&(o.pagesCount=t[9]),256&e[0]&&(o.currentPageIndex=t[8]),n.$set(o)},i(t){e||(J(n.$$.fragment,t),e=!0)},o(t){K(n.$$.fragment,t),e=!1},d(t){V(n,t)}}}(t);return{c(){r&&r.c()},m(t,e){r&&r.m(t,e),n=!0},p(t,n){o?o.p&&33555200&n[0]&&d(o,e,t,t[25],n,At,Mt):r&&r.p&&768&n[0]&&r.p(t,n)},i(t){n||(J(r,t),n=!0)},o(t){K(r,t),n=!1},d(t){r&&r.d(t)}}}function Xt(n){let e,o,r,s,u,l,f,p,m,h,g,k=n[0]&&Ot(n);const I=n[26].default,C=a(I,n,n[25],null);let _=n[0]&&Tt(n),L=n[2]&&zt(n);return{c(){e=x("div"),o=x("div"),k&&k.c(),r=b(),s=x("div"),u=x("div"),C&&C.c(),f=b(),_&&_.c(),p=b(),L&&L.c(),P(u,"transform","translateX("+n[5]+"px)"),P(u,"transition-duration",n[3]+"ms"),E(u,"class","svelte-7d88a5"),E(s,"class","content-container svelte-7d88a5"),E(o,"class","carousel-container svelte-7d88a5"),E(e,"class","main-container svelte-7d88a5")},m(i,a){var d;v(i,e,a),$(e,o),k&&k.m(o,null),$(o,r),$(o,s),$(s,u),C&&C.m(u,null),n[28](u),n[29](s),$(o,f),_&&_.m(o,null),$(e,p),L&&L.m(e,null),m=!0,h||(g=[(d=l=Lt.call(null,u,{thresholdProvider:n[27]}),d&&c(d.destroy)?d.destroy:t),w(u,"start",n[14]),w(u,"move",n[16]),w(u,"end",n[17]),w(u,"threshold",n[15])],h=!0)},p(t,n){t[0]?k?(k.p(t,n),1&n[0]&&J(k,1)):(k=Ot(t),k.c(),J(k,1),k.m(o,r)):k&&(G(),K(k,1,1,(()=>{k=null})),H()),C&&C.p&&33554432&n[0]&&d(C,I,t,t[25],n,null,null),(!m||32&n[0])&&P(u,"transform","translateX("+t[5]+"px)"),(!m||8&n[0])&&P(u,"transition-duration",t[3]+"ms"),l&&c(l.update)&&16&n[0]&&l.update.call(null,{thresholdProvider:t[27]}),t[0]?_?(_.p(t,n),1&n[0]&&J(_,1)):(_=Tt(t),_.c(),J(_,1),_.m(o,null)):_&&(G(),K(_,1,1,(()=>{_=null})),H()),t[2]?L?(L.p(t,n),4&n[0]&&J(L,1)):(L=zt(t),L.c(),J(L,1),L.m(e,null)):L&&(G(),K(L,1,1,(()=>{L=null})),H())},i(t){m||(J(k),J(C,t),J(_),J(L),m=!0)},o(t){K(k),K(C,t),K(_),K(L),m=!1},d(t){t&&y(e),k&&k.d(),C&&C.d(t),n[28](null),n[29](null),_&&_.d(),L&&L.d(),h=!1,i(g)}}}function Wt(t,n,e){let o,r,{$$slots:i={},$$scope:c}=n;const s={[wt]:A,[bt]:L};let u,a,{arrows:l=!0}=n,{infinite:d=!0}=n,{initialPageIndex:f=1}=n,{speed:p=500}=n,m=p,{autoplay:h=!1}=n,{autoplaySpeed:g=3e3}=n,{autoplayDirection:$=wt}=n,{dots:v=!0}=n,y=0,x=0,b=0,w=0;const E=ut.subscribe((t=>{e(23,y=t.currentPageIndex)}));function P(){const t=a.children;e(4,b=u.clientWidth),e(24,x=t.length);for(let n=0;n{I(e)}),n)}function L(){ut.prev({infinite:d,pagesCount:x}),I(!0)}function A(){ut.next({infinite:d,pagesCount:x}),I(!0)}k=async()=>{await(T(),N),a&&u&&(d&&function(){const t=a.firstChild,n=a.children[a.children.length-1];a.prepend(n.cloneNode(!0)),a.append(t.cloneNode(!0))}(),P());const{teardownAutoplay:t}=function(){let t;return h&&(t=setInterval((()=>{s[$]()}),g)),{teardownAutoplay:()=>{t&&clearInterval(t)}}}();var n;return n=P,window.addEventListener("resize",n),()=>{!function(t){window.removeEventListener("resize",t)}(P),t()}},_().$$.on_mount.push(k),function(t){_().$$.on_destroy.push(t)}((()=>{E()}));return t.$$set=t=>{"arrows"in t&&e(0,l=t.arrows),"infinite"in t&&e(1,d=t.infinite),"initialPageIndex"in t&&e(18,f=t.initialPageIndex),"speed"in t&&e(19,p=t.speed),"autoplay"in t&&e(20,h=t.autoplay),"autoplaySpeed"in t&&e(21,g=t.autoplaySpeed),"autoplayDirection"in t&&e(22,$=t.autoplayDirection),"dots"in t&&e(2,v=t.dots),"$$scope"in t&&e(25,c=t.$$scope)},t.$$.update=()=>{8388610&t.$$.dirty[0]&&e(8,o=y-Number(d)),16777218&t.$$.dirty[0]&&e(9,r=Math.max(x-(d?2:0),0))},[l,d,v,m,b,w,u,a,o,r,function(t){C(t.detail+Number(d),{offsetDelay:0,animated:!0})},C,L,A,function(){e(3,m=0)},function(t){s[t.detail.direction]()},function(t){e(5,w+=t.detail.dx)},function(){C(y,{offsetDelay:0,animated:!0})},f,p,h,g,$,y,x,c,i,()=>b/3,function(t){j[t?"unshift":"push"]((()=>{a=t,e(7,a)}))},function(t){j[t?"unshift":"push"]((()=>{u=t,e(6,u)}))},t=>C(t,{offsetDelay:0,animated:!0})]}return class extends tt{constructor(t){super(),Z(this,t,Wt,Xt,s,{arrows:0,infinite:1,initialPageIndex:18,speed:19,autoplay:20,autoplaySpeed:21,autoplayDirection:22,dots:2},[-1,-1])}}}(); +var app=function(){"use strict";function t(){}const n=t=>t;function e(t,n){for(const e in n)t[e]=n[e];return t}function o(t){return t()}function r(){return Object.create(null)}function i(t){t.forEach(o)}function c(t){return"function"==typeof t}function s(t,n){return t!=t?n==n:t!==n||t&&"object"==typeof t||"function"==typeof t}function u(n,e,o){n.$$.on_destroy.push(function(n,...e){if(null==n)return t;const o=n.subscribe(...e);return o.unsubscribe?()=>o.unsubscribe():o}(e,o))}function l(t,n,e,o){if(t){const r=a(t,n,e,o);return t[0](r)}}function a(t,n,o,r){return t[1]&&r?e(o.ctx.slice(),t[1](r(n))):o.ctx}function f(t,n,e,o,r,i,c){const s=function(t,n,e,o){if(t[2]&&o){const r=t[2](o(e));if(void 0===n.dirty)return r;if("object"==typeof r){const t=[],e=Math.max(n.dirty.length,r.length);for(let o=0;owindow.performance.now():()=>Date.now(),m=d?t=>requestAnimationFrame(t):t;const h=new Set;function g(t){h.forEach((n=>{n.c(t)||(h.delete(n),n.f())})),0!==h.size&&m(g)}function $(t,n){t.appendChild(n)}function y(t,n,e){t.insertBefore(n,e||null)}function v(t){t.parentNode.removeChild(t)}function x(t){return document.createElement(t)}function b(t){return document.createTextNode(t)}function w(){return b(" ")}function k(){return b("")}function E(t,n,e,o){return t.addEventListener(n,e,o),()=>t.removeEventListener(n,e,o)}function P(t,n,e){null==e?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function C(t,n,e,o){t.style.setProperty(n,e,o?"important":"")}function I(t,n,e){t.classList[e?"add":"remove"](n)}let _;function M(t){_=t}function L(){if(!_)throw new Error("Function called outside component initialization");return _}function A(){const t=L();return(n,e)=>{const o=t.$$.callbacks[n];if(o){const r=function(t,n){const e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,n),e}(n,e);o.slice().forEach((n=>{n.call(t,r)}))}}}function j(t,n){const e=t.$$.callbacks[n.type];e&&e.slice().forEach((t=>t(n)))}const D=[],N=[],S=[],O=[],T=Promise.resolve();let z=!1;function X(){z||(z=!0,T.then(Y))}function W(t){S.push(t)}let q=!1;const F=new Set;function Y(){if(!q){q=!0;do{for(let t=0;t{G.delete(t),o&&(e&&t.d(1),o())})),t.o(n)}}function U(t,n){t.d(1),n.delete(t.key)}function V(t,n){R(t,1,1,(()=>{n.delete(t.key)}))}function Z(t,n,e,o,r,i,c,s,u,l,a,f){let d=t.length,p=i.length,m=d;const h={};for(;m--;)h[t[m].key]=m;const g=[],$=new Map,y=new Map;for(m=p;m--;){const t=f(r,i,m),s=e(t);let u=c.get(s);u?o&&u.p(t,n):(u=l(s,t),u.c()),$.set(s,g[m]=u),s in h&&y.set(s,Math.abs(m-h[s]))}const v=new Set,x=new Set;function b(t){Q(t,1),t.m(s,a),c.set(t.key,t),a=t.first,p--}for(;d&&p;){const n=g[p-1],e=t[d-1],o=n.key,r=e.key;n===e?(a=n.first,d--,p--):$.has(r)?!c.has(o)||v.has(o)?b(n):x.has(r)?d--:y.get(o)>y.get(r)?(x.add(o),b(n)):(v.add(r),d--):(u(e,c),d--)}for(;d--;){const n=t[d];$.has(n.key)||u(n,c)}for(;p;)b(g[p-1]);return g}function tt(t){t&&t.c()}function nt(t,n,e){const{fragment:r,on_mount:s,on_destroy:u,after_update:l}=t.$$;r&&r.m(n,e),W((()=>{const n=s.map(o).filter(c);u?u.push(...n):i(n),t.$$.on_mount=[]})),l.forEach(W)}function et(t,n){const e=t.$$;null!==e.fragment&&(i(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}function ot(n,e,o,c,s,u,l=[-1]){const a=_;M(n);const f=e.props||{},d=n.$$={fragment:null,ctx:null,props:u,update:t,not_equal:s,bound:r(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:[]),callbacks:r(),dirty:l,skip_bound:!1};let p=!1;if(d.ctx=o?o(n,f,((t,e,...o)=>{const r=o.length?o[0]:e;return d.ctx&&s(d.ctx[t],d.ctx[t]=r)&&(!d.skip_bound&&d.bound[t]&&d.bound[t](r),p&&function(t,n){-1===t.$$.dirty[0]&&(D.push(t),X(),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<{const t=e.indexOf(n);-1!==t&&e.splice(t,1)}}$set(t){var n;this.$$set&&(n=t,0!==Object.keys(n).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const it=[];function ct(n,e=t){let o;const r=[];function i(t){if(s(n,t)&&(n=t,o)){const t=!it.length;for(let t=0;t{const t=r.indexOf(u);-1!==t&&r.splice(t,1),0===r.length&&(o(),o=null)}}}}function st(t,n){return Math.min(t+1,n-1)}function ut(t,n){const e=t+1;return e>n-1?0:e}function lt(t,n){return Math.max(t-1,0)}function at(t,n){const e=t-1;return e>=0?e:n-1}const ft={currentPageIndex:0};const dt=function(){const{subscribe:t,set:n,update:e}=ct(ft);return{subscribe:t,next:function({infinite:t,pagesCount:n}){e((e=>{const o=function(t){return t?ut:st}(t)(e.currentPageIndex,n);return{...e,currentPageIndex:o}}))},prev:function({infinite:t,pagesCount:n}){e((e=>{const o=function(t){return t?at:lt}(t)(e.currentPageIndex,n);return{...e,currentPageIndex:o}}))},setCurrentPageIndex:function(t){e((n=>({...n,currentPageIndex:t})))},init:function(t){n({...ft,currentPageIndex:t})},moveToPage:function({pageIndex:t,pagesCount:n}){e((e=>({...e,currentPageIndex:t<0?0:Math.min(t,n-1)})))}}}();function pt(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}function mt(t){return"[object Date]"===Object.prototype.toString.call(t)}function ht(t,n){if(t===n||t!=t)return()=>t;const e=typeof t;if(e!==typeof n||Array.isArray(t)!==Array.isArray(n))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const e=n.map(((n,e)=>ht(t[e],n)));return t=>e.map((n=>n(t)))}if("object"===e){if(!t||!n)throw new Error("Object cannot be null");if(mt(t)&&mt(n)){t=t.getTime();const e=(n=n.getTime())-t;return n=>new Date(t+n*e)}const e=Object.keys(n),o={};return e.forEach((e=>{o[e]=ht(t[e],n[e])})),t=>{const n={};return e.forEach((e=>{n[e]=o[e](t)})),n}}if("number"===e){const e=n-t;return n=>t+n*e}throw new Error(`Cannot interpolate ${e} values`)}function gt(t,o={}){const r=ct(t);let i,c=t;function s(s,u){if(null==t)return r.set(t=s),Promise.resolve();c=s;let l=i,a=!1,{delay:f=0,duration:d=400,easing:$=n,interpolate:y=ht}=e(e({},o),u);if(0===d)return l&&(l.abort(),l=null),r.set(t=c),Promise.resolve();const v=p()+f;let x;return i=function(t){let n;return 0===h.size&&m(g),{promise:new Promise((e=>{h.add(n={c:t,f:e})})),abort(){h.delete(n)}}}((n=>{if(nd?(r.set(t=s),!1):(r.set(t=x($(e/d))),!0)})),i.promise}return{set:s,update:(n,e)=>s(n(c,t),e),subscribe:r.subscribe}}function $t(n){let e,o,r,i;return{c(){e=x("div"),o=x("div"),P(o,"class","dot svelte-6wkp3k"),C(o,"height",n[1]+"px"),C(o,"width",n[1]+"px"),I(o,"current",n[0]),P(e,"class","main-container svelte-6wkp3k")},m(t,c){y(t,e,c),$(e,o),r||(i=E(o,"click",n[3]),r=!0)},p(t,[n]){2&n&&C(o,"height",t[1]+"px"),2&n&&C(o,"width",t[1]+"px"),1&n&&I(o,"current",t[0])},i:t,o:t,d(t){t&&v(e),r=!1,i()}}}function yt(t,n,e){let o;const r=gt(5,{duration:250,easing:pt});u(t,r,(t=>e(1,o=t)));let{active:i=!1}=n;return t.$$set=t=>{"active"in t&&e(0,i=t.active)},t.$$.update=()=>{1&t.$$.dirty&&r.set(i?8:5)},[i,o,r,function(n){j(t,n)}]}class vt extends rt{constructor(t){super(),ot(this,t,yt,$t,s,{active:0})}}function xt(t,n,e){const o=t.slice();return o[5]=n[e],o[7]=e,o}function bt(t,n){let e,o,r,i;return o=new vt({props:{active:n[1]===n[7]}}),o.$on("click",(function(){return n[3](n[7])})),{key:t,first:null,c(){e=x("div"),tt(o.$$.fragment),r=w(),P(e,"class","dot-container svelte-1j143j1"),this.first=e},m(t,n){y(t,e,n),nt(o,e,null),$(e,r),i=!0},p(t,e){n=t;const r={};3&e&&(r.active=n[1]===n[7]),o.$set(r)},i(t){i||(Q(o.$$.fragment,t),i=!0)},o(t){R(o.$$.fragment,t),i=!1},d(t){t&&v(e),et(o)}}}function wt(t){let n,e,o=[],r=new Map,i=Array(t[0]);const c=t=>t[7];for(let n=0;n{"pagesCount"in t&&e(0,r=t.pagesCount),"currentPageIndex"in t&&e(1,i=t.currentPageIndex)},[r,i,c,t=>c(t)]}class Et extends rt{constructor(t){super(),ot(this,t,kt,wt,s,{pagesCount:0,currentPageIndex:1})}}const Pt="prev",Ct="next";function It(n){let e,o,r,i;return{c(){e=x("div"),o=x("i"),P(o,"class","arrow svelte-1bt6c9d"),I(o,"next",n[0]===Ct),I(o,"prev",n[0]===Pt),P(e,"class","circle svelte-1bt6c9d"),I(e,"disabled",n[1])},m(t,c){y(t,e,c),$(e,o),r||(i=E(e,"click",n[2]),r=!0)},p(t,[n]){1&n&&I(o,"next",t[0]===Ct),1&n&&I(o,"prev",t[0]===Pt),2&n&&I(e,"disabled",t[1])},i:t,o:t,d(t){t&&v(e),r=!1,i()}}}function _t(t,n,e){let{direction:o=Ct}=n,{disabled:r=!1}=n;return t.$$set=t=>{"direction"in t&&e(0,o=t.direction),"disabled"in t&&e(1,r=t.disabled)},[o,r,function(n){j(t,n)}]}class Mt extends rt{constructor(t){super(),ot(this,t,_t,It,s,{direction:0,disabled:1})}}function Lt(t,n){t.removeEventListener("mouseup",n),t.removeEventListener("touchend",n)}function At(t,n){t.removeEventListener("mousemove",n),t.removeEventListener("touchmove",n)}function jt(t){if(t instanceof TouchEvent){const n=t.touches[0];return{x:n?n.clientX:0,y:n?n.clientY:0}}return{x:t.clientX,y:t.clientY}}function Dt(t,{thresholdProvider:n}){const e=(o=t,function(t,n){o.dispatchEvent(new CustomEvent(t,{detail:n}))});var o;let r,i,c=0;function s(t){c=0;const n=jt(t);r=n.x,i=n.y,e("start",{x:r,y:i}),function(t,n){t.addEventListener("mousemove",n),t.addEventListener("touchmove",n)}(window,u),function(t,n){t.addEventListener("mouseup",n),t.addEventListener("touchend",n)}(window,l)}function u(t){const o=jt(t),s=o.x-r,a=o.y-i;r=o.x,i=o.y,e("move",{x:r,y:i,dx:s,dy:a}),0!==s&&Math.sign(s)!==Math.sign(c)&&(c=0),c+=s,Math.abs(c)>n()&&(e("threshold",{direction:c>0?Pt:Ct}),Lt(window,l),At(window,u))}function l(t){const n=jt(t);r=n.x,i=n.y,e("end",{x:r,y:i}),Lt(window,l),At(window,u)}return function(t,n){t.addEventListener("mousedown",n),t.addEventListener("touchstart",n)}(t,s),{destroy(){!function(t,n){t.removeEventListener("mousedown",n),t.removeEventListener("touchstart",n)}(t,s)}}}const Nt=t=>({currentPageIndex:256&t[0],pagesCount:512&t[0]}),St=t=>({currentPageIndex:t[8],pagesCount:t[9],showPage:t[30]}),Ot=t=>({}),Tt=t=>({showNextPage:t[13]}),zt=t=>({}),Xt=t=>({showPrevPage:t[12]});function Wt(t){let n;const e=t[26].prev,o=l(e,t,t[25],Xt),r=o||function(t){let n,e,o;return e=new Mt({props:{direction:"prev",disabled:!t[1]&&0===t[8]}}),e.$on("click",t[12]),{c(){n=x("div"),tt(e.$$.fragment),P(n,"class","arrow-container svelte-7d88a5")},m(t,r){y(t,n,r),nt(e,n,null),o=!0},p(t,n){const o={};258&n[0]&&(o.disabled=!t[1]&&0===t[8]),e.$set(o)},i(t){o||(Q(e.$$.fragment,t),o=!0)},o(t){R(e.$$.fragment,t),o=!1},d(t){t&&v(n),et(e)}}}(t);return{c(){r&&r.c()},m(t,e){r&&r.m(t,e),n=!0},p(t,n){o?o.p&&33554432&n[0]&&f(o,e,t,t[25],n,zt,Xt):r&&r.p&&258&n[0]&&r.p(t,n)},i(t){n||(Q(r,t),n=!0)},o(t){R(r,t),n=!1},d(t){r&&r.d(t)}}}function qt(t){let n;const e=t[26].next,o=l(e,t,t[25],Tt),r=o||function(t){let n,e,o;return e=new Mt({props:{direction:"next",disabled:!t[1]&&t[8]===t[9]-1}}),e.$on("click",t[13]),{c(){n=x("div"),tt(e.$$.fragment),P(n,"class","arrow-container svelte-7d88a5")},m(t,r){y(t,n,r),nt(e,n,null),o=!0},p(t,n){const o={};770&n[0]&&(o.disabled=!t[1]&&t[8]===t[9]-1),e.$set(o)},i(t){o||(Q(e.$$.fragment,t),o=!0)},o(t){R(e.$$.fragment,t),o=!1},d(t){t&&v(n),et(e)}}}(t);return{c(){r&&r.c()},m(t,e){r&&r.m(t,e),n=!0},p(t,n){o?o.p&&33554432&n[0]&&f(o,e,t,t[25],n,Ot,Tt):r&&r.p&&770&n[0]&&r.p(t,n)},i(t){n||(Q(r,t),n=!0)},o(t){R(r,t),n=!1},d(t){r&&r.d(t)}}}function Ft(t){let n;const e=t[26].dots,o=l(e,t,t[25],St),r=o||function(t){let n,e;return n=new Et({props:{pagesCount:t[9],currentPageIndex:t[8]}}),n.$on("pageChange",t[10]),{c(){tt(n.$$.fragment)},m(t,o){nt(n,t,o),e=!0},p(t,e){const o={};512&e[0]&&(o.pagesCount=t[9]),256&e[0]&&(o.currentPageIndex=t[8]),n.$set(o)},i(t){e||(Q(n.$$.fragment,t),e=!0)},o(t){R(n.$$.fragment,t),e=!1},d(t){et(n,t)}}}(t);return{c(){r&&r.c()},m(t,e){r&&r.m(t,e),n=!0},p(t,n){o?o.p&&33555200&n[0]&&f(o,e,t,t[25],n,Nt,St):r&&r.p&&768&n[0]&&r.p(t,n)},i(t){n||(Q(r,t),n=!0)},o(t){R(r,t),n=!1},d(t){r&&r.d(t)}}}function Yt(n){let e,o,r,s,u,a,d,p,m,h,g,b=n[0]&&Wt(n);const k=n[26].default,I=l(k,n,n[25],null);let _=n[0]&&qt(n),M=n[2]&&Ft(n);return{c(){e=x("div"),o=x("div"),b&&b.c(),r=w(),s=x("div"),u=x("div"),I&&I.c(),d=w(),_&&_.c(),p=w(),M&&M.c(),C(u,"transform","translateX("+n[5]+"px)"),C(u,"transition-duration",n[3]+"ms"),P(u,"class","svelte-7d88a5"),P(s,"class","content-container svelte-7d88a5"),P(o,"class","carousel-container svelte-7d88a5"),P(e,"class","main-container svelte-7d88a5")},m(i,l){var f;y(i,e,l),$(e,o),b&&b.m(o,null),$(o,r),$(o,s),$(s,u),I&&I.m(u,null),n[28](u),n[29](s),$(o,d),_&&_.m(o,null),$(e,p),M&&M.m(e,null),m=!0,h||(g=[(f=a=Dt.call(null,u,{thresholdProvider:n[27]}),f&&c(f.destroy)?f.destroy:t),E(u,"start",n[14]),E(u,"move",n[16]),E(u,"end",n[17]),E(u,"threshold",n[15])],h=!0)},p(t,n){t[0]?b?(b.p(t,n),1&n[0]&&Q(b,1)):(b=Wt(t),b.c(),Q(b,1),b.m(o,r)):b&&(J(),R(b,1,1,(()=>{b=null})),K()),I&&I.p&&33554432&n[0]&&f(I,k,t,t[25],n,null,null),(!m||32&n[0])&&C(u,"transform","translateX("+t[5]+"px)"),(!m||8&n[0])&&C(u,"transition-duration",t[3]+"ms"),a&&c(a.update)&&16&n[0]&&a.update.call(null,{thresholdProvider:t[27]}),t[0]?_?(_.p(t,n),1&n[0]&&Q(_,1)):(_=qt(t),_.c(),Q(_,1),_.m(o,null)):_&&(J(),R(_,1,1,(()=>{_=null})),K()),t[2]?M?(M.p(t,n),4&n[0]&&Q(M,1)):(M=Ft(t),M.c(),Q(M,1),M.m(e,null)):M&&(J(),R(M,1,1,(()=>{M=null})),K())},i(t){m||(Q(b),Q(I,t),Q(_),Q(M),m=!0)},o(t){R(b),R(I,t),R(_),R(M),m=!1},d(t){t&&v(e),b&&b.d(),I&&I.d(t),n[28](null),n[29](null),_&&_.d(),M&&M.d(),h=!1,i(g)}}}function Bt(t,n,e){let o,r,{$$slots:i={},$$scope:c}=n;const s={[Ct]:M,[Pt]:_};let u,l,{arrows:a=!0}=n,{infinite:f=!0}=n,{initialPageIndex:d=1}=n,{speed:p=500}=n,m=p,{autoplay:h=!1}=n,{autoplaySpeed:g=3e3}=n,{autoplayDirection:$=Ct}=n,{dots:y=!0}=n,v=0,x=0,b=0,w=0;const k=dt.subscribe((t=>{e(23,v=t.currentPageIndex)}));function E(){const t=l.children;e(4,b=u.clientWidth),e(24,x=t.length);for(let n=0;n{C(e)}),n)}function _(){dt.prev({infinite:f,pagesCount:x}),C(!0)}function M(){dt.next({infinite:f,pagesCount:x}),C(!0)}P=async()=>{await(X(),T),l&&u&&(f&&function(){const t=l.firstChild,n=l.children[l.children.length-1];l.prepend(n.cloneNode(!0)),l.append(t.cloneNode(!0))}(),E());const{teardownAutoplay:t}=function(){let t;return h&&(t=setInterval((()=>{s[$]()}),g)),{teardownAutoplay:()=>{t&&clearInterval(t)}}}();var n;return n=E,window.addEventListener("resize",n),()=>{!function(t){window.removeEventListener("resize",t)}(E),t()}},L().$$.on_mount.push(P),function(t){L().$$.on_destroy.push(t)}((()=>{k()}));return t.$$set=t=>{"arrows"in t&&e(0,a=t.arrows),"infinite"in t&&e(1,f=t.infinite),"initialPageIndex"in t&&e(18,d=t.initialPageIndex),"speed"in t&&e(19,p=t.speed),"autoplay"in t&&e(20,h=t.autoplay),"autoplaySpeed"in t&&e(21,g=t.autoplaySpeed),"autoplayDirection"in t&&e(22,$=t.autoplayDirection),"dots"in t&&e(2,y=t.dots),"$$scope"in t&&e(25,c=t.$$scope)},t.$$.update=()=>{8388610&t.$$.dirty[0]&&e(8,o=v-Number(f)),16777218&t.$$.dirty[0]&&e(9,r=Math.max(x-(f?2:0),0))},[a,f,y,m,b,w,u,l,o,r,function(t){I(t.detail+Number(f),{offsetDelay:0,animated:!0})},I,_,M,function(){e(3,m=0)},function(t){s[t.detail.direction]()},function(t){e(5,w+=t.detail.dx)},function(){I(v,{offsetDelay:0,animated:!0})},d,p,h,g,$,v,x,c,i,()=>b/3,function(t){N[t?"unshift":"push"]((()=>{l=t,e(7,l)}))},function(t){N[t?"unshift":"push"]((()=>{u=t,e(6,u)}))},t=>I(t,{offsetDelay:0,animated:!0})]}class Gt extends rt{constructor(t){super(),ot(this,t,Bt,Yt,s,{arrows:0,infinite:1,initialPageIndex:18,speed:19,autoplay:20,autoplaySpeed:21,autoplayDirection:22,dots:2},[-1,-1])}}function Ht(t,n,e){const o=t.slice();return o[1]=n[e],o[3]=e,o}function Jt(t,n,e){const o=t.slice();return o[4]=n[e].color,o[5]=n[e].text,o}function Kt(t,n,e){const o=t.slice();return o[4]=n[e].color,o[5]=n[e].text,o}function Qt(t,n){let e,o,r,i,c=n[5]+"";return{key:t,first:null,c(){e=x("div"),o=x("p"),r=b(c),i=w(),P(o,"class","svelte-yl9omk"),P(e,"class","color-container svelte-yl9omk"),C(e,"background-color",n[4]),this.first=e},m(t,n){y(t,e,n),$(e,o),$(o,r),$(e,i)},p(t,e){n=t},d(t){t&&v(e)}}}function Rt(t){let n,e=[],o=new Map,r=t[0].flat();const i=t=>t[4];for(let n=0;nt[4];for(let t=0;tt[3];for(let n=0;n