masoneffect 2.0.19 → 2.0.20
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/README.md +2 -2
- package/dist/core/count/index.d.ts.map +1 -1
- package/dist/core/count/index.test.d.ts +2 -0
- package/dist/core/count/index.test.d.ts.map +1 -0
- package/dist/core/scrollFadeIn/index.d.ts.map +1 -1
- package/dist/core/textSpin/index.d.ts.map +1 -1
- package/dist/core/textToParticle/index.d.ts.map +1 -1
- package/dist/core/typing/index.d.ts.map +1 -1
- package/dist/count/core/count/index.d.ts.map +1 -1
- package/dist/count/core/count/index.test.d.ts +2 -0
- package/dist/count/core/count/index.test.d.ts.map +1 -0
- package/dist/count/core/scrollFadeIn/index.d.ts.map +1 -1
- package/dist/count/core/textSpin/index.d.ts.map +1 -1
- package/dist/count/core/textToParticle/index.d.ts.map +1 -1
- package/dist/count/core/typing/index.d.ts.map +1 -1
- package/dist/count/react/MasonEffect.d.ts.map +1 -1
- package/dist/count/react/count/Count.d.ts.map +1 -1
- package/dist/count/react/index.d.ts +1 -1
- package/dist/count/react/index.d.ts.map +1 -1
- package/dist/count/react/scrollFadeIn/ScrollFadeIn.d.ts.map +1 -1
- package/dist/count/react/textSpin/TextSpin.d.ts.map +1 -1
- package/dist/count/react/textToParticle/TextToParticle.d.ts.map +1 -1
- package/dist/count/react/typing/Typing.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react/MasonEffect.d.ts.map +1 -1
- package/dist/react/core/count/index.test.d.ts +1 -0
- package/dist/react/count/Count.d.ts.map +1 -1
- package/dist/react/count/core/count/index.d.ts.map +1 -1
- package/dist/react/count/core/count/index.test.d.ts +2 -0
- package/dist/react/count/core/count/index.test.d.ts.map +1 -0
- package/dist/react/count/core/scrollFadeIn/index.d.ts.map +1 -1
- package/dist/react/count/core/textSpin/index.d.ts.map +1 -1
- package/dist/react/count/core/textToParticle/index.d.ts.map +1 -1
- package/dist/react/count/core/typing/index.d.ts.map +1 -1
- package/dist/react/count/index.cjs +1 -1
- package/dist/react/count/index.mjs +1 -1
- package/dist/react/count/react/MasonEffect.d.ts.map +1 -1
- package/dist/react/count/react/count/Count.d.ts.map +1 -1
- package/dist/react/count/react/index.d.ts +1 -1
- package/dist/react/count/react/index.d.ts.map +1 -1
- package/dist/react/count/react/scrollFadeIn/ScrollFadeIn.d.ts.map +1 -1
- package/dist/react/count/react/textSpin/TextSpin.d.ts.map +1 -1
- package/dist/react/count/react/textToParticle/TextToParticle.d.ts.map +1 -1
- package/dist/react/count/react/typing/Typing.d.ts.map +1 -1
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/react/index.d.ts +1 -1
- package/dist/react/scrollFadeIn/ScrollFadeIn.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/core/count/index.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/core/count/index.test.d.ts +2 -0
- package/dist/react/scrollFadeIn/core/count/index.test.d.ts.map +1 -0
- package/dist/react/scrollFadeIn/core/scrollFadeIn/index.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/core/textSpin/index.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/core/textToParticle/index.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/core/typing/index.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/index.cjs +1 -1
- package/dist/react/scrollFadeIn/index.mjs +1 -1
- package/dist/react/scrollFadeIn/react/MasonEffect.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/react/count/Count.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/react/index.d.ts +1 -1
- package/dist/react/scrollFadeIn/react/index.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/react/scrollFadeIn/ScrollFadeIn.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/react/textSpin/TextSpin.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/react/textToParticle/TextToParticle.d.ts.map +1 -1
- package/dist/react/scrollFadeIn/react/typing/Typing.d.ts.map +1 -1
- package/dist/react/textSpin/TextSpin.d.ts.map +1 -1
- package/dist/react/textSpin/core/count/index.d.ts.map +1 -1
- package/dist/react/textSpin/core/count/index.test.d.ts +2 -0
- package/dist/react/textSpin/core/count/index.test.d.ts.map +1 -0
- package/dist/react/textSpin/core/scrollFadeIn/index.d.ts.map +1 -1
- package/dist/react/textSpin/core/textSpin/index.d.ts.map +1 -1
- package/dist/react/textSpin/core/textToParticle/index.d.ts.map +1 -1
- package/dist/react/textSpin/core/typing/index.d.ts.map +1 -1
- package/dist/react/textSpin/index.cjs +1 -1
- package/dist/react/textSpin/index.mjs +1 -1
- package/dist/react/textSpin/react/MasonEffect.d.ts.map +1 -1
- package/dist/react/textSpin/react/count/Count.d.ts.map +1 -1
- package/dist/react/textSpin/react/index.d.ts +1 -1
- package/dist/react/textSpin/react/index.d.ts.map +1 -1
- package/dist/react/textSpin/react/scrollFadeIn/ScrollFadeIn.d.ts.map +1 -1
- package/dist/react/textSpin/react/textSpin/TextSpin.d.ts.map +1 -1
- package/dist/react/textSpin/react/textToParticle/TextToParticle.d.ts.map +1 -1
- package/dist/react/textSpin/react/typing/Typing.d.ts.map +1 -1
- package/dist/react/textToParticle/TextToParticle.d.ts.map +1 -1
- package/dist/react/textToParticle/core/count/index.d.ts.map +1 -1
- package/dist/react/textToParticle/core/count/index.test.d.ts +2 -0
- package/dist/react/textToParticle/core/count/index.test.d.ts.map +1 -0
- package/dist/react/textToParticle/core/scrollFadeIn/index.d.ts.map +1 -1
- package/dist/react/textToParticle/core/textSpin/index.d.ts.map +1 -1
- package/dist/react/textToParticle/core/textToParticle/index.d.ts.map +1 -1
- package/dist/react/textToParticle/core/typing/index.d.ts.map +1 -1
- package/dist/react/textToParticle/index.cjs +1 -1
- package/dist/react/textToParticle/index.mjs +1 -1
- package/dist/react/textToParticle/react/MasonEffect.d.ts.map +1 -1
- package/dist/react/textToParticle/react/count/Count.d.ts.map +1 -1
- package/dist/react/textToParticle/react/index.d.ts +1 -1
- package/dist/react/textToParticle/react/index.d.ts.map +1 -1
- package/dist/react/textToParticle/react/scrollFadeIn/ScrollFadeIn.d.ts.map +1 -1
- package/dist/react/textToParticle/react/textSpin/TextSpin.d.ts.map +1 -1
- package/dist/react/textToParticle/react/textToParticle/TextToParticle.d.ts.map +1 -1
- package/dist/react/textToParticle/react/typing/Typing.d.ts.map +1 -1
- package/dist/react/typing/Typing.d.ts.map +1 -1
- package/dist/react/typing/core/count/index.d.ts.map +1 -1
- package/dist/react/typing/core/count/index.test.d.ts +2 -0
- package/dist/react/typing/core/count/index.test.d.ts.map +1 -0
- package/dist/react/typing/core/scrollFadeIn/index.d.ts.map +1 -1
- package/dist/react/typing/core/textSpin/index.d.ts.map +1 -1
- package/dist/react/typing/core/textToParticle/index.d.ts.map +1 -1
- package/dist/react/typing/core/typing/index.d.ts.map +1 -1
- package/dist/react/typing/index.cjs +1 -1
- package/dist/react/typing/index.mjs +1 -1
- package/dist/react/typing/react/MasonEffect.d.ts.map +1 -1
- package/dist/react/typing/react/count/Count.d.ts.map +1 -1
- package/dist/react/typing/react/index.d.ts +1 -1
- package/dist/react/typing/react/index.d.ts.map +1 -1
- package/dist/react/typing/react/scrollFadeIn/ScrollFadeIn.d.ts.map +1 -1
- package/dist/react/typing/react/textSpin/TextSpin.d.ts.map +1 -1
- package/dist/react/typing/react/textToParticle/TextToParticle.d.ts.map +1 -1
- package/dist/react/typing/react/typing/Typing.d.ts.map +1 -1
- package/dist/scrollFadeIn/core/count/index.d.ts.map +1 -1
- package/dist/scrollFadeIn/core/count/index.test.d.ts +2 -0
- package/dist/scrollFadeIn/core/count/index.test.d.ts.map +1 -0
- package/dist/scrollFadeIn/core/scrollFadeIn/index.d.ts.map +1 -1
- package/dist/scrollFadeIn/core/textSpin/index.d.ts.map +1 -1
- package/dist/scrollFadeIn/core/textToParticle/index.d.ts.map +1 -1
- package/dist/scrollFadeIn/core/typing/index.d.ts.map +1 -1
- package/dist/scrollFadeIn/index.cjs +1 -1
- package/dist/scrollFadeIn/index.mjs +1 -1
- package/dist/scrollFadeIn/react/MasonEffect.d.ts.map +1 -1
- package/dist/scrollFadeIn/react/count/Count.d.ts.map +1 -1
- package/dist/scrollFadeIn/react/index.d.ts +1 -1
- package/dist/scrollFadeIn/react/index.d.ts.map +1 -1
- package/dist/scrollFadeIn/react/scrollFadeIn/ScrollFadeIn.d.ts.map +1 -1
- package/dist/scrollFadeIn/react/textSpin/TextSpin.d.ts.map +1 -1
- package/dist/scrollFadeIn/react/textToParticle/TextToParticle.d.ts.map +1 -1
- package/dist/scrollFadeIn/react/typing/Typing.d.ts.map +1 -1
- package/dist/svelte/index.cjs +1 -1
- package/dist/svelte/index.mjs +165 -13
- package/dist/svelte/scrollFadeIn/index.cjs +1 -1
- package/dist/svelte/scrollFadeIn/index.mjs +4 -2
- package/dist/svelte/textSpin/index.cjs +1 -1
- package/dist/svelte/textSpin/index.mjs +1 -2
- package/dist/svelte/textToParticle/index.mjs +4 -1
- package/dist/svelte/typing/index.mjs +156 -8
- package/dist/textSpin/core/count/index.d.ts.map +1 -1
- package/dist/textSpin/core/count/index.test.d.ts +2 -0
- package/dist/textSpin/core/count/index.test.d.ts.map +1 -0
- package/dist/textSpin/core/scrollFadeIn/index.d.ts.map +1 -1
- package/dist/textSpin/core/textSpin/index.d.ts.map +1 -1
- package/dist/textSpin/core/textToParticle/index.d.ts.map +1 -1
- package/dist/textSpin/core/typing/index.d.ts.map +1 -1
- package/dist/textSpin/index.cjs +1 -1
- package/dist/textSpin/index.mjs +1 -1
- package/dist/textSpin/react/MasonEffect.d.ts.map +1 -1
- package/dist/textSpin/react/count/Count.d.ts.map +1 -1
- package/dist/textSpin/react/index.d.ts +1 -1
- package/dist/textSpin/react/index.d.ts.map +1 -1
- package/dist/textSpin/react/scrollFadeIn/ScrollFadeIn.d.ts.map +1 -1
- package/dist/textSpin/react/textSpin/TextSpin.d.ts.map +1 -1
- package/dist/textSpin/react/textToParticle/TextToParticle.d.ts.map +1 -1
- package/dist/textSpin/react/typing/Typing.d.ts.map +1 -1
- package/dist/textToParticle/core/count/index.d.ts.map +1 -1
- package/dist/textToParticle/core/count/index.test.d.ts +2 -0
- package/dist/textToParticle/core/count/index.test.d.ts.map +1 -0
- package/dist/textToParticle/core/scrollFadeIn/index.d.ts.map +1 -1
- package/dist/textToParticle/core/textSpin/index.d.ts.map +1 -1
- package/dist/textToParticle/core/textToParticle/index.d.ts.map +1 -1
- package/dist/textToParticle/core/typing/index.d.ts.map +1 -1
- package/dist/textToParticle/react/MasonEffect.d.ts.map +1 -1
- package/dist/textToParticle/react/count/Count.d.ts.map +1 -1
- package/dist/textToParticle/react/index.d.ts +1 -1
- package/dist/textToParticle/react/index.d.ts.map +1 -1
- package/dist/textToParticle/react/scrollFadeIn/ScrollFadeIn.d.ts.map +1 -1
- package/dist/textToParticle/react/textSpin/TextSpin.d.ts.map +1 -1
- package/dist/textToParticle/react/textToParticle/TextToParticle.d.ts.map +1 -1
- package/dist/textToParticle/react/typing/Typing.d.ts.map +1 -1
- package/dist/typing/core/count/index.d.ts.map +1 -1
- package/dist/typing/core/count/index.test.d.ts +2 -0
- package/dist/typing/core/count/index.test.d.ts.map +1 -0
- package/dist/typing/core/scrollFadeIn/index.d.ts.map +1 -1
- package/dist/typing/core/textSpin/index.d.ts.map +1 -1
- package/dist/typing/core/textToParticle/index.d.ts.map +1 -1
- package/dist/typing/core/typing/index.d.ts.map +1 -1
- package/dist/typing/react/MasonEffect.d.ts.map +1 -1
- package/dist/typing/react/count/Count.d.ts.map +1 -1
- package/dist/typing/react/index.d.ts +1 -1
- package/dist/typing/react/index.d.ts.map +1 -1
- package/dist/typing/react/scrollFadeIn/ScrollFadeIn.d.ts.map +1 -1
- package/dist/typing/react/textSpin/TextSpin.d.ts.map +1 -1
- package/dist/typing/react/textToParticle/TextToParticle.d.ts.map +1 -1
- package/dist/typing/react/typing/Typing.d.ts.map +1 -1
- package/dist/vue/index.cjs +1 -1
- package/dist/vue/index.mjs +169 -17
- package/dist/vue/scrollFadeIn/index.cjs +1 -1
- package/dist/vue/scrollFadeIn/index.mjs +4 -2
- package/dist/vue/textSpin/index.cjs +1 -1
- package/dist/vue/textSpin/index.mjs +1 -2
- package/dist/vue/textToParticle/index.mjs +4 -1
- package/dist/vue/typing/index.cjs +1 -1
- package/dist/vue/typing/index.mjs +160 -12
- package/package.json +35 -14
package/dist/svelte/index.mjs
CHANGED
|
@@ -495,7 +495,10 @@ class TextToParticle {
|
|
|
495
495
|
this.handleMouseDown = this.handleMouseDown.bind(this);
|
|
496
496
|
this.handleMouseUp = this.handleMouseUp.bind(this);
|
|
497
497
|
this._debouncedMorph = debounce(this._morphInternal.bind(this), this.debounceDelay);
|
|
498
|
-
this._debouncedUpdateConfig = debounce(
|
|
498
|
+
this._debouncedUpdateConfig = debounce(
|
|
499
|
+
this._updateConfigInternal.bind(this),
|
|
500
|
+
this.debounceDelay
|
|
501
|
+
);
|
|
499
502
|
this.init();
|
|
500
503
|
}
|
|
501
504
|
init() {
|
|
@@ -985,9 +988,80 @@ function decomposeHangul(char) {
|
|
|
985
988
|
const initial = Math.floor(base / (21 * 28));
|
|
986
989
|
const medial = Math.floor(base % (21 * 28) / 28);
|
|
987
990
|
const final = base % 28;
|
|
988
|
-
const initialChars = [
|
|
989
|
-
|
|
990
|
-
|
|
991
|
+
const initialChars = [
|
|
992
|
+
"ㄱ",
|
|
993
|
+
"ㄲ",
|
|
994
|
+
"ㄴ",
|
|
995
|
+
"ㄷ",
|
|
996
|
+
"ㄸ",
|
|
997
|
+
"ㄹ",
|
|
998
|
+
"ㅁ",
|
|
999
|
+
"ㅂ",
|
|
1000
|
+
"ㅃ",
|
|
1001
|
+
"ㅅ",
|
|
1002
|
+
"ㅆ",
|
|
1003
|
+
"ㅇ",
|
|
1004
|
+
"ㅈ",
|
|
1005
|
+
"ㅉ",
|
|
1006
|
+
"ㅊ",
|
|
1007
|
+
"ㅋ",
|
|
1008
|
+
"ㅌ",
|
|
1009
|
+
"ㅍ",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
|
991
1065
|
const result = [];
|
|
992
1066
|
result.push(initialChars[initial]);
|
|
993
1067
|
result.push(medialChars[medial]);
|
|
@@ -997,9 +1071,80 @@ function decomposeHangul(char) {
|
|
|
997
1071
|
return result;
|
|
998
1072
|
}
|
|
999
1073
|
function composeHangul(initial, medial, final) {
|
|
1000
|
-
const initialChars = [
|
|
1001
|
-
|
|
1002
|
-
|
|
1074
|
+
const initialChars = [
|
|
1075
|
+
"ㄱ",
|
|
1076
|
+
"ㄲ",
|
|
1077
|
+
"ㄴ",
|
|
1078
|
+
"ㄷ",
|
|
1079
|
+
"ㄸ",
|
|
1080
|
+
"ㄹ",
|
|
1081
|
+
"ㅁ",
|
|
1082
|
+
"ㅂ",
|
|
1083
|
+
"ㅃ",
|
|
1084
|
+
"ㅅ",
|
|
1085
|
+
"ㅆ",
|
|
1086
|
+
"ㅇ",
|
|
1087
|
+
"ㅈ",
|
|
1088
|
+
"ㅉ",
|
|
1089
|
+
"ㅊ",
|
|
1090
|
+
"ㅋ",
|
|
1091
|
+
"ㅌ",
|
|
1092
|
+
"ㅍ",
|
|
1093
|
+
"ㅎ"
|
|
1094
|
+
];
|
|
1095
|
+
const medialChars = [
|
|
1096
|
+
"ㅏ",
|
|
1097
|
+
"ㅐ",
|
|
1098
|
+
"ㅑ",
|
|
1099
|
+
"ㅒ",
|
|
1100
|
+
"ㅓ",
|
|
1101
|
+
"ㅔ",
|
|
1102
|
+
"ㅕ",
|
|
1103
|
+
"ㅖ",
|
|
1104
|
+
"ㅗ",
|
|
1105
|
+
"ㅘ",
|
|
1106
|
+
"ㅙ",
|
|
1107
|
+
"ㅚ",
|
|
1108
|
+
"ㅛ",
|
|
1109
|
+
"ㅜ",
|
|
1110
|
+
"ㅝ",
|
|
1111
|
+
"ㅞ",
|
|
1112
|
+
"ㅟ",
|
|
1113
|
+
"ㅠ",
|
|
1114
|
+
"ㅡ",
|
|
1115
|
+
"ㅢ",
|
|
1116
|
+
"ㅣ"
|
|
1117
|
+
];
|
|
1118
|
+
const finalChars = [
|
|
1119
|
+
"",
|
|
1120
|
+
"ㄱ",
|
|
1121
|
+
"ㄲ",
|
|
1122
|
+
"ㄳ",
|
|
1123
|
+
"ㄴ",
|
|
1124
|
+
"ㄵ",
|
|
1125
|
+
"ㄶ",
|
|
1126
|
+
"ㄷ",
|
|
1127
|
+
"ㄹ",
|
|
1128
|
+
"ㄺ",
|
|
1129
|
+
"ㄻ",
|
|
1130
|
+
"ㄼ",
|
|
1131
|
+
"ㄽ",
|
|
1132
|
+
"ㄾ",
|
|
1133
|
+
"ㄿ",
|
|
1134
|
+
"ㅀ",
|
|
1135
|
+
"ㅁ",
|
|
1136
|
+
"ㅂ",
|
|
1137
|
+
"ㅄ",
|
|
1138
|
+
"ㅅ",
|
|
1139
|
+
"ㅆ",
|
|
1140
|
+
"ㅇ",
|
|
1141
|
+
"ㅈ",
|
|
1142
|
+
"ㅊ",
|
|
1143
|
+
"ㅋ",
|
|
1144
|
+
"ㅌ",
|
|
1145
|
+
"ㅍ",
|
|
1146
|
+
"ㅎ"
|
|
1147
|
+
];
|
|
1003
1148
|
const initialIndex = initialChars.indexOf(initial);
|
|
1004
1149
|
const medialIndex = medialChars.indexOf(medial);
|
|
1005
1150
|
const finalIndex = final ? finalChars.indexOf(final) : 0;
|
|
@@ -1182,10 +1327,16 @@ class Typing {
|
|
|
1182
1327
|
this.updateDisplay("");
|
|
1183
1328
|
}
|
|
1184
1329
|
updateDisplay(text) {
|
|
1185
|
-
const textWithoutCursor = text.replace(
|
|
1330
|
+
const textWithoutCursor = text.replace(
|
|
1331
|
+
new RegExp(this.escapeHtml(this.config.cursorChar) + "$"),
|
|
1332
|
+
""
|
|
1333
|
+
);
|
|
1186
1334
|
const hasCursor = text.endsWith(this.config.cursorChar);
|
|
1187
1335
|
const previousTextContent = this.container.textContent || "";
|
|
1188
|
-
const previousTextWithoutCursor = previousTextContent.replace(
|
|
1336
|
+
const previousTextWithoutCursor = previousTextContent.replace(
|
|
1337
|
+
new RegExp(this.config.cursorChar + "$"),
|
|
1338
|
+
""
|
|
1339
|
+
);
|
|
1189
1340
|
let html = "";
|
|
1190
1341
|
for (let i = 0; i < textWithoutCursor.length; i++) {
|
|
1191
1342
|
const char = textWithoutCursor[i];
|
|
@@ -1287,13 +1438,15 @@ class ScrollFadeIn {
|
|
|
1287
1438
|
case "px":
|
|
1288
1439
|
return value;
|
|
1289
1440
|
case "rem":
|
|
1290
|
-
case "em":
|
|
1441
|
+
case "em": {
|
|
1291
1442
|
const fontSize = parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;
|
|
1292
1443
|
return value * fontSize;
|
|
1293
|
-
|
|
1444
|
+
}
|
|
1445
|
+
case "%": {
|
|
1294
1446
|
const rect = this.container.getBoundingClientRect();
|
|
1295
1447
|
const dimension = this.config.direction === "top" || this.config.direction === "bottom" ? rect.height : rect.width;
|
|
1296
1448
|
return value / 100 * dimension;
|
|
1449
|
+
}
|
|
1297
1450
|
case "vh":
|
|
1298
1451
|
return value / 100 * window.innerHeight;
|
|
1299
1452
|
case "vw":
|
|
@@ -1534,7 +1687,7 @@ class TextSpin {
|
|
|
1534
1687
|
chars.forEach(() => {
|
|
1535
1688
|
this.randomPoints.push(Math.random());
|
|
1536
1689
|
});
|
|
1537
|
-
chars.forEach((char
|
|
1690
|
+
chars.forEach((char) => {
|
|
1538
1691
|
const charElement = document.createElement("span");
|
|
1539
1692
|
charElement.className = "masoneffect-textspin-char";
|
|
1540
1693
|
charElement.style.transition = `opacity ${this.config.duration}s ease-out, transform ${this.config.duration}s ease-out`;
|
|
@@ -1622,7 +1775,6 @@ class TextSpin {
|
|
|
1622
1775
|
updateConfig(newConfig) {
|
|
1623
1776
|
var _a;
|
|
1624
1777
|
const wasActive = this.isActive;
|
|
1625
|
-
this.config.enabled;
|
|
1626
1778
|
const isEnabledChanging = newConfig.enabled !== void 0 && newConfig.enabled !== this.config.enabled;
|
|
1627
1779
|
if (isEnabledChanging && newConfig.enabled === false) {
|
|
1628
1780
|
this.stop();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=Object.defineProperty,i=(i,n,e)=>((i,n,e)=>n in i?t(i,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[n]=e)(i,"symbol"!=typeof n?n+"":n,e);const n=require("svelte");function e(){}function s(t){return t()}function o(){return Object.create(null)}function r(t){t.forEach(s)}function a(t){return"function"==typeof t}function c(t,i){return t!=t?i==i:t!==i||t&&"object"==typeof t||"function"==typeof t}function h(t,i,n,e){return t[1]&&e?function(t,i){for(const n in i)t[n]=i[n];return t}(n.ctx.slice(),t[1](e(i))):n.ctx}function l(t){t.parentNode&&t.parentNode.removeChild(t)}function d(t,i,n){null==n?t.removeAttribute(i):t.getAttribute(i)!==n&&t.setAttribute(i,n)}let u;function g(t){u=t}const f=[],p=[];let m=[];const b=[],y=Promise.resolve();let $=!1;function v(t){m.push(t)}const w=new Set;let x=0;function O(){if(0!==x)return;const t=u;do{try{for(;x<f.length;){const t=f[x];x++,g(t),M(t.$$)}}catch(i){throw f.length=0,x=0,i}for(g(null),f.length=0,x=0;p.length;)p.pop()();for(let t=0;t<m.length;t+=1){const i=m[t];w.has(i)||(w.add(i),i())}m.length=0}while(f.length);for(;b.length;)b.pop()();$=!1,w.clear(),g(t)}function M(t){if(null!==t.fragment){t.update(),r(t.before_update);const i=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,i),t.after_update.forEach(v)}}const V=new Set;function C(t,i){t&&t.i&&(V.delete(t),t.i(i))}function _(t,i){const n=t.$$;null!==n.fragment&&(!function(t){const i=[],n=[];m.forEach(e=>-1===t.indexOf(e)?i.push(e):n.push(e)),n.forEach(t=>t()),m=i}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(i),n.on_destroy=n.fragment=null,n.ctx=[])}function I(t,i){-1===t.$$.dirty[0]&&(f.push(t),$||($=!0,y.then(O)),t.$$.dirty.fill(0)),t.$$.dirty[i/31|0]|=1<<i%31}function S(t,i,n,c,h,d,f=null,p=[-1]){const m=u;g(t);const b=t.$$={fragment:null,ctx:[],props:d,update:e,not_equal:h,bound:o(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(i.context||(m?m.$$.context:[])),callbacks:o(),dirty:p,skip_bound:!1,root:i.target||m.$$.root};f&&f(b.root);let y=!1;if(b.ctx=n?n(t,i.props||{},(i,n,...e)=>{const s=e.length?e[0]:n;return b.ctx&&h(b.ctx[i],b.ctx[i]=s)&&(!b.skip_bound&&b.bound[i]&&b.bound[i](s),y&&I(t,i)),n}):[],b.update(),y=!0,r(b.before_update),b.fragment=!!c&&c(b.ctx),i.target){if(i.hydrate){const t=($=i.target,Array.from($.childNodes));b.fragment&&b.fragment.l(t),t.forEach(l)}else b.fragment&&b.fragment.c();i.intro&&C(t.$$.fragment),function(t,i,n){const{fragment:e,after_update:o}=t.$$;e&&e.m(i,n),v(()=>{const i=t.$$.on_mount.map(s).filter(a);t.$$.on_destroy?t.$$.on_destroy.push(...i):r(i),t.$$.on_mount=[]}),o.forEach(v)}(t,i.target,i.anchor),O()}var $;g(m)}class D{constructor(){i(this,"$$"),i(this,"$$set")}$destroy(){_(this,1),this.$destroy=e}$on(t,i){if(!a(i))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const t=n.indexOf(i);-1!==t&&n.splice(t,1)}}$set(t){var i;this.$$set&&(i=t,0!==Object.keys(i).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class H{constructor(t,i={}){this.container=t,this.options={threshold:i.threshold??.1,rootMargin:i.rootMargin??"0px",root:i.root??null,onVisible:i.onVisible,onHidden:i.onHidden},this.intersectionObserver=null,this.visibilityChangeHandler=null,this.isVisible=!1,this.isPageVisible="undefined"==typeof document||!document.hidden,this.setupIntersectionObserver(),this.setupPageVisibility()}setupIntersectionObserver(){if("undefined"==typeof window||void 0===window.IntersectionObserver)return this.isVisible=!0,void(this.isPageVisible&&this.options.onVisible&&this.options.onVisible());this.intersectionObserver=new IntersectionObserver(t=>{for(const i of t)i.target===this.container&&(i.isIntersecting?(this.isVisible=!0,this.isPageVisible&&this.options.onVisible&&this.options.onVisible()):(this.isVisible=!1,this.options.onHidden&&this.options.onHidden()))},{threshold:this.options.threshold,rootMargin:this.options.rootMargin,root:this.options.root||null}),this.intersectionObserver.observe(this.container)}setupPageVisibility(){"undefined"!=typeof document&&(this.visibilityChangeHandler=()=>{const t=this.isPageVisible;this.isPageVisible=!document.hidden,document.hidden?this.options.onHidden&&this.options.onHidden():t!==this.isPageVisible&&this.isVisible&&this.options.onVisible&&this.options.onVisible()},document.addEventListener("visibilitychange",this.visibilityChangeHandler),document.hidden&&this.isVisible&&this.options.onHidden&&this.options.onHidden())}getIsVisible(){return this.isVisible&&this.isPageVisible}updateOptions(t){this.options={...this.options,...t},this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null),this.setupIntersectionObserver()}destroy(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null),this.visibilityChangeHandler&&"undefined"!=typeof document&&(document.removeEventListener("visibilitychange",this.visibilityChangeHandler),this.visibilityChangeHandler=null)}}const P=t=>--t*t*t+1;class T{constructor(t,i={}){if(this.container="string"==typeof t?document.querySelector(t):t,!this.container)throw new Error("Container element not found");this.config={direction:i.direction??"bottom",distance:i.distance??"50px",duration:i.duration??800,threshold:i.threshold??.1,rootMargin:i.rootMargin??"0px",root:i.root??null,triggerOnce:i.triggerOnce??!1,enabled:i.enabled??!0,onStart:i.onStart||null,onComplete:i.onComplete||null},this.easing=P,this.visibilityManager=null,this.animationFrameId=null,this.startTime=null,this.isRunning=!1,this.hasTriggered=!1,this.initialTransform="",this.targetDistance=0,this.init()}init(){const t=window.getComputedStyle(this.container);this.initialTransform="none"!==t.transform?t.transform:this.container.style.transform||"",this.targetDistance=this.parseDistance(this.config.distance),this.setInitialPosition(),this.setupVisibilityManager()}parseDistance(t){const i=t.match(/^(-?\d+\.?\d*)(px|rem|em|%|vh|vw)$/);if(!i){return parseFloat(t)||50}const n=parseFloat(i[1]);switch(i[2]){case"px":default:return n;case"rem":case"em":return n*(parseFloat(getComputedStyle(document.documentElement).fontSize)||16);case"%":const t=this.container.getBoundingClientRect();return n/100*("top"===this.config.direction||"bottom"===this.config.direction?t.height:t.width);case"vh":return n/100*window.innerHeight;case"vw":return n/100*window.innerWidth}}setInitialPosition(){let t=0,i=0;switch(this.config.direction){case"top":i=-this.targetDistance;break;case"right":t=this.targetDistance;break;case"bottom":i=this.targetDistance;break;case"left":t=-this.targetDistance}const n=this.initialTransform||"",e=`translate(${t}px, ${i}px)`;this.container.style.transform=n&&"none"!==n?`${e} ${n}`:e,this.container.style.opacity="0",this.container.style.transition="none"}setupVisibilityManager(){this.visibilityManager=new H(this.container,{threshold:this.config.threshold,rootMargin:this.config.rootMargin,root:this.config.root,onVisible:()=>{this.config.enabled&&(this.config.triggerOnce&&this.hasTriggered||(this.hasTriggered=!0,this.start()))},onHidden:()=>{this.config.enabled&&(this.stop(),this.config.triggerOnce||(this.hasTriggered=!1),this.setInitialPosition())}})}start(){this.isRunning||(this.isRunning=!0,this.startTime=performance.now(),this.config.onStart&&this.config.onStart(),this.container.style.transition="none",this.animate())}animate(){if(!this.isRunning)return;const t=performance.now()-(this.startTime||0),i=Math.min(t/this.config.duration,1),n=this.easing(i);let e=0,s=0;switch(this.config.direction){case"top":s=-this.targetDistance*(1-n);break;case"right":e=this.targetDistance*(1-n);break;case"bottom":s=this.targetDistance*(1-n);break;case"left":e=-this.targetDistance*(1-n)}const o=this.initialTransform||"",r=`translate(${e}px, ${s}px)`;this.container.style.transform=o&&"none"!==o?`${r} ${o}`:r,this.container.style.opacity=String(n),i<1?this.animationFrameId=requestAnimationFrame(()=>this.animate()):this.complete()}complete(){this.isRunning=!1,this.initialTransform&&"none"!==this.initialTransform?this.container.style.transform=this.initialTransform:this.container.style.transform="",this.container.style.opacity="1",this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null),this.config.onComplete&&this.config.onComplete()}reset(){this.stop(),this.hasTriggered=!1,this.setInitialPosition()}stop(){this.isRunning=!1,this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null)}updateConfig(t){const i=this.isRunning;this.stop(),this.config={...this.config,...t,onStart:t.onStart??this.config.onStart,onComplete:t.onComplete??this.config.onComplete},t.distance&&(this.targetDistance=this.parseDistance(this.config.distance)),this.setInitialPosition(),void 0===t.threshold&&void 0===t.rootMargin&&void 0===t.root||(this.visibilityManager&&(this.visibilityManager.destroy(),this.visibilityManager=null),this.setupVisibilityManager()),i&&this.config.enabled&&this.start()}destroy(){this.stop(),this.visibilityManager&&(this.visibilityManager.destroy(),this.visibilityManager=null),this.container.style.transform=this.initialTransform||"",this.container.style.opacity="",this.container.style.transition=""}}function k(t){let i,n;const e=t[18].default,s=function(t,i,n,e){if(t){const s=h(t,i,n,e);return t[0](s)}}(e,t,t[17],null);return{c(){var n;n="div",i=document.createElement(n),s&&s.c(),d(i,"class",t[0]),d(i,"style",t[1])},m(e,o){!function(t,i,n){t.insertBefore(i,n||null)}(e,i,o),s&&s.m(i,null),t[19](i),n=!0},p(t,[o]){var r,a;s&&s.p&&(!n||131072&o)&&function(t,i,n,e,s,o){if(s){const r=h(i,n,e,o);t.p(r,s)}}(s,e,t,t[17],n?(r=e,a=t[17],r[2],a.dirty):function(t){if(t.ctx.length>32){const i=[],n=t.ctx.length/32;for(let t=0;t<n;t++)i[t]=-1;return i}return-1}(t[17]),null),(!n||1&o)&&d(i,"class",t[0]),(!n||2&o)&&d(i,"style",t[1])},i(t){n||(C(s,t),n=!0)},o(t){!function(t,i){if(t&&t.o){if(V.has(t))return;V.add(t),(void 0).c.push(()=>{V.delete(t)}),t.o(i)}}(s,t),n=!1},d(n){n&&l(i),s&&s.d(n),t[19](null)}}}function F(t,i,e){let{$$slots:s={},$$scope:o}=i,{direction:r="bottom"}=i,{distance:a="50px"}=i,{duration:c=800}=i,{threshold:h=.1}=i,{rootMargin:l="0px"}=i,{root:d=null}=i,{triggerOnce:u=!1}=i,{enabled:g=!0}=i,{className:f=""}=i,{style:m={}}=i;const b=n.createEventDispatcher();let y,$=null;return n.onMount(()=>{if(!y)return;e(16,$=new T(y,{direction:r,distance:a,duration:c,threshold:h,rootMargin:l,root:d,triggerOnce:u,enabled:g,onStart:()=>{b("start")},onComplete:()=>{b("complete")}}))}),n.onDestroy(()=>{$&&($.destroy(),e(16,$=null))}),t.$$set=t=>{"direction"in t&&e(3,r=t.direction),"distance"in t&&e(4,a=t.distance),"duration"in t&&e(5,c=t.duration),"threshold"in t&&e(6,h=t.threshold),"rootMargin"in t&&e(7,l=t.rootMargin),"root"in t&&e(8,d=t.root),"triggerOnce"in t&&e(9,u=t.triggerOnce),"enabled"in t&&e(10,g=t.enabled),"className"in t&&e(0,f=t.className),"style"in t&&e(1,m=t.style),"$$scope"in t&&e(17,o=t.$$scope)},t.$$.update=()=>{67576&t.$$.dirty&&$&&$.updateConfig({direction:r,distance:a,duration:c,threshold:h,rootMargin:l,root:d,triggerOnce:u,enabled:g,onStart:()=>{b("start")},onComplete:()=>{b("complete")}})},[f,m,y,r,a,c,h,l,d,u,g,function(){$&&$.start()},function(){$&&$.stop()},function(){$&&$.reset()},function(t){$&&$.updateConfig(t)},function(){$&&($.destroy(),e(16,$=null))},$,o,s,function(t){p[t?"unshift":"push"](()=>{y=t,e(2,y)})}]}module.exports=class extends D{constructor(t){super(),S(this,t,F,k,c,{direction:3,distance:4,duration:5,threshold:6,rootMargin:7,root:8,triggerOnce:9,enabled:10,className:0,style:1,start:11,stop:12,reset:13,updateConfig:14,destroy:15})}get start(){return this.$$.ctx[11]}get stop(){return this.$$.ctx[12]}get reset(){return this.$$.ctx[13]}get updateConfig(){return this.$$.ctx[14]}get destroy(){return this.$$.ctx[15]}};
|
|
1
|
+
"use strict";var t=Object.defineProperty,i=(i,n,e)=>((i,n,e)=>n in i?t(i,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[n]=e)(i,"symbol"!=typeof n?n+"":n,e);const n=require("svelte");function e(){}function s(t){return t()}function o(){return Object.create(null)}function r(t){t.forEach(s)}function a(t){return"function"==typeof t}function c(t,i){return t!=t?i==i:t!==i||t&&"object"==typeof t||"function"==typeof t}function h(t,i,n,e){return t[1]&&e?function(t,i){for(const n in i)t[n]=i[n];return t}(n.ctx.slice(),t[1](e(i))):n.ctx}function l(t){t.parentNode&&t.parentNode.removeChild(t)}function d(t,i,n){null==n?t.removeAttribute(i):t.getAttribute(i)!==n&&t.setAttribute(i,n)}let u;function g(t){u=t}const f=[],p=[];let m=[];const b=[],y=Promise.resolve();let $=!1;function v(t){m.push(t)}const w=new Set;let x=0;function O(){if(0!==x)return;const t=u;do{try{for(;x<f.length;){const t=f[x];x++,g(t),M(t.$$)}}catch(i){throw f.length=0,x=0,i}for(g(null),f.length=0,x=0;p.length;)p.pop()();for(let t=0;t<m.length;t+=1){const i=m[t];w.has(i)||(w.add(i),i())}m.length=0}while(f.length);for(;b.length;)b.pop()();$=!1,w.clear(),g(t)}function M(t){if(null!==t.fragment){t.update(),r(t.before_update);const i=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,i),t.after_update.forEach(v)}}const V=new Set;function C(t,i){t&&t.i&&(V.delete(t),t.i(i))}function _(t,i){const n=t.$$;null!==n.fragment&&(!function(t){const i=[],n=[];m.forEach(e=>-1===t.indexOf(e)?i.push(e):n.push(e)),n.forEach(t=>t()),m=i}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(i),n.on_destroy=n.fragment=null,n.ctx=[])}function I(t,i){-1===t.$$.dirty[0]&&(f.push(t),$||($=!0,y.then(O)),t.$$.dirty.fill(0)),t.$$.dirty[i/31|0]|=1<<i%31}function S(t,i,n,c,h,d,f=null,p=[-1]){const m=u;g(t);const b=t.$$={fragment:null,ctx:[],props:d,update:e,not_equal:h,bound:o(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(i.context||(m?m.$$.context:[])),callbacks:o(),dirty:p,skip_bound:!1,root:i.target||m.$$.root};f&&f(b.root);let y=!1;if(b.ctx=n?n(t,i.props||{},(i,n,...e)=>{const s=e.length?e[0]:n;return b.ctx&&h(b.ctx[i],b.ctx[i]=s)&&(!b.skip_bound&&b.bound[i]&&b.bound[i](s),y&&I(t,i)),n}):[],b.update(),y=!0,r(b.before_update),b.fragment=!!c&&c(b.ctx),i.target){if(i.hydrate){const t=($=i.target,Array.from($.childNodes));b.fragment&&b.fragment.l(t),t.forEach(l)}else b.fragment&&b.fragment.c();i.intro&&C(t.$$.fragment),function(t,i,n){const{fragment:e,after_update:o}=t.$$;e&&e.m(i,n),v(()=>{const i=t.$$.on_mount.map(s).filter(a);t.$$.on_destroy?t.$$.on_destroy.push(...i):r(i),t.$$.on_mount=[]}),o.forEach(v)}(t,i.target,i.anchor),O()}var $;g(m)}class D{constructor(){i(this,"$$"),i(this,"$$set")}$destroy(){_(this,1),this.$destroy=e}$on(t,i){if(!a(i))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const t=n.indexOf(i);-1!==t&&n.splice(t,1)}}$set(t){var i;this.$$set&&(i=t,0!==Object.keys(i).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class H{constructor(t,i={}){this.container=t,this.options={threshold:i.threshold??.1,rootMargin:i.rootMargin??"0px",root:i.root??null,onVisible:i.onVisible,onHidden:i.onHidden},this.intersectionObserver=null,this.visibilityChangeHandler=null,this.isVisible=!1,this.isPageVisible="undefined"==typeof document||!document.hidden,this.setupIntersectionObserver(),this.setupPageVisibility()}setupIntersectionObserver(){if("undefined"==typeof window||void 0===window.IntersectionObserver)return this.isVisible=!0,void(this.isPageVisible&&this.options.onVisible&&this.options.onVisible());this.intersectionObserver=new IntersectionObserver(t=>{for(const i of t)i.target===this.container&&(i.isIntersecting?(this.isVisible=!0,this.isPageVisible&&this.options.onVisible&&this.options.onVisible()):(this.isVisible=!1,this.options.onHidden&&this.options.onHidden()))},{threshold:this.options.threshold,rootMargin:this.options.rootMargin,root:this.options.root||null}),this.intersectionObserver.observe(this.container)}setupPageVisibility(){"undefined"!=typeof document&&(this.visibilityChangeHandler=()=>{const t=this.isPageVisible;this.isPageVisible=!document.hidden,document.hidden?this.options.onHidden&&this.options.onHidden():t!==this.isPageVisible&&this.isVisible&&this.options.onVisible&&this.options.onVisible()},document.addEventListener("visibilitychange",this.visibilityChangeHandler),document.hidden&&this.isVisible&&this.options.onHidden&&this.options.onHidden())}getIsVisible(){return this.isVisible&&this.isPageVisible}updateOptions(t){this.options={...this.options,...t},this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null),this.setupIntersectionObserver()}destroy(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null),this.visibilityChangeHandler&&"undefined"!=typeof document&&(document.removeEventListener("visibilitychange",this.visibilityChangeHandler),this.visibilityChangeHandler=null)}}const P=t=>--t*t*t+1;class T{constructor(t,i={}){if(this.container="string"==typeof t?document.querySelector(t):t,!this.container)throw new Error("Container element not found");this.config={direction:i.direction??"bottom",distance:i.distance??"50px",duration:i.duration??800,threshold:i.threshold??.1,rootMargin:i.rootMargin??"0px",root:i.root??null,triggerOnce:i.triggerOnce??!1,enabled:i.enabled??!0,onStart:i.onStart||null,onComplete:i.onComplete||null},this.easing=P,this.visibilityManager=null,this.animationFrameId=null,this.startTime=null,this.isRunning=!1,this.hasTriggered=!1,this.initialTransform="",this.targetDistance=0,this.init()}init(){const t=window.getComputedStyle(this.container);this.initialTransform="none"!==t.transform?t.transform:this.container.style.transform||"",this.targetDistance=this.parseDistance(this.config.distance),this.setInitialPosition(),this.setupVisibilityManager()}parseDistance(t){const i=t.match(/^(-?\d+\.?\d*)(px|rem|em|%|vh|vw)$/);if(!i){return parseFloat(t)||50}const n=parseFloat(i[1]);switch(i[2]){case"px":default:return n;case"rem":case"em":return n*(parseFloat(getComputedStyle(document.documentElement).fontSize)||16);case"%":{const t=this.container.getBoundingClientRect();return n/100*("top"===this.config.direction||"bottom"===this.config.direction?t.height:t.width)}case"vh":return n/100*window.innerHeight;case"vw":return n/100*window.innerWidth}}setInitialPosition(){let t=0,i=0;switch(this.config.direction){case"top":i=-this.targetDistance;break;case"right":t=this.targetDistance;break;case"bottom":i=this.targetDistance;break;case"left":t=-this.targetDistance}const n=this.initialTransform||"",e=`translate(${t}px, ${i}px)`;this.container.style.transform=n&&"none"!==n?`${e} ${n}`:e,this.container.style.opacity="0",this.container.style.transition="none"}setupVisibilityManager(){this.visibilityManager=new H(this.container,{threshold:this.config.threshold,rootMargin:this.config.rootMargin,root:this.config.root,onVisible:()=>{this.config.enabled&&(this.config.triggerOnce&&this.hasTriggered||(this.hasTriggered=!0,this.start()))},onHidden:()=>{this.config.enabled&&(this.stop(),this.config.triggerOnce||(this.hasTriggered=!1),this.setInitialPosition())}})}start(){this.isRunning||(this.isRunning=!0,this.startTime=performance.now(),this.config.onStart&&this.config.onStart(),this.container.style.transition="none",this.animate())}animate(){if(!this.isRunning)return;const t=performance.now()-(this.startTime||0),i=Math.min(t/this.config.duration,1),n=this.easing(i);let e=0,s=0;switch(this.config.direction){case"top":s=-this.targetDistance*(1-n);break;case"right":e=this.targetDistance*(1-n);break;case"bottom":s=this.targetDistance*(1-n);break;case"left":e=-this.targetDistance*(1-n)}const o=this.initialTransform||"",r=`translate(${e}px, ${s}px)`;this.container.style.transform=o&&"none"!==o?`${r} ${o}`:r,this.container.style.opacity=String(n),i<1?this.animationFrameId=requestAnimationFrame(()=>this.animate()):this.complete()}complete(){this.isRunning=!1,this.initialTransform&&"none"!==this.initialTransform?this.container.style.transform=this.initialTransform:this.container.style.transform="",this.container.style.opacity="1",this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null),this.config.onComplete&&this.config.onComplete()}reset(){this.stop(),this.hasTriggered=!1,this.setInitialPosition()}stop(){this.isRunning=!1,this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null)}updateConfig(t){const i=this.isRunning;this.stop(),this.config={...this.config,...t,onStart:t.onStart??this.config.onStart,onComplete:t.onComplete??this.config.onComplete},t.distance&&(this.targetDistance=this.parseDistance(this.config.distance)),this.setInitialPosition(),void 0===t.threshold&&void 0===t.rootMargin&&void 0===t.root||(this.visibilityManager&&(this.visibilityManager.destroy(),this.visibilityManager=null),this.setupVisibilityManager()),i&&this.config.enabled&&this.start()}destroy(){this.stop(),this.visibilityManager&&(this.visibilityManager.destroy(),this.visibilityManager=null),this.container.style.transform=this.initialTransform||"",this.container.style.opacity="",this.container.style.transition=""}}function k(t){let i,n;const e=t[18].default,s=function(t,i,n,e){if(t){const s=h(t,i,n,e);return t[0](s)}}(e,t,t[17],null);return{c(){var n;n="div",i=document.createElement(n),s&&s.c(),d(i,"class",t[0]),d(i,"style",t[1])},m(e,o){!function(t,i,n){t.insertBefore(i,n||null)}(e,i,o),s&&s.m(i,null),t[19](i),n=!0},p(t,[o]){var r,a;s&&s.p&&(!n||131072&o)&&function(t,i,n,e,s,o){if(s){const r=h(i,n,e,o);t.p(r,s)}}(s,e,t,t[17],n?(r=e,a=t[17],r[2],a.dirty):function(t){if(t.ctx.length>32){const i=[],n=t.ctx.length/32;for(let t=0;t<n;t++)i[t]=-1;return i}return-1}(t[17]),null),(!n||1&o)&&d(i,"class",t[0]),(!n||2&o)&&d(i,"style",t[1])},i(t){n||(C(s,t),n=!0)},o(t){!function(t,i){if(t&&t.o){if(V.has(t))return;V.add(t),(void 0).c.push(()=>{V.delete(t)}),t.o(i)}}(s,t),n=!1},d(n){n&&l(i),s&&s.d(n),t[19](null)}}}function F(t,i,e){let{$$slots:s={},$$scope:o}=i,{direction:r="bottom"}=i,{distance:a="50px"}=i,{duration:c=800}=i,{threshold:h=.1}=i,{rootMargin:l="0px"}=i,{root:d=null}=i,{triggerOnce:u=!1}=i,{enabled:g=!0}=i,{className:f=""}=i,{style:m={}}=i;const b=n.createEventDispatcher();let y,$=null;return n.onMount(()=>{if(!y)return;e(16,$=new T(y,{direction:r,distance:a,duration:c,threshold:h,rootMargin:l,root:d,triggerOnce:u,enabled:g,onStart:()=>{b("start")},onComplete:()=>{b("complete")}}))}),n.onDestroy(()=>{$&&($.destroy(),e(16,$=null))}),t.$$set=t=>{"direction"in t&&e(3,r=t.direction),"distance"in t&&e(4,a=t.distance),"duration"in t&&e(5,c=t.duration),"threshold"in t&&e(6,h=t.threshold),"rootMargin"in t&&e(7,l=t.rootMargin),"root"in t&&e(8,d=t.root),"triggerOnce"in t&&e(9,u=t.triggerOnce),"enabled"in t&&e(10,g=t.enabled),"className"in t&&e(0,f=t.className),"style"in t&&e(1,m=t.style),"$$scope"in t&&e(17,o=t.$$scope)},t.$$.update=()=>{67576&t.$$.dirty&&$&&$.updateConfig({direction:r,distance:a,duration:c,threshold:h,rootMargin:l,root:d,triggerOnce:u,enabled:g,onStart:()=>{b("start")},onComplete:()=>{b("complete")}})},[f,m,y,r,a,c,h,l,d,u,g,function(){$&&$.start()},function(){$&&$.stop()},function(){$&&$.reset()},function(t){$&&$.updateConfig(t)},function(){$&&($.destroy(),e(16,$=null))},$,o,s,function(t){p[t?"unshift":"push"](()=>{y=t,e(2,y)})}]}module.exports=class extends D{constructor(t){super(),S(this,t,F,k,c,{direction:3,distance:4,duration:5,threshold:6,rootMargin:7,root:8,triggerOnce:9,enabled:10,className:0,style:1,start:11,stop:12,reset:13,updateConfig:14,destroy:15})}get start(){return this.$$.ctx[11]}get stop(){return this.$$.ctx[12]}get reset(){return this.$$.ctx[13]}get updateConfig(){return this.$$.ctx[14]}get destroy(){return this.$$.ctx[15]}};
|
|
@@ -466,13 +466,15 @@ class ScrollFadeIn {
|
|
|
466
466
|
case "px":
|
|
467
467
|
return value;
|
|
468
468
|
case "rem":
|
|
469
|
-
case "em":
|
|
469
|
+
case "em": {
|
|
470
470
|
const fontSize = parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;
|
|
471
471
|
return value * fontSize;
|
|
472
|
-
|
|
472
|
+
}
|
|
473
|
+
case "%": {
|
|
473
474
|
const rect = this.container.getBoundingClientRect();
|
|
474
475
|
const dimension = this.config.direction === "top" || this.config.direction === "bottom" ? rect.height : rect.width;
|
|
475
476
|
return value / 100 * dimension;
|
|
477
|
+
}
|
|
476
478
|
case "vh":
|
|
477
479
|
return value / 100 * window.innerHeight;
|
|
478
480
|
case "vw":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=Object.defineProperty,e=(e,i,n)=>((e,i,n)=>i in e?t(e,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[i]=n)(e,"symbol"!=typeof i?i+"":i,n);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("svelte");function n(){}function s(t){return t()}function o(){return Object.create(null)}function r(t){t.forEach(s)}function a(t){return"function"==typeof t}function l(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function c(t){t.parentNode&&t.parentNode.removeChild(t)}function h(t,e,i){null==i?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}let d;function u(t){d=t}const f=[],g=[];let p=[];const b=[],m=Promise.resolve();let y=!1;function v(t){p.push(t)}const $=new Set;let x=0;function M(){if(0!==x)return;const t=d;do{try{for(;x<f.length;){const t=f[x];x++,u(t),O(t.$$)}}catch(e){throw f.length=0,x=0,e}for(u(null),f.length=0,x=0;g.length;)g.pop()();for(let t=0;t<p.length;t+=1){const e=p[t];$.has(e)||($.add(e),e())}p.length=0}while(f.length);for(;b.length;)b.pop()();y=!1,$.clear(),u(t)}function O(t){if(null!==t.fragment){t.update(),r(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(v)}}const C=new Set;function V(t,e){const i=t.$$;null!==i.fragment&&(!function(t){const e=[],i=[];p.forEach(n=>-1===t.indexOf(n)?e.push(n):i.push(n)),i.forEach(t=>t()),p=e}(i.after_update),r(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function _(t,e){-1===t.$$.dirty[0]&&(f.push(t),y||(y=!0,m.then(M)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function S(t,e,i,l,h,f,g=null,p=[-1]){const b=d;u(t);const m=t.$$={fragment:null,ctx:[],props:f,update:n,not_equal:h,bound:o(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(b?b.$$.context:[])),callbacks:o(),dirty:p,skip_bound:!1,root:e.target||b.$$.root};g&&g(m.root);let y=!1;if(m.ctx=i?i(t,e.props||{},(e,i,...n)=>{const s=n.length?n[0]:i;return m.ctx&&h(m.ctx[e],m.ctx[e]=s)&&(!m.skip_bound&&m.bound[e]&&m.bound[e](s),y&&_(t,e)),i}):[],m.update(),y=!0,r(m.before_update),m.fragment=!!l&&l(m.ctx),e.target){if(e.hydrate){const t=(O=e.target,Array.from(O.childNodes));m.fragment&&m.fragment.l(t),t.forEach(c)}else m.fragment&&m.fragment.c();e.intro&&(($=t.$$.fragment)&&$.i&&(C.delete($),$.i(x))),function(t,e,i){const{fragment:n,after_update:o}=t.$$;n&&n.m(e,i),v(()=>{const e=t.$$.on_mount.map(s).filter(a);t.$$.on_destroy?t.$$.on_destroy.push(...e):r(e),t.$$.on_mount=[]}),o.forEach(v)}(t,e.target,e.anchor),M()}var $,x,O;u(b)}class w{constructor(){e(this,"$$"),e(this,"$$set")}$destroy(){V(this,1),this.$destroy=n}$on(t,e){if(!a(e))return n;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(e),()=>{const t=i.indexOf(e);-1!==t&&i.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class E{constructor(t,e={}){this.container=t,this.options={threshold:e.threshold??.1,rootMargin:e.rootMargin??"0px",root:e.root??null,onVisible:e.onVisible,onHidden:e.onHidden},this.intersectionObserver=null,this.visibilityChangeHandler=null,this.isVisible=!1,this.isPageVisible="undefined"==typeof document||!document.hidden,this.setupIntersectionObserver(),this.setupPageVisibility()}setupIntersectionObserver(){if("undefined"==typeof window||void 0===window.IntersectionObserver)return this.isVisible=!0,void(this.isPageVisible&&this.options.onVisible&&this.options.onVisible());this.intersectionObserver=new IntersectionObserver(t=>{for(const e of t)e.target===this.container&&(e.isIntersecting?(this.isVisible=!0,this.isPageVisible&&this.options.onVisible&&this.options.onVisible()):(this.isVisible=!1,this.options.onHidden&&this.options.onHidden()))},{threshold:this.options.threshold,rootMargin:this.options.rootMargin,root:this.options.root||null}),this.intersectionObserver.observe(this.container)}setupPageVisibility(){"undefined"!=typeof document&&(this.visibilityChangeHandler=()=>{const t=this.isPageVisible;this.isPageVisible=!document.hidden,document.hidden?this.options.onHidden&&this.options.onHidden():t!==this.isPageVisible&&this.isVisible&&this.options.onVisible&&this.options.onVisible()},document.addEventListener("visibilitychange",this.visibilityChangeHandler),document.hidden&&this.isVisible&&this.options.onHidden&&this.options.onHidden())}getIsVisible(){return this.isVisible&&this.isPageVisible}updateOptions(t){this.options={...this.options,...t},this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null),this.setupIntersectionObserver()}destroy(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null),this.visibilityChangeHandler&&"undefined"!=typeof document&&(document.removeEventListener("visibilitychange",this.visibilityChangeHandler),this.visibilityChangeHandler=null)}}class T{constructor(t,e){if(this.container="string"==typeof t?document.querySelector(t):t,!this.container)throw new Error("Container element not found");if(!e.text)throw new Error("Text is required");this.config={text:e.text,delay:e.delay??.2,duration:e.duration??.6,randomDelay:e.randomDelay??2,threshold:e.threshold??.1,rootMargin:e.rootMargin??"0px",root:e.root??null,triggerOnce:e.triggerOnce??!1,enabled:e.enabled??!0,onStart:e.onStart||null,onComplete:e.onComplete||null},this.visibilityManager=null,this.textElements=[],this.randomPoints=[],this.hasTriggered=!1,this.isActive=!1,this.init()}init(){this.injectStyles(),this.createTextStructure(),this.setupVisibilityManager()}injectStyles(){if(document.getElementById("masoneffect-textspin-styles"))return;const t=document.createElement("style");t.id="masoneffect-textspin-styles",t.textContent="\n .masoneffect-textspin {\n display: inline-block;\n }\n .masoneffect-textspin-char {\n display: inline-block;\n opacity: 0;\n transform: rotateY(90deg);\n }\n .masoneffect-textspin-char.active {\n opacity: 1;\n transform: rotateY(0deg);\n }\n .masoneffect-textspin-char.space {\n width: 0.25em;\n }\n ",document.head.appendChild(t)}createTextStructure(){this.container.innerHTML="",this.textElements=[],this.randomPoints=[];const t=this.config.text.split("");t.forEach(()=>{this.randomPoints.push(Math.random())}),t.forEach((t,e)=>{const i=document.createElement("span");i.className="masoneffect-textspin-char",i.style.transition=`opacity ${this.config.duration}s ease-out, transform ${this.config.duration}s ease-out`," "===t?(i.classList.add("space"),i.innerHTML=" "):i.textContent=t,this.container.appendChild(i),this.textElements.push(i)}),this.container.classList.add("masoneffect-textspin")}setupVisibilityManager(){this.visibilityManager=new E(this.container,{threshold:this.config.threshold,rootMargin:this.config.rootMargin,root:this.config.root,onVisible:()=>{this.config.enabled&&(this.config.triggerOnce&&this.hasTriggered||(this.hasTriggered=!0,this.start()))},onHidden:()=>{this.config.enabled&&(this.stop(),this.config.triggerOnce||(this.hasTriggered=!1))}})}start(){if(this.isActive)return;this.isActive=!0,this.config.onStart&&this.config.onStart(),this.textElements.forEach((t,e)=>{const i=this.config.delay+this.randomPoints[e]*this.config.randomDelay;t.style.transitionDelay=`${i}s`,requestAnimationFrame(()=>{t.classList.add("active")})});const t=this.config.delay+this.config.randomDelay+this.config.duration;setTimeout(()=>{this.config.onComplete&&this.config.onComplete()},1e3*t)}stop(){this.isActive&&(this.isActive=!1,this.textElements.forEach(t=>{t.classList.remove("active"),t.style.transitionDelay=""}))}reset(){this.stop(),this.hasTriggered=!1}updateText(t){this.config.text=t,this.createTextStructure(),this.isActive&&this.start()}updateTransitions(){this.textElements.forEach(t=>{t.style.transition=`opacity ${this.config.duration}s ease-out, transform ${this.config.duration}s ease-out`})}updateConfig(t){var e;const i=this.isActive;this.config.enabled;const n=void 0!==t.enabled&&t.enabled!==this.config.enabled;(n&&!1===t.enabled||i)&&this.stop(),this.config={...this.config,...t,text:t.text??this.config.text,onStart:t.onStart??this.config.onStart,onComplete:t.onComplete??this.config.onComplete},void 0!==t.text?this.createTextStructure():void 0!==t.duration&&this.updateTransitions(),void 0===t.threshold&&void 0===t.rootMargin&&void 0===t.root||(this.visibilityManager&&(this.visibilityManager.destroy(),this.visibilityManager=null),this.setupVisibilityManager()),this.config.enabled&&(i||n&&!0===t.enabled)&&(null==(e=this.visibilityManager)?void 0:e.getIsVisible())&&this.start()}destroy(){this.stop(),this.visibilityManager&&(this.visibilityManager.destroy(),this.visibilityManager=null),this.container.innerHTML="",this.container.classList.remove("masoneffect-textspin")}}function H(t){let e;return{c(){var i;i="div",e=document.createElement(i),h(e,"class",t[0]),h(e,"style",t[1])},m(i,n){!function(t,e,i){t.insertBefore(e,i||null)}(i,e,n),t[21](e)},p(t,[i]){1&i&&h(e,"class",t[0]),2&i&&h(e,"style",t[1])},i:n,o:n,d(i){i&&c(e),t[21](null)}}}function P(t,e,n){let s,{text:o=""}=e,{delay:r=.2}=e,{duration:a=.6}=e,{randomDelay:l=2}=e,{threshold:c=.1}=e,{rootMargin:h="0px"}=e,{root:d=null}=e,{triggerOnce:u=!1}=e,{enabled:f=!0}=e,{className:p=""}=e,{style:b={}}=e,{onStart:m=null}=e,{onComplete:y=null}=e,v=null;return i.onMount(()=>{if(!s)return;n(20,v=new T(s,{text:o,delay:r,duration:a,randomDelay:l,threshold:c,rootMargin:h,root:d,triggerOnce:u,enabled:f,onStart:m||void 0,onComplete:y||void 0}))}),i.onDestroy(()=>{v&&(v.destroy(),n(20,v=null))}),t.$$set=t=>{"text"in t&&n(3,o=t.text),"delay"in t&&n(4,r=t.delay),"duration"in t&&n(5,a=t.duration),"randomDelay"in t&&n(6,l=t.randomDelay),"threshold"in t&&n(7,c=t.threshold),"rootMargin"in t&&n(8,h=t.rootMargin),"root"in t&&n(9,d=t.root),"triggerOnce"in t&&n(10,u=t.triggerOnce),"enabled"in t&&n(11,f=t.enabled),"className"in t&&n(0,p=t.className),"style"in t&&n(1,b=t.style),"onStart"in t&&n(12,m=t.onStart),"onComplete"in t&&n(13,y=t.onComplete)},t.$$.update=()=>{1064952&t.$$.dirty&&v&&v.updateConfig({text:o,delay:r,duration:a,randomDelay:l,threshold:c,rootMargin:h,root:d,triggerOnce:u,enabled:f,onStart:m||void 0,onComplete:y||void 0})},[p,b,s,o,r,a,l,c,h,d,u,f,m,y,function(){v&&v.start()},function(){v&&v.stop()},function(){v&&v.reset()},function(t){v&&v.updateText(t)},function(t){v&&v.updateConfig(t)},function(){v&&(v.destroy(),n(20,v=null))},v,function(t){g[t?"unshift":"push"](()=>{s=t,n(2,s)})}]}exports.TextSpin=T,exports.default=class extends w{constructor(t){super(),S(this,t,P,H,l,{text:3,delay:4,duration:5,randomDelay:6,threshold:7,rootMargin:8,root:9,triggerOnce:10,enabled:11,className:0,style:1,onStart:12,onComplete:13,start:14,stop:15,reset:16,updateText:17,updateConfig:18,destroy:19})}get start(){return this.$$.ctx[14]}get stop(){return this.$$.ctx[15]}get reset(){return this.$$.ctx[16]}get updateText(){return this.$$.ctx[17]}get updateConfig(){return this.$$.ctx[18]}get destroy(){return this.$$.ctx[19]}};
|
|
1
|
+
"use strict";var t=Object.defineProperty,e=(e,i,n)=>((e,i,n)=>i in e?t(e,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[i]=n)(e,"symbol"!=typeof i?i+"":i,n);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("svelte");function n(){}function s(t){return t()}function o(){return Object.create(null)}function r(t){t.forEach(s)}function a(t){return"function"==typeof t}function l(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function c(t){t.parentNode&&t.parentNode.removeChild(t)}function h(t,e,i){null==i?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}let d;function u(t){d=t}const f=[],g=[];let p=[];const b=[],m=Promise.resolve();let y=!1;function v(t){p.push(t)}const $=new Set;let x=0;function M(){if(0!==x)return;const t=d;do{try{for(;x<f.length;){const t=f[x];x++,u(t),O(t.$$)}}catch(e){throw f.length=0,x=0,e}for(u(null),f.length=0,x=0;g.length;)g.pop()();for(let t=0;t<p.length;t+=1){const e=p[t];$.has(e)||($.add(e),e())}p.length=0}while(f.length);for(;b.length;)b.pop()();y=!1,$.clear(),u(t)}function O(t){if(null!==t.fragment){t.update(),r(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(v)}}const C=new Set;function V(t,e){const i=t.$$;null!==i.fragment&&(!function(t){const e=[],i=[];p.forEach(n=>-1===t.indexOf(n)?e.push(n):i.push(n)),i.forEach(t=>t()),p=e}(i.after_update),r(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function _(t,e){-1===t.$$.dirty[0]&&(f.push(t),y||(y=!0,m.then(M)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function S(t,e,i,l,h,f,g=null,p=[-1]){const b=d;u(t);const m=t.$$={fragment:null,ctx:[],props:f,update:n,not_equal:h,bound:o(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(b?b.$$.context:[])),callbacks:o(),dirty:p,skip_bound:!1,root:e.target||b.$$.root};g&&g(m.root);let y=!1;if(m.ctx=i?i(t,e.props||{},(e,i,...n)=>{const s=n.length?n[0]:i;return m.ctx&&h(m.ctx[e],m.ctx[e]=s)&&(!m.skip_bound&&m.bound[e]&&m.bound[e](s),y&&_(t,e)),i}):[],m.update(),y=!0,r(m.before_update),m.fragment=!!l&&l(m.ctx),e.target){if(e.hydrate){const t=(O=e.target,Array.from(O.childNodes));m.fragment&&m.fragment.l(t),t.forEach(c)}else m.fragment&&m.fragment.c();e.intro&&(($=t.$$.fragment)&&$.i&&(C.delete($),$.i(x))),function(t,e,i){const{fragment:n,after_update:o}=t.$$;n&&n.m(e,i),v(()=>{const e=t.$$.on_mount.map(s).filter(a);t.$$.on_destroy?t.$$.on_destroy.push(...e):r(e),t.$$.on_mount=[]}),o.forEach(v)}(t,e.target,e.anchor),M()}var $,x,O;u(b)}class w{constructor(){e(this,"$$"),e(this,"$$set")}$destroy(){V(this,1),this.$destroy=n}$on(t,e){if(!a(e))return n;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(e),()=>{const t=i.indexOf(e);-1!==t&&i.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class E{constructor(t,e={}){this.container=t,this.options={threshold:e.threshold??.1,rootMargin:e.rootMargin??"0px",root:e.root??null,onVisible:e.onVisible,onHidden:e.onHidden},this.intersectionObserver=null,this.visibilityChangeHandler=null,this.isVisible=!1,this.isPageVisible="undefined"==typeof document||!document.hidden,this.setupIntersectionObserver(),this.setupPageVisibility()}setupIntersectionObserver(){if("undefined"==typeof window||void 0===window.IntersectionObserver)return this.isVisible=!0,void(this.isPageVisible&&this.options.onVisible&&this.options.onVisible());this.intersectionObserver=new IntersectionObserver(t=>{for(const e of t)e.target===this.container&&(e.isIntersecting?(this.isVisible=!0,this.isPageVisible&&this.options.onVisible&&this.options.onVisible()):(this.isVisible=!1,this.options.onHidden&&this.options.onHidden()))},{threshold:this.options.threshold,rootMargin:this.options.rootMargin,root:this.options.root||null}),this.intersectionObserver.observe(this.container)}setupPageVisibility(){"undefined"!=typeof document&&(this.visibilityChangeHandler=()=>{const t=this.isPageVisible;this.isPageVisible=!document.hidden,document.hidden?this.options.onHidden&&this.options.onHidden():t!==this.isPageVisible&&this.isVisible&&this.options.onVisible&&this.options.onVisible()},document.addEventListener("visibilitychange",this.visibilityChangeHandler),document.hidden&&this.isVisible&&this.options.onHidden&&this.options.onHidden())}getIsVisible(){return this.isVisible&&this.isPageVisible}updateOptions(t){this.options={...this.options,...t},this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null),this.setupIntersectionObserver()}destroy(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null),this.visibilityChangeHandler&&"undefined"!=typeof document&&(document.removeEventListener("visibilitychange",this.visibilityChangeHandler),this.visibilityChangeHandler=null)}}class T{constructor(t,e){if(this.container="string"==typeof t?document.querySelector(t):t,!this.container)throw new Error("Container element not found");if(!e.text)throw new Error("Text is required");this.config={text:e.text,delay:e.delay??.2,duration:e.duration??.6,randomDelay:e.randomDelay??2,threshold:e.threshold??.1,rootMargin:e.rootMargin??"0px",root:e.root??null,triggerOnce:e.triggerOnce??!1,enabled:e.enabled??!0,onStart:e.onStart||null,onComplete:e.onComplete||null},this.visibilityManager=null,this.textElements=[],this.randomPoints=[],this.hasTriggered=!1,this.isActive=!1,this.init()}init(){this.injectStyles(),this.createTextStructure(),this.setupVisibilityManager()}injectStyles(){if(document.getElementById("masoneffect-textspin-styles"))return;const t=document.createElement("style");t.id="masoneffect-textspin-styles",t.textContent="\n .masoneffect-textspin {\n display: inline-block;\n }\n .masoneffect-textspin-char {\n display: inline-block;\n opacity: 0;\n transform: rotateY(90deg);\n }\n .masoneffect-textspin-char.active {\n opacity: 1;\n transform: rotateY(0deg);\n }\n .masoneffect-textspin-char.space {\n width: 0.25em;\n }\n ",document.head.appendChild(t)}createTextStructure(){this.container.innerHTML="",this.textElements=[],this.randomPoints=[];const t=this.config.text.split("");t.forEach(()=>{this.randomPoints.push(Math.random())}),t.forEach(t=>{const e=document.createElement("span");e.className="masoneffect-textspin-char",e.style.transition=`opacity ${this.config.duration}s ease-out, transform ${this.config.duration}s ease-out`," "===t?(e.classList.add("space"),e.innerHTML=" "):e.textContent=t,this.container.appendChild(e),this.textElements.push(e)}),this.container.classList.add("masoneffect-textspin")}setupVisibilityManager(){this.visibilityManager=new E(this.container,{threshold:this.config.threshold,rootMargin:this.config.rootMargin,root:this.config.root,onVisible:()=>{this.config.enabled&&(this.config.triggerOnce&&this.hasTriggered||(this.hasTriggered=!0,this.start()))},onHidden:()=>{this.config.enabled&&(this.stop(),this.config.triggerOnce||(this.hasTriggered=!1))}})}start(){if(this.isActive)return;this.isActive=!0,this.config.onStart&&this.config.onStart(),this.textElements.forEach((t,e)=>{const i=this.config.delay+this.randomPoints[e]*this.config.randomDelay;t.style.transitionDelay=`${i}s`,requestAnimationFrame(()=>{t.classList.add("active")})});const t=this.config.delay+this.config.randomDelay+this.config.duration;setTimeout(()=>{this.config.onComplete&&this.config.onComplete()},1e3*t)}stop(){this.isActive&&(this.isActive=!1,this.textElements.forEach(t=>{t.classList.remove("active"),t.style.transitionDelay=""}))}reset(){this.stop(),this.hasTriggered=!1}updateText(t){this.config.text=t,this.createTextStructure(),this.isActive&&this.start()}updateTransitions(){this.textElements.forEach(t=>{t.style.transition=`opacity ${this.config.duration}s ease-out, transform ${this.config.duration}s ease-out`})}updateConfig(t){var e;const i=this.isActive,n=void 0!==t.enabled&&t.enabled!==this.config.enabled;(n&&!1===t.enabled||i)&&this.stop(),this.config={...this.config,...t,text:t.text??this.config.text,onStart:t.onStart??this.config.onStart,onComplete:t.onComplete??this.config.onComplete},void 0!==t.text?this.createTextStructure():void 0!==t.duration&&this.updateTransitions(),void 0===t.threshold&&void 0===t.rootMargin&&void 0===t.root||(this.visibilityManager&&(this.visibilityManager.destroy(),this.visibilityManager=null),this.setupVisibilityManager()),this.config.enabled&&(i||n&&!0===t.enabled)&&(null==(e=this.visibilityManager)?void 0:e.getIsVisible())&&this.start()}destroy(){this.stop(),this.visibilityManager&&(this.visibilityManager.destroy(),this.visibilityManager=null),this.container.innerHTML="",this.container.classList.remove("masoneffect-textspin")}}function H(t){let e;return{c(){var i;i="div",e=document.createElement(i),h(e,"class",t[0]),h(e,"style",t[1])},m(i,n){!function(t,e,i){t.insertBefore(e,i||null)}(i,e,n),t[21](e)},p(t,[i]){1&i&&h(e,"class",t[0]),2&i&&h(e,"style",t[1])},i:n,o:n,d(i){i&&c(e),t[21](null)}}}function P(t,e,n){let s,{text:o=""}=e,{delay:r=.2}=e,{duration:a=.6}=e,{randomDelay:l=2}=e,{threshold:c=.1}=e,{rootMargin:h="0px"}=e,{root:d=null}=e,{triggerOnce:u=!1}=e,{enabled:f=!0}=e,{className:p=""}=e,{style:b={}}=e,{onStart:m=null}=e,{onComplete:y=null}=e,v=null;return i.onMount(()=>{if(!s)return;n(20,v=new T(s,{text:o,delay:r,duration:a,randomDelay:l,threshold:c,rootMargin:h,root:d,triggerOnce:u,enabled:f,onStart:m||void 0,onComplete:y||void 0}))}),i.onDestroy(()=>{v&&(v.destroy(),n(20,v=null))}),t.$$set=t=>{"text"in t&&n(3,o=t.text),"delay"in t&&n(4,r=t.delay),"duration"in t&&n(5,a=t.duration),"randomDelay"in t&&n(6,l=t.randomDelay),"threshold"in t&&n(7,c=t.threshold),"rootMargin"in t&&n(8,h=t.rootMargin),"root"in t&&n(9,d=t.root),"triggerOnce"in t&&n(10,u=t.triggerOnce),"enabled"in t&&n(11,f=t.enabled),"className"in t&&n(0,p=t.className),"style"in t&&n(1,b=t.style),"onStart"in t&&n(12,m=t.onStart),"onComplete"in t&&n(13,y=t.onComplete)},t.$$.update=()=>{1064952&t.$$.dirty&&v&&v.updateConfig({text:o,delay:r,duration:a,randomDelay:l,threshold:c,rootMargin:h,root:d,triggerOnce:u,enabled:f,onStart:m||void 0,onComplete:y||void 0})},[p,b,s,o,r,a,l,c,h,d,u,f,m,y,function(){v&&v.start()},function(){v&&v.stop()},function(){v&&v.reset()},function(t){v&&v.updateText(t)},function(t){v&&v.updateConfig(t)},function(){v&&(v.destroy(),n(20,v=null))},v,function(t){g[t?"unshift":"push"](()=>{s=t,n(2,s)})}]}exports.TextSpin=T,exports.default=class extends w{constructor(t){super(),S(this,t,P,H,l,{text:3,delay:4,duration:5,randomDelay:6,threshold:7,rootMargin:8,root:9,triggerOnce:10,enabled:11,className:0,style:1,onStart:12,onComplete:13,start:14,stop:15,reset:16,updateText:17,updateConfig:18,destroy:19})}get start(){return this.$$.ctx[14]}get stop(){return this.$$.ctx[15]}get reset(){return this.$$.ctx[16]}get updateText(){return this.$$.ctx[17]}get updateConfig(){return this.$$.ctx[18]}get destroy(){return this.$$.ctx[19]}};
|
|
@@ -435,7 +435,7 @@ class TextSpin {
|
|
|
435
435
|
chars.forEach(() => {
|
|
436
436
|
this.randomPoints.push(Math.random());
|
|
437
437
|
});
|
|
438
|
-
chars.forEach((char
|
|
438
|
+
chars.forEach((char) => {
|
|
439
439
|
const charElement = document.createElement("span");
|
|
440
440
|
charElement.className = "masoneffect-textspin-char";
|
|
441
441
|
charElement.style.transition = `opacity ${this.config.duration}s ease-out, transform ${this.config.duration}s ease-out`;
|
|
@@ -523,7 +523,6 @@ class TextSpin {
|
|
|
523
523
|
updateConfig(newConfig) {
|
|
524
524
|
var _a;
|
|
525
525
|
const wasActive = this.isActive;
|
|
526
|
-
this.config.enabled;
|
|
527
526
|
const isEnabledChanging = newConfig.enabled !== void 0 && newConfig.enabled !== this.config.enabled;
|
|
528
527
|
if (isEnabledChanging && newConfig.enabled === false) {
|
|
529
528
|
this.stop();
|
|
@@ -434,7 +434,10 @@ class TextToParticle {
|
|
|
434
434
|
this.handleMouseDown = this.handleMouseDown.bind(this);
|
|
435
435
|
this.handleMouseUp = this.handleMouseUp.bind(this);
|
|
436
436
|
this._debouncedMorph = debounce(this._morphInternal.bind(this), this.debounceDelay);
|
|
437
|
-
this._debouncedUpdateConfig = debounce(
|
|
437
|
+
this._debouncedUpdateConfig = debounce(
|
|
438
|
+
this._updateConfigInternal.bind(this),
|
|
439
|
+
this.debounceDelay
|
|
440
|
+
);
|
|
438
441
|
this.init();
|
|
439
442
|
}
|
|
440
443
|
init() {
|
|
@@ -390,9 +390,80 @@ function decomposeHangul(char) {
|
|
|
390
390
|
const initial = Math.floor(base / (21 * 28));
|
|
391
391
|
const medial = Math.floor(base % (21 * 28) / 28);
|
|
392
392
|
const final = base % 28;
|
|
393
|
-
const initialChars = [
|
|
394
|
-
|
|
395
|
-
|
|
393
|
+
const initialChars = [
|
|
394
|
+
"ㄱ",
|
|
395
|
+
"ㄲ",
|
|
396
|
+
"ㄴ",
|
|
397
|
+
"ㄷ",
|
|
398
|
+
"ㄸ",
|
|
399
|
+
"ㄹ",
|
|
400
|
+
"ㅁ",
|
|
401
|
+
"ㅂ",
|
|
402
|
+
"ㅃ",
|
|
403
|
+
"ㅅ",
|
|
404
|
+
"ㅆ",
|
|
405
|
+
"ㅇ",
|
|
406
|
+
"ㅈ",
|
|
407
|
+
"ㅉ",
|
|
408
|
+
"ㅊ",
|
|
409
|
+
"ㅋ",
|
|
410
|
+
"ㅌ",
|
|
411
|
+
"ㅍ",
|
|
412
|
+
"ㅎ"
|
|
413
|
+
];
|
|
414
|
+
const medialChars = [
|
|
415
|
+
"ㅏ",
|
|
416
|
+
"ㅐ",
|
|
417
|
+
"ㅑ",
|
|
418
|
+
"ㅒ",
|
|
419
|
+
"ㅓ",
|
|
420
|
+
"ㅔ",
|
|
421
|
+
"ㅕ",
|
|
422
|
+
"ㅖ",
|
|
423
|
+
"ㅗ",
|
|
424
|
+
"ㅘ",
|
|
425
|
+
"ㅙ",
|
|
426
|
+
"ㅚ",
|
|
427
|
+
"ㅛ",
|
|
428
|
+
"ㅜ",
|
|
429
|
+
"ㅝ",
|
|
430
|
+
"ㅞ",
|
|
431
|
+
"ㅟ",
|
|
432
|
+
"ㅠ",
|
|
433
|
+
"ㅡ",
|
|
434
|
+
"ㅢ",
|
|
435
|
+
"ㅣ"
|
|
436
|
+
];
|
|
437
|
+
const finalChars = [
|
|
438
|
+
"",
|
|
439
|
+
"ㄱ",
|
|
440
|
+
"ㄲ",
|
|
441
|
+
"ㄳ",
|
|
442
|
+
"ㄴ",
|
|
443
|
+
"ㄵ",
|
|
444
|
+
"ㄶ",
|
|
445
|
+
"ㄷ",
|
|
446
|
+
"ㄹ",
|
|
447
|
+
"ㄺ",
|
|
448
|
+
"ㄻ",
|
|
449
|
+
"ㄼ",
|
|
450
|
+
"ㄽ",
|
|
451
|
+
"ㄾ",
|
|
452
|
+
"ㄿ",
|
|
453
|
+
"ㅀ",
|
|
454
|
+
"ㅁ",
|
|
455
|
+
"ㅂ",
|
|
456
|
+
"ㅄ",
|
|
457
|
+
"ㅅ",
|
|
458
|
+
"ㅆ",
|
|
459
|
+
"ㅇ",
|
|
460
|
+
"ㅈ",
|
|
461
|
+
"ㅊ",
|
|
462
|
+
"ㅋ",
|
|
463
|
+
"ㅌ",
|
|
464
|
+
"ㅍ",
|
|
465
|
+
"ㅎ"
|
|
466
|
+
];
|
|
396
467
|
const result = [];
|
|
397
468
|
result.push(initialChars[initial]);
|
|
398
469
|
result.push(medialChars[medial]);
|
|
@@ -402,9 +473,80 @@ function decomposeHangul(char) {
|
|
|
402
473
|
return result;
|
|
403
474
|
}
|
|
404
475
|
function composeHangul(initial, medial, final) {
|
|
405
|
-
const initialChars = [
|
|
406
|
-
|
|
407
|
-
|
|
476
|
+
const initialChars = [
|
|
477
|
+
"ㄱ",
|
|
478
|
+
"ㄲ",
|
|
479
|
+
"ㄴ",
|
|
480
|
+
"ㄷ",
|
|
481
|
+
"ㄸ",
|
|
482
|
+
"ㄹ",
|
|
483
|
+
"ㅁ",
|
|
484
|
+
"ㅂ",
|
|
485
|
+
"ㅃ",
|
|
486
|
+
"ㅅ",
|
|
487
|
+
"ㅆ",
|
|
488
|
+
"ㅇ",
|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",
|
|
547
|
+
"ㅍ",
|
|
548
|
+
"ㅎ"
|
|
549
|
+
];
|
|
408
550
|
const initialIndex = initialChars.indexOf(initial);
|
|
409
551
|
const medialIndex = medialChars.indexOf(medial);
|
|
410
552
|
const finalIndex = final ? finalChars.indexOf(final) : 0;
|
|
@@ -587,10 +729,16 @@ class Typing {
|
|
|
587
729
|
this.updateDisplay("");
|
|
588
730
|
}
|
|
589
731
|
updateDisplay(text) {
|
|
590
|
-
const textWithoutCursor = text.replace(
|
|
732
|
+
const textWithoutCursor = text.replace(
|
|
733
|
+
new RegExp(this.escapeHtml(this.config.cursorChar) + "$"),
|
|
734
|
+
""
|
|
735
|
+
);
|
|
591
736
|
const hasCursor = text.endsWith(this.config.cursorChar);
|
|
592
737
|
const previousTextContent = this.container.textContent || "";
|
|
593
|
-
const previousTextWithoutCursor = previousTextContent.replace(
|
|
738
|
+
const previousTextWithoutCursor = previousTextContent.replace(
|
|
739
|
+
new RegExp(this.config.cursorChar + "$"),
|
|
740
|
+
""
|
|
741
|
+
);
|
|
594
742
|
let html = "";
|
|
595
743
|
for (let i = 0; i < textWithoutCursor.length; i++) {
|
|
596
744
|
const char = textWithoutCursor[i];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/count/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,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["../../../../src/core/count/index.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/scrollFadeIn/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAKD,qBAAa,YAAY;IACvB,SAAS,EAAE,WAAW,CAAC;IACvB,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,YAAY,GAAG,MAAM,CAAC,CAAC,GAAG;QAC/E,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;QACzB,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;QACxC,UAAU,EAAE,mBAAmB,CAAC,YAAY,CAAC,CAAC;KAC/C,CAAC;IACF,OAAO,CAAC,MAAM,CAAwB;IACtC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC5C,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,E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