hexo-component-inferno 2.0.4 → 3.1.0
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/lib/hexo/filter/locals.js +2 -2
- package/lib/hexo/helper/cdn.test.js +7 -7
- package/lib/schema/comment/giscus.json +105 -0
- package/lib/schema/schema/comment/giscus.json +105 -0
- package/lib/view/comment/changyan.js +14 -16
- package/lib/view/comment/disqus.js +14 -16
- package/lib/view/comment/disqusjs.js +14 -16
- package/lib/view/comment/facebook.js +14 -16
- package/lib/view/comment/giscus.js +198 -0
- package/lib/view/comment/gitalk.js +14 -16
- package/lib/view/comment/gitment.js +14 -16
- package/lib/view/comment/isso.js +14 -16
- package/lib/view/comment/livere.js +14 -16
- package/lib/view/comment/twikoo.js +15 -17
- package/lib/view/comment/utterances.js +15 -17
- package/lib/view/comment/valine.js +14 -16
- package/lib/view/comment/waline.js +14 -16
- package/lib/view/common/article_media.js +14 -16
- package/lib/view/donate/afdian.js +14 -16
- package/lib/view/donate/alipay.js +14 -16
- package/lib/view/donate/buymeacoffee.js +14 -16
- package/lib/view/donate/patreon.js +14 -16
- package/lib/view/donate/paypal.js +14 -16
- package/lib/view/donate/wechat.js +14 -16
- package/lib/view/misc/article_licensing.js +14 -16
- package/lib/view/misc/meta.js +15 -17
- package/lib/view/misc/open_graph.js +14 -16
- package/lib/view/misc/paginator.js +14 -16
- package/lib/view/misc/structured_data.js +14 -16
- package/lib/view/misc/web_app.js +19 -21
- package/lib/view/plugin/baidu_analytics.js +14 -16
- package/lib/view/plugin/bing_webmaster.js +14 -16
- package/lib/view/plugin/busuanzi.js +14 -16
- package/lib/view/plugin/cnzz.js +14 -16
- package/lib/view/plugin/cookie_consent.js +14 -16
- package/lib/view/plugin/gallery.js +14 -16
- package/lib/view/plugin/google_analytics.js +14 -16
- package/lib/view/plugin/hotjar.js +14 -16
- package/lib/view/plugin/katex.js +14 -16
- package/lib/view/plugin/mathjax.js +14 -16
- package/lib/view/plugin/outdated_browser.js +14 -16
- package/lib/view/plugin/progressbar.js +14 -16
- package/lib/view/plugin/statcounter.js +14 -16
- package/lib/view/plugin/twitter_conversion_tracking.js +14 -16
- package/lib/view/search/algolia.js +14 -16
- package/lib/view/search/baidu.js +14 -16
- package/lib/view/search/google_cse.js +14 -16
- package/lib/view/search/insight.js +14 -16
- package/lib/view/share/addthis.js +14 -16
- package/lib/view/share/addtoany.js +14 -16
- package/lib/view/share/bdshare.js +14 -16
- package/lib/view/share/sharejs.js +14 -16
- package/lib/view/share/sharethis.js +14 -16
- package/lib/view/widget/adsense.js +14 -16
- package/lib/view/widget/archives.js +15 -17
- package/lib/view/widget/categories.js +14 -16
- package/lib/view/widget/followit.js +14 -16
- package/lib/view/widget/links.js +14 -16
- package/lib/view/widget/recent_posts.js +14 -16
- package/lib/view/widget/subscribe_email.js +14 -16
- package/lib/view/widget/tags.js +14 -16
- package/lib/view/widget/toc.js +17 -19
- package/lib/view/widget/toc.test.js +2 -2
- package/package.json +30 -28
package/lib/view/plugin/katex.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
10
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* KaTeX math renderer plugin JSX component.
|
|
19
19
|
* @module view/plugin/katex
|
|
@@ -35,13 +35,12 @@ var _require2 = require('../../util/cache'),
|
|
|
35
35
|
* mhchemUrl="/path/to/mhchem.js" />
|
|
36
36
|
*/
|
|
37
37
|
var KaTeX = /*#__PURE__*/function (_Component) {
|
|
38
|
-
_inherits(KaTeX, _Component);
|
|
39
|
-
var _super = _createSuper(KaTeX);
|
|
40
38
|
function KaTeX() {
|
|
41
39
|
_classCallCheck(this, KaTeX);
|
|
42
|
-
return
|
|
40
|
+
return _callSuper(this, KaTeX, arguments);
|
|
43
41
|
}
|
|
44
|
-
|
|
42
|
+
_inherits(KaTeX, _Component);
|
|
43
|
+
return _createClass(KaTeX, [{
|
|
45
44
|
key: "render",
|
|
46
45
|
value: function render() {
|
|
47
46
|
var _this$props = this.props,
|
|
@@ -69,7 +68,6 @@ var KaTeX = /*#__PURE__*/function (_Component) {
|
|
|
69
68
|
})], 4);
|
|
70
69
|
}
|
|
71
70
|
}]);
|
|
72
|
-
return KaTeX;
|
|
73
71
|
}(Component);
|
|
74
72
|
/**
|
|
75
73
|
* Cacheable KaTeX math renderer plugin JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
10
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* MathJax math renderer plugin JSX component.
|
|
19
19
|
* @module view/plugin/katex
|
|
@@ -31,13 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <Mathjax jsUrl="/path/to/mathjax.js" />
|
|
32
32
|
*/
|
|
33
33
|
var Mathjax = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(Mathjax, _Component);
|
|
35
|
-
var _super = _createSuper(Mathjax);
|
|
36
34
|
function Mathjax() {
|
|
37
35
|
_classCallCheck(this, Mathjax);
|
|
38
|
-
return
|
|
36
|
+
return _callSuper(this, Mathjax, arguments);
|
|
39
37
|
}
|
|
40
|
-
|
|
38
|
+
_inherits(Mathjax, _Component);
|
|
39
|
+
return _createClass(Mathjax, [{
|
|
41
40
|
key: "render",
|
|
42
41
|
value: function render() {
|
|
43
42
|
var jsUrl = this.props.jsUrl;
|
|
@@ -54,7 +53,6 @@ var Mathjax = /*#__PURE__*/function (_Component) {
|
|
|
54
53
|
})], 4);
|
|
55
54
|
}
|
|
56
55
|
}]);
|
|
57
|
-
return Mathjax;
|
|
58
56
|
}(Component);
|
|
59
57
|
/**
|
|
60
58
|
* Cacheable Mathjax math renderer plugin JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
10
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Outdated browser detection plugin JSX component.
|
|
19
19
|
* @module view/plugin/outdated_browser
|
|
@@ -34,13 +34,12 @@ var _require2 = require('../../util/cache'),
|
|
|
34
34
|
* jsUrl="/path/to/outdatedbrowser.js" />
|
|
35
35
|
*/
|
|
36
36
|
var OutdatedBrowser = /*#__PURE__*/function (_Component) {
|
|
37
|
-
_inherits(OutdatedBrowser, _Component);
|
|
38
|
-
var _super = _createSuper(OutdatedBrowser);
|
|
39
37
|
function OutdatedBrowser() {
|
|
40
38
|
_classCallCheck(this, OutdatedBrowser);
|
|
41
|
-
return
|
|
39
|
+
return _callSuper(this, OutdatedBrowser, arguments);
|
|
42
40
|
}
|
|
43
|
-
|
|
41
|
+
_inherits(OutdatedBrowser, _Component);
|
|
42
|
+
return _createClass(OutdatedBrowser, [{
|
|
44
43
|
key: "render",
|
|
45
44
|
value: function render() {
|
|
46
45
|
var _this$props = this.props,
|
|
@@ -73,7 +72,6 @@ var OutdatedBrowser = /*#__PURE__*/function (_Component) {
|
|
|
73
72
|
})], 4);
|
|
74
73
|
}
|
|
75
74
|
}]);
|
|
76
|
-
return OutdatedBrowser;
|
|
77
75
|
}(Component);
|
|
78
76
|
/**
|
|
79
77
|
* Cacheable outdated browser detection plugin JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
10
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* A JSX component for showing progress bar at top of the page.
|
|
19
19
|
* @module view/plugin/progressbar
|
|
@@ -31,13 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <ProgressBar jsUrl="/path/to/pace-js.js" />
|
|
32
32
|
*/
|
|
33
33
|
var ProgressBar = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(ProgressBar, _Component);
|
|
35
|
-
var _super = _createSuper(ProgressBar);
|
|
36
34
|
function ProgressBar() {
|
|
37
35
|
_classCallCheck(this, ProgressBar);
|
|
38
|
-
return
|
|
36
|
+
return _callSuper(this, ProgressBar, arguments);
|
|
39
37
|
}
|
|
40
|
-
|
|
38
|
+
_inherits(ProgressBar, _Component);
|
|
39
|
+
return _createClass(ProgressBar, [{
|
|
41
40
|
key: "render",
|
|
42
41
|
value: function render() {
|
|
43
42
|
var jsUrl = this.props.jsUrl;
|
|
@@ -47,7 +46,6 @@ var ProgressBar = /*#__PURE__*/function (_Component) {
|
|
|
47
46
|
})], 4);
|
|
48
47
|
}
|
|
49
48
|
}]);
|
|
50
|
-
return ProgressBar;
|
|
51
49
|
}(Component);
|
|
52
50
|
/**
|
|
53
51
|
* Cacheable JSX component for showing progress bar at top of the page.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
10
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Statcounter statistics plugin JSX component.
|
|
19
19
|
* @module view/plugin/statcounter
|
|
@@ -31,13 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <Statcounter project="******" security="******" />
|
|
32
32
|
*/
|
|
33
33
|
var Statcounter = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(Statcounter, _Component);
|
|
35
|
-
var _super = _createSuper(Statcounter);
|
|
36
34
|
function Statcounter() {
|
|
37
35
|
_classCallCheck(this, Statcounter);
|
|
38
|
-
return
|
|
36
|
+
return _callSuper(this, Statcounter, arguments);
|
|
39
37
|
}
|
|
40
|
-
|
|
38
|
+
_inherits(Statcounter, _Component);
|
|
39
|
+
return _createClass(Statcounter, [{
|
|
41
40
|
key: "render",
|
|
42
41
|
value: function render() {
|
|
43
42
|
var _this$props = this.props,
|
|
@@ -57,7 +56,6 @@ var Statcounter = /*#__PURE__*/function (_Component) {
|
|
|
57
56
|
}), 2), 2)], 4);
|
|
58
57
|
}
|
|
59
58
|
}]);
|
|
60
|
-
return Statcounter;
|
|
61
59
|
}(Component);
|
|
62
60
|
/**
|
|
63
61
|
* Cacheable Statcounter statistics plugin JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
10
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Twitter conversion tracking plugin JSX component.
|
|
19
19
|
* @module view/plugin/twitter_conversion_tracking
|
|
@@ -31,13 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <TwiterCT pixelId="******" />
|
|
32
32
|
*/
|
|
33
33
|
var TwiterCT = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(TwiterCT, _Component);
|
|
35
|
-
var _super = _createSuper(TwiterCT);
|
|
36
34
|
function TwiterCT() {
|
|
37
35
|
_classCallCheck(this, TwiterCT);
|
|
38
|
-
return
|
|
36
|
+
return _callSuper(this, TwiterCT, arguments);
|
|
39
37
|
}
|
|
40
|
-
|
|
38
|
+
_inherits(TwiterCT, _Component);
|
|
39
|
+
return _createClass(TwiterCT, [{
|
|
41
40
|
key: "render",
|
|
42
41
|
value: function render() {
|
|
43
42
|
var pixelId = this.props.pixelId;
|
|
@@ -49,7 +48,6 @@ var TwiterCT = /*#__PURE__*/function (_Component) {
|
|
|
49
48
|
});
|
|
50
49
|
}
|
|
51
50
|
}]);
|
|
52
|
-
return TwiterCT;
|
|
53
51
|
}(Component);
|
|
54
52
|
/**
|
|
55
53
|
* Cacheable Twitter conversion tracking plugin JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
10
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Algolia search engine JSX component.
|
|
19
19
|
* @module view/search/algolia
|
|
@@ -43,13 +43,12 @@ var _require2 = require('../../util/cache'),
|
|
|
43
43
|
* instantSearchUrl="******" />
|
|
44
44
|
*/
|
|
45
45
|
var Algolia = /*#__PURE__*/function (_Component) {
|
|
46
|
-
_inherits(Algolia, _Component);
|
|
47
|
-
var _super = _createSuper(Algolia);
|
|
48
46
|
function Algolia() {
|
|
49
47
|
_classCallCheck(this, Algolia);
|
|
50
|
-
return
|
|
48
|
+
return _callSuper(this, Algolia, arguments);
|
|
51
49
|
}
|
|
52
|
-
|
|
50
|
+
_inherits(Algolia, _Component);
|
|
51
|
+
return _createClass(Algolia, [{
|
|
53
52
|
key: "render",
|
|
54
53
|
value: function render() {
|
|
55
54
|
var _this$props = this.props,
|
|
@@ -94,7 +93,6 @@ var Algolia = /*#__PURE__*/function (_Component) {
|
|
|
94
93
|
})], 4);
|
|
95
94
|
}
|
|
96
95
|
}]);
|
|
97
|
-
return Algolia;
|
|
98
96
|
}(Component);
|
|
99
97
|
/**
|
|
100
98
|
* Cacheable Algolia search engine JSX component.
|
package/lib/view/search/baidu.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
10
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Baidu search engine JSX component.
|
|
19
19
|
* @module view/search/baidu
|
|
@@ -30,13 +30,12 @@ var _require2 = require('../../util/cache'),
|
|
|
30
30
|
* <Baidu url="/site/url" hint="Placeholder text" />
|
|
31
31
|
*/
|
|
32
32
|
var Baidu = /*#__PURE__*/function (_Component) {
|
|
33
|
-
_inherits(Baidu, _Component);
|
|
34
|
-
var _super = _createSuper(Baidu);
|
|
35
33
|
function Baidu() {
|
|
36
34
|
_classCallCheck(this, Baidu);
|
|
37
|
-
return
|
|
35
|
+
return _callSuper(this, Baidu, arguments);
|
|
38
36
|
}
|
|
39
|
-
|
|
37
|
+
_inherits(Baidu, _Component);
|
|
38
|
+
return _createClass(Baidu, [{
|
|
40
39
|
key: "render",
|
|
41
40
|
value: function render() {
|
|
42
41
|
var _this$props = this.props,
|
|
@@ -57,7 +56,6 @@ var Baidu = /*#__PURE__*/function (_Component) {
|
|
|
57
56
|
})], 4);
|
|
58
57
|
}
|
|
59
58
|
}]);
|
|
60
|
-
return Baidu;
|
|
61
59
|
}(Component);
|
|
62
60
|
/**
|
|
63
61
|
* Cacheable Baidu search engine JSX component.
|