`

`).join('')
: originalSlides;
// Swiper walks its slides on update; leave it alone rather than empty it.
if (! slidesHtml.trim()) return;
if (swiper.params.loop) swiper.loopDestroy();
wrapper.innerHTML = slidesHtml;
slideCount = gallery.length || origSlideCount;
if (gallery.length !== 1) swiper.loopCreate();
swiper.update();
// With the loop rebuilt, index 0 is the copy of the LAST picture: open on the first.
swiper.slideTo(swiper.params.loop && gallery.length !== 1 ? swiper.loopedSlides : 0, 0);
if (thumbSwiper) { thumbSwiper.destroy(true, true); thumbSwiper = null; }
// thumbs.init() reads params.thumbs.swiper (not thumbs.swiper), and every update
// walks thumbs.swiper: neither may keep pointing at the destroyed instance.
swiper.thumbs.swiper = null;
swiper.params.thumbs.swiper = null;
const thumbWrapper = $refs.thumbs.querySelector('.swiper-wrapper');
if (originalThumbs === null) originalThumbs = thumbWrapper.innerHTML;
thumbWrapper.innerHTML = gallery.length
? gallery.map(img => `

`).join('')
: originalThumbs;
const thumbSlides = gallery.length || $refs.thumbs.querySelectorAll('.swiper-slide').length;
if (thumbSlides > 0) {
thumbSwiper = new Swiper($refs.thumbs, {
loop: thumbSlides > 1,
spaceBetween: 10,
slidesPerView: 4,
watchSlidesVisibility: true,
watchSlidesProgress: true,
breakpoints: { 320: { slidesPerView: 2, spaceBetween: 20 }, 480: { slidesPerView: 3, spaceBetween: 30 }, 640: { slidesPerView: 4, spaceBetween: 45 } }
});
}
// Swiper reads $el off the thumbs instance, so only re-attach a real one.
if (thumbSwiper) {
swiper.params.thumbs.swiper = thumbSwiper;
swiper.thumbs.init();
}
swiper.update();
// Thumbs built while x-show still hides them have no width: size them once shown.
$nextTick(() => { if (thumbSwiper) { thumbSwiper.update(); swiper.update(); } });
"
x-init="
const thumbCfg = {
loop: true,
spaceBetween: 10,
slidesPerView: 4,
watchSlidesVisibility: true,
watchSlidesProgress: true,
breakpoints: {
320: { slidesPerView: 2, spaceBetween: 20 },
480: { slidesPerView: 3, spaceBetween: 30 },
640: { slidesPerView: 4, spaceBetween: 45 }
}
};
if ($refs.thumbs && $refs.thumbs.querySelector('.swiper-slide')) {
thumbSwiper = new Swiper($refs.thumbs, thumbCfg);
}
swiper = new Swiper($refs.container, {
loop: true,
spaceBetween: 0,
slidesPerView: 1,
watchSlidesVisibility: !0,
watchSlidesProgress: !0,
thumbs: {swiper: thumbSwiper}
});
">
Daily inspiration to let your spirit soar! From renowned spiritual teacher Michael A. Singer, this 52-card deck will guide you toward a life of liberation, serenity, openness, and self-knowledge.
Now more than ever, we’re all looking to feel more joy, happiness, and deeper meaning in our lives. Drawing on the profound wisdom of the New York Times bestseller, Living Untethered, these take-anywhere cards offer practical yet powerful insight to help you move beyond the thoughts, feelings, and habits that keep you stuck-so you can heal the pain of the past and live fully in the present-moment.
With each card, you’ll gain a deeper understanding of where your thoughts and emotions come from, and how they affect your natural energy flow. Finally, you’ll learn how to find freedom from the psychological scars-or samskaras-that block you and keep you from reaching your highest potential.
It’s time to stop struggling and start experiencing. This card deck makes it easy to put the spiritual teachings of Michael A. Singer into practice every day, and it will guide you on the path toward self-realization and unconditional happiness. Keep these cards on your nightstand, on your work desk, in your purse, or anywhere for instant inspiration and peace of mind.
This card deck is copublished by New Harbinger Publications, Inc., the premier publisher of psychology and self-help books for fifty years; and Sounds True, the leading multimedia publisher of original works by world-renowned spiritual teachers.