@everymatrix/player-challenges 0.1.15 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{ArrowLeftIcon-De_oE6VJ.js → ArrowLeftIcon-DorWQbN-.js} +1 -1
- package/components/{ArrowLeftIcon-D0LpsufV.cjs → ArrowLeftIcon-f3IOpYNO.cjs} +1 -1
- package/components/{Badge-r78wWqnE.cjs → Badge-BDyFx08l.cjs} +4 -4
- package/components/{Badge-C2_vCRtE.js → Badge-t5ERZxvC.js} +27 -27
- package/components/{Button-CU8n8iLn.cjs → Button-CUICdAqJ.cjs} +1 -1
- package/components/{Button-CqWi35Id.js → Button-DgtpbC5z.js} +1 -1
- package/components/{ChallengeBanner-oDSEjGGf.js → ChallengeBanner-DSarDh3k.js} +31 -29
- package/components/{ChallengeBanner-CBWAGiMi.cjs → ChallengeBanner-uzrRUAwa.cjs} +2 -2
- package/components/{ChallengeBreadcrumbs-0C1qzQmn.js → ChallengeBreadcrumbs-DHNKXK43.js} +2 -2
- package/components/{ChallengeBreadcrumbs-B1QPZ9Ub.cjs → ChallengeBreadcrumbs-DwyCD4n7.cjs} +1 -1
- package/components/{ChallengeCard-3915Vdd8.cjs → ChallengeCard-BuDYjnna.cjs} +1 -1
- package/components/{ChallengeCard-yUSt6Ocz.js → ChallengeCard-SkQ_xfqo.js} +6 -6
- package/components/{ChallengeClaimCode-D-skzCq6.js → ChallengeClaimCode-DiJqww5t.js} +2 -2
- package/components/{ChallengeClaimCode-BUD6Bszw.cjs → ChallengeClaimCode-zgBFr-2W.cjs} +1 -1
- package/components/{ChallengeDetails-D74Ki1Uz.cjs → ChallengeDetails-D1h6ITwb.cjs} +1 -1
- package/components/{ChallengeDetails-C5WUrhPo.js → ChallengeDetails-DMdkjCMC.js} +2 -2
- package/components/{ChallengeEvents-CXxvU73L.js → ChallengeEvents-B6l3iUIf.js} +1 -1
- package/components/{ChallengeEvents-U5YbNMZ6.cjs → ChallengeEvents-D5kenBIc.cjs} +1 -1
- package/components/ChallengeGames-CZu1MzPA.cjs +11 -0
- package/components/{ChallengeGames-CLISWWUl.js → ChallengeGames-CjLLzYVy.js} +57 -56
- package/components/{ChallengeHistory-BveIKX6m.js → ChallengeHistory-8LPDK1aA.js} +10 -10
- package/components/ChallengeHistory-CHK2Q13H.cjs +1 -0
- package/components/ChallengeLevels-CCZGLr9f.cjs +8 -0
- package/components/{ChallengeLevels-EESudJez.js → ChallengeLevels-s9abBMuq.js} +84 -84
- package/components/ChallengeList-CK16hckg.cjs +20 -0
- package/components/{ChallengeList-P4I4Dp10.js → ChallengeList-D6_LjVsa.js} +429 -424
- package/components/{ChallengeProgress-BxkeK6qN.js → ChallengeProgress-BFAihSd8.js} +11 -11
- package/components/{ChallengeProgress-BpkQJwJK.cjs → ChallengeProgress-F4DvqxcC.cjs} +1 -1
- package/components/{ChallengeProgressItem-DHghH0Re.js → ChallengeProgressItem-BHk-1FKU.js} +3 -3
- package/components/{ChallengeProgressItem-YsHk5ITp.cjs → ChallengeProgressItem-DrMZEU3z.cjs} +2 -2
- package/components/{ChallengeRules-D7Q6JUd5.js → ChallengeRules-CIINsSVb.js} +2 -2
- package/components/{ChallengeRules-CoGa-G4a.cjs → ChallengeRules-D5vuaTVl.cjs} +1 -1
- package/components/ChallengeSummary-BhoNxD8d.cjs +1 -0
- package/components/ChallengeSummary-sGIfhmFq.js +213 -0
- package/components/ChallengeTabContent-CYsszYCj.js +795 -0
- package/components/ChallengeTabContent-CftvI5C6.cjs +12 -0
- package/components/{ChallengeTabPanel-Rci3HLu2.js → ChallengeTabPanel-CdcGT_LI.js} +5 -5
- package/components/{ChallengeTabPanel-wgd02Iii.cjs → ChallengeTabPanel-ChsZw13b.cjs} +1 -1
- package/components/ChallengeTabSkeleton-CDYom40f.cjs +15 -0
- package/components/{ChallengeTabSkeleton-B-MQHvwC.js → ChallengeTabSkeleton-CuRzH3G_.js} +33 -32
- package/components/ChallengeTabs-Dcgam5G5.cjs +14 -0
- package/components/{ChallengeTabs-nR_tQGbd.js → ChallengeTabs-TgwP2u9F.js} +2256 -2245
- package/components/{CheckIcon-D4lHKEA2.js → CheckIcon-B82NDFTL.js} +1 -1
- package/components/{CheckIcon-CxbYr1xp.cjs → CheckIcon-BqS1Tdfu.cjs} +1 -1
- package/components/{ChevronIcon-CRAlhZkw.js → ChevronIcon-C0yjiiug.js} +1 -1
- package/components/{ChevronIcon-BAMpEJGd.cjs → ChevronIcon-zvGKIAT7.cjs} +1 -1
- package/components/{ExistIcon-Dto-bbDy.cjs → ExistIcon-DifozqZH.cjs} +1 -1
- package/components/{ExistIcon-MA116zUI.js → ExistIcon-Y3lLvkAJ.js} +1 -1
- package/components/{GiftIcon-Cd5b3K-t.cjs → GiftIcon-Bd4y8-Fm.cjs} +1 -1
- package/components/{GiftIcon-Co84y9Go.js → GiftIcon-CY_-XK0b.js} +1 -1
- package/components/{LinkIcon-Bwgy8Luj.cjs → LinkIcon-Bttg6ZAz.cjs} +1 -1
- package/components/{LinkIcon-pV2v0CrL.js → LinkIcon-CLHvOQ2s.js} +1 -1
- package/components/{LockIcon-BYYuZI1_.cjs → LockIcon-BgDxb03o.cjs} +1 -1
- package/components/{LockIcon-CzobKbeF.js → LockIcon-gAFRYl52.js} +1 -1
- package/components/Pagination-4P-rWszf.cjs +12 -0
- package/components/Pagination-CbvI_9SC.js +123 -0
- package/components/PlayerChallenges-CaUu7idr.js +417 -0
- package/components/PlayerChallenges-CtnY-k5K.cjs +1 -0
- package/components/{StarIcon-D_ixyTtO.js → StarIcon-CbfuCfUA.js} +1 -1
- package/components/{StarIcon-tdfCGCXl.cjs → StarIcon-DE0r6703.cjs} +1 -1
- package/components/{TargetIcon-Cw-ZoTaW.js → TargetIcon-BVhRYDcS.js} +1 -1
- package/components/{TargetIcon-BGcVQbCs.cjs → TargetIcon-DDclkkVP.cjs} +1 -1
- package/esnext/player-challenges.cjs +1 -1
- package/esnext/player-challenges.js +2 -2
- package/package.json +1 -1
- package/components/ChallengeGames-BVIMhW8b.cjs +0 -11
- package/components/ChallengeHistory-DDWHc60D.cjs +0 -1
- package/components/ChallengeLevels-Dqz1Jroz.cjs +0 -8
- package/components/ChallengeList-Bby_g4Z8.cjs +0 -20
- package/components/ChallengeSummary-Bu4cCk0T.js +0 -222
- package/components/ChallengeSummary-CcneZ-_H.cjs +0 -1
- package/components/ChallengeTabContent--jk6IZ9p.js +0 -794
- package/components/ChallengeTabContent-D3ghO0QX.cjs +0 -12
- package/components/ChallengeTabSkeleton-CuGIFm8O.cjs +0 -15
- package/components/ChallengeTabs-BtbgPMyA.cjs +0 -14
- package/components/Pagination-BgeAkkYm.js +0 -130
- package/components/Pagination-vup1vCrG.cjs +0 -12
- package/components/PlayerChallenges-C703Qu2L.cjs +0 -1
- package/components/PlayerChallenges-htqi9P1E.js +0 -395
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as l, d as r, p as C, t as p, a as f, b as h, f as g, e as m, s as a } from "./ChallengeTabs-
|
|
1
|
+
import { c as l, d as r, p as C, t as p, a as f, b as h, f as g, e as m, s as a } from "./ChallengeTabs-TgwP2u9F.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-Dcgam5G5.cjs");var C=e.from_svg('<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.45 10.95L11.7375 5.6625L10.6875 4.6125L6.45 8.85L4.3125 6.7125L3.2625 7.7625L6.45 10.95ZM7.5 15C6.4625 15 5.4875 14.803 4.575 14.409C3.6625 14.0155 2.86875 13.4813 2.19375 12.8063C1.51875 12.1313 0.984502 11.3375 0.591 10.425C0.197 9.51248 0 8.53747 0 7.5C0 6.4625 0.197 5.4875 0.591 4.575C0.984502 3.6625 1.51875 2.86875 2.19375 2.19375C2.86875 1.51875 3.6625 0.984248 4.575 0.59025C5.4875 0.19675 6.4625 0 7.5 0C8.53747 0 9.51248 0.19675 10.425 0.59025C11.3375 0.984248 12.1313 1.51875 12.8063 2.19375C13.4813 2.86875 14.0155 3.6625 14.409 4.575C14.803 5.4875 15 6.4625 15 7.5C15 8.53747 14.803 9.51248 14.409 10.425C14.0155 11.3375 13.4813 12.1313 12.8063 12.8063C12.1313 13.4813 11.3375 14.0155 10.425 14.409C9.51248 14.803 8.53747 15 7.5 15Z" fill="currentColor"></path></svg>');function o(i,n){e.push(n,!0);let t=e.prop(n,"size",7,15);var l={get size(){return t()},set size(r=15){t(r),e.flushSync()}},s=C();return e.template_effect(()=>{e.set_attribute(s,"width",t()),e.set_attribute(s,"height",t())}),e.append(i,s),e.pop(l)}e.create_custom_element(o,{size:{}},[],[],{mode:"open"});exports.CheckIcon=o;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as r, d as i, p, t as d, a as f, b as h, f as u, e as C, s as a } from "./ChallengeTabs-
|
|
1
|
+
import { c as r, d as i, p, t as d, a as f, b as h, f as u, e as C, s as a } from "./ChallengeTabs-TgwP2u9F.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-Dcgam5G5.cjs");var a=e.from_svg('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.35884 8.75147C6.58387 8.5265 6.88904 8.40012 7.20724 8.40012C7.52544 8.40012 7.83061 8.5265 8.05564 8.75147L12.0072 12.7031L15.9588 8.75147C16.1852 8.53288 16.4883 8.41192 16.8029 8.41466C17.1176 8.41739 17.4185 8.54359 17.641 8.76608C17.8635 8.98857 17.9897 9.28955 17.9924 9.60419C17.9952 9.91882 17.8742 10.2219 17.6556 10.4483L12.8556 15.2483C12.6306 15.4732 12.3254 15.5996 12.0072 15.5996C11.689 15.5996 11.3839 15.4732 11.1588 15.2483L6.35884 10.4483C6.13387 10.2232 6.00749 9.91806 6.00749 9.59986C6.00749 9.28167 6.13387 8.9765 6.35884 8.75147Z" fill="currentColor"></path></svg>');function o(l,s){e.push(s,!0);let t=e.prop(s,"size",7,24);var r={get size(){return t()},set size(i=24){t(i),e.flushSync()}},n=a();return e.template_effect(()=>{e.set_attribute(n,"width",t()),e.set_attribute(n,"height",t())}),e.append(l,n),e.pop(r)}e.create_custom_element(o,{size:{}},[],[],{mode:"open"});exports.ChevronIcon=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-Dcgam5G5.cjs");var r=e.from_svg('<svg viewBox="0 0 13 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.46 13.14C1.0585 13.14 0.714911 12.9971 0.42924 12.7115C0.143569 12.4258 0.0004891 12.082 0 11.68V1.46C0 1.0585 0.14308 0.714911 0.42924 0.42924C0.7154 0.143569 1.05899 0.0004891 1.46 0H5.84C6.04681 0 6.22033 0.0700801 6.36049 0.21024C6.50065 0.3504 6.57051 0.523651 6.57 0.73C6.56949 0.936349 6.49941 1.10984 6.35976 1.25049C6.22011 1.39114 6.04681 1.46097 5.84 1.46H1.46V11.68H5.84C6.04681 11.68 6.22033 11.7501 6.36049 11.8902C6.50065 12.0304 6.57051 12.2036 6.57 12.41C6.56949 12.6164 6.49941 12.7898 6.35976 12.9305C6.22011 13.0712 6.04681 13.141 5.84 13.14H1.46ZM10.3478 7.3H5.11C4.90317 7.3 4.72991 7.22992 4.59024 7.08976C4.45057 6.9496 4.38049 6.77637 4.38 6.57C4.37951 6.36363 4.44959 6.1904 4.59024 6.05024C4.73089 5.91008 4.90414 5.84 5.11 5.84H10.3478L8.979 4.47125C8.84519 4.33742 8.77825 4.17317 8.77825 3.9785C8.77825 3.78383 8.84519 3.6135 8.979 3.4675C9.11281 3.3215 9.28319 3.24534 9.49 3.23901C9.69681 3.23268 9.87325 3.30276 10.0193 3.44925L12.629 6.059C12.775 6.205 12.848 6.37531 12.848 6.57C12.848 6.76469 12.775 6.935 12.629 7.081L10.0193 9.69075C9.87325 9.83675 9.70002 9.90683 9.49949 9.90099C9.29896 9.89515 9.12551 9.81901 8.979 9.6725C8.84519 9.5265 8.78139 9.35327 8.78774 9.15274C8.79409 8.95221 8.86388 8.78482 8.99725 8.6505L10.3478 7.3Z" fill="currentColor"></path></svg>');function s(o,t){e.push(t,!0);let h=e.prop(t,"width",7,13),i=e.prop(t,"height",7,14);var l={get width(){return h()},set width(C=13){h(C),e.flushSync()},get height(){return i()},set height(C=14){i(C),e.flushSync()}},n=r();return e.template_effect(()=>{e.set_attribute(n,"width",h()),e.set_attribute(n,"height",i())}),e.append(o,n),e.pop(l)}e.create_custom_element(s,{width:{},height:{}},[],[],{mode:"open"});exports.ExistIcon=s;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as l, d as g, p as i, t as d, a as f, b as p, f as m, e as a, s as n } from "./ChallengeTabs-
|
|
1
|
+
import { c as l, d as g, p as i, t as d, a as f, b as p, f as m, e as a, s as n } from "./ChallengeTabs-TgwP2u9F.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-Dcgam5G5.cjs");var h=e.from_svg('<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_3193_42929)"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.3334 6.94735V10.1053C11.3334 10.6078 11.1226 11.0897 10.7476 11.445C10.3725 11.8004 9.86375 12 9.33335 12H6.66665V6.94735H11.3334ZM5.33335 6.94735V12H2.66666C2.13623 12 1.62753 11.8004 1.25246 11.445C0.877379 11.0897 0.666665 10.6078 0.666665 10.1053V6.94735H5.33335ZM4 3.00859e-09C4.37834 -1.74869e-05 4.75231 0.0762209 5.09717 0.223666C5.44197 0.371106 5.74972 0.586372 6 0.855156C6.25028 0.586372 6.55803 0.371106 6.90283 0.223666C7.24769 0.0762209 7.62166 -1.74869e-05 8 3.00859e-09H8.33335C8.59852 3.00859e-09 8.85292 0.0998089 9.04043 0.277477C9.228 0.455145 9.33335 0.696109 9.33335 0.947369V1.26316C9.33335 1.72358 9.20332 2.15495 8.97668 2.52631H10.6666C11.0203 2.52631 11.3594 2.65939 11.6095 2.89628C11.8595 3.13317 12 3.45446 12 3.78947V5.05261C12 5.28255 11.9353 5.49855 11.8214 5.68423H6.66665V3.78947C6.66665 3.62197 6.59643 3.46132 6.47139 3.34288C6.3464 3.22443 6.1768 3.1579 6 3.1579C5.8232 3.1579 5.6536 3.22443 5.52862 3.34288C5.40357 3.46132 5.33335 3.62197 5.33335 3.78947V5.68423H0.178665C0.0616307 5.49219 1.23077e-05 5.27438 0 5.05261V3.78947C0 3.45446 0.140474 3.13317 0.390523 2.89628C0.640572 2.65939 0.979711 2.52631 1.33334 2.52631H3.02334C2.7895 2.14221 2.66649 1.70657 2.66666 1.26316V0.947369C2.66666 0.696109 2.77202 0.455145 2.95956 0.277477C3.1471 0.0998089 3.40145 3.00859e-09 3.66666 3.00859e-09H4ZM4 1.26316C4 1.59817 4.14047 1.91946 4.39052 2.15635C4.64055 2.39323 4.97969 2.52631 5.33335 2.52631C5.33335 2.19131 5.19286 1.87002 4.94283 1.63313C4.69274 1.39624 4.3536 1.26316 4 1.26316ZM8 1.26316C7.6464 1.26316 7.30726 1.39624 7.05717 1.63313C6.80714 1.87002 6.66665 2.19131 6.66665 2.52631C7.02031 2.52631 7.35945 2.39323 7.60948 2.15635C7.85951 1.91946 8 1.59817 8 1.26316Z" fill="currentColor"></path></g><defs><clipPath id="clip0_3193_42929"><rect fill="currentColor"></rect></clipPath></defs></svg>');function n(o,l){e.push(l,!0);let t=e.prop(l,"size",7,12);var c={get size(){return t()},set size(a=12){t(a),e.flushSync()}},i=h(),r=e.sibling(e.child(i)),s=e.child(r),C=e.child(s);return e.reset(s),e.reset(r),e.reset(i),e.template_effect(()=>{e.set_attribute(i,"width",t()),e.set_attribute(i,"height",t()),e.set_attribute(C,"width",t()),e.set_attribute(C,"height",t())}),e.append(o,i),e.pop(c)}e.create_custom_element(n,{size:{}},[],[],{mode:"open"});exports.GiftIcon=n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as f, d as h, p as d, o as g, n as l, t as u, a as v, b as m, f as H, e as V, r as i, s } from "./ChallengeTabs-
|
|
1
|
+
import { c as f, d as h, p as d, o as g, n as l, t as u, a as v, b as m, f as H, e as V, r as i, s } from "./ChallengeTabs-TgwP2u9F.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-Dcgam5G5.cjs");var r=e.from_svg('<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.51555 2.5L5.3 2.5C5.4933 2.5 5.65 2.6567 5.65 2.85C5.65 3.0433 5.4933 3.2 5.3 3.2H4.53C4.2302 3.2 4.02639 3.20027 3.86886 3.21314C3.71542 3.22568 3.63695 3.2484 3.58221 3.2763C3.45049 3.34341 3.34341 3.45049 3.2763 3.58221C3.2484 3.63695 3.22568 3.71542 3.21314 3.86886C3.20027 4.02639 3.2 4.2302 3.2 4.53V7.47C3.2 7.7698 3.20027 7.97361 3.21314 8.13114C3.22568 8.28458 3.2484 8.36305 3.2763 8.41779C3.34341 8.54951 3.45049 8.65659 3.58221 8.7237C3.63695 8.7516 3.71542 8.77432 3.86886 8.78686C4.02639 8.79973 4.2302 8.8 4.53 8.8H7.47C7.7698 8.8 7.97361 8.79973 8.13114 8.78686C8.28458 8.77432 8.36305 8.7516 8.41779 8.7237C8.54951 8.65659 8.65659 8.54951 8.7237 8.41779C8.7516 8.36305 8.77432 8.28458 8.78686 8.13114C8.79973 7.97361 8.8 7.7698 8.8 7.47V6.7C8.8 6.5067 8.9567 6.35 9.15 6.35C9.3433 6.35 9.5 6.5067 9.5 6.7V7.48446C9.5 7.7662 9.50001 7.99872 9.48453 8.18814C9.46846 8.38487 9.43396 8.56572 9.34741 8.73559C9.21319 8.99901 8.99901 9.21319 8.73559 9.34741C8.56572 9.43396 8.38487 9.46846 8.18814 9.48453C7.99872 9.50001 7.7662 9.5 7.48446 9.5H4.51554C4.2338 9.5 4.00128 9.50001 3.81186 9.48453C3.61513 9.46846 3.43428 9.43396 3.26441 9.34741C3.00099 9.21319 2.78681 8.99901 2.65259 8.73559C2.56604 8.56572 2.53154 8.38487 2.51547 8.18814C2.49999 7.99872 2.5 7.76619 2.5 7.48445V4.51555C2.5 4.23381 2.49999 4.00128 2.51547 3.81186C2.53154 3.61513 2.56604 3.43428 2.65259 3.26441C2.78681 3.00099 3.00099 2.78681 3.26441 2.65259C3.43428 2.56604 3.61513 2.53154 3.81186 2.51547C4.00128 2.49999 4.23381 2.5 4.51555 2.5ZM6.69999 2.85C6.69999 2.6567 6.85669 2.5 7.04999 2.5H9.14999C9.34329 2.5 9.49999 2.6567 9.49999 2.85L9.49999 4.95C9.49999 5.1433 9.34329 5.3 9.14999 5.3C8.95669 5.3 8.79999 5.1433 8.79999 4.95L8.79999 3.69498L6.24749 6.24749C6.1108 6.38417 5.8892 6.38417 5.75251 6.24749C5.61583 6.1108 5.61583 5.8892 5.75251 5.75251L8.30502 3.2H7.04999C6.85669 3.2 6.69999 3.0433 6.69999 2.85Z" fill="currentColor"></path></svg>');function s(l,n){e.push(n,!0);let C=e.prop(n,"size",7,12);var i={get size(){return C()},set size(o=12){C(o),e.flushSync()}},t=r();return e.template_effect(()=>{e.set_attribute(t,"width",C()),e.set_attribute(t,"height",C())}),e.append(l,t),e.pop(i)}e.create_custom_element(s,{size:{}},[],[],{mode:"open"});exports.LinkIcon=s;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as n, d as i, p as r, t as p, a as f, b as d, f as u, e as g, s } from "./ChallengeTabs-
|
|
1
|
+
import { c as n, d as i, p as r, t as p, a as f, b as d, f as u, e as g, s } from "./ChallengeTabs-TgwP2u9F.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-Dcgam5G5.cjs");var r=e.from_svg('<svg viewBox="0 0 13 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.5 8.8C6.25263 8.79715 6.01032 8.86899 5.80567 9.00584C5.60102 9.14269 5.44387 9.33799 5.35536 9.56544C5.26685 9.7929 5.25124 10.0416 5.31062 10.278C5.37 10.5145 5.50153 10.7274 5.6875 10.888V12C5.6875 12.2122 5.7731 12.4157 5.92548 12.5657C6.07785 12.7157 6.28451 12.8 6.5 12.8C6.71549 12.8 6.92215 12.7157 7.07452 12.5657C7.2269 12.4157 7.3125 12.2122 7.3125 12V10.888C7.49847 10.7274 7.63 10.5145 7.68938 10.278C7.74876 10.0416 7.73315 9.7929 7.64464 9.56544C7.55613 9.33799 7.39898 9.14269 7.19433 9.00584C6.98968 8.86899 6.74737 8.79715 6.5 8.8ZM10.5625 5.6V4C10.5625 2.93913 10.1345 1.92172 9.37262 1.17157C8.61075 0.421427 7.57744 0 6.5 0C5.42256 0 4.38925 0.421427 3.62738 1.17157C2.86551 1.92172 2.4375 2.93913 2.4375 4V5.6C1.79103 5.6 1.17105 5.85286 0.713927 6.30294C0.256807 6.75303 0 7.36348 0 8V13.6C0 14.2365 0.256807 14.847 0.713927 15.2971C1.17105 15.7471 1.79103 16 2.4375 16H10.5625C11.209 16 11.829 15.7471 12.2861 15.2971C12.7432 14.847 13 14.2365 13 13.6V8C13 7.36348 12.7432 6.75303 12.2861 6.30294C11.829 5.85286 11.209 5.6 10.5625 5.6ZM4.0625 4C4.0625 3.36348 4.31931 2.75303 4.77643 2.30294C5.23355 1.85286 5.85353 1.6 6.5 1.6C7.14647 1.6 7.76645 1.85286 8.22357 2.30294C8.68069 2.75303 8.9375 3.36348 8.9375 4V5.6H4.0625V4ZM11.375 13.6C11.375 13.8122 11.2894 14.0157 11.137 14.1657C10.9847 14.3157 10.778 14.4 10.5625 14.4H2.4375C2.22201 14.4 2.01535 14.3157 1.86298 14.1657C1.7106 14.0157 1.625 13.8122 1.625 13.6V8C1.625 7.78783 1.7106 7.58434 1.86298 7.43431C2.01535 7.28429 2.22201 7.2 2.4375 7.2H10.5625C10.778 7.2 10.9847 7.28429 11.137 7.43431C11.2894 7.58434 11.375 7.78783 11.375 8V13.6Z" fill="currentColor"></path></svg>');function n(o,s){e.push(s,!0);let t=e.prop(s,"size",7,20);var i={get size(){return t()},set size(l=20){t(l),e.flushSync()}},C=r();return e.template_effect(()=>{e.set_attribute(C,"width",t()),e.set_attribute(C,"height",t())}),e.append(o,C),e.pop(i)}e.create_custom_element(n,{size:{}},[],[],{mode:"open"});exports.LockIcon=n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as i, d as l, p as r, t as p, a as f, b as g, f as h, e as m, s } from "./ChallengeTabs-
|
|
1
|
+
import { c as i, d as l, p as r, t as p, a as f, b as g, f as h, e as m, s } from "./ChallengeTabs-TgwP2u9F.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-Dcgam5G5.cjs");var O=e.from_html('<span class="challenge-pagination__ellipsis svelte-n87wfa" aria-hidden="true">...</span>'),V=e.from_html('<button type="button"> </button>'),J=e.from_html('<div class="challenge-pagination__pages svelte-n87wfa"><button class="challenge-pagination__btn challenge-pagination__btn--prev svelte-n87wfa" type="button"> </button> <!> <button class="challenge-pagination__btn challenge-pagination__btn--next svelte-n87wfa" type="button"> </button></div>'),K=e.from_html('<div class="challenge-pagination svelte-n87wfa"><!></div>');const Q={hash:"svelte-n87wfa",code:`
|
|
2
|
+
@layer challenge-pagination-component {.challenge-pagination.svelte-n87wfa {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;box-sizing:border-box;width:100%;}
|
|
3
|
+
|
|
4
|
+
@media (min-width: 768px) {.challenge-pagination.svelte-n87wfa {width:auto;margin-left:auto;justify-content:flex-end;padding-right:10px;}.challenge-pagination__pages.svelte-n87wfa {justify-content:flex-end;}
|
|
5
|
+
}.challenge-pagination__pages.svelte-n87wfa {display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:flex-start;}.challenge-pagination__ellipsis.svelte-n87wfa {display:inline-flex;align-items:center;justify-content:center;color:var(--text-default, #dfe3e8);font-size:13px;width:24px;}.challenge-pagination__btn.svelte-n87wfa {min-width:30px;height:30px;padding:4px 8px;border:none;border-radius:4px;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));color:var(--text-subtle, #dfe3e8);font-size:13px;font-weight:400;cursor:pointer;}.challenge-pagination__btn--active.svelte-n87wfa {background:var(--accent, #ffcc00);color:var(--text-on-color, #261d00);}.challenge-pagination__btn.svelte-n87wfa:disabled {cursor:default;color:var(--text-muted, rgba(251, 251, 251, 0.15));}.challenge-pagination__btn--prev.svelte-n87wfa,
|
|
6
|
+
.challenge-pagination__btn--next.svelte-n87wfa {width:95px;}
|
|
7
|
+
|
|
8
|
+
@media (max-width: 767px) {.challenge-pagination__btn--prev.svelte-n87wfa,
|
|
9
|
+
.challenge-pagination__btn--next.svelte-n87wfa {width:90px;}
|
|
10
|
+
}.challenge-pagination__btn--prev.svelte-n87wfa:not(:disabled),
|
|
11
|
+
.challenge-pagination__btn--next.svelte-n87wfa:not(:disabled) {color:var(--text-default, #dfe3e8);}
|
|
12
|
+
}`};function T(x,l){e.push(l,!0),e.append_styles(x,Q);const w=()=>e.store_get(e.$format,"$_",A),[A,k]=e.setup_stores(),_=e.prop(l,"offset",7,0),u=e.prop(l,"limit",7,e.PAGE_SIZE_DEFAULT),h=e.prop(l,"total",7,0),c=e.prop(l,"onPageChange",7,t=>{}),p=e.prop(l,"locale",7,"en");e.untrack(()=>e.initI18n(p())),e.user_effect(()=>{e.setLocale(p()??"en")});const I=e.user_derived(()=>Number(_())||0),i=e.user_derived(()=>Number(u())||e.PAGE_SIZE_DEFAULT),N=e.user_derived(()=>Number(h())||0),f=e.user_derived(()=>Math.max(1,Math.ceil(e.get(N)/Math.max(1,e.get(i))))),o=e.user_derived(()=>e.get(i)>0?Math.floor(e.get(I)/e.get(i)):0),S=(t,n)=>t<=e.PAGINATION_VISIBLE_PAGE?Array.from({length:t},(s,b)=>b):n<=1||n>=t-2?[0,1,"ellipsis",t-2,t-1]:[0,"ellipsis",n,"ellipsis",t-1],M=e.user_derived(()=>S(e.get(f),e.get(o))),C=t=>c()(t*e.get(i)),L=()=>c()(Math.max(0,e.get(o)-1)*e.get(i)),j=()=>c()(Math.min(e.get(f)-1,e.get(o)+1)*e.get(i));var G={get offset(){return _()},set offset(t=0){_(t),e.flushSync()},get limit(){return u()},set limit(t=e.PAGE_SIZE_DEFAULT){u(t),e.flushSync()},get total(){return h()},set total(t=0){h(t),e.flushSync()},get onPageChange(){return c()},set onPageChange(t=n=>{}){c(t),e.flushSync()},get locale(){return p()},set locale(t="en"){p(t),e.flushSync()}},v=K(),D=e.child(v);{var z=t=>{var n=J(),s=e.child(n),b=e.child(s,!0);e.reset(s);var y=e.sibling(s,2);e.each(y,17,()=>e.get(M),e.index,(m,r)=>{var P=e.comment(),Z=e.first_child(P);{var H=g=>{var a=O();e.append(g,a)},q=g=>{var a=V();let E;var B=e.child(a,!0);e.reset(a),e.template_effect(()=>{E=e.set_class(a,1,"challenge-pagination__btn svelte-n87wfa",null,E,{"challenge-pagination__btn--active":e.get(r)===e.get(o)}),e.set_text(B,e.get(r)+1)}),e.delegated("click",a,()=>C(e.get(r))),e.append(g,a)};e.if_block(Z,g=>{e.get(r)==="ellipsis"?g(H):g(q,-1)})}e.append(m,P)});var d=e.sibling(y,2),U=e.child(d,!0);e.reset(d),e.reset(n),e.template_effect((m,r)=>{s.disabled=e.get(o)<=0,e.set_text(b,m),d.disabled=e.get(o)>=e.get(f)-1,e.set_text(U,r)},[()=>w()("prev"),()=>w()("next")]),e.delegated("click",s,L),e.delegated("click",d,j),e.append(t,n)};e.if_block(D,t=>{e.get(f)>1&&t(z)})}e.reset(v),e.append(x,v);var F=e.pop(G);return k(),F}e.delegate(["click"]);e.create_custom_element(T,{offset:{},limit:{},total:{},onPageChange:{},locale:{}},[],[],{mode:"open"});exports.Pagination=T;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { g as ae, c as ne, d as le, h as se, p, u as ie, q as oe, v as re, D as ce, z as D, a as _, b as ge, ai as M, k as m, e as d, m as fe, n as v, A as t, r as u, C as g, o as G, W as pe, R as _e, H as de, t as H, B as ve, i as T, j, _ as ue, l as he, $ as be, aj as xe } from "./ChallengeTabs-TgwP2u9F.js";
|
|
2
|
+
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
|
+
}, globalThis.customElements = { define() {
|
|
4
|
+
}, get() {
|
|
5
|
+
}, whenDefined() {
|
|
6
|
+
} });
|
|
7
|
+
var me = m('<span class="challenge-pagination__ellipsis svelte-n87wfa" aria-hidden="true">...</span>'), we = m('<button type="button"> </button>'), ye = m('<div class="challenge-pagination__pages svelte-n87wfa"><button class="challenge-pagination__btn challenge-pagination__btn--prev svelte-n87wfa" type="button"> </button> <!> <button class="challenge-pagination__btn challenge-pagination__btn--next svelte-n87wfa" type="button"> </button></div>'), Pe = m('<div class="challenge-pagination svelte-n87wfa"><!></div>');
|
|
8
|
+
const ke = {
|
|
9
|
+
hash: "svelte-n87wfa",
|
|
10
|
+
code: `
|
|
11
|
+
@layer challenge-pagination-component {.challenge-pagination.svelte-n87wfa {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;box-sizing:border-box;width:100%;}
|
|
12
|
+
|
|
13
|
+
@media (min-width: 768px) {.challenge-pagination.svelte-n87wfa {width:auto;margin-left:auto;justify-content:flex-end;padding-right:10px;}.challenge-pagination__pages.svelte-n87wfa {justify-content:flex-end;}
|
|
14
|
+
}.challenge-pagination__pages.svelte-n87wfa {display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:flex-start;}.challenge-pagination__ellipsis.svelte-n87wfa {display:inline-flex;align-items:center;justify-content:center;color:var(--text-default, #dfe3e8);font-size:13px;width:24px;}.challenge-pagination__btn.svelte-n87wfa {min-width:30px;height:30px;padding:4px 8px;border:none;border-radius:4px;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));color:var(--text-subtle, #dfe3e8);font-size:13px;font-weight:400;cursor:pointer;}.challenge-pagination__btn--active.svelte-n87wfa {background:var(--accent, #ffcc00);color:var(--text-on-color, #261d00);}.challenge-pagination__btn.svelte-n87wfa:disabled {cursor:default;color:var(--text-muted, rgba(251, 251, 251, 0.15));}.challenge-pagination__btn--prev.svelte-n87wfa,
|
|
15
|
+
.challenge-pagination__btn--next.svelte-n87wfa {width:95px;}
|
|
16
|
+
|
|
17
|
+
@media (max-width: 767px) {.challenge-pagination__btn--prev.svelte-n87wfa,
|
|
18
|
+
.challenge-pagination__btn--next.svelte-n87wfa {width:90px;}
|
|
19
|
+
}.challenge-pagination__btn--prev.svelte-n87wfa:not(:disabled),
|
|
20
|
+
.challenge-pagination__btn--next.svelte-n87wfa:not(:disabled) {color:var(--text-default, #dfe3e8);}
|
|
21
|
+
}`
|
|
22
|
+
};
|
|
23
|
+
function Ne(A, l) {
|
|
24
|
+
le(l, !0), se(A, ke);
|
|
25
|
+
const C = () => he(be, "$_", S), [S, B] = fe(), w = p(l, "offset", 7, 0), y = p(l, "limit", 7, M), P = p(l, "total", 7, 0), f = p(l, "onPageChange", 7, (e) => {
|
|
26
|
+
}), h = p(l, "locale", 7, "en");
|
|
27
|
+
ie(() => oe(h())), re(() => {
|
|
28
|
+
ce(h() ?? "en");
|
|
29
|
+
});
|
|
30
|
+
const q = g(() => Number(w()) || 0), s = g(() => Number(y()) || M), F = g(() => Number(P()) || 0), b = g(() => Math.max(1, Math.ceil(t(F) / Math.max(1, t(s))))), i = g(() => t(s) > 0 ? Math.floor(t(q) / t(s)) : 0), O = (e, a) => e <= xe ? Array.from({ length: e }, (o, N) => N) : a <= 1 || a >= e - 2 ? [0, 1, "ellipsis", e - 2, e - 1] : [0, "ellipsis", a, "ellipsis", e - 1], R = g(() => O(t(b), t(i))), U = (e) => f()(e * t(s)), V = () => f()(Math.max(0, t(i) - 1) * t(s)), W = () => f()(Math.min(t(b) - 1, t(i) + 1) * t(s));
|
|
31
|
+
var Z = {
|
|
32
|
+
get offset() {
|
|
33
|
+
return w();
|
|
34
|
+
},
|
|
35
|
+
set offset(e = 0) {
|
|
36
|
+
w(e), d();
|
|
37
|
+
},
|
|
38
|
+
get limit() {
|
|
39
|
+
return y();
|
|
40
|
+
},
|
|
41
|
+
set limit(e = M) {
|
|
42
|
+
y(e), d();
|
|
43
|
+
},
|
|
44
|
+
get total() {
|
|
45
|
+
return P();
|
|
46
|
+
},
|
|
47
|
+
set total(e = 0) {
|
|
48
|
+
P(e), d();
|
|
49
|
+
},
|
|
50
|
+
get onPageChange() {
|
|
51
|
+
return f();
|
|
52
|
+
},
|
|
53
|
+
set onPageChange(e = (a) => {
|
|
54
|
+
}) {
|
|
55
|
+
f(e), d();
|
|
56
|
+
},
|
|
57
|
+
get locale() {
|
|
58
|
+
return h();
|
|
59
|
+
},
|
|
60
|
+
set locale(e = "en") {
|
|
61
|
+
h(e), d();
|
|
62
|
+
}
|
|
63
|
+
}, k = Pe(), J = v(k);
|
|
64
|
+
{
|
|
65
|
+
var K = (e) => {
|
|
66
|
+
var a = ye(), o = v(a), N = v(o, !0);
|
|
67
|
+
u(o);
|
|
68
|
+
var I = G(o, 2);
|
|
69
|
+
pe(I, 17, () => t(R), ue, (E, r) => {
|
|
70
|
+
var L = _e(), Y = de(L);
|
|
71
|
+
{
|
|
72
|
+
var $ = (c) => {
|
|
73
|
+
var n = me();
|
|
74
|
+
_(c, n);
|
|
75
|
+
}, ee = (c) => {
|
|
76
|
+
var n = we();
|
|
77
|
+
let z;
|
|
78
|
+
var te = v(n, !0);
|
|
79
|
+
u(n), H(() => {
|
|
80
|
+
z = ve(n, 1, "challenge-pagination__btn svelte-n87wfa", null, z, {
|
|
81
|
+
"challenge-pagination__btn--active": t(r) === t(i)
|
|
82
|
+
}), T(te, t(r) + 1);
|
|
83
|
+
}), j("click", n, () => U(t(r))), _(c, n);
|
|
84
|
+
};
|
|
85
|
+
D(Y, (c) => {
|
|
86
|
+
t(r) === "ellipsis" ? c($) : c(ee, -1);
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
_(E, L);
|
|
90
|
+
});
|
|
91
|
+
var x = G(I, 2), X = v(x, !0);
|
|
92
|
+
u(x), u(a), H(
|
|
93
|
+
(E, r) => {
|
|
94
|
+
o.disabled = t(i) <= 0, T(N, E), x.disabled = t(i) >= t(b) - 1, T(X, r);
|
|
95
|
+
},
|
|
96
|
+
[() => C()("prev"), () => C()("next")]
|
|
97
|
+
), j("click", o, V), j("click", x, W), _(e, a);
|
|
98
|
+
};
|
|
99
|
+
D(J, (e) => {
|
|
100
|
+
t(b) > 1 && e(K);
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
u(k), _(A, k);
|
|
104
|
+
var Q = ge(Z);
|
|
105
|
+
return B(), Q;
|
|
106
|
+
}
|
|
107
|
+
ae(["click"]);
|
|
108
|
+
ne(
|
|
109
|
+
Ne,
|
|
110
|
+
{
|
|
111
|
+
offset: {},
|
|
112
|
+
limit: {},
|
|
113
|
+
total: {},
|
|
114
|
+
onPageChange: {},
|
|
115
|
+
locale: {}
|
|
116
|
+
},
|
|
117
|
+
[],
|
|
118
|
+
[],
|
|
119
|
+
{ mode: "open" }
|
|
120
|
+
);
|
|
121
|
+
export {
|
|
122
|
+
Ne as P
|
|
123
|
+
};
|