@clickview/library-editor 1.1.38-rc.0 → 1.1.38-rc.2
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/dist/bundles.json +1 -1
- package/dist/scripts/{bundle-cd66cc1369.min.js → bundle-eb7f53a26f.min.js} +1 -1
- package/package.json +3 -3
- package/dist/css/0-library-editor.chunk.css +0 -26
- package/dist/css/10-library-editor.chunk.css +0 -25
- package/dist/css/11-library-editor.chunk.css +0 -135
- package/dist/css/12-library-editor.chunk.css +0 -18
- package/dist/css/13-library-editor.chunk.css +0 -21
- package/dist/css/14-library-editor.chunk.css +0 -76
- package/dist/css/16-library-editor.chunk.css +0 -52
- package/dist/css/17-library-editor.chunk.css +0 -14
- package/dist/css/18-library-editor.chunk.css +0 -18
- package/dist/css/2-library-editor.chunk.css +0 -143
- package/dist/css/21-library-editor.chunk.css +0 -52
- package/dist/css/22-library-editor.chunk.css +0 -12
- package/dist/css/23-library-editor.chunk.css +0 -25
- package/dist/css/25-library-editor.chunk.css +0 -35
- package/dist/css/26-library-editor.chunk.css +0 -20
- package/dist/css/28-library-editor.chunk.css +0 -63
- package/dist/css/29-library-editor.chunk.css +0 -80
- package/dist/css/3-library-editor.chunk.css +0 -15
- package/dist/css/30-library-editor.chunk.css +0 -33
- package/dist/css/31-library-editor.chunk.css +0 -30
- package/dist/css/32-library-editor.chunk.css +0 -45
- package/dist/css/33-library-editor.chunk.css +0 -13
- package/dist/css/34-library-editor.chunk.css +0 -19
- package/dist/css/35-library-editor.chunk.css +0 -18
- package/dist/css/36-library-editor.chunk.css +0 -12
- package/dist/css/37-library-editor.chunk.css +0 -5
- package/dist/css/38-library-editor.chunk.css +0 -5
- package/dist/css/40-library-editor.chunk.css +0 -24
- package/dist/css/41-library-editor.chunk.css +0 -76
- package/dist/css/42-library-editor.chunk.css +0 -44
- package/dist/css/43-library-editor.chunk.css +0 -30
- package/dist/css/44-library-editor.chunk.css +0 -12
- package/dist/css/45-library-editor.chunk.css +0 -25
- package/dist/css/46-library-editor.chunk.css +0 -24
- package/dist/css/47-library-editor.chunk.css +0 -84
- package/dist/css/48-library-editor.chunk.css +0 -4
- package/dist/css/49-library-editor.chunk.css +0 -33
- package/dist/css/50-library-editor.chunk.css +0 -20
- package/dist/css/51-library-editor.chunk.css +0 -37
- package/dist/css/52-library-editor.chunk.css +0 -64
- package/dist/css/55-library-editor.chunk.css +0 -3
- package/dist/css/56-library-editor.chunk.css +0 -3
- package/dist/css/58-library-editor.chunk.css +0 -3
- package/dist/css/59-library-editor.chunk.css +0 -3
- package/dist/css/6-library-editor.chunk.css +0 -42
- package/dist/css/60-library-editor.chunk.css +0 -16
- package/dist/css/62-library-editor.chunk.css +0 -4
- package/dist/css/63-library-editor.chunk.css +0 -168
- package/dist/css/67-library-editor.chunk.css +0 -76
- package/dist/css/68-library-editor.chunk.css +0 -15
- package/dist/css/69-library-editor.chunk.css +0 -15
- package/dist/css/7-library-editor.chunk.css +0 -10
- package/dist/css/70-library-editor.chunk.css +0 -21
- package/dist/css/71-library-editor.chunk.css +0 -38
- package/dist/css/72-library-editor.chunk.css +0 -14
- package/dist/css/73-library-editor.chunk.css +0 -35
- package/dist/css/74-library-editor.chunk.css +0 -27
- package/dist/css/75-library-editor.chunk.css +0 -4
- package/dist/css/76-library-editor.chunk.css +0 -4
- package/dist/css/8-library-editor.chunk.css +0 -7
- package/dist/css/library-editor-app.css +0 -9282
- package/dist/scripts/0-b6c23a57b8.chunk.js +0 -1
- package/dist/scripts/0.chunk.js +0 -64
- package/dist/scripts/1-b0fc29397e.chunk.js +0 -1
- package/dist/scripts/1.chunk.js +0 -75
- package/dist/scripts/10-8307bb975c.chunk.js +0 -1
- package/dist/scripts/10.chunk.js +0 -62
- package/dist/scripts/11-39d9259f5b.chunk.js +0 -11
- package/dist/scripts/11.chunk.js +0 -317
- package/dist/scripts/12-ddc68398b8.chunk.js +0 -1
- package/dist/scripts/12.chunk.js +0 -56
- package/dist/scripts/13-8f8a6ce349.chunk.js +0 -1
- package/dist/scripts/13.chunk.js +0 -25
- package/dist/scripts/14-537dcac148.chunk.js +0 -1
- package/dist/scripts/14.chunk.js +0 -272
- package/dist/scripts/15-4def28b998.chunk.js +0 -1
- package/dist/scripts/15.chunk.js +0 -35
- package/dist/scripts/16-5e62546a04.chunk.js +0 -1
- package/dist/scripts/16.chunk.js +0 -79
- package/dist/scripts/17-3c0509798b.chunk.js +0 -1
- package/dist/scripts/17.chunk.js +0 -40
- package/dist/scripts/18.chunk.js +0 -40
- package/dist/scripts/19.chunk.js +0 -43
- package/dist/scripts/2-6cbd574810.chunk.js +0 -1
- package/dist/scripts/2.chunk.js +0 -33
- package/dist/scripts/20-e47912d1b0.chunk.js +0 -1
- package/dist/scripts/20.chunk.js +0 -18
- package/dist/scripts/21-c319fe911a.chunk.js +0 -1
- package/dist/scripts/21.chunk.js +0 -55
- package/dist/scripts/22-d50d286ec0.chunk.js +0 -1
- package/dist/scripts/22.chunk.js +0 -47
- package/dist/scripts/23-0e07fa84ee.chunk.js +0 -1
- package/dist/scripts/23.chunk.js +0 -47
- package/dist/scripts/24-1f362efc95.chunk.js +0 -1
- package/dist/scripts/24.chunk.js +0 -33
- package/dist/scripts/25-7226ec568a.chunk.js +0 -1
- package/dist/scripts/25.chunk.js +0 -25
- package/dist/scripts/26-c29ef97409.chunk.js +0 -1
- package/dist/scripts/26.chunk.js +0 -25
- package/dist/scripts/27-d3686d48d4.chunk.js +0 -1
- package/dist/scripts/27.chunk.js +0 -10
- package/dist/scripts/28-4f694bc77e.chunk.js +0 -1
- package/dist/scripts/28.chunk.js +0 -334
- package/dist/scripts/29-7189ce20ea.chunk.js +0 -1
- package/dist/scripts/29.chunk.js +0 -202
- package/dist/scripts/3-2f121af17d.chunk.js +0 -1
- package/dist/scripts/3.chunk.js +0 -57
- package/dist/scripts/30-b2f66f0afd.chunk.js +0 -1
- package/dist/scripts/30.chunk.js +0 -137
- package/dist/scripts/31-b7048d8b68.chunk.js +0 -1
- package/dist/scripts/31.chunk.js +0 -113
- package/dist/scripts/32-5d4dc8cc7a.chunk.js +0 -1
- package/dist/scripts/32.chunk.js +0 -115
- package/dist/scripts/33-10a1be6537.chunk.js +0 -1
- package/dist/scripts/33.chunk.js +0 -93
- package/dist/scripts/34-7ab862c582.chunk.js +0 -1
- package/dist/scripts/34.chunk.js +0 -63
- package/dist/scripts/35-068e9c8b75.chunk.js +0 -1
- package/dist/scripts/35.chunk.js +0 -48
- package/dist/scripts/36-dd1e44631a.chunk.js +0 -1
- package/dist/scripts/36.chunk.js +0 -33
- package/dist/scripts/37-8ba3a7efee.chunk.js +0 -1
- package/dist/scripts/37.chunk.js +0 -25
- package/dist/scripts/38-31d7ee384c.chunk.js +0 -1
- package/dist/scripts/38.chunk.js +0 -25
- package/dist/scripts/39-6353c29940.chunk.js +0 -1
- package/dist/scripts/39.chunk.js +0 -19
- package/dist/scripts/4-efdd6d1f63.chunk.js +0 -1
- package/dist/scripts/4.chunk.js +0 -26
- package/dist/scripts/40-1cfde7b518.chunk.js +0 -1
- package/dist/scripts/40.chunk.js +0 -182
- package/dist/scripts/41-dc122f1ff3.chunk.js +0 -1
- package/dist/scripts/41.chunk.js +0 -175
- package/dist/scripts/42-761edb9a10.chunk.js +0 -1
- package/dist/scripts/42.chunk.js +0 -176
- package/dist/scripts/43-95935b47bd.chunk.js +0 -1
- package/dist/scripts/43.chunk.js +0 -121
- package/dist/scripts/44-d7c79e8244.chunk.js +0 -1
- package/dist/scripts/44.chunk.js +0 -122
- package/dist/scripts/45-d56b804684.chunk.js +0 -1
- package/dist/scripts/45.chunk.js +0 -85
- package/dist/scripts/46-c8e2513bf9.chunk.js +0 -1
- package/dist/scripts/46.chunk.js +0 -78
- package/dist/scripts/47-033c1cf18a.chunk.js +0 -1
- package/dist/scripts/47.chunk.js +0 -70
- package/dist/scripts/48-f37fb199cf.chunk.js +0 -1
- package/dist/scripts/48.chunk.js +0 -88
- package/dist/scripts/49-66c283603e.chunk.js +0 -1
- package/dist/scripts/49.chunk.js +0 -62
- package/dist/scripts/5-8d1b34023d.chunk.js +0 -1
- package/dist/scripts/5.chunk.js +0 -10
- package/dist/scripts/50-fffaebeef7.chunk.js +0 -1
- package/dist/scripts/50.chunk.js +0 -64
- package/dist/scripts/51-0bed92583d.chunk.js +0 -1
- package/dist/scripts/51.chunk.js +0 -55
- package/dist/scripts/52-fddf83dbc3.chunk.js +0 -1
- package/dist/scripts/52.chunk.js +0 -47
- package/dist/scripts/53-56ab6f2900.chunk.js +0 -1
- package/dist/scripts/53.chunk.js +0 -56
- package/dist/scripts/54-801ffeb350.chunk.js +0 -1
- package/dist/scripts/54.chunk.js +0 -56
- package/dist/scripts/55-9a90130bde.chunk.js +0 -1
- package/dist/scripts/55.chunk.js +0 -41
- package/dist/scripts/56-0bda1f8ade.chunk.js +0 -1
- package/dist/scripts/56.chunk.js +0 -41
- package/dist/scripts/57-3e97374d6d.chunk.js +0 -1
- package/dist/scripts/57.chunk.js +0 -50
- package/dist/scripts/58-5494e053a7.chunk.js +0 -1
- package/dist/scripts/58.chunk.js +0 -33
- package/dist/scripts/59-b4d8ec05b3.chunk.js +0 -1
- package/dist/scripts/59.chunk.js +0 -33
- package/dist/scripts/6-d90b512b74.chunk.js +0 -1
- package/dist/scripts/6.chunk.js +0 -40
- package/dist/scripts/60-3dbafa2f5d.chunk.js +0 -1
- package/dist/scripts/60.chunk.js +0 -33
- package/dist/scripts/61-3acc614e23.chunk.js +0 -1
- package/dist/scripts/61.chunk.js +0 -33
- package/dist/scripts/62-ec5abf4e57.chunk.js +0 -1
- package/dist/scripts/62.chunk.js +0 -25
- package/dist/scripts/63-9acef1097c.chunk.js +0 -1
- package/dist/scripts/63.chunk.js +0 -25
- package/dist/scripts/64-5bd60a10f3.chunk.js +0 -1
- package/dist/scripts/64.chunk.js +0 -33
- package/dist/scripts/65-1b7003dcf7.chunk.js +0 -1
- package/dist/scripts/65.chunk.js +0 -34
- package/dist/scripts/66-df6e6e9fbb.chunk.js +0 -1
- package/dist/scripts/66.chunk.js +0 -33
- package/dist/scripts/67-2219085773.chunk.js +0 -1
- package/dist/scripts/67.chunk.js +0 -25
- package/dist/scripts/68-c590eb4668.chunk.js +0 -1
- package/dist/scripts/68.chunk.js +0 -25
- package/dist/scripts/69-f4a16bd797.chunk.js +0 -1
- package/dist/scripts/69.chunk.js +0 -25
- package/dist/scripts/7-4bbf1e0b34.chunk.js +0 -1
- package/dist/scripts/7.chunk.js +0 -33
- package/dist/scripts/70-de3cbb5854.chunk.js +0 -1
- package/dist/scripts/70.chunk.js +0 -25
- package/dist/scripts/71-7eded412b8.chunk.js +0 -1
- package/dist/scripts/71.chunk.js +0 -25
- package/dist/scripts/72-354b272679.chunk.js +0 -1
- package/dist/scripts/72.chunk.js +0 -25
- package/dist/scripts/73.chunk.js +0 -25
- package/dist/scripts/74.chunk.js +0 -25
- package/dist/scripts/75.chunk.js +0 -25
- package/dist/scripts/76.chunk.js +0 -25
- package/dist/scripts/77.chunk.js +0 -26
- package/dist/scripts/78.chunk.js +0 -26
- package/dist/scripts/79.chunk.js +0 -26
- package/dist/scripts/8-ea382936d8.chunk.js +0 -1
- package/dist/scripts/8.chunk.js +0 -33
- package/dist/scripts/80.chunk.js +0 -26
- package/dist/scripts/81.chunk.js +0 -26
- package/dist/scripts/82.chunk.js +0 -26
- package/dist/scripts/83.chunk.js +0 -26
- package/dist/scripts/84.chunk.js +0 -26
- package/dist/scripts/85.chunk.js +0 -26
- package/dist/scripts/86.chunk.js +0 -18
- package/dist/scripts/87.chunk.js +0 -18
- package/dist/scripts/88.chunk.js +0 -18
- package/dist/scripts/89.chunk.js +0 -18
- package/dist/scripts/9-7deb869eb3.chunk.js +0 -1
- package/dist/scripts/9.chunk.js +0 -18
- package/dist/scripts/90.chunk.js +0 -18
- package/dist/scripts/91.chunk.js +0 -18
- package/dist/scripts/92.chunk.js +0 -18
- package/dist/scripts/bundle-0af60c1906.min.js +0 -10
- package/dist/scripts/bundle-aa32cea8e4.min.js +0 -10
- package/dist/scripts/bundle.js +0 -7806
- package/dist/scripts/polyfills-1bf177c7ab.min.js +0 -1
- package/dist/scripts/polyfills.js +0 -2701
package/dist/scripts/24.chunk.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[24],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/shared/components/breadcrumbs/BreadcrumbComponentCollection.ts":
|
|
4
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BreadcrumbComponentCollection\", function() { return BreadcrumbComponentCollection; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var _BreadcrumbItem_hbs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/components/breadcrumbs/BreadcrumbItem.hbs\");\n/* harmony import */ var _BreadcrumbItem_hbs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_BreadcrumbItem_hbs__WEBPACK_IMPORTED_MODULE_1__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\nvar BreadcrumbItemComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(BreadcrumbItemComponent, _Core$Component);\n\n var _super = _createSuper(BreadcrumbItemComponent);\n\n function BreadcrumbItemComponent() {\n _classCallCheck(this, BreadcrumbItemComponent);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(BreadcrumbItemComponent, [{\n key: \"name\",\n get: function get() {\n return 'BreadcrumbItemComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _BreadcrumbItem_hbs__WEBPACK_IMPORTED_MODULE_1___default.a;\n }\n }, {\n key: \"tagName\",\n get: function get() {\n return 'li';\n }\n }, {\n key: \"className\",\n get: function get() {\n var className = 'breadcrumb-item';\n if (this.model.get('active')) className += ' active';\n return className;\n }\n }, {\n key: \"attributes\",\n get: function get() {\n if (!this.model.get('active')) return {};\n return {\n 'aria-current': 'page'\n };\n }\n }, {\n key: \"appLinks\",\n get: function get() {\n if (this.model.get('active')) return {};\n return {\n a: this.model.get('appLink')\n };\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n isActive: this.model.get('active')\n };\n }\n }]);\n\n return BreadcrumbItemComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Component);\n\nvar BreadcrumbComponentCollection = /*#__PURE__*/function (_Core$ComponentCollec) {\n _inherits(BreadcrumbComponentCollection, _Core$ComponentCollec);\n\n var _super2 = _createSuper(BreadcrumbComponentCollection);\n\n function BreadcrumbComponentCollection() {\n _classCallCheck(this, BreadcrumbComponentCollection);\n\n return _super2.apply(this, arguments);\n }\n\n _createClass(BreadcrumbComponentCollection, [{\n key: \"name\",\n get: function get() {\n return 'BreadcrumbComponentCollection';\n }\n }, {\n key: \"tagName\",\n get: function get() {\n return 'ol';\n }\n }, {\n key: \"className\",\n get: function get() {\n return 'breadcrumb m-0 p-0';\n }\n }, {\n key: \"childView\",\n get: function get() {\n return BreadcrumbItemComponent;\n }\n }]);\n\n return BreadcrumbComponentCollection;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].ComponentCollection);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjoz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G4gICAgcmV0dXJuICdicmVhZGNydW1iIG0tMCBwLTAnO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCBjaGlsZFZpZXcoKTogdHlwZW9mIEJyZWFkY3J1bWJJdGVtQ29tcG9uZW50IHtcclxuICAgIHJldHVybiBCcmVhZGNydW1iSXRlbUNvbXBvbmVudDtcclxuICB9XHJcbn0iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUNBO0FBRUE7QUFDQTtBQUNBOzs7Ozs7Ozs7Ozs7O0FBQ0E7QUFDQTtBQUNBOzs7QUFFQTtBQUNBO0FBQ0E7OztBQUVBO0FBQ0E7QUFDQTs7O0FBRUE7QUFDQTtBQUVBO0FBR0E7QUFDQTs7O0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFEQTtBQUdBOzs7QUFFQTtBQUNBO0FBRUE7QUFDQTtBQURBO0FBR0E7OztBQUVBO0FBQ0E7QUFDQTtBQURBO0FBR0E7Ozs7QUExQ0E7QUFDQTtBQTRDQTtBQUFBO0FBQ0E7QUFEQTtBQUNBO0FBREE7QUFBQTtBQUNBO0FBREE7QUFBQTtBQUNBO0FBREE7QUFBQTtBQUFBO0FBRUE7QUFDQTtBQUhBO0FBQUE7QUFBQTtBQU1BO0FBQ0E7QUFQQTtBQUFBO0FBQUE7QUFVQTtBQUNBO0FBWEE7QUFBQTtBQUFBO0FBY0E7QUFDQTtBQWZBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/breadcrumbs/BreadcrumbComponentCollection.ts\n");
|
|
8
|
-
|
|
9
|
-
/***/ }),
|
|
10
|
-
|
|
11
|
-
/***/ "./src/shared/components/breadcrumbs/BreadcrumbItem.hbs":
|
|
12
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13
|
-
|
|
14
|
-
eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \"<a class=\\\"info-link\\\">\"\n + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"</a>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isActive : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvQnJlYWRjcnVtYkl0ZW0uaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC9jb21wb25lbnRzL2JyZWFkY3J1bWJzL0JyZWFkY3J1bWJJdGVtLmhicyJdLCJzb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BQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/breadcrumbs/BreadcrumbItem.hbs\n");
|
|
15
|
-
|
|
16
|
-
/***/ }),
|
|
17
|
-
|
|
18
|
-
/***/ "./src/shared/components/breadcrumbs/Breadcrumbs.hbs":
|
|
19
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
20
|
-
|
|
21
|
-
eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n return \"<nav class=\\\"breadcrumbs-region\\\" aria-label=\\\"breadcrumb\\\"></nav>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvQnJlYWRjcnVtYnMuaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC9jb21wb25lbnRzL2JyZWFkY3J1bWJzL0JyZWFkY3J1bWJzLmhicyJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgSGFuZGxlYmFycyA9IHJlcXVpcmUoJ2hhbmRsZWJhcnMnKTtcbm1vZHVsZS5leHBvcnRzID0gKEhhbmRsZWJhcnNbJ2RlZmF1bHQnXSB8fCBIYW5kbGViYXJzKS50ZW1wbGF0ZSh7XCJjb21waWxlclwiOls4LFwiPj0gNC4zLjBcIl0sXCJtYWluXCI6ZnVuY3Rpb24oY29udGFpbmVyLGRlcHRoMCxoZWxwZXJzLHBhcnRpYWxzLGRhdGEpIHtcbiAgICByZXR1cm4gXCI8bmF2IGNsYXNzPVxcXCJicmVhZGNydW1icy1yZWdpb25cXFwiIGFyaWEtbGFiZWw9XFxcImJyZWFkY3J1bWJcXFwiPjwvbmF2PlwiO1xufSxcInVzZURhdGFcIjp0cnVlfSk7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/shared/components/breadcrumbs/Breadcrumbs.hbs\n");
|
|
22
|
-
|
|
23
|
-
/***/ }),
|
|
24
|
-
|
|
25
|
-
/***/ "./src/shared/components/breadcrumbs/BreadcrumbsComponent.ts":
|
|
26
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27
|
-
|
|
28
|
-
"use strict";
|
|
29
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BreadcrumbsComponent\", function() { return BreadcrumbsComponent; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var _Breadcrumbs_hbs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/components/breadcrumbs/Breadcrumbs.hbs\");\n/* harmony import */ var _Breadcrumbs_hbs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_Breadcrumbs_hbs__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _BreadcrumbComponentCollection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/shared/components/breadcrumbs/BreadcrumbComponentCollection.ts\");\n/* harmony import */ var shared_utils_FolderTreeHelpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/shared/utils/FolderTreeHelpers.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/shared/constants/index.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\nvar BreadcrumbsComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(BreadcrumbsComponent, _Core$Component);\n\n var _super = _createSuper(BreadcrumbsComponent);\n\n function BreadcrumbsComponent(options) {\n _classCallCheck(this, BreadcrumbsComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(BreadcrumbsComponent, [{\n key: \"initialize\",\n value: function initialize() {\n this.getBreadcrumbs();\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'BreadcrumbsComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _Breadcrumbs_hbs__WEBPACK_IMPORTED_MODULE_1___default.a;\n }\n }, {\n key: \"className\",\n get: function get() {\n return 'd-inline-block';\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n breadcrumbs: '.breadcrumbs-region'\n };\n }\n }, {\n key: \"getBreadcrumbs\",\n value: function getBreadcrumbs() {\n this.breadcrumbCollection = new libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Collection();\n var current = this.options.folder;\n var parent;\n\n do {\n parent = shared_utils_FolderTreeHelpers__WEBPACK_IMPORTED_MODULE_3__[\"FolderTreeHelpers\"].getParent(current.id, this.options.libraries);\n this.breadcrumbCollection.add(this.getBreadcrumb(current, !!parent), {\n at: 0\n });\n if (!parent) break;\n current = parent;\n } while (parent);\n\n if (this.options.video) this.breadcrumbCollection.add({\n name: this.options.video.get('name'),\n appLink: {\n application: shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"AppChannels\"].LIBRARY_EDITOR,\n action: shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"Actions\"].LibraryEditor.VIDEO_DETAILS,\n args: [this.options.video.id]\n }\n });\n if (!this.breadcrumbCollection.length) return;\n this.breadcrumbCollection.last().set('active', !this.options.enableLastItemAppLink);\n }\n }, {\n key: \"getBreadcrumb\",\n value: function getBreadcrumb(folder, hasParent) {\n var action = hasParent ? shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"Actions\"].LibraryEditor.FOLDER : shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"Actions\"].LibraryEditor.LIBRARY;\n return {\n name: folder.get('name'),\n appLink: {\n application: shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"AppChannels\"].LIBRARY_EDITOR,\n action: action,\n args: [folder.id]\n }\n };\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n var breadcrumbComponentCollection = new _BreadcrumbComponentCollection__WEBPACK_IMPORTED_MODULE_2__[\"BreadcrumbComponentCollection\"]({\n collection: this.breadcrumbCollection\n });\n this.showChildView('breadcrumbs', breadcrumbComponentCollection);\n }\n }]);\n\n return BreadcrumbsComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvQnJlYWRjcnVtYnNDb21wb25lbnQudHMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvQGNsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvc2hhcmVkL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvQnJlYWRjcnVtYnNDb21wb25lbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgT2JqZWN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UFBO0FBQ0E7QUFEQTtBQUNBO0FBS0E7QUFBQTtBQUNBO0FBREE7QUFFQTtBQUNBO0FBVEE7QUFBQTtBQUFBO0FBV0E7QUFDQTtBQVpBO0FBQUE7QUFBQTtBQWVBO0FBQ0E7QUFoQkE7QUFBQTtBQUFBO0FBbUJBO0FBQ0E7QUFwQkE7QUFBQTtBQUFBO0FBdUJBO0FBQ0E7QUF4QkE7QUFBQTtBQUFBO0FBMkJBO0FBQ0E7QUFEQTtBQUdBO0FBOUJBO0FBQUE7QUFBQTtBQWlDQTtBQUVBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUhBO0FBRkE7QUFTQTtBQUVBO0FBQ0E7QUE1REE7QUFBQTtBQUFBO0FBK0RBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSEE7QUFGQTtBQVNBO0FBMUVBO0FBQUE7QUFBQTtBQTZFQTtBQUNBO0FBREE7QUFJQTtBQUNBO0FBbEZBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/breadcrumbs/BreadcrumbsComponent.ts\n");
|
|
30
|
-
|
|
31
|
-
/***/ })
|
|
32
|
-
|
|
33
|
-
}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[25],{1066:function(e,t,n){"use strict";var o=n(191),r=n(1),i=n(189),a=n(0),l=n(135),s=n(291);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=y(e);if(t){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,e);var t,n,o,i=d(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=i.call(this,{collectionPrefix:"".concat(a.f.RECENT_VIDEOS,":collection"),cursor:e.cursor,sort:e.sort})).setAdditionalData(e),t}return t=c,(n=[{key:"setAdditionalData",value:function(e){var t=e.libraryIds,n=e.dateQueryString,o=e.subjects;t&&(this.libraryIds=t),o&&(r.isArray(o)&&o.length&&(this.subjects=o),r.isArray(o)||(this.subjects=[o]));var i=r.findWhere(s.g,{queryString:n})||s.e;this.dateOption=new l.b(i)}},{key:"toString",value:function(){var e=this.subjects&&this.subjects.length&&this.subjects.map((function(e){return escape(e.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat(u(e),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var e={};return this.libraryIds&&(e.libraryIds=this.libraryIds),this.dateOption&&(e.from=this.dateOption.get("from"),e.to=this.dateOption.get("to")),this.subjects&&(e.subjectIds=r.flatten(this.subjects.map((function(e){return e.get("subjectIds")})))),this.cursor&&(e.cursor=this.cursor),e}}])&&p(t.prototype,n),o&&p(t,o),c}(i.a);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=E(e);if(t){var r=E(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return C(this,n)}}function C(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(c,e);var t,n,o,i=k(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=i.call(this,{collectionPrefix:"".concat(a.f.RECENT_SUBJECTS,":collection"),sort:e.sort})).setAdditionalData(e),t}return t=c,(n=[{key:"setAdditionalData",value:function(e){var t=e.libraryIds,n=e.dateQueryString;t&&(this.libraryIds=t);var o=r.findWhere(s.g,{queryString:n})||s.e;this.dateOption=new l.b(o)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var e={};return this.libraryIds&&(e.libraryIds=this.libraryIds),this.dateOption&&(e.from=this.dateOption.get("from"),e.to=this.dateOption.get("to")),e}}])&&v(t.prototype,n),o&&v(t,o),c}(i.a);function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=T(e);if(t){var r=T(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return P(this,n)}}function P(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(n,e);var t=_(n);function n(e,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return S(this,n),t.call(this,{collectionPrefix:a.f.LIBRARY_FOLDERS,id:e,sort:o,cursor:r})}return n}(i.a);n.d(t,"d",(function(){return o.a})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return O})),n.d(t,"a",(function(){return I}))},1091:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var o=n(6),r=n(2),i=n(30),a=n(16),l=n(289),s=n(12),c=n(1017),u=n(187),f=n(1114),p=n.n(f);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=b(e);if(t){var r=b(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(h,e);var t,n,r,f=y(h);function h(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),f.call(this,e)}return t=h,(n=[{key:"initialize",value:function(){this.options.playerViewModelKey&&this.listenToPlayerViewModel(),this.initViewModel(),this.options.editing&&this.syncTime()}},{key:"name",get:function(){return"ChapterFormComponent"}},{key:"lang",get:function(){return"libraryEditor.chapterForm"}},{key:"tagName",get:function(){return"form"}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return this.options.creating?"py-3":"border-top p-2"}},{key:"behaviors",get:function(){return[{behaviorClass:l.a,bindViewModel:!0},{behaviorClass:l.f,bindViewModel:!0}]}},{key:"events",value:function(){return{submit:"onSubmit","change .chapter-name":"validateName","keyup .chapter-name":"validateName","change .time-input":"onTimeInputUpdate","click .time-input":"onTimeInputUpdate","keyup .time-input":"onTimeInputUpdate","click .cancel":"destroyView"}}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}},"[name=hours]":{observe:"hours",setOptions:{validate:!0}},"[name=minutes]":{observe:"minutes",setOptions:{validate:!0}},"[name=seconds]":{observe:"seconds",setOptions:{validate:!0}}}}},{key:"initViewModel",value:function(){this.viewModel=i.a.get(this.viewModelName,this.model.toJSON())}},{key:"listenToPlayerViewModel",value:function(){var e=i.a.get(this.options.playerViewModelKey);this.listenTo(e,"change:currenttime",this.updateTime)}},{key:"updateTime",value:function(e){this.webPlayerTime=e.get("currenttime"),this.syncTime()}},{key:"syncTime",value:function(){var e=this.viewModel.get("startTime")||this.webPlayerTime;this.viewModel.set({hours:s.x.getHoursComponent(e),minutes:s.x.getMinutesComponent(e),seconds:s.x.getSecondsComponent(e)})}},{key:"getNewTime",value:function(){return this.enabled()?s.x.parseTime(this.viewModel.pick("hours","minutes","seconds")):0}},{key:"enabled",value:function(){return this.options.creating||0!==this.model.collection.indexOf(this.model)}},{key:"maxTimes",value:function(){var e=s.x.millisecondsToSeconds(this.options.duration),t=s.x.getHoursComponent(e),n=t>0?59:s.x.getMinutesComponent(e);return{maxHr:t,maxMin:n,maxSec:n>0?59:s.x.getSecondsComponent(e)}}},{key:"onTimeInputUpdate",value:function(){o.Radio.channel(this.options.channelName).trigger(u.LibraryEditorActions.UpdateChapterTime,this.getNewTime()),this.validateStartTime()}},{key:"destroyView",value:function(){o.Radio.channel(this.options.channelName).trigger(u.LibraryEditorActions.CancelChapterEdit),this.destroy()}},{key:"onSubmit",value:function(e){if(e.preventDefault(),!this.validate())return!1;var t={id:this.viewModel.get("id"),name:this.viewModel.get("name"),startTime:this.getNewTime()},n=o.Radio.channel(this.options.channelName),r=u.LibraryEditorActions.CreateChapter;this.options.editing&&(r=u.LibraryEditorActions.UpdateChapter),n.trigger(r,t),this.stopListening(this.viewModel),i.a.clear(this.viewModelName)}},{key:"validate",value:function(){this.viewModel.validate();var e=this.validateStartTime(),t=this.validateName();return this.viewModel.isValid()&&e&&t}},{key:"validateStartTime",value:function(){var e=this,t=o.Validation.callbacks,n=t.valid,r=t.invalid,i=this.model.collection||this.options.collection,a=this.getNewTime(),l=c.a.isValidChapterTime(this.model,a,this.options.duration,i),s=[],u=["seconds","minutes","hours"];return a<0?s=u:l&&(s.push("seconds"),a>59&&s.push("minutes"),a>3540&&s.push("hours")),u.forEach((function(t){return n(e,t,null)})),s.forEach((function(t){return r(e,t,l,null)})),!l}},{key:"validateName",value:function(e){if(!e||13!==e.keyCode){var t=o.Validation.callbacks,n=t.valid,r=t.invalid,i=this.model.collection||this.options.collection,a=c.a.isValidChapterName(this.model,this.viewModel.get("name"),i);return a?r(this,"name",a,null):n(this,"name",null),!a}}},{key:"viewOptions",value:function(){var e=this.maxTimes(),t=e.maxHr,n=e.maxMin,o=0===e.maxSec,r=0===n,i=0===t;return Object.assign(Object.assign({},this.options),{enabled:this.enabled(),timeId:"".concat(this.cid,"-time"),chapterId:"".concat(this.cid,"-chapter-name"),plusSvg:a.a.getSvg(a.b.Plus),secDisabled:o,minDisabled:r,hrDisabled:i})}}])&&d(t.prototype,n),r&&d(t,r),h}(r.a.Component)},1099:function(e,t,n){"use strict";var o=n(2),r=n(6),i=n(1111),a=n.n(i),l=n(137),s=n(4),c=n(42),u=n(16),f=n(1100),p=n(1112),h=n.n(p),d=n(1113),m=n.n(d);function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=k(e);if(t){var r=k(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(i,e);var t,n,o,r=v(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"ResourceItemComponent"}},{key:"template",get:function(){return h.a}},{key:"className",get:function(){return"".concat(m.a.container," rounded p-2 mb-2")}},{key:"events",value:function(){return{"click .delete":"onClickDelete","click .edit":"onClickEdit"}}},{key:"appLinks",get:function(){return{".edit":this.options.getEditAppLink(this.model.get("id"))}}},{key:"onClickEdit",value:function(){var e=c.a.mergeOptions(this.options.analyticsOptions,{actionType:s.UserAction.Edit,entity:s.EntityType.Resource,workflowPhase:s.WorkflowPhase.Start}),t={id:this.model.get("id"),parentId:+this.options.videoId};c.a.logUserAction(t,e)}},{key:"onClickDelete",value:function(){l.a.isFunction(this.options.onClickDelete)&&this.options.onClickDelete(this.model)}},{key:"viewOptions",value:function(){var e=this.model.get("metadata"),t=e?e.type:"";return{editable:this.options.editable,extension:f.a.mapTypeToExtension(t),svg:u.a.getSvg(f.a.mapTypeToSvg(t)),iconClass:f.a.mapTypeToClass(t),resourceType:f.a.mapTypeToName(t),editSvg:u.a.getSvg(u.b.Edit),trashSvg:u.a.getSvg(u.b.Delete)}}}])&&g(t.prototype,n),o&&g(t,o),i}(o.a.Component),E=n(3),O=n(138),x=n(144),S=n(194);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function T(e,t,n){return t&&P(e.prototype,t),n&&P(e,n),e}function I(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=V(e);if(t){var r=V(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return L(this,n)}}function L(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"b",(function(){return N})),n.d(t,"a",(function(){return B}));var N=function(e){I(n,e);var t=D(n);function n(e){return _(this,n),t.call(this,e)}return T(n,[{key:"name",get:function(){return"VideoResourcesComponentCollection"}},{key:"className",get:function(){return"mt-3"}},{key:"lang",get:function(){return"libraryEditor.videoResources"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){var e=this;return{editable:this.options.editable,videoId:this.options.videoId,analyticsOptions:this.options.analyticsOptions,onClickDelete:function(t){return e.onClickDelete(t)},getEditAppLink:function(t){return{application:O.a.LIBRARY_EDITOR,action:x.a.LibraryEditor.EDIT_RESOURCE,args:[e.options.videoId,t]}}}}},{key:"onClickDelete",value:function(e){var t=this;new S.a({title:E.a.getPhrase(this.lang,"removeHeading"),text:E.a.getPhrase(this.lang,"removeBody",{resourceName:e.get("name")}),buttons:[{text:E.a.getPhrase(this.lang,"remove"),className:"btn btn-danger",success:!0},{text:E.a.getPhrase(this.lang,"cancel"),className:"btn btn-secondary",close:!0}],channelName:"".concat(this.name).concat(this.cid)}).render().done((function(){r.Radio.channel(t.options.channelName).trigger("delete:resource",e.get("id"))}))}}]),n}(o.a.ComponentCollection),B=function(e){I(n,e);var t=D(n);function n(e){return _(this,n),t.call(this,e)}return T(n,[{key:"name",get:function(){return"VideoResourcesComponent"}},{key:"template",get:function(){return a.a}},{key:"lang",get:function(){return"libraryEditor.videoResources"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return this.options.customCollection?"":"py-3 border-top"}},{key:"regions",value:function(){return{resources:{replaceElement:!0,el:".resource-list-region"}}}},{key:"renderResources",value:function(){var e=new N({collection:this.options.customCollection||this.model.resources,editable:this.options.editable||!1,videoId:this.options.videoId||this.model.get("id"),channelName:this.options.parentChannelName||this.channelName});this.showChildView("resources",e)}},{key:"viewOptions",value:function(){return{resourcesHeadingText:this.options.headerText||E.a.getPhrase(this.lang,"heading"),emptyStateText:this.options.emptyStateText}}},{key:"onRender",value:function(){this.renderResources()}}]),n}(o.a.Component)},1100:function(e,t,n){"use strict";var o,r=n(3),i=n(16),a=n(61);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.Pdf="pdf",e.Image="image",e.PowerPoint="powerpoint",e.Document="document",e.Excel="excel",e.Zip="archive",e.File="text"}(o||(o={})),n.d(t,"a",(function(){return c}));var s="shared.shared-utils",c={mapRatingToClass:function(e){if(!e)return"";return function(e){switch(!0){case e<32:return"bg-purple";case e<48:return"bg-green";case e<80:return"bg-info";case e<96:return"bg-red";case e<128:return"bg-pink";case e>=128:return"bg-yellow";default:return""}}(e)},mapSourceToDisplayName:function(e){switch(e.type){case a.a.HostedLibrary:case a.a.CustomLibrary:return e.name;case a.a.Exchange:return r.a.getPhrase(s,"exchange");case a.a.Workspace:return r.a.getPhrase(s,"workspace");default:return""}},mapSourceToClass:function(e){switch(e){case a.a.HostedLibrary:case a.a.CustomLibrary:return"bg-info";case a.a.Exchange:return"bg-green";case a.a.Workspace:default:return"bg-red"}},isInteractive:function(e){var t,n;return!!(null===(n=null===(t=null==e?void 0:e.interactives)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length)},mapTypeToSvg:function(e){var t,n=(l(t={},o.Pdf,i.b.FilePDF),l(t,o.Image,i.b.FileImg),l(t,o.PowerPoint,i.b.FilePowerpoint),l(t,o.Document,i.b.FileWord),l(t,o.Excel,i.b.FileExcel),l(t,o.Zip,i.b.FileZip),l(t,o.File,i.b.File),t)[e];return n||(n=i.b.Folder),n},mapTypeToClass:function(e){switch(e){case o.Pdf:return"icon-red";case o.Image:return"icon-purple";case o.Document:return"icon-blue";case o.Excel:return"icon-green";case o.PowerPoint:return"icon-orange";case o.Zip:return"icon-teal";case o.File:return"icon-gray";default:return""}},mapTypeToExtension:function(e){if(!e)return"";return{pdf:"pdf",image:"png",powerpoint:"pptx"}[e.toLowerCase()]},mapTypeToName:function(e){if(!e)return"";switch(e){case o.Pdf:return r.a.getPhrase(s,"pdf");case o.Image:return r.a.getPhrase(s,"image");case o.Document:return r.a.getPhrase(s,"document");case o.Excel:return r.a.getPhrase(s,"spreadsheet");case o.PowerPoint:return r.a.getPhrase(s,"presentation");case o.Zip:return r.a.getPhrase(s,"zipArchive");case o.File:return r.a.getPhrase(s,"file");default:return""}}}},1109:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){return'<nav class="breadcrumbs-region" aria-label="breadcrumb"></nav>'},useData:!0})},1110:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:r}):i)+"\r\n"},3:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return'<a class="info-link">'+e.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:r}):i)+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.isActive:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r}))?i:""},useData:!0})},1111:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return"<p>"+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.emptyStateText:i,t))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return"<h5>"+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.resourcesHeadingText:i,t))+"</h5>\r\n"+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.emptyStateText:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n<div class="resource-list-region"></div>'},useData:!0})},1112:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda;return'<a class="float-right svg-container cursor-pointer text-muted delete">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.trashSvg:i,t))?i:"")+'</a>\r\n<a class="float-right svg-container cursor-pointer text-muted edit">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.editSvg:i,t))?i:"")+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a,l=e.lambda,s=e.escapeExpression,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return'<span title="'+s(l(null!=(i=null!=t?t.options:t)?i.resourceType:i,t))+'" class="d-inline-block align-middle mr-2 svg-container '+s(l(null!=(i=null!=t?t.options:t)?i.iconClass:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.svg:i,t))?i:"")+'</span>\r\n<a href="'+s("function"==typeof(a=null!=(a=n.url||(null!=t?t.url:t))?a:u)?a.call(c,{name:"url",hash:{},data:r}):a)+"?name="+s("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:u)?a.call(c,{name:"name",hash:{},data:r}):a)+'" class="align-middle">\r\n '+s("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:u)?a.call(c,{name:"name",hash:{},data:r}):a)+"\r\n</a>\r\n"+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.editable:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")},useData:!0})},1113:function(e,t,n){e.exports={container:"f6lVD"}},1114:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-6 form-group">\r\n <label class="d-block" for="'+l(a(null!=(i=null!=t?t.options:t)?i.timeId:i,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"startTimeLabel",{name:"lang",hash:{},data:r}))+'</label>\r\n <input\r\n class="form-control d-inline-block col-3 time-input hour-input"\r\n type="number"\r\n placeholder="'+l((n.lang||t&&t.lang||c).call(s,"hoursPlaceholder",{name:"lang",hash:{},data:r}))+'"\r\n name="hours"\r\n autocomplete="off"\r\n '+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.hrDisabled:i,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r}))?i:"")+'> <b>:</b>\r\n <input\r\n class="form-control d-inline-block col-3 time-input minute-input"\r\n type="number"\r\n placeholder="'+l((n.lang||t&&t.lang||c).call(s,"minutesPlaceholder",{name:"lang",hash:{},data:r}))+'"\r\n name="minutes"\r\n autocomplete="off"\r\n '+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.minDisabled:i,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r}))?i:"")+'> <b>:</b>\r\n <input\r\n class="form-control d-inline-block col-3 time-input second-input"\r\n type="number"\r\n placeholder="'+l((n.lang||t&&t.lang||c).call(s,"secondsPlaceholder",{name:"lang",hash:{},data:r}))+'"\r\n name="seconds"\r\n id="'+l(a(null!=(i=null!=t?t.options:t)?i.timeId:i,t))+'"\r\n autocomplete="off"\r\n '+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.secDisabled:i,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r}))?i:"")+'>\r\n <div class="form-feedback"></div>\r\n </div>\r\n'},2:function(e,t,n,o,r){return"disabled"},4:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return' <button type="submit" class="btn btn-primary btn-sm ml-2">\r\n <span class="d-inline-block align-middle svg-container">'+(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.plusSvg:i,t))?i:"")+'</span>\r\n <span class="align-middle">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"add",{name:"lang",hash:{},data:r}))+"</span>\r\n </button>\r\n"},6:function(e,t,n,o,r){e.propertyIsEnumerable;var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l=e.escapeExpression;return' <button type="submit" class="btn btn-primary btn-sm ml-2">'+l((n.lang||t&&t.lang||a).call(i,"save",{name:"lang",hash:{},data:r}))+'</button>\r\n <button type="button" class="btn btn-secondary btn-sm cancel ml-2">'+l((n.lang||t&&t.lang||a).call(i,"cancel",{name:"lang",hash:{},data:r}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return'<div class="row">\r\n <div class="col-6 form-group">\r\n <label for="'+l(a(null!=(i=null!=t?t.options:t)?i.chapterId:i,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"nameLabel",{name:"lang",hash:{},data:r}))+'</label>\r\n <input type="text" class="form-control chapter-name" name="name" id="'+l(a(null!=(i=null!=t?t.options:t)?i.chapterId:i,t))+'" placeholder="'+l((n.lang||t&&t.lang||c).call(s,"namePlaceholder",{name:"lang",hash:{},data:r}))+'" autofocus autocomplete="off">\r\n <div class="form-feedback"></div>\r\n </div>\r\n'+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.enabled:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'</div>\r\n\r\n<div class="row">\r\n'+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.creating:i,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.editing:i,{name:"if",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r}))?i:"")+"</div>"},useData:!0})},1115:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.loading:i,t))},3:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-2 text-right">\r\n <a class="action edit-chapter my-2 svg-container '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+' d-inline-block text-muted"\r\n title="'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"edit",{name:"lang",hash:{},data:r}))+'">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.editSvg:i,t))?i:"")+"</a>\r\n"+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.allowDelete:i,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r}))?i:"")+" </div>\r\n"},4:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <a class="action delete-chapter my-2 svg-container '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+' d-inline-block text-muted"\r\n title="'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"delete",{name:"lang",hash:{},data:r}))+'">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.deleteSvg:i,t))?i:"")+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a,l=null!=t?t:e.nullContext||{},s=e.lambda,c=e.escapeExpression;return'<div class="row mx-0 border-top chapter-item '+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.loading:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <div class="clickable-seek col-1">\r\n <p class="m-0 py-2">'+c(s(null!=(i=null!=t?t.options:t)?i.index:i,t))+'</p>\r\n </div>\r\n <div class="clickable-seek col-6">\r\n <p class="m-0 py-2">'+c("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(l,{name:"name",hash:{},data:r}):a)+'</p>\r\n </div>\r\n <div class="clickable-seek col-3 text-right">\r\n <p class="m-0 py-2">'+c(s(null!=(i=null!=t?t.options:t)?i.time:i,t))+"</p>\r\n </div>\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showActions:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+'</div>\r\n<div class="edit-form-region"></div>\r\n'},useData:!0})},1116:function(e,t,n){e.exports={darkBackground:"_2jtQl",loading:"_152ia",svgContainer:"xdD5o",chapterItem:"_3G38c"}},1117:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l=e.escapeExpression;return"<h5>"+l((n.lang||t&&t.lang||a).call(i,"chapters",{name:"lang",hash:{},data:r}))+'</h5>\r\n<div class="row mt-3 m-0 border-bottom">\r\n <div class="col-1">\r\n <label>#</label>\r\n </div>\r\n <div class="col-6">\r\n <label>'+l((n.lang||t&&t.lang||a).call(i,"nameLabel",{name:"lang",hash:{},data:r}))+'</label>\r\n </div>\r\n <div class="col-3 text-right">\r\n <label>'+l((n.lang||t&&t.lang||a).call(i,"startLabel",{name:"lang",hash:{},data:r}))+'</>\r\n </div>\r\n</div>\r\n<div class="chapter-list-region"></div>'},useData:!0})},1118:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return'<a class="float-right '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+" "+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.actionSvg:i,t))+' text-muted delete">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.trashSvg:i,t))?i:"")+'</a>\r\n<a class="float-right '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+" "+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.actionSvg:i,t))+' text-muted edit">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.editSvg:i,t))?i:"")+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a,l=e.lambda,s=e.escapeExpression,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return'<span class="d-inline-block align-middle mr-2 icon-blue '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.linkSvg:i,t))?i:"")+'</span>\r\n<a href="'+s("function"==typeof(a=null!=(a=n.url||(null!=t?t.url:t))?a:u)?a.call(c,{name:"url",hash:{},data:r}):a)+'" target="_blank" class="align-middle">\r\n '+s("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:u)?a.call(c,{name:"name",hash:{},data:r}):a)+"\r\n</a>\r\n"+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.editable:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")},useData:!0})},1119:function(e,t,n){e.exports={container:"_3Qewt",svgContainer:"_3T40U",actionSvg:"_3FRzz"}},1120:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return"<p>"+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.emptyStateText:i,t))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return"<h5>"+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.headingText:i,t))+"</h5>\r\n"+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.emptyStateText:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n<div class="links-region"></div>'},useData:!0})},1121:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var o=n(1),r=n(29),i=n(2),a=n(59),l=n(16),s=n(133),c=n(0),u=n(9),f=n(1036),p=n(1011),h=n(1012),d=n(1122),m=n.n(d),y=n(1123),g=n.n(y),b=n(3);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=O(e);if(t){var r=O(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(y,e);var t,n,i,d=C(y);function y(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),d.call(this,e)}return t=y,(n=[{key:"name",get:function(){return"VideoBasicInfoComponent"}},{key:"template",get:function(){return g.a}},{key:"lang",get:function(){return"shared.videoBasicInfo"}},{key:"defaults",get:function(){return{truncateDescription:!0}}},{key:"behaviors",get:function(){return[{behaviorClass:s.a,selector:".tool-tip"}]}},{key:"regions",value:function(){return{description:{el:".description-region",replaceElement:!0,partialLoading:u.h.VideoBasicInfo},series:{el:".series-region",replaceElement:!0}}}},{key:"appLinks",get:function(){return{".applink-publisher-video":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SHOW_PUBLISHER_VIDEO,args:[this.model.get("id")]}}}},{key:"getBroadcastDate",value:function(){return this.model.get("dateBroadcast")?r(this.model.get("dateBroadcast")).format(u.l.FULL_YEAR):""}},{key:"getSeriesUrl",value:function(){if(this.options.externalSeriesLink&&this.model.series)return a.a.urlBuilder(a.a.safeUrlConcat(this.options.config.get("onlineUrl"),"series/".concat(this.model.series.id)),{loginPrompt:!1})}},{key:"renderSeries",value:function(){this.model.series&&this.model.series.get("name")&&this.showChildView("series",new p.a({model:this.model,highlight:!1,seriesUrl:this.getSeriesUrl(),styleUppercase:!1}))}},{key:"renderDescription",value:function(){if(this.model&&this.model.get("description")){var e=new f.a({model:this.model,linkify:!0,size:f.b.Large,truncate:this.options.truncateDescription,allowExpand:!0});this.showChildView("description",e)}}},{key:"getSubtitleLanguage",value:function(){var e=this;return this.model.subtitles&&this.model.get("subtitles").length?o.uniq(this.model.get("subtitles").map((function(t){var n,o=t.get("language"),r=CVLanguages.getFullEnglishName(o);return(null===(n=t.get("metadata"))||void 0===n?void 0:n.autoGenerated)?b.a.getPhrase(e.lang,"autoGenerated",{name:r}):r}))).join(", "):""}},{key:"getCitationHeading",value:function(e,t,n){return this.model.get(e)?this.model.get(e).length>1?n:t:""}},{key:"getCitationHeadings",value:function(){return{productionCompaniesText:this.getCitationHeading(u.a.ProductionCompany,"Production Company","Production Companies"),producersText:this.getCitationHeading(u.a.Producer,"Producer","Producers"),disributorsText:this.getCitationHeading(u.a.Distributor,"Distributor","Distributors"),directorsText:this.getCitationHeading(u.a.Director,"Director","Directors")}}},{key:"viewOptions",value:function(){return Object.assign({styles:m.a,ratingClass:this.model.rating&&h.h.mapRatingToClass(this.model.rating.get("value")),broadcastDate:this.getBroadcastDate(),showHeading:this.options.showHeading,subtitles:this.getSubtitleLanguage(),publisherArchiveSvg:l.a.getSvg(l.b.PublisherArchive),showPublisherVideoDetails:this.options.showPublisherVideoDetails},this.getCitationHeadings())}},{key:"onRender",value:function(){this.renderSeries(),this.renderDescription()}}])&&w(t.prototype,n),i&&w(t,i),y}(i.a.Component)},1122:function(e,t,n){e.exports={columnNames:"_1N_VT",seriesContainer:"_4pk2s",icon:"_3SoBV",citationValues:"_1nYZg"}},1123:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{};return'<div class="position-relative">\r\n <h5 class="d-inline-block">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(a,"basicInfo",{name:"lang",hash:{},data:r}))+"</h5>\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.showPublisherVideoDetails:i,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r}))?i:"")+"</div>\r\n"},2:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <a class="float-right cursor-pointer applink-publisher-video">\r\n <span class="d-inline-block align-middle '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.icon:i,t))+'">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.publisherArchiveSvg:i,t))?i:"")+"</span> "+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"viewInPublisherArchive",{name:"lang",hash:{},data:r}))+"\r\n </a>\r\n"},4:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-3 '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"videoTitle",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9">'+l("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:c)?a.call(s,{name:"name",hash:{},data:r}):a)+"</p>\r\n"},6:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"series",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.seriesContainer:i,t))+'"><div class="series-region"></div></div>\r\n'},8:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"rating",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9"><span class="p-1 badge text-white tool-tip '+l(a(null!=(i=null!=t?t.options:t)?i.ratingClass:i,t))+" "+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.rating:i,t))+'" title="'+l(a(null!=(i=null!=t?t.rating:t)?i.name:i,t))+'">'+l(a(null!=(i=null!=t?t.rating:t)?i.code:i,t))+"</span></p>\r\n"},10:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return' <div class="col-3 '+a(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"description",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9">\r\n <div class="description-region"></div>\r\n </div>\r\n'},12:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-3 '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"productionYear",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9">'+l("function"==typeof(a=null!=(a=n.productionYear||(null!=t?t.productionYear:t))?a:c)?a.call(s,{name:"productionYear",hash:{},data:r}):a)+"</p>\r\n"},14:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"producers",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.citationValues:i,t))+'">\r\n <p>\r\n'+(null!=(i=n.each.call(s,null!=t?t.producers:t,{name:"each",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+" </p>\r\n </div>\r\n"},15:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return" <span>"+e.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:r}):i)+"</span>\r\n"},17:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"directors",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.citationValues:i,t))+'">\r\n <p>\r\n'+(null!=(i=n.each.call(s,null!=t?t.directors:t,{name:"each",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+" </p>\r\n </div>\r\n"},19:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"productionCompanies",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.citationValues:i,t))+'">\r\n <p>\r\n'+(null!=(i=n.each.call(s,null!=t?t.productionCompanies:t,{name:"each",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+" </p>\r\n </div>\r\n"},21:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"distributors",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.citationValues:i,t))+'">\r\n <p>\r\n'+(null!=(i=n.each.call(s,null!=t?t.distributors:t,{name:"each",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+" </p>\r\n </div>\r\n"},23:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.channel:t,{name:"if",hash:{},fn:e.program(24,r,0),inverse:e.noop,data:r}))?i:""},24:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return'\r\n <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"channel",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9">'+l(a(null!=(i=null!=t?t.channel:t)?i.name:i,t))+"</p>\r\n "},26:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"broadcastDate",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9">'+l(a(null!=(i=null!=t?t.options:t)?i.broadcastDate:i,t))+"</p>\r\n"},28:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"subtitles",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9">'+l(a(null!=(i=null!=t?t.options:t)?i.subtitles:i,t))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{};return(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.showHeading:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'<div class="row mb-0">\r\n'+(null!=(i=n.if.call(a,null!=t?t.name:t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.series:t)?i.name:i,{name:"if",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.rating:t)?i.code:i,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=t?t.description:t,{name:"if",hash:{},fn:e.program(10,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=t?t.productionYear:t,{name:"if",hash:{},fn:e.program(12,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.producers:t)?i.length:i,{name:"if",hash:{},fn:e.program(14,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.directors:t)?i.length:i,{name:"if",hash:{},fn:e.program(17,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.productionCompanies:t)?i.length:i,{name:"if",hash:{},fn:e.program(19,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.distributors:t)?i.length:i,{name:"if",hash:{},fn:e.program(21,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n "+(null!=(i=n.if.call(a,null!=(i=null!=t?t.channel:t)?i.name:i,{name:"if",hash:{},fn:e.program(23,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.broadcastDate:i,{name:"if",hash:{},fn:e.program(26,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.subtitles:i,{name:"if",hash:{},fn:e.program(28,r,0),inverse:e.noop,data:r}))?i:"")+"</div>"},useData:!0})},1161:function(e,t,n){"use strict";var o=n(2),r=n(6),i=n(16),a=n(133),l=n(12),s=n(1091),c=n(187),u=n(1115),f=n.n(u),p=n(1116),h=n.n(p);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=v(e);if(t){var r=v(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(p,e);var t,n,o,u=g(p);function p(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),u.call(this,e)}return t=p,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"name",get:function(){return"ChapterItemComponent"}},{key:"lang",get:function(){return"libraryEditor.chapterItem"}},{key:"instanceChannelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"template",get:function(){return f.a}},{key:"className",get:function(){return"chapter ".concat(h.a.chapterItem)}},{key:"behaviors",get:function(){return[{behaviorClass:a.a,selector:".action"}]}},{key:"regions",value:function(){return{editForm:{replaceElement:!1,el:".edit-form-region"}}}},{key:"elements",get:function(){return{chapterItem:".chapter-item",editChapter:".edit-chapter",deleteChapter:".delete-chapter"}}},{key:"events",value:function(){return{"click @ui.editChapter":"onEditChapter","click @ui.deleteChapter":"onDeleteChapter","click .clickable-seek":"onClick"}}},{key:"bindListeners",value:function(){this.listenTo(this.instanceChannelName,c.LibraryEditorActions.CancelChapterEdit,this.onCancelEdit),this.listenTo(this.instanceChannelName,c.LibraryEditorActions.UpdateChapter,this.onUpdateChapter),this.listenTo(this.instanceChannelName,c.LibraryEditorActions.UpdateChapterTime,this.onUpdateChapterTime),this.listenTo(this.model,"change:showEditor",this.onShowEditorChange),this.listenTo(this.model,"change:loading",this.onLoadingChange);var e=this.model.collection.first();this.model!==e?this.listenTo(this.model.collection,"sort",this.render):this.listenTo(this.model.collection,"add remove sort",this.render)}},{key:"onClick",value:function(){var e=r.Radio.channel(this.options.channelName);this.model.get("isPhysicalChapter")?e.trigger(c.LibraryEditorActions.SeekToChapter,this.model.get("index")):e.trigger(c.LibraryEditorActions.UpdateChapterTime,this.model.get("startTime"))}},{key:"onLoadingChange",value:function(){var e=this.model.get("loading")?"disable":"enable";this.getUI("editChapter").tooltip(e),this.getUI("deleteChapter").tooltip(e),this.model.set("showEditor",!1,{silent:!0}),this.render()}},{key:"onShowEditorChange",value:function(){this.model.get("loading")||(this.model.get("showEditor")?this.showEditView():this.hideEditView())}},{key:"showEditView",value:function(){this.renderEditForm(),this.getUI("chapterItem").addClass(h.a.darkBackground)}},{key:"hideEditView",value:function(){this.model.set("showEditor",!1,{silent:!0}),this.getUI("chapterItem").removeClass(h.a.darkBackground),this.detachChildView("editForm")}},{key:"onCancelEdit",value:function(){this.hideEditView()}},{key:"onDeleteChapter",value:function(){this.model.get("loading")||r.Radio.channel(this.options.channelName).trigger(c.LibraryEditorActions.DeleteChapter,this.model)}},{key:"onUpdateChapter",value:function(e){r.Radio.channel(this.options.channelName).trigger(c.LibraryEditorActions.UpdateChapter,e),this.render()}},{key:"onUpdateChapterTime",value:function(e){r.Radio.channel(this.options.channelName).trigger(c.LibraryEditorActions.UpdateChapterTime,e)}},{key:"onEditChapter",value:function(){r.Radio.channel(this.options.channelName).trigger(c.LibraryEditorActions.ToggleEdit,this.model)}},{key:"canDelete",value:function(e){var t=this.model.collection.length;return 1===e&&1===t||!(1===e&&t>1)}},{key:"viewOptions",value:function(){var e=this.model.collection.indexOf(this.model)+1,t=l.x.trimToMinutes(l.x.secondsToHoursFormatted(this.model.get("startTime")));return Object.assign(Object.assign({},this.options),{styles:h.a,time:t,index:e,loading:this.model.get("loading"),allowDelete:this.canDelete(e),editSvg:i.a.getSvg(i.b.Edit),deleteSvg:i.a.getSvg(i.b.Delete)})}},{key:"renderEditForm",value:function(){this.showChildView("editForm",new s.a({model:this.model,editing:!0,channelName:this.instanceChannelName,duration:this.options.duration}))}},{key:"onBeforeDetach",value:function(){$(".tooltip").remove()}}])&&m(t.prototype,n),o&&m(t,o),p}(o.a.Component);function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=S(e);if(t){var r=S(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return x(this,n)}}function x(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(i,e);var t,n,o,r=O(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"initialize",value:function(){this.bindEditorListeners()}},{key:"name",get:function(){return"ChapterComponentCollection"}},{key:"className",get:function(){return"chapters"}},{key:"childView",get:function(){return w}},{key:"bindEditorListeners",value:function(){this.options.editable&&this.listenTo(this.options.channelName,c.LibraryEditorActions.ToggleEdit,this.toggleEditForm)}},{key:"toggleEditForm",value:function(e){this.collection.each((function(t){return t!==e&&t.set("showEditor",!1)})),e.set("showEditor",!e.get("showEditor"))}},{key:"childViewOptions",get:function(){return{showActions:this.options.showActions,duration:this.options.duration,channelName:this.options.channelName}}}])&&C(t.prototype,n),o&&C(t,o),i}(o.a.ComponentCollection),_=n(1117),P=n.n(_);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=V(e);if(t){var r=V(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return L(this,n)}}function L(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return N}));var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(i,e);var t,n,o,r=D(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"ChaptersComponent"}},{key:"template",get:function(){return P.a}},{key:"lang",get:function(){return"libraryEditor.chapters"}},{key:"className",get:function(){return"chapters ".concat(!this.options.editable&&"py-3 border-top")}},{key:"regions",value:function(){return{chapterList:{replaceElement:!0,el:".chapter-list-region"}}}},{key:"viewOptions",value:function(){return{showHeader:this.options.showHeader}}},{key:"onRender",value:function(){this.showChildView("chapterList",new R({collection:this.collection,duration:this.options.duration,channelName:this.options.channelName,showActions:this.options.showActions,editable:this.options.editable}))}}])&&I(t.prototype,n),o&&I(t,o),i}(o.a.Component)},1163:function(e,t,n){"use strict";var o=n(2),r=n(1109),i=n.n(r),a=n(1110),l=n.n(a);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=y(e);if(t){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){p(n,e);var t=d(n);function n(){return c(this,n),t.apply(this,arguments)}return f(n,[{key:"name",get:function(){return"BreadcrumbItemComponent"}},{key:"template",get:function(){return l.a}},{key:"tagName",get:function(){return"li"}},{key:"className",get:function(){var e="breadcrumb-item";return this.model.get("active")&&(e+=" active"),e}},{key:"attributes",get:function(){return this.model.get("active")?{"aria-current":"page"}:{}}},{key:"appLinks",get:function(){return this.model.get("active")?{}:{a:this.model.get("appLink")}}},{key:"viewOptions",value:function(){return{isActive:this.model.get("active")}}}]),n}(o.a.Component),b=function(e){p(n,e);var t=d(n);function n(){return c(this,n),t.apply(this,arguments)}return f(n,[{key:"name",get:function(){return"BreadcrumbComponentCollection"}},{key:"tagName",get:function(){return"ol"}},{key:"className",get:function(){return"breadcrumb m-0 p-0"}},{key:"childView",get:function(){return g}}]),n}(o.a.ComponentCollection),v=n(48),w=n(0);function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=S(e);if(t){var r=S(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return x(this,n)}}function x(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return R}));var R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(l,e);var t,n,r,a=O(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.getBreadcrumbs()}},{key:"name",get:function(){return"BreadcrumbsComponent"}},{key:"template",get:function(){return i.a}},{key:"className",get:function(){return"d-inline-block"}},{key:"regions",value:function(){return{breadcrumbs:".breadcrumbs-region"}}},{key:"getBreadcrumbs",value:function(){this.breadcrumbCollection=new o.a.Collection;var e,t=this.options.folder;do{if(e=v.a.getParent(t.id,this.options.libraries),this.breadcrumbCollection.add(this.getBreadcrumb(t,!!e),{at:0}),!e)break;t=e}while(e);this.options.video&&this.breadcrumbCollection.add({name:this.options.video.get("name"),appLink:{application:w.b.LIBRARY_EDITOR,action:w.a.LibraryEditor.VIDEO_DETAILS,args:[this.options.video.id]}}),this.breadcrumbCollection.length&&this.breadcrumbCollection.last().set("active",!this.options.enableLastItemAppLink)}},{key:"getBreadcrumb",value:function(e,t){var n=t?w.a.LibraryEditor.FOLDER:w.a.LibraryEditor.LIBRARY;return{name:e.get("name"),appLink:{application:w.b.LIBRARY_EDITOR,action:n,args:[e.id]}}}},{key:"onRender",value:function(){var e=new b({collection:this.breadcrumbCollection});this.showChildView("breadcrumbs",e)}}])&&C(t.prototype,n),r&&C(t,r),l}(o.a.Component)},1164:function(e,t,n){"use strict";var o=n(2),r=n(6),i=n(16),a=n(4),l=n(42),s=n(12),c=n(0),u=n(1118),f=n.n(u),p=n(1119),h=n.n(p),d=n(3);function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=w(e);if(t){var r=w(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(p,e);var t,n,o,u=b(p);function p(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),u.call(this,e)}return t=p,(n=[{key:"name",get:function(){return"LinkItemComponent"}},{key:"template",get:function(){return f.a}},{key:"className",get:function(){return"".concat(h.a.container," rounded p-2 mb-2")}},{key:"lang",get:function(){return"libraryEditor.editLinks"}},{key:"events",value:function(){return{"click .delete":"onClickDelete","click .edit":"onClickEdit"}}},{key:"appLinks",get:function(){return{".edit":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.EDIT_LINK,args:[this.options.videoId,this.model.get("id")]}}}},{key:"onClickEdit",value:function(){var e=l.a.mergeOptions(this.options.analyticsOptions,{actionType:a.UserAction.Edit,entity:a.EntityType.Resource,workflowPhase:a.WorkflowPhase.Start}),t={id:this.model.get("id"),parentId:+this.options.videoId};l.a.logUserAction(t,e)}},{key:"onClickDelete",value:function(){var e=this;new s.d({title:d.a.getPhrase(this.lang,"removeHeading"),text:d.a.getPhrase(this.lang,"removeConfirm",{name:s.w.escapeExpression(this.model.get("name"))}),buttons:[{text:d.a.getPhrase(this.lang,"remove"),className:"btn btn-danger",success:!0},{text:d.a.getPhrase(this.lang,"cancel"),className:"btn btn-secondary",close:!0}],channelName:s.k.generateUniqueChannelName(this)}).render().done((function(){r.Radio.channel(e.options.channelName).trigger("delete:link",e.model.get("id"))}))}},{key:"viewOptions",value:function(){return{styles:h.a,editable:this.options.editable,linkSvg:i.a.getSvg(i.b.Link),editSvg:i.a.getSvg(i.b.Edit),trashSvg:i.a.getSvg(i.b.Delete)}}}])&&y(t.prototype,n),o&&y(t,o),p}(o.a.Component),C=n(1120),E=n.n(C);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function R(e,t,n){return t&&S(e.prototype,t),n&&S(e,n),e}function _(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=j(e);if(t){var r=j(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==O(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return D}));var D=function(e){_(n,e);var t=T(n);function n(e){return x(this,n),t.call(this,e)}return R(n,[{key:"name",get:function(){return"VideoLinksComponent"}},{key:"template",get:function(){return E.a}},{key:"className",get:function(){return this.options.customCollection?"":"py-3 border-top"}},{key:"regions",value:function(){return{links:{el:".links-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return this.options}},{key:"onRender",value:function(){this.showChildView("links",new L({collection:this.options.customCollection||this.model.get("links"),channelName:this.options.channelName,analyticsOptions:this.options.analyticsOptions,editable:this.options.editable,videoId:this.options.videoId,headingText:this.options.headingText,emptyStateText:this.options.emptyStateText}))}}]),n}(o.a.Component),L=function(e){_(n,e);var t=T(n);function n(e){return x(this,n),t.call(this,e)}return R(n,[{key:"name",get:function(){return"LinkItemComponentCollection"}},{key:"childViewOptions",get:function(){return this.options}},{key:"childView",get:function(){return k}}]),n}(o.a.ComponentCollection)},1209:function(e,t,n){e.exports={svgContainer:"_2fUyj"}},1210:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <span class="d-inline-block ml-2 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'" title="'+l(a(null!=(i=null!=t?t.options:t)?i.restrictionMessage:i,t))+'">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.lockSvg:i,t))?i:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a,l=null!=t?t:e.nullContext||{};return'<div class="d-inline-flex align-items-center">\r\n <h4 class="d-inline-block mb-0">'+e.escapeExpression("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(l,{name:"name",hash:{},data:r}):a)+"</h4>\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.hasRestriction:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'</div>\r\n<div class="video-actions-region d-inline-block"></div>'},useData:!0})},1211:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return' <span class="badge p-1 '+a(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.interactive:i,t))+'">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"interactive",{name:"lang",hash:{},data:r}))+"</span>\r\n"},3:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return' <div class="mt-3">\r\n <h5>'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"folders",{name:"lang",hash:{smartCount:null!=(i=null!=t?t.options:t)?i.folders:i},data:r}))+'</h5>\r\n <div class="folders-region"></div>\r\n </div>\r\n'},5:function(e,t,n,o,r){e.propertyIsEnumerable;return' <div class="mt-3">\r\n <h5>'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"tags",{name:"lang",hash:{},data:r}))+'</h5>\r\n <div class="tags-region"></div>\r\n </div>\r\n'},7:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return' <div class="mt-3">\r\n <h5>'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"curriculumLinks",{name:"lang",hash:{},data:r}))+"</h5>\r\n <p>"+a(e.lambda(null!=(i=null!=t?t.options:t)?i.links:i,t))+"</p>\r\n </div>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{};return'<div class="border-right h-100 pl-2 pr-3">\r\n <div class="video-preview-region"></div>\r\n <div class="mt-3">\r\n'+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.interactive:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+" </div>\r\n\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.folders:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.tags:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.links:i,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?i:"")+"</div>"},useData:!0})},1212:function(e,t,n){e.exports={interactive:"cAujD"}},1213:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a,l=e.escapeExpression;return'<div class="col-3 '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:r}):a)+'</div>\r\n<div class="col-9">\r\n <div class="description-region"></div>\r\n</div>'},useData:!0})},1214:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){return'<h5 class="mb-0">Extra Information</h5>\r\n<div class="text-muted mb-3">This information is only visible to admins and will not be searchable</div>\r\n<div class="fields-region"></div>'},useData:!0})},1215:function(e,t,n){e.exports={columnNames:"_1ZuuN"}},1216:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return'<div class="d-inline-block '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.licenseContainer:i,t))+'">\r\n <div class="'+l(a(null!=(i=null!=t?t.options:t)?i.logoClass:i,t))+'">'+l(a(null!=(i=null!=t?t.options:t)?i.labelText:i,t))+'</div>\r\n <p class="'+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.license:i,t))+' bg-white p-2 border box-shadow">\r\n '+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.licenseText:i,t))?i:"")+"\r\n </p>\r\n</div>"},useData:!0})},1217:function(e,t,n){e.exports={licenseContainer:"_3xIoE",license:"_1fpgM",era:"_3S6te"}},1218:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){return'<div class="row pl-3 pt-3 pr-3">\r\n <div class="breadcrumbs-region"></div>\r\n</div>\r\n'},3:function(e,t,n,o,r){return' <div class="fields-region"></div>\r\n'},5:function(e,t,n,o,r){return' <div class="video-chapters-region"></div>\r\n'},7:function(e,t,n,o,r){return' <div class="video-resources-region"></div>\r\n'},9:function(e,t,n,o,r){return' <div class="video-links-region"></div>\r\n'},11:function(e,t,n,o,r){return' <div class="screenright-disclaimer-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{};return(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasFolder:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'<div class="row border-bottom">\r\n <div class="video-header-region"></div>\r\n</div>\r\n<div class="row">\r\n <div class="col-4">\r\n <div class="main-video-information-region"></div>\r\n </div>\r\n <div class="col-8">\r\n <div class="basic-video-information-region py-3 pr-2"></div>\r\n'+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasFields:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasChapters:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasResources:i,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?i:"")+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasLinks:i,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r}))?i:"")+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.showScreenrightsDisclaimer:i,{name:"if",hash:{},fn:e.program(11,r,0),inverse:e.noop,data:r}))?i:"")+" </div>\r\n</div>"},useData:!0})},1438:function(e,t,n){"use strict";n.r(t);var o,r=n(2);!function(e){e.AU="content-ap-southeast-1",e.NZ="content-ap-southeast-2",e.UK="content-eu-west-1",e.SCOT="content-eu-west-2",e.US="content-na-central-1",e.GLOBAL="content-global"}(o||(o={}));var i=n(0),a=n(1),l=n(4),s=n(16),c=n(133),u=n(12),f=n(1076),p=n(1209),h=n.n(p),d=n(1210),m=n.n(d);function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=k(e);if(t){var r=k(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(p,e);var t,n,o,r=v(p);function p(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),r.call(this,e)}return t=p,(n=[{key:"name",get:function(){return"VideoHeaderComponent"}},{key:"template",get:function(){return m.a}},{key:"className",get:function(){return"d-flex align-items-center justify-content-between p-3 w-100"}},{key:"behaviors",get:function(){return[{behaviorClass:c.a,selector:".".concat(h.a.svgContainer)}]}},{key:"regions",value:function(){return{actions:{el:".video-actions-region",replaceElement:!1}}}},{key:"viewOptions",value:function(){return{styles:h.a,lockSvg:s.a.getSvg(s.b.Lock),hasRestriction:!a.isUndefined(this.model.get("restrictions")),restrictionMessage:u.o.getRestrictionTooltipMessage(this.model)}}},{key:"onRender",value:function(){this.showChildView("actions",new f.a({model:this.model,showActionLabels:!0,application:i.b.LIBRARY_EDITOR,customerHasLocalCache:this.options.customerHasLocalCache,customerHasExchange:this.options.customerHasExchange,collectionIdentifier:this.options.collectionIdentifier,routeToFolderOnDelete:!0,analyticsOptions:{entity:l.EntityType.Video,location:l.LocationContext.VideoDetailsHeader,descriptor:l.OperationDescriptor.Single},config:this.options.config}))}}])&&g(t.prototype,n),o&&g(t,o),p}(r.a.Component),E=n(1099),O=n(1053),x=n(1022),S=n(134),R=n(251),_=n(1038),P=n(1016),T=n(290),I=n(1211),j=n.n(I),D=n(1212),L=n.n(D);function V(e){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function B(e,t){return(B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=U(e);if(t){var r=U(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return M(this,n)}}function M(e,t){return!t||"object"!==V(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B(e,t)}(i,e);var t,n,o,r=A(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"initialize",value:function(){this.isClickViewContent=this.model&&!u.j.canEditVideo(this.model)}},{key:"name",get:function(){return"VideoSidebarInfoComponent"}},{key:"lang",get:function(){return"libraryEditor.videoSidebarInfo"}},{key:"className",get:function(){return"py-3 h-100"}},{key:"template",get:function(){return j.a}},{key:"regions",value:function(){return{preview:{el:".video-preview-region",replaceElement:!0},folders:{el:".folders-region",replaceElement:!0},tags:{el:".tags-region",replaceElement:!0}}}},{key:"requiredResources",get:function(){return{currentUser:S.b.currentUser}}},{key:"renderVideoPreview",value:function(){this.showChildView("preview",new O.a({model:this.model,webPlayerUrl:this.options.webPlayerUrl,channelName:this.options.channelName,analyticsOptions:{location:l.LocationContext.VideoDetails},currentUser:this.options.currentUser}))}},{key:"renderTags",value:function(){this.model.get("tags")&&this.model.get("tags").length&&this.showChildView("tags",new _.a({collection:this.model.get("tags"),orientation:T.c.Flex,behavior:T.b.Link}))}},{key:"renderFolders",value:function(){this.model.get("categories")&&this.model.get("categories").length&&this.showChildView("folders",new x.a({model:this.model,showFolder:!0,hideLabel:!0}))}},{key:"viewOptions",value:function(){return{styles:L.a,interactive:P.a.isInteractive(this.model),duration:u.e.ToDisplayDuration(this.model.get("duration")),folders:this.model.categories&&this.model.categories.length,multipleFolders:this.model.categories.length>1,tags:this.model.get("tags")&&this.model.get("tags").length,isClickViewContent:this.isClickViewContent,hasCustomerTags:this.isClickViewContent&&u.j.filterObjectsByOwnerType(this.model.tags,R.a.Customer,this.options.currentUser.get("customerId")).length}}},{key:"onRender",value:function(){this.renderVideoPreview(),this.renderTags(),this.renderFolders()}}])&&N(t.prototype,n),o&&N(t,o),i}(r.a.Component),H=n(1161),Y=n(1164),z=n(1121),Z=n(1163),W=n(1036),q=n(1213),J=n.n(q),K=n(1214),G=n.n(K),Q=n(1215),$=n.n(Q);function X(e){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function te(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ne(e,t,n){return t&&te(e.prototype,t),n&&te(e,n),e}function oe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&re(e,t)}function re(e,t){return(re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=le(e);if(t){var r=le(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ae(this,n)}}function ae(e,t){return!t||"object"!==X(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var se=function(e){oe(n,e);var t=ie(n);function n(){return ee(this,n),t.apply(this,arguments)}return ne(n,[{key:"name",get:function(){return"FieldComponent"}},{key:"template",get:function(){return J.a}},{key:"className",get:function(){return"row mb-0"}},{key:"regions",value:function(){return{description:{el:".description-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{styles:$.a}}},{key:"renderDescription",value:function(){this.model.get("value")&&this.showChildView("description",new W.a({model:new r.a.Model({description:this.model.get("value")}),linkify:!0,size:W.b.Large,truncate:!0,allowExpand:!0}))}},{key:"onRender",value:function(){this.renderDescription()}}]),n}(r.a.Component),ce=function(e){oe(n,e);var t=ie(n);function n(){return ee(this,n),t.apply(this,arguments)}return ne(n,[{key:"name",get:function(){return"FieldsComponentCollection"}},{key:"childView",get:function(){return se}}]),n}(r.a.ComponentCollection),ue=function(e){oe(n,e);var t=ie(n);function n(){return ee(this,n),t.apply(this,arguments)}return ne(n,[{key:"name",get:function(){return"FieldsComponent"}},{key:"template",get:function(){return G.a}},{key:"className",get:function(){return"py-3 border-top"}},{key:"regions",value:function(){return{fields:{el:".fields-region",replaceElement:!0}}}},{key:"onRender",value:function(){this.showChildView("fields",new ce({collection:this.collection}))}}]),n}(r.a.Component),fe=n(32),pe=n(5),he=n(15),de=n(188),me=n(9),ye=n(300),ge=n(113),be=n(299),ve=n(136),we=n(1066),ke=n(3),Ce=n(1216),Ee=n.n(Ce),Oe=n(1217),xe=n.n(Oe);function Se(e){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Re(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Ie(e);if(t){var r=Ie(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Te(this,n)}}function Te(e,t){return!t||"object"!==Se(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ie(e){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var je=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}(a,e);var t,n,r,i=Pe(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"name",get:function(){return"ScreenrightsDisclaimerComponent"}},{key:"template",get:function(){return Ee.a}},{key:"lang",get:function(){return"shared.screenrightsDisclaimer"}},{key:"className",get:function(){return"py-3 border-top"}},{key:"getLogoClass",value:function(){return u.n.isInContentRegion(this.options.contentRegion,o.UK)?xe.a.era:""}},{key:"getLicenseText",value:function(){switch(this.options.contentRegion){case o.UK:return ke.a.getPhrase(this.lang,"era");case o.AU:return ke.a.getPhrase(this.lang,"copyrightAct");case o.NZ:default:return""}}},{key:"viewOptions",value:function(){var e=u.n.isInContentRegion(this.options.contentRegion,o.AU);return{styles:xe.a,logoClass:this.getLogoClass(),labelText:e?ke.a.getPhrase(this.lang,"labelAu"):"",licenseText:this.getLicenseText()}}}])&&Re(t.prototype,n),r&&Re(t,r),a}(r.a.Component),De=n(1218),Le=n.n(De);function Ve(e){return(Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ne(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Be(e,t){return(Be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Ue(e);if(t){var r=Ue(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Me(this,n)}}function Me(e,t){return!t||"object"!==Ve(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ue(e){return(Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"VideoDetailsView",(function(){return Fe}));var Fe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Be(e,t)}(s,e);var t,n,a,l=Ae(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),l.call(this,e)}return t=s,(n=[{key:"initialize",value:function(){this.bindListeners(),this.videoDataService=pe.a.getInstance(he.a.Video,this),this.videoMixinService=pe.a.getInstance(he.b.VideoMixin,this),this.localCacheDataService=pe.a.getInstance(he.a.LocalCache,this),this.migrationVideoDataService=pe.a.getInstance(he.a.MigrationVideo,this)}},{key:"bindListeners",value:function(){this.listenTo(i.e.VIDEO,"".concat(fe.a.VIDEOS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(i.e.VIDEO,"".concat(fe.a.VIDEOS,":").concat(this.options.videoId,":error"),this.onError),this.listenTo(i.e.VIDEO,"".concat(fe.a.RESTRICTED_OBJECTS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(i.e.VIDEO,"cache:cleared",this.render),this.listenTo(i.e.LIBRARY,"libraries:sync",this.render),this.listenTo(i.e.RESTRICTED_VIDEO,"".concat(fe.a.UPDATE_VIDEO_RESTRICTION,":sync"),this.updateRestriction),this.listenTo(i.e.RESTRICTED_VIDEO,"".concat(fe.a.RESTRICTED_OBJECTS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(i.e.LOCAL_CACHE,"".concat(fe.a.LOCAL_CACHE_DEVICES,":sync"),this.render),this.listenTo(i.e.LOCAL_CACHE,"".concat(fe.a.LOCAL_CACHE_DEVICES,":error"),this.onError)}},{key:"name",get:function(){return"VideoDetailsView"}},{key:"title",get:function(){return this.video&&this.video.get("name")}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"template",get:function(){return Le.a}},{key:"className",get:function(){return"container-fluid h-100 bg-white"}},{key:"onError",value:function(e){switch(e.type){case ge.a.NotFound:r.a.ErrorHelper.throw(new ye.a);break;case ge.a.Forbidden:r.a.ErrorHelper.throw(new be.a)}}},{key:"regions",value:function(){return{breadcrumbs:{el:".breadcrumbs-region",replaceElement:!1},header:{replaceElement:!0,el:".video-header-region",partialLoading:me.h.VideoHeader},main:{replaceElement:!0,el:".main-video-information-region",partialLoading:me.h.VideoSidebarInfo},basic:{replaceElement:!1,el:".basic-video-information-region",partialLoading:me.h.VideoBasicInfo},chapters:{replaceElement:!0,el:".video-chapters-region"},resources:{replaceElement:!0,el:".video-resources-region"},fields:{replaceElement:!0,el:".fields-region"},links:{replaceElement:!0,el:".video-links-region"},screenrightsDisclaimer:{replaceElement:!0,el:".screenright-disclaimer-region"}}}},{key:"updateRestriction",value:function(){this.videoMixinService.getAndMixinVideoRestriction(this.video)}},{key:"showLicense",value:function(){return!(!this.video||u.n.isInContentRegion(this.currentUser.get("contentRegion"),o.NZ)||(!this.video.get("channel")||!this.video.get("channel").get("id"))&&!this.video.get("dateBroadcast"))}},{key:"renderBreadcrumbs",value:function(){this.folder&&this.showChildView("breadcrumbs",new Z.a({folder:this.folder,libraries:this.libraries,enableLastItemAppLink:!0}))}},{key:"renderVideoHeader",value:function(){this.showChildView("header",new C({model:this.video,customerHasLocalCache:u.i.customerHasLocalCache(this.devices,this.currentUser.get("customerId")),customerHasExchange:this.exchanges.any(),collectionIdentifier:this.folder&&new we.d(this.folder.id,u.q.GetCurrentSortType()),config:this.config}))}},{key:"renderSidebarInfo",value:function(){this.showChildView("main",new F({model:this.video,webPlayerUrl:this.config.get("webPlayerUrl"),channelName:this.channelName,currentUser:this.currentUser}))}},{key:"renderBasicInfo",value:function(){this.video&&this.showChildView("basic",new z.a({model:this.video,showHeading:!0,showPublisherVideoDetails:!!this.publisherVideo,config:this.config}))}},{key:"renderFields",value:function(){this.video.fields&&this.video.fields.length&&this.showChildView("fields",new ue({collection:this.video.fields}))}},{key:"renderChapters",value:function(){var e=this.video.chapters;e&&e.length>0&&this.showChildView("chapters",new H.a({channelName:this.channelName,collection:this.video.chapters}))}},{key:"renderResources",value:function(){var e=this.video.resources;e&&e.length>0&&this.showChildView("resources",new E.a({model:this.video}))}},{key:"renderLinks",value:function(){var e=this.video.links;e&&e.length&&this.showChildView("links",new Y.a({model:this.video,headingText:"Links"}))}},{key:"renderScreenrightsDisclaimer",value:function(){this.showLicense()&&this.showChildView("screenrightsDisclaimer",new je({contentRegion:this.currentUser.get("contentRegion")}))}},{key:"requiredResources",get:function(){return{config:de.b.config,currentUser:S.b.currentUser,libraries:ve.b.libraries,exchanges:ve.b.exchanges}}},{key:"onBeforeRender",value:function(){var e=this;return this.video=this.videoDataService.getVideo(this.options.videoId),this.video&&(this.folder=this.video.categories.first()),this.devices=this.localCacheDataService.getDevices(this.currentUser.get("customerId")),this.migrationVideoDataService.getCustomerVideoByMasterId(this.options.videoId,(function(t){var n=!!e.publisherVideo;e.publisherVideo=t,n&&e.isRendered()&&e.renderBasicInfo()})),!!this.video}},{key:"viewOptions",value:function(){if(this.video){var e=this.video,t=e.chapters,n=e.resources,o=e.fields,r=e.links;return{hasFolder:!!this.folder,hasChapters:t&&t.length,hasResources:n&&n.length,hasFields:o&&o.length,hasLinks:r&&r.length,showScreenrightsDisclaimer:this.showLicense()}}}},{key:"onRender",value:function(){this.renderBreadcrumbs(),this.renderVideoHeader(),this.renderSidebarInfo(),this.renderBasicInfo(),this.renderFields(),this.renderChapters(),this.renderResources(),this.renderLinks(),this.renderScreenrightsDisclaimer()}}])&&Ne(t.prototype,n),a&&Ne(t,a),s}(r.a.View)}}]);
|
package/dist/scripts/25.chunk.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[25],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/shared/components/typeahead-input/SearchTypeaheadComponent.ts":
|
|
4
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SearchTypeaheadComponent\", function() { return SearchTypeaheadComponent; });\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"underscore\");\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"backbone\");\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_common_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/common/src/backbone/errors/DevError.ts\");\n/* harmony import */ var libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/shared/src/utils/SvgHelper.ts\");\n/* harmony import */ var libs_shared_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"../../libs/shared/src/apps/search/utils/TypeaheadHelper.ts\");\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var _Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/shared/components/typeahead-input/Typeahead.hbs\");\n/* harmony import */ var _Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _typeahead_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/shared/components/typeahead-input/typeahead.scss\");\n/* harmony import */ var _typeahead_scss__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_typeahead_scss__WEBPACK_IMPORTED_MODULE_8__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n\n\n\n\nvar SearchTypeaheadComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(SearchTypeaheadComponent, _Core$Component);\n\n var _super = _createSuper(SearchTypeaheadComponent);\n\n function SearchTypeaheadComponent(options) {\n _classCallCheck(this, SearchTypeaheadComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(SearchTypeaheadComponent, [{\n key: \"name\",\n get: function get() {\n return 'SearchTypeaheadComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7___default.a;\n }\n }, {\n key: \"className\",\n get: function get() {\n return \"search-container \".concat(_typeahead_scss__WEBPACK_IMPORTED_MODULE_8___default.a.typeaheadContainer, \" mb-2\");\n }\n }, {\n key: \"channelName\",\n get: function get() {\n return shared_utils__WEBPACK_IMPORTED_MODULE_6__[\"RadioChannelHelper\"].generateUniqueChannelName(this);\n }\n }, {\n key: \"elements\",\n get: function get() {\n return {\n input: \"#\".concat(this.options.inputId)\n };\n }\n }, {\n key: \"defaults\",\n get: function get() {\n return {\n inputId: 'search-typeahead',\n placeholderText: 'Search',\n stickItProperty: 'name',\n selectEvent: 'select:result',\n additionalClasses: '',\n editable: true\n };\n }\n }, {\n key: \"events\",\n value: function events() {\n return {\n 'submit': 'onSubmit',\n 'click .remove': 'onClickRemove'\n };\n }\n }, {\n key: \"initialize\",\n value: function initialize() {\n if (!this.model && !this.options.parentChannelName) libs_common_core__WEBPACK_IMPORTED_MODULE_2__[\"Core\"].ErrorHelper.throw(new libs_common_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_3__[\"DevError\"]('Either pass a model or a channelName to access the typeahead selection'));\n if (!this.model) this.model = new libs_common_core__WEBPACK_IMPORTED_MODULE_2__[\"Core\"].Model();\n /**\r\n * By default, set the input name to user the same name as our el id.\r\n * As soon as we need to add validation, this will need to be swapped out for the stickItProperty.\r\n * Or alternatively, we update the Validation cbs to not match on the model attribute name - Mike\r\n */\n\n if (!this.options.inputName) this.options.inputName = this.options.inputId;\n this.bindListeners();\n }\n }, {\n key: \"bindListeners\",\n value: function bindListeners() {\n if (this.options.parentChannelName) this.parentChannel = backbone__WEBPACK_IMPORTED_MODULE_1__[\"Radio\"].channel(this.options.parentChannelName);\n this.listenTo(this.channelName, 'typeahead:set:input', this.setInput);\n this.listenTo(this.channelName, 'typeahead:clear:input', this.clearInput);\n }\n }, {\n key: \"bindings\",\n get: function get() {\n var inputName = \"[name=\".concat(this.options.inputName, \"]\");\n return _defineProperty({}, inputName, {\n observe: this.options.stickItProperty,\n setOptions: {\n validate: true\n }\n });\n }\n }, {\n key: \"clearInput\",\n value: function clearInput() {\n this.getUI(\"input\").typeahead('val', null);\n }\n }, {\n key: \"setInput\",\n value: function setInput(newVal) {\n this.getUI(\"input\").typeahead('val', newVal);\n }\n /**\r\n * TODO: Add submit on enter support\r\n */\n\n }, {\n key: \"onTypeaheadSelect\",\n value: function onTypeaheadSelect(event, suggestion) {\n event.preventDefault();\n var queryString;\n if (typeof suggestion === 'string') queryString = suggestion;else queryString = suggestion.title || suggestion.name || suggestion.query;\n this.model.set(this.options.stickItProperty, queryString); // Pass the entire suggestion object back up to the parent\n\n if (this.parentChannel && this.options.selectEvent) this.parentChannel.trigger(this.options.selectEvent, suggestion);\n this.onSubmit(event);\n this.toggleRemove();\n }\n }, {\n key: \"onSubmit\",\n value: function onSubmit(event) {\n var _this = this;\n\n event.preventDefault();\n if (this.isDestroyed()) return;\n\n var _this$getTypeaheadAct = this.getTypeaheadActionOptions(),\n clearOnSelect = _this$getTypeaheadAct.clearOnSelect;\n\n if (!clearOnSelect) return;\n this.getUI(\"input\").typeahead('close');\n /**\r\n * Clear the current query after closing the typeahead.\r\n * We need to clear out all the existing suggestions too, so wait until the\r\n * next tick to ensure that the close event had properly finished.\r\n */\n\n setTimeout(function () {\n _this.model.clear();\n\n _this.clearInput();\n }, 0);\n return false;\n }\n }, {\n key: \"onClickRemove\",\n value: function onClickRemove() {\n this.model.clear();\n this.parentChannel.trigger(this.options.removeEvent, this.model);\n this.toggleRemove();\n }\n }, {\n key: \"getSources\",\n value: function getSources() {\n if (!underscore__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"](this.options.typeaheadConfigs)) return libs_shared_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_5__[\"TypeaheadHelper\"].getSearchSources([this.options.typeaheadConfigs]);\n var sources = libs_shared_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_5__[\"TypeaheadHelper\"].getSearchSources(this.options.typeaheadConfigs);\n return sources;\n }\n }, {\n key: \"getTypeaheadOptions\",\n value: function getTypeaheadOptions() {\n var defaults = {\n minLength: 1,\n highlight: true\n };\n if (!this.options.typeaheadOptions) return defaults;\n return underscore__WEBPACK_IMPORTED_MODULE_0__[\"extend\"]({}, defaults, this.options.typeaheadOptions);\n }\n }, {\n key: \"getTypeaheadActionOptions\",\n value: function getTypeaheadActionOptions() {\n var baseOptions = {\n clearOnSelect: false\n };\n if (!underscore__WEBPACK_IMPORTED_MODULE_0__[\"isObject\"](this.options.actionOptions)) return baseOptions;\n return underscore__WEBPACK_IMPORTED_MODULE_0__[\"extend\"]({}, baseOptions, this.options.actionOptions);\n }\n }, {\n key: \"bindOptionalCallbacks\",\n value: function bindOptionalCallbacks() {\n if (!underscore__WEBPACK_IMPORTED_MODULE_0__[\"isObject\"](this.options.callbacks)) return;\n if (underscore__WEBPACK_IMPORTED_MODULE_0__[\"isFunction\"](this.options.callbacks.onRender)) this.getUI(\"input\").on('typeahead:render', underscore__WEBPACK_IMPORTED_MODULE_0__[\"bind\"](this.options.callbacks.onRender, this));\n if (underscore__WEBPACK_IMPORTED_MODULE_0__[\"isFunction\"](this.options.callbacks.onInput)) this.listenTo(this.model, \"change:\".concat(this.options.stickItProperty), this.options.callbacks.onInput);\n if (underscore__WEBPACK_IMPORTED_MODULE_0__[\"isFunction\"](this.options.callbacks.onBlur)) this.getUI(\"input\").on('blur', underscore__WEBPACK_IMPORTED_MODULE_0__[\"bind\"](this.options.callbacks.onBlur, this, this.channelName, this.options.stickItProperty));\n }\n }, {\n key: \"initTypeahead\",\n value: function initTypeahead() {\n this.getUI(\"input\").typeahead(this.getTypeaheadOptions(), this.getSources());\n }\n }, {\n key: \"initTypeaheadListeners\",\n value: function initTypeaheadListeners() {\n this.getUI(\"input\").on('typeahead:select', underscore__WEBPACK_IMPORTED_MODULE_0__[\"bind\"](this.onTypeaheadSelect, this));\n this.bindOptionalCallbacks();\n }\n }, {\n key: \"toggleRemove\",\n value: function toggleRemove() {\n if (this.shouldShowRemove()) this.$el.find('.remove').show();else this.$el.find('.remove').hide();\n }\n /**\r\n * Show the remove button if:\r\n *\r\n * Content is editable\r\n * We have a value\r\n * We have a remove event to trigger\r\n *\r\n * OR\r\n *\r\n * We're being force to show the remove button (Used by PPDD)\r\n */\n\n }, {\n key: \"shouldShowRemove\",\n value: function shouldShowRemove() {\n if (!this.options.editable) return false;\n if (this.options.forceShowRemoveButton) return true;\n return this.options.removeEvent && !!this.model.get(this.options.stickItProperty);\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return Object.assign(Object.assign({\n styles: _typeahead_scss__WEBPACK_IMPORTED_MODULE_8___default.a\n }, this.options), {\n showRemove: this.shouldShowRemove(),\n svgRemove: libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__[\"SvgHelper\"].getSvg(libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__[\"cvSvgLibrary\"].Close)\n });\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n var _this2 = this;\n\n this.stickit();\n this.initTypeahead();\n this.initTypeaheadListeners();\n backbone__WEBPACK_IMPORTED_MODULE_1__[\"Validation\"].bind(this);\n this.toggleRemove();\n if (!this.options.autofocus) return;\n /**\r\n * Ensure the DOM has painted before focusing.\r\n *\r\n * Note: Simple use of the autofocus attribute\r\n * on the <input /> does not work for multiple re-renders\r\n * of the same input\r\n */\n\n window.requestAnimationFrame(function () {\n _this2.getUI('input').focus();\n });\n }\n }, {\n key: \"onClose\",\n value: function onClose() {\n this.getUI('input').off();\n this.unstickit();\n backbone__WEBPACK_IMPORTED_MODULE_1__[\"Validation\"].unbind(this);\n }\n }]);\n\n return SearchTypeaheadComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_2__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdHlwZWFoZWFkLWlucHV0L1NlYXJjaFR5cGVhaGVhZENvbXBvbmVudC50cy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvY29tcG9uZW50cy90eXBlYWhlYWQtaW5wdXQvU2VhcmNoVHlwZWFoZWFkQ29tcG9uZW50LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIF8gZnJvbSAndW5kZXJzY29yZSc7XHJcbmltcG9ydCB7IFJhZGlvLCBWYWxpZGF0aW9uLCBPYmplY3RIYXNoIH0gZnJvbSAnYmFja2JvbmUnO1xyXG5cclxuaW1wb3J0IHsgQ29yZSB9IGZyb20gJ2xpYnMvY29tbW9uL2NvcmUnO1xyXG5pbXBvcnQgeyBEZXZFcnJvciB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BO0FBREE7QUFHQTtBQUNBO0FBRkE7QUFJQTtBQXRPQTtBQUFBO0FBQUE7QUF3T0E7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUdBOzs7Ozs7QUFNQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUE3UEE7QUFBQTtBQUFBO0FBZ1FBO0FBQ0E7QUFDQTtBQUNBO0FBblFBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/typeahead-input/SearchTypeaheadComponent.ts\n");
|
|
8
|
-
|
|
9
|
-
/***/ }),
|
|
10
|
-
|
|
11
|
-
/***/ "./src/shared/components/typeahead-input/Typeahead.hbs":
|
|
12
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13
|
-
|
|
14
|
-
eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.disabled : stack1), depth0));\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"autofocus\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<input\\r\\n name=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.inputName : stack1), depth0))\n + \"\\\"\\r\\n type=\\\"text\\\"\\r\\n class=\\\"form-control \"\n + ((stack1 = helpers.unless.call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" \"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.additionalClasses : stack1), depth0))\n + \"\\\"\\r\\n id=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.inputId : stack1), depth0))\n + \"\\\"\\r\\n autocomplete=\\\"off\\\"\\r\\n placeholder=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.placeholderText : stack1), depth0))\n + \"\\\"\\r\\n \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.autofocus : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n \"\n + ((stack1 = helpers.unless.call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n></input>\\r\\n<span class=\\\"svg-container mb-2 \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svg : stack1), depth0))\n + \" remove\\\" style=\\\"display: none;\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.svgRemove : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdHlwZWFoZWFkLWlucHV0L1R5cGVhaGVhZC5oYnMuanMiLCJzb3VyY2VzIjpbIm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Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/typeahead-input/Typeahead.hbs\n");
|
|
15
|
-
|
|
16
|
-
/***/ }),
|
|
17
|
-
|
|
18
|
-
/***/ "./src/shared/components/typeahead-input/typeahead.scss":
|
|
19
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
20
|
-
|
|
21
|
-
eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"svg\":\"cv--svg--1iL3O\",\"typeaheadContainer\":\"cv--typeaheadContainer--1SWXc\",\"disabled\":\"cv--disabled--3C2O8\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdHlwZWFoZWFkLWlucHV0L3R5cGVhaGVhZC5zY3NzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC9jb21wb25lbnRzL3R5cGVhaGVhZC1pbnB1dC90eXBlYWhlYWQuc2NzcyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbm1vZHVsZS5leHBvcnRzID0ge1wic3ZnXCI6XCJjdi0tc3ZnLS0xaUwzT1wiLFwidHlwZWFoZWFkQ29udGFpbmVyXCI6XCJjdi0tdHlwZWFoZWFkQ29udGFpbmVyLS0xU1dYY1wiLFwiZGlzYWJsZWRcIjpcImN2LS1kaXNhYmxlZC0tM0MyTzhcIn07Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/typeahead-input/typeahead.scss\n");
|
|
22
|
-
|
|
23
|
-
/***/ })
|
|
24
|
-
|
|
25
|
-
}]);
|