diy-template-components 1.0.2 → 1.0.3
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/build/index.es.js +10 -13
- package/build/index.es.js.map +1 -1
- package/build/index.js +10 -14
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
function ___$insertStyle(css) {
|
|
2
|
-
if (!css ||
|
|
3
|
-
return;
|
|
4
|
-
}
|
|
5
|
-
const style = document.createElement('style');
|
|
6
|
-
style.setAttribute('type', 'text/css');
|
|
7
|
-
style.innerHTML = css;
|
|
8
|
-
document.head.appendChild(style);
|
|
9
|
-
return css;
|
|
1
|
+
function ___$insertStyle(css) {
|
|
2
|
+
if (!css || !window) {
|
|
3
|
+
return;
|
|
4
|
+
}
|
|
5
|
+
const style = document.createElement('style');
|
|
6
|
+
style.setAttribute('type', 'text/css');
|
|
7
|
+
style.innerHTML = css;
|
|
8
|
+
document.head.appendChild(style);
|
|
9
|
+
return css;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
import React, { createContext, useContext, forwardRef, useRef, useEffect, useState, useMemo, useLayoutEffect, Suspense, memo, lazy, Fragment } from 'react';
|
|
@@ -14,7 +14,7 @@ import Slider from 'react-slick';
|
|
|
14
14
|
import axios from 'axios';
|
|
15
15
|
import moment from 'moment';
|
|
16
16
|
import Countdown from 'react-countdown';
|
|
17
|
-
import
|
|
17
|
+
import 'moment/locale/ko';
|
|
18
18
|
import ReactDOMServer from 'react-dom/server';
|
|
19
19
|
import { createTheming, createUseStyles as createUseStyles$1, useTheme as useTheme$1 } from 'react-jss';
|
|
20
20
|
|
|
@@ -7427,9 +7427,6 @@ const SingleVideoSlide$1 = props => {
|
|
|
7427
7427
|
const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'BUY NOW';
|
|
7428
7428
|
const registerNowText = countryCode === 'KR' ? '웨비나 신청하기' : 'REGISTER NOW';
|
|
7429
7429
|
const momentLocale = countryCode === 'KR' ? 'ko' : 'in';
|
|
7430
|
-
if (countryCode === 'KR') {
|
|
7431
|
-
moment.updateLocale('ko', koreanLocale);
|
|
7432
|
-
}
|
|
7433
7430
|
return /*#__PURE__*/React.createElement("div", {
|
|
7434
7431
|
className: classes.videoCarouselContainer
|
|
7435
7432
|
}, /*#__PURE__*/React.createElement("div", {
|