- Created separate MoneyFlix project directory - Copied Node.js redirector from production server - Added CRM PHP code (Redirects module, Core classes, Config, Routes, Views) - Created comprehensive documentation (README_MONEYFLIX.md) - Added sync script to keep CRM code updated (sync-from-crm.sh) - Configured .gitignore for Node.js and PHP - Set up proper project structure for multi-client isolation This separates MoneyFlix from the main CRM to avoid confusion between different client systems and provides a dedicated environment for MoneyFlix-specific development and maintenance.
15 lines
561 B
JavaScript
15 lines
561 B
JavaScript
import { g as getSlideTransformEl, c as createElement } from './utils.mjs';
|
|
|
|
function createShadow(suffix, slideEl, side) {
|
|
const shadowClass = `swiper-slide-shadow${side ? `-${side}` : ''}${suffix ? ` swiper-slide-shadow-${suffix}` : ''}`;
|
|
const shadowContainer = getSlideTransformEl(slideEl);
|
|
let shadowEl = shadowContainer.querySelector(`.${shadowClass.split(' ').join('.')}`);
|
|
if (!shadowEl) {
|
|
shadowEl = createElement('div', shadowClass.split(' '));
|
|
shadowContainer.append(shadowEl);
|
|
}
|
|
return shadowEl;
|
|
}
|
|
|
|
export { createShadow as c };
|