@streamlayer/react 1.13.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/app/provider.d.ts +1 -0
  2. package/lib/app/useStreamLayerApp.d.ts +2 -1
  3. package/lib/cjs/advertisement.js +223 -1
  4. package/lib/cjs/bet-pack.js +1 -1
  5. package/lib/cjs/index2.js +5 -5
  6. package/lib/cjs/masters2.js +4 -9
  7. package/lib/cjs/notification.js +1 -1
  8. package/lib/cjs/points.js +1 -1
  9. package/lib/cjs/provider.js +16 -28
  10. package/lib/cjs/useStreamLayerApp2.js +11 -11
  11. package/lib/classic/app/provider.d.ts +1 -0
  12. package/lib/classic/app/useStreamLayerApp.d.ts +2 -1
  13. package/lib/classic/cjs/advertisement.js +223 -1
  14. package/lib/classic/cjs/bet-pack.js +1 -1
  15. package/lib/classic/cjs/index2.js +5 -5
  16. package/lib/classic/cjs/masters2.js +4 -9
  17. package/lib/classic/cjs/notification.js +1 -1
  18. package/lib/classic/cjs/points.js +1 -1
  19. package/lib/classic/cjs/provider.js +16 -28
  20. package/lib/classic/cjs/useStreamLayerApp2.js +11 -11
  21. package/lib/classic/es/advertisement.js +40813 -558
  22. package/lib/classic/es/bet-pack.js +1 -1
  23. package/lib/classic/es/index.js +4 -4
  24. package/lib/classic/es/index2.js +1012 -987
  25. package/lib/classic/es/masters2.js +409 -434
  26. package/lib/classic/es/notification.js +205 -191
  27. package/lib/classic/es/points.js +39 -32
  28. package/lib/classic/es/provider.js +3852 -3908
  29. package/lib/classic/es/useStreamLayerApp.js +1 -1
  30. package/lib/classic/es/useStreamLayerApp2.js +3413 -3355
  31. package/lib/classic/style.css +1 -1
  32. package/lib/dist/cjs/gamification-feature2.js +1 -1
  33. package/lib/dist/cjs/masters.js +29 -46
  34. package/lib/dist/es/gamification-feature2.js +8 -8
  35. package/lib/dist/es/index.js +3 -3
  36. package/lib/dist/es/masters.js +9255 -9234
  37. package/lib/dist/style.css +1 -1
  38. package/lib/es/advertisement.js +40813 -558
  39. package/lib/es/bet-pack.js +1 -1
  40. package/lib/es/index.js +4 -4
  41. package/lib/es/index2.js +1012 -987
  42. package/lib/es/masters2.js +409 -434
  43. package/lib/es/notification.js +205 -191
  44. package/lib/es/points.js +39 -32
  45. package/lib/es/provider.js +3955 -4011
  46. package/lib/es/useStreamLayerApp.js +1 -1
  47. package/lib/es/useStreamLayerApp2.js +3413 -3355
  48. package/lib/style.css +1 -1
  49. package/package.json +16 -16
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("./index2.js"),o=require("./provider.js"),i=()=>{const e=o.useStreamLayer();return e?t.jsx(n.q,{sdk:e}):null},u=({close:e,onEvent:s})=>{const r=o.useStreamLayer();return r?t.jsx(n.ne,{sdk:r,onEvent:s,close:e}):null};exports.BetPackOverlayProvider=u;exports.BetPackProvider=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("./index2.js"),o=require("./provider.js"),i=()=>{const e=o.useStreamLayer();return e?t.jsx(n.V,{sdk:e}):null},u=({close:e,onEvent:s})=>{const r=o.useStreamLayer();return r?t.jsx(n.tr,{sdk:r,onEvent:s,close:e}):null};exports.BetPackOverlayProvider=u;exports.BetPackProvider=i;
@@ -1,9 +1,9 @@
1
- "use strict";const v=require("react/jsx-runtime"),m=require("./provider.js"),I=require("react"),V=require("./useStreamLayerApp2.js"),Ee="16px",hr=17,yr=21,gr=24,rt=r=>r<.9?gr:r<1.17?yr:hr,jt=r=>{const[e,n]=I.useState(Ee),i=I.useRef(null);return I.useEffect(()=>{const t=m.c(()=>{const{offsetWidth:a,offsetHeight:o}=i.current||{};if(!a||!o)return;const s=o/a;n(a?`${a/rt(s)}px`:Ee)},200);return window.screen.orientation.addEventListener("change",t),window.addEventListener("orientationchange",t),window.addEventListener("resize",t),t(),()=>{window.screen.orientation.removeEventListener("change",t),window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)}},[]),I.useEffect(()=>{const{offsetWidth:t,offsetHeight:a}=i.current||{};if(!t||!a)return;const o=a/t;n(t?`${t/rt(o)}px`:Ee)},[r]),{container:i,fontSize:e}},Ve=m.styled_default("button")({name:"ScreenButton",class:"s1pdy82n",propsAsIs:!1}),Tt=m.styled_default("div")({name:"ScreenTitle",class:"spc0iwi",propsAsIs:!1}),Ze=m.styled_default("div")({name:"ScreenDescription",class:"s18vssq2",propsAsIs:!1}),mr=m.styled_default("div")({name:"BetPackContainer",class:"blelwov",propsAsIs:!1}),br=m.styled_default("div")({name:"EmergencyContainer",class:"e1f9mu2m",propsAsIs:!1}),Sr=m.styled_default("div")({name:"EmergencyScreenTitle",class:"e1n10yo1",propsAsIs:!1}),wr=m.styled_default("div")({name:"EmergencyScreenDescription",class:"e1xecypc",propsAsIs:!1}),Or=()=>Ve,_r=m.styled_default(Or())({name:"EmergencyScreenButton",class:"e1k6zoyu",propsAsIs:!0}),Ne=({actionFn:r,description:e})=>{const{container:n,fontSize:i}=jt();return v.jsxs(br,{style:{fontSize:i},ref:n,children:[v.jsx(Sr,{children:"Something went wrong."}),v.jsx(wr,{children:e}),v.jsx(_r,{onClick:r,children:"Try again"})]})},Pr=m.styled_default("div")({name:"ScreenContainerBox",class:"s28ooi9",propsAsIs:!1}),fe=({children:r,height:e})=>{const{container:n,fontSize:i}=jt(e);return v.jsx(Pr,{style:{height:e,fontSize:i},ref:n,children:v.jsx("div",{children:r})})},nt=m.styled_default("div")({name:"ScreenWrap",class:"s8s3kc9",propsAsIs:!1}),kr=()=>m.Z1,xr=m.styled_default(kr())({name:"SponsorIcon",class:"s1uswib2",propsAsIs:!0}),Et=m.styled_default("div")({name:"EndScreenWrap",class:"el0dbzn",propsAsIs:!1}),jr=()=>Et,Tr=m.styled_default(jr())({name:"EndFirstScreenWrap",class:"e11do4i1",propsAsIs:!0}),Er=()=>Et,Cr=m.styled_default(Er())({name:"EndLastScreenWrap",class:"ef67yx9",propsAsIs:!0}),it=m.styled_default("div")({name:"EndScreenMain",class:"enw6fxs",propsAsIs:!1}),Lr=()=>Tt,Mr=m.styled_default(Lr())({name:"EndScreenTitle",class:"euaws9b",propsAsIs:!0}),Rr=()=>Ze,zr=m.styled_default(Rr())({name:"EndScreenDescription",class:"e9uqaot",propsAsIs:!0}),Ir=()=>Ze,Ar=m.styled_default(Ir())({name:"EndLastScreenDescription",class:"etyeg2m",propsAsIs:!0}),Dr=()=>Ve,ot=m.styled_default(Dr())({name:"EndScreenButton",class:"e177v9in",propsAsIs:!0}),$r=m.styled_default("img")({name:"EndScreenMedia",class:"ehp7lor",propsAsIs:!1}),Hr=({height:r,onEvent:e})=>{const[n,i]=I.useState(0);return n===0?v.jsx(fe,{height:r,children:v.jsx(nt,{children:v.jsxs(Tr,{children:[v.jsxs(it,{children:[v.jsx(xr,{name:"icon-masters-logo"}),v.jsx(Mr,{children:"Great picks!"}),v.jsxs(zr,{children:["As results come in we’ll send you",v.jsx("br",{}),"live updates right here."]})]}),v.jsx(ot,{onClick:()=>{i(1)},children:"Continue"})]})})},"end"):v.jsx(fe,{height:r,children:v.jsx(nt,{children:v.jsxs(Cr,{children:[v.jsxs(it,{children:[v.jsx($r,{src:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/bet_pack_end_screen.png"}),v.jsxs(Ar,{children:["Look for more live match insights,",v.jsx("br",{}),"predictions and more."]})]}),v.jsx(ot,{onClick:()=>e({type:"slOpenGameCenter"}),children:"Open Game Center"})]})})},"end")},Nr=({height:r="37px",width:e="37px"})=>v.jsx("div",{style:{height:r,width:e},children:v.jsx(m.Z1,{name:"loader"})}),Wr=m.styled_default("div")({name:"Container",class:"cv31tt7",propsAsIs:!1}),Ct=()=>v.jsx(Wr,{children:v.jsx(Nr,{})}),qr=({question:r,vote:e})=>r?v.jsx(m.Ht,{close:()=>{},openedQuestion:r,vote:e,isLoading:!1,isEarlyPrediction:!0}):null,Fr=m.styled_default("div")({name:"ScreenWrap",class:"s991vvm",propsAsIs:!1}),Br=m.styled_default("div")({name:"Main",class:"mnbj36g",propsAsIs:!1}),Gr=()=>m.Z1,Ur=m.styled_default(Gr())({name:"IconArrowRight",class:"izrvgt",propsAsIs:!0}),Qr=()=>m.Z1,Xr=m.styled_default(Qr())({name:"SponsorIcon",class:"swqs2ju",propsAsIs:!0}),Yr=m.styled_default("div")({name:"StartScreenSponsor",class:"s1oq8jlq",propsAsIs:!1}),Kr=()=>Tt,Vr=m.styled_default(Kr())({name:"StartScreenTitle",class:"se4nn9a",propsAsIs:!0}),Zr=()=>Ze,Jr=m.styled_default(Zr())({name:"StartScreenDescription",class:"sofug8s",propsAsIs:!0}),en=()=>Ve,tn=m.styled_default(en())({name:"StartScreenButton",class:"s18s0pjp",propsAsIs:!0}),rn=({height:r,countQuestionsAvailable:e,sliderRef:n})=>v.jsx(fe,{height:r,children:v.jsxs(Fr,{children:[v.jsxs(Br,{children:[v.jsx(Xr,{name:"icon-masters-logo"}),v.jsx(Yr,{children:"MASTERS PRESENTS"}),v.jsxs(Vr,{children:["Tee time predictions:",v.jsx("br",{}),"share your expertise"]}),v.jsxs(Jr,{children:["Swipe to answer today’s",v.jsx("br",{}),"question cards."]})]}),v.jsxs(tn,{onClick:()=>{var i;(i=n.current)==null||i.slickNext()},children:[e?`${e} questions available`:"See all questions",v.jsx(Ur,{name:"iconArrowRight"})]})]})},"start");var Lt={},Mt={},_e={},Rt={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};r.default=e})(Rt);var nn="Expected a function",at=NaN,on="[object Symbol]",an=/^\s+|\s+$/g,sn=/^[-+]0x[0-9a-f]+$/i,ln=/^0b[01]+$/i,un=/^0o[0-7]+$/i,cn=parseInt,fn=typeof m.commonjsGlobal=="object"&&m.commonjsGlobal&&m.commonjsGlobal.Object===Object&&m.commonjsGlobal,dn=typeof self=="object"&&self&&self.Object===Object&&self,pn=fn||dn||Function("return this")(),vn=Object.prototype,hn=vn.toString,yn=Math.max,gn=Math.min,Ce=function(){return pn.Date.now()};function mn(r,e,n){var i,t,a,o,s,l,c=0,d=!1,u=!1,b=!0;if(typeof r!="function")throw new TypeError(nn);e=st(e)||0,We(n)&&(d=!!n.leading,u="maxWait"in n,a=u?yn(st(n.maxWait)||0,e):a,b="trailing"in n?!!n.trailing:b);function j(L){var D=i,q=t;return i=t=void 0,c=L,o=r.apply(q,D),o}function O(L){return c=L,s=setTimeout(x,e),d?j(L):o}function S(L){var D=L-l,q=L-c,g=e-D;return u?gn(g,a-q):g}function w(L){var D=L-l,q=L-c;return l===void 0||D>=e||D<0||u&&q>=a}function x(){var L=Ce();if(w(L))return h(L);s=setTimeout(x,S(L))}function h(L){return s=void 0,b&&i?j(L):(i=t=void 0,o)}function p(){s!==void 0&&clearTimeout(s),c=0,i=l=t=s=void 0}function k(){return s===void 0?o:h(Ce())}function C(){var L=Ce(),D=w(L);if(i=arguments,t=this,l=L,D){if(s===void 0)return O(l);if(u)return s=setTimeout(x,e),j(l)}return s===void 0&&(s=setTimeout(x,e)),o}return C.cancel=p,C.flush=k,C}function We(r){var e=typeof r;return!!r&&(e=="object"||e=="function")}function bn(r){return!!r&&typeof r=="object"}function Sn(r){return typeof r=="symbol"||bn(r)&&hn.call(r)==on}function st(r){if(typeof r=="number")return r;if(Sn(r))return at;if(We(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=We(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=r.replace(an,"");var n=ln.test(r);return n||un.test(r)?cn(r.slice(2),n?2:8):sn.test(r)?at:+r}var wn=mn,zt={exports:{}};/*!
1
+ "use strict";const v=require("react/jsx-runtime"),w=require("./provider.js"),I=require("react"),V=require("./useStreamLayerApp2.js"),vr="16px",hr=17,yr=21,gr=24,tt=r=>r<.9?gr:r<1.17?yr:hr,xt=(r,e)=>{const[n,i]=I.useState(vr),[t,s]=I.useState(""),o=I.useRef(null),a=I.useRef();return I.useEffect(()=>{const l=o.current,c=()=>{a.current&&(clearTimeout(a.current),a.current=void 0),a.current=setTimeout(()=>{if(l){const b=getComputedStyle(l),P=+b.width.replace("px",""),O=+b.height.replace("px","")/P,S=P/tt(O);i(`${S<20?S:20}px`)}a.current=void 0},200)},d=()=>{window.screen.orientation.type.includes("landscape")||String(window.orientation).includes("90")?s("landscape"):s("portrait")},u=()=>{d(),c()};return window.screen.orientation.addEventListener("change",u),window.addEventListener("orientationchange",u),window.addEventListener("resize",c),l==null||l.addEventListener("transitionend",c,!1),d(),c(),()=>{window.screen.orientation.removeEventListener("change",u),window.removeEventListener("orientationchange",u),window.removeEventListener("resize",c),l==null||l.removeEventListener("transitionend",c),a.current&&clearTimeout(a.current)}},[]),I.useEffect(()=>(a.current&&(clearTimeout(a.current),a.current=void 0),a.current=setTimeout(()=>{if(o.current){const l=getComputedStyle(o.current),c=+l.width.replace("px",""),d=+l.height.replace("px","")/c,u=c/tt(d);i(`${u<20?u:20}px`),a.current=void 0}},200),()=>{a.current&&clearTimeout(a.current)}),[r]),{container:o,fontSize:n,calcHeight:t==="landscape"&&r!==void 0&&e?r+30:r}},Ke=w.styled_default("button")({name:"ScreenButton",class:"s1pdy82n",propsAsIs:!1}),Tt=w.styled_default("div")({name:"ScreenTitle",class:"spc0iwi",propsAsIs:!1}),Ve=w.styled_default("div")({name:"ScreenDescription",class:"s18vssq2",propsAsIs:!1}),mr=w.styled_default("div")({name:"BetPackContainer",class:"blelwov",propsAsIs:!1}),br=w.styled_default("div")({name:"EmergencyContainer",class:"e1f9mu2m",propsAsIs:!1}),Sr=w.styled_default("div")({name:"EmergencyScreenTitle",class:"e1n10yo1",propsAsIs:!1}),wr=w.styled_default("div")({name:"EmergencyScreenDescription",class:"e1xecypc",propsAsIs:!1}),Or=()=>Ke,_r=w.styled_default(Or())({name:"EmergencyScreenButton",class:"e1k6zoyu",propsAsIs:!0}),He=({actionFn:r,description:e,isMobile:n})=>{const{container:i,fontSize:t}=xt();return v.jsxs(br,{style:{fontSize:t},ref:i,className:w.cx_default("betPack",!!n&&"isMobile"),children:[v.jsx(Sr,{children:"Something went wrong."}),v.jsx(wr,{children:e}),v.jsx(_r,{onClick:r,children:"Try again"})]})},Pr=w.styled_default("div")({name:"ScreenContainerBox",class:"s28ooi9",propsAsIs:!1}),de=({children:r,height:e,swipeable:n})=>{const{container:i,fontSize:t,calcHeight:s}=xt(e,n);return v.jsx(Pr,{style:{height:s,fontSize:t},ref:i,children:v.jsx("div",{children:r})})},rt=w.styled_default("div")({name:"ScreenWrap",class:"s8s3kc9",propsAsIs:!1}),kr=()=>w.u1,xr=w.styled_default(kr())({name:"SponsorIcon",class:"s1uswib2",propsAsIs:!0}),jt=w.styled_default("div")({name:"EndScreenWrap",class:"el0dbzn",propsAsIs:!1}),Tr=()=>jt,jr=w.styled_default(Tr())({name:"EndFirstScreenWrap",class:"e11do4i1",propsAsIs:!0}),Er=()=>jt,Cr=w.styled_default(Er())({name:"EndLastScreenWrap",class:"ef67yx9",propsAsIs:!0}),nt=w.styled_default("div")({name:"EndScreenMain",class:"enw6fxs",propsAsIs:!1}),Lr=()=>Tt,Mr=w.styled_default(Lr())({name:"EndScreenTitle",class:"euaws9b",propsAsIs:!0}),Rr=()=>Ve,zr=w.styled_default(Rr())({name:"EndScreenDescription",class:"e9uqaot",propsAsIs:!0}),Ir=()=>Ve,Ar=w.styled_default(Ir())({name:"EndLastScreenDescription",class:"etyeg2m",propsAsIs:!0}),Dr=()=>Ke,it=w.styled_default(Dr())({name:"EndScreenButton",class:"e177v9in",propsAsIs:!0}),$r=w.styled_default("img")({name:"EndScreenMedia",class:"ehp7lor",propsAsIs:!1}),Hr=({height:r,onEvent:e,swipeable:n})=>{const[i,t]=I.useState(0);return i===0?v.jsx(de,{height:r,swipeable:n,children:v.jsx(rt,{children:v.jsxs(jr,{children:[v.jsxs(nt,{children:[v.jsx(xr,{name:"icon-masters-logo"}),v.jsx(Mr,{children:"Great picks!"}),v.jsxs(zr,{children:["As results come in we’ll send you",v.jsx("br",{}),"live updates right here."]})]}),v.jsx(it,{onClick:()=>{t(1)},children:"Continue"})]})})},"end"):v.jsx(de,{height:r,swipeable:n,children:v.jsx(rt,{children:v.jsxs(Cr,{children:[v.jsxs(nt,{children:[v.jsx($r,{src:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/bet_pack_end_screen.png"}),v.jsxs(Ar,{children:["Look for more live match insights,",v.jsx("br",{}),"predictions and more."]})]}),v.jsx(it,{onClick:()=>e({type:"slOpenGameCenter"}),children:"Open Game Center"})]})})},"end")},Nr=({height:r="37px",width:e="37px"})=>v.jsx("div",{style:{height:r,width:e},children:v.jsx(w.u1,{name:"loader"})}),Wr=w.styled_default("div")({name:"Container",class:"cv31tt7",propsAsIs:!1}),Et=()=>v.jsx(Wr,{children:v.jsx(Nr,{})}),qr=({question:r,vote:e})=>r?v.jsx(w.Ht,{close:()=>{},openedQuestion:r,vote:e,isLoading:!1,isEarlyPrediction:!0}):null,Fr=w.styled_default("div")({name:"ScreenWrap",class:"s991vvm",propsAsIs:!1}),Br=w.styled_default("div")({name:"Main",class:"mnbj36g",propsAsIs:!1}),Gr=()=>w.u1,Ur=w.styled_default(Gr())({name:"IconArrowRight",class:"izrvgt",propsAsIs:!0}),Qr=()=>w.u1,Xr=w.styled_default(Qr())({name:"SponsorIcon",class:"swqs2ju",propsAsIs:!0}),Yr=w.styled_default("div")({name:"StartScreenSponsor",class:"s1oq8jlq",propsAsIs:!1}),Kr=()=>Tt,Vr=w.styled_default(Kr())({name:"StartScreenTitle",class:"se4nn9a",propsAsIs:!0}),Jr=()=>Ve,Zr=w.styled_default(Jr())({name:"StartScreenDescription",class:"sofug8s",propsAsIs:!0}),en=()=>Ke,tn=w.styled_default(en())({name:"StartScreenButton",class:"s18s0pjp",propsAsIs:!0}),rn=({height:r,countQuestionsAvailable:e,sliderRef:n,swipeable:i})=>v.jsx(de,{height:r,swipeable:i,children:v.jsxs(Fr,{children:[v.jsxs(Br,{children:[v.jsx(Xr,{name:"icon-masters-logo"}),v.jsx(Yr,{children:"MASTERS PRESENTS"}),v.jsxs(Vr,{children:["Tee time predictions:",v.jsx("br",{}),"share your expertise"]}),v.jsxs(Zr,{children:["Swipe to answer today’s",v.jsx("br",{}),"question cards."]})]}),v.jsxs(tn,{onClick:()=>{var t;(t=n.current)==null||t.slickNext()},children:[e?`${e} questions available`:"See all questions",v.jsx(Ur,{name:"iconArrowRight"})]})]})},"start");var Ct={},Lt={},_e={},Mt={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};r.default=e})(Mt);var nn="Expected a function",ot=NaN,on="[object Symbol]",an=/^\s+|\s+$/g,sn=/^[-+]0x[0-9a-f]+$/i,ln=/^0b[01]+$/i,un=/^0o[0-7]+$/i,cn=parseInt,dn=typeof w.commonjsGlobal=="object"&&w.commonjsGlobal&&w.commonjsGlobal.Object===Object&&w.commonjsGlobal,fn=typeof self=="object"&&self&&self.Object===Object&&self,pn=dn||fn||Function("return this")(),vn=Object.prototype,hn=vn.toString,yn=Math.max,gn=Math.min,Ee=function(){return pn.Date.now()};function mn(r,e,n){var i,t,s,o,a,l,c=0,d=!1,u=!1,b=!0;if(typeof r!="function")throw new TypeError(nn);e=at(e)||0,Ne(n)&&(d=!!n.leading,u="maxWait"in n,s=u?yn(at(n.maxWait)||0,e):s,b="trailing"in n?!!n.trailing:b);function P(L){var D=i,q=t;return i=t=void 0,c=L,o=r.apply(q,D),o}function O(L){return c=L,a=setTimeout(T,e),d?P(L):o}function S(L){var D=L-l,q=L-c,m=e-D;return u?gn(m,s-q):m}function g(L){var D=L-l,q=L-c;return l===void 0||D>=e||D<0||u&&q>=s}function T(){var L=Ee();if(g(L))return h(L);a=setTimeout(T,S(L))}function h(L){return a=void 0,b&&i?P(L):(i=t=void 0,o)}function p(){a!==void 0&&clearTimeout(a),c=0,i=l=t=a=void 0}function x(){return a===void 0?o:h(Ee())}function C(){var L=Ee(),D=g(L);if(i=arguments,t=this,l=L,D){if(a===void 0)return O(l);if(u)return a=setTimeout(T,e),P(l)}return a===void 0&&(a=setTimeout(T,e)),o}return C.cancel=p,C.flush=x,C}function Ne(r){var e=typeof r;return!!r&&(e=="object"||e=="function")}function bn(r){return!!r&&typeof r=="object"}function Sn(r){return typeof r=="symbol"||bn(r)&&hn.call(r)==on}function at(r){if(typeof r=="number")return r;if(Sn(r))return ot;if(Ne(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=Ne(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=r.replace(an,"");var n=ln.test(r);return n||un.test(r)?cn(r.slice(2),n?2:8):sn.test(r)?ot:+r}var wn=mn,Rt={exports:{}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(r){(function(){var e={}.hasOwnProperty;function n(){for(var a="",o=0;o<arguments.length;o++){var s=arguments[o];s&&(a=t(a,i(s)))}return a}function i(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var s in a)e.call(a,s)&&a[s]&&(o=t(o,s));return o}function t(a,o){return o?a?a+" "+o:a+o:a}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(zt);var Pe=zt.exports,f={},Je={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=n(I);function n(t){return t&&t.__esModule?t:{default:t}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(a){return e.default.createElement("ul",{style:{display:"block"}},a)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(a){return e.default.createElement("button",null,a+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};r.default=i})(Je);Object.defineProperty(f,"__esModule",{value:!0});f.checkSpecKeys=f.checkNavigable=f.changeSlide=f.canUseDOM=f.canGoNext=void 0;f.clamp=At;f.extractObject=void 0;f.filterSettings=An;f.validSettings=f.swipeStart=f.swipeMove=f.swipeEnd=f.slidesOnRight=f.slidesOnLeft=f.slideHandler=f.siblingDirection=f.safePreventDefault=f.lazyStartIndex=f.lazySlidesOnRight=f.lazySlidesOnLeft=f.lazyEndIndex=f.keyHandler=f.initializedState=f.getWidth=f.getTrackLeft=f.getTrackCSS=f.getTrackAnimateCSS=f.getTotalSlides=f.getSwipeDirection=f.getSlideCount=f.getRequiredLazySlides=f.getPreClones=f.getPostClones=f.getOnDemandLazySlides=f.getNavigableIndexes=f.getHeight=void 0;var On=It(I),_n=It(Je);function It(r){return r&&r.__esModule?r:{default:r}}function ae(r){"@babel/helpers - typeof";return ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(r)}function lt(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function A(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?lt(Object(n),!0).forEach(function(i){Pn(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Pn(r,e,n){return e=kn(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function kn(r){var e=xn(r,"string");return ae(e)=="symbol"?e:String(e)}function xn(r,e){if(ae(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ae(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function At(r,e,n){return Math.max(e,Math.min(r,n))}var Z=f.safePreventDefault=function(e){var n=["onTouchStart","onTouchMove","onWheel"];n.includes(e._reactName)||e.preventDefault()},Dt=f.getOnDemandLazySlides=function(e){for(var n=[],i=$t(e),t=Ht(e),a=i;a<t;a++)e.lazyLoadedList.indexOf(a)<0&&n.push(a);return n};f.getRequiredLazySlides=function(e){for(var n=[],i=$t(e),t=Ht(e),a=i;a<t;a++)n.push(a);return n};var $t=f.lazyStartIndex=function(e){return e.currentSlide-jn(e)},Ht=f.lazyEndIndex=function(e){return e.currentSlide+Tn(e)},jn=f.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},Tn=f.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},qe=f.getWidth=function(e){return e&&e.offsetWidth||0},Nt=f.getHeight=function(e){return e&&e.offsetHeight||0},Wt=f.getSwipeDirection=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i,t,a,o;return i=e.startX-e.curX,t=e.startY-e.curY,a=Math.atan2(t,i),o=Math.round(a*180/Math.PI),o<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":n===!0?o>=35&&o<=135?"up":"down":"vertical"},qt=f.canGoNext=function(e){var n=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(n=!1),n};f.extractObject=function(e,n){var i={};return n.forEach(function(t){return i[t]=e[t]}),i};f.initializedState=function(e){var n=On.default.Children.count(e.children),i=e.listRef,t=Math.ceil(qe(i)),a=e.trackRef&&e.trackRef.node,o=Math.ceil(qe(a)),s;if(e.vertical)s=t;else{var l=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(l*=t/100),s=Math.ceil((t-l)/e.slidesToShow)}var c=i&&Nt(i.querySelector('[data-index="0"]')),d=c*e.slidesToShow,u=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(u=n-1-e.initialSlide);var b=e.lazyLoadedList||[],j=Dt(A(A({},e),{},{currentSlide:u,lazyLoadedList:b}));b=b.concat(j);var O={slideCount:n,slideWidth:s,listWidth:t,trackWidth:o,currentSlide:u,slideHeight:c,listHeight:d,lazyLoadedList:b};return e.autoplaying===null&&e.autoplay&&(O.autoplaying="playing"),O};f.slideHandler=function(e){var n=e.waitForAnimate,i=e.animating,t=e.fade,a=e.infinite,o=e.index,s=e.slideCount,l=e.lazyLoad,c=e.currentSlide,d=e.centerMode,u=e.slidesToScroll,b=e.slidesToShow,j=e.useCSS,O=e.lazyLoadedList;if(n&&i)return{};var S=o,w,x,h,p={},k={},C=a?o:At(o,0,s-1);if(t){if(!a&&(o<0||o>=s))return{};o<0?S=o+s:o>=s&&(S=o-s),l&&O.indexOf(S)<0&&(O=O.concat(S)),p={animating:!0,currentSlide:S,lazyLoadedList:O,targetSlide:S},k={animating:!1,targetSlide:S}}else w=S,S<0?(w=S+s,a?s%u!==0&&(w=s-s%u):w=0):!qt(e)&&S>c?S=w=c:d&&S>=s?(S=a?s:s-1,w=a?0:s-1):S>=s&&(w=S-s,a?s%u!==0&&(w=0):w=s-b),!a&&S+b>=s&&(w=s-b),x=pe(A(A({},e),{},{slideIndex:S})),h=pe(A(A({},e),{},{slideIndex:w})),a||(x===h&&(S=w),x=h),l&&(O=O.concat(Dt(A(A({},e),{},{currentSlide:S})))),j?(p={animating:!0,currentSlide:w,trackStyle:Ft(A(A({},e),{},{left:x})),lazyLoadedList:O,targetSlide:C},k={animating:!1,currentSlide:w,trackStyle:de(A(A({},e),{},{left:h})),swipeLeft:null,targetSlide:C}):p={currentSlide:w,trackStyle:de(A(A({},e),{},{left:h})),lazyLoadedList:O,targetSlide:C};return{state:p,nextState:k}};f.changeSlide=function(e,n){var i,t,a,o,s,l=e.slidesToScroll,c=e.slidesToShow,d=e.slideCount,u=e.currentSlide,b=e.targetSlide,j=e.lazyLoad,O=e.infinite;if(o=d%l!==0,i=o?0:(d-u)%l,n.message==="previous")a=i===0?l:c-i,s=u-a,j&&!O&&(t=u-a,s=t===-1?d-1:t),O||(s=b-l);else if(n.message==="next")a=i===0?l:i,s=u+a,j&&!O&&(s=(u+l)%d+i),O||(s=b+l);else if(n.message==="dots")s=n.index*n.slidesToScroll;else if(n.message==="children"){if(s=n.index,O){var S=Mn(A(A({},e),{},{targetSlide:s}));s>n.currentSlide&&S==="left"?s=s-d:s<n.currentSlide&&S==="right"&&(s=s+d)}}else n.message==="index"&&(s=Number(n.index));return s};f.keyHandler=function(e,n,i){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!n?"":e.keyCode===37?i?"next":"previous":e.keyCode===39?i?"previous":"next":""};f.swipeStart=function(e,n,i){return e.target.tagName==="IMG"&&Z(e),!n||!i&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};f.swipeMove=function(e,n){var i=n.scrolling,t=n.animating,a=n.vertical,o=n.swipeToSlide,s=n.verticalSwiping,l=n.rtl,c=n.currentSlide,d=n.edgeFriction,u=n.edgeDragged,b=n.onEdge,j=n.swiped,O=n.swiping,S=n.slideCount,w=n.slidesToScroll,x=n.infinite,h=n.touchObject,p=n.swipeEvent,k=n.listHeight,C=n.listWidth;if(!i){if(t)return Z(e);a&&o&&s&&Z(e);var L,D={},q=pe(n);h.curX=e.touches?e.touches[0].pageX:e.clientX,h.curY=e.touches?e.touches[0].pageY:e.clientY,h.swipeLength=Math.round(Math.sqrt(Math.pow(h.curX-h.startX,2)));var g=Math.round(Math.sqrt(Math.pow(h.curY-h.startY,2)));if(!s&&!O&&g>10)return{scrolling:!0};s&&(h.swipeLength=g);var y=(l?-1:1)*(h.curX>h.startX?1:-1);s&&(y=h.curY>h.startY?1:-1);var M=Math.ceil(S/w),P=Wt(n.touchObject,s),T=h.swipeLength;return x||(c===0&&(P==="right"||P==="down")||c+1>=M&&(P==="left"||P==="up")||!qt(n)&&(P==="left"||P==="up"))&&(T=h.swipeLength*d,u===!1&&b&&(b(P),D.edgeDragged=!0)),!j&&p&&(p(P),D.swiped=!0),a?L=q+T*(k/C)*y:l?L=q-T*y:L=q+T*y,s&&(L=q+T*y),D=A(A({},D),{},{touchObject:h,swipeLeft:L,trackStyle:de(A(A({},n),{},{left:L}))}),Math.abs(h.curX-h.startX)<Math.abs(h.curY-h.startY)*.8||h.swipeLength>10&&(D.swiping=!0,Z(e)),D}};f.swipeEnd=function(e,n){var i=n.dragging,t=n.swipe,a=n.touchObject,o=n.listWidth,s=n.touchThreshold,l=n.verticalSwiping,c=n.listHeight,d=n.swipeToSlide,u=n.scrolling,b=n.onSwipe,j=n.targetSlide,O=n.currentSlide,S=n.infinite;if(!i)return t&&Z(e),{};var w=l?c/s:o/s,x=Wt(a,l),h={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(u||!a.swipeLength)return h;if(a.swipeLength>w){Z(e),b&&b(x);var p,k,C=S?O:j;switch(x){case"left":case"up":k=C+ct(n),p=d?ut(n,k):k,h.currentDirection=0;break;case"right":case"down":k=C-ct(n),p=d?ut(n,k):k,h.currentDirection=1;break;default:p=C}h.triggerSlideHandler=p}else{var L=pe(n);h.trackStyle=Ft(A(A({},n),{},{left:L}))}return h};var En=f.getNavigableIndexes=function(e){for(var n=e.infinite?e.slideCount*2:e.slideCount,i=e.infinite?e.slidesToShow*-1:0,t=e.infinite?e.slidesToShow*-1:0,a=[];i<n;)a.push(i),i=t+e.slidesToScroll,t+=Math.min(e.slidesToScroll,e.slidesToShow);return a},ut=f.checkNavigable=function(e,n){var i=En(e),t=0;if(n>i[i.length-1])n=i[i.length-1];else for(var a in i){if(n<i[a]){n=t;break}t=i[a]}return n},ct=f.getSlideCount=function(e){var n=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var i,t=e.listRef,a=t.querySelectorAll&&t.querySelectorAll(".slick-slide")||[];if(Array.from(a).every(function(l){if(e.vertical){if(l.offsetTop+Nt(l)/2>e.swipeLeft*-1)return i=l,!1}else if(l.offsetLeft-n+qe(l)/2>e.swipeLeft*-1)return i=l,!1;return!0}),!i)return 0;var o=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide,s=Math.abs(i.dataset.index-o)||1;return s}else return e.slidesToScroll},et=f.checkSpecKeys=function(e,n){return n.reduce(function(i,t){return i&&e.hasOwnProperty(t)},!0)?null:console.error("Keys Missing:",e)},de=f.getTrackCSS=function(e){et(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var n,i,t=e.slideCount+2*e.slidesToShow;e.vertical?i=t*e.slideHeight:n=Ln(e)*e.slideWidth;var a={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";a=A(A({},a),{},{WebkitTransform:o,transform:s,msTransform:l})}else e.vertical?a.top=e.left:a.left=e.left;return e.fade&&(a={opacity:1}),n&&(a.width=n),i&&(a.height=i),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?a.marginTop=e.left+"px":a.marginLeft=e.left+"px"),a},Ft=f.getTrackAnimateCSS=function(e){et(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var n=de(e);return e.useTransform?(n.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,n.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?n.transition="top "+e.speed+"ms "+e.cssEase:n.transition="left "+e.speed+"ms "+e.cssEase,n},pe=f.getTrackLeft=function(e){if(e.unslick)return 0;et(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var n=e.slideIndex,i=e.trackRef,t=e.infinite,a=e.centerMode,o=e.slideCount,s=e.slidesToShow,l=e.slidesToScroll,c=e.slideWidth,d=e.listWidth,u=e.variableWidth,b=e.slideHeight,j=e.fade,O=e.vertical,S=0,w,x,h=0;if(j||e.slideCount===1)return 0;var p=0;if(t?(p=-ce(e),o%l!==0&&n+l>o&&(p=-(n>o?s-(n-o):o%l)),a&&(p+=parseInt(s/2))):(o%l!==0&&n+l>o&&(p=s-o%l),a&&(p=parseInt(s/2))),S=p*c,h=p*b,O?w=n*b*-1+h:w=n*c*-1+S,u===!0){var k,C=i&&i.node;if(k=n+ce(e),x=C&&C.childNodes[k],w=x?x.offsetLeft*-1:0,a===!0){k=t?n+ce(e):n,x=C&&C.children[k],w=0;for(var L=0;L<k;L++)w-=C&&C.children[L]&&C.children[L].offsetWidth;w-=parseInt(e.centerPadding),w+=x&&(d-x.offsetWidth)/2}}return w},ce=f.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},Cn=f.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},Ln=f.getTotalSlides=function(e){return e.slideCount===1?1:ce(e)+e.slideCount+Cn(e)},Mn=f.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+Rn(e)?"left":"right":e.targetSlide<e.currentSlide-zn(e)?"right":"left"},Rn=f.slidesOnRight=function(e){var n=e.slidesToShow,i=e.centerMode,t=e.rtl,a=e.centerPadding;if(i){var o=(n-1)/2+1;return parseInt(a)>0&&(o+=1),t&&n%2===0&&(o+=1),o}return t?0:n-1},zn=f.slidesOnLeft=function(e){var n=e.slidesToShow,i=e.centerMode,t=e.rtl,a=e.centerPadding;if(i){var o=(n-1)/2+1;return parseInt(a)>0&&(o+=1),!t&&n%2===0&&(o+=1),o}return t?n-1:0};f.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var In=f.validSettings=Object.keys(_n.default);function An(r){return In.reduce(function(e,n){return r.hasOwnProperty(n)&&(e[n]=r[n]),e},{})}var ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.Track=void 0;var G=Bt(I),Le=Bt(Pe),Me=f;function Bt(r){return r&&r.__esModule?r:{default:r}}function ee(r){"@babel/helpers - typeof";return ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(r)}function Fe(){return Fe=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},Fe.apply(this,arguments)}function Dn(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,Ut(i.key),i)}}function Hn(r,e,n){return e&&$n(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Nn(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Be(r,e)}function Be(r,e){return Be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Be(r,e)}function Wn(r){var e=Gt();return function(){var i=ve(r),t;if(e){var a=ve(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return qn(this,t)}}function qn(r,e){if(e&&(ee(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ge(r)}function Ge(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Gt(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Gt=function(){return!!r})()}function ve(r){return ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ve(r)}function ft(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function W(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ft(Object(n),!0).forEach(function(i){Ue(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Ue(r,e,n){return e=Ut(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Ut(r){var e=Fn(r,"string");return ee(e)=="symbol"?e:String(e)}function Fn(r,e){if(ee(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ee(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}var Re=function(e){var n,i,t,a,o;e.rtl?o=e.slideCount-1-e.index:o=e.index,t=o<0||o>=e.slideCount,e.centerMode?(a=Math.floor(e.slidesToShow/2),i=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-a-1&&o<=e.currentSlide+a&&(n=!0)):n=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow;var s;e.targetSlide<0?s=e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?s=e.targetSlide-e.slideCount:s=e.targetSlide;var l=o===s;return{"slick-slide":!0,"slick-active":n,"slick-center":i,"slick-cloned":t,"slick-current":l}},Bn=function(e){var n={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(n.width=e.slideWidth),e.fade&&(n.position="relative",e.vertical?n.top=-e.index*parseInt(e.slideHeight):n.left=-e.index*parseInt(e.slideWidth),n.opacity=e.currentSlide===e.index?1:0,n.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(n.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),n},ze=function(e,n){return e.key||n},Gn=function(e){var n,i=[],t=[],a=[],o=G.default.Children.count(e.children),s=(0,Me.lazyStartIndex)(e),l=(0,Me.lazyEndIndex)(e);return G.default.Children.forEach(e.children,function(c,d){var u,b={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(d)>=0?u=c:u=G.default.createElement("div",null);var j=Bn(W(W({},e),{},{index:d})),O=u.props.className||"",S=Re(W(W({},e),{},{index:d}));if(i.push(G.default.cloneElement(u,{key:"original"+ze(u,d),"data-index":d,className:(0,Le.default)(S,O),tabIndex:"-1","aria-hidden":!S["slick-active"],style:W(W({outline:"none"},u.props.style||{}),j),onClick:function(h){u.props&&u.props.onClick&&u.props.onClick(h),e.focusOnSelect&&e.focusOnSelect(b)}})),e.infinite&&e.fade===!1){var w=o-d;w<=(0,Me.getPreClones)(e)&&(n=-w,n>=s&&(u=c),S=Re(W(W({},e),{},{index:n})),t.push(G.default.cloneElement(u,{key:"precloned"+ze(u,n),"data-index":n,tabIndex:"-1",className:(0,Le.default)(S,O),"aria-hidden":!S["slick-active"],style:W(W({},u.props.style||{}),j),onClick:function(h){u.props&&u.props.onClick&&u.props.onClick(h),e.focusOnSelect&&e.focusOnSelect(b)}}))),n=o+d,n<l&&(u=c),S=Re(W(W({},e),{},{index:n})),a.push(G.default.cloneElement(u,{key:"postcloned"+ze(u,n),"data-index":n,tabIndex:"-1",className:(0,Le.default)(S,O),"aria-hidden":!S["slick-active"],style:W(W({},u.props.style||{}),j),onClick:function(h){u.props&&u.props.onClick&&u.props.onClick(h),e.focusOnSelect&&e.focusOnSelect(b)}}))}}),e.rtl?t.concat(i,a).reverse():t.concat(i,a)};ke.Track=function(r){Nn(n,r);var e=Wn(n);function n(){var i;Dn(this,n);for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return i=e.call.apply(e,[this].concat(a)),Ue(Ge(i),"node",null),Ue(Ge(i),"handleRef",function(s){i.node=s}),i}return Hn(n,[{key:"render",value:function(){var t=Gn(this.props),a=this.props,o=a.onMouseEnter,s=a.onMouseOver,l=a.onMouseLeave,c={onMouseEnter:o,onMouseOver:s,onMouseLeave:l};return G.default.createElement("div",Fe({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},c),t)}}]),n}(G.default.PureComponent);var xe={};function te(r){"@babel/helpers - typeof";return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(r)}Object.defineProperty(xe,"__esModule",{value:!0});xe.Dots=void 0;var le=Qt(I),Un=Qt(Pe),dt=f;function Qt(r){return r&&r.__esModule?r:{default:r}}function pt(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function Qn(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?pt(Object(n),!0).forEach(function(i){Xn(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Xn(r,e,n){return e=Xt(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Yn(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,Xt(i.key),i)}}function Vn(r,e,n){return e&&Kn(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Xt(r){var e=Zn(r,"string");return te(e)=="symbol"?e:String(e)}function Zn(r,e){if(te(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(te(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Jn(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Qe(r,e)}function Qe(r,e){return Qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Qe(r,e)}function ei(r){var e=Yt();return function(){var i=he(r),t;if(e){var a=he(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return ti(this,t)}}function ti(r,e){if(e&&(te(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ri(r)}function ri(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Yt(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Yt=function(){return!!r})()}function he(r){return he=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},he(r)}var ni=function(e){var n;return e.infinite?n=Math.ceil(e.slideCount/e.slidesToScroll):n=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,n};xe.Dots=function(r){Jn(n,r);var e=ei(n);function n(){return Yn(this,n),e.apply(this,arguments)}return Vn(n,[{key:"clickHandler",value:function(t,a){a.preventDefault(),this.props.clickHandler(t)}},{key:"render",value:function(){for(var t=this.props,a=t.onMouseEnter,o=t.onMouseOver,s=t.onMouseLeave,l=t.infinite,c=t.slidesToScroll,d=t.slidesToShow,u=t.slideCount,b=t.currentSlide,j=ni({slideCount:u,slidesToScroll:c,slidesToShow:d,infinite:l}),O={onMouseEnter:a,onMouseOver:o,onMouseLeave:s},S=[],w=0;w<j;w++){var x=(w+1)*c-1,h=l?x:(0,dt.clamp)(x,0,u-1),p=h-(c-1),k=l?p:(0,dt.clamp)(p,0,u-1),C=(0,Un.default)({"slick-active":l?b>=k&&b<=h:b===k}),L={message:"dots",index:w,slidesToScroll:c,currentSlide:b},D=this.clickHandler.bind(this,L);S=S.concat(le.default.createElement("li",{key:w,className:C},le.default.cloneElement(this.props.customPaging(w),{onClick:D})))}return le.default.cloneElement(this.props.appendDots(S),Qn({className:this.props.dotsClass},O))}}]),n}(le.default.PureComponent);var re={};function ne(r){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(r)}Object.defineProperty(re,"__esModule",{value:!0});re.PrevArrow=re.NextArrow=void 0;var J=Vt(I),Kt=Vt(Pe),ii=f;function Vt(r){return r&&r.__esModule?r:{default:r}}function ye(){return ye=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},ye.apply(this,arguments)}function vt(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function ge(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?vt(Object(n),!0).forEach(function(i){oi(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function oi(r,e,n){return e=er(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Zt(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function ai(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,er(i.key),i)}}function Jt(r,e,n){return e&&ai(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function er(r){var e=si(r,"string");return ne(e)=="symbol"?e:String(e)}function si(r,e){if(ne(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ne(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function tr(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Xe(r,e)}function Xe(r,e){return Xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Xe(r,e)}function rr(r){var e=nr();return function(){var i=me(r),t;if(e){var a=me(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return li(this,t)}}function li(r,e){if(e&&(ne(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ui(r)}function ui(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function nr(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(nr=function(){return!!r})()}function me(r){return me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},me(r)}re.PrevArrow=function(r){tr(n,r);var e=rr(n);function n(){return Zt(this,n),e.apply(this,arguments)}return Jt(n,[{key:"clickHandler",value:function(t,a){a&&a.preventDefault(),this.props.clickHandler(t,a)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-prev":!0},a=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(t["slick-disabled"]=!0,a=null);var o={key:"0","data-role":"none",className:(0,Kt.default)(t),style:{display:"block"},onClick:a},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.prevArrow?l=J.default.cloneElement(this.props.prevArrow,ge(ge({},o),s)):l=J.default.createElement("button",ye({key:"0",type:"button"},o)," ","Previous"),l}}]),n}(J.default.PureComponent);re.NextArrow=function(r){tr(n,r);var e=rr(n);function n(){return Zt(this,n),e.apply(this,arguments)}return Jt(n,[{key:"clickHandler",value:function(t,a){a&&a.preventDefault(),this.props.clickHandler(t,a)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-next":!0},a=this.clickHandler.bind(this,{message:"next"});(0,ii.canGoNext)(this.props)||(t["slick-disabled"]=!0,a=null);var o={key:"1","data-role":"none",className:(0,Kt.default)(t),style:{display:"block"},onClick:a},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.nextArrow?l=J.default.cloneElement(this.props.nextArrow,ge(ge({},o),s)):l=J.default.createElement("button",ye({key:"1",type:"button"},o)," ","Next"),l}}]),n}(J.default.PureComponent);var ir=function(){if(typeof Map<"u")return Map;function r(e,n){var i=-1;return e.some(function(t,a){return t[0]===n?(i=a,!0):!1}),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(n){var i=r(this.__entries__,n),t=this.__entries__[i];return t&&t[1]},e.prototype.set=function(n,i){var t=r(this.__entries__,n);~t?this.__entries__[t][1]=i:this.__entries__.push([n,i])},e.prototype.delete=function(n){var i=this.__entries__,t=r(i,n);~t&&i.splice(t,1)},e.prototype.has=function(n){return!!~r(this.__entries__,n)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(n,i){i===void 0&&(i=null);for(var t=0,a=this.__entries__;t<a.length;t++){var o=a[t];n.call(i,o[1],o[0])}},e}()}(),Ye=typeof window<"u"&&typeof document<"u"&&window.document===document,be=function(){return typeof V.global<"u"&&V.global.Math===Math?V.global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),ci=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(be):function(r){return setTimeout(function(){return r(Date.now())},1e3/60)}}(),fi=2;function di(r,e){var n=!1,i=!1,t=0;function a(){n&&(n=!1,r()),i&&s()}function o(){ci(a)}function s(){var l=Date.now();if(n){if(l-t<fi)return;i=!0}else n=!0,i=!1,setTimeout(o,e);t=l}return s}var pi=20,vi=["top","right","bottom","left","width","height","size","weight"],hi=typeof MutationObserver<"u",yi=function(){function r(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=di(this.refresh.bind(this),pi)}return r.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},r.prototype.removeObserver=function(e){var n=this.observers_,i=n.indexOf(e);~i&&n.splice(i,1),!n.length&&this.connected_&&this.disconnect_()},r.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},r.prototype.updateObservers_=function(){var e=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return e.forEach(function(n){return n.broadcastActive()}),e.length>0},r.prototype.connect_=function(){!Ye||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),hi?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},r.prototype.disconnect_=function(){!Ye||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},r.prototype.onTransitionEnd_=function(e){var n=e.propertyName,i=n===void 0?"":n,t=vi.some(function(a){return!!~i.indexOf(a)});t&&this.refresh()},r.getInstance=function(){return this.instance_||(this.instance_=new r),this.instance_},r.instance_=null,r}(),or=function(r,e){for(var n=0,i=Object.keys(e);n<i.length;n++){var t=i[n];Object.defineProperty(r,t,{value:e[t],enumerable:!1,writable:!1,configurable:!0})}return r},ie=function(r){var e=r&&r.ownerDocument&&r.ownerDocument.defaultView;return e||be},ar=je(0,0,0,0);function Se(r){return parseFloat(r)||0}function ht(r){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(i,t){var a=r["border-"+t+"-width"];return i+Se(a)},0)}function gi(r){for(var e=["top","right","bottom","left"],n={},i=0,t=e;i<t.length;i++){var a=t[i],o=r["padding-"+a];n[a]=Se(o)}return n}function mi(r){var e=r.getBBox();return je(0,0,e.width,e.height)}function bi(r){var e=r.clientWidth,n=r.clientHeight;if(!e&&!n)return ar;var i=ie(r).getComputedStyle(r),t=gi(i),a=t.left+t.right,o=t.top+t.bottom,s=Se(i.width),l=Se(i.height);if(i.boxSizing==="border-box"&&(Math.round(s+a)!==e&&(s-=ht(i,"left","right")+a),Math.round(l+o)!==n&&(l-=ht(i,"top","bottom")+o)),!wi(r)){var c=Math.round(s+a)-e,d=Math.round(l+o)-n;Math.abs(c)!==1&&(s-=c),Math.abs(d)!==1&&(l-=d)}return je(t.left,t.top,s,l)}var Si=function(){return typeof SVGGraphicsElement<"u"?function(r){return r instanceof ie(r).SVGGraphicsElement}:function(r){return r instanceof ie(r).SVGElement&&typeof r.getBBox=="function"}}();function wi(r){return r===ie(r).document.documentElement}function Oi(r){return Ye?Si(r)?mi(r):bi(r):ar}function _i(r){var e=r.x,n=r.y,i=r.width,t=r.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,o=Object.create(a.prototype);return or(o,{x:e,y:n,width:i,height:t,top:n,right:e+i,bottom:t+n,left:e}),o}function je(r,e,n,i){return{x:r,y:e,width:n,height:i}}var Pi=function(){function r(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=je(0,0,0,0),this.target=e}return r.prototype.isActive=function(){var e=Oi(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},r.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},r}(),ki=function(){function r(e,n){var i=_i(n);or(this,{target:e,contentRect:i})}return r}(),xi=function(){function r(e,n,i){if(this.activeObservations_=[],this.observations_=new ir,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=n,this.callbackCtx_=i}return r.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ie(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)||(n.set(e,new Pi(e)),this.controller_.addObserver(this),this.controller_.refresh())}},r.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ie(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)&&(n.delete(e),n.size||this.controller_.removeObserver(this))}},r.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},r.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&e.activeObservations_.push(n)})},r.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,n=this.activeObservations_.map(function(i){return new ki(i.target,i.broadcastRect())});this.callback_.call(e,n,e),this.clearActive()}},r.prototype.clearActive=function(){this.activeObservations_.splice(0)},r.prototype.hasActive=function(){return this.activeObservations_.length>0},r}(),sr=typeof WeakMap<"u"?new WeakMap:new ir,lr=function(){function r(e){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=yi.getInstance(),i=new xi(e,n,this);sr.set(this,i)}return r}();["observe","unobserve","disconnect"].forEach(function(r){lr.prototype[r]=function(){var e;return(e=sr.get(this))[r].apply(e,arguments)}});var ji=function(){return typeof be.ResizeObserver<"u"?be.ResizeObserver:lr}();const Ti=Object.freeze(Object.defineProperty({__proto__:null,default:ji},Symbol.toStringTag,{value:"Module"})),Ei=m.getAugmentedNamespace(Ti);Object.defineProperty(_e,"__esModule",{value:!0});_e.InnerSlider=void 0;var N=se(I),Ci=se(Rt),Li=se(wn),Mi=se(Pe),$=f,Ri=ke,zi=xe,yt=re,Ii=se(Ei);function se(r){return r&&r.__esModule?r:{default:r}}function X(r){"@babel/helpers - typeof";return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(r)}function we(){return we=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},we.apply(this,arguments)}function Ai(r,e){if(r==null)return{};var n=Di(r,e),i,t;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);for(t=0;t<a.length;t++)i=a[t],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(r,i)&&(n[i]=r[i])}return n}function Di(r,e){if(r==null)return{};var n={},i=Object.keys(r),t,a;for(a=0;a<i.length;a++)t=i[a],!(e.indexOf(t)>=0)&&(n[t]=r[t]);return n}function gt(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function _(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?gt(Object(n),!0).forEach(function(i){z(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function $i(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Hi(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,cr(i.key),i)}}function Ni(r,e,n){return e&&Hi(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Wi(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Ke(r,e)}function Ke(r,e){return Ke=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Ke(r,e)}function qi(r){var e=ur();return function(){var i=Oe(r),t;if(e){var a=Oe(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return Fi(this,t)}}function Fi(r,e){if(e&&(X(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return R(r)}function R(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function ur(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ur=function(){return!!r})()}function Oe(r){return Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(r)}function z(r,e,n){return e=cr(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function cr(r){var e=Bi(r,"string");return X(e)=="symbol"?e:String(e)}function Bi(r,e){if(X(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(X(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}_e.InnerSlider=function(r){Wi(n,r);var e=qi(n);function n(i){var t;$i(this,n),t=e.call(this,i),z(R(t),"listRefHandler",function(o){return t.list=o}),z(R(t),"trackRefHandler",function(o){return t.track=o}),z(R(t),"adaptHeight",function(){if(t.props.adaptiveHeight&&t.list){var o=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,$.getHeight)(o)+"px"}}),z(R(t),"componentDidMount",function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var o=(0,$.getOnDemandLazySlides)(_(_({},t.props),t.state));o.length>0&&(t.setState(function(l){return{lazyLoadedList:l.lazyLoadedList.concat(o)}}),t.props.onLazyLoad&&t.props.onLazyLoad(o))}var s=_({listRef:t.list,trackRef:t.track},t.props);t.updateState(s,!0,function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")}),t.props.lazyLoad==="progressive"&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new Ii.default(function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout(function(){return t.onWindowResized()},t.props.speed))):t.onWindowResized()}),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(l){l.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,l.onblur=t.props.pauseOnFocus?t.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)}),z(R(t),"componentWillUnmount",function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach(function(o){return clearTimeout(o)}),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()}),z(R(t),"componentDidUpdate",function(o){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var s=(0,$.getOnDemandLazySlides)(_(_({},t.props),t.state));s.length>0&&(t.setState(function(d){return{lazyLoadedList:d.lazyLoadedList.concat(s)}}),t.props.onLazyLoad&&t.props.onLazyLoad(s))}t.adaptHeight();var l=_(_({listRef:t.list,trackRef:t.track},t.props),t.state),c=t.didPropsChange(o);c&&t.updateState(l,c,function(){t.state.currentSlide>=N.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:N.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")})}),z(R(t),"onWindowResized",function(o){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,Li.default)(function(){return t.resizeWindow(o)},50),t.debouncedResize()}),z(R(t),"resizeWindow",function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,s=!!(t.track&&t.track.node);if(s){var l=_(_({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(l,o,function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")}),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}}),z(R(t),"updateState",function(o,s,l){var c=(0,$.initializedState)(o);o=_(_(_({},o),c),{},{slideIndex:c.currentSlide});var d=(0,$.getTrackLeft)(o);o=_(_({},o),{},{left:d});var u=(0,$.getTrackCSS)(o);(s||N.default.Children.count(t.props.children)!==N.default.Children.count(o.children))&&(c.trackStyle=u),t.setState(c,l)}),z(R(t),"ssrInit",function(){if(t.props.variableWidth){var o=0,s=0,l=[],c=(0,$.getPreClones)(_(_(_({},t.props),t.state),{},{slideCount:t.props.children.length})),d=(0,$.getPostClones)(_(_(_({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach(function(D){l.push(D.props.style.width),o+=D.props.style.width});for(var u=0;u<c;u++)s+=l[l.length-1-u],o+=l[l.length-1-u];for(var b=0;b<d;b++)o+=l[b];for(var j=0;j<t.state.currentSlide;j++)s+=l[j];var O={width:o+"px",left:-s+"px"};if(t.props.centerMode){var S="".concat(l[t.state.currentSlide],"px");O.left="calc(".concat(O.left," + (100% - ").concat(S,") / 2 ) ")}return{trackStyle:O}}var w=N.default.Children.count(t.props.children),x=_(_(_({},t.props),t.state),{},{slideCount:w}),h=(0,$.getPreClones)(x)+(0,$.getPostClones)(x)+w,p=100/t.props.slidesToShow*h,k=100/h,C=-k*((0,$.getPreClones)(x)+t.state.currentSlide)*p/100;t.props.centerMode&&(C+=(100-k*p/100)/2);var L={width:p+"%",left:C+"%"};return{slideWidth:k+"%",trackStyle:L}}),z(R(t),"checkImagesLoad",function(){var o=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],s=o.length,l=0;Array.prototype.forEach.call(o,function(c){var d=function(){return++l&&l>=s&&t.onWindowResized()};if(!c.onclick)c.onclick=function(){return c.parentNode.focus()};else{var u=c.onclick;c.onclick=function(b){u(b),c.parentNode.focus()}}c.onload||(t.props.lazyLoad?c.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(c.onload=d,c.onerror=function(){d(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))})}),z(R(t),"progressiveLazyLoad",function(){for(var o=[],s=_(_({},t.props),t.state),l=t.state.currentSlide;l<t.state.slideCount+(0,$.getPostClones)(s);l++)if(t.state.lazyLoadedList.indexOf(l)<0){o.push(l);break}for(var c=t.state.currentSlide-1;c>=-(0,$.getPreClones)(s);c--)if(t.state.lazyLoadedList.indexOf(c)<0){o.push(c);break}o.length>0?(t.setState(function(d){return{lazyLoadedList:d.lazyLoadedList.concat(o)}}),t.props.onLazyLoad&&t.props.onLazyLoad(o)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)}),z(R(t),"slideHandler",function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=t.props,c=l.asNavFor,d=l.beforeChange,u=l.onLazyLoad,b=l.speed,j=l.afterChange,O=t.state.currentSlide,S=(0,$.slideHandler)(_(_(_({index:o},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!s})),w=S.state,x=S.nextState;if(w){d&&d(O,w.currentSlide);var h=w.lazyLoadedList.filter(function(p){return t.state.lazyLoadedList.indexOf(p)<0});u&&h.length>0&&u(h),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),j&&j(O),delete t.animationEndCallback),t.setState(w,function(){c&&t.asNavForIndex!==o&&(t.asNavForIndex=o,c.innerSlider.slideHandler(o)),x&&(t.animationEndCallback=setTimeout(function(){var p=x.animating,k=Ai(x,["animating"]);t.setState(k,function(){t.callbackTimers.push(setTimeout(function(){return t.setState({animating:p})},10)),j&&j(w.currentSlide),delete t.animationEndCallback})},b))})}}),z(R(t),"changeSlide",function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=_(_({},t.props),t.state),c=(0,$.changeSlide)(l,o);if(!(c!==0&&!c)&&(s===!0?t.slideHandler(c,s):t.slideHandler(c),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var d=t.list.querySelectorAll(".slick-current");d[0]&&d[0].focus()}}),z(R(t),"clickHandler",function(o){t.clickable===!1&&(o.stopPropagation(),o.preventDefault()),t.clickable=!0}),z(R(t),"keyHandler",function(o){var s=(0,$.keyHandler)(o,t.props.accessibility,t.props.rtl);s!==""&&t.changeSlide({message:s})}),z(R(t),"selectHandler",function(o){t.changeSlide(o)}),z(R(t),"disableBodyScroll",function(){var o=function(l){l=l||window.event,l.preventDefault&&l.preventDefault(),l.returnValue=!1};window.ontouchmove=o}),z(R(t),"enableBodyScroll",function(){window.ontouchmove=null}),z(R(t),"swipeStart",function(o){t.props.verticalSwiping&&t.disableBodyScroll();var s=(0,$.swipeStart)(o,t.props.swipe,t.props.draggable);s!==""&&t.setState(s)}),z(R(t),"swipeMove",function(o){var s=(0,$.swipeMove)(o,_(_(_({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));s&&(s.swiping&&(t.clickable=!1),t.setState(s))}),z(R(t),"swipeEnd",function(o){var s=(0,$.swipeEnd)(o,_(_(_({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(s){var l=s.triggerSlideHandler;delete s.triggerSlideHandler,t.setState(s),l!==void 0&&(t.slideHandler(l),t.props.verticalSwiping&&t.enableBodyScroll())}}),z(R(t),"touchEnd",function(o){t.swipeEnd(o),t.clickable=!0}),z(R(t),"slickPrev",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"previous"})},0))}),z(R(t),"slickNext",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"next"})},0))}),z(R(t),"slickGoTo",function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o=Number(o),isNaN(o))return"";t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"index",index:o,currentSlide:t.state.currentSlide},s)},0))}),z(R(t),"play",function(){var o;if(t.props.rtl)o=t.state.currentSlide-t.props.slidesToScroll;else if((0,$.canGoNext)(_(_({},t.props),t.state)))o=t.state.currentSlide+t.props.slidesToScroll;else return!1;t.slideHandler(o)}),z(R(t),"autoPlay",function(o){t.autoplayTimer&&clearInterval(t.autoplayTimer);var s=t.state.autoplaying;if(o==="update"){if(s==="hovered"||s==="focused"||s==="paused")return}else if(o==="leave"){if(s==="paused"||s==="focused")return}else if(o==="blur"&&(s==="paused"||s==="hovered"))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})}),z(R(t),"pause",function(o){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var s=t.state.autoplaying;o==="paused"?t.setState({autoplaying:"paused"}):o==="focused"?(s==="hovered"||s==="playing")&&t.setState({autoplaying:"focused"}):s==="playing"&&t.setState({autoplaying:"hovered"})}),z(R(t),"onDotsOver",function(){return t.props.autoplay&&t.pause("hovered")}),z(R(t),"onDotsLeave",function(){return t.props.autoplay&&t.state.autoplaying==="hovered"&&t.autoPlay("leave")}),z(R(t),"onTrackOver",function(){return t.props.autoplay&&t.pause("hovered")}),z(R(t),"onTrackLeave",function(){return t.props.autoplay&&t.state.autoplaying==="hovered"&&t.autoPlay("leave")}),z(R(t),"onSlideFocus",function(){return t.props.autoplay&&t.pause("focused")}),z(R(t),"onSlideBlur",function(){return t.props.autoplay&&t.state.autoplaying==="focused"&&t.autoPlay("blur")}),z(R(t),"render",function(){var o=(0,Mi.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),s=_(_({},t.props),t.state),l=(0,$.extractObject)(s,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),c=t.props.pauseOnHover;l=_(_({},l),{},{onMouseEnter:c?t.onTrackOver:null,onMouseLeave:c?t.onTrackLeave:null,onMouseOver:c?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null});var d;if(t.props.dots===!0&&t.state.slideCount>=t.props.slidesToShow){var u=(0,$.extractObject)(s,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),b=t.props.pauseOnDotsHover;u=_(_({},u),{},{clickHandler:t.changeSlide,onMouseEnter:b?t.onDotsLeave:null,onMouseOver:b?t.onDotsOver:null,onMouseLeave:b?t.onDotsLeave:null}),d=N.default.createElement(zi.Dots,u)}var j,O,S=(0,$.extractObject)(s,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);S.clickHandler=t.changeSlide,t.props.arrows&&(j=N.default.createElement(yt.PrevArrow,S),O=N.default.createElement(yt.NextArrow,S));var w=null;t.props.vertical&&(w={height:t.state.listHeight});var x=null;t.props.vertical===!1?t.props.centerMode===!0&&(x={padding:"0px "+t.props.centerPadding}):t.props.centerMode===!0&&(x={padding:t.props.centerPadding+" 0px"});var h=_(_({},w),x),p=t.props.touchMove,k={className:"slick-list",style:h,onClick:t.clickHandler,onMouseDown:p?t.swipeStart:null,onMouseMove:t.state.dragging&&p?t.swipeMove:null,onMouseUp:p?t.swipeEnd:null,onMouseLeave:t.state.dragging&&p?t.swipeEnd:null,onTouchStart:p?t.swipeStart:null,onTouchMove:t.state.dragging&&p?t.swipeMove:null,onTouchEnd:p?t.touchEnd:null,onTouchCancel:t.state.dragging&&p?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},C={className:o,dir:"ltr",style:t.props.style};return t.props.unslick&&(k={className:"slick-list"},C={className:o}),N.default.createElement("div",C,t.props.unslick?"":j,N.default.createElement("div",we({ref:t.listRefHandler},k),N.default.createElement(Ri.Track,we({ref:t.trackRefHandler},l),t.props.children)),t.props.unslick?"":O,t.props.unslick?"":d)}),t.list=null,t.track=null,t.state=_(_({},Ci.default),{},{currentSlide:t.props.initialSlide,targetSlide:t.props.initialSlide?t.props.initialSlide:0,slideCount:N.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var a=t.ssrInit();return t.state=_(_({},t.state),a),t}return Ni(n,[{key:"didPropsChange",value:function(t){for(var a=!1,o=0,s=Object.keys(this.props);o<s.length;o++){var l=s[o];if(!t.hasOwnProperty(l)){a=!0;break}if(!(X(t[l])==="object"||typeof t[l]=="function"||isNaN(t[l]))&&t[l]!==this.props[l]){a=!0;break}}return a||N.default.Children.count(this.props.children)!==N.default.Children.count(t.children)}}]),n}(N.default.Component);var Gi=function(r){return r.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()},Ui=Gi,Qi=Ui,Xi=function(r){var e=/[height|width]$/;return e.test(r)},mt=function(r){var e="",n=Object.keys(r);return n.forEach(function(i,t){var a=r[i];i=Qi(i),Xi(i)&&typeof a=="number"&&(a=a+"px"),a===!0?e+=i:a===!1?e+="not "+i:e+="("+i+": "+a+")",t<n.length-1&&(e+=" and ")}),e},Yi=function(r){var e="";return typeof r=="string"?r:r instanceof Array?(r.forEach(function(n,i){e+=mt(n),i<r.length-1&&(e+=", ")}),e):mt(r)},Ki=Yi,Ie,bt;function Vi(){if(bt)return Ie;bt=1;function r(e){this.options=e,!e.deferSetup&&this.setup()}return r.prototype={constructor:r,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},Ie=r,Ie}var Ae,St;function fr(){if(St)return Ae;St=1;function r(i,t){var a=0,o=i.length,s;for(a;a<o&&(s=t(i[a],a),s!==!1);a++);}function e(i){return Object.prototype.toString.apply(i)==="[object Array]"}function n(i){return typeof i=="function"}return Ae={isFunction:n,isArray:e,each:r},Ae}var De,wt;function Zi(){if(wt)return De;wt=1;var r=Vi(),e=fr().each;function n(i,t){this.query=i,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(i);var a=this;this.listener=function(o){a.mql=o.currentTarget||o,a.assess()},this.mql.addListener(this.listener)}return n.prototype={constuctor:n,addHandler:function(i){var t=new r(i);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(i){var t=this.handlers;e(t,function(a,o){if(a.equals(i))return a.destroy(),!t.splice(o,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){e(this.handlers,function(i){i.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var i=this.matches()?"on":"off";e(this.handlers,function(t){t[i]()})}},De=n,De}var $e,Ot;function Ji(){if(Ot)return $e;Ot=1;var r=Zi(),e=fr(),n=e.each,i=e.isFunction,t=e.isArray;function a(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}return a.prototype={constructor:a,register:function(o,s,l){var c=this.queries,d=l&&this.browserIsIncapable;return c[o]||(c[o]=new r(o,d)),i(s)&&(s={match:s}),t(s)||(s=[s]),n(s,function(u){i(u)&&(u={match:u}),c[o].addHandler(u)}),this},unregister:function(o,s){var l=this.queries[o];return l&&(s?l.removeHandler(s):(l.clear(),delete this.queries[o])),this}},$e=a,$e}var He,_t;function eo(){if(_t)return He;_t=1;var r=Ji();return He=new r,He}(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=o(I),n=_e,i=o(Ki),t=o(Je),a=f;function o(g){return g&&g.__esModule?g:{default:g}}function s(g){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},s(g)}function l(){return l=Object.assign?Object.assign.bind():function(g){for(var y=1;y<arguments.length;y++){var M=arguments[y];for(var P in M)Object.prototype.hasOwnProperty.call(M,P)&&(g[P]=M[P])}return g},l.apply(this,arguments)}function c(g,y){var M=Object.keys(g);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(g);y&&(P=P.filter(function(T){return Object.getOwnPropertyDescriptor(g,T).enumerable})),M.push.apply(M,P)}return M}function d(g){for(var y=1;y<arguments.length;y++){var M=arguments[y]!=null?arguments[y]:{};y%2?c(Object(M),!0).forEach(function(P){C(g,P,M[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(M)):c(Object(M)).forEach(function(P){Object.defineProperty(g,P,Object.getOwnPropertyDescriptor(M,P))})}return g}function u(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")}function b(g,y){for(var M=0;M<y.length;M++){var P=y[M];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(g,L(P.key),P)}}function j(g,y,M){return y&&b(g.prototype,y),Object.defineProperty(g,"prototype",{writable:!1}),g}function O(g,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(y&&y.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),y&&S(g,y)}function S(g,y){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,T){return P.__proto__=T,P},S(g,y)}function w(g){var y=p();return function(){var P=k(g),T;if(y){var E=k(this).constructor;T=Reflect.construct(P,arguments,E)}else T=P.apply(this,arguments);return x(this,T)}}function x(g,y){if(y&&(s(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(g)}function h(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function p(){try{var g=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(p=function(){return!!g})()}function k(g){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(M){return M.__proto__||Object.getPrototypeOf(M)},k(g)}function C(g,y,M){return y=L(y),y in g?Object.defineProperty(g,y,{value:M,enumerable:!0,configurable:!0,writable:!0}):g[y]=M,g}function L(g){var y=D(g,"string");return s(y)=="symbol"?y:String(y)}function D(g,y){if(s(g)!="object"||!g)return g;var M=g[Symbol.toPrimitive];if(M!==void 0){var P=M.call(g,y||"default");if(s(P)!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(g)}var q=(0,a.canUseDOM)()&&eo();r.default=function(g){O(M,g);var y=w(M);function M(P){var T;return u(this,M),T=y.call(this,P),C(h(T),"innerSliderRefHandler",function(E){return T.innerSlider=E}),C(h(T),"slickPrev",function(){return T.innerSlider.slickPrev()}),C(h(T),"slickNext",function(){return T.innerSlider.slickNext()}),C(h(T),"slickGoTo",function(E){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return T.innerSlider.slickGoTo(E,U)}),C(h(T),"slickPause",function(){return T.innerSlider.pause("paused")}),C(h(T),"slickPlay",function(){return T.innerSlider.autoPlay("play")}),T.state={breakpoint:null},T._responsiveMediaHandlers=[],T}return j(M,[{key:"media",value:function(T,E){q.register(T,E),this._responsiveMediaHandlers.push({query:T,handler:E})}},{key:"componentDidMount",value:function(){var T=this;if(this.props.responsive){var E=this.props.responsive.map(function(H){return H.breakpoint});E.sort(function(H,F){return H-F}),E.forEach(function(H,F){var Y;F===0?Y=(0,i.default)({minWidth:0,maxWidth:H}):Y=(0,i.default)({minWidth:E[F-1]+1,maxWidth:H}),(0,a.canUseDOM)()&&T.media(Y,function(){T.setState({breakpoint:H})})});var U=(0,i.default)({minWidth:E.slice(-1)[0]});(0,a.canUseDOM)()&&this.media(U,function(){T.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(T){q.unregister(T.query,T.handler)})}},{key:"render",value:function(){var T=this,E,U;this.state.breakpoint?(U=this.props.responsive.filter(function(oe){return oe.breakpoint===T.state.breakpoint}),E=U[0].settings==="unslick"?"unslick":d(d(d({},t.default),this.props),U[0].settings)):E=d(d({},t.default),this.props),E.centerMode&&(E.slidesToScroll>1,E.slidesToScroll=1),E.fade&&(E.slidesToShow>1,E.slidesToScroll>1,E.slidesToShow=1,E.slidesToScroll=1);var H=e.default.Children.toArray(this.props.children);H=H.filter(function(oe){return typeof oe=="string"?!!oe.trim():!!oe}),E.variableWidth&&(E.rows>1||E.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),E.variableWidth=!1);for(var F=[],Y=null,B=0;B<H.length;B+=E.rows*E.slidesPerRow){for(var Te=[],K=B;K<B+E.rows*E.slidesPerRow;K+=E.slidesPerRow){for(var tt=[],Q=K;Q<K+E.slidesPerRow&&(E.variableWidth&&H[Q].props.style&&(Y=H[Q].props.style.width),!(Q>=H.length));Q+=1)tt.push(e.default.cloneElement(H[Q],{key:100*B+10*K+Q,tabIndex:-1,style:{width:"".concat(100/E.slidesPerRow,"%"),display:"inline-block"}}));Te.push(e.default.createElement("div",{key:10*B+K},tt))}E.variableWidth?F.push(e.default.createElement("div",{key:B,style:{width:Y}},Te)):F.push(e.default.createElement("div",{key:B},Te))}if(E==="unslick"){var vr="regular slider "+(this.props.className||"");return e.default.createElement("div",{className:vr},H)}else F.length<=E.slidesToShow&&!E.infinite&&(E.unslick=!0);return e.default.createElement(n.InnerSlider,l({style:this.props.style,ref:this.innerSliderRefHandler},(0,a.filterSettings)(E)),F)}}]),M}(e.default.Component)})(Mt);(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=n(Mt);function n(i){return i&&i.__esModule?i:{default:i}}r.default=e.default})(Lt);const to=m.getDefaultExportFromCjs(Lt),ro=()=>to,no=m.styled_default(ro())({name:"Carousel",class:"c1f9jjsn",propsAsIs:!0}),io="d25r51y",oo=m.styled_default("div")({name:"Dot",class:"d1lvrmx8",propsAsIs:!1}),ao=m.styled_default("div")({name:"Dots",class:"d11xps29",propsAsIs:!1}),Pt={dots:!0,infinite:!1,arrows:!1,centerMode:!0,centerPadding:"19px",speed:500,rows:1,slidesToShow:1,slidesToScroll:1,appendDots:r=>v.jsxs(ao,{children:[" ",r," "]}),customPaging:r=>v.jsx(oo,{children:v.jsx("div",{})},r)};function so(r,e,n){let i=new Set([...e,void 0]);return r.listen((t,a,o)=>{i.has(o)&&n(t,a,o)})}function lo(r,e={}){let n=I.useCallback(t=>e.keys?so(r,e.keys,t):r.listen(t),[e.keys,r]),i=r.get.bind(r);return I.useSyncExternalStore(n,i,i)}const uo=({gamification:r,autoplay:e,swipeable:n,changeHeightOnInit:i,height:t,onEvent:a,centerPadding:o})=>{const s=I.useRef(),l=I.useRef(null),[c,d]=I.useState(!1),{data:u,error:b,loading:j}=lo(r.betPack.getStore()),{listOfQuestions:O,countQuestionsAvailable:S}=I.useMemo(()=>{const p=u?Object.values(u):[];return{listOfQuestions:p,countQuestionsAvailable:p.filter(({marketClosed:k})=>!k).length}},[u]);I.useEffect(()=>{!b&&!j&&u!==void 0&&!c&&a({type:"slBetPackReady",payload:{next:()=>{var p;return(p=l.current)==null?void 0:p.slickNext()},prev:()=>{var p;return(p=l.current)==null?void 0:p.slickPrev()},current:0,canNext:!0,canPrev:!1}})},[u,b,j,a]);const w=I.useCallback(async(p,k)=>{try{d(!0),await r.betPackVote(p,k)}finally{s.current&&clearTimeout(s.current),e&&(s.current=setTimeout(()=>{var C;(C=l.current)==null||C.slickNext()},2e3))}},[r,l,e]);if(I.useEffect(()=>()=>{s.current&&clearTimeout(s.current)},[]),j)return v.jsx(Ct,{});if(!b&&(u==null||!Object.keys(u).length))return v.jsx(Ne,{actionFn:()=>a({type:"slHardRefresh"}),description:`It looks like we couldn't
6
- load the questions.`});if(b)return v.jsx(Ne,{actionFn:()=>a({type:"slHardRefresh"}),description:b instanceof V.ConnectError&&b.code!==V.Code.InvalidArgument?`The event ID was not
5
+ */(function(r){(function(){var e={}.hasOwnProperty;function n(){for(var s="",o=0;o<arguments.length;o++){var a=arguments[o];a&&(s=t(s,i(a)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var o="";for(var a in s)e.call(s,a)&&s[a]&&(o=t(o,a));return o}function t(s,o){return o?s?s+" "+o:s+o:s}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(Rt);var Pe=Rt.exports,f={},Je={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=n(I);function n(t){return t&&t.__esModule?t:{default:t}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(s){return e.default.createElement("ul",{style:{display:"block"}},s)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(s){return e.default.createElement("button",null,s+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};r.default=i})(Je);Object.defineProperty(f,"__esModule",{value:!0});f.checkSpecKeys=f.checkNavigable=f.changeSlide=f.canUseDOM=f.canGoNext=void 0;f.clamp=It;f.extractObject=void 0;f.filterSettings=An;f.validSettings=f.swipeStart=f.swipeMove=f.swipeEnd=f.slidesOnRight=f.slidesOnLeft=f.slideHandler=f.siblingDirection=f.safePreventDefault=f.lazyStartIndex=f.lazySlidesOnRight=f.lazySlidesOnLeft=f.lazyEndIndex=f.keyHandler=f.initializedState=f.getWidth=f.getTrackLeft=f.getTrackCSS=f.getTrackAnimateCSS=f.getTotalSlides=f.getSwipeDirection=f.getSlideCount=f.getRequiredLazySlides=f.getPreClones=f.getPostClones=f.getOnDemandLazySlides=f.getNavigableIndexes=f.getHeight=void 0;var On=zt(I),_n=zt(Je);function zt(r){return r&&r.__esModule?r:{default:r}}function ae(r){"@babel/helpers - typeof";return ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(r)}function st(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function A(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?st(Object(n),!0).forEach(function(i){Pn(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Pn(r,e,n){return e=kn(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function kn(r){var e=xn(r,"string");return ae(e)=="symbol"?e:String(e)}function xn(r,e){if(ae(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ae(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function It(r,e,n){return Math.max(e,Math.min(r,n))}var J=f.safePreventDefault=function(e){var n=["onTouchStart","onTouchMove","onWheel"];n.includes(e._reactName)||e.preventDefault()},At=f.getOnDemandLazySlides=function(e){for(var n=[],i=Dt(e),t=$t(e),s=i;s<t;s++)e.lazyLoadedList.indexOf(s)<0&&n.push(s);return n};f.getRequiredLazySlides=function(e){for(var n=[],i=Dt(e),t=$t(e),s=i;s<t;s++)n.push(s);return n};var Dt=f.lazyStartIndex=function(e){return e.currentSlide-Tn(e)},$t=f.lazyEndIndex=function(e){return e.currentSlide+jn(e)},Tn=f.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},jn=f.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},We=f.getWidth=function(e){return e&&e.offsetWidth||0},Ht=f.getHeight=function(e){return e&&e.offsetHeight||0},Nt=f.getSwipeDirection=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i,t,s,o;return i=e.startX-e.curX,t=e.startY-e.curY,s=Math.atan2(t,i),o=Math.round(s*180/Math.PI),o<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":n===!0?o>=35&&o<=135?"up":"down":"vertical"},Wt=f.canGoNext=function(e){var n=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(n=!1),n};f.extractObject=function(e,n){var i={};return n.forEach(function(t){return i[t]=e[t]}),i};f.initializedState=function(e){var n=On.default.Children.count(e.children),i=e.listRef,t=Math.ceil(We(i)),s=e.trackRef&&e.trackRef.node,o=Math.ceil(We(s)),a;if(e.vertical)a=t;else{var l=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(l*=t/100),a=Math.ceil((t-l)/e.slidesToShow)}var c=i&&Ht(i.querySelector('[data-index="0"]')),d=c*e.slidesToShow,u=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(u=n-1-e.initialSlide);var b=e.lazyLoadedList||[],P=At(A(A({},e),{},{currentSlide:u,lazyLoadedList:b}));b=b.concat(P);var O={slideCount:n,slideWidth:a,listWidth:t,trackWidth:o,currentSlide:u,slideHeight:c,listHeight:d,lazyLoadedList:b};return e.autoplaying===null&&e.autoplay&&(O.autoplaying="playing"),O};f.slideHandler=function(e){var n=e.waitForAnimate,i=e.animating,t=e.fade,s=e.infinite,o=e.index,a=e.slideCount,l=e.lazyLoad,c=e.currentSlide,d=e.centerMode,u=e.slidesToScroll,b=e.slidesToShow,P=e.useCSS,O=e.lazyLoadedList;if(n&&i)return{};var S=o,g,T,h,p={},x={},C=s?o:It(o,0,a-1);if(t){if(!s&&(o<0||o>=a))return{};o<0?S=o+a:o>=a&&(S=o-a),l&&O.indexOf(S)<0&&(O=O.concat(S)),p={animating:!0,currentSlide:S,lazyLoadedList:O,targetSlide:S},x={animating:!1,targetSlide:S}}else g=S,S<0?(g=S+a,s?a%u!==0&&(g=a-a%u):g=0):!Wt(e)&&S>c?S=g=c:d&&S>=a?(S=s?a:a-1,g=s?0:a-1):S>=a&&(g=S-a,s?a%u!==0&&(g=0):g=a-b),!s&&S+b>=a&&(g=a-b),T=pe(A(A({},e),{},{slideIndex:S})),h=pe(A(A({},e),{},{slideIndex:g})),s||(T===h&&(S=g),T=h),l&&(O=O.concat(At(A(A({},e),{},{currentSlide:S})))),P?(p={animating:!0,currentSlide:g,trackStyle:qt(A(A({},e),{},{left:T})),lazyLoadedList:O,targetSlide:C},x={animating:!1,currentSlide:g,trackStyle:fe(A(A({},e),{},{left:h})),swipeLeft:null,targetSlide:C}):p={currentSlide:g,trackStyle:fe(A(A({},e),{},{left:h})),lazyLoadedList:O,targetSlide:C};return{state:p,nextState:x}};f.changeSlide=function(e,n){var i,t,s,o,a,l=e.slidesToScroll,c=e.slidesToShow,d=e.slideCount,u=e.currentSlide,b=e.targetSlide,P=e.lazyLoad,O=e.infinite;if(o=d%l!==0,i=o?0:(d-u)%l,n.message==="previous")s=i===0?l:c-i,a=u-s,P&&!O&&(t=u-s,a=t===-1?d-1:t),O||(a=b-l);else if(n.message==="next")s=i===0?l:i,a=u+s,P&&!O&&(a=(u+l)%d+i),O||(a=b+l);else if(n.message==="dots")a=n.index*n.slidesToScroll;else if(n.message==="children"){if(a=n.index,O){var S=Mn(A(A({},e),{},{targetSlide:a}));a>n.currentSlide&&S==="left"?a=a-d:a<n.currentSlide&&S==="right"&&(a=a+d)}}else n.message==="index"&&(a=Number(n.index));return a};f.keyHandler=function(e,n,i){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!n?"":e.keyCode===37?i?"next":"previous":e.keyCode===39?i?"previous":"next":""};f.swipeStart=function(e,n,i){return e.target.tagName==="IMG"&&J(e),!n||!i&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};f.swipeMove=function(e,n){var i=n.scrolling,t=n.animating,s=n.vertical,o=n.swipeToSlide,a=n.verticalSwiping,l=n.rtl,c=n.currentSlide,d=n.edgeFriction,u=n.edgeDragged,b=n.onEdge,P=n.swiped,O=n.swiping,S=n.slideCount,g=n.slidesToScroll,T=n.infinite,h=n.touchObject,p=n.swipeEvent,x=n.listHeight,C=n.listWidth;if(!i){if(t)return J(e);s&&o&&a&&J(e);var L,D={},q=pe(n);h.curX=e.touches?e.touches[0].pageX:e.clientX,h.curY=e.touches?e.touches[0].pageY:e.clientY,h.swipeLength=Math.round(Math.sqrt(Math.pow(h.curX-h.startX,2)));var m=Math.round(Math.sqrt(Math.pow(h.curY-h.startY,2)));if(!a&&!O&&m>10)return{scrolling:!0};a&&(h.swipeLength=m);var y=(l?-1:1)*(h.curX>h.startX?1:-1);a&&(y=h.curY>h.startY?1:-1);var M=Math.ceil(S/g),k=Nt(n.touchObject,a),j=h.swipeLength;return T||(c===0&&(k==="right"||k==="down")||c+1>=M&&(k==="left"||k==="up")||!Wt(n)&&(k==="left"||k==="up"))&&(j=h.swipeLength*d,u===!1&&b&&(b(k),D.edgeDragged=!0)),!P&&p&&(p(k),D.swiped=!0),s?L=q+j*(x/C)*y:l?L=q-j*y:L=q+j*y,a&&(L=q+j*y),D=A(A({},D),{},{touchObject:h,swipeLeft:L,trackStyle:fe(A(A({},n),{},{left:L}))}),Math.abs(h.curX-h.startX)<Math.abs(h.curY-h.startY)*.8||h.swipeLength>10&&(D.swiping=!0,J(e)),D}};f.swipeEnd=function(e,n){var i=n.dragging,t=n.swipe,s=n.touchObject,o=n.listWidth,a=n.touchThreshold,l=n.verticalSwiping,c=n.listHeight,d=n.swipeToSlide,u=n.scrolling,b=n.onSwipe,P=n.targetSlide,O=n.currentSlide,S=n.infinite;if(!i)return t&&J(e),{};var g=l?c/a:o/a,T=Nt(s,l),h={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(u||!s.swipeLength)return h;if(s.swipeLength>g){J(e),b&&b(T);var p,x,C=S?O:P;switch(T){case"left":case"up":x=C+ut(n),p=d?lt(n,x):x,h.currentDirection=0;break;case"right":case"down":x=C-ut(n),p=d?lt(n,x):x,h.currentDirection=1;break;default:p=C}h.triggerSlideHandler=p}else{var L=pe(n);h.trackStyle=qt(A(A({},n),{},{left:L}))}return h};var En=f.getNavigableIndexes=function(e){for(var n=e.infinite?e.slideCount*2:e.slideCount,i=e.infinite?e.slidesToShow*-1:0,t=e.infinite?e.slidesToShow*-1:0,s=[];i<n;)s.push(i),i=t+e.slidesToScroll,t+=Math.min(e.slidesToScroll,e.slidesToShow);return s},lt=f.checkNavigable=function(e,n){var i=En(e),t=0;if(n>i[i.length-1])n=i[i.length-1];else for(var s in i){if(n<i[s]){n=t;break}t=i[s]}return n},ut=f.getSlideCount=function(e){var n=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var i,t=e.listRef,s=t.querySelectorAll&&t.querySelectorAll(".slick-slide")||[];if(Array.from(s).every(function(l){if(e.vertical){if(l.offsetTop+Ht(l)/2>e.swipeLeft*-1)return i=l,!1}else if(l.offsetLeft-n+We(l)/2>e.swipeLeft*-1)return i=l,!1;return!0}),!i)return 0;var o=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide,a=Math.abs(i.dataset.index-o)||1;return a}else return e.slidesToScroll},Ze=f.checkSpecKeys=function(e,n){return n.reduce(function(i,t){return i&&e.hasOwnProperty(t)},!0)?null:console.error("Keys Missing:",e)},fe=f.getTrackCSS=function(e){Ze(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var n,i,t=e.slideCount+2*e.slidesToShow;e.vertical?i=t*e.slideHeight:n=Ln(e)*e.slideWidth;var s={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";s=A(A({},s),{},{WebkitTransform:o,transform:a,msTransform:l})}else e.vertical?s.top=e.left:s.left=e.left;return e.fade&&(s={opacity:1}),n&&(s.width=n),i&&(s.height=i),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?s.marginTop=e.left+"px":s.marginLeft=e.left+"px"),s},qt=f.getTrackAnimateCSS=function(e){Ze(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var n=fe(e);return e.useTransform?(n.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,n.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?n.transition="top "+e.speed+"ms "+e.cssEase:n.transition="left "+e.speed+"ms "+e.cssEase,n},pe=f.getTrackLeft=function(e){if(e.unslick)return 0;Ze(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var n=e.slideIndex,i=e.trackRef,t=e.infinite,s=e.centerMode,o=e.slideCount,a=e.slidesToShow,l=e.slidesToScroll,c=e.slideWidth,d=e.listWidth,u=e.variableWidth,b=e.slideHeight,P=e.fade,O=e.vertical,S=0,g,T,h=0;if(P||e.slideCount===1)return 0;var p=0;if(t?(p=-ce(e),o%l!==0&&n+l>o&&(p=-(n>o?a-(n-o):o%l)),s&&(p+=parseInt(a/2))):(o%l!==0&&n+l>o&&(p=a-o%l),s&&(p=parseInt(a/2))),S=p*c,h=p*b,O?g=n*b*-1+h:g=n*c*-1+S,u===!0){var x,C=i&&i.node;if(x=n+ce(e),T=C&&C.childNodes[x],g=T?T.offsetLeft*-1:0,s===!0){x=t?n+ce(e):n,T=C&&C.children[x],g=0;for(var L=0;L<x;L++)g-=C&&C.children[L]&&C.children[L].offsetWidth;g-=parseInt(e.centerPadding),g+=T&&(d-T.offsetWidth)/2}}return g},ce=f.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},Cn=f.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},Ln=f.getTotalSlides=function(e){return e.slideCount===1?1:ce(e)+e.slideCount+Cn(e)},Mn=f.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+Rn(e)?"left":"right":e.targetSlide<e.currentSlide-zn(e)?"right":"left"},Rn=f.slidesOnRight=function(e){var n=e.slidesToShow,i=e.centerMode,t=e.rtl,s=e.centerPadding;if(i){var o=(n-1)/2+1;return parseInt(s)>0&&(o+=1),t&&n%2===0&&(o+=1),o}return t?0:n-1},zn=f.slidesOnLeft=function(e){var n=e.slidesToShow,i=e.centerMode,t=e.rtl,s=e.centerPadding;if(i){var o=(n-1)/2+1;return parseInt(s)>0&&(o+=1),!t&&n%2===0&&(o+=1),o}return t?n-1:0};f.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var In=f.validSettings=Object.keys(_n.default);function An(r){return In.reduce(function(e,n){return r.hasOwnProperty(n)&&(e[n]=r[n]),e},{})}var ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.Track=void 0;var G=Ft(I),Ce=Ft(Pe),Le=f;function Ft(r){return r&&r.__esModule?r:{default:r}}function ee(r){"@babel/helpers - typeof";return ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(r)}function qe(){return qe=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},qe.apply(this,arguments)}function Dn(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,Gt(i.key),i)}}function Hn(r,e,n){return e&&$n(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Nn(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Fe(r,e)}function Fe(r,e){return Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Fe(r,e)}function Wn(r){var e=Bt();return function(){var i=ve(r),t;if(e){var s=ve(this).constructor;t=Reflect.construct(i,arguments,s)}else t=i.apply(this,arguments);return qn(this,t)}}function qn(r,e){if(e&&(ee(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Be(r)}function Be(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Bt(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Bt=function(){return!!r})()}function ve(r){return ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ve(r)}function ct(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function W(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ct(Object(n),!0).forEach(function(i){Ge(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Ge(r,e,n){return e=Gt(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Gt(r){var e=Fn(r,"string");return ee(e)=="symbol"?e:String(e)}function Fn(r,e){if(ee(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ee(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}var Me=function(e){var n,i,t,s,o;e.rtl?o=e.slideCount-1-e.index:o=e.index,t=o<0||o>=e.slideCount,e.centerMode?(s=Math.floor(e.slidesToShow/2),i=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-s-1&&o<=e.currentSlide+s&&(n=!0)):n=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow;var a;e.targetSlide<0?a=e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?a=e.targetSlide-e.slideCount:a=e.targetSlide;var l=o===a;return{"slick-slide":!0,"slick-active":n,"slick-center":i,"slick-cloned":t,"slick-current":l}},Bn=function(e){var n={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(n.width=e.slideWidth),e.fade&&(n.position="relative",e.vertical?n.top=-e.index*parseInt(e.slideHeight):n.left=-e.index*parseInt(e.slideWidth),n.opacity=e.currentSlide===e.index?1:0,n.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(n.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),n},Re=function(e,n){return e.key||n},Gn=function(e){var n,i=[],t=[],s=[],o=G.default.Children.count(e.children),a=(0,Le.lazyStartIndex)(e),l=(0,Le.lazyEndIndex)(e);return G.default.Children.forEach(e.children,function(c,d){var u,b={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(d)>=0?u=c:u=G.default.createElement("div",null);var P=Bn(W(W({},e),{},{index:d})),O=u.props.className||"",S=Me(W(W({},e),{},{index:d}));if(i.push(G.default.cloneElement(u,{key:"original"+Re(u,d),"data-index":d,className:(0,Ce.default)(S,O),tabIndex:"-1","aria-hidden":!S["slick-active"],style:W(W({outline:"none"},u.props.style||{}),P),onClick:function(h){u.props&&u.props.onClick&&u.props.onClick(h),e.focusOnSelect&&e.focusOnSelect(b)}})),e.infinite&&e.fade===!1){var g=o-d;g<=(0,Le.getPreClones)(e)&&(n=-g,n>=a&&(u=c),S=Me(W(W({},e),{},{index:n})),t.push(G.default.cloneElement(u,{key:"precloned"+Re(u,n),"data-index":n,tabIndex:"-1",className:(0,Ce.default)(S,O),"aria-hidden":!S["slick-active"],style:W(W({},u.props.style||{}),P),onClick:function(h){u.props&&u.props.onClick&&u.props.onClick(h),e.focusOnSelect&&e.focusOnSelect(b)}}))),n=o+d,n<l&&(u=c),S=Me(W(W({},e),{},{index:n})),s.push(G.default.cloneElement(u,{key:"postcloned"+Re(u,n),"data-index":n,tabIndex:"-1",className:(0,Ce.default)(S,O),"aria-hidden":!S["slick-active"],style:W(W({},u.props.style||{}),P),onClick:function(h){u.props&&u.props.onClick&&u.props.onClick(h),e.focusOnSelect&&e.focusOnSelect(b)}}))}}),e.rtl?t.concat(i,s).reverse():t.concat(i,s)};ke.Track=function(r){Nn(n,r);var e=Wn(n);function n(){var i;Dn(this,n);for(var t=arguments.length,s=new Array(t),o=0;o<t;o++)s[o]=arguments[o];return i=e.call.apply(e,[this].concat(s)),Ge(Be(i),"node",null),Ge(Be(i),"handleRef",function(a){i.node=a}),i}return Hn(n,[{key:"render",value:function(){var t=Gn(this.props),s=this.props,o=s.onMouseEnter,a=s.onMouseOver,l=s.onMouseLeave,c={onMouseEnter:o,onMouseOver:a,onMouseLeave:l};return G.default.createElement("div",qe({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},c),t)}}]),n}(G.default.PureComponent);var xe={};function te(r){"@babel/helpers - typeof";return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(r)}Object.defineProperty(xe,"__esModule",{value:!0});xe.Dots=void 0;var le=Ut(I),Un=Ut(Pe),dt=f;function Ut(r){return r&&r.__esModule?r:{default:r}}function ft(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function Qn(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ft(Object(n),!0).forEach(function(i){Xn(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Xn(r,e,n){return e=Qt(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Yn(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,Qt(i.key),i)}}function Vn(r,e,n){return e&&Kn(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Qt(r){var e=Jn(r,"string");return te(e)=="symbol"?e:String(e)}function Jn(r,e){if(te(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(te(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Zn(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Ue(r,e)}function Ue(r,e){return Ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Ue(r,e)}function ei(r){var e=Xt();return function(){var i=he(r),t;if(e){var s=he(this).constructor;t=Reflect.construct(i,arguments,s)}else t=i.apply(this,arguments);return ti(this,t)}}function ti(r,e){if(e&&(te(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ri(r)}function ri(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Xt(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Xt=function(){return!!r})()}function he(r){return he=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},he(r)}var ni=function(e){var n;return e.infinite?n=Math.ceil(e.slideCount/e.slidesToScroll):n=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,n};xe.Dots=function(r){Zn(n,r);var e=ei(n);function n(){return Yn(this,n),e.apply(this,arguments)}return Vn(n,[{key:"clickHandler",value:function(t,s){s.preventDefault(),this.props.clickHandler(t)}},{key:"render",value:function(){for(var t=this.props,s=t.onMouseEnter,o=t.onMouseOver,a=t.onMouseLeave,l=t.infinite,c=t.slidesToScroll,d=t.slidesToShow,u=t.slideCount,b=t.currentSlide,P=ni({slideCount:u,slidesToScroll:c,slidesToShow:d,infinite:l}),O={onMouseEnter:s,onMouseOver:o,onMouseLeave:a},S=[],g=0;g<P;g++){var T=(g+1)*c-1,h=l?T:(0,dt.clamp)(T,0,u-1),p=h-(c-1),x=l?p:(0,dt.clamp)(p,0,u-1),C=(0,Un.default)({"slick-active":l?b>=x&&b<=h:b===x}),L={message:"dots",index:g,slidesToScroll:c,currentSlide:b},D=this.clickHandler.bind(this,L);S=S.concat(le.default.createElement("li",{key:g,className:C},le.default.cloneElement(this.props.customPaging(g),{onClick:D})))}return le.default.cloneElement(this.props.appendDots(S),Qn({className:this.props.dotsClass},O))}}]),n}(le.default.PureComponent);var re={};function ne(r){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(r)}Object.defineProperty(re,"__esModule",{value:!0});re.PrevArrow=re.NextArrow=void 0;var Z=Kt(I),Yt=Kt(Pe),ii=f;function Kt(r){return r&&r.__esModule?r:{default:r}}function ye(){return ye=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},ye.apply(this,arguments)}function pt(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function ge(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?pt(Object(n),!0).forEach(function(i){oi(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function oi(r,e,n){return e=Zt(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Vt(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function ai(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,Zt(i.key),i)}}function Jt(r,e,n){return e&&ai(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Zt(r){var e=si(r,"string");return ne(e)=="symbol"?e:String(e)}function si(r,e){if(ne(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ne(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function er(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Qe(r,e)}function Qe(r,e){return Qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Qe(r,e)}function tr(r){var e=rr();return function(){var i=me(r),t;if(e){var s=me(this).constructor;t=Reflect.construct(i,arguments,s)}else t=i.apply(this,arguments);return li(this,t)}}function li(r,e){if(e&&(ne(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ui(r)}function ui(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function rr(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(rr=function(){return!!r})()}function me(r){return me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},me(r)}re.PrevArrow=function(r){er(n,r);var e=tr(n);function n(){return Vt(this,n),e.apply(this,arguments)}return Jt(n,[{key:"clickHandler",value:function(t,s){s&&s.preventDefault(),this.props.clickHandler(t,s)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-prev":!0},s=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(t["slick-disabled"]=!0,s=null);var o={key:"0","data-role":"none",className:(0,Yt.default)(t),style:{display:"block"},onClick:s},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.prevArrow?l=Z.default.cloneElement(this.props.prevArrow,ge(ge({},o),a)):l=Z.default.createElement("button",ye({key:"0",type:"button"},o)," ","Previous"),l}}]),n}(Z.default.PureComponent);re.NextArrow=function(r){er(n,r);var e=tr(n);function n(){return Vt(this,n),e.apply(this,arguments)}return Jt(n,[{key:"clickHandler",value:function(t,s){s&&s.preventDefault(),this.props.clickHandler(t,s)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-next":!0},s=this.clickHandler.bind(this,{message:"next"});(0,ii.canGoNext)(this.props)||(t["slick-disabled"]=!0,s=null);var o={key:"1","data-role":"none",className:(0,Yt.default)(t),style:{display:"block"},onClick:s},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.nextArrow?l=Z.default.cloneElement(this.props.nextArrow,ge(ge({},o),a)):l=Z.default.createElement("button",ye({key:"1",type:"button"},o)," ","Next"),l}}]),n}(Z.default.PureComponent);var nr=function(){if(typeof Map<"u")return Map;function r(e,n){var i=-1;return e.some(function(t,s){return t[0]===n?(i=s,!0):!1}),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(n){var i=r(this.__entries__,n),t=this.__entries__[i];return t&&t[1]},e.prototype.set=function(n,i){var t=r(this.__entries__,n);~t?this.__entries__[t][1]=i:this.__entries__.push([n,i])},e.prototype.delete=function(n){var i=this.__entries__,t=r(i,n);~t&&i.splice(t,1)},e.prototype.has=function(n){return!!~r(this.__entries__,n)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(n,i){i===void 0&&(i=null);for(var t=0,s=this.__entries__;t<s.length;t++){var o=s[t];n.call(i,o[1],o[0])}},e}()}(),Xe=typeof window<"u"&&typeof document<"u"&&window.document===document,be=function(){return typeof V.global<"u"&&V.global.Math===Math?V.global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),ci=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(be):function(r){return setTimeout(function(){return r(Date.now())},1e3/60)}}(),di=2;function fi(r,e){var n=!1,i=!1,t=0;function s(){n&&(n=!1,r()),i&&a()}function o(){ci(s)}function a(){var l=Date.now();if(n){if(l-t<di)return;i=!0}else n=!0,i=!1,setTimeout(o,e);t=l}return a}var pi=20,vi=["top","right","bottom","left","width","height","size","weight"],hi=typeof MutationObserver<"u",yi=function(){function r(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=fi(this.refresh.bind(this),pi)}return r.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},r.prototype.removeObserver=function(e){var n=this.observers_,i=n.indexOf(e);~i&&n.splice(i,1),!n.length&&this.connected_&&this.disconnect_()},r.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},r.prototype.updateObservers_=function(){var e=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return e.forEach(function(n){return n.broadcastActive()}),e.length>0},r.prototype.connect_=function(){!Xe||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),hi?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},r.prototype.disconnect_=function(){!Xe||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},r.prototype.onTransitionEnd_=function(e){var n=e.propertyName,i=n===void 0?"":n,t=vi.some(function(s){return!!~i.indexOf(s)});t&&this.refresh()},r.getInstance=function(){return this.instance_||(this.instance_=new r),this.instance_},r.instance_=null,r}(),ir=function(r,e){for(var n=0,i=Object.keys(e);n<i.length;n++){var t=i[n];Object.defineProperty(r,t,{value:e[t],enumerable:!1,writable:!1,configurable:!0})}return r},ie=function(r){var e=r&&r.ownerDocument&&r.ownerDocument.defaultView;return e||be},or=Te(0,0,0,0);function Se(r){return parseFloat(r)||0}function vt(r){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(i,t){var s=r["border-"+t+"-width"];return i+Se(s)},0)}function gi(r){for(var e=["top","right","bottom","left"],n={},i=0,t=e;i<t.length;i++){var s=t[i],o=r["padding-"+s];n[s]=Se(o)}return n}function mi(r){var e=r.getBBox();return Te(0,0,e.width,e.height)}function bi(r){var e=r.clientWidth,n=r.clientHeight;if(!e&&!n)return or;var i=ie(r).getComputedStyle(r),t=gi(i),s=t.left+t.right,o=t.top+t.bottom,a=Se(i.width),l=Se(i.height);if(i.boxSizing==="border-box"&&(Math.round(a+s)!==e&&(a-=vt(i,"left","right")+s),Math.round(l+o)!==n&&(l-=vt(i,"top","bottom")+o)),!wi(r)){var c=Math.round(a+s)-e,d=Math.round(l+o)-n;Math.abs(c)!==1&&(a-=c),Math.abs(d)!==1&&(l-=d)}return Te(t.left,t.top,a,l)}var Si=function(){return typeof SVGGraphicsElement<"u"?function(r){return r instanceof ie(r).SVGGraphicsElement}:function(r){return r instanceof ie(r).SVGElement&&typeof r.getBBox=="function"}}();function wi(r){return r===ie(r).document.documentElement}function Oi(r){return Xe?Si(r)?mi(r):bi(r):or}function _i(r){var e=r.x,n=r.y,i=r.width,t=r.height,s=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,o=Object.create(s.prototype);return ir(o,{x:e,y:n,width:i,height:t,top:n,right:e+i,bottom:t+n,left:e}),o}function Te(r,e,n,i){return{x:r,y:e,width:n,height:i}}var Pi=function(){function r(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Te(0,0,0,0),this.target=e}return r.prototype.isActive=function(){var e=Oi(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},r.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},r}(),ki=function(){function r(e,n){var i=_i(n);ir(this,{target:e,contentRect:i})}return r}(),xi=function(){function r(e,n,i){if(this.activeObservations_=[],this.observations_=new nr,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=n,this.callbackCtx_=i}return r.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ie(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)||(n.set(e,new Pi(e)),this.controller_.addObserver(this),this.controller_.refresh())}},r.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ie(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)&&(n.delete(e),n.size||this.controller_.removeObserver(this))}},r.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},r.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&e.activeObservations_.push(n)})},r.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,n=this.activeObservations_.map(function(i){return new ki(i.target,i.broadcastRect())});this.callback_.call(e,n,e),this.clearActive()}},r.prototype.clearActive=function(){this.activeObservations_.splice(0)},r.prototype.hasActive=function(){return this.activeObservations_.length>0},r}(),ar=typeof WeakMap<"u"?new WeakMap:new nr,sr=function(){function r(e){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=yi.getInstance(),i=new xi(e,n,this);ar.set(this,i)}return r}();["observe","unobserve","disconnect"].forEach(function(r){sr.prototype[r]=function(){var e;return(e=ar.get(this))[r].apply(e,arguments)}});var Ti=function(){return typeof be.ResizeObserver<"u"?be.ResizeObserver:sr}();const ji=Object.freeze(Object.defineProperty({__proto__:null,default:Ti},Symbol.toStringTag,{value:"Module"})),Ei=w.getAugmentedNamespace(ji);Object.defineProperty(_e,"__esModule",{value:!0});_e.InnerSlider=void 0;var N=se(I),Ci=se(Mt),Li=se(wn),Mi=se(Pe),$=f,Ri=ke,zi=xe,ht=re,Ii=se(Ei);function se(r){return r&&r.__esModule?r:{default:r}}function X(r){"@babel/helpers - typeof";return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(r)}function we(){return we=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},we.apply(this,arguments)}function Ai(r,e){if(r==null)return{};var n=Di(r,e),i,t;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);for(t=0;t<s.length;t++)i=s[t],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(r,i)&&(n[i]=r[i])}return n}function Di(r,e){if(r==null)return{};var n={},i=Object.keys(r),t,s;for(s=0;s<i.length;s++)t=i[s],!(e.indexOf(t)>=0)&&(n[t]=r[t]);return n}function yt(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function _(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?yt(Object(n),!0).forEach(function(i){z(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function $i(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Hi(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,ur(i.key),i)}}function Ni(r,e,n){return e&&Hi(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Wi(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Ye(r,e)}function Ye(r,e){return Ye=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Ye(r,e)}function qi(r){var e=lr();return function(){var i=Oe(r),t;if(e){var s=Oe(this).constructor;t=Reflect.construct(i,arguments,s)}else t=i.apply(this,arguments);return Fi(this,t)}}function Fi(r,e){if(e&&(X(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return R(r)}function R(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function lr(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(lr=function(){return!!r})()}function Oe(r){return Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(r)}function z(r,e,n){return e=ur(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function ur(r){var e=Bi(r,"string");return X(e)=="symbol"?e:String(e)}function Bi(r,e){if(X(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(X(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}_e.InnerSlider=function(r){Wi(n,r);var e=qi(n);function n(i){var t;$i(this,n),t=e.call(this,i),z(R(t),"listRefHandler",function(o){return t.list=o}),z(R(t),"trackRefHandler",function(o){return t.track=o}),z(R(t),"adaptHeight",function(){if(t.props.adaptiveHeight&&t.list){var o=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,$.getHeight)(o)+"px"}}),z(R(t),"componentDidMount",function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var o=(0,$.getOnDemandLazySlides)(_(_({},t.props),t.state));o.length>0&&(t.setState(function(l){return{lazyLoadedList:l.lazyLoadedList.concat(o)}}),t.props.onLazyLoad&&t.props.onLazyLoad(o))}var a=_({listRef:t.list,trackRef:t.track},t.props);t.updateState(a,!0,function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")}),t.props.lazyLoad==="progressive"&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new Ii.default(function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout(function(){return t.onWindowResized()},t.props.speed))):t.onWindowResized()}),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(l){l.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,l.onblur=t.props.pauseOnFocus?t.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)}),z(R(t),"componentWillUnmount",function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach(function(o){return clearTimeout(o)}),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()}),z(R(t),"componentDidUpdate",function(o){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var a=(0,$.getOnDemandLazySlides)(_(_({},t.props),t.state));a.length>0&&(t.setState(function(d){return{lazyLoadedList:d.lazyLoadedList.concat(a)}}),t.props.onLazyLoad&&t.props.onLazyLoad(a))}t.adaptHeight();var l=_(_({listRef:t.list,trackRef:t.track},t.props),t.state),c=t.didPropsChange(o);c&&t.updateState(l,c,function(){t.state.currentSlide>=N.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:N.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")})}),z(R(t),"onWindowResized",function(o){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,Li.default)(function(){return t.resizeWindow(o)},50),t.debouncedResize()}),z(R(t),"resizeWindow",function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=!!(t.track&&t.track.node);if(a){var l=_(_({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(l,o,function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")}),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}}),z(R(t),"updateState",function(o,a,l){var c=(0,$.initializedState)(o);o=_(_(_({},o),c),{},{slideIndex:c.currentSlide});var d=(0,$.getTrackLeft)(o);o=_(_({},o),{},{left:d});var u=(0,$.getTrackCSS)(o);(a||N.default.Children.count(t.props.children)!==N.default.Children.count(o.children))&&(c.trackStyle=u),t.setState(c,l)}),z(R(t),"ssrInit",function(){if(t.props.variableWidth){var o=0,a=0,l=[],c=(0,$.getPreClones)(_(_(_({},t.props),t.state),{},{slideCount:t.props.children.length})),d=(0,$.getPostClones)(_(_(_({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach(function(D){l.push(D.props.style.width),o+=D.props.style.width});for(var u=0;u<c;u++)a+=l[l.length-1-u],o+=l[l.length-1-u];for(var b=0;b<d;b++)o+=l[b];for(var P=0;P<t.state.currentSlide;P++)a+=l[P];var O={width:o+"px",left:-a+"px"};if(t.props.centerMode){var S="".concat(l[t.state.currentSlide],"px");O.left="calc(".concat(O.left," + (100% - ").concat(S,") / 2 ) ")}return{trackStyle:O}}var g=N.default.Children.count(t.props.children),T=_(_(_({},t.props),t.state),{},{slideCount:g}),h=(0,$.getPreClones)(T)+(0,$.getPostClones)(T)+g,p=100/t.props.slidesToShow*h,x=100/h,C=-x*((0,$.getPreClones)(T)+t.state.currentSlide)*p/100;t.props.centerMode&&(C+=(100-x*p/100)/2);var L={width:p+"%",left:C+"%"};return{slideWidth:x+"%",trackStyle:L}}),z(R(t),"checkImagesLoad",function(){var o=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],a=o.length,l=0;Array.prototype.forEach.call(o,function(c){var d=function(){return++l&&l>=a&&t.onWindowResized()};if(!c.onclick)c.onclick=function(){return c.parentNode.focus()};else{var u=c.onclick;c.onclick=function(b){u(b),c.parentNode.focus()}}c.onload||(t.props.lazyLoad?c.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(c.onload=d,c.onerror=function(){d(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))})}),z(R(t),"progressiveLazyLoad",function(){for(var o=[],a=_(_({},t.props),t.state),l=t.state.currentSlide;l<t.state.slideCount+(0,$.getPostClones)(a);l++)if(t.state.lazyLoadedList.indexOf(l)<0){o.push(l);break}for(var c=t.state.currentSlide-1;c>=-(0,$.getPreClones)(a);c--)if(t.state.lazyLoadedList.indexOf(c)<0){o.push(c);break}o.length>0?(t.setState(function(d){return{lazyLoadedList:d.lazyLoadedList.concat(o)}}),t.props.onLazyLoad&&t.props.onLazyLoad(o)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)}),z(R(t),"slideHandler",function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=t.props,c=l.asNavFor,d=l.beforeChange,u=l.onLazyLoad,b=l.speed,P=l.afterChange,O=t.state.currentSlide,S=(0,$.slideHandler)(_(_(_({index:o},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!a})),g=S.state,T=S.nextState;if(g){d&&d(O,g.currentSlide);var h=g.lazyLoadedList.filter(function(p){return t.state.lazyLoadedList.indexOf(p)<0});u&&h.length>0&&u(h),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),P&&P(O),delete t.animationEndCallback),t.setState(g,function(){c&&t.asNavForIndex!==o&&(t.asNavForIndex=o,c.innerSlider.slideHandler(o)),T&&(t.animationEndCallback=setTimeout(function(){var p=T.animating,x=Ai(T,["animating"]);t.setState(x,function(){t.callbackTimers.push(setTimeout(function(){return t.setState({animating:p})},10)),P&&P(g.currentSlide),delete t.animationEndCallback})},b))})}}),z(R(t),"changeSlide",function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=_(_({},t.props),t.state),c=(0,$.changeSlide)(l,o);if(!(c!==0&&!c)&&(a===!0?t.slideHandler(c,a):t.slideHandler(c),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var d=t.list.querySelectorAll(".slick-current");d[0]&&d[0].focus()}}),z(R(t),"clickHandler",function(o){t.clickable===!1&&(o.stopPropagation(),o.preventDefault()),t.clickable=!0}),z(R(t),"keyHandler",function(o){var a=(0,$.keyHandler)(o,t.props.accessibility,t.props.rtl);a!==""&&t.changeSlide({message:a})}),z(R(t),"selectHandler",function(o){t.changeSlide(o)}),z(R(t),"disableBodyScroll",function(){var o=function(l){l=l||window.event,l.preventDefault&&l.preventDefault(),l.returnValue=!1};window.ontouchmove=o}),z(R(t),"enableBodyScroll",function(){window.ontouchmove=null}),z(R(t),"swipeStart",function(o){t.props.verticalSwiping&&t.disableBodyScroll();var a=(0,$.swipeStart)(o,t.props.swipe,t.props.draggable);a!==""&&t.setState(a)}),z(R(t),"swipeMove",function(o){var a=(0,$.swipeMove)(o,_(_(_({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));a&&(a.swiping&&(t.clickable=!1),t.setState(a))}),z(R(t),"swipeEnd",function(o){var a=(0,$.swipeEnd)(o,_(_(_({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(a){var l=a.triggerSlideHandler;delete a.triggerSlideHandler,t.setState(a),l!==void 0&&(t.slideHandler(l),t.props.verticalSwiping&&t.enableBodyScroll())}}),z(R(t),"touchEnd",function(o){t.swipeEnd(o),t.clickable=!0}),z(R(t),"slickPrev",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"previous"})},0))}),z(R(t),"slickNext",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"next"})},0))}),z(R(t),"slickGoTo",function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o=Number(o),isNaN(o))return"";t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"index",index:o,currentSlide:t.state.currentSlide},a)},0))}),z(R(t),"play",function(){var o;if(t.props.rtl)o=t.state.currentSlide-t.props.slidesToScroll;else if((0,$.canGoNext)(_(_({},t.props),t.state)))o=t.state.currentSlide+t.props.slidesToScroll;else return!1;t.slideHandler(o)}),z(R(t),"autoPlay",function(o){t.autoplayTimer&&clearInterval(t.autoplayTimer);var a=t.state.autoplaying;if(o==="update"){if(a==="hovered"||a==="focused"||a==="paused")return}else if(o==="leave"){if(a==="paused"||a==="focused")return}else if(o==="blur"&&(a==="paused"||a==="hovered"))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})}),z(R(t),"pause",function(o){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var a=t.state.autoplaying;o==="paused"?t.setState({autoplaying:"paused"}):o==="focused"?(a==="hovered"||a==="playing")&&t.setState({autoplaying:"focused"}):a==="playing"&&t.setState({autoplaying:"hovered"})}),z(R(t),"onDotsOver",function(){return t.props.autoplay&&t.pause("hovered")}),z(R(t),"onDotsLeave",function(){return t.props.autoplay&&t.state.autoplaying==="hovered"&&t.autoPlay("leave")}),z(R(t),"onTrackOver",function(){return t.props.autoplay&&t.pause("hovered")}),z(R(t),"onTrackLeave",function(){return t.props.autoplay&&t.state.autoplaying==="hovered"&&t.autoPlay("leave")}),z(R(t),"onSlideFocus",function(){return t.props.autoplay&&t.pause("focused")}),z(R(t),"onSlideBlur",function(){return t.props.autoplay&&t.state.autoplaying==="focused"&&t.autoPlay("blur")}),z(R(t),"render",function(){var o=(0,Mi.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),a=_(_({},t.props),t.state),l=(0,$.extractObject)(a,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),c=t.props.pauseOnHover;l=_(_({},l),{},{onMouseEnter:c?t.onTrackOver:null,onMouseLeave:c?t.onTrackLeave:null,onMouseOver:c?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null});var d;if(t.props.dots===!0&&t.state.slideCount>=t.props.slidesToShow){var u=(0,$.extractObject)(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),b=t.props.pauseOnDotsHover;u=_(_({},u),{},{clickHandler:t.changeSlide,onMouseEnter:b?t.onDotsLeave:null,onMouseOver:b?t.onDotsOver:null,onMouseLeave:b?t.onDotsLeave:null}),d=N.default.createElement(zi.Dots,u)}var P,O,S=(0,$.extractObject)(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);S.clickHandler=t.changeSlide,t.props.arrows&&(P=N.default.createElement(ht.PrevArrow,S),O=N.default.createElement(ht.NextArrow,S));var g=null;t.props.vertical&&(g={height:t.state.listHeight});var T=null;t.props.vertical===!1?t.props.centerMode===!0&&(T={padding:"0px "+t.props.centerPadding}):t.props.centerMode===!0&&(T={padding:t.props.centerPadding+" 0px"});var h=_(_({},g),T),p=t.props.touchMove,x={className:"slick-list",style:h,onClick:t.clickHandler,onMouseDown:p?t.swipeStart:null,onMouseMove:t.state.dragging&&p?t.swipeMove:null,onMouseUp:p?t.swipeEnd:null,onMouseLeave:t.state.dragging&&p?t.swipeEnd:null,onTouchStart:p?t.swipeStart:null,onTouchMove:t.state.dragging&&p?t.swipeMove:null,onTouchEnd:p?t.touchEnd:null,onTouchCancel:t.state.dragging&&p?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},C={className:o,dir:"ltr",style:t.props.style};return t.props.unslick&&(x={className:"slick-list"},C={className:o}),N.default.createElement("div",C,t.props.unslick?"":P,N.default.createElement("div",we({ref:t.listRefHandler},x),N.default.createElement(Ri.Track,we({ref:t.trackRefHandler},l),t.props.children)),t.props.unslick?"":O,t.props.unslick?"":d)}),t.list=null,t.track=null,t.state=_(_({},Ci.default),{},{currentSlide:t.props.initialSlide,targetSlide:t.props.initialSlide?t.props.initialSlide:0,slideCount:N.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var s=t.ssrInit();return t.state=_(_({},t.state),s),t}return Ni(n,[{key:"didPropsChange",value:function(t){for(var s=!1,o=0,a=Object.keys(this.props);o<a.length;o++){var l=a[o];if(!t.hasOwnProperty(l)){s=!0;break}if(!(X(t[l])==="object"||typeof t[l]=="function"||isNaN(t[l]))&&t[l]!==this.props[l]){s=!0;break}}return s||N.default.Children.count(this.props.children)!==N.default.Children.count(t.children)}}]),n}(N.default.Component);var Gi=function(r){return r.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()},Ui=Gi,Qi=Ui,Xi=function(r){var e=/[height|width]$/;return e.test(r)},gt=function(r){var e="",n=Object.keys(r);return n.forEach(function(i,t){var s=r[i];i=Qi(i),Xi(i)&&typeof s=="number"&&(s=s+"px"),s===!0?e+=i:s===!1?e+="not "+i:e+="("+i+": "+s+")",t<n.length-1&&(e+=" and ")}),e},Yi=function(r){var e="";return typeof r=="string"?r:r instanceof Array?(r.forEach(function(n,i){e+=gt(n),i<r.length-1&&(e+=", ")}),e):gt(r)},Ki=Yi,ze,mt;function Vi(){if(mt)return ze;mt=1;function r(e){this.options=e,!e.deferSetup&&this.setup()}return r.prototype={constructor:r,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},ze=r,ze}var Ie,bt;function cr(){if(bt)return Ie;bt=1;function r(i,t){var s=0,o=i.length,a;for(s;s<o&&(a=t(i[s],s),a!==!1);s++);}function e(i){return Object.prototype.toString.apply(i)==="[object Array]"}function n(i){return typeof i=="function"}return Ie={isFunction:n,isArray:e,each:r},Ie}var Ae,St;function Ji(){if(St)return Ae;St=1;var r=Vi(),e=cr().each;function n(i,t){this.query=i,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(i);var s=this;this.listener=function(o){s.mql=o.currentTarget||o,s.assess()},this.mql.addListener(this.listener)}return n.prototype={constuctor:n,addHandler:function(i){var t=new r(i);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(i){var t=this.handlers;e(t,function(s,o){if(s.equals(i))return s.destroy(),!t.splice(o,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){e(this.handlers,function(i){i.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var i=this.matches()?"on":"off";e(this.handlers,function(t){t[i]()})}},Ae=n,Ae}var De,wt;function Zi(){if(wt)return De;wt=1;var r=Ji(),e=cr(),n=e.each,i=e.isFunction,t=e.isArray;function s(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}return s.prototype={constructor:s,register:function(o,a,l){var c=this.queries,d=l&&this.browserIsIncapable;return c[o]||(c[o]=new r(o,d)),i(a)&&(a={match:a}),t(a)||(a=[a]),n(a,function(u){i(u)&&(u={match:u}),c[o].addHandler(u)}),this},unregister:function(o,a){var l=this.queries[o];return l&&(a?l.removeHandler(a):(l.clear(),delete this.queries[o])),this}},De=s,De}var $e,Ot;function eo(){if(Ot)return $e;Ot=1;var r=Zi();return $e=new r,$e}(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=o(I),n=_e,i=o(Ki),t=o(Je),s=f;function o(m){return m&&m.__esModule?m:{default:m}}function a(m){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},a(m)}function l(){return l=Object.assign?Object.assign.bind():function(m){for(var y=1;y<arguments.length;y++){var M=arguments[y];for(var k in M)Object.prototype.hasOwnProperty.call(M,k)&&(m[k]=M[k])}return m},l.apply(this,arguments)}function c(m,y){var M=Object.keys(m);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(m);y&&(k=k.filter(function(j){return Object.getOwnPropertyDescriptor(m,j).enumerable})),M.push.apply(M,k)}return M}function d(m){for(var y=1;y<arguments.length;y++){var M=arguments[y]!=null?arguments[y]:{};y%2?c(Object(M),!0).forEach(function(k){C(m,k,M[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(M)):c(Object(M)).forEach(function(k){Object.defineProperty(m,k,Object.getOwnPropertyDescriptor(M,k))})}return m}function u(m,y){if(!(m instanceof y))throw new TypeError("Cannot call a class as a function")}function b(m,y){for(var M=0;M<y.length;M++){var k=y[M];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(m,L(k.key),k)}}function P(m,y,M){return y&&b(m.prototype,y),Object.defineProperty(m,"prototype",{writable:!1}),m}function O(m,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");m.prototype=Object.create(y&&y.prototype,{constructor:{value:m,writable:!0,configurable:!0}}),Object.defineProperty(m,"prototype",{writable:!1}),y&&S(m,y)}function S(m,y){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,j){return k.__proto__=j,k},S(m,y)}function g(m){var y=p();return function(){var k=x(m),j;if(y){var E=x(this).constructor;j=Reflect.construct(k,arguments,E)}else j=k.apply(this,arguments);return T(this,j)}}function T(m,y){if(y&&(a(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(m)}function h(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function p(){try{var m=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(p=function(){return!!m})()}function x(m){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(M){return M.__proto__||Object.getPrototypeOf(M)},x(m)}function C(m,y,M){return y=L(y),y in m?Object.defineProperty(m,y,{value:M,enumerable:!0,configurable:!0,writable:!0}):m[y]=M,m}function L(m){var y=D(m,"string");return a(y)=="symbol"?y:String(y)}function D(m,y){if(a(m)!="object"||!m)return m;var M=m[Symbol.toPrimitive];if(M!==void 0){var k=M.call(m,y||"default");if(a(k)!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(m)}var q=(0,s.canUseDOM)()&&eo();r.default=function(m){O(M,m);var y=g(M);function M(k){var j;return u(this,M),j=y.call(this,k),C(h(j),"innerSliderRefHandler",function(E){return j.innerSlider=E}),C(h(j),"slickPrev",function(){return j.innerSlider.slickPrev()}),C(h(j),"slickNext",function(){return j.innerSlider.slickNext()}),C(h(j),"slickGoTo",function(E){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return j.innerSlider.slickGoTo(E,U)}),C(h(j),"slickPause",function(){return j.innerSlider.pause("paused")}),C(h(j),"slickPlay",function(){return j.innerSlider.autoPlay("play")}),j.state={breakpoint:null},j._responsiveMediaHandlers=[],j}return P(M,[{key:"media",value:function(j,E){q.register(j,E),this._responsiveMediaHandlers.push({query:j,handler:E})}},{key:"componentDidMount",value:function(){var j=this;if(this.props.responsive){var E=this.props.responsive.map(function(H){return H.breakpoint});E.sort(function(H,F){return H-F}),E.forEach(function(H,F){var Y;F===0?Y=(0,i.default)({minWidth:0,maxWidth:H}):Y=(0,i.default)({minWidth:E[F-1]+1,maxWidth:H}),(0,s.canUseDOM)()&&j.media(Y,function(){j.setState({breakpoint:H})})});var U=(0,i.default)({minWidth:E.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(U,function(){j.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(j){q.unregister(j.query,j.handler)})}},{key:"render",value:function(){var j=this,E,U;this.state.breakpoint?(U=this.props.responsive.filter(function(oe){return oe.breakpoint===j.state.breakpoint}),E=U[0].settings==="unslick"?"unslick":d(d(d({},t.default),this.props),U[0].settings)):E=d(d({},t.default),this.props),E.centerMode&&(E.slidesToScroll>1,E.slidesToScroll=1),E.fade&&(E.slidesToShow>1,E.slidesToScroll>1,E.slidesToShow=1,E.slidesToScroll=1);var H=e.default.Children.toArray(this.props.children);H=H.filter(function(oe){return typeof oe=="string"?!!oe.trim():!!oe}),E.variableWidth&&(E.rows>1||E.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),E.variableWidth=!1);for(var F=[],Y=null,B=0;B<H.length;B+=E.rows*E.slidesPerRow){for(var je=[],K=B;K<B+E.rows*E.slidesPerRow;K+=E.slidesPerRow){for(var et=[],Q=K;Q<K+E.slidesPerRow&&(E.variableWidth&&H[Q].props.style&&(Y=H[Q].props.style.width),!(Q>=H.length));Q+=1)et.push(e.default.cloneElement(H[Q],{key:100*B+10*K+Q,tabIndex:-1,style:{width:"".concat(100/E.slidesPerRow,"%"),display:"inline-block"}}));je.push(e.default.createElement("div",{key:10*B+K},et))}E.variableWidth?F.push(e.default.createElement("div",{key:B,style:{width:Y}},je)):F.push(e.default.createElement("div",{key:B},je))}if(E==="unslick"){var pr="regular slider "+(this.props.className||"");return e.default.createElement("div",{className:pr},H)}else F.length<=E.slidesToShow&&!E.infinite&&(E.unslick=!0);return e.default.createElement(n.InnerSlider,l({style:this.props.style,ref:this.innerSliderRefHandler},(0,s.filterSettings)(E)),F)}}]),M}(e.default.Component)})(Lt);(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=n(Lt);function n(i){return i&&i.__esModule?i:{default:i}}r.default=e.default})(Ct);const to=w.getDefaultExportFromCjs(Ct),ro=()=>to,no=w.styled_default(ro())({name:"Carousel",class:"c1f9jjsn",propsAsIs:!0}),io="d25r51y",oo=w.styled_default("div")({name:"Dot",class:"d1lvrmx8",propsAsIs:!1}),ao=w.styled_default("div")({name:"Dots",class:"d11xps29",propsAsIs:!1}),_t={dots:!0,infinite:!1,arrows:!1,centerMode:!0,centerPadding:"19px",speed:500,rows:1,slidesToShow:1,slidesToScroll:1,appendDots:r=>v.jsxs(ao,{children:[" ",r," "]}),customPaging:r=>v.jsx(oo,{children:v.jsx("div",{})},r)};function so(r,e,n){let i=new Set(e).add(void 0);return r.listen((t,s,o)=>{i.has(o)&&n(t,s,o)})}function lo(r,e={}){let n=I.useCallback(t=>e.keys?so(r,e.keys,t):r.listen(t),[e.keys,r]),i=r.get.bind(r);return I.useSyncExternalStore(n,i,i)}const uo=({gamification:r,autoplay:e,swipeable:n,changeHeightOnInit:i,height:t,onEvent:s,centerPadding:o})=>{const a=I.useRef(),l=I.useRef(null),[c,d]=I.useState(!1),{data:u,error:b,loading:P}=lo(r.betPack.getStore()),{listOfQuestions:O,countQuestionsAvailable:S}=I.useMemo(()=>{const p=u?Object.values(u):[];return{listOfQuestions:p,countQuestionsAvailable:p.filter(({marketClosed:x})=>!x).length}},[u]);I.useEffect(()=>{!b&&!P&&u!==void 0&&!c&&s({type:"slBetPackReady",payload:{next:()=>{var p;return(p=l.current)==null?void 0:p.slickNext()},prev:()=>{var p;return(p=l.current)==null?void 0:p.slickPrev()},current:0,canNext:!0,canPrev:!1}})},[u,b,P,s]);const g=I.useCallback(async(p,x)=>{try{d(!0),await r.betPackVote(p,x)}finally{a.current&&clearTimeout(a.current),e&&(a.current=setTimeout(()=>{var C;(C=l.current)==null||C.slickNext()},2e3))}},[r,l,e]);if(I.useEffect(()=>()=>{a.current&&clearTimeout(a.current)},[]),P)return v.jsx(Et,{});if(!b&&(u==null||!Object.keys(u).length))return v.jsx(He,{actionFn:()=>s({type:"slHardRefresh"}),description:`It looks like we couldn't
6
+ load the questions.`});if(b)return v.jsx(He,{actionFn:()=>s({type:"slHardRefresh"}),description:b instanceof V.ConnectError&&b.code!==V.Code.InvalidArgument?`The event ID was not
7
7
  specified or is invalid.`:`The server is unable to
8
- handle this request.`});const x=p=>{var k;if(a({type:"slBetPackChangeCard",payload:{current:p,canNext:p<Object.keys(u).length+1,canPrev:p>=1}}),p!==0&&p!==Object.keys(u).length+1&&(k=O[p-1])!=null&&k.id){r.openQuestion(O[p-1].id,{openedFrom:"list",attributes:{id:O[p-1].id,type:O[p-1].type,status:O[p-1].status,attributes:{case:void 0}}});return}r.closeQuestion()},h=p=>p?v.jsx(fe,{height:t,children:v.jsx(qr,{question:p,vote:w})},p.id):null;return v.jsxs(no,{...Pt,swipe:n,onInit:i,centerPadding:o||Pt.centerPadding,afterChange:x,beforeChange:()=>{s.current&&clearTimeout(s.current)},ref:l,className:m.cx_default(!n&&io),children:[v.jsx(rn,{height:t,sliderRef:l,countQuestionsAvailable:S}),Object.values(u).map(h),v.jsx(Hr,{onEvent:a,height:t})]})},ue="slBetPackCb",co=m.createLogger("betPack-ui"),fo=(r,e={})=>{var n,i;co.debug({id:ue,type:r,...e}),(n=window.top)==null||n.postMessage({id:ue,type:r,...e},"*"),window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers[ue]&&window.webkit.messageHandlers[ue].postMessage({type:r,...e}),(i=window.slBetPackCb)!=null&&i.postMessage&&window.slBetPackCb.postMessage(JSON.stringify({type:r,...e,from:"base"}))},po=r=>{fo(r.type)},vo=m.styled_default("div")({name:"Container",class:"c1mj28sn",propsAsIs:!1}),ho=m.styled_default("button")({name:"CloseButton",class:"coc9f01",propsAsIs:!1}),kt="b590k5k",yo=()=>m.Z1,dr=m.styled_default(yo())({name:"IconArrowPrev",class:"i1tkem14",propsAsIs:!0}),go=()=>dr,mo=m.styled_default(go())({name:"IconArrowNext",class:"i175qlj5",propsAsIs:!0}),bo=m.styled_default("div")({name:"Header",class:"h1foi3kz",propsAsIs:!1}),So=m.styled_default("div")({name:"HeaderTitle",class:"hc2d48a",propsAsIs:!1}),wo=m.styled_default("div")({name:"Main",class:"mgfyjlp",propsAsIs:!1}),Oo=m.styled_default("div")({name:"Footer",class:"f1vakhu9",propsAsIs:!1}),xt=m.styled_default("button")({name:"SlideSwitchButton",class:"spp13y7",propsAsIs:!1}),_o=({sdk:r,onEvent:e,close:n,isMobile:i})=>{const[t,a]=I.useState(),[o,s]=I.useState(),l=I.useCallback(c=>{if(c.type==="slBetPackReady"){const{next:d,prev:u,current:b,canNext:j,canPrev:O}=c.payload||{};a({next:d,prev:u}),s({current:b,canPrev:O,canNext:j})}if(c.type==="slBetPackChangeCard"){const{current:d,canNext:u,canPrev:b}=c.payload||{};s({current:d,canNext:u,canPrev:b})}e==null||e(c)},[e]);return v.jsxs(vo,{children:[v.jsxs(bo,{children:[v.jsxs(So,{children:[v.jsx(m.Z1,{name:"icon-trophy-bet-pack"}),"LiveMatch Experience"," "]}),v.jsx(ho,{onClick:n,children:v.jsx(m.Z1,{name:"icon-close-btn-gray"})})]}),v.jsx(wo,{children:v.jsx(pr,{sdk:r,onEvent:l,swipeable:!!i,centerPadding:i?"18px":"30px",heightOffset:i?0:48})}),!i&&v.jsxs(Oo,{children:[v.jsx(xt,{onClick:t==null?void 0:t.prev,disabled:!(o!=null&&o.canPrev),children:v.jsx(dr,{name:"iconArrowPrev",className:m.cx_default((o==null?void 0:o.canPrev)&&kt)})}),v.jsx(xt,{onClick:t==null?void 0:t.next,disabled:!(o!=null&&o.canNext),children:v.jsx(mo,{name:"iconArrowPrev",className:m.cx_default((o==null?void 0:o.canNext)&&kt)})})]})]})},pr=I.memo(({sdk:r,swipeable:e=!0,heightOffset:n=65,onEvent:i=po,centerPadding:t})=>{const a=m.useStore(r.featuresList.getStore()),o=I.useMemo(()=>r.getFeature(V.SdkOverlayType.GAMES),[a]),s=m.useStore(r.getUserStore()),l=I.useRef(null),[c,d]=I.useState(),u=I.useCallback(()=>{l.current&&d(l.current.clientHeight)},[]);return I.useEffect(()=>{const b=m.c(()=>{l.current&&d(l.current.clientHeight)},200);return window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}},[]),s.data?o?v.jsx(mr,{ref:l,className:m.cx_default("betPack",e&&"isMobile"),children:v.jsx(uo,{gamification:o,onEvent:i,swipeable:e,centerPadding:t,changeHeightOnInit:u,height:c?c-n:void 0})}):v.jsx("div",{children:"no gamification"}):s.error&&!s.loading?v.jsx(Ne,{actionFn:()=>i({type:"slHardRefresh"}),description:`You are not authorized to
9
- view this resource.`}):v.jsx(Ct,{})});exports.ne=_o;exports.q=pr;
8
+ handle this request.`});const T=p=>{var x;if(s({type:"slBetPackChangeCard",payload:{current:p,canNext:p<Object.keys(u).length+1,canPrev:p>=1}}),p!==0&&p!==Object.keys(u).length+1&&(x=O[p-1])!=null&&x.id){r.openQuestion(O[p-1].id,{openedFrom:"bet-pack",attributes:{id:O[p-1].id,type:O[p-1].type,status:O[p-1].status,attributes:{case:void 0}}});return}r.closeQuestion()},h=p=>p?v.jsx(de,{height:t,swipeable:n,children:v.jsx(qr,{question:p,vote:g})},p.id):null;return v.jsxs(no,{..._t,swipe:n,onInit:i,centerPadding:o||_t.centerPadding,afterChange:T,beforeChange:()=>{a.current&&clearTimeout(a.current)},ref:l,className:w.cx_default(!n&&io),children:[v.jsx(rn,{height:t,sliderRef:l,countQuestionsAvailable:S,swipeable:n}),Object.values(u).map(h),v.jsx(Hr,{onEvent:s,height:t,swipeable:n})]})},ue="slBetPackCb",co=w.createLogger("betPack-ui"),fo=(r,e={})=>{var n,i;co.debug({id:ue,type:r,...e}),(n=window.top)==null||n.postMessage({id:ue,type:r,...e},"*"),window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers[ue]&&window.webkit.messageHandlers[ue].postMessage({type:r,...e}),(i=window.slBetPackCb)!=null&&i.postMessage&&window.slBetPackCb.postMessage(JSON.stringify({type:r,...e,from:"base"}))},po=r=>{fo(r.type)},vo=w.styled_default("div")({name:"Container",class:"c1mj28sn",propsAsIs:!1}),ho=w.styled_default("button")({name:"CloseButton",class:"coc9f01",propsAsIs:!1}),Pt="b590k5k",yo=()=>w.u1,dr=w.styled_default(yo())({name:"IconArrowPrev",class:"i1tkem14",propsAsIs:!0}),go=()=>dr,mo=w.styled_default(go())({name:"IconArrowNext",class:"i175qlj5",propsAsIs:!0}),bo=w.styled_default("div")({name:"Header",class:"h1foi3kz",propsAsIs:!1}),So=w.styled_default("div")({name:"HeaderTitle",class:"hc2d48a",propsAsIs:!1}),wo=w.styled_default("div")({name:"Main",class:"mgfyjlp",propsAsIs:!1}),Oo=w.styled_default("div")({name:"Footer",class:"f1vakhu9",propsAsIs:!1}),kt=w.styled_default("button")({name:"SlideSwitchButton",class:"spp13y7",propsAsIs:!1}),_o=I.forwardRef(({sdk:r,onEvent:e,close:n,isMobile:i},t)=>{const[s,o]=I.useState(),[a,l]=I.useState(),c=I.useCallback(d=>{if(d.type==="slBetPackReady"){const{next:u,prev:b,current:P,canNext:O,canPrev:S}=d.payload||{};o({next:u,prev:b}),l(g=>({current:g!=null&&g.current?g==null?void 0:g.current:P,canPrev:g!=null&&g.current?g==null?void 0:g.canPrev:S,canNext:O}))}if(d.type==="slBetPackChangeCard"){const{current:u,canNext:b,canPrev:P}=d.payload||{};l({current:u,canNext:b,canPrev:P})}e==null||e(d)},[e]);return v.jsxs(vo,{ref:t,children:[v.jsxs(bo,{children:[v.jsxs(So,{children:[v.jsx(w.u1,{name:"icon-trophy-bet-pack"}),"LiveMatch Experience"," "]}),v.jsx(ho,{onClick:n,children:v.jsx(w.u1,{name:"icon-close-btn-gray"})})]}),v.jsx(wo,{children:v.jsx(fr,{sdk:r,onEvent:c,swipeable:!!i,centerPadding:i?"18px":"30px",heightOffset:i?0:48})}),!i&&v.jsxs(Oo,{children:[v.jsx(kt,{onClick:s==null?void 0:s.prev,disabled:!(a!=null&&a.canPrev),children:v.jsx(dr,{name:"iconArrowPrev",className:w.cx_default((a==null?void 0:a.canPrev)&&Pt)})}),v.jsx(kt,{onClick:s==null?void 0:s.next,disabled:!(a!=null&&a.canNext),children:v.jsx(mo,{name:"iconArrowPrev",className:w.cx_default((a==null?void 0:a.canNext)&&Pt)})})]})]})}),fr=I.memo(({sdk:r,swipeable:e=!0,heightOffset:n=65,onEvent:i=po,centerPadding:t})=>{const s=w.useStore(r.featuresList.getStore()),o=I.useMemo(()=>r.getFeature(V.SdkOverlayType.GAMES),[s]),a=w.useStore(r.getUserStore()),l=I.useRef(null),[c,d]=I.useState(),u=I.useCallback(()=>{l.current&&d(l.current.clientHeight)},[]);return I.useEffect(()=>{const b=w.A$1(()=>{l.current&&d(l.current.clientHeight)},200);return window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}},[]),a.data?o?v.jsx(mr,{ref:l,className:w.cx_default("betPack",e&&"isMobile"),children:v.jsx(uo,{gamification:o,onEvent:i,swipeable:e,centerPadding:t,changeHeightOnInit:u,height:c?c-n:void 0})}):v.jsx("div",{children:"no gamification"}):a.error&&!a.loading?v.jsx(He,{actionFn:()=>i({type:"slHardRefresh"}),description:`You are not authorized to
9
+ view this resource.`,isMobile:e}):v.jsx(Et,{})});exports.V=fr;exports.tr=_o;