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
|
@@ -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 Analytics plugin JSX component.
|
|
19
19
|
* @module view/plugin/baidu_analytics
|
|
@@ -31,13 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <BaiduAnalytics trackingId="******" />
|
|
32
32
|
*/
|
|
33
33
|
var BaiduAnalytics = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(BaiduAnalytics, _Component);
|
|
35
|
-
var _super = _createSuper(BaiduAnalytics);
|
|
36
34
|
function BaiduAnalytics() {
|
|
37
35
|
_classCallCheck(this, BaiduAnalytics);
|
|
38
|
-
return
|
|
36
|
+
return _callSuper(this, BaiduAnalytics, arguments);
|
|
39
37
|
}
|
|
40
|
-
|
|
38
|
+
_inherits(BaiduAnalytics, _Component);
|
|
39
|
+
return _createClass(BaiduAnalytics, [{
|
|
41
40
|
key: "render",
|
|
42
41
|
value: function render() {
|
|
43
42
|
var trackingId = this.props.trackingId;
|
|
@@ -49,7 +48,6 @@ var BaiduAnalytics = /*#__PURE__*/function (_Component) {
|
|
|
49
48
|
});
|
|
50
49
|
}
|
|
51
50
|
}]);
|
|
52
|
-
return BaiduAnalytics;
|
|
53
51
|
}(Component);
|
|
54
52
|
/**
|
|
55
53
|
* Cacheable Baidu Analytics 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
|
* Bing Webmaster Tools plugin JSX component.
|
|
19
19
|
* @module view/plugin/bing_webmaster
|
|
@@ -31,13 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <BingWebmaster trackingId="******" />
|
|
32
32
|
*/
|
|
33
33
|
var BingWebmaster = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(BingWebmaster, _Component);
|
|
35
|
-
var _super = _createSuper(BingWebmaster);
|
|
36
34
|
function BingWebmaster() {
|
|
37
35
|
_classCallCheck(this, BingWebmaster);
|
|
38
|
-
return
|
|
36
|
+
return _callSuper(this, BingWebmaster, arguments);
|
|
39
37
|
}
|
|
40
|
-
|
|
38
|
+
_inherits(BingWebmaster, _Component);
|
|
39
|
+
return _createClass(BingWebmaster, [{
|
|
41
40
|
key: "render",
|
|
42
41
|
value: function render() {
|
|
43
42
|
var trackingId = this.props.trackingId;
|
|
@@ -47,7 +46,6 @@ var BingWebmaster = /*#__PURE__*/function (_Component) {
|
|
|
47
46
|
});
|
|
48
47
|
}
|
|
49
48
|
}]);
|
|
50
|
-
return BingWebmaster;
|
|
51
49
|
}(Component);
|
|
52
50
|
/**
|
|
53
51
|
* Cacheable Bing Webmaster Tools 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
|
* Busuanzi visitor counter plugin JSX component.
|
|
19
19
|
* @module view/plugin/baidu_analytics
|
|
@@ -31,13 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <Busuanzi />
|
|
32
32
|
*/
|
|
33
33
|
var Busuanzi = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(Busuanzi, _Component);
|
|
35
|
-
var _super = _createSuper(Busuanzi);
|
|
36
34
|
function Busuanzi() {
|
|
37
35
|
_classCallCheck(this, Busuanzi);
|
|
38
|
-
return
|
|
36
|
+
return _callSuper(this, Busuanzi, arguments);
|
|
39
37
|
}
|
|
40
|
-
|
|
38
|
+
_inherits(Busuanzi, _Component);
|
|
39
|
+
return _createClass(Busuanzi, [{
|
|
41
40
|
key: "render",
|
|
42
41
|
value: function render() {
|
|
43
42
|
return (0, _inferno.createVNode)(1, "script", null, null, 1, {
|
|
@@ -46,7 +45,6 @@ var Busuanzi = /*#__PURE__*/function (_Component) {
|
|
|
46
45
|
});
|
|
47
46
|
}
|
|
48
47
|
}]);
|
|
49
|
-
return Busuanzi;
|
|
50
48
|
}(Component);
|
|
51
49
|
/**
|
|
52
50
|
* Cacheable Busuanzi visitor counter plugin JSX component.
|
package/lib/view/plugin/cnzz.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
|
* CNZZ statistics plugin JSX component.
|
|
19
19
|
* @module view/plugin/cnzz
|
|
@@ -31,13 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <Cnzz id="******" webId="******" />
|
|
32
32
|
*/
|
|
33
33
|
var Cnzz = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(Cnzz, _Component);
|
|
35
|
-
var _super = _createSuper(Cnzz);
|
|
36
34
|
function Cnzz() {
|
|
37
35
|
_classCallCheck(this, Cnzz);
|
|
38
|
-
return
|
|
36
|
+
return _callSuper(this, Cnzz, arguments);
|
|
39
37
|
}
|
|
40
|
-
|
|
38
|
+
_inherits(Cnzz, _Component);
|
|
39
|
+
return _createClass(Cnzz, [{
|
|
41
40
|
key: "render",
|
|
42
41
|
value: function render() {
|
|
43
42
|
var _this$props = this.props,
|
|
@@ -49,7 +48,6 @@ var Cnzz = /*#__PURE__*/function (_Component) {
|
|
|
49
48
|
});
|
|
50
49
|
}
|
|
51
50
|
}]);
|
|
52
|
-
return Cnzz;
|
|
53
51
|
}(Component);
|
|
54
52
|
/**
|
|
55
53
|
* Cacheable CNZZ 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
|
* A JSX component for alerting users about the use of cookies.
|
|
19
19
|
* @module view/plugin/cookie_consent
|
|
@@ -47,13 +47,12 @@ var _require2 = require('../../util/cache'),
|
|
|
47
47
|
* jsUrl="/path/to/cookieconsent.js" />
|
|
48
48
|
*/
|
|
49
49
|
var CookieConsent = /*#__PURE__*/function (_Component) {
|
|
50
|
-
_inherits(CookieConsent, _Component);
|
|
51
|
-
var _super = _createSuper(CookieConsent);
|
|
52
50
|
function CookieConsent() {
|
|
53
51
|
_classCallCheck(this, CookieConsent);
|
|
54
|
-
return
|
|
52
|
+
return _callSuper(this, CookieConsent, arguments);
|
|
55
53
|
}
|
|
56
|
-
|
|
54
|
+
_inherits(CookieConsent, _Component);
|
|
55
|
+
return _createClass(CookieConsent, [{
|
|
57
56
|
key: "render",
|
|
58
57
|
value: function render() {
|
|
59
58
|
var _this$props = this.props,
|
|
@@ -89,7 +88,6 @@ var CookieConsent = /*#__PURE__*/function (_Component) {
|
|
|
89
88
|
})], 4);
|
|
90
89
|
}
|
|
91
90
|
}]);
|
|
92
|
-
return CookieConsent;
|
|
93
91
|
}(Component);
|
|
94
92
|
/**
|
|
95
93
|
* Cacheable JSX component for alerting users about the use of cookies.
|
|
@@ -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
|
* Light Gallery and Justified Gallery plugins JSX component.
|
|
19
19
|
* @module view/plugin/gallery
|
|
@@ -41,13 +41,12 @@ var _require2 = require('../../util/cache'),
|
|
|
41
41
|
* }} />
|
|
42
42
|
*/
|
|
43
43
|
var Gallery = /*#__PURE__*/function (_Component) {
|
|
44
|
-
_inherits(Gallery, _Component);
|
|
45
|
-
var _super = _createSuper(Gallery);
|
|
46
44
|
function Gallery() {
|
|
47
45
|
_classCallCheck(this, Gallery);
|
|
48
|
-
return
|
|
46
|
+
return _callSuper(this, Gallery, arguments);
|
|
49
47
|
}
|
|
50
|
-
|
|
48
|
+
_inherits(Gallery, _Component);
|
|
49
|
+
return _createClass(Gallery, [{
|
|
51
50
|
key: "render",
|
|
52
51
|
value: function render() {
|
|
53
52
|
var _this$props = this.props,
|
|
@@ -77,7 +76,6 @@ var Gallery = /*#__PURE__*/function (_Component) {
|
|
|
77
76
|
})], 4);
|
|
78
77
|
}
|
|
79
78
|
}]);
|
|
80
|
-
return Gallery;
|
|
81
79
|
}(Component);
|
|
82
80
|
/**
|
|
83
81
|
* Cacheable Light Gallery and Justified Gallery plugins 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
|
* Google Analytics plugin JSX component.
|
|
19
19
|
* @module view/plugin/google_analytics
|
|
@@ -31,13 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <GoogleAnalytics trackingId="******" />
|
|
32
32
|
*/
|
|
33
33
|
var GoogleAnalytics = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(GoogleAnalytics, _Component);
|
|
35
|
-
var _super = _createSuper(GoogleAnalytics);
|
|
36
34
|
function GoogleAnalytics() {
|
|
37
35
|
_classCallCheck(this, GoogleAnalytics);
|
|
38
|
-
return
|
|
36
|
+
return _callSuper(this, GoogleAnalytics, arguments);
|
|
39
37
|
}
|
|
40
|
-
|
|
38
|
+
_inherits(GoogleAnalytics, _Component);
|
|
39
|
+
return _createClass(GoogleAnalytics, [{
|
|
41
40
|
key: "render",
|
|
42
41
|
value: function render() {
|
|
43
42
|
var trackingId = this.props.trackingId;
|
|
@@ -52,7 +51,6 @@ var GoogleAnalytics = /*#__PURE__*/function (_Component) {
|
|
|
52
51
|
})], 4);
|
|
53
52
|
}
|
|
54
53
|
}]);
|
|
55
|
-
return GoogleAnalytics;
|
|
56
54
|
}(Component);
|
|
57
55
|
/**
|
|
58
56
|
* Cacheable Google Analytics 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
|
* Hotjar user feedback plugin JSX component.
|
|
19
19
|
* @module view/plugin/hotjar
|
|
@@ -31,13 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <Hotjar siteId="******" />
|
|
32
32
|
*/
|
|
33
33
|
var Hotjar = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(Hotjar, _Component);
|
|
35
|
-
var _super = _createSuper(Hotjar);
|
|
36
34
|
function Hotjar() {
|
|
37
35
|
_classCallCheck(this, Hotjar);
|
|
38
|
-
return
|
|
36
|
+
return _callSuper(this, Hotjar, arguments);
|
|
39
37
|
}
|
|
40
|
-
|
|
38
|
+
_inherits(Hotjar, _Component);
|
|
39
|
+
return _createClass(Hotjar, [{
|
|
41
40
|
key: "render",
|
|
42
41
|
value: function render() {
|
|
43
42
|
var siteId = this.props.siteId;
|
|
@@ -49,7 +48,6 @@ var Hotjar = /*#__PURE__*/function (_Component) {
|
|
|
49
48
|
})], 4);
|
|
50
49
|
}
|
|
51
50
|
}]);
|
|
52
|
-
return Hotjar;
|
|
53
51
|
}(Component);
|
|
54
52
|
/**
|
|
55
53
|
* Cacheable Hotjar user feedback plugin JSX component.
|