@clickview/library-editor 1.1.26-rc.0 → 1.1.26
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/css/1.chunk.css.map +1 -0
- package/dist/css/10.chunk.css.map +1 -0
- package/dist/css/11.chunk.css +137 -0
- package/dist/css/11.chunk.css.map +1 -0
- package/dist/css/12.chunk.css.map +1 -0
- package/dist/css/13.chunk.css.map +1 -0
- package/dist/css/14.chunk.css.map +1 -0
- package/dist/css/16.chunk.css.map +1 -0
- package/dist/css/17.chunk.css.map +1 -0
- package/dist/css/18.chunk.css +20 -0
- package/dist/css/18.chunk.css.map +1 -0
- package/dist/css/2.chunk.css +145 -0
- package/dist/css/2.chunk.css.map +1 -0
- package/dist/css/21.chunk.css.map +1 -0
- package/dist/css/22.chunk.css.map +1 -0
- package/dist/css/23.chunk.css.map +1 -0
- package/dist/css/25.chunk.css.map +1 -0
- package/dist/css/26.chunk.css.map +1 -0
- package/dist/css/28.chunk.css.map +1 -0
- package/dist/css/29.chunk.css.map +1 -0
- package/dist/css/3.chunk.css.map +1 -0
- package/dist/css/30.chunk.css.map +1 -0
- package/dist/css/31.chunk.css.map +1 -0
- package/dist/css/32.chunk.css.map +1 -0
- package/dist/css/33.chunk.css.map +1 -0
- package/dist/css/34.chunk.css +21 -0
- package/dist/css/34.chunk.css.map +1 -0
- package/dist/css/35.chunk.css +20 -0
- package/dist/css/35.chunk.css.map +1 -0
- package/dist/css/36.chunk.css +14 -0
- package/dist/css/36.chunk.css.map +1 -0
- package/dist/css/37.chunk.css.map +1 -0
- package/dist/css/38.chunk.css.map +1 -0
- package/dist/css/40.chunk.css.map +1 -0
- package/dist/css/41.chunk.css.map +1 -0
- package/dist/css/42.chunk.css.map +1 -0
- package/dist/css/43.chunk.css.map +1 -0
- package/dist/css/44.chunk.css.map +1 -0
- package/dist/css/45.chunk.css.map +1 -0
- package/dist/css/46.chunk.css.map +1 -0
- package/dist/css/47.chunk.css.map +1 -0
- package/dist/css/48.chunk.css.map +1 -0
- package/dist/css/49.chunk.css +35 -0
- package/dist/css/49.chunk.css.map +1 -0
- package/dist/css/50.chunk.css.map +1 -0
- package/dist/css/51.chunk.css.map +1 -0
- package/dist/css/52.chunk.css +66 -0
- package/dist/css/52.chunk.css.map +1 -0
- package/dist/css/55.chunk.css.map +1 -0
- package/dist/css/56.chunk.css.map +1 -0
- package/dist/css/58.chunk.css.map +1 -0
- package/dist/css/59.chunk.css.map +1 -0
- package/dist/css/6.chunk.css.map +1 -0
- package/dist/css/60.chunk.css +18 -0
- package/dist/css/60.chunk.css.map +1 -0
- package/dist/css/62.chunk.css.map +1 -0
- package/dist/css/63.chunk.css +170 -0
- package/dist/css/63.chunk.css.map +1 -0
- package/dist/css/67.chunk.css +78 -0
- package/dist/css/67.chunk.css.map +1 -0
- package/dist/css/68.chunk.css +17 -0
- package/dist/css/68.chunk.css.map +1 -0
- package/dist/css/69.chunk.css +17 -0
- package/dist/css/69.chunk.css.map +1 -0
- package/dist/css/7.chunk.css.map +1 -0
- package/dist/css/70.chunk.css +23 -0
- package/dist/css/70.chunk.css.map +1 -0
- package/dist/css/71.chunk.css +40 -0
- package/dist/css/71.chunk.css.map +1 -0
- package/dist/css/72.chunk.css +16 -0
- package/dist/css/72.chunk.css.map +1 -0
- package/dist/css/73.chunk.css +37 -0
- package/dist/css/73.chunk.css.map +1 -0
- package/dist/css/74.chunk.css +29 -0
- package/dist/css/74.chunk.css.map +1 -0
- package/dist/css/75.chunk.css +6 -0
- package/dist/css/75.chunk.css.map +1 -0
- package/dist/css/76.chunk.css +6 -0
- package/dist/css/76.chunk.css.map +1 -0
- package/dist/css/8.chunk.css.map +1 -0
- package/dist/css/library-editor-app.css.map +1 -0
- package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +6 -0
- package/dist/libs/common/src/react/flight/enums/index.d.ts +1 -0
- package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +22 -0
- package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +4 -0
- package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +29 -0
- package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +15 -0
- package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +3 -0
- package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +8 -0
- package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +4 -0
- package/dist/libs/common/src/react/interfaces/index.d.ts +4 -0
- package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +8 -0
- package/dist/libs/shared/src/enums/ObjectOwnerType.d.ts +4 -0
- package/dist/libs/shared/src/enums/UploadInteractionType.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +5 -0
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropBehavior.d.ts +19 -0
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropHelper.d.ts +4 -0
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropMaskBehavior.d.ts +19 -0
- package/dist/libs/shared/src/legacy/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
- package/dist/libs/shared/src/legacy/components/file-select/FileSelectComponent.d.ts +29 -0
- package/dist/libs/shared/src/legacy/components/file-uploads/FileUploadComponent.d.ts +15 -0
- package/dist/libs/shared/src/legacy/components/resource-item/ResourceItemComponent.d.ts +22 -0
- package/dist/libs/shared/src/legacy/components/subtitle-item/SubtitleItemComponent.d.ts +17 -0
- package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +7 -0
- package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
- package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
- package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +9 -0
- package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +21 -0
- package/dist/scripts/0-1c2bb7e28a.chunk.js +1 -0
- package/dist/scripts/0-1dbc79e4e7.chunk.js +1 -0
- package/dist/scripts/0-93276429bf.chunk.js +1 -0
- package/dist/scripts/0.chunk.js +1039 -0
- package/dist/scripts/0.chunk.js.map +1 -0
- package/dist/scripts/1-480e5932a6.chunk.js +1 -0
- package/dist/scripts/1-6051b28de6.chunk.js +1 -0
- package/dist/scripts/1-b85c11fc30.chunk.js +1 -0
- package/dist/scripts/1.chunk.js +442 -0
- package/dist/scripts/1.chunk.js.map +1 -0
- package/dist/scripts/10-3ff370d548.chunk.js +1 -0
- package/dist/scripts/10-923c4b075a.chunk.js +1 -0
- package/dist/scripts/10-e2fea45a6c.chunk.js +1 -0
- package/dist/scripts/10.chunk.js +820 -0
- package/dist/scripts/10.chunk.js.map +1 -0
- package/dist/scripts/11-3dec7d2c7e.chunk.js +11 -0
- package/dist/scripts/11-74bc3f2d9f.chunk.js +11 -0
- package/dist/scripts/11.chunk.js +4091 -0
- package/dist/scripts/11.chunk.js.map +1 -0
- package/dist/scripts/12-07999b80e0.chunk.js +1 -0
- package/dist/scripts/12-24bd360be0.chunk.js +1 -0
- package/dist/scripts/12-e522e64a94.chunk.js +1 -0
- package/dist/scripts/12.chunk.js +555 -0
- package/dist/scripts/12.chunk.js.map +1 -0
- package/dist/scripts/13-081c0e5887.chunk.js +1 -0
- package/dist/scripts/13-54fe4fe53b.chunk.js +1 -0
- package/dist/scripts/13-958a8fd026.chunk.js +1 -0
- package/dist/scripts/13.chunk.js +380 -0
- package/dist/scripts/13.chunk.js.map +1 -0
- package/dist/scripts/14-16f84b2721.chunk.js +1 -0
- package/dist/scripts/14-45cd4dc6ef.chunk.js +1 -0
- package/dist/scripts/14-68c85d6674.chunk.js +1 -0
- package/dist/scripts/14.chunk.js +2386 -0
- package/dist/scripts/14.chunk.js.map +1 -0
- package/dist/scripts/15-12fa4c3471.chunk.js +1 -0
- package/dist/scripts/15-5544e6bde6.chunk.js +1 -0
- package/dist/scripts/15-8c96c3288e.chunk.js +1 -0
- package/dist/scripts/15.chunk.js +314 -0
- package/dist/scripts/15.chunk.js.map +1 -0
- package/dist/scripts/16-670c43d26f.chunk.js +1 -0
- package/dist/scripts/16-742a776f88.chunk.js +1 -0
- package/dist/scripts/16-7bcffb06e7.chunk.js +1 -0
- package/dist/scripts/16.chunk.js +1290 -0
- package/dist/scripts/16.chunk.js.map +1 -0
- package/dist/scripts/17-140fec014b.chunk.js +1 -0
- package/dist/scripts/17-b5e44e8b17.chunk.js +1 -0
- package/dist/scripts/17-f6b0159da3.chunk.js +1 -0
- package/dist/scripts/17.chunk.js +381 -0
- package/dist/scripts/17.chunk.js.map +1 -0
- package/dist/scripts/18.chunk.js +393 -0
- package/dist/scripts/18.chunk.js.map +1 -0
- package/dist/scripts/19.chunk.js +364 -0
- package/dist/scripts/19.chunk.js.map +1 -0
- package/dist/scripts/2-0c5fba8b60.chunk.js +1 -0
- package/dist/scripts/2-7cc9176e8a.chunk.js +1 -0
- package/dist/scripts/2.chunk.js +523 -0
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/20-4d88ede0e0.chunk.js +1 -0
- package/dist/scripts/20-732a7a549d.chunk.js +1 -0
- package/dist/scripts/20-df9f6f7661.chunk.js +1 -0
- package/dist/scripts/20.chunk.js +317 -0
- package/dist/scripts/20.chunk.js.map +1 -0
- package/dist/scripts/21-0b84d33cef.chunk.js +1 -0
- package/dist/scripts/21-c9983ca8ad.chunk.js +1 -0
- package/dist/scripts/21-ee85b6d208.chunk.js +1 -0
- package/dist/scripts/21.chunk.js +531 -0
- package/dist/scripts/21.chunk.js.map +1 -0
- package/dist/scripts/22-151cf38018.chunk.js +1 -0
- package/dist/scripts/22-3b2207c8f6.chunk.js +1 -0
- package/dist/scripts/22-6e6ed9f607.chunk.js +1 -0
- package/dist/scripts/22.chunk.js +354 -0
- package/dist/scripts/22.chunk.js.map +1 -0
- package/dist/scripts/23-1af21bf234.chunk.js +1 -0
- package/dist/scripts/23-94f9fe4222.chunk.js +1 -0
- package/dist/scripts/23-ab8f73ee87.chunk.js +1 -0
- package/dist/scripts/23.chunk.js +604 -0
- package/dist/scripts/23.chunk.js.map +1 -0
- package/dist/scripts/24-74ab289589.chunk.js +1 -0
- package/dist/scripts/24-7aa9b43511.chunk.js +1 -0
- package/dist/scripts/24-d1ffdd4755.chunk.js +1 -0
- package/dist/scripts/24.chunk.js +318 -0
- package/dist/scripts/24.chunk.js.map +1 -0
- package/dist/scripts/25-5a38ce3533.chunk.js +1 -0
- package/dist/scripts/25-76d9011eea.chunk.js +1 -0
- package/dist/scripts/25-866cfc0ef5.chunk.js +1 -0
- package/dist/scripts/25.chunk.js +365 -0
- package/dist/scripts/25.chunk.js.map +1 -0
- package/dist/scripts/26-d166e3c313.chunk.js +1 -0
- package/dist/scripts/26-e53ba8e00f.chunk.js +1 -0
- package/dist/scripts/26-ea028a6276.chunk.js +1 -0
- package/dist/scripts/26.chunk.js +442 -0
- package/dist/scripts/26.chunk.js.map +1 -0
- package/dist/scripts/27-2109d41afa.chunk.js +1 -0
- package/dist/scripts/27-c1241fcd84.chunk.js +1 -0
- package/dist/scripts/27-ee88c84482.chunk.js +1 -0
- package/dist/scripts/27.chunk.js +3630 -0
- package/dist/scripts/27.chunk.js.map +1 -0
- package/dist/scripts/28-5c540e74cc.chunk.js +1 -0
- package/dist/scripts/28-76b9766891.chunk.js +1 -0
- package/dist/scripts/28-e490147f6b.chunk.js +1 -0
- package/dist/scripts/28.chunk.js +3172 -0
- package/dist/scripts/28.chunk.js.map +1 -0
- package/dist/scripts/29-2da59b1589.chunk.js +1 -0
- package/dist/scripts/29-69389908f8.chunk.js +1 -0
- package/dist/scripts/29-bb7e39304b.chunk.js +1 -0
- package/dist/scripts/29.chunk.js +3090 -0
- package/dist/scripts/29.chunk.js.map +1 -0
- package/dist/scripts/3-6e67dd4b74.chunk.js +1 -0
- package/dist/scripts/3-81b501ac1e.chunk.js +1 -0
- package/dist/scripts/3-c69e4454ce.chunk.js +1 -0
- package/dist/scripts/3.chunk.js +845 -0
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/30-9d32d88d76.chunk.js +1 -0
- package/dist/scripts/30-a1df3e37da.chunk.js +1 -0
- package/dist/scripts/30-fa390c35f6.chunk.js +1 -0
- package/dist/scripts/30.chunk.js +1851 -0
- package/dist/scripts/30.chunk.js.map +1 -0
- package/dist/scripts/31-ce31250e42.chunk.js +1 -0
- package/dist/scripts/31-f15802825c.chunk.js +1 -0
- package/dist/scripts/31-fc63c4629d.chunk.js +1 -0
- package/dist/scripts/31.chunk.js +958 -0
- package/dist/scripts/31.chunk.js.map +1 -0
- package/dist/scripts/32-1ad8193581.chunk.js +1 -0
- package/dist/scripts/32-4173874dbe.chunk.js +1 -0
- package/dist/scripts/32-9bca57f408.chunk.js +1 -0
- package/dist/scripts/32.chunk.js +1235 -0
- package/dist/scripts/32.chunk.js.map +1 -0
- package/dist/scripts/33-20ac0ab4a1.chunk.js +1 -0
- package/dist/scripts/33-350334db4c.chunk.js +1 -0
- package/dist/scripts/33-7efae85b8b.chunk.js +1 -0
- package/dist/scripts/33.chunk.js +958 -0
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/34-3adf309726.chunk.js +1 -0
- package/dist/scripts/34-c4f0495750.chunk.js +1 -0
- package/dist/scripts/34-f6eea83a09.chunk.js +1 -0
- package/dist/scripts/34.chunk.js +990 -0
- package/dist/scripts/34.chunk.js.map +1 -0
- package/dist/scripts/35-17b30890a5.chunk.js +1 -0
- package/dist/scripts/35-7f90628b77.chunk.js +1 -0
- package/dist/scripts/35-9c3899dfbd.chunk.js +1 -0
- package/dist/scripts/35.chunk.js +518 -0
- package/dist/scripts/35.chunk.js.map +1 -0
- package/dist/scripts/36-2ec95df618.chunk.js +1 -0
- package/dist/scripts/36-b5ad543fba.chunk.js +1 -0
- package/dist/scripts/36-cdbe95bd06.chunk.js +1 -0
- package/dist/scripts/36.chunk.js +335 -0
- package/dist/scripts/36.chunk.js.map +1 -0
- package/dist/scripts/37-3f3a603b60.chunk.js +1 -0
- package/dist/scripts/37-6fa4b8fc60.chunk.js +1 -0
- package/dist/scripts/37-c649a307d4.chunk.js +1 -0
- package/dist/scripts/37.chunk.js +236 -0
- package/dist/scripts/37.chunk.js.map +1 -0
- package/dist/scripts/38-1c98f19489.chunk.js +1 -0
- package/dist/scripts/38-6fc346f964.chunk.js +1 -0
- package/dist/scripts/38-7ffe535b0d.chunk.js +1 -0
- package/dist/scripts/38.chunk.js +315 -0
- package/dist/scripts/38.chunk.js.map +1 -0
- package/dist/scripts/39-13d6669c3f.chunk.js +1 -0
- package/dist/scripts/39-71c4bb46b2.chunk.js +1 -0
- package/dist/scripts/39-e5983a5d53.chunk.js +1 -0
- package/dist/scripts/39.chunk.js +107 -0
- package/dist/scripts/39.chunk.js.map +1 -0
- package/dist/scripts/4-435484d217.chunk.js +1 -0
- package/dist/scripts/4-7274621693.chunk.js +1 -0
- package/dist/scripts/4-85ba8523ad.chunk.js +1 -0
- package/dist/scripts/4.chunk.js +335 -0
- package/dist/scripts/4.chunk.js.map +1 -0
- package/dist/scripts/40-2ecbd41570.chunk.js +1 -0
- package/dist/scripts/40-a691a401ff.chunk.js +1 -0
- package/dist/scripts/40-f1d72b1049.chunk.js +1 -0
- package/dist/scripts/40.chunk.js +2493 -0
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/41-0368ba16dc.chunk.js +1 -0
- package/dist/scripts/41-85fcb15184.chunk.js +1 -0
- package/dist/scripts/41-bb9aef24f7.chunk.js +1 -0
- package/dist/scripts/41.chunk.js +1782 -0
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/42-389acb6e55.chunk.js +1 -0
- package/dist/scripts/42-3ef41f40f5.chunk.js +1 -0
- package/dist/scripts/42-61a626d7f4.chunk.js +1 -0
- package/dist/scripts/42.chunk.js +2327 -0
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/43-2fe5b1c9cc.chunk.js +1 -0
- package/dist/scripts/43-49f13dab14.chunk.js +1 -0
- package/dist/scripts/43-a5b882d502.chunk.js +1 -0
- package/dist/scripts/43.chunk.js +1206 -0
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/44-0703eb0ad8.chunk.js +1 -0
- package/dist/scripts/44-de22428999.chunk.js +1 -0
- package/dist/scripts/44-ee6a740a16.chunk.js +1 -0
- package/dist/scripts/44.chunk.js +2245 -0
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/45-806dd5b78c.chunk.js +1 -0
- package/dist/scripts/45-da34a8b6b2.chunk.js +1 -0
- package/dist/scripts/45-e4a92a40fd.chunk.js +1 -0
- package/dist/scripts/45.chunk.js +1065 -0
- package/dist/scripts/45.chunk.js.map +1 -0
- package/dist/scripts/46-4aa05464fe.chunk.js +1 -0
- package/dist/scripts/46-cccef3e874.chunk.js +1 -0
- package/dist/scripts/46-ebf8eee4ac.chunk.js +1 -0
- package/dist/scripts/46.chunk.js +655 -0
- package/dist/scripts/46.chunk.js.map +1 -0
- package/dist/scripts/47-1e3d829757.chunk.js +1 -0
- package/dist/scripts/47-56d22af6ba.chunk.js +1 -0
- package/dist/scripts/47-c61fa52c53.chunk.js +1 -0
- package/dist/scripts/47.chunk.js +736 -0
- package/dist/scripts/47.chunk.js.map +1 -0
- package/dist/scripts/48-877e9e02b8.chunk.js +1 -0
- package/dist/scripts/48-e05ab3ecac.chunk.js +1 -0
- package/dist/scripts/48-fc96b968fc.chunk.js +1 -0
- package/dist/scripts/48.chunk.js +994 -0
- package/dist/scripts/48.chunk.js.map +1 -0
- package/dist/scripts/49-13c5f8e87d.chunk.js +1 -0
- package/dist/scripts/49-4a6c119f58.chunk.js +1 -0
- package/dist/scripts/49-f9151c7e06.chunk.js +1 -0
- package/dist/scripts/49.chunk.js +761 -0
- package/dist/scripts/49.chunk.js.map +1 -0
- package/dist/scripts/5-1ba89c4774.chunk.js +1 -0
- package/dist/scripts/5-515b264fbc.chunk.js +1 -0
- package/dist/scripts/5-d6a7d71167.chunk.js +1 -0
- package/dist/scripts/5.chunk.js +15 -0
- package/dist/scripts/5.chunk.js.map +1 -0
- package/dist/scripts/50-0741587a02.chunk.js +1 -0
- package/dist/scripts/50-3924907655.chunk.js +1 -0
- package/dist/scripts/50-4de0b758d5.chunk.js +1 -0
- package/dist/scripts/50.chunk.js +530 -0
- package/dist/scripts/50.chunk.js.map +1 -0
- package/dist/scripts/51-a5f1309ada.chunk.js +1 -0
- package/dist/scripts/51-dca2a9cc86.chunk.js +1 -0
- package/dist/scripts/51-ea33746146.chunk.js +1 -0
- package/dist/scripts/51.chunk.js +932 -0
- package/dist/scripts/51.chunk.js.map +1 -0
- package/dist/scripts/52-50230b48c8.chunk.js +1 -0
- package/dist/scripts/52-a3c8ed29ca.chunk.js +1 -0
- package/dist/scripts/52-bc48f1f9e8.chunk.js +1 -0
- package/dist/scripts/52.chunk.js +408 -0
- package/dist/scripts/52.chunk.js.map +1 -0
- package/dist/scripts/53-0e253f9f3e.chunk.js +1 -0
- package/dist/scripts/53-36007500cf.chunk.js +1 -0
- package/dist/scripts/53-d8f0dea552.chunk.js +1 -0
- package/dist/scripts/53.chunk.js +756 -0
- package/dist/scripts/53.chunk.js.map +1 -0
- package/dist/scripts/54-7cdbdcebf9.chunk.js +1 -0
- package/dist/scripts/54-d1bc70c7b5.chunk.js +1 -0
- package/dist/scripts/54-ead54d0b34.chunk.js +1 -0
- package/dist/scripts/54.chunk.js +681 -0
- package/dist/scripts/54.chunk.js.map +1 -0
- package/dist/scripts/55-3c60601030.chunk.js +1 -0
- package/dist/scripts/55-a5fa20b497.chunk.js +1 -0
- package/dist/scripts/55-e29d6a6ba9.chunk.js +1 -0
- package/dist/scripts/55.chunk.js +645 -0
- package/dist/scripts/55.chunk.js.map +1 -0
- package/dist/scripts/56-36d54fa08f.chunk.js +1 -0
- package/dist/scripts/56-370078d597.chunk.js +1 -0
- package/dist/scripts/56-df0a32000b.chunk.js +1 -0
- package/dist/scripts/56.chunk.js +346 -0
- package/dist/scripts/56.chunk.js.map +1 -0
- package/dist/scripts/57-6e622c6480.chunk.js +1 -0
- package/dist/scripts/57-a4f4d6fe41.chunk.js +1 -0
- package/dist/scripts/57-c1faec8b32.chunk.js +1 -0
- package/dist/scripts/57.chunk.js +422 -0
- package/dist/scripts/57.chunk.js.map +1 -0
- package/dist/scripts/58-17706ccb46.chunk.js +1 -0
- package/dist/scripts/58-a0fe201826.chunk.js +1 -0
- package/dist/scripts/58-e996405f2b.chunk.js +1 -0
- package/dist/scripts/58.chunk.js +437 -0
- package/dist/scripts/58.chunk.js.map +1 -0
- package/dist/scripts/59-0a7bdc86b0.chunk.js +1 -0
- package/dist/scripts/59-381a49ed7f.chunk.js +1 -0
- package/dist/scripts/59-4f2fcb6412.chunk.js +1 -0
- package/dist/scripts/59.chunk.js +342 -0
- package/dist/scripts/59.chunk.js.map +1 -0
- package/dist/scripts/6-40c8ba5007.chunk.js +1 -0
- package/dist/scripts/6-51a379e066.chunk.js +1 -0
- package/dist/scripts/6-b3d36065dc.chunk.js +1 -0
- package/dist/scripts/6.chunk.js +484 -0
- package/dist/scripts/6.chunk.js.map +1 -0
- package/dist/scripts/60-0d8896555f.chunk.js +1 -0
- package/dist/scripts/60-b4a91c86fa.chunk.js +1 -0
- package/dist/scripts/60-c57f161f18.chunk.js +1 -0
- package/dist/scripts/60.chunk.js +254 -0
- package/dist/scripts/60.chunk.js.map +1 -0
- package/dist/scripts/61-5d6e59d408.chunk.js +1 -0
- package/dist/scripts/61-7d81d27c31.chunk.js +1 -0
- package/dist/scripts/61-a342a0d501.chunk.js +1 -0
- package/dist/scripts/61.chunk.js +408 -0
- package/dist/scripts/61.chunk.js.map +1 -0
- package/dist/scripts/62-758f5e505b.chunk.js +1 -0
- package/dist/scripts/62-b572d8b80d.chunk.js +1 -0
- package/dist/scripts/62-f5fd35fdc0.chunk.js +1 -0
- package/dist/scripts/62.chunk.js +142 -0
- package/dist/scripts/62.chunk.js.map +1 -0
- package/dist/scripts/63-568008965e.chunk.js +1 -0
- package/dist/scripts/63-6700b4d00a.chunk.js +1 -0
- package/dist/scripts/63-c88b9860e9.chunk.js +1 -0
- package/dist/scripts/63.chunk.js +147 -0
- package/dist/scripts/63.chunk.js.map +1 -0
- package/dist/scripts/64-9c88ee6161.chunk.js +1 -0
- package/dist/scripts/64-e177d4c971.chunk.js +1 -0
- package/dist/scripts/64-fa2facacbb.chunk.js +1 -0
- package/dist/scripts/64.chunk.js +439 -0
- package/dist/scripts/64.chunk.js.map +1 -0
- package/dist/scripts/65-93567fe088.chunk.js +1 -0
- package/dist/scripts/65-e4568d1f06.chunk.js +1 -0
- package/dist/scripts/65-f750573f69.chunk.js +1 -0
- package/dist/scripts/65.chunk.js +582 -0
- package/dist/scripts/65.chunk.js.map +1 -0
- package/dist/scripts/66-c84a3a3c3f.chunk.js +1 -0
- package/dist/scripts/66-f325ff3187.chunk.js +1 -0
- package/dist/scripts/66-f6d213b33c.chunk.js +1 -0
- package/dist/scripts/66.chunk.js +442 -0
- package/dist/scripts/66.chunk.js.map +1 -0
- package/dist/scripts/67-3c9628d296.chunk.js +1 -0
- package/dist/scripts/67-97c694c3d5.chunk.js +1 -0
- package/dist/scripts/67-c5af18680c.chunk.js +1 -0
- package/dist/scripts/67.chunk.js +295 -0
- package/dist/scripts/67.chunk.js.map +1 -0
- package/dist/scripts/68-488cd1552f.chunk.js +1 -0
- package/dist/scripts/68-7b1d5e8e75.chunk.js +1 -0
- package/dist/scripts/68-eb8700aeb1.chunk.js +1 -0
- package/dist/scripts/68.chunk.js +165 -0
- package/dist/scripts/68.chunk.js.map +1 -0
- package/dist/scripts/69-3d2063cd0f.chunk.js +1 -0
- package/dist/scripts/69-b0ea71d7c5.chunk.js +1 -0
- package/dist/scripts/69-be2be90b7c.chunk.js +1 -0
- package/dist/scripts/69.chunk.js +248 -0
- package/dist/scripts/69.chunk.js.map +1 -0
- package/dist/scripts/7-3151397d74.chunk.js +1 -0
- package/dist/scripts/7-aac8c84ccb.chunk.js +1 -0
- package/dist/scripts/7-dfddb8ffa8.chunk.js +1 -0
- package/dist/scripts/7.chunk.js +309 -0
- package/dist/scripts/7.chunk.js.map +1 -0
- package/dist/scripts/70-27e9e5792a.chunk.js +1 -0
- package/dist/scripts/70-39dc936989.chunk.js +1 -0
- package/dist/scripts/70-e6ebb44667.chunk.js +1 -0
- package/dist/scripts/70.chunk.js +207 -0
- package/dist/scripts/70.chunk.js.map +1 -0
- package/dist/scripts/71-8e3682a7d7.chunk.js +1 -0
- package/dist/scripts/71-a80858069c.chunk.js +1 -0
- package/dist/scripts/71-c5923e2d2d.chunk.js +1 -0
- package/dist/scripts/71.chunk.js +237 -0
- package/dist/scripts/71.chunk.js.map +1 -0
- package/dist/scripts/72-245f28bf97.chunk.js +1 -0
- package/dist/scripts/72-550438db4e.chunk.js +1 -0
- package/dist/scripts/72-65364adff1.chunk.js +1 -0
- package/dist/scripts/72.chunk.js +331 -0
- package/dist/scripts/72.chunk.js.map +1 -0
- package/dist/scripts/73.chunk.js +404 -0
- package/dist/scripts/73.chunk.js.map +1 -0
- package/dist/scripts/74.chunk.js +301 -0
- package/dist/scripts/74.chunk.js.map +1 -0
- package/dist/scripts/75.chunk.js +231 -0
- package/dist/scripts/75.chunk.js.map +1 -0
- package/dist/scripts/76.chunk.js +157 -0
- package/dist/scripts/76.chunk.js.map +1 -0
- package/dist/scripts/77.chunk.js +307 -0
- package/dist/scripts/77.chunk.js.map +1 -0
- package/dist/scripts/78.chunk.js +249 -0
- package/dist/scripts/78.chunk.js.map +1 -0
- package/dist/scripts/79.chunk.js +282 -0
- package/dist/scripts/79.chunk.js.map +1 -0
- package/dist/scripts/8-c4955c2009.chunk.js +1 -0
- package/dist/scripts/8-d46f48d03c.chunk.js +1 -0
- package/dist/scripts/8-e5d19252c8.chunk.js +1 -0
- package/dist/scripts/8.chunk.js +307 -0
- package/dist/scripts/8.chunk.js.map +1 -0
- package/dist/scripts/80.chunk.js +308 -0
- package/dist/scripts/80.chunk.js.map +1 -0
- package/dist/scripts/81.chunk.js +366 -0
- package/dist/scripts/81.chunk.js.map +1 -0
- package/dist/scripts/82.chunk.js +314 -0
- package/dist/scripts/82.chunk.js.map +1 -0
- package/dist/scripts/83.chunk.js +328 -0
- package/dist/scripts/83.chunk.js.map +1 -0
- package/dist/scripts/84.chunk.js +313 -0
- package/dist/scripts/84.chunk.js.map +1 -0
- package/dist/scripts/85.chunk.js +291 -0
- package/dist/scripts/85.chunk.js.map +1 -0
- package/dist/scripts/86.chunk.js +119 -0
- package/dist/scripts/86.chunk.js.map +1 -0
- package/dist/scripts/87.chunk.js +219 -0
- package/dist/scripts/87.chunk.js.map +1 -0
- package/dist/scripts/88.chunk.js +194 -0
- package/dist/scripts/88.chunk.js.map +1 -0
- package/dist/scripts/89.chunk.js +522 -0
- package/dist/scripts/89.chunk.js.map +1 -0
- package/dist/scripts/9-4589726554.chunk.js +1 -0
- package/dist/scripts/9-66021549bd.chunk.js +1 -0
- package/dist/scripts/9-df99ba6ce1.chunk.js +1 -0
- package/dist/scripts/9.chunk.js +222 -0
- package/dist/scripts/9.chunk.js.map +1 -0
- package/dist/scripts/90.chunk.js +337 -0
- package/dist/scripts/90.chunk.js.map +1 -0
- package/dist/scripts/91.chunk.js +131 -0
- package/dist/scripts/91.chunk.js.map +1 -0
- package/dist/scripts/92.chunk.js +266 -0
- package/dist/scripts/92.chunk.js.map +1 -0
- package/dist/scripts/bundle-1b984e2fd9.min.js +8 -0
- package/dist/scripts/{bundle-8862b095c0.min.js → bundle-203920eb14.min.js} +1 -1
- package/dist/scripts/bundle-7d13ba933b.min.js +8 -0
- package/dist/scripts/bundle-d5b23160b1.min.js +8 -0
- package/dist/scripts/bundle.js +67100 -0
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-9b0be1bd72.min.js +1 -0
- package/dist/scripts/polyfills-cd3d0a9f6d.min.js +1 -0
- package/dist/scripts/polyfills-d891a77823.min.js +1 -0
- package/dist/scripts/polyfills.js +14866 -0
- package/dist/scripts/polyfills.js.map +1 -0
- package/package.json +2 -2
- /package/dist/scripts/{0-1deffb42bf.chunk.js → 0-8b75adf540.chunk.js} +0 -0
- /package/dist/scripts/{1-a4065968c1.chunk.js → 1-22a3bd404f.chunk.js} +0 -0
- /package/dist/scripts/{10-0adc529f9b.chunk.js → 10-31317a2d02.chunk.js} +0 -0
- /package/dist/scripts/{12-18ae0dfa89.chunk.js → 12-6ecdd79b85.chunk.js} +0 -0
- /package/dist/scripts/{13-a9ed73e93d.chunk.js → 13-282f8add17.chunk.js} +0 -0
- /package/dist/scripts/{14-e0828acdfa.chunk.js → 14-5e443cb402.chunk.js} +0 -0
- /package/dist/scripts/{15-c67caabb0a.chunk.js → 15-1f779dd0d3.chunk.js} +0 -0
- /package/dist/scripts/{16-31fefb2cac.chunk.js → 16-427a8933c8.chunk.js} +0 -0
- /package/dist/scripts/{17-b9c5bbda43.chunk.js → 17-7093f50dff.chunk.js} +0 -0
- /package/dist/scripts/{20-2bca62d1c0.chunk.js → 20-a84733c89f.chunk.js} +0 -0
- /package/dist/scripts/{21-c70d40dc61.chunk.js → 21-9b28a13702.chunk.js} +0 -0
- /package/dist/scripts/{22-0e9dca307f.chunk.js → 22-082c94a39c.chunk.js} +0 -0
- /package/dist/scripts/{23-b4a5ffb3a6.chunk.js → 23-2b00ff99bf.chunk.js} +0 -0
- /package/dist/scripts/{24-88056bc5c9.chunk.js → 24-c94049500e.chunk.js} +0 -0
- /package/dist/scripts/{25-ec294abf37.chunk.js → 25-34c0406f50.chunk.js} +0 -0
- /package/dist/scripts/{26-2a038b6df5.chunk.js → 26-d19e3f755c.chunk.js} +0 -0
- /package/dist/scripts/{27-9f06d5bb5d.chunk.js → 27-3aa629dd67.chunk.js} +0 -0
- /package/dist/scripts/{28-4e62071464.chunk.js → 28-738b88c816.chunk.js} +0 -0
- /package/dist/scripts/{29-5ab940b23f.chunk.js → 29-3faa153e38.chunk.js} +0 -0
- /package/dist/scripts/{3-dbf1f0bdbc.chunk.js → 3-42e8af9f39.chunk.js} +0 -0
- /package/dist/scripts/{30-87ec7ee868.chunk.js → 30-109f8ddd5c.chunk.js} +0 -0
- /package/dist/scripts/{31-24f9dc350e.chunk.js → 31-639090fee3.chunk.js} +0 -0
- /package/dist/scripts/{32-a06209da52.chunk.js → 32-3de9c7454b.chunk.js} +0 -0
- /package/dist/scripts/{33-c33020ec6f.chunk.js → 33-675467f07d.chunk.js} +0 -0
- /package/dist/scripts/{34-116a50814d.chunk.js → 34-0a7f3b55fe.chunk.js} +0 -0
- /package/dist/scripts/{35-33ea39c18e.chunk.js → 35-4254e160f0.chunk.js} +0 -0
- /package/dist/scripts/{36-ccb493b3f6.chunk.js → 36-1fde696d6a.chunk.js} +0 -0
- /package/dist/scripts/{37-bb5a5bdad3.chunk.js → 37-97b84a8be5.chunk.js} +0 -0
- /package/dist/scripts/{38-64d5f34871.chunk.js → 38-0cf8029bec.chunk.js} +0 -0
- /package/dist/scripts/{39-14259bc6fe.chunk.js → 39-748eb61732.chunk.js} +0 -0
- /package/dist/scripts/{4-dbbff4289b.chunk.js → 4-5c50e71b83.chunk.js} +0 -0
- /package/dist/scripts/{40-ea678bbe5b.chunk.js → 40-2691dfbd5a.chunk.js} +0 -0
- /package/dist/scripts/{41-2d35060d0e.chunk.js → 41-1df587ee3a.chunk.js} +0 -0
- /package/dist/scripts/{42-898076e213.chunk.js → 42-3480033857.chunk.js} +0 -0
- /package/dist/scripts/{43-0616177a42.chunk.js → 43-72d1bc0ae2.chunk.js} +0 -0
- /package/dist/scripts/{44-861ac46f36.chunk.js → 44-756fd6622b.chunk.js} +0 -0
- /package/dist/scripts/{45-7446535f17.chunk.js → 45-610d098194.chunk.js} +0 -0
- /package/dist/scripts/{46-26620d2a5f.chunk.js → 46-cadf3f46ee.chunk.js} +0 -0
- /package/dist/scripts/{47-a4034122c9.chunk.js → 47-22a83e5974.chunk.js} +0 -0
- /package/dist/scripts/{48-76b2c74863.chunk.js → 48-e577124476.chunk.js} +0 -0
- /package/dist/scripts/{49-505e968070.chunk.js → 49-0f9a6a1782.chunk.js} +0 -0
- /package/dist/scripts/{5-2051149282.chunk.js → 5-06b97501c3.chunk.js} +0 -0
- /package/dist/scripts/{50-5fc4da3bc5.chunk.js → 50-0d5aed7730.chunk.js} +0 -0
- /package/dist/scripts/{51-fc0310c5cd.chunk.js → 51-cd37c8efa2.chunk.js} +0 -0
- /package/dist/scripts/{52-bf7eecfbac.chunk.js → 52-8b53a5c0b1.chunk.js} +0 -0
- /package/dist/scripts/{53-ec51fba164.chunk.js → 53-54b0df474f.chunk.js} +0 -0
- /package/dist/scripts/{54-d3990092dd.chunk.js → 54-dd4d101665.chunk.js} +0 -0
- /package/dist/scripts/{55-e4665da63e.chunk.js → 55-078bb9b0ea.chunk.js} +0 -0
- /package/dist/scripts/{56-21b33b42c3.chunk.js → 56-7a6c662f14.chunk.js} +0 -0
- /package/dist/scripts/{57-07deff9444.chunk.js → 57-0e126120b9.chunk.js} +0 -0
- /package/dist/scripts/{58-68ca09ffdf.chunk.js → 58-5729cbaa5c.chunk.js} +0 -0
- /package/dist/scripts/{59-c7705e6551.chunk.js → 59-333f38ee3b.chunk.js} +0 -0
- /package/dist/scripts/{6-9bc788ce4c.chunk.js → 6-1045293de4.chunk.js} +0 -0
- /package/dist/scripts/{60-319578f49a.chunk.js → 60-b17c6609cd.chunk.js} +0 -0
- /package/dist/scripts/{61-25fcfd00c9.chunk.js → 61-57fa6b5248.chunk.js} +0 -0
- /package/dist/scripts/{62-d07ddf14ff.chunk.js → 62-67458b7fb4.chunk.js} +0 -0
- /package/dist/scripts/{63-08c93c2e53.chunk.js → 63-420b10f5f2.chunk.js} +0 -0
- /package/dist/scripts/{64-ffead99364.chunk.js → 64-e6598113a7.chunk.js} +0 -0
- /package/dist/scripts/{65-86eee87750.chunk.js → 65-a7e499ceee.chunk.js} +0 -0
- /package/dist/scripts/{66-79a4d8629a.chunk.js → 66-f00f29ccae.chunk.js} +0 -0
- /package/dist/scripts/{67-bc34473155.chunk.js → 67-1ebaab7a2d.chunk.js} +0 -0
- /package/dist/scripts/{68-c3fe0c028e.chunk.js → 68-38a6d7fb50.chunk.js} +0 -0
- /package/dist/scripts/{69-f4f1f07045.chunk.js → 69-870856c6fb.chunk.js} +0 -0
- /package/dist/scripts/{7-74c0fcd6fe.chunk.js → 7-d41d3bf60c.chunk.js} +0 -0
- /package/dist/scripts/{70-4681989887.chunk.js → 70-6ef72cd9b6.chunk.js} +0 -0
- /package/dist/scripts/{71-8ae59fd304.chunk.js → 71-4e4a47d601.chunk.js} +0 -0
- /package/dist/scripts/{72-8615720ce0.chunk.js → 72-0a6c88f9fe.chunk.js} +0 -0
- /package/dist/scripts/{8-039e714b81.chunk.js → 8-7278f3247c.chunk.js} +0 -0
- /package/dist/scripts/{9-e76ba48df5.chunk.js → 9-576592d419.chunk.js} +0 -0
- /package/dist/scripts/{polyfills-57fccaae30.min.js → polyfills-5a81b67408.min.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("_"),require("Backbone"),require("Handlebars"),require("moment"),require("Marionette"),require("Bloodhound"),require("FontAwesome"),require("Polyglot"),require("DOMPurify"),require("CVEvents"),require("ClipboardJS")):"function"==typeof define&&define.amd?define(["_","Backbone","Handlebars","moment","Marionette","Bloodhound","FontAwesome","Polyglot","DOMPurify","CVEvents","ClipboardJS"],e):"object"==typeof exports?exports["@clickview/library-editor"]=e(require("_"),require("Backbone"),require("Handlebars"),require("moment"),require("Marionette"),require("Bloodhound"),require("FontAwesome"),require("Polyglot"),require("DOMPurify"),require("CVEvents"),require("ClipboardJS")):t["@clickview/library-editor"]=e(t._,t.Backbone,t.Handlebars,t.moment,t.Marionette,t.Bloodhound,t.FontAwesome,t.Polyglot,t.DOMPurify,t.CVEvents,t.ClipboardJS)}(window,(function(t,e,n,r,o,i,a,c,u,s,l){return function(t){function e(e){for(var n,r,i=e[0],a=e[1],c=0,u=[];c<i.length;c++)r=i[c],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&u.push(o[r][0]),o[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n]);for(s&&s(e);u.length;)u.shift()()}var n={},r={18:0},o={18:0};function i(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(t){var e=[];r[t]?e.push(r[t]):0!==r[t]&&{0:1,1:1,3:1,5:1,6:1,7:1,8:1,9:1,10:1,12:1,13:1,14:1,16:1,17:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,45:1,46:1,47:1,48:1,50:1,51:1,54:1,55:1,56:1,57:1,58:1,59:1,61:1,62:1}[t]&&e.push(r[t]=new Promise((function(e,n){for(var o="css/"+t+".chunk.css",a=i.p+o,c=document.getElementsByTagName("link"),u=0;u<c.length;u++){var s=(f=c[u]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(s===o||s===a))return e()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){var f;if((s=(f=l[u]).getAttribute("data-href"))===o||s===a)return e()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=e,p.onerror=function(e){var o=e&&e.target&&e.target.src||a,i=new Error("Loading CSS chunk "+t+" failed.\n("+o+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=o,delete r[t],p.parentNode.removeChild(p),n(i)},p.href=a,document.getElementsByTagName("head")[0].appendChild(p)})).then((function(){r[t]=0})));var n=o[t];if(0!==n)if(n)e.push(n[2]);else{var a=new Promise((function(e,r){n=o[t]=[e,r]}));e.push(n[2]=a);var c,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(t){return i.p+"scripts/"+t+"-"+{0:"1deffb42bf",1:"a4065968c1",2:"5fd33f5359",3:"dbf1f0bdbc",4:"dbbff4289b",5:"2051149282",6:"9bc788ce4c",7:"74c0fcd6fe",8:"039e714b81",9:"e76ba48df5",10:"0adc529f9b",11:"039959db6c",12:"18ae0dfa89",13:"a9ed73e93d",14:"e0828acdfa",15:"c67caabb0a",16:"31fefb2cac",17:"b9c5bbda43",20:"2bca62d1c0",21:"c70d40dc61",22:"0e9dca307f",23:"b4a5ffb3a6",24:"88056bc5c9",25:"ec294abf37",26:"2a038b6df5",27:"9f06d5bb5d",28:"4e62071464",29:"5ab940b23f",30:"87ec7ee868",31:"24f9dc350e",32:"a06209da52",33:"c33020ec6f",34:"116a50814d",35:"33ea39c18e",36:"ccb493b3f6",37:"bb5a5bdad3",38:"64d5f34871",39:"14259bc6fe",40:"ea678bbe5b",41:"2d35060d0e",42:"898076e213",43:"0616177a42",44:"861ac46f36",45:"7446535f17",46:"26620d2a5f",47:"a4034122c9",48:"76b2c74863",49:"505e968070",50:"5fc4da3bc5",51:"fc0310c5cd",52:"bf7eecfbac",53:"ec51fba164",54:"d3990092dd",55:"e4665da63e",56:"21b33b42c3",57:"07deff9444",58:"68ca09ffdf",59:"c7705e6551",60:"319578f49a",61:"25fcfd00c9",62:"d07ddf14ff",63:"08c93c2e53",64:"ffead99364",65:"86eee87750",66:"79a4d8629a",67:"bc34473155",68:"c3fe0c028e",69:"f4f1f07045",70:"4681989887",71:"8ae59fd304",72:"8615720ce0"}[t]+".chunk.js"}(t);var s=new Error;c=function(e){u.onerror=u.onload=null,clearTimeout(l);var n=o[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;s.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",s.name="ChunkLoadError",s.type=r,s.request=i,n[1](s)}o[t]=void 0}};var l=setTimeout((function(){c({type:"timeout",target:u})}),12e4);u.onerror=u.onload=c,document.head.appendChild(u)}return Promise.all(e)},i.m=t,i.c=n,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i.oe=function(t){throw console.error(t),t};var a=window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[],c=a.push.bind(a);a.push=e,a=a.slice();for(var u=0;u<a.length;u++)e(a[u]);var s=c;return i(i.s=1029)}([function(t,e,n){"use strict";var r,o,i=n(213),a=n(147),c=n(177),u=n(150),s={Filters:{OPTION_SELECTED:"option:selected",APPLY_FILTER:"apply:filter",FILTER_CHANGED:"filter:changed"},ContentUpdates:{DISABLE_REVIEW:"disable:review"},MigrationWizard:{SORT_VIDEOS:"sort:videos",TOGGLE_MIGRATED:"toggle:migrated",SELECTED_CHANGED:"selected:changed",CLOSE_BANNER:"close:banner"}};!function(t){t.Folder="folder",t.Exchange="exchange",t.HostedLibrary="hosted_library",t.CustomLibrary="custom_library",t.Workspace="workspace"}(r||(r={})),function(t){t.Video="videos",t.Folder="categories",t.Series="series",t.Channel="channels",t.Distributors="companies",t.Producers="people",t.Tags="tags",t.Language="languages",t.TagsRaw="tag",t.ChannelRaw="channel",t.Recent="recent",t.Direct="direct",t.ProductionCompanies="companies",t.Directors="people",t.Season="season"}(o||(o={}));var l,f=n(33),p=n(1),h=n(25),y=n(8),d=n(239),b=n.n(d),v=n(156),g=n.n(v),m=n(471),w=n.n(m),S=n(472),O=n.n(S),C=n(270),k=n.n(C),E=n(271),_=n.n(E),R=n(473),P=n.n(R),T=n(240),x=n.n(T),j=n(474),D=n.n(j),L=n(272),A=n.n(L),I=n(475),N=n.n(I),M=n(476),V=n.n(M),U=n(301),F=n.n(U),H=n(477),z=n.n(H),B=n(478),q=n.n(B),W=n(273),Y=n.n(W),G=n(274),J=n.n(G),K=n(479),Q=n.n(K),Z=n(480),$=n.n(Z),X=n(481),tt=n.n(X),et=n(482),nt=n.n(et),rt=n(483),ot=n.n(rt),it=n(484),at=n.n(it),ct=n(485),ut=n.n(ct),st=n(486),lt=n.n(st),ft=n(487),pt=n.n(ft),ht=n(488),yt=n.n(ht),dt=n(489),bt=n.n(dt),vt=n(490),gt=n.n(vt),mt=n(491),wt=n.n(mt),St=n(492),Ot=n.n(St),Ct=n(493),kt=n.n(Ct),Et=n(494),_t=n.n(Et),Rt=n(495),Pt=n.n(Rt),Tt=n(496),xt=n.n(Tt),jt=n(497),Dt=n.n(jt),Lt=n(275),At=n.n(Lt),It=n(302),Nt=n.n(It),Mt=n(498),Vt=n.n(Mt),Ut=n(499),Ft=n.n(Ut),Ht=n(303),zt=n.n(Ht),Bt=n(304),qt=n.n(Bt),Wt=n(500),Yt=n.n(Wt),Gt=n(501),Jt=n.n(Gt),Kt=n(502),Qt=n.n(Kt),Zt=n(503),$t=n.n(Zt),Xt=n(504),te=n.n(Xt),ee=n(269),ne=n.n(ee),re=n(305),oe=n.n(re),ie=n(505),ae=n.n(ie),ce=n(506),ue=n.n(ce),se=n(507),le=n.n(se),fe=n(508),pe=n.n(fe),he=n(509),ye=n.n(he),de=n(510),be=n.n(de),ve=n(511),ge=n.n(ve),me=n(512),we=n.n(me),Se=n(513),Oe=n.n(Se),Ce=n(514),ke=n.n(Ce),Ee=n(515),_e=n.n(Ee),Re=n(516),Pe=n.n(Re);function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xe,je=(Te(l={},y.j.VideoList,{component:h.a.ComponentCollection,options:{childOptions:{template:b.a,className:"border-bottom position-relative px-3",viewOptions:{styles:g.a}}}}),Te(l,y.j.VideoListWithBulkActions,{component:h.a.ComponentCollection,options:{childOptions:{template:b.a,className:"".concat(g.a.contentContainerWithBulkActions," border-bottom position-relative px-3"),viewOptions:{styles:g.a}}}}),Te(l,y.j.VideoGroupList,{component:h.a.ComponentCollection,options:{className:w.a.videoGroupList,childOptions:{template:b.a,className:"".concat(g.a.partialVideoItem," border-bottom position-relative px-3"),viewOptions:{styles:g.a}}}}),Te(l,y.j.SubFolder,{component:h.a.ComponentCollection,options:{collectionLength:1,className:"p-3 border-bottom",childOptions:{template:"<div></div>",className:"".concat(O.a.partialSubFolder," d-inline-block rounded mr-3 partial-loading-background")}}}),Te(l,y.j.NotificationPopover,{component:h.a.ComponentCollection,options:{collectionLength:5,childOptions:{template:k.a,className:"px-1 py-2",viewOptions:{styles:_.a}}}}),Te(l,y.j.StaffRequestList,{component:h.a.ComponentCollection,options:{className:x.a.list,collectionLength:6,childOptions:{template:P.a,className:"p-3 border-bottom ".concat(x.a.item),viewOptions:{styles:x.a}}}}),Te(l,y.j.StaffRequestDetails,{component:h.a.Component,options:{template:D.a,className:"p-3 border-bottom ".concat(A.a.actions),viewOptions:{styles:A.a}}}),Te(l,y.j.DashboardNotifications,{component:h.a.ComponentCollection,options:{collectionLength:7,childOptions:{template:k.a,className:"py-2",viewOptions:{styles:_.a}}}}),Te(l,y.j.DashboardActionTile,{component:h.a.Component,options:{template:N.a,className:"d-flex flex-column align-items-end",viewOptions:{styles:V.a}}}),Te(l,y.j.Banner,{component:h.a.Component,options:{template:"<div></div>",className:"".concat(F.a.banner," partial-loading-background")}}),Te(l,y.j.VideoListHeader,{component:h.a.Component,options:{template:z.a,className:"px-3 py-2 border-bottom clearfix",viewOptions:{styles:q.a}}}),Te(l,y.j.SearchFilter,{component:h.a.ComponentCollection,options:{collectionLength:6,childOptions:{template:Y.a,tagName:"li",className:"d-inline-block rounded m-1 partial-loading-background",viewOptions:{styles:J.a}}}}),Te(l,y.j.PastReleasesSearchFilter,{component:h.a.ComponentCollection,options:{collectionLength:3,childOptions:{template:Y.a,tagName:"li",className:"d-inline-block rounded m-1 partial-loading-background",viewOptions:{styles:J.a}}}}),Te(l,y.j.AwaitingReviewHeader,{component:h.a.Component,options:{template:ae.a,className:"p-3 border-bottom text-right",viewOptions:{styles:ue.a}}}),Te(l,y.j.VideoHeader,{component:h.a.Component,options:{template:tt.a,className:"w-100 p-2",viewOptions:{styles:nt.a}}}),Te(l,y.j.VideoBasicInfo,{component:h.a.Component,options:{template:ot.a,viewOptions:{styles:at.a}}}),Te(l,y.j.VideoSidebarInfo,{component:h.a.Component,options:{template:Q.a,className:"pt-3 pb-3 pl-2 pr-3",viewOptions:{styles:$.a}}}),Te(l,y.j.EditVideoTabs,{component:h.a.Component,options:{template:ut.a,className:"w-100",viewOptions:{styles:lt.a}}}),Te(l,y.j.EditVideoDetails,{component:h.a.Component,options:{template:pt.a,className:"w-100",viewOptions:{styles:yt.a}}}),Te(l,y.j.EditVideoChapterList,{component:h.a.Component,options:{template:bt.a,className:"w-100",viewOptions:{styles:gt.a}}}),Te(l,y.j.EditVideoChaptersForm,{component:h.a.Component,options:{template:wt.a,className:"w-100 mt-3",viewOptions:{styles:Ot.a}}}),Te(l,y.j.WebPlayer,{component:h.a.Component,options:{template:kt.a,className:"w-100",viewOptions:{styles:_t.a}}}),Te(l,y.j.EditVideoUploadArea,{component:h.a.Component,options:{template:Pt.a,className:"mt-3",viewOptions:{styles:xt.a}}}),Te(l,y.j.Share,{component:h.a.Component,options:{template:Dt.a,className:At.a.container,viewOptions:{styles:At.a}}}),Te(l,y.j.PublisherArchiveSearchBar,{component:h.a.Component,options:{template:'<div><h5 class="m-0">Add videos from Publisher Archive</h5></div>',className:"container col-12 m-0 p-3 ".concat(Nt.a.containerWithBottomBorder)}}),Te(l,y.j.PublisherArchiveSectionHeader,{component:h.a.Component,options:{template:Yt.a,className:"row no-gutters ".concat(oe.a.currentHeader),viewOptions:{styles:Jt.a}}}),Te(l,y.j.PublisherArchiveLeftNav,{component:h.a.ComponentCollection,options:{collectionLength:10,childOptions:{template:Qt.a,viewOptions:{styles:$t.a}}}}),Te(l,y.j.PublisherArchiveVideoList,{component:h.a.Component,options:{template:Vt.a,viewOptions:{styles:p.extend({},Ft.a,zt.a,qt.a),videoItems:new Array(19).fill("")}}}),Te(l,y.j.PublisherArchiveStatusBar,{component:h.a.Component,options:{template:te.a,className:"p-2 w-100 ".concat(ne.a.statusBar),viewOptions:{styles:ne.a}}}),Te(l,y.j.LeftNav,{component:h.a.Component,options:{template:le.a,viewOptions:{styles:pe.a}}}),Te(l,y.j.LibraryFolders,{component:h.a.ComponentCollection,options:{collectionLength:7,className:"row mt-4 pt-2",noExtraClass:!0,tagName:"div",childOptions:{template:ye.a,className:"col-3 p-2",viewOptions:{styles:be.a}}}}),Te(l,y.j.VideoItemPreview,{component:h.a.Component,options:{className:"w-100",template:ge.a,viewOptions:{styles:we.a}}}),Te(l,y.j.EditResourcesCVContent,{component:h.a.Component,options:{className:"w-100",template:Oe.a,viewOptions:{styles:ke.a}}}),Te(l,y.j.TagFilter,{component:h.a.Component,options:{template:_e.a,viewOptions:{styles:Pe.a}}}),l),De=n(48),Le=n(16),Ae={LIBRARY_EDITOR:"hc/sections/360001974533",VIDEO_ACCESS:"hc/articles/360000153947",ADD_FROM_ONLINE:"hc/articles/360011718234",UPLOAD:"hc/articles/360012069334",PUBLISHER_ARCHIVE:"hc/articles/360011150174",PBT_ERROR_CODES:"hc/articles/360012421153",MANUAL_REVIEW:"hc/en-us/articles/360020004534",LIBRARY_REVIEW:"hc/articles/360000163788",PUBLISHER_SERVER:"hc/en-us/articles/360023108873",MIGRATION_OPTIONS:"hc/en-us/articles/360023109033"};function Ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ne,Me=(Ie(xe={},y.f.Thumbnails,{width:640,height:360}),Ie(xe,y.f.Banners,{width:1200,height:222}),xe),Ve=Ie({},y.f.Thumbnails,{width:1280,height:720}),Ue={EmptyStates:{Default:"/images/empty-states/illo-empty@2x.png",LibraryEditor:"/images/empty-states/no-library@2x.png",Library:"/images/empty-states/pointing-boy@2x.png",Folder:"/images/empty-states/illo-emptyfolder@2x.png",Search:"/images/empty-states/illo-no-results@2x.png",VideoAccess:"/images/empty-states/illo-empty3@2x.png",AwaitingReview:"/images/empty-states/illo-empty2@2x.png",PastReleases:"/images/empty-states/illo-empty-past-releases-large@2x.png",StaffRequests:"/images/empty-states/illo-empty@2x.png",StaffRequestsDashboardTile:"/images/empty-states/illo-empty-staffreq@2x.png",ContentUpdatesDashboardTile:"/images/empty-states/illo-empty-past-releases@2x.png"},Shared:{GeneratePdf:"/images/pdf-email-filled@2x.png",GenerateCsv:"/images/csv-email-filled.png"}},Fe=n(3),He=n(41),ze=n.n(He);function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var qe,We=(Be(Ne={},y.c.Default,(function(t){return{imageUrl:Ue.EmptyStates.Default,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.LibraryEditor,(function(t){return{imageUrl:Ue.EmptyStates.LibraryEditor,heading:t.options.componentOptions.heading,description:'<button class="add-library btn btn-secondary position-relative '.concat(ze.a.addLibraryButton,'">\n <span class="d-inline-block position-absolute ').concat(ze.a.addLibraryPlus,'">\n ').concat(t.options.componentOptions.plusSvg,"</span> ").concat(t.options.componentOptions.btnText,"</button>"),appLink:{".add-library":{application:a.a.LIBRARY_EDITOR,action:u.a.LibraryEditor.NEW_LIBRARY}},customClass:"".concat(ze.a.paddedContainer," bg-white"),customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.Library,(function(t){return{imageUrl:Ue.EmptyStates.Library,heading:t.options.componentOptions.heading,description:t.options.componentOptions.description,appLink:{".add-folder":{application:a.a.LIBRARY_EDITOR,action:u.a.Shared.NEW_FOLDER,args:[t.options.componentOptions.libraryId]}},customClass:"".concat(ze.a.paddedContainer," bg-white"),customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.Folder,(function(t){return{imageUrl:Ue.EmptyStates.Folder,heading:t.options.componentOptions.heading,description:t.options.componentOptions.description,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.Series,(function(t){return{imageUrl:Ue.EmptyStates.Folder,heading:t.options.componentOptions.heading,description:t.options.componentOptions.description,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.Search,(function(t){return{imageUrl:Ue.EmptyStates.Search,heading:t.options.componentOptions.heading,description:t.options.componentOptions.description,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.AwaitingReview,(function(t){return{imageUrl:Ue.EmptyStates.AwaitingReview,heading:t.options.componentOptions.heading,description:t.options.componentOptions.description,appLink:{".disable-review":{application:a.a.CONTENT_UPDATES,action:u.a.ContentUpdates.DISABLE_REVIEW}},customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.PastReleases,(function(t){return{imageUrl:Ue.EmptyStates.PastReleases,heading:t.options.componentOptions.heading,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.StaffRequests,(function(t){return{imageUrl:Ue.EmptyStates.StaffRequests,heading:t.options.componentOptions.emptyState,description:t.options.componentOptions.description,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.VideoAccess,(function(t){return{imageUrl:Ue.EmptyStates.VideoAccess,heading:t.options.componentOptions.heading,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.StaffRequestsDashboardTile,(function(t){return{imageUrl:Ue.EmptyStates.StaffRequestsDashboardTile,customImageClass:"".concat(t.options.componentOptions.imageClass," ").concat(ze.a.imageLarge)}})),Be(Ne,y.c.ContentUpdatesDashboardTile,(function(t){return{imageUrl:Ue.EmptyStates.ContentUpdatesDashboardTile,customImageClass:"".concat(t.options.componentOptions.imageClass," ").concat(ze.a.imageLarge)}})),Be(Ne,y.c.ManualReviewVideos,(function(t){var e=Fe.a.getPhrase("shared.emptyState","migrationWarnings");return{imageUrl:Ue.EmptyStates.Default,heading:e,customClass:"p-3",customImageClass:ze.a.imageLarge}})),Ne),Ye=n(60);function Ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Je=(Ge(qe={},Ye.a.StudentWorkspaceSharing,(function(){return Fe.a.getPhrase("shared.constants","studentWorkspaceSharing")})),Ge(qe,Ye.a.StudentToStudentMessaging,(function(){return Fe.a.getPhrase("shared.constants","studentMessaging")})),Ge(qe,Ye.a.HideResourcesForStudents,(function(){return Fe.a.getPhrase("shared.constants","hideResources")})),Ge(qe,Ye.a.LibraryReview,(function(){return Fe.a.getPhrase("shared.constants","libraryReview")})),Ge(qe,Ye.a.SchoolMessaging,(function(){return Fe.a.getPhrase("shared.constants","schoolMessaging")})),Ge(qe,Ye.a.StaffRequest,(function(){return Fe.a.getPhrase("shared.constants","staffRequests")})),qe),Ke=n(160),Qe={NAME:"Webplayer"},Ze=n(102),$e={UploadingUserContent:"terms-and-conditions/#uploading-user-content"},Xe={VERIFY_EMAIL:"/settings/account",UPLOAD_LOGO:"/settings/school"},tn=n(17),en=(n(178),{edge:16});n.d(e,"o",(function(){return i.a})),n.d(e,"e",(function(){return a.b})),n.d(e,"w",(function(){return a.c})),n.d(e,"b",(function(){return a.a})),n.d(e,"A",(function(){return c.a})),n.d(e,"a",(function(){return u.a})),n.d(e,"i",(function(){return s})),n.d(e,"q",(function(){return r})),n.d(e,"v",(function(){return o})),n.d(e,"f",(function(){return f.a})),n.d(e,"u",(function(){return je})),n.d(e,"n",(function(){return De.a})),n.d(e,"x",(function(){return Le.b})),n.d(e,"g",(function(){return Le.a})),n.d(e,"y",(function(){return Ae})),n.d(e,"k",(function(){return Me})),n.d(e,"m",(function(){return Ve})),n.d(e,"l",(function(){return Ue})),n.d(e,"h",(function(){return We})),n.d(e,"y",(function(){return Ae})),n.d(e,"j",(function(){return Je})),n.d(e,"s",(function(){return Ke.a})),n.d(e,"z",(function(){return Qe})),n.d(e,"c",(function(){return Ze.a})),n.d(e,"r",(function(){return $e})),n.d(e,"c",(function(){return Ze.a})),n.d(e,"t",(function(){return Xe})),n.d(e,"d",(function(){return tn.a})),n.d(e,"p",(function(){return en}))},function(e,n){e.exports=t},function(t,e,n){"use strict";var r={};n.r(r),n.d(r,"AppLinkHelper",(function(){return d})),n.d(r,"AppLinkUtility",(function(){return h})),n.d(r,"Application",(function(){return T})),n.d(r,"AppRouter",(function(){return B})),n.d(r,"Behavior",(function(){return X})),n.d(r,"Collection",(function(){return tt.a})),n.d(r,"CollectionView",(function(){return st})),n.d(r,"ComponentCollection",(function(){return st})),n.d(r,"Error",(function(){return g.a})),n.d(r,"ErrorHelper",(function(){return g.c})),n.d(r,"SilentError",(function(){return g.d})),n.d(r,"LayoutView",(function(){return At})),n.d(r,"NestedModel",(function(){return It.a})),n.d(r,"Service",(function(){return Nt.a})),n.d(r,"Model",(function(){return Mt.a})),n.d(r,"View",(function(){return _t})),n.d(r,"Component",(function(){return Rt})),n.d(r,"EventNames",(function(){return a.a})),n.d(r,"LayoutService",(function(){return Wt})),n.d(r,"Middleware",(function(){return j})),n.d(r,"LocationUtils",(function(){return u})),n.d(r,"Shell",(function(){return ne}));var o=n(1),i=n(6),a=n(35),c=n(12),u={GetQuery:function(){return u.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery:function(t){if(t){var e=u.GetQuery(),n=u.SerializeQueryParams(o.extend(e,t));n&&(n="?".concat(n)),u.UpdateUrl("".concat(u.GetCurrentPath()).concat(n),null,{replace:!0,trigger:!1})}},UpdateUrl:function(t,e,n){var r=d.buildRoute(t,e);i.history.navigate(r,n),i.Radio.channel(c.a.SHELL).trigger(a.a.URL_CHANGE,e,n)},SerializeQueryParams:function(t){return t?"string"==typeof t?t:$.param(t,!0):""},DeserializeQueryParams:function(t){return t?o.reduce(t.split("&"),(function(t,e){var n=e.split("="),r=n[0],o=n.length>0?decodeURIComponent(n[1]):"";return t[r]?t[r]instanceof Array?(t[r].push(o),t):(t[r]=[t[r],o],t):(t[r]=o,t)}),{}):{}},StartHistory:function(){i.History.started&&i.history.stop(),i.history.start({pushState:!0})},PageLoad:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e?window.open(t,"_blank"):window.location.href=t},Redirect:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=function(){return e?window.location.replace(t):window.location.href=t};h.hasActiveRoute()?i.Radio.channel(c.a.SHELL).once("routing:end",n):n()},Reload:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];window.location.reload(t)},GetCurrentPath:function(){return window.location.pathname},GetCurrentQueryString:function(){return window.location.search},GetCurrentUrl:function(){return window.location.href},GetCurrentReferrer:function(){return document.referrer},SetPageTitle:function(t){document.title=t}},s=/((\(\?)?:\w+)|(\*\w+)/,l=/[\(\)]/g,f=/\(\/\)/g,p=/\/$/,h={routingStarted:function(){i.Radio.channel(c.a.SHELL).trigger(a.a.ROUTING_START)},routingEnded:function(){h.hasActiveRoute()&&i.Radio.channel(c.a.SHELL).trigger(a.a.ROUTING_END)},hasActiveRoute:function(){return i.Radio.channel(c.a.SHELL).request(a.a.HAS_ACTIVE_ROUTE)}},y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.usedHelper=!0;var n=t.application,r=t.action;i.Radio.channel(n).trigger(r,t,e)},d={getHref:function(t){if(!t)return"";var e=t.application,n=t.action,r=t.args,o=t.params,u=i.Radio.channel(c.a.SHELL);return"/".concat(u.request(a.a.ROUTE_LOOKUP,"".concat(e,":").concat(n),r,o))},buildRoute:function(t,e){if(!e)return t;var n=e.args,r=e.params;if(o.each(n,(function(e){t=t.replace(s,e||"")})),t=(t=(t=t.replace(f,"")).replace(l,"")).replace(p,""),!r)return t;var i=u.SerializeQueryParams(r);return i.length?"".concat(t,"?").concat(i):t},trigger:function(t,e){t&&(h.hasActiveRoute()?i.Radio.channel(c.a.SHELL).once("routing:end",(function(){y(t,e)})):y(t,e))},getCurrentAppLink:function(){return i.Radio.channel(c.a.SHELL).request(a.a.CURRENT_ROUTE)}},b=n(51),v=n(56),g=n(11);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return S(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(t,e)}(t)||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 S(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function O(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function C(t,e,n){return(C="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=P(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function k(t,e){return(k=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function E(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=P(t);if(e){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?R(t):e}function R(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var T=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k(t,e)}(u,t);var e,n,r,c=E(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=c.call(this,t)).mergeOptions(t,[].concat(w(e.defaultProps),w(e.props||[]))),o.result(R(e),"name")||g.c.throw(new g.b("BaseApplication must define a name")),o.result(R(e),"channelName")||g.c.throw(new g.b("BaseApplication must define a channelName")),e.listenTo(e.getGlobalRadioChannel("popup"),a.a.SHOW_POPUP,e.onShowPopup),e.listenTo(e.getGlobalRadioChannel("alert"),"show:alert",e.onShowAlert),e}return e=u,(n=[{key:"getGlobalRadioChannel",value:function(t){var e=this.shell.getGlobalRadioChannels()[t.toUpperCase()];return e||g.c.throw(new g.b("Global channel ".concat(e," does not exist"))),i.Radio.channel(e)}},{key:"onLoadLayout",value:function(){if(this.layoutOptions&&this.layoutOptions.name){var t=o.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(o.extend(this.layoutOptions,{options:t})),this.layout||g.c.throw(new g.b("Layout: ".concat(this.layoutOptions.name," does not exist or was not registered"))),this.shell.showView(this.layout),this.triggerMethod("layout:loaded")}}},{key:"onShowPopup",value:function(t){this.layout.getRegion("popup")||g.c.throw(new g.b("Your application layout must define a popup region")),this.layout.showChildView("popup",t)}},{key:"onShowAlert",value:function(t){var e=t.ctor,n=t.collection,r=this.layout.getRegion("alert");r?r.hasView()||this.layout.showChildView("alert",new e({collection:n})):g.c.throw(new g.b("Your application layout must define an alert region"))}},{key:"setDefaultQueryParams",value:function(t){this.defaultQueryParams&&(t=o.extend(this.defaultQueryParams,t)),this.defaultQueryParams=t}},{key:"getAndClearDefaultQueryParams",value:function(){var t=this.defaultQueryParams;return delete this.defaultQueryParams,t||{}}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],C(P(u.prototype),"listenTo",this))}},{key:"defaultProps",get:function(){return["shell","layoutService"]}}])&&O(e.prototype,n),r&&O(e,r),u}(b.Application);function x(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var j=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"use",value:function(t){var e;this.go=(e=this.go,function(n,r){return e(n,(function(){return t(n,r)}))})}},{key:"go",value:function(t,e){e(t)}}])&&x(e.prototype,n),r&&x(e,r),t}();function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return A(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(t,e)}(t)||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 A(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function I(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function N(t,e,n){return(N="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=F(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function V(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=F(t);if(e){var o=F(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return U(this,n)}}function U(t,e){return!e||"object"!==D(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var H=/([A-Z])/g,z=/(^|:)(\w)/gi,B=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(l,t);var e,n,r,s=V(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=s.call(this,t)).bindDisposal(),e.processInternalRoutes(),e.processExternalRoutes(),e.processAppLinks(),e}return e=l,(n=[{key:"bindDisposal",value:function(){var t=this;this.listenTo(c.a.SHELL,a.a.ROUTE,(function(e){e.application!==t.channelName&&t.destroyApp()}))}},{key:"addRouteLookup",value:function(t,e){var n=this;this.options.shell.addRouteLookup("".concat(this.channelName,":").concat(t),(function(r,o){return d.buildRoute(e,{application:n.channelName,action:t,args:r,params:o})}))}},{key:"processInternalRoutes",value:function(){var t=this;o.each(o.keys(this.appRoutes),(function(e){var n=t.appRoutes[e],r=t.toEventName(n);t.addRouteLookup(r,e),t.listenTo(t.channelName,r,(function(n,r){r&&r.usedHelper||g.c.throw(new g.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),t.executeRoute(n,{isAppRoute:!0},(function(){var i=o.extend({},t.controller.getAndClearDefaultQueryParams(),n.params);n.params=i,u.UpdateUrl(e,n,r)}))}))}))}},{key:"processExternalRoutes",value:function(){var t=this;this.externalRoutes&&o.each(o.keys(this.externalRoutes),(function(e){var n=t.externalRoutes[e],r=t.toEventName(n);t.addRouteLookup(r,e),t.listenTo(t.channelName,r,(function(t,e){e&&e.usedHelper||g.c.throw(new g.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),u.PageLoad(d.getHref(t))}))}))}},{key:"processAppLinks",value:function(){var t=this;this.appLinks&&o.each(this.appLinks,(function(e){var n=t.toEventName(e);t.listenTo(t.channelName,n,(function(e,n){n&&n.usedHelper||g.c.throw(new g.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),t.executeRoute(e,{isAppRoute:!1})}))}))}},{key:"executeRoute",value:function(t,e,n){var r=this;this.validateAppLink(t);var u=this.toMethodName(t.action);h.routingStarted();var s=i.Radio.channel(c.a.SHELL);if(this.options.shell.isNavLocked())return s.trigger(a.a.NAV_IS_LOCKED,t),void h.routingEnded();var l=new j;o.each(this.filters,(function(t){return l.use(t)})),l.go(t,(function(){s.trigger(a.a.ROUTE,t,e),r.createApp();var i=r.controller;if(o.isFunction(i[u])||(h.routingEnded(),g.c.throw(new g.b("".concat(u," does not exist on the ").concat(o.result(i,"name"),".")))),!1===i.triggerMethod("before:action"))return i.triggerMethod("action:cancelled"),void h.routingEnded();i.triggerMethod("load:layout"),i[u].apply(i,[].concat(L(t.args||[]),[t.params||{}])),o.isFunction(n)&&n(),h.routingEnded()}))}},{key:"createApp",value:function(){this.controller||(this.controller=new this.options.appConstructor(this.options.appOptions),this.controller.start())}},{key:"destroyApp",value:function(){this.controller&&(this.controller.destroy(),delete this.controller)}},{key:"_addAppRoute",value:function(t,e,n){var r=this;this.route(e,n,(function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var a={application:r.channelName,action:r.toEventName(n),args:e.slice(0,e.length-1),params:u.DeserializeQueryParams(e[e.length-1])};r.executeRoute(a,{isAppRoute:!0},(function(){u.UpdateQuery(o.extend(r.controller.getAndClearDefaultQueryParams(),a.params))}))}))}},{key:"toEventName",value:function(t){return t.replace(H,":$1").toLowerCase()}},{key:"toMethodName",value:function(t){var e=t.replace(z,(function(t,e,n){return n.toUpperCase()}));return e[0].toLowerCase()+e.slice(1,e.length)}},{key:"validateAppLink",value:function(t){t.application&&t.action||(h.routingEnded(),g.c.throw(new g.b("Invalid AppLink")))}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],N(F(l.prototype),"listenTo",this))}}])&&I(e.prototype,n),r&&I(e,r),l}(b.AppRouter);function q(t){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function G(t,e,n){return(G="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Z(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function J(t,e){return(J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function K(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Z(t);if(e){var o=Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Q(this,n)}}function Q(t,e){return!e||"object"!==q(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var X=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J(t,e)}(i,t);var e,n,r,o=K(i);function i(){return W(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],G(Z(i.prototype),"listenTo",this))}}])&&Y(e.prototype,n),r&&Y(e,r),i}(b.Behavior),tt=n(146);function et(t){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function rt(t,e,n){return(rt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ut(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function ot(t,e){return(ot=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function it(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ut(t);if(e){var o=ut(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return at(this,n)}}function at(t,e){return!e||"object"!==et(e)&&"function"!=typeof e?ct(t):e}function ct(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var st=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ot(t,e)}(a,t);var e,n,r,i=it(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),e=i.call(this,t),o.result(ct(e),"name")||g.c.throw(new g.b("Error: View with cid:".concat(e.cid," requires a name."))),e}return e=a,(n=[{key:"serializeModel",value:function(){return this.model?this.model.toJSON():{}}},{key:"serializeCollection",value:function(){return this.collection?this.collection.toJSON():[]}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],rt(ut(a.prototype),"listenTo",this))}}])&&nt(e.prototype,n),r&&nt(e,r),a}(b.CollectionView),lt=n(19),ft=n(62);function pt(t){return(pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ht(t){return function(t){if(Array.isArray(t))return yt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return yt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yt(t,e)}(t)||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 yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function vt(t,e,n){return e&&bt(t.prototype,e),n&&bt(t,n),t}function gt(t,e,n){return(gt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=kt(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function mt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wt(t,e)}function wt(t,e){return(wt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function St(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=kt(t);if(e){var o=kt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ot(this,n)}}function Ot(t,e){return!e||"object"!==pt(e)&&"function"!=typeof e?Ct(t):e}function Ct(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kt(t){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Et=function(t){mt(n,t);var e=St(n);function n(t){var r;dt(this,n),r=e.call(this,t);var i=[].concat(ht(r.defaultProps),ht(r.props||[]));return r.mergeOptions(t,i),o.result(Ct(r),"name")||g.c.throw(new g.b("Error: View with cid:".concat(r.cid," requires a name."))),r}return vt(n,[{key:"_setOptions",value:function(t){this.options=o.extend({},o.result(this,"defaults"),t)}},{key:"_setAttributes",value:function(t){var e,n,r;ft.a.isDevelopment&&o.extend(t,(e={},n="cv-classname",r=this.name,n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e)),this.$el.attr(t)}},{key:"serializeModel",value:function(){return this.model?this.model.toJSON():{}}},{key:"serializeCollection",value:function(){return this.collection?this.collection.toJSON():[]}},{key:"resetClassName",value:function(){this.$el.attr("class",o.result(this,"className"))}},{key:"serializeData",value:function(){var t=this,e=gt(kt(n.prototype),"serializeData",this).call(this),r=o.result(this,"viewOptions"),i=o.extend({},e,{options:r});return n.ViewDataExtensions.length?o.extend.apply(o,[i].concat(ht(o.map(n.ViewDataExtensions,(function(e){return e instanceof Function?e(t):e}))))):i}},{key:"viewOptions",value:function(){return this.options}},{key:"undelegateAppLinks",value:function(){this.$el&&this.$el.off(".appLinks".concat(this.cid))}},{key:"renderAppLinks",value:function(){var t=this,e=this.appLinks;e&&(e=this.normalizeUIKeys(e),this.undelegateAppLinks(),o.each(o.keys(e),(function(n){var r=n,o=e[n],i=d.getHref(o);"[this]"===r&&(r=null);var a=r?t.$el.find(n):t.$el;(a.is("a")||a.is("button"))&&(i&&"/"!==i&&a.attr("href",i),t.delegate("click.appLinks".concat(t.cid),r,(function(t){t.preventDefault(),d.trigger(o)})))})))}},{key:"hasPartialLoadingRegions",value:function(){return void 0!==this._hasPartialLoadingRegions||(this._hasPartialLoadingRegions=o.some(this.regions,(function(t){return o.has(t,"partialLoading")}))),this._hasPartialLoadingRegions}},{key:"renderPartialLoading",value:function(t){i.Radio.channel(c.a.SHELL).trigger("render:partial:loading",this,t)}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],gt(kt(n.prototype),"listenTo",this))}},{key:"render",value:function(){if(this._isDestroyed)return this;var t=this.processRequriedResources(!0);return t&&(t=this.triggerMethod("before:render",this)),!1!==t&&(t=!0),!1===(t=t&&this.processRequriedResources(!1))?(this._partialLoadingRendered||!this.hasPartialLoadingRegions()||(this._partialLoadingRendered=!0,this._reInitRegions(),this._renderTemplate(),this.renderPartialLoading()),this):((this._isRendered||this._partialLoadingRendered)&&this._reInitRegions(),this.setTitle(),this._renderTemplate(),this.bindUIElements(),this.renderAppLinks(),this._partialLoadingRendered=!1,this._isRendered=!0,this.triggerMethod("render",this),this)}},{key:"processRequriedResources",value:function(t){return!0}},{key:"setTitle",value:function(){}},{key:"defaultProps",get:function(){return["shell","layoutService"]}},{key:"ui",get:function(){return this.uiStorage||(this.uiStorage=this.elements),this.uiStorage},set:function(t){this.uiStorage=t}},{key:"elements",get:function(){return null}}],[{key:"AddViewDataExtension",value:function(t){n.ViewDataExtensions.push(t)}}]),n}(b.View);Et.ViewDataExtensions=[];var _t=function(t){mt(n,t);var e=St(n);function n(t){var r;return dt(this,n),(r=e.call(this,t)).boundListeners={},r.resourceInstances={},r}return vt(n,[{key:"processRequriedResources",value:function(t){var e=this,n=o.keys(this.requiredResources);if(!n.length)return!0;var r=this,i=!0;return o.each(n,(function(n){var o=e.requiredResources[n];if(o.beforeOnBeforeRender===t){var a=o.dataServiceName;e.resourceInstances[a]||(e.resourceInstances[a]=o.getInstance(e)),e.boundListeners["".concat(a,":").concat(o.eventName)]||(e.listenTo(e.resourceInstances[a].channelName,o.eventName,e.render),e.boundListeners["".concat(a,":").concat(o.eventName)]=!0),r[n]=o.getData(e.resourceInstances[a]),i=i&&!!r[n]}})),i}},{key:"setTitle",value:function(){o.isString(this.title)||!1===this.title||g.c.throw(new lt.a("Must define a title for ".concat(this.name,"."))),i.Radio.channel(c.a.SHELL).trigger("set:page:title",this.title)}}]),n}(Et),Rt=function(t){mt(n,t);var e=St(n);function n(){return dt(this,n),e.apply(this,arguments)}return n}(Et);function Pt(t){return(Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Tt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lt(t);if(e){var o=Lt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Dt(this,n)}}function Dt(t,e){return!e||"object"!==Pt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Lt(t){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var At=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}(i,t);var e,n,r,o=jt(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,t)}return e=i,r=[{key:"getCacheKey",value:function(t){g.c.throw(new lt.a("Must define getCacheKey for ".concat(this.name,".")))}}],(n=[{key:"unmountRegion",value:function(t){this.trigger("unmount:".concat(t))}}])&&Tt(e.prototype,n),r&&Tt(e,r),i}(_t),It=n(176),Nt=n(61),Mt=n(81);function Vt(t){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ft(t,e,n){return(Ft="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=qt(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function Ht(t,e){return(Ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function zt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=qt(t);if(e){var o=qt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Bt(this,n)}}function Bt(t,e){return!e||"object"!==Vt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function qt(t){return(qt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Wt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}(a,t);var e,n,r,i=zt(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).layouts={},e.requiredRegions=t.requiredRegions,e}return e=a,(n=[{key:"clearLayout",value:function(){this.currentLayout&&(this.currentLayout.destroy(),delete this.currentLayout,delete this.currentLayoutCacheKey)}},{key:"registerLayout",value:function(t,e){return this.checkRequiredRegions(e),this.layouts[t]=e,this}},{key:"getLayout",value:function(t){var e=t.name,n=t.options,r=void 0===n?{}:n;this.layouts[e]||g.c.throw(new g.b("".concat(e," was not registered as a template.")));var o=this.layouts[e].getCacheKey(r);return this.currentLayoutCacheKey===o&&this.currentLayout?(this.currentLayout.triggerMethod("layout:requested",r),this.currentLayout):(this.clearLayout(),this.currentLayoutCacheKey=o,this.currentLayout=new this.layouts[e](r),this.listenToOnce(this.currentLayout,"destroy",this.clearLayout),this.currentLayout)}},{key:"checkRequiredRegions",value:function(t){o.each(this.requiredRegions,(function(e){o.has(o.result(t.prototype,"regions"),e)||g.c.throw(new g.b("Layout: ".concat(t.prototype.name," must define an ").concat(e," region.")))}))}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],Ft(qt(a.prototype),"listenTo",this))}}])&&Ut(e.prototype,n),r&&Ut(e,r),a}(b.Object);function Yt(t){return(Yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Gt(t,e,n){return(Gt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Zt(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function Jt(t,e){return(Jt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Kt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Zt(t);if(e){var o=Zt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Qt(this,n)}}function Qt(t,e){return!e||"object"!==Yt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Zt(t){return(Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function te(t,e,n){return e&&Xt(t.prototype,e),n&&Xt(t,n),t}var ee=function(){function t(e,n){$t(this,t),this.application=e,this.options=n||{}}return te(t,[{key:"Application",get:function(){return this.application}},{key:"Options",get:function(){return this.options}}]),t}(),ne=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jt(t,e)}(n,t);var e=Kt(n);function n(){return $t(this,n),e.apply(this,arguments)}return te(n,[{key:"initialize",value:function(t){this.mergeOptions(t,["layoutService"]),this.applications=[],this.routeLookup={},this.shellState={navLock:!1,activeRoute:!1,currentAppLink:null},this.errorHandlers=[]}},{key:"bindListeners",value:function(){this.bindRouteLookup(),this.bindNavLockListeners(),this.bindAppLinkListeners(),this.bindErrorHandlers(),this.bindErrorListener()}},{key:"bindNavLockListeners",value:function(){var t=this;this.listenTo(c.a.SHELL,a.a.LOCK_NAV,(function(){return t.shellState.navLock=!0})),this.listenTo(c.a.SHELL,a.a.UNLOCK_NAV,(function(){return t.shellState.navLock=!1}))}},{key:"bindAppLinkListeners",value:function(){var t=this;this.listenTo(c.a.SHELL,a.a.ROUTING_START,(function(){return t.shellState.activeRoute=!0})),this.listenTo(c.a.SHELL,a.a.ROUTING_END,(function(){return t.shellState.activeRoute=!1})),this.listenTo(c.a.SHELL,a.a.ROUTE,(function(e){return t.shellState.currentAppLink=e}));var e=i.Radio.channel(c.a.SHELL);e.reply(a.a.HAS_ACTIVE_ROUTE,o.bind(this.hasActiveRoute,this)),e.reply(a.a.CURRENT_ROUTE,(function(){return t.shellState.currentAppLink}))}},{key:"bindErrorHandlers",value:function(){window.addEventListener("error",(function(){h.routingEnded()}))}},{key:"bindErrorListener",value:function(){var t=i.Radio.channel(c.a.SHELL);this.listenTo(t,a.a.ERROR,this.handleError)}},{key:"bindRouteLookup",value:function(){var t=this;i.Radio.channel(c.a.SHELL).reply(a.a.ROUTE_LOOKUP,(function(e,n,r){return t.routeLookup[e]?t.routeLookup[e](n,r):""}),this)}},{key:"addRouteLookup",value:function(t,e){this.routeLookup[t]=e}},{key:"registerApplication",value:function(t,e){return this.applications.push(new ee(t,e)),this}},{key:"getGlobalRadioChannels",value:function(){return c.a}},{key:"isNavLocked",value:function(){return this.shellState.navLock}},{key:"start",value:function(t){var e=this;t||(t={}),this.runInitializationSteps(this,(function(r,o){e.runStartUpSteps(e,t,(function(r,o,i){Gt(Zt(n.prototype),"start",e).call(e,t)}))}))}},{key:"hasActiveRoute",value:function(){return this.shellState.activeRoute}},{key:"onStart",value:function(){var t=this;o.each(this.applications,(function(e){var n={appConstructor:e.Application,shell:t,appOptions:Object.assign({region:"",shell:t,layoutService:t.layoutService},e.Options)};new e.Application.router(n)})),this.bindListeners(),u.StartHistory()}},{key:"addInitializationStep",value:function(t){var e;return this.runInitializationSteps=(e=this.runInitializationSteps,function(n,r){return e(n,(function(){return t(n,r)}))}),this}},{key:"runInitializationSteps",value:function(t,e){e(t)}},{key:"addStartUpStep",value:function(t){var e;return this.runStartUpSteps=(e=this.runStartUpSteps,function(n,r,o){return e(n,r,(function(){return t(n,r,o)}))}),this}},{key:"runStartUpSteps",value:function(t,e,n){n(t,e)}},{key:"registerLayout",value:function(t,e){return this.layoutService.registerLayout(t,e),this}},{key:"registerErrorHandler",value:function(t,e){return t||g.c.throw(new g.b("An error must have a name in order to register a handler for it.")),o.any(this.errorHandlers,(function(e){return e.errorType===t}))&&g.c.throw(new g.b("An error handler for ".concat(t.prototype.name," has already been defined."))),this.errorHandlers.push({errorType:t,handler:e}),this}},{key:"handleError",value:function(t){var e=o.find(this.errorHandlers,(function(e){return t instanceof e.errorType}));e&&e.handler&&e.handler(t)}},{key:"registerStore",value:function(t){this.store=t}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],Gt(Zt(n.prototype),"listenTo",this))}}]),n}(b.Application);n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(517),o=n(1),i=n(518),a=n(61),c=n(11),u=n(114),s=n(19),l=n(62);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(b,t);var e,n,a,f=d(b);function b(){return p(this,b),f.apply(this,arguments)}return e=b,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"setConfig",value:function(t){this.polyglot=new r({locale:t.locale,phrases:t.phrases.rootElement||t.phrases}),this.cache={}}},{key:"getPhrase",value:function(t,e,n){var r="".concat(t,".").concat(e);if(this.polyglot||c.c.throw(new s.a("LanguageService config must be set.")),!this.polyglot.has(r)){if(!l.a.isDevelopment){var a=window.trackJs;return a&&a.console.error("No phrase set for ".concat(r," in language config")),""}c.c.throw(new s.a("No phrase set for ".concat(r," in language config.")))}if(!n||o.isEmpty(n)){var u=this.cache[r];if(u)return u;var f=this.polyglot.t(r);return this.cache[r]=f,f}var p=o.omit(n,"smartCount"),h={};for(var y in p)h[y]=i.sanitize(p[y]);o.isNumber(n.smartCount)&&(h.smart_count=n.smartCount);var d="".concat(r,":").concat(o.values(Object.assign({},h)).join(":")),b=this.cache[d];if(b)return b;var v=this.polyglot.t(r,h);return this.cache[d]=v,v}},{key:"encloseNamespace",value:function(t){var e=this;return function(n,r){return e.getPhrase(t,n,r)}}},{key:"name",get:function(){return u.a.LANGUAGE}}])&&h(e.prototype,n),a&&h(e,a),b}(a.a).Instance},function(t,e,n){"use strict";var r,o,i,a,c,u,s,l,f,p,h,y,d,b,v,g,m,w,S,O,C;!function(t){t.Stream="cv_product_stream",t.StreamRaw="cv_product_stream_raw",t.WebPlayerStream="cv_product_webplayer_stream",t.StreamProgress="cv_product_stream_progress",t.Login="cv_product_login",t.LoginSsoRedirect="cv_product_login_sso_redirect",t.LoginFailed="cv_product_login_failed",t.Search="cv_product_search",t.InstantSearch="cv_product_search",t.SearchEmptyResult="cv_product_search_empty_result",t.Filter="cv_product_search_filter",t.SearchLanding="cv_product_search_landing",t.Share="cv_product_share",t.WorkspaceAdd="cv_product_tv_add",t.Rename="cv_product_rename",t.Move="cv_product_move",t.Sort="cv_product_sort",t.Create="cv_product_create",t.Delete="cv_product_delete",t.Associate="cv_product_associate",t.Dissociate="cv_product_dissociate",t.Edit="cv_product_edit",t.Approve="cv_product_approve",t.Reject="cv_product_reject",t.Disable="cv_product_disable",t.Upload="cv_product_upload",t.Download="cv_product_download",t.Navigate="cv_product_navigate",t.Click="cv_product_click",t.Suggest="cv_product_suggest",t.EditAssoc="cv_product_edit_assoc",t.Play="cv_product_play",t.Favourite="cv_product_favourite",t.Follow="cv_product_follow",t.Prefer="cv_product_prefer",t.SetAccess="cv_product_set_access",t.AddToLocalCache="cv_product_add_to_lc",t.ResolveWarning="cv_product_resolve_warning",t.DismissWarning="cv_product_dismiss_warning"}(r||(r={})),function(t){t.Folder="folder",t.Video="video",t.Rating="rating",t.Series="series",t.Library="library",t.Resource="resource",t.Tag="tag",t.Subtitle="subtitle",t.Chapter="chapter",t.Restriction="restriction",t.Interactive="interactive",t.PDF="pdf",t.CustomerSetting="customer_setting",t.UserSetting="user_setting",t.StaffRequest="staff_request",t.Logo="logo",t.Pagination="pagination",t.Thumbnail="thumbnail",t.Banner="banner",t.Link="link",t.Playlist="playlist",t.Person="person",t.Company="company",t.Classroom="classroom",t.ClassroomGroup="classroom_group",t.Classification="classification",t.ShareLink="share_link",t.Upload="upload",t.SearchResults="search_results",t.Audience="audience",t.User="user",t.Clip="clip",t.UserChannel="user_channel",t.Widget="widget",t.Url="url"}(o||(o={})),function(t){t.TopNav="top_nav",t.LeftNav="left_nav",t.Popup="popup",t.Banner="banner",t.VideoList="video_list",t.VideoListItem="video_list_item",t.VideoListHeader="video_header",t.VideoThumbnail="video_thumbnail",t.VideoItemPreview="video_item_preview",t.VideoDetails="video_details",t.VideoDetailsHeader="video_details_header",t.EditVideoDetails="edit_video_details",t.EditVideoChapters="edit_video_chapters",t.EditVideoResources="edit_video_resources",t.VideoUpload="video_upload",t.VideoRequest="video_request",t.Pagination="pagination",t.SearchBar="search_bar",t.InstantSearch="instant_search",t.SearchFilters="search_filters",t.LibraryHeader="library_header",t.LibraryTiles="library_tiles",t.StaffRequestDetails="staff_request_details",t.SubFolderList="sub_folder_list",t.AwaitingReviewVideoListHeader="awaiting_review_video_list_header",t.AwaitingReviewVideoItem="awaiting_review_video_item",t.PastReleasesHeader="past_releases_header",t.MigrationWarnings="migration_warnings",t.PlaylistListHeader="playlist_list_header",t.PlaylistListItem="playlist_list_item",t.TeacherManager="teacher_manager",t.TeacherManagerListItem="teacher_manager_list_item",t.StudentManager="student_manager",t.StudentManagerListItem="student_manager_list_item",t.ClassroomsList="classrooms_list",t.ClassroomsListItem="classrooms_list_item",t.ClassroomOverview="classroom_overview",t.ClassroomOverviewStudentListItem="classroom_overview_student_list_item",t.ManageClassroomStudents="manage_classroom_students",t.ManageClassroomStudentListItem="manage_classroom_student_list_item",t.ManageClassroomGroups="manage_classroom_groups",t.ManageClassroomGroupListItem="manage_classroom_group_list_item",t.PlayPage="play_page",t.FloatingPlayer="floating_player",t.InteractivePlayer="interactive_player",t.EmbeddedPlayer="embedded_player",t.ContentUpdatesClassificationBanner="content_updates_classification_banner",t.PreferencesSettings="preferences_settings",t.MyUploads="my_uploads",t.SlidingList="sliding_list",t.HeroBannerItem="hero_banner_item",t.SlidingListItem="sliding_list_item",t.ClassificationListItem="classification_list_item",t.ClassificationComingSoon="classification_coming_soon",t.Dashboard="dashboard"}(i||(i={})),function(t){t.Start="start",t.Complete="complete",t.Save="save",t.Discard="discard"}(a||(a={})),function(t){t.PageLoad="page_load"}(c||(c={})),function(t){t.Single="single",t.Bulk="bulk",t.All="all"}(u||(u={})),function(t){t.ProductionYear="production_year",t.Alphabetical="alphabetical"}(s||(s={})),function(t){t.Content="content",t.Quality="quality",t.Duration="duration",t.Reset="reset"}(l||(l={})),function(t){t.Submit="submit",t.ShowAll="show_all",t.Recent="recent",t.SearchIcon="search_icon"}(f||(f={})),function(t){t.Start="start",t.Finish="finish",t.Terminate="terminate",t.Play="play",t.Pause="pause",t.Playback="playback",t.NextChapter="next_chapter",t.PreviousChapter="previous_chapter",t.FullScreenEnter="full_screen_enter",t.FullScreenExit="full_screen_exit"}(p||(p={})),function(t){t.TogglePreview="toggle_preview",t.NavigateHome="navigate_home",t.OpenInStaffView="open_in_staff_view",t.Title="title",t.ToggleHideValidListings="toggle_hide_valid_listings",t.LaunchImmersiveReader="launch_immersive_reader",t.CopyEmbedHtml="copy_embed_html",t.Close="close",t.Open="open",t.Button="button",t.Link="link",t.Tile="tile",t.Thumbnail="thumbnail",t.Cover="cover",t.TallPoster="tall_poster",t.Slide="slide"}(h||(h={})),function(t){t.FeatureUserChannelVideo="feature_user_channel_video",t.RemoveFromUserChannelPlaylist="remove_from_user_channel_playlist",t.ShareClip="share_clip",t.ViewOriginalVideo="view_original_video",t.ShareInteractive="share_interactive",t.DeleteInteractiveVideo="delete_interactive_video",t.CopyInteractiveVideo="copy_interactive_video",t.EditInteractiveVideo="edit_interactive_video",t.PrintAsWorksheet="print_as_worksheet",t.PreviewInteractiveVideo="preview_interactive_video",t.ViewResults="view_results",t.MoveToAnotherFolder="move_to_another_folder",t.CreateInteractiveVideo="create_interactive_video",t.ShareVideo="share_video",t.EditVideo="edit_video",t.DownloadVideo="download_video",t.AddToExchange="add_to_exchange",t.AddToUserChannel="add_to_user_channel",t.CreateClip="create_clip",t.FlagVideo="flag_video",t.AddToLibrary="add_to_library",t.AddToWorkspace="add_to_workspace",t.AddToPlaylist="add_to_playlist",t.RemoveFromPlaylist="remove_from_playlist",t.AddCurriculumLink="add_curriculum_link",t.ViewCurriculumLinks="view_curriculum_links",t.OpenInCurator="open_in_curator",t.ManageVideoAccess="manage_video_access",t.Approve="approve",t.AddToLocalCache="add_to_local_cache",t.OpenInLibraryEditor="open_in_library_editor",t.PlayClip="play_clip",t.EditClip="edit_clip",t.DeleteClip="delete_clip"}(y||(y={})),function(t){t.LibraryReview="library_review"}(d||(d={})),function(t){t.FileSelect="file_select",t.DragDrop="drag_drop"}(b||(b={})),function(t){t.Edit="edit"}(v||(v={})),function(t){t.Image="image",t.User="user",t.Playlist="playlist"}(g||(g={})),function(t){t.On="on",t.Off="off"}(m||(m={})),function(t){t.EntityRemoved="cv_entity_removed",t.ValueUpdated="cv_value_updated"}(w||(w={})),function(t){t.FileSelect="file_select",t.DragDrop="drag_drop"}(S||(S={})),function(t){t.Video="videos",t.Folder="categories",t.Series="series",t.Tags="tags"}(O||(O={})),function(t){t[t.V1=1]="V1"}(C||(C={}));n(216);n.d(e,"q",(function(){return r})),n.d(e,"e",(function(){return o})),n.d(e,"k",(function(){return i})),n.d(e,"r",(function(){return a})),n.d(e,"m",(function(){return c})),n.d(e,"l",(function(){return u})),n.d(e,"h",(function(){return l})),n.d(e,"d",(function(){return f})),n.d(e,"n",(function(){return p})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return d})),n.d(e,"j",(function(){return b})),n.d(e,"p",(function(){return v})),n.d(e,"a",(function(){return g})),n.d(e,"f",(function(){return w})),n.d(e,"i",(function(){return S})),n.d(e,"o",(function(){return O})),n.d(e,"g",(function(){return C}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(1),o=n(19),i=n(61),a=n(11);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(f,t);var e,n,i,c=l(f);function f(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),(t=c.call(this)).constructors={},t.destructors={},t.instances={},t.singletonInstances={},t.referenceCounts={},t}return e=f,i=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"registerDataService",value:function(t,e){var n=this;this.validateConstructor(t);var r=t.prototype.name;return this.referenceCounts[r]=0,this.constructors[r]=function(){return new t({dataProvider:n.getInstance(e.dataProvider),cache:n.getInstance(e.cache),bootstrapData:e.bootstrapData,defaultErrorHandler:e.defaultErrorHandler,alertService:e.alertService})},this.destructors[r]=function(){n.instances[r]?n.instances[r].destroy():a.c.throw(new o.a("Trying to destroy a ".concat(r," instance that has already been destroyed"))),n.releaseInstance(e.dataProvider),n.releaseInstance(e.cache)},this}},{key:"registerInstance",value:function(t,e){var n=this;this.validateConstructor(t);var o=t.prototype.name;return this.referenceCounts[o]=0,this.constructors[o]=function(){return new t(e)},this.destructors[o]=function(){return r.isFunction(n.instances[o].destroy)&&n.instances[o].destroy()},this}},{key:"registerSingleton",value:function(t){var e=t.name;return this.singletonInstances[e]=t,this}},{key:"getInstance",value:function(t,e){var n=this;return this.singletonInstances[t]?this.singletonInstances[t]:(this.constructors[t]||a.c.throw(new o.a("".concat(t," was not registered with ").concat(this.name))),this.referenceCounts[t]++,e&&this.listenTo(e,"destroy",(function(){return n.releaseInstance(t)})),this.instances[t]||(this.instances[t]=this.constructors[t]()),this.instances[t])}},{key:"releaseInstance",value:function(t){var e=this;if(this.instances[t])return window.setTimeout((function(){e.referenceCounts[t]--,e.referenceCounts[t]<1&&(e.destructors[t](),delete e.instances[t])}),0),this}},{key:"validateConstructor",value:function(t){var e=t.prototype.name;e||a.c.throw(new o.a("Classes registered with ".concat(this.name," must have a unique name property."))),this.constructors[e]&&a.c.throw(new o.a("A class with the name: ".concat(e," has already been registered with ").concat(this.name)))}},{key:"name",get:function(){return"InstanceManager"}}])&&u(e.prototype,n),i&&u(e,i),f}(i.a).Instance},function(t,n){t.exports=e},,function(t,e,n){"use strict";var r,o,i,a,c;function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}!function(t){t[t.MostRecent=0]="MostRecent",t[t.LeastRecent=1]="LeastRecent",t[t.AtoZ=2]="AtoZ",t[t.ZtoA=3]="ZtoA",t[t.OrderIndex=4]="OrderIndex",t[t.ProductionYear=5]="ProductionYear",t[t.Newest=6]="Newest",t[t.SeriesSort=7]="SeriesSort"}(r||(r={})),function(t){t[t.Banner=0]="Banner",t[t.VideoListHeader=1]="VideoListHeader",t[t.VideoList=2]="VideoList",t[t.VideoListWithBulkActions=3]="VideoListWithBulkActions",t[t.VideoGroupList=4]="VideoGroupList",t[t.SubFolder=5]="SubFolder",t[t.NotificationPopover=6]="NotificationPopover",t[t.StaffRequestList=7]="StaffRequestList",t[t.StaffRequestDetails=8]="StaffRequestDetails",t[t.DashboardNotifications=9]="DashboardNotifications",t[t.DashboardActionTile=10]="DashboardActionTile",t[t.SearchBar=11]="SearchBar",t[t.SearchFilter=12]="SearchFilter",t[t.PastReleasesSearchFilter=13]="PastReleasesSearchFilter",t[t.AwaitingReviewHeader=14]="AwaitingReviewHeader",t[t.VideoSidebarInfo=15]="VideoSidebarInfo",t[t.VideoBasicInfo=16]="VideoBasicInfo",t[t.VideoHeader=17]="VideoHeader",t[t.EditVideoTabs=18]="EditVideoTabs",t[t.EditVideoDetails=19]="EditVideoDetails",t[t.EditVideoChapterList=20]="EditVideoChapterList",t[t.EditVideoChaptersForm=21]="EditVideoChaptersForm",t[t.EditVideoUploadArea=22]="EditVideoUploadArea",t[t.WebPlayer=23]="WebPlayer",t[t.Share=24]="Share",t[t.PublisherArchiveSearchBar=25]="PublisherArchiveSearchBar",t[t.PublisherArchiveSectionHeader=26]="PublisherArchiveSectionHeader",t[t.PublisherArchiveLeftNav=27]="PublisherArchiveLeftNav",t[t.PublisherArchiveVideoList=28]="PublisherArchiveVideoList",t[t.PublisherArchiveStatusBar=29]="PublisherArchiveStatusBar",t[t.LeftNav=30]="LeftNav",t[t.LibraryFolders=31]="LibraryFolders",t[t.EditResourcesCVContent=32]="EditResourcesCVContent",t[t.TagFilter=33]="TagFilter",t[t.VideoItemPreview=34]="VideoItemPreview",t[t.Unselected=35]="Unselected"}(o||(o={})),function(t){t.AU="AU",t.UK="UK",t.NZ="NZ"}(i||(i={})),function(t){t[t.Unclassified=0]="Unclassified",t[t.Primary=1]="Primary",t[t.Secondary=2]="Secondary",t[t.K12=3]="K12",t[t.Tertiary=4]="Tertiary",t[t.NonEducational=5]="NonEducational",t[t.Partners=6]="Partners",t[t.Internal=7]="Internal",t[t.Other=8]="Other",t[t.HostedLibrary=9]="HostedLibrary"}(c||(c={}));var s,l,f,p;u(a={},c.Unclassified,{hasYearGroups:!0}),u(a,c.Primary,{hasYearGroups:!0}),u(a,c.Secondary,{hasYearGroups:!0}),u(a,c.K12,{hasYearGroups:!0}),u(a,c.Tertiary,{hasYearGroups:!1}),u(a,c.NonEducational,{hasYearGroups:!1}),u(a,c.Partners,{hasYearGroups:!0}),u(a,c.Internal,{hasYearGroups:!0}),u(a,c.Other,{hasYearGroups:!0}),u(a,c.HostedLibrary,{hasYearGroups:!0});!function(t){t[t.All=0]="All",t[t.Kindergarten=1]="Kindergarten",t[t.Year1=2]="Year1",t[t.Year2=3]="Year2",t[t.Year3=4]="Year3",t[t.Year4=5]="Year4",t[t.Year5=6]="Year5",t[t.Year6=7]="Year6",t[t.Year7=8]="Year7",t[t.Year8=9]="Year8",t[t.Year9=10]="Year9",t[t.Year10=11]="Year10",t[t.Year11=12]="Year11",t[t.Year12=13]="Year12",t[t.Year13=14]="Year13",t[t.Students=15]="Students",t[t.Staff=16]="Staff"}(s||(s={})),function(t){t[t.Private=1]="Private",t[t.SchoolOnly=2]="SchoolOnly",t[t.Public=3]="Public"}(l||(l={})),function(t){t[t.Default=0]="Default",t[t.LibraryEditor=1]="LibraryEditor",t[t.Library=2]="Library",t[t.Folder=3]="Folder",t[t.Series=4]="Series",t[t.Search=5]="Search",t[t.Notifications=6]="Notifications",t[t.VideoAccess=7]="VideoAccess",t[t.AwaitingReview=8]="AwaitingReview",t[t.PastReleases=9]="PastReleases",t[t.StaffRequests=10]="StaffRequests",t[t.StaffRequestsDashboardTile=11]="StaffRequestsDashboardTile",t[t.ContentUpdatesDashboardTile=12]="ContentUpdatesDashboardTile",t[t.ManualReviewVideos=13]="ManualReviewVideos"}(f||(f={})),function(t){t[t.Video=11]="Video",t[t.CustomMediaObjectCollection=19]="CustomMediaObjectCollection"}(p||(p={}));var h,y,d,b=n(63);!function(t){t[t.AdminOnly=0]="AdminOnly",t[t.StaffRequest=1]="StaffRequest",t[t.Teachers=2]="Teachers"}(h||(h={})),function(t){t[t.Thumbnails=0]="Thumbnails",t[t.Banners=1]="Banners",t[t.Avatars=2]="Avatars"}(y||(y={})),function(t){t[t.None=0]="None",t[t.ImageAPIv1=1]="ImageAPIv1",t[t.FileAPIv1=2]="FileAPIv1"}(d||(d={}));var v,g,m,w,S=n(68);!function(t){t.FULL_YEAR="D MMMM YYYY",t.YEAR="YYYY"}(v||(v={})),function(t){t.FileSelect="file-select",t.DragDrop="drag-drop"}(g||(g={})),function(t){t[t.TermUpdate=1]="TermUpdate",t[t.RestrictedByAdmin=2]="RestrictedByAdmin"}(m||(m={})),function(t){t.Producer="producers",t.Director="directors",t.ProductionCompany="productionCompanies",t.Distributor="distributors"}(w||(w={})),n.d(e,"d",(function(){return r})),n.d(e,"j",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"p",(function(){return s})),n.d(e,"l",(function(){return l})),n.d(e,"c",(function(){return f})),n.d(e,"i",(function(){return p})),n.d(e,"h",(function(){return b.a})),n.d(e,"m",(function(){return h})),n.d(e,"f",(function(){return y})),n.d(e,"e",(function(){return d})),n.d(e,"o",(function(){return S.a})),n.d(e,"n",(function(){return v})),n.d(e,"g",(function(){return g})),n.d(e,"k",(function(){return m})),n.d(e,"a",(function(){return w}))},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Trace=0]="Trace",t[t.Debug=1]="Debug",t[t.Information=2]="Information",t[t.Warning=3]="Warning",t[t.Error=4]="Error",t[t.Critical=5]="Critical",t[t.None=6]="None"}(r||(r={}))},function(t,e){t.exports=n},function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"d",(function(){return w})),n.d(e,"b",(function(){return S})),n.d(e,"c",(function(){return O}));var r=n(6),o=n(12),i=n(62),a=n(35);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}function p(t){var e=b();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){var e="function"==typeof Map?new Map:void 0;return(y=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return d(t,arguments,g(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,t)})(t)}function d(t,e,n){return(d=b()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&v(o,n.prototype),o}).apply(null,arguments)}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){f(n,t);var e=p(n);function n(t){return l(this,n),e.call(this,t)}return n}(y(Error)),w=function(t){f(n,t);var e=p(n);function n(){return l(this,n),e.apply(this,arguments)}return s(n,[{key:"name",get:function(){return"SilentError"}}]),n}(m),S=function(t){f(n,t);var e=p(n);function n(){return l(this,n),e.apply(this,arguments)}return s(n,[{key:"name",get:function(){return"CoreError"}}]),n}(y(Error)),O={throw:function(t){if(r.Radio.channel(o.a.SHELL).trigger(a.a.ERROR,t),!(t instanceof w||i.a.isDevelopment))throw t}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"}},function(t,e,n){"use strict";var r=n(224),o=n(30),i=n(1),a={GetViewModel:function(t,e){var n=o.a.get("current:bulkactions");return n.get(e)!==t&&o.a.clear(t),n.set(e,t),o.a.get(t)},GetSelectedIds:function(t){return i.map(a.GetSelectedModels(t),(function(t){return t.get("id")}))},GetSelectedModels:function(t){var e=a.GetViewModel(t.key,t.type).toJSON(),n={};if(i.isFunction(t.excludePredicate)&&(n=i.groupBy(t.collection.filter(t.excludePredicate),(function(t){return t.id}))),e.all){var r=t.collection.filter((function(t){return!1!==e[t.id]}));return i.filter(r,(function(t){return!n[t.id]}))}var o=t.collection.filter((function(t){return!0===e[t.id]}));return i.filter(o,(function(t){return!n[t.id]}))}},c=n(2),u=n(3),s=n(37),l=n(8),f="shared.utils",p={GetCurrentSortType:function(){var t=p.GetSortViewModel();return p.GetSortTypeFromName(t.get("sortName"))},GetSortViewModel:function(){return o.a.get("video:sorting",p.GetDefaultSort())},GetFilterFromSort:function(t){switch(t){case s.a.MostRecent:return"orderbydesc:timestamp";case s.a.AtoZ:return"orderby:name";case s.a.ProductionYear:return"orderbydesc:productionyear";case s.a.Newest:return"orderbydesc:datecreated";case s.a.SeriesSort:return"orderby:seriessort";default:return""}},GetDefaultSort:function(){return p.CreateSortObject(s.a.MostRecent)},CreateSortObject:function(t){return{sortType:t,name:p.GetSortName(t),sortName:s.a[t].toLowerCase()}},CreateSortCollection:function(){var t=new c.a.Collection;for(var e in s.a)"number"==typeof s.a[e]&&t.push(new c.a.Model(p.CreateSortObject(s.a[e])));return t},GetSortName:function(t){switch(t){case s.a.MostRecent:return u.a.getPhrase(f,"recentlyAdded");case s.a.AtoZ:return u.a.getPhrase(f,"atoz");case s.a.ProductionYear:return u.a.getPhrase(f,"productionYear");case s.a.Newest:return u.a.getPhrase(f,"newest");case s.a.SeriesSort:return u.a.getPhrase(f,"seriesTitle");default:return""}},GetSortTypeFromName:function(t){switch(t){case"mostrecent":return s.a.MostRecent;case"atoz":return s.a.AtoZ;case"productionyear":return s.a.ProductionYear;case"newest":return s.a.Newest;case"seriessort":return s.a.SeriesSort;default:return s.a.MostRecent}},MapSortTypeToExportServiceSortType:function(t){switch(t){case s.a.MostRecent:return l.d.MostRecent;case s.a.AtoZ:return l.d.AtoZ;case s.a.ProductionYear:return l.d.ProductionYear;case s.a.Newest:return l.d.Newest;case s.a.SeriesSort:return l.d.SeriesSort;default:return l.d.MostRecent}}},h=n(29),y={mapYearGroupToName:function(t){var e=l.p[t],n=e.split(/(\d+)/);return n[1]?"".concat(n[0]," ").concat(n[1]," ").concat(u.a.getPhrase("shared.utils","andBelow")):t===l.p.All?u.a.getPhrase("shared.utils","studentsAndStaff"):e},hasRestriction:function(t){return!i.isUndefined(t.get("restrictions"))},hasAdminRestriction:function(t){var e=t.restrictions;return!!e&&!e.last().get("expiresOn")},isAwaitingReview:function(t){var e=t.restrictions;return!!e&&!!e.last().get("expiresOn")},getRestrictionMessage:function(t){return t.includes("Year")||t.includes("Kindergarten")?u.a.getPhrase("shared.utils","students",{yearGroup:t}):u.a.getPhrase("shared.utils","nonStudents",{group:t})},getReviewBadgeClassName:function(t,e,n){if(!t.restrictions||!t.restrictions.length)return"";var r=h().add(7,"days"),o=t.restrictions.first().get("expiresOn");return h(o).isSameOrBefore(r)?n:e},getRestrictionTooltipMessage:function(t){if(!t.restrictions)return"";if(y.isAwaitingReview(t))return y.getReviewTimeMessage(t);var e=t.restrictions.last(),n=y.mapYearGroupToName(e.get("groupId"));return y.getRestrictionMessage(n)},getReviewTimeMessage:function(t){var e=t.restrictions.first().get("expiresOn"),n=h(e).fromNow(!0);return"".concat(n," ").concat(u.a.getPhrase("shared.utils","leftToReview"))}},d={trimToMinutes:function(t){for(;("0"===t.charAt(0)||":"===t.charAt(0))&&t.length>5;)t=t.substr(1);return t},toSeconds:function(t){return h.duration(t).asSeconds()},secondsToHoursFormatted:function(t){return h.utc(1e3*t).format("HH:mm:ss")},getHoursComponent:function(t){return h.duration(t,"seconds").hours()},getMinutesComponent:function(t){return h.duration(t,"seconds").minutes()},getSecondsComponent:function(t){return h.duration(t,"seconds").seconds()},millisecondsToSeconds:function(t){return t/1e3},parseTime:function(t){var e=d.validateRawTime(t),n=e.hours,r=e.minutes,o=e.seconds,a=parseInt(n,10),c=parseInt(r,10),u=parseInt(o,10);return i.isNumber(a)||i.isNumber(c)||i.isNumber(u)?a<0||c<0||u<0?-1:d.toSeconds("".concat(a,":").concat(c,":").concat(u)):-1},validateRawTime:function(t){var e=t.hours,n=t.minutes,r=t.seconds;return(i.isUndefined(e)||i.isNaN(e))&&(e=0),(i.isUndefined(n)||i.isNaN(e))&&(n=0),(i.isUndefined(r)||i.isNaN(e))&&(r=0),{hours:e,minutes:n,seconds:r}}},b=n(229),v=n(60),g={getLibraryReviewOptions:function(t){return{kind:b.a.Permanent,name:v.a.LibraryReview,value:t}}},m=n(49),w=n(300),S=n(63),O=n(96),C=n(0),k=n(159);function E(t){return t.libraries&&t.libraries.every((function(t){return t.get("type")===S.a.CustomLibrary}))}var _,R={canEditVideo:function(t){return E(t)},canPublicShare:function(t){return E(t)},canDownloadVideo:function(t){return t.libraries&&t.libraries.every((function(t){return t.get("type")!==S.a.HostedLibrary}))},canAddToExchange:function(t){return t.libraries&&t.libraries.every((function(t){return t.get("type")!==S.a.HostedLibrary&&t.get("type")!==S.a.Exchange}))},canShareVideo:function(t,e){return e===C.b.CONTENT_UPDATES||t.libraries&&!!t.libraries.where({type:S.a.CustomLibrary,status:O.a.Published}).length},getSuggestAnEditPermissionsMessage:function(t){if(!R.canEditVideo(t))return u.a.getPhrase("shared.utils","suggestEdit")},getSharePermissionsMessage:function(t,e){if(!R.canShareVideo(t,e))return e===C.b.LIBRARY_EDITOR?u.a.getPhrase("shared.utils","share"):""},filterObjectsByOwnerType:function(t,e,n){var r=t.filter((function(t){var r=t.get("customer")&&t.get("customer").id;return!r&&e===k.b.ClickView||r===n&&e===k.b.Customer}));return new c.a.Collection(r)}},P=n(89),T=n(153);function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var j,D={size:"small",bgColor:"000"};!function(t){t.Avatar="avatar",t.Banner="banner",t.Thumbnail="thumbnail"}(j||(j={}));var L=(x(_={},l.f.Avatars,j.Avatar),x(_,l.f.Banners,j.Banner),x(_,l.f.Thumbnails,j.Thumbnail),_),A=function(t){return"v1/category-map/".concat(t)},I={createUrl:function(t,e){return I._createUrl(t,e)},Rfc3986EncodeURIComponent:function(t){return encodeURIComponent(t).replace(/[!'()*]/g,escape)},createThumbnailUrl:function(t,e){var n=t instanceof P.a?t.get("url"):t;if(n){var r=i.extend({},D,e);return I._createUrl(n,r)}},createBannerUrl:function(t,e,n){var r=t instanceof T.a?t.get("url"):t;return r?I._createUrl(r,n):I._createCategoryMappedUrl(e,n)},createFolderThumbnailUrl:function(t,e,n){return"string"==typeof t||t instanceof P.a&&t.get("url")?I.createThumbnailUrl(t,n):I._createCategoryMappedUrl(e,i.extend({},D,n))},_createCategoryMappedUrl:function(t,e){var n=t.fallbackBaseUrl,r=t.fallbackCategoryName,o=t.type,a="".concat(n).concat(A(L[o])),c=i.extend({name:I.Rfc3986EncodeURIComponent(r)},e);return I._createUrl(a,c)},_createUrl:function(t,e){if(t){if(i.isEmpty(e))return t;var n=$.param(e),r=-1===t.indexOf("?")?"?":"&";return"".concat(t).concat(r).concat(n)}}},N={setRating:function(t,e){if(e)if(t&&t.id){var n=e.findWhere({selected:!0}),r=e.findWhere({id:t.id});Q.deselectAll(e,{silent:!1}),(n||r)&&(n?r.id!==n.id&&r.set("selected",!0):r.set("selected",!0))}else Q.deselectAll(e)}},M=n(237),V={getDevicesUserCanManage:function(t,e){return t&&new M.a(t.where({customerId:e}))},getNewestDeviceUserCanManage:function(t,e){var n=V.getDevicesUserCanManage(t,e);if(n||n.length)return n.max((function(t){return new Date(t.get("dateCreated"))}))},customerHasLocalCache:function(t,e){return t&&!!V.getDevicesUserCanManage(t,e).length}},U={generateUniqueChannelName:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"customCid",n=t[e]||t.cid||(t[e]=i.uniqueId("custom"));return"".concat(t.name).concat(n)}},F=function(t,e,n){var r=e-(t=t.toString()).length;return r<=0?t:new Array(r+1).join(n)+t},H={ToDisplayDuration:function(t){if(!i.isNumber(t))return"";var e=new Date(t),n=e.getUTCHours(),r=F(e.getUTCMinutes(),2,"0"),o=F(e.getUTCSeconds(),2,"0");return n>0?"".concat(n,":").concat(r,":").concat(o):"".concat(r,":").concat(o)}},z=n(6),B=(n(12),{name:[{required:!0,msg:function(){return u.a.getPhrase("shared.utils","selectLanguage")}}]}),q=n(289),W=n(94),Y=n(186),G={getEditVideoTabs:function(t,e){return[{name:function(){return u.a.getPhrase("shared.utils","videoDetails")},link:{selector:".edit-video-applink",appLink:{application:C.b.LIBRARY_EDITOR,action:C.a.LibraryEditor.EDIT_VIDEO,args:[t]}}},{name:function(){return u.a.getPhrase("shared.utils","chapters")},link:{selector:".edit-chapters-applink",appLink:{application:C.b.LIBRARY_EDITOR,action:C.a.LibraryEditor.EDIT_VIDEO_CHAPTERS,args:[t]}},hide:e&&e.hideChaptersTab},{name:function(){return u.a.getPhrase("shared.utils","resourcesSubtitlesLinks")},link:{selector:".edit-resources-subtitles-applink",appLink:{application:C.b.LIBRARY_EDITOR,action:C.a.LibraryEditor.EDIT_VIDEO_RESOURCES,args:[t]}}}]},initBackButton:function(){var t=W.a.getPreviousRoute();t&&!i.contains(Y.b,t.appLink.action)&&o.a.get(Y.c).set({appLink:t.appLink})},getBackButton:function(t){var e={application:C.b.LIBRARY_EDITOR,action:C.a.LibraryEditor.VIDEO_DETAILS,args:[t]},n=o.a.get(Y.c).get("appLink")||e;return{name:this.getBackButtonText(n),link:{selector:".go-back-applink",appLink:n}}},getBackButtonText:function(t){if(!t)return u.a.getPhrase("shared.utils","backToVideoDetails");switch(t.action){case C.a.LibraryEditor.FOLDER:return u.a.getPhrase("shared.utils","backFolder");case C.a.LibraryEditor.SERIES:return u.a.getPhrase("shared.utils","backSeries");case C.a.Search.HOME:return u.a.getPhrase("shared.utils","backSearch");case C.a.ContentUpdates.PAST_RELEASES:return u.a.getPhrase("shared.utils","backPastReleases");case C.a.LibraryEditor.VIDEO_DETAILS:return u.a.getPhrase("shared.utils","backDetails");default:return u.a.getPhrase("shared.utils","back")}}},J={hasLibraryOfType:function(t,e){var n=t.libraries;return!(!n||!n.length)&&n.any((function(t){return t.get("type")===e}))},hasCustomLibrary:function(t){return J.hasLibraryOfType(t,l.h.CustomLibrary)},getSourceTypes:function(t){return t.libraries?t.libraries.map((function(t){return t.get("type")})):[]},isExchangeVideo:function(t){return t.libraries&&t.libraries.any((function(t){return t.get("type")===l.h.Exchange}))}},K={generateDialog:function(t,e,n,o){new r.a({title:u.a.getPhrase("shared.utils","cancelProcessingHeading"),text:u.a.getPhrase("shared.utils","cancelProcessingBody",{videoTitle:t}),buttons:[{text:u.a.getPhrase("shared.utils","yes"),className:"btn btn-primary",success:!0},{text:u.a.getPhrase("shared.utils","no"),className:"btn btn-link",close:!0}]}).render().done((function(){return z.Radio.channel(e).trigger(n,o)}))}},Q={setSelected:function(t,e){if(e&&t){Q.deselectAll(e);var n=e.findWhere({id:t});n&&n.set("selected",!0)}},getSelected:function(t){return t.findWhere({selected:!0})},deselectAll:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.silent,r=void 0===n||n;t.each((function(t){return t.set("selected",!1,{silent:r})}))},findModelByName:function(t,e){return e.find((function(e){return e.get("name").toLowerCase()===t.toLowerCase()}))},getIds:function(t){return t.map((function(t){return t.get("id")}))}},Z=n(183),X={isLazyLoadSupported:function(t){if(!t)return!1;var e=Z.a.getBrowser(),n=e.browser&&e.browser.toLowerCase(),r=e.version&&parseInt(e.version);return!(n&&r&&i.isNumber(r)&&i.has(t,n))||r>=t[n]}},tt=n(180);n.d(e,"d",(function(){return r.a})),n.d(e,"a",(function(){return a})),n.d(e,"p",(function(){return p})),n.d(e,"n",(function(){return y})),n.d(e,"w",(function(){return d})),n.d(e,"o",(function(){return g})),n.d(e,"f",(function(){return m.a})),n.d(e,"v",(function(){return w.a})),n.d(e,"j",(function(){return R})),n.d(e,"g",(function(){return I})),n.d(e,"l",(function(){return N})),n.d(e,"i",(function(){return V})),n.d(e,"k",(function(){return U})),n.d(e,"e",(function(){return H})),n.d(e,"t",(function(){return B})),n.d(e,"m",(function(){return q.a})),n.d(e,"u",(function(){return G})),n.d(e,"x",(function(){return J})),n.d(e,"b",(function(){return K})),n.d(e,"c",(function(){return Q})),n.d(e,"h",(function(){return X})),n.d(e,"r",(function(){return tt.b})),n.d(e,"s",(function(){return tt.c})),n.d(e,"q",(function(){return tt.a}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n(1),o=n(6),i=n(61),a=n(11),c=n(19);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t)||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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?d(t):e}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(l,t);var e,n,i,u=h(l);function l(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),e=u.call(this,t),r.result(d(e),"name")||a.c.throw(new c.a("Must provide a name when extending BaseDataService")),r.result(d(e),"channelName")||a.c.throw(new c.a("Must provide a channelName for ".concat(r.result(d(e),"name"))));var n=[].concat(s(e.defaultProps),s(e.props||[]));return e.dataRequestSignatures={},e.mergeOptions(t,n),e}return e=l,(n=[{key:"getCursors",value:function(t){var e=this.cache.get(t);return e?e.cursors:{}}},{key:"clearCacheAndGet",value:function(t){var e=this,n=t.callback,o=t.errorCallback,i=t.eventPrefix,a=this.getEventNames(i),c=a.syncEvent,u=a.errorEvent,s=this.cache.get(i);if(s&&s.openRequest)return this.listenToOnce(this.getChannel(),c,(function(t){r.isFunction(o)&&e.stopListening(e.getChannel(),u,o),r.isFunction(n)&&n(t)})),void this.listenToOnce(this.getChannel(),u,(function(){r.isFunction(n)&&e.stopListening(e.getChannel(),c,n),r.isFunction(o)&&o()}));this.cache.remove(t.eventPrefix),this.get(t)}},{key:"get",value:function(t){var e=this,n=t.callback,o=t.errorCallback,i=t.eventPrefix,a=t.resource,c=t.formatData,u=t.expiryTime,s=t.successHandler,l=t.errorHandler,f=t.bootstrapName,p=this.getEventNames(i),h=p.syncEvent,y=p.requestEvent,d=p.successEvent,b=p.errorEvent,v=this.getChannel(),g=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[f]&&(this.cacheData(i,this.bootstrapData[f],c,{openRequest:!1,timestamp:g}),delete this.bootstrapData[f]);var m,w=this.cache.get(i);w&&(m=w.data);var S=w&&w.openRequest,O=this.isExpired(i,u);if(S&&(this.listenToOnce(v,h,(function(t){r.isFunction(o)&&e.stopListening(e.getChannel(),b,o),r.isFunction(n)&&n(t)})),this.listenToOnce(v,b,(function(){r.isFunction(n)&&e.stopListening(e.getChannel(),h,n),r.isFunction(o)&&o()}))),this.cache.has(i)&&!O||(v.trigger(y),this.listenToResponse({eventPrefix:i,formatData:c,cacheOptions:{timestamp:g},callback:n,errorCallback:o,successHandler:s,errorHandler:l}),this.cacheData(i,null,null,{openRequest:!0,timestamp:g}),this.dataProvider.read(a,{channel:this.getTransportChannel(),successEvent:d,errorEvent:b})),m&&r.isFunction(n)&&!O&&n(m),m)return m}},{key:"create",value:function(t){var e=t.eventPrefix,n=t.resource,r=t.data,o=t.formatData,i=t.callback,a=t.errorCallback,c=t.invalidationKeys,u=t.successHandler,s=t.errorHandler,l=this.getEventNames(t.eventPrefix),f=l.requestEvent,p=l.successEvent,h=l.errorEvent,y=this.getChannel(),d=this.getTransportChannel();y.trigger(f),this.listenToResponse({eventPrefix:e,formatData:o,invalidationKeys:c,callback:i,errorCallback:a,successHandler:u,errorHandler:s}),this.dataProvider.create(n,r,{channel:d,successEvent:p,errorEvent:h})}},{key:"update",value:function(t){var e=t.data,n=t.callback,r=t.errorCallback,o=t.resource,i=t.formatData,a=t.eventPrefix,c=t.invalidationKeys,u=t.errorHandler,s=t.successHandler,l=this.getEventNames(t.eventPrefix),f=l.requestEvent,p=l.successEvent,h=l.errorEvent,y=this.getChannel(),d=this.getTransportChannel();y.trigger(f),this.listenToResponse({eventPrefix:a,formatData:i,invalidationKeys:c,callback:n,errorCallback:r,successHandler:s,errorHandler:u}),this.dataProvider.update(o,e,{channel:d,successEvent:p,errorEvent:h})}},{key:"delete",value:function(t){var e=t.eventPrefix,n=t.resource,r=t.callback,o=t.errorCallback,i=t.invalidationKeys,a=t.successHandler,c=t.errorHandler,u=this.getEventNames(e),s=u.successEvent,l=u.errorEvent,f=this.getTransportChannel();this.listenToResponse({eventPrefix:e,invalidationKeys:i,callback:r,errorCallback:o,cacheOptions:{noCache:!0,clearCacheKey:!0},successHandler:a,errorHandler:c}),this.dataProvider.delete(n,{channel:f,successEvent:s,errorEvent:l})}},{key:"listenToResponse",value:function(t){var e=this,n=t.eventPrefix,o=t.formatData,i=t.callback,a=t.errorCallback,c=t.successHandler,u=t.errorHandler,s=t.invalidationKeys,l=t.cacheOptions,f=void 0===l?{}:l,p=this.getEventNames(n),h=p.syncEvent,y=(p.requestEvent,p.successEvent),d=p.errorEvent,b=p.successAlertEvent,v=p.errorAlertEvent,g=this.getChannel(),m=this.getTransportChannel(),w=this.getAlertChannel();r.isFunction(i)&&this.listenToOnce(g,h,i),r.isFunction(a)&&this.listenToOnce(g,d,a),this.stopListening(w,b),this.stopListening(w,v),r.isFunction(c)&&this.listenToOnce(w,b,c),r.isFunction(u)&&this.listenToOnce(w,v,u),!r.isFunction(u)&&!1!==u&&r.isFunction(this.defaultErrorHandler)&&this.listenToOnce(w,v,this.defaultErrorHandler),this.hasRequestSignature(n)||(this.setRequestSignature(n),this.listenTo(m,y,(function(t){e.stopListening(g,d,a);for(var r=arguments.length,i=new Array(r>1?r-1:0),c=1;c<r;c++)i[c-1]=arguments[c];w.trigger.apply(w,[b,t].concat(i));var u=f.noCache?e.formatData(t,o):e.cacheData(n,t,o);f.clearCacheKey&&e.cache.remove(n),g.trigger(h,u),s&&s.length&&e.cache.invalidate(s,(function(t){return g.trigger("".concat(t,":invalidate"))}))})),this.listenTo(m,d,(function(){var t;e.stopListening(g,h,i);var r=(t=e.dataProvider).parseError.apply(t,arguments);w.trigger(v,r),g.trigger(d,r),f.noCache||e.cacheData(n,null,null)})))}},{key:"cacheData",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.openRequest,i=void 0!==o&&o,a=r.timestamp;a||(a=this.currentTimestamp());var c=this.processPagination(e),u=this.formatData(e,n);return this.cache.set(t,{data:u,timestamp:a,cursors:c,openRequest:i}),u}},{key:"processPagination",value:function(t){if(t){var e=t.pagination;if(e)return e.cursors?e.cursors:r.isUndefined(e.offset)||r.isUndefined(e.pageSize)?e.page?this.convertLegacyPaginationToCursors(e):void 0:this.convertOffsetPaginationToCursors(e)}}},{key:"formatData",value:function(t,e){return r.isFunction(e)?e(t):t}},{key:"chain",value:function(){var t=this,e=[],n=function(t,e){r.isFunction(t)&&t(e)},o=function(r,o){return e.push((function(){var i=r.callback;r.callback=function(t){n(i,t),n(e.shift())},t[o](r)})),i},i={func:function(t){return e.push((function(){t(e.shift()||function(){})})),i},get:function(t){return o(t,"get")},create:function(t){return o(t,"create")},update:function(t){return o(t,"update")},delete:function(t){return o(t,"delete")},run:function(){n(e.shift())}};return i}},{key:"invalidateCache",value:function(t){t&&t.length&&this.cache.invalidate(t)}},{key:"currentTimestamp",value:function(){return(new Date).valueOf()}},{key:"isExpired",value:function(t,e){if(!e)return!1;var n=this.cache.get(t);if(!n||!n.timestamp)return!0;var r=1e3*e;return n.timestamp<this.currentTimestamp()-r}},{key:"getEventNames",value:function(t){return{syncEvent:"".concat(t,":sync"),requestEvent:"".concat(t,":request"),successEvent:"".concat(t,":success"),errorEvent:"".concat(t,":error"),successAlertEvent:"".concat(t,":success:alert"),errorAlertEvent:"".concat(t,":error:alert")}}},{key:"getTransportChannel",value:function(){return o.Radio.channel("".concat(this.channelName,":transport"))}},{key:"getAlertChannel",value:function(){return o.Radio.channel("".concat(this.channelName,":alert"))}},{key:"setRequestSignature",value:function(t){this.dataRequestSignatures[t]=t}},{key:"hasRequestSignature",value:function(t){return!!this.dataRequestSignatures[t]}},{key:"convertOffsetPaginationToCursors",value:function(t){var e=t.offset,n=t.pageSize,o=t.totalItems,i=o>0&&e<o&&e+n,a=o>0&&e>0&&Math.max(e-n,0),c={};if(i&&i<o&&(c.next=i.toString()),r.isNumber(a)&&(c.previous=a.toString()),!r.isEmpty(c))return c}},{key:"convertLegacyPaginationToCursors",value:function(t){var e=t.page,n=t.totalPages,o=r.isNumber(e)&&e>0&&e<n&&e+1,i=r.isNumber(e)&&e>1&&e-1,a={};if(o&&o<=n&&(a.next=o.toString()),i&&(a.previous=i.toString()),!r.isEmpty(a))return a}},{key:"defaultProps",get:function(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}}])&&f(e.prototype,n),i&&f(e,i),l}(i.a)},function(t,e,n){"use strict";var r,o,i=n(154),a=n(1),c=n(321),u=n.n(c),s=n(322),l=n.n(s),f=n(323),p=n.n(f),h=n(324),y=n.n(h),d=(n(325),n(326),n(327)),b=n.n(d),v=n(328),g=n.n(v),m=n(329),w=n.n(m),S=n(330),O=n.n(S),C=n(331),k=n.n(C),E=n(332),_=n.n(E),R=n(333),P=n.n(R),T=n(334),x=n.n(T),j=n(335),D=n.n(j),L=n(336),A=n.n(L),I=n(337),N=n.n(I),M=n(338),V=n.n(M),U=n(339),F=n.n(U),H=n(340),z=n.n(H),B=n(341),q=n.n(B),W=n(342),Y=n.n(W),G=n(343),J=n.n(G),K=n(344),Q=n.n(K),Z=n(345),$=n.n(Z),X=n(346),tt=n.n(X),et=n(347),nt=n.n(et),rt=(n(348),n(349)),ot=n.n(rt),it=n(350),at=n.n(it),ct=n(351),ut=n.n(ct),st=(n(352),n(353),n(354)),lt=n.n(st),ft=n(355),pt=n.n(ft),ht=n(356),yt=n.n(ht),dt=n(357),bt=n.n(dt),vt=n(358),gt=n.n(vt),mt=n(359),wt=n.n(mt),St=(n(360),n(361)),Ot=n.n(St),Ct=n(362),kt=n.n(Ct),Et=n(363),_t=n.n(Et),Rt=n(364),Pt=n.n(Rt),Tt=n(365),xt=n.n(Tt),jt=n(366),Dt=n.n(jt),Lt=n(367),At=n.n(Lt),It=(n(368),n(369)),Nt=n.n(It),Mt=n(370),Vt=n.n(Mt),Ut=n(371),Ft=n.n(Ut),Ht=n(372),zt=n.n(Ht),Bt=n(373),qt=n.n(Bt),Wt=n(374),Yt=n.n(Wt),Gt=n(375),Jt=n.n(Gt),Kt=n(376),Qt=n.n(Kt),Zt=n(377),$t=n.n(Zt),Xt=n(378),te=n.n(Xt),ee=n(379),ne=n.n(ee),re=n(380),oe=n.n(re),ie=n(381),ae=n.n(ie),ce=n(382),ue=n.n(ce),se=n(383),le=n.n(se),fe=n(384),pe=n.n(fe),he=(n(385),n(386),n(387),n(388)),ye=n.n(he),de=(n(389),n(390),n(391),n(392),n(393)),be=n.n(de),ve=n(394),ge=n.n(ve),me=(n(395),n(396),n(397),n(398)),we=n.n(me),Se=n(399),Oe=n.n(Se),Ce=n(400),ke=n.n(Ce),Ee=n(401),_e=n.n(Ee),Re=n(402),Pe=n.n(Re),Te=n(403),xe=n.n(Te),je=n(404),De=n.n(je),Le=(n(405),n(406),n(407),n(408)),Ae=n.n(Le),Ie=n(409),Ne=n.n(Ie),Me=[u.a,p.a,y.a,b.a,O.a,k.a,_.a,P.a,w.a,l.a,x.a,D.a,A.a,N.a,V.a,g.a,F.a,z.a,q.a,Y.a,nt.a,J.a,Q.a,$.a,tt.a,ot.a,yt.a,te.a,oe.a,ne.a,pe.a,ae.a,ue.a,le.a,Pt.a,Dt.a,xt.a,at.a,ut.a,kt.a,_t.a,Ot.a,lt.a,bt.a,Vt.a,Ft.a,gt.a,wt.a,zt.a,pt.a,Nt.a,qt.a,Yt.a,At.a,Jt.a,$t.a,Qt.a,be.a,ge.a,ye.a,ke.a,Oe.a,we.a,_e.a,xe.a,Pe.a,De.a,Ne.a,Ae.a];function Ve(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}!function(t){t.AddToPlaylists="add-to-playlist",t.Caret="caret",t.Delete="delete",t.Edit="edit",t.NoEdit="no-edit",t.Close="close",t.Folder="folder",t.Resources="resources",t.More="more",t.Bell="bell",t.Plus="plus",t.Search="search",t.Share="share",t.Share2="share2",t.Upload="upload",t.Preview="preview",t.CircleCheck="circle-check",t.Down="down",t.Right="right",t.UpDown="up-down",t.ChevronUp="chevron-up",t.ChevronDown="chevron-down",t.ChevronLeft="chevron-left",t.ChevronRight="chevron-right",t.VisibleOff="visible-off",t.VisibleOn="visible-on",t.PublisherArchive="publisher-archive",t.Play="play",t.PlayCircle="play-circle",t.ArrowLeft="arrow-left",t.CheckCircleOutline="check-circle-o",t.CheckCircle="check-circle",t.Check="check",t.Lock="lock",t.Link="link",t.Info="info",t.Question="question",t.Star="star",t.StarOutline="star-o",t.Archive="archive",t.Warning="warning",t.WarningOutline="warning-o",t.NewWindow="new-window",t.File="file",t.FilePDF="file-pdf",t.FileExcel="file-excel",t.FilePowerpoint="file-ppt",t.FileWord="file-word",t.FileImg="file-img",t.FileZip="file-zip",t.Enter="enter",t.Calendar="calendar",t.CloseCaption="close-caption",t.CloseCaptionBadge="close-caption-badge",t.Playlist="playlist",t.Handle="handle",t.Subject="subject",t.Series="series",t.EditClickView="edit-clickview",t.Heart="heart",t.HeartOutline="heart-outline",t.WhiteWave="white-wave",t.Cog="cog",t.Video="video",t.Compass="compass",t.History="history",t.Tag="tag",t.Email="email",t.YearLevel="year-level",t.Subjects="subjects"}(r||(r={}));var Ue;function Fe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}a.extend(i.config,{autoReplaceSvg:!1,autoAddCss:!1,familyPrefix:"cv",autoA11y:!0,observeMutations:!1,replacementClass:"cv-svg",keepOriginalSource:!1}),(o=i.library).add.apply(o,function(t){if(Array.isArray(t))return Ve(t)}(Ue=Me)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(Ue)||function(t,e){if(t){if("string"==typeof t)return Ve(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ve(t,e):void 0}}(Ue)||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.")}()),n.d(e,"a",(function(){return He})),n.d(e,"b",(function(){return ze}));var He=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,r=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"getSvg",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.faIconLookup(t,e),r=this.getIcon(n,e);if(r&&(!r||r.html.length))return r.html.pop()}},{key:"getIcon",value:function(t,e){return i.icon(t,e.iconOptions||{})}},{key:"faIconLookup",value:function(t,e){var n=e.prefix,r=void 0===n?"cv":n;return i.findIconDefinition({prefix:r,iconName:t})}}])&&Fe(e.prototype,n),r&&Fe(e,r),t}().Instance,ze=r},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n(22),o=Object.assign({Notifications:"NotificationService",PartialLoading:"PartialLoadingService",NavLock:"NavLockService",DialogHelper:"DialogHelper",Analytics:"AnalyticsService",VideoDragDrop:"VideoDragDropService",FolderDragDrop:"FolderDragDropService",SelectedVideo:"SelectedVideoService",FolderCache:"FolderCacheService",LocalOptions:"LocalOptionsService",ContextService:"ContextService",VideoMixin:"VideoMixinService",PageVisibility:"PageVisibility",PageTitle:"PageTitle",Language:"LanguageService",ContextualSearch:"ContextualSearchService",Intercom:"IntercomService"},r.b),i=Object.assign({Config:"ConfigDataService",User:"UserDataService",Customer:"CustomerDataService",Library:"LibraryDataService",Search:"SearchDataService",Notifications:"NotificationDataService",NotificationsSocket:"NotificationSocketService",Settings:"SettingsDataService",StaffRequests:"StaffRequestDataService",MigrationVideo:"MigrationVideoDataService",Tags:"TagDataService",Series:"SeriesDataService",ImageUpload:"ImageUploadDataService",Chapter:"ChapterDataService",Export:"ExportDataService",LocalCache:"LocalCacheDataService",RestrictedVideo:"RestrictedVideoDataService",Ratings:"RatingsDataService",Language:"LanguageDataService",ContentUpdates:"ContentUpdatesDataService",DownloadProxy:"DownloadProxyDataService",Resource:"ResourceDataService",Subtitle:"SubtitleDataService",Link:"LinkDataService",Company:"CompanyDataService",Person:"PersonDataService",Fields:"FieldsDataService"},r.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SHORT:120,STANDARD:600}},,function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return l}));var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(s,t);var e,n,r,u=c(s);function s(){return o(this,s),u.apply(this,arguments)}return e=s,(n=[{key:"name",get:function(){return"DevError"}}])&&i(e.prototype,n),r&&i(e,r),s}(n(11).a)},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Sources="libraries",t.Folder="folder",t.Tags="tag",t.Ratings="ratings",t.Interactives="interactives",t.Resources="resources",t.Subtitles="subtitles",t.ProductionYear="productionYear",t.ProducedByClickView="producedByClickView",t.HD="hd",t.Duration="duration",t.Series="series"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"f",(function(){return s})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return f})),n.d(e,"e",(function(){return p})),n.d(e,"d",(function(){return h})),n.d(e,"b",(function(){return y}));var r=n(9),o=n(115),i=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){t.done?o(t.value):new n((function(e){e(t.value)})).then(a,c)}u((r=r.apply(t,e||[])).next())}))},a=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},c=function(){function t(){}return t.isRequired=function(t,e){if(null==t)throw new Error("The '"+e+"' argument is required.")},t.isIn=function(t,e,n){if(!(t in e))throw new Error("Unknown "+n+" value: "+t+".")},t}(),u=function(){function t(){}return Object.defineProperty(t,"isBrowser",{get:function(){return"object"==typeof window},enumerable:!0,configurable:!0}),Object.defineProperty(t,"isWebWorker",{get:function(){return"object"==typeof self&&"importScripts"in self},enumerable:!0,configurable:!0}),Object.defineProperty(t,"isNode",{get:function(){return!this.isBrowser&&!this.isWebWorker},enumerable:!0,configurable:!0}),t}();function s(t,e){var n="";return l(t)?(n="Binary data of length "+t.byteLength,e&&(n+=". Content: '"+function(t){var e=new Uint8Array(t),n="";return e.forEach((function(t){n+="0x"+(t<16?"0":"")+t.toString(16)+" "})),n.substr(0,n.length-1)}(t)+"'")):"string"==typeof t&&(n="String data of length "+t.length,e&&(n+=". Content: '"+t+"'")),n}function l(t){return t&&"undefined"!=typeof ArrayBuffer&&(t instanceof ArrayBuffer||t.constructor&&"ArrayBuffer"===t.constructor.name)}function f(t,e,n,o,c,u,f){return i(this,void 0,void 0,(function(){var i,p,h,y,d;return a(this,(function(a){switch(a.label){case 0:return c?[4,c()]:[3,2];case 1:(h=a.sent())&&((i={}).Authorization="Bearer "+h,p=i),a.label=2;case 2:return t.log(r.a.Trace,"("+e+" transport) sending data. "+s(u,f)+"."),y=l(u)?"arraybuffer":"text",[4,n.post(o,{content:u,headers:p,responseType:y})];case 3:return d=a.sent(),t.log(r.a.Trace,"("+e+" transport) request complete. Response status: "+d.statusCode+"."),[2]}}))}))}function p(t){return void 0===t?new y(r.a.Information):null===t?o.a.instance:t.log?t:new y(t)}var h=function(){function t(t,e){this.subject=t,this.observer=e}return t.prototype.dispose=function(){var t=this.subject.observers.indexOf(this.observer);t>-1&&this.subject.observers.splice(t,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch((function(t){}))},t}(),y=function(){function t(t){this.minimumLogLevel=t,this.outputConsole=console}return t.prototype.log=function(t,e){if(t>=this.minimumLogLevel)switch(t){case r.a.Critical:case r.a.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+r.a[t]+": "+e);break;case r.a.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+r.a[t]+": "+e);break;case r.a.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+r.a[t]+": "+e);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+r.a[t]+": "+e)}},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var r={Config:"ConfigDataService",User:"UserDataService",Language:"LanguageDataService",Video:"VideoDataService",VideoUpload:"VideoUpload",Library:"LibraryDataService",Search:"SearchDataService",Series:"SeriesDataService",Notification:"NotificationDataService",NotificationSocket:"NotificationSocketService"},o={ImageUrl:"ImageUrlService",PendingItems:"PendingItemsService",Alerts:"AlertService",VideoUpload:"VideoUploadService",ResourceUpload:"ResourceUploadService",SubtitleUpload:"SubtitleUploadService",VideoMixin:"VideoMixinService",ContextualSearch:"ContextualSearchService",Context:"ContextService",Notification:"NotificationService",AppOptions:"AppOptionsService"}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var r={CONFIG:"config:data:service",USER:"user:data:service",LANGUAGE:"language:data:service",LIBRARY:"library:data:service",SEARCH:"search:data:service",SERIES:"series:data:service",NOTIFICATIONS:"notifications:data:service",NOTIFICATIONS_SOCKET:"notifications:socket:service"},o={PENDING_ITEMS:"pending:items:service",VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",CONTEXTUAL_SEARCH:"contextual:search:service"},i={NOTIFICATIONS:"notifications:application"}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Video="videos",t.Folder="categories",t.Series="series",t.Channel="channels",t.Distributors="companies",t.Producers="people",t.Tags="tags",t.Language="languages",t.TagsRaw="tag",t.ChannelRaw="channel",t.Recent="recent",t.Direct="direct",t.ProductionCompanies="companies",t.Directors="people",t.Season="season",t.Classification="subjects"}(r||(r={}))},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Component=1]="Component",t[t.ComponentCollection=2]="ComponentCollection"}(r||(r={}))},,function(t,e,n){"use strict";var r,o;!function(t){t.Libraries="libraries",t.Subjects="subjects",t.ReleaseDate="release-date"}(r||(r={})),function(t){t.ThisMonth="this-month",t.LastMonth="last-month",t.Last3Months="last-3-months",t.Last6Months="last-6-months"}(o||(o={})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}))},,function(t,e){t.exports=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(1),o=n(103),i=n(19),a=n(61),c=n(81),u=n(176),s=n(11);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(y,t);var e,n,a,l=h(y);function y(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,y),(t=l.call(this)).viewObjects={},t}return e=y,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"updateViewModel",value:function(t,e){var n=this.mergeData(e,t.toJSON());return t instanceof u.a&&t.set(n,{silent:!0}),t instanceof c.a&&!(t instanceof u.a)&&t.set(n,{silent:!0}),t}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.update,o=void 0!==r&&r,i=this.viewObjects[t];if(i&&o)return this.updateViewModel(i,e);if(i)return i;var a=this.getLocalData(t,n);return this.set(t,e,a,n)}},{key:"set",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=r.ctor,i=r.storage,a=this.mergeData(e,n),u=o?new o(a):new c.a(a);return this.viewObjects[t]=u,i&&!n?(this.setLocalData(t,u,null,r),this.setupChangeListeners(t,u,r)):i&&n&&this.setupChangeListeners(t,u,r),u}},{key:"clear",value:function(t){var e=this.viewObjects[t];return!!e&&(this.stopListening(e),e.trigger("destroy"),delete this.viewObjects[t],!0)}},{key:"getLocalData",value:function(t,e){var n=e.storage;if(n)return this.getStorageHelper(n.type).get(t)}},{key:"setLocalData",value:function(t,e,n,r){var o,i=r.storage;!i||i&&!i.persistProps||("string"==typeof i.persistProps&&(i.persistProps=[i.persistProps]),e instanceof c.a&&(o=e.pick(i.persistProps)),this.getStorageHelper(i.type).set(t,o))}},{key:"setupChangeListeners",value:function(t,e,n){var o=this,i=n.storage;!i||i&&!i.persistProps||("string"==typeof i.persistProps&&(i.persistProps=[i.persistProps]),r.each(i.persistProps,(function(i){o.listenTo(e,"change:".concat(i),r.partial(o.setLocalData,t,r,r,n))})))}},{key:"mergeData",value:function(t,e){return e?r.isObject(t)&&r.isObject(e)?r.extend(t,e):void s.c.throw(new i.a("defaultValues and existingData are not of the same datatype and cannot be merged")):t}},{key:"getStorageHelper",value:function(t){switch(t){case o.c.LocalStorage:return o.a;case o.c.SessionStorage:return o.b}}},{key:"name",get:function(){return"ViewModelService"}}])&&f(e.prototype,n),a&&f(e,a),y}(a.a).Instance},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(2),o=n(19);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(l,t);var e,n,i,s=u(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=s.call(this,t)).dialogOptions||r.a.ErrorHelper.throw(new o.a("Please provide DialogOptions for your implementation of DialogError")),e}return e=l,(n=[{key:"onDone",value:function(){}},{key:"onFail",value:function(){}},{key:"name",get:function(){return"DialogError"}}])&&a(e.prototype,n),i&&a(e,i),l}(r.a.SilentError)},,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={FOLDER:"folder",FOLDER_VIDEOS:"folder:videos",VIDEOS:"videos",SERIES:"series",LIBRARY:"library",MOVE_VIDEOS:"move:videos",VIDEOS_BY_ID:"videos:by:id",VIDEOS_TO_REVIEW:"videos:to:review",RECENT_VIDEOS:"recent:videos",RECENT_VIDEOS_ALL_PAGES:"recent:videos:all:pages",RECENT_SUBJECTS:"recent:subjects",RESTRICTED_VIDEOS:"restricted:videos",RESTRICTED_OBJECTS:"restricted:objects",RATINGS:"ratings",CHANNELS:"channels",PRODUCERS:"producers",NOTIFICATIONS:"notifications",DISTRIBUTORS:"distributors",UPDATE_VIDEO:"update:video",UPDATE_VIDEO_THUMBNAIL:"update:video:thumbnail",DELETE_VIDEO_THUMBNAIL:"delete:video:thumbnail",UPDATE_FOLDER_BANNER:"update:folder:banner",DELETE_FOLDER_BANNER:"delete:folder:banner",DELETE_VIDEO:"delete:video",DISSOC_VIDEO:"dissoc:video",UPDATE_FIELD:"update:field",ADD_FIELD:"add:field",DELETE_FIELD:"delete:field",ASSOC_RATING:"assoc:video",DISSOC_RATING:"dissoc:rating",SEARCH_VIDEOS:"search:videos",SEARCH_FILTERS:"search:filters",SHARED_RESOURCE:"shared:resource",UPDATE_VIDEO_RESTRICTION:"update:video:restriction",SETTINGS:"settings",UPDATE_SETTING:"update:setting",GENERATE_PDF:"generate:pdf",GENERATE_COLLECTION_PDF:"generate:collection:pdf",GENERATE_CUSTOM_PDF:"generate:custom:pdf",STAFF_REQUESTS:"staff:requests",CUSTOMER_VIDEO:"customer:video",CUSTOMER_FOLDERS:"customer:folders",CUSTOMER_VIDEOS:"customer:videos",CUSTOMER_SMART_VIDEOS:"customer:smart:videos",CUSTOMER_METADATA:"customer:metadata",CLOUD_SYNC_STATUS:"cloud:sync:status",STAFF_REQUEST_BY_ID:"staff:requests:by:id",STAFF_REQUEST_MESSAGES:"staff:requests:messages",GET_TAGS:"get:tags",CREATE_TAG:"create:tag",ASSOC_TAG:"assoc:tag",DISSOC_TAG:"dissoc:tag",CREATE_SERIES:"create:series",CURRENT_USER:"currentuser",USER_BY_ID:"user:by:id",CREATE_CHAPTER:"create:chapter",UPDATE_CHAPTER:"update:chapter",DELETE_CHAPTER:"delete:chapter",CONCATENATE_CHAPTERS:"concatenate:chapters",CONCATENATE_STATUS:"concatenate:status",VIDEO_HAS_PHYSICAL_CHAPTERS:"video:has:physical:chapters",UPLOAD_IMAGE:"upload:image",FINALISATION:"finalisation",CUSTOMER:"customer",BACKUP_TOOL:"backup:tool",LOCAL_CACHE_DEVICES:"local:cache:devices",LOCAL_CACHE_DOWNLOADS:"local:cache:downloads",ADD_VIDEO_TO_LOCAL_CACHE:"add:video:to:local:cache",LOCALE:"locale",PHRASES:"phrases",SUGGEST_EDIT:"suggest:edit",UPDATE_FOLDER_THUMBNAIL:"update:folder:thumbnail",DELETE_FOLDER_THUMBNAIL:"delete:folder:thumbnail",LIBRARY_FOLDERS:"library:folders",RESOURCE:"resource",CREATE_RESOURCE:"create:resource",UPDATE_RESOURCE:"update:resource",DELETE_RESOURCE:"delete:resource",CREATE_SUBTITLE:"create:subtitle",DELETE_SUBTITLE:"delete:subtitle",LINK:"link",CREATE_LINK:"create:link",UPDATE_LINK:"update:link",DELETE_LINK:"delete:link",CREATE_COMPANY:"create:company",CREATE_PERSON:"create:person",BULK_DISSOC:"bulk:dissoc",CREATE_SEASON:"create:season"}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SHOW_POPUP:"show:popup",ROUTE:"route",LOCK_NAV:"lock:nav",UNLOCK_NAV:"unlock:nav",NAV_IS_LOCKED:"navigation:islocked",NAV_UNLOCKED_BY_USER:"navigation:unlocked:by:user",ROUTING_START:"routing:start",ROUTING_END:"routing:end",HAS_ACTIVE_ROUTE:"has:active:route",ROUTE_LOOKUP:"route:look:up",URL_CHANGE:"url:change",ERROR:"error",CURRENT_ROUTE:"route:current"}},,function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.MostRecent=1]="MostRecent",t[t.AtoZ=2]="AtoZ",t[t.ProductionYear=3]="ProductionYear",t[t.Newest=4]="Newest",t[t.SeriesSort=5]="SeriesSort"}(r||(r={}))},,,function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return l}));var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(s,t);var e,n,r,u=c(s);function s(){return o(this,s),u.apply(this,arguments)}return e=s,(n=[{key:"name",get:function(){return"ErrorPageError"}}])&&i(e.prototype,n),r&&i(e,r),s}(n(2).a.SilentError)},function(t,e,n){t.exports={addLibraryButton:"fXaTF",addLibraryPlus:"_3Ygal",paddedContainer:"_1uVUJ",imageLarge:"_2-GAI",imageSmall:"_36Ljd"}},function(t,e,n){"use strict";var r=n(1),o=n(2),i=n(19),a=n(4),c=n(12),u=n(226);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=new(function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(a,t);var e,n,r,i=h(a);function a(){var t;return l(this,a),(t=i.apply(this,arguments)).contextHistory=[],t}return e=a,r=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"initialize",value:function(){this.listenTo(c.a.SHELL,o.a.EventNames.ROUTE,this.setContext)}},{key:"setContext",value:function(t){this.contextHistory.length>=5&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:t})}},{key:"getCurrentContext",value:function(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}},{key:"fromPageLoad",value:function(){return 1===this.contextHistory.length}},{key:"name",get:function(){return u.a.Context}}])&&f(e.prototype,n),r&&f(e,r),a}(o.a.Service)),v=n(119);function g(){var t=b.getCurrentContext().appLink;return r.isObject(t)||o.a.ErrorHelper.throw(new i.a("Applink does not exist. Check current context.")),t.application.replace(":","-")}function m(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.location,n=t.entity,r=t.workflowPhase,a=void 0===r?null:r,c=t.descriptor,u=void 0===c?null:c;return e||o.a.ErrorHelper.throw(new i.a("location must be set.")),n||o.a.ErrorHelper.throw(new i.a("entity must be set.")),{productArea:g(),location:e,entity:n,descriptor:u,workflowPhase:a}}function w(){return o.a.LocationUtils.GetCurrentPath()+o.a.LocationUtils.GetCurrentQueryString()}n.d(e,"a",(function(){return S}));var S={logUserAction:function(t,e){if(function(t){return!(!r.isArray(t)||!r.every(t,(function(t){return r.isObject(t)})))||!!r.isObject(t)}(t)&&r.isObject(e)){var n=S.buildUserActionEvent(e),o=n.userAction,i=n.action,a=n.eventVersion;v.a.log(o,t,i,a)}},logNavigate:function(t,e){var n=Object.assign({currentLocation:w(),appLink:t},e);v.a.log(a.q.Navigate,n)},mergeOptions:function(t,e){return r.extend({},t,e)},buildActionContext:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m(t)},buildUserActionEvent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.actionType,n=t.eventVersion,r=e,o=m(t);return{userAction:r,action:o,eventVersion:n}},buildCurrentLocation:function(){return w()},buildSearchEvent:function(t,e){return{data:{query:t},action:m({entity:a.e.Video,location:a.k.SearchBar,descriptor:e})}},buildInstantSearchEvent:function(t,e,n){var r;n===a.o.Series&&(r=a.e.Series),n===a.o.Folder&&(r=a.e.Folder),n===a.o.Tags&&(r=a.e.Tag),n===a.o.Video&&(r=a.e.Video);var o={instant:{},query:t};return e.id&&(o.instant.selectedId=e.id),e.name&&(o.instant.selectedName=e.name),{data:o,action:m({entity:r,location:a.k.SearchBar})}},mapInteractionType:function(t){switch(t){case a.i.DragDrop:return a.j.DragDrop;case a.i.FileSelect:return a.j.FileSelect;default:return}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={UPLOAD_COMPLETE:"upload:complete",FILES_SELECTED:"files:selected",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",PENDING_ITEM_READY_TO_WATCH:"pending:item:ready:to:watch",PENDING_ITEM_STATUS_CHANGE:"pending:item:status:change",PROCESSING_CANCELLED:"processing:cancelled",UNLOCK_NAV:"upload:unlock:nav"}},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SEARCH:"search:app:variables",NOTIFICATIONS:"notifications:app:variables",SUBJECTS:"subjects:app:variables"}},function(t,e,n){"use strict";var r,o,i,a,c,u,s;!function(t){t.Title="title",t.Views="viewsLast3Years"}(r||(r={})),function(t){t[t.None=0]="None",t[t.NoPublisher=5]="NoPublisher",t[t.BackupToolProcessesing=1]="BackupToolProcessesing",t[t.BackupToolCompleteWithError=2]="BackupToolCompleteWithError",t[t.BackupToolComplete=3]="BackupToolComplete",t[t.BackupCompleteWithError=8]="BackupCompleteWithError",t[t.BackupComplete=9]="BackupComplete",t[t.PublishingLibrary=6]="PublishingLibrary",t[t.LibraryPublished=7]="LibraryPublished"}(o||(o={})),function(t){t[t.None=0]="None",t[t.Smart=1]="Smart",t[t.Scratch=2]="Scratch",t[t.Full=3]="Full"}(i||(i={})),function(t){t.MigratedHidden="migratedHidden"}(a||(a={})),function(t){t[t.Valid=1]="Valid",t[t.BinaryRemoved=2]="BinaryRemoved",t[t.CloudFileNotFound=8]="CloudFileNotFound",t[t.CloudEmptyChapter=32]="CloudEmptyChapter",t[t.MediaProbingFailure=128]="MediaProbingFailure",t[t.CloudLocalChecksumNotMatch=16384]="CloudLocalChecksumNotMatch",t[t.CloudLocalDurationNotMatch=32768]="CloudLocalDurationNotMatch",t[t.CloudLocalChapterCountNotMatch=65536]="CloudLocalChapterCountNotMatch",t[t.TrackingCodeNotFound=536870912]="TrackingCodeNotFound",t[t.Exception=134217728]="Exception",t[t.CloudDurationDirty=1073741824]="CloudDurationDirty",t[t.LocalFileNotFound=16]="LocalFileNotFound",t[t.DbEmptyChapter=64]="DbEmptyChapter",t[t.DbChapterChecksumNotFound=256]="DbChapterChecksumNotFound",t[t.DbChapterDurationNotFound=512]="DbChapterDurationNotFound",t[t.DbChapterFileSizeNotFound=1024]="DbChapterFileSizeNotFound",t[t.DbChapterChecksumNotMatch=2048]="DbChapterChecksumNotMatch",t[t.DbChapterDurationNotMatch=4096]="DbChapterDurationNotMatch",t[t.DbChapterFileSizeNotMatch=8192]="DbChapterFileSizeNotMatch",t[t.SubtitleUploadFailure=131072]="SubtitleUploadFailure",t[t.ResourceUploadFailure=262144]="ResourceUploadFailure",t[t.ResourceFileNotFound=524288]="ResourceFileNotFound",t[t.ResourceFileInvalid=1048576]="ResourceFileInvalid",t[t.DbResourceChecksumNotFound=2097152]="DbResourceChecksumNotFound",t[t.DbResourceExtensionNotFound=4194304]="DbResourceExtensionNotFound",t[t.DbResourceFileSizeNotFound=8388608]="DbResourceFileSizeNotFound",t[t.DbResourceChecksumNotMatch=16777216]="DbResourceChecksumNotMatch",t[t.DbResourceFileSizeNotMatch=33554432]="DbResourceFileSizeNotMatch",t[t.CoverImageUploadFailure=67108864]="CoverImageUploadFailure",t[t.BackupIgnored=268435456]="BackupIgnored"}(c||(c={})),function(t){t[t.Valid=1]="Valid",t[t.Warning=2]="Warning",t[t.Error=3]="Error"}(u||(u={})),function(t){t.Migrated="migrated",t.Remaining="remaining",t.Errored="errored",t.ContentMatched="content-matched"}(s||(s={})),n.d(e,"e",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"f",(function(){return c})),n.d(e,"d",(function(){return s}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={CONTENT:"content",TOP_NAV:"topNav",PAGE_HEADER:"pageHeader",LEFT_NAV:"leftNav",POPUP:"popup",ALERT:"alert",PAGE_FOOTER:"pageFooter",HIDDEN:"hidden",TOP_BANNER:"topBanner"};r.ALERT,r.POPUP,r.HIDDEN},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(2),o=n(79),i=n(83),a=n(63),c=n(30),u={isSelected:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=u.getSelectedViewModel(t),r=n.get("selected")||"";return r.toString()===e.toString()},isParent:function(t,e){var n=u.getSelectedViewModel(t).get("parents");return!!n&&!!n[e]},getSelectedViewModel:function(t){return c.a.get("foldertreehelper:".concat(t))},deselectAll:function(t,e){e&&u.getSelectedViewModel(t).clear()},setSelected:function(t,e,n,o){if(n&&(e instanceof r.a.Model||(e=u.getModelFromCollection(e,n)),e)){var i=u.getSelectedViewModel(t);o||(u.deselectAll(t,n),i.set("selected",e.get("id")));var a={};e.collection&&function t(e){if(e){var n=e.get("id");n!==i.get("id")&&(a[n]=!0),e.collection&&t(e.collection.parent)}}(e),i.set("parents",a)}},getSelected:function(t,e){var n=u.getSelectedViewModel(t).get("selected");return n?u.getModelFromCollection(n,e):null},newFolder:function(){return new i.a},getModelFromCollection:function(t,e){if(!e)return null;for(var n=function e(n){if(n.get("id")&&t&&n.get("id").toString()===t.toString())return n;var r=n.children;if(!r||!r.length)return null;for(var o=0;o<r.length;o++){var i=e(r.at(o));if(i)return i}},r=0;r<e.length;r++){var o=n(e.at(r));if(o)return o}return null},getParent:function(t,e){var n=u.getModelFromCollection(t,e);if(!n||!n.collection||!n.collection.parent)return null;var r=n.collection.parent;return r.get("type")===a.a.CategoryTree?r.collection.parent:r},addFolder:function(t,e,n){var r,o=n;e&&(r=u.getModelFromCollection(e,o)),r&&(r.children||r.set("children",[]),o=r.children),o.add(t.toJSON())},addFolderToLibrary:function(t,e,n){var r=n.get(e);r&&u.addFolder(t,r.get("id"),n)},flatten:function(t){var e=new o.a(t.toJSON()),n=new r.a.Collection,i=-1;return e.each((function t(e){var r=e.get("type")===a.a.Folder||e.get("type")===a.a.CustomLibrary;r&&(n.add(e),e.set("depth",++i)),e.children&&e.children.length&&e.children.each(t),r&&i--})),n},getFirstType:function(t,e){var n;return t.find((function t(r){return r.get("type")===e?(n=r,!0):!(!r.children||!r.children.length)&&!!r.children.find(t)})),n},getLibrary:function(t,e){var n,r=u.getModelFromCollection(t,e);if(!r)return null;return function t(e){return e.get("type")===a.a.CustomLibrary?(n=e,!0):!(!e.collection||!e.collection.parent)&&t(e.collection.parent)}(r),n},isSubFolder:function(t){return!!(t&&t.collection&&t.collection.parent)&&t.collection.parent.get("type")===a.a.Folder},getFolderDepth:function(t,e){for(var n=u.getModelFromCollection(t,e),r=-1;n;)n=n.collection&&n.collection.parent,r++;return r},getFolderChord:function(t){var e=t,n=[];do{n.unshift(e.get("name")),e=e.collection?e.collection.parent:null}while(e);return n.join("->")},getDepthOfChildren:function(t){var e=0;if(!t.children||!t.children.length)return e;e++;for(var n=0,r=0;r<t.children.length;r++){var o=t.children.models[r],i=u.getDepthOfChildren(o);i>n&&(n=i)}return e+=n},calculateDestinationFolderDepth:function(t,e,n){var r=t&&u.getDepthOfChildren(t)||0;return(n&&u.getFolderDepth(e,n)||0)+1+r}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(97);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e){t.exports=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return g}));var r,o,i=n(1),a=n(6),c=n(146),u=n(81),s=n(61),l=n(12),f=n(114);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}!function(t){t.Success="success",t.Warning="warning",t.Fail="danger",t.Info="info"}(r||(r={})),function(t){t.Success="Success! 🙌",t.Warning="Whoops...",t.Fail="Oops...",t.Info="FYI"}(o||(o={}));var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(s,t);var e,n,r,o=d(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),o.call(this,t)}return e=s,(n=[{key:"initialize",value:function(){this.alertCollection=new c.a,this.listenTo(l.a.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}},{key:"showAlerts",value:function(){var t=a.Radio.channel(l.a.ALERT),e={collection:this.alertCollection};this.options.alertViewCtor&&(e=i.extend({},e,{ctor:this.options.alertViewCtor})),t.trigger("show:alert",e)}},{key:"removeAlert",value:function(t){this.alertCollection.remove(t),this.showAlerts()}},{key:"createAlert",value:function(t){this.alertCollection.length===this.options.maxAlerts&&this.alertCollection.shift(),t.id||(t=i.extend({},t,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new u.a(t)),this.showAlerts()}},{key:"clearAllAlerts",value:function(){this.alertCollection.reset(null)}},{key:"success",value:function(t){var e=this;return"string"==typeof t?i.bind((function(){return e.createAlert(i.extend({},e.options.defaultSuccessAlert,{message:t}))}),this):t.useXHR?i.bind((function(t,n){return e.createAlert(i.extend({},e.options.defaultSuccessAlert,{message:n}))}),this):i.bind((function(){return e.createAlert(i.extend({},e.options.defaultSuccessAlert,t))}),this)}},{key:"error",value:function(t){var e=this;return"string"==typeof t?i.bind((function(){return e.createAlert(i.extend({},e.options.defaultErrorAlert,{message:t}))}),this):t.useXHR?i.bind((function(t){return e.createAlert(i.extend({},e.options.defaultErrorAlert,{message:t.message}))}),this):i.bind((function(){return e.createAlert(i.extend({},e.options.defaultErrorAlertIL_DEFAULT,t))}),this)}},{key:"generateUniqueAlertId",value:function(){return i.uniqueId("alert_")}},{key:"name",get:function(){return f.a.ALERT}},{key:"defaults",get:function(){return{maxAlerts:3}}}])&&h(e.prototype,n),r&&h(e,r),s}(s.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SUBJECT_PLAYLISTS:"subject:playlists",CURRENT_USER:"current:user",WORKSPACE:"workspace",CONFIG:"config",LOCALE:"locale",PHRASES:"phrases",SEARCH_FILTERS:"search:filters",SERIES:"series",NOTIFICATIONS:"notifications",SUGGEST_EDIT:"suggest:edit"}},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return c}));var r,o=(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=function(t){function e(e,n){var r=this,o=this.constructor.prototype;return(r=t.call(this,e)||this).statusCode=n,r.__proto__=o,r}return o(e,t),e}(Error),a=function(t){function e(e){void 0===e&&(e="A timeout occurred.");var n=this,r=this.constructor.prototype;return(n=t.call(this,e)||this).__proto__=r,n}return o(e,t),e}(Error),c=function(t){function e(e){void 0===e&&(e="An abort occurred.");var n=this,r=this.constructor.prototype;return(n=t.call(this,e)||this).__proto__=r,n}return o(e,t),e}(Error)},,function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(6);function o(t,e,n,o){var i=t;return"string"==typeof t&&(i=r.Radio.channel(t)),o.call(this,i,e,n)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(47),o=n(410),i={isPublishingLibraries:function(t){return a(r.a.PublishingLibrary,t)},librariesPublished:function(t){return a(r.a.LibraryPublished,t)},isInitialMigration:function(t){return c(r.c.None,t)&&!a(r.a.NoPublisher,t)},migrationInitialized:function(t){return!c(r.c.None,t)},backupProcessing:function(t){return a(r.a.BackupToolProcessesing,t)||a(r.a.BackupToolCompleteWithError,t)||a(r.a.BackupToolComplete,t)},backupCompleteWithoutError:function(t){return a(r.a.BackupComplete,t)},backupComplete:function(t){return a(r.a.BackupComplete,t)||a(r.a.BackupCompleteWithError,t)},backupCompleteWithError:function(t){return a(r.a.BackupCompleteWithError,t)},backupNotStarted:function(t){return a(r.a.None,t)},showPublisherArchive:function(t){return!i.noPublisher(t)},noPublisher:function(t){return a(r.a.NoPublisher,t)},fullMigrationInitialized:function(t){return i.migrationInitialized(t)&&t.get("migrationOption")===r.c.Full},isCurrentlyMigratingAll:function(t){return t&&t.finalisationTask&&t.finalisationTask.get("type")===o.a.MigrateAllPhase1}};function a(t,e){return e&&e.get("cloudSyncStatus")===t}function c(t,e){return e&&e.get("migrationOption")===t}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.ExchangeVideoAvailable="exchange-video-available",t.WorkspaceVideoAvailable="workspace-video-available",t.Marketing="marketing",t.EditedVideoAvailable="edited-video-available",t.VideoRequestAvailable="pay-tv-video-available",t.VideoRequestDenied="pay-tv-video-denied",t.VideoReviewReminder="term-update-review-reminder",t.VideoReviewAddedToLibrary="term-update-review-videos-added-to-library",t.CustomLibraryVideoAvailable="custom-library-video-available",t.VideoProcessingFailed="video-processing-failed",t.StaffRequest="new-staff-request",t.StaffRequestFulfilled="staff-request-fulfilment",t.ChapterMergeSuccess="media-concatenate-success",t.SuggestEdit="suggest-an-edit"}(r||(r={}))},,function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.FollowingBetaAccess="following_beta_access",t.MustCompleteOnboarding="must_complete_onboarding",t.StudentWorkspaceSharing="student_ws_sharing",t.StudentToStudentMessaging="student_to_student_messaging",t.HideResourcesForStudents="hide_resources_for_students",t.LibraryReview="library_review",t.SchoolMessaging="school_messaging",t.LegacyTvNaming="legacy_tv_naming",t.LegacyAlbertCustomer="legacy_albert_customer",t.HideHostedLibraries="hide_hosted_libraries",t.StaffRequest="staff_request",t.MaxCustomLibraries="max_custom_libraries",t.CustomLibrariesBetaAccess="custom_libraries_beta_access",t.AutoCaptioning="auto_captioning",t.HasCompletedOnboarding="has_completed_onboarding",t.BulkOnboardingPreferencesState="bulk_onboarding_preferences_state"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(51),o=n(56),i=n(11);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(f,t);var e,n,r,a=l(f);function f(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),(e=a.call(this,t)).name||i.c.throw(new i.b("Your service must be named.")),e}return e=f,(n=[{key:"listenTo",value:function(){return o.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],u(p(f.prototype),"listenTo",this))}}])&&c(e.prototype,n),r&&c(e,r),f}(r.Object)},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n.d(e,"a",(function(){return o}));var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.variables={}}var e,n,o;return e=t,o=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"get",value:function(t){return this.variables[t]}},{key:"setUpVariables",value:function(t){this.variables=t}},{key:"name",get:function(){return"EnvironmentVariables"}},{key:"isDevelopment",get:function(){return this.variables.isDevelopment}}])&&r(e.prototype,n),o&&r(e,o),t}().Instance},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Folder="category",t.CategoryTree="category_tree",t.CustomLibrary="custom_library",t.HostedLibrary="hosted_library",t.Exchange="exchange",t.Workspace="workspace"}(r||(r={}))},,,,,function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Guest="Guest",t.User="User",t.Admin="Admin",t.SuperAdmin="SuperAdmin",t.System="System"}(r||(r={}))},,,,,function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Ajax="AjaxDataProvider",t.Notifications="NotificationsSignalRDataProvider"}(r||(r={}))},function(t,e,n){"use strict";var r,o;n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o})),function(t){t.Direct="direct-search",t.Recent="recent-searches"}(r||(r={})),function(t){t[t.Remote=0]="Remote",t[t.Local=1]="Local"}(o||(o={}))},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Other=0]="Other",t[t.Alert=1]="Alert",t[t.Warning=2]="Warning",t[t.Info=3]="Info",t[t.Success=4]="Success"}(r||(r={}))},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(83);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}},{key:"comparator",get:function(){return function(t){var e;return null===(e=t.get("name"))||void 0===e?void 0:e.toLowerCase()}}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e,n){"use strict";n(215),n(217);var r=n(218),o=(n(214),n(31)),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="shared.tooManyFiles",h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(a,t);var e,n,r,o=s(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,i.a.getPhrase(p,"title"))}return e=a,(n=[{key:"name",get:function(){return"TooManyFilesError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:i.a.getPhrase(p,"body"),buttons:[{text:i.a.getPhrase(p,"okay"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),r&&c(e,r),a}(o.a),y=n(40),d=n(0);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==b(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(a,t);var e,n,r,o=m(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,i.a.getPhrase("shared.customerSetting","title"))).settingName=t,e}return e=a,(n=[{key:"name",get:function(){return"CustomerSettingError"}},{key:"heading",get:function(){return i.a.getPhrase("shared.customerSetting","heading",{settingName:d.j[this.settingName]})}}])&&v(e.prototype,n),r&&v(e,r),a}(y.a);function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=P(t);if(e){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(t,e){return!e||"object"!==C(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var T=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(a,t);var e,n,r,o=_(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,i.a.getPhrase("shared.localCacheDeviceNotFound","title"))}return e=a,(n=[{key:"name",get:function(){return"LocalCacheDeviceNotFoundError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("shared.localCacheDeviceNotFound","heading"),text:i.a.getPhrase("shared.localCacheDeviceNotFound","body")}}}])&&k(e.prototype,n),r&&k(e,r),a}(o.a),x=n(82);function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function L(t,e){return(L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function A(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=N(t);if(e){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(t,e){return!e||"object"!==j(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var M=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L(t,e)}(a,t);var e,n,r,o=A(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,i.a.getPhrase("shared.emailNotVerified","title"))).onlineUrl=t,e}return e=a,(n=[{key:"name",get:function(){return"EmailNotVerifiedError"}},{key:"heading",get:function(){return i.a.getPhrase("shared.emailNotVerified","heading")}},{key:"description",get:function(){var t=x.a.safeUrlConcat(this.onlineUrl,d.t.VERIFY_EMAIL);return i.a.getPhrase("shared.emailNotVerified","verify",{url:t,linkClasses:"info-link"})}}])&&D(e.prototype,n),r&&D(e,r),a}(y.a);function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function F(t,e){return(F=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function H(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=B(t);if(e){var o=B(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z(this,n)}}function z(t,e){return!e||"object"!==V(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function B(t){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F(t,e)}(a,t);var e,n,r,o=H(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,i.a.getPhrase("shared.noBetaAccess","title"))).marketingSiteUrl=t,e}return e=a,(n=[{key:"name",get:function(){return"NoBetaAccessError"}},{key:"heading",get:function(){return i.a.getPhrase("shared.noBetaAccess","heading")}},{key:"description",get:function(){return"".concat(i.a.getPhrase("shared.noBetaAccess","body"),'\n <a href="').concat(this.marketingSiteUrl,'library-editor">').concat(i.a.getPhrase("shared.noBetaAccess","findOutMore"),"</a>")}}])&&U(e.prototype,n),r&&U(e,r),a}(y.a);n.d(e,"e",(function(){return r.a})),n.d(e,"f",(function(){return h})),n.d(e,"a",(function(){return O})),n.d(e,"c",(function(){return T})),n.d(e,"b",(function(){return M})),n.d(e,"d",(function(){return q}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(1),o=n(6),i=n(56);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=h(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h(t);if(e){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(p,t);var e,n,o,a=f(p);function p(){return c(this,p),a.apply(this,arguments)}return e=p,(n=[{key:"mixin",value:function(t){for(var e in t){if(this.hasOwnProperty(e)){var n=this[e];return void(this[e]=r.extend({},n,t[e]))}this[e]=t[e]}}},{key:"addValidation",value:function(t){this.mixin({validation:t})}},{key:"validate",value:function(t,e){s(h(p.prototype),"validate",this).call(this,t,e)}},{key:"listenTo",value:function(){return i.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],s(h(p.prototype),"listenTo",this))}}])&&u(e.prototype,n),o&&u(e,o),p}(o.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=/\/$/,i={urlBuilder:function(t,e){var n=r.map(e,(function(t,e){return e&&Array.isArray(t)?t.map((function(t){return"".concat(e,"=").concat(encodeURIComponent(t))})).join("&"):e&&void 0!==t?"".concat(e,"=").concat(encodeURIComponent(t)):""})),o=r.reduce(n,(function(t,e){return e?t?"".concat(t,"&").concat(e):e:t}));return o?"".concat(t,"?").concat(o):t},buildFilter:function(t){var e=[];if(t.limit&&e.push("limit:".concat(t.limit)),t.cursor&&e.push("page:".concat(t.cursor)),t.before&&e.push("dateCreated:...".concat(t.before)),e.length)return e.join(",")},makeHttps:function(t){return r.isString(t)?-1===t.indexOf("http://")?t:t=t.replace("http://","https://"):t},safeUrlConcat:function(t,e){if(t){var n=t;return t.endsWith("/")||(n+="/"),e?n+=e.startsWith("/")?e.slice(1):e:n}},removeTrailingSlash:function(t){if("string"==typeof t)return t.replace(o,"")}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(2),o=n(50),i=n(79),a=n(153),c=n(89);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(h,t);var e,n,r,u=p(h);function h(){return s(this,h),u.apply(this,arguments)}return e=h,(n=[{key:"parse",value:function(t){if(!t.data)return t;var e=t.data;return e.children=t.children,e}},{key:"associations",get:function(){return{banner:a.a,thumbnail:c.a,children:i.a,videos:o.a}}}])&&l(e.prototype,n),r&&l(e,r),h}(r.a.NestedModel)},,,,function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o=function(t,e,n){this.statusCode=t,this.statusText=e,this.content=n},i=function(){function t(){}return t.prototype.get=function(t,e){return this.send(r({},e,{method:"GET",url:t}))},t.prototype.post=function(t,e){return this.send(r({},e,{method:"POST",url:t}))},t.prototype.delete=function(t,e){return this.send(r({},e,{method:"DELETE",url:t}))},t.prototype.getCookieString=function(t){return""},t}()},function(t,e,n){"use strict";var r=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return i(this,n),e.apply(this,arguments)}return n}(r.a.Model);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(i,t);var e,n,r,o=d(i);function i(){return p(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"idAttribute",get:function(){return"videoId"}}])&&h(e.prototype,n),r&&h(e,r),i}(r.a.Model),m=n(117);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=E(t);if(e){var o=E(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==w(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var _=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(n,t);var e=C(n);function n(){return S(this,n),e.apply(this,arguments)}return n}(r.a.Model);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function x(t,e){return(x=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=L(t);if(e){var o=L(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D(this,n)}}function D(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var A=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&x(t,e)}(i,t);var e,n,r,o=j(i);function i(){return P(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"associations",get:function(){return{keyContact:m.a,finalisationTask:_}}}])&&T(e.prototype,n),r&&T(e,r),i}(r.a.NestedModel),I=n(83),N=n(233),M=n(1);function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function H(t,e,n){return(H="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=W(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function z(t,e){return(z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function B(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=W(t);if(e){var o=W(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q(this,n)}}function q(t,e){return!e||"object"!==V(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&z(t,e)}(i,t);var e,n,r,o=B(i);function i(){return U(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"parse",value:function(t){return t.id=t.chord,t.children&&!t.children.length&&(t.children=null),t}},{key:"associations",get:function(){return M.extend({},H(W(i.prototype),"associations",this),{children:N.a})}}])&&F(e.prototype,n),r&&F(e,r),i}(I.a);function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K(t,e){return(K=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Q(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=$(t);if(e){var o=$(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Z(this,n)}}function Z(t,e){return!e||"object"!==G(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function $(t){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var X=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K(t,e)}(n,t);var e=Q(n);function n(){return J(this,n),e.apply(this,arguments)}return n}(r.a.Model);function tt(t){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function et(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e){return(nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=it(t);if(e){var o=it(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ot(this,n)}}function ot(t,e){return!e||"object"!==tt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function it(t){return(it=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var at=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nt(t,e)}(n,t);var e=rt(n);function n(){return et(this,n),e.apply(this,arguments)}return n}(r.a.Model);function ct(t){return(ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ut(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e){return(st=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function lt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=pt(t);if(e){var o=pt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ft(this,n)}}function ft(t,e){return!e||"object"!==ct(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function pt(t){return(pt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ht=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&st(t,e)}(n,t);var e=lt(n);function n(){return ut(this,n),e.apply(this,arguments)}return n}(r.a.Model);n.d(e,"a",(function(){return l})),n.d(e,"g",(function(){return g})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return Y})),n.d(e,"e",(function(){return X})),n.d(e,"f",(function(){return at})),n.d(e,"h",(function(){return ht}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={LIBRARY_EDITOR:"library:editor",MIGRATION_WIZARD:"migration:wizard"}},,,function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(131),a=n(74),c=n(122),u=n(2),s=n(3),l=n(15),f=n(541),p=n.n(f),h=n(243),y=n.n(h);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=w(t);if(e){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(i,t);var e,n,r,o=g(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,t)}return e=i,(n=[{key:"viewOptions",value:function(){return{styles:y.a,confirmSelectionText:s.a.getPhrase("shared.utils","confirmSelection",{svg:'<kbd><span class="'.concat(y.a.svgContainer,'">').concat(l.a.getSvg(l.b.Enter),"</span></kbd>")})}}},{key:"name",get:function(){return"ConfirmSelectionComponent"}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return"suggestion-footer empty-suggestion px-2 ".concat(y.a.selectionContainer," clearfix")}}])&&b(e.prototype,n),r&&b(e,r),i}(u.a.Component);function O(t){return function(t){if(Array.isArray(t))return C(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return C(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(t,e)}(t)||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 C(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return k}));var k={handleQuery:function(t,e){return function(n,r,o){if(e||(e={}),n&&e.ignoreOnQuery)return r([]);var u=n&&n.length>=c.a.ActivationLength;return e.fetchType!==a.a.Local||u?u?t instanceof i?t.search.call(t,n,r,o):r([{query:n}]):void 0:r(t.index.all())}},getTemplate:function(t){var e=arguments,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.fallbackTemplate,i=n.templateText;return function(n){var a=n.query;if(!a)return o.apply(void 0,O(e));if(a.length&&a.length<c.a.ActivationLength)return o.apply(void 0,O(e));var u=r.extend(n,{templateText:i});return t(u)}},getSearchSources:function(t){return r.map(t,(function(t,e){var n,r=t.typeaheadConfig,o=t.bloodhoundConfig,i=t.name,a=t.options;return o&&(n=k.buildBloodhound(o(i,a))),r({bloodhound:n,name:i},e,a)}))},buildBloodhound:function(t){return new i(t)},selectFirstResult:function(t,e,n,o){if(n&&!this.$el.find(".tt-cursor").length){var i=r.first(e);if(i&&!r.isEmpty(i)){var a=this.$el.find(".add-new");!a||i.id?(a&&a.hasClass("tt-cursor")&&a.removeClass("tt-cursor"),this.$el.find(".result:first").addClass("tt-cursor")):a.addClass("tt-cursor")}else this.$el.find(".tt-not-found").removeClass("tt-selectable tt-suggestion")}},emitEventOnInput:function(t,e,n,i){if(t)return function(a,c){o.Radio.channel(t).trigger(e,a,n,r.extend({},i,c))}},resetAssociationOnBlur:function(t){return function(e,n){var i=this.model.get(n),a=r.isNumber(this.model.id);return t[n]||a?"string"==typeof i&&i.length?a?void(t.id===this.model.id&&(this.model.set(t),o.Radio.channel(e).trigger("typeahead:set:input",t[n]))):(o.Radio.channel(e).trigger("typeahead:clear:input"),void this.model.set(t)):void 0:(this.model.clear(),void o.Radio.channel(e).trigger("typeahead:clear:input"))}},getConfirmSelectionTemplate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(){return new S(t).render().el}},clearInputOnBlur:function(t){o.Radio.channel(t).trigger("typeahead:clear:input")}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(2),o=n(12),i=n(22);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=new(function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(p,t);var e,n,a,f=l(p);function p(){var t;return c(this,p),(t=f.apply(this,arguments)).routeHistory=[],t.contextHistory=[],t}return e=p,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"initialize",value:function(){this.listenTo(o.a.SHELL,r.a.EventNames.ROUTE,this.setContext),this.listenTo(o.a.SHELL,r.a.EventNames.ROUTE,this.updateRouteHistory)}},{key:"setContext",value:function(t){this.contextHistory.length>=5&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:t})}},{key:"getCurrentContext",value:function(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}},{key:"getPreviousContext",value:function(){if(this.contextHistory.length&&!(this.contextHistory.length-2<0))return this.contextHistory[this.contextHistory.length-2]}},{key:"updateRouteHistory",value:function(t){(r.a.AppLinkHelper.getHref(t)||"/"===r.a.LocationUtils.GetCurrentPath())&&(this.routeHistory.length>=3&&this.routeHistory.unshift(),this.routeHistory.push({pageLoad:!this.routeHistory.length,appLink:t}))}},{key:"getCurrentRoute",value:function(){if(this.routeHistory.length)return this.routeHistory[this.routeHistory.length-1]}},{key:"getPreviousRoute",value:function(){if(this.routeHistory.length&&!(this.routeHistory.length-2<0))return this.routeHistory[this.routeHistory.length-2]}},{key:"fromPageLoad",value:function(){return 1===this.contextHistory.length}},{key:"name",get:function(){return i.b.Context}}])&&u(e.prototype,n),a&&u(e,a),p}(r.a.Service))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SHORT:120,STANDARD:600}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Draft=0]="Draft",t[t.Published=1]="Published",t[t.Archive=2]="Archive",t[t.Pending=3]="Pending",t[t.Rejected=4]="Rejected",t[t.Processing=5]="Processing"}(r||(r={}))},function(t,e,n){"use strict";var r=n(2),o=n(89),i=n(184),a=n(306),c=n(307);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h(t);if(e){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(r.a.Model);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=w(t);if(e){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(n,t);var e=g(n);function n(){return b(this,n),e.apply(this,arguments)}return n}(r.a.Model),O=n(152),C=n(79),k=n(144),E=n(467),_=n(468),R=n(469),P=n(470),T=n(175);function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function L(t,e){return(L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function A(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=N(t);if(e){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(t,e){return!e||"object"!==x(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var M=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L(t,e)}(i,t);var e,n,r,o=A(i);function i(){return j(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return T.a}}])&&D(e.prototype,n),r&&D(e,r),i}(r.a.Collection);function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(t,e){return(F=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function H(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=B(t);if(e){var o=B(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z(this,n)}}function z(t,e){return!e||"object"!==V(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function B(t){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F(t,e)}(n,t);var e=H(n);function n(){return U(this,n),e.apply(this,arguments)}return n}(r.a.Model);function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function G(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function J(t,e){return(J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function K(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Z(t);if(e){var o=Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Q(this,n)}}function Q(t,e){return!e||"object"!==W(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var $=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J(t,e)}(i,t);var e,n,r,o=K(i);function i(){return Y(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return q}}])&&G(e.prototype,n),r&&G(e,r),i}(r.a.Collection),X=n(308),tt=n(288),et=n(230);function nt(t){return(nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function it(t,e){return(it=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function at(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ut(t);if(e){var o=ut(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ct(this,n)}}function ct(t,e){return!e||"object"!==nt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var st=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&it(t,e)}(i,t);var e,n,r,o=at(i);function i(){return rt(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return et.a}}])&&ot(e.prototype,n),r&&ot(e,r),i}(r.a.Collection),lt=n(309);function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function yt(t,e){return(yt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function dt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=vt(t);if(e){var o=vt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return bt(this,n)}}function bt(t,e){return!e||"object"!==ft(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function vt(t){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var gt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yt(t,e)}(i,t);var e,n,r,o=dt(i);function i(){return pt(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return lt.a}}])&&ht(e.prototype,n),r&&ht(e,r),i}(r.a.Collection),mt=n(236);function wt(t){return(wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function St(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ot(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ct(t,e){return(Ct=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function kt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_t(t);if(e){var o=_t(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Et(this,n)}}function Et(t,e){return!e||"object"!==wt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _t(t){return(_t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ct(t,e)}(a,t);var e,n,o,i=kt(a);function a(){return St(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return r.a.Model}}])&&Ot(e.prototype,n),o&&Ot(e,o),a}(r.a.Collection),Pt=n(182);function Tt(t){return(Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Dt(t,e){return(Dt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Lt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=It(t);if(e){var o=It(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return At(this,n)}}function At(t,e){return!e||"object"!==Tt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function It(t){return(It=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Nt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dt(t,e)}(i,t);var e,n,r,o=Lt(i);function i(){return xt(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return Pt.a}}])&&jt(e.prototype,n),r&&jt(e,r),i}(r.a.Collection);function Mt(t){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ft(t,e){return(Ft=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ht(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Bt(t);if(e){var o=Bt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zt(this,n)}}function zt(t,e){return!e||"object"!==Mt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Bt(t){return(Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return qt}));var qt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ft(t,e)}(s,t);var e,n,r,u=Ht(s);function s(){return Vt(this,s),u.apply(this,arguments)}return e=s,(n=[{key:"associations",get:function(){return{rating:a.a,series:i.a,season:O.a,categories:C.a,libraries:k.a,resources:M,interactives:$,chapters:X.a,thumbnail:o.a,producers:E.a,distributors:_.a,productionCompanies:R.a,directors:P.a,channel:c.a,tags:tt.a,subtitles:st,restrictions:gt,localCacheDownloads:mt.a,owner:y,playlist:S,fields:Rt,links:Nt}}}])&&Ut(e.prototype,n),r&&Ut(e,r),s}(r.a.NestedModel)},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(29),o=n(3),i=n(124),a="upload.utils",c={getStatus:function(t){if(c.hasError(t))return o.a.getPhrase(a,"videoProcessingError");if(!t.get("foregroundComplete")){var e=c.getProgress(t);return 0===e?o.a.getPhrase(a,"waiting"):o.a.getPhrase(a,"processing",{progress:e})}return c.isDone(t)?o.a.getPhrase(a,"complete"):o.a.getPhrase(a,"readyToWatch")},hasError:function(t){return t.get("pendingProcessStatus")===i.a.Error},isDone:function(t){return 2===t.get("pendingProcessStatus")},getProgress:function(t){return t.get("foregroundProgress")},hasExpired:function(t,e){var n=t.get("timeInitialized");return r().diff(n,"days")>=e}}},function(t,e,n){"use strict";var r=n(1),o=n(2),i=n(20),a=n(137);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h(t);if(e){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(p,t);var e,n,o,c=f(p);function p(){return u(this,p),c.apply(this,arguments)}return e=p,(n=[{key:"modelId",value:function(t){return t.type}},{key:"parse",value:function(t){var e=this;return r.map(r.keys(t),(function(n){var o=t[n],i=e.getType(n);return{id:i,type:i,options:r.map(o,(function(t){return{id:t,name:t,value:t}}))}}))}},{key:"getType",value:function(t){return"categories"===t?i.a.Folder:"tags"===t?i.a.Tags:t}},{key:"model",get:function(){return a.a}}])&&s(e.prototype,n),o&&s(e,o),p}(o.a.Collection);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(i,t);var e,n,r,o=m(i);function i(){return b(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return a.b}}])&&v(e.prototype,n),r&&v(e,r),i}(o.a.Collection);n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return O}))},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={CURRENT_USER:"currentUser",CONFIG:"config",VERSION:"version",LOCALE:"locale",PHRASES:"phrases",CUSTOMER_META:"customerMeta"}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t}var p;n.d(e,"c",(function(){return p})),n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return v})),function(t){t.LocalStorage="localStorage",t.SessionStorage="sesstionStorage"}(p||(p={}));var h=function(){function t(e){s(this,t),this.cachePrefix="_cv:",this.expireTime=3600,this.hasSupport=this.hasBrowserSupport(),this.type=e.type,this.hasSupport&&(this.storage=window[this.type])}return f(t,[{key:"get",value:function(t){if(this.hasSupport){var e=this.storage.getItem(t);try{return JSON.parse(e)}catch(t){return e}}}},{key:"set",value:function(t,e){if(this.hasSupport)try{return this.storage.removeItem(t),"string"!=typeof e?(this.storage.setItem(t,JSON.stringify(e)),!0):(this.storage.setItem(t,e),!0)}catch(t){return!1}}},{key:"remove",value:function(t){if(this.hasSupport)return this.storage.removeItem(t)}},{key:"length",value:function(){if(this.hasSupport)return this.storage.length}},{key:"clear",value:function(){if(this.hasSupport)return this.storage.clear()}},{key:"cacheSet",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.expireTime;this.cacheClean();var r={time:this.getCurrentTime()+1e3*n,data:null!=e&&e};return this.set("".concat(this.cachePrefix).concat(t),r)}},{key:"cacheGet",value:function(t){var e="".concat(this.cachePrefix).concat(t),n=this.get(e);return n?this.isExpired(n)?(this.remove(e),null):n.data:null}},{key:"cacheExists",value:function(t){var e="".concat(this.cachePrefix).concat(t),n=this.get(e);return!!n&&(!this.isExpired(n)||(this.remove(e),!1))}},{key:"cacheRemove",value:function(t){return this.remove("".concat(this.cachePrefix).concat(t))}},{key:"cacheFlush",value:function(){this.cacheClean()}},{key:"cacheClean",value:function(){if(this.hasSupport)for(var t=0;t<this.storage.length;t++){var e=this.storage.key(t);if(0===e.indexOf(this.cachePrefix)){var n=this.get(e);n&&n.time&&this.isExpired(n)&&this.remove(e)}}}},{key:"isExpired",value:function(t){return t.time<this.getCurrentTime()}},{key:"getCurrentTime",value:function(){return(new Date).getTime()}},{key:"hasBrowserSupport",value:function(){try{return this.type in window&&null!==window[this.type]}catch(t){return!1}}}]),t}(),y=function(t){o(n,t);var e=a(n);function n(){return s(this,n),e.apply(this,arguments)}return f(n,null,[{key:"Instance",get:function(){return this.instance||(this.instance=new this({type:p.LocalStorage}))}}]),n}(h),d=function(t){o(n,t);var e=a(n);function n(){return s(this,n),e.apply(this,arguments)}return f(n,null,[{key:"Instance",get:function(){return this.instance||(this.instance=new this({type:p.SessionStorage}))}}]),n}(h),b=y.Instance,v=d.Instance},function(t,e,n){t.exports={alertItem:"_6L-Rn",fadeIn:"_2ISjU",icon:"_3X3sP",alertContent:"_2_sUY",heading:"_2nrzl",message:"_1UIK0",link:"_2xwcl",svgContainer:"_2yj4z",alertList:"_1O_xv",removing:"_3pw7F",fadeOut:"eLPSS",removed:"OqzPi"}},,,,,,,,,function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Unknown=0]="Unknown",t[t.BadRequest=1]="BadRequest",t[t.Unauthorized=2]="Unauthorized",t[t.Forbidden=3]="Forbidden",t[t.NotFound=4]="NotFound",t[t.InternalServer=5]="InternalServer"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={ALERT:"AlertService",SCROLL:"ScrollService",LANGUAGE:"LanguageService"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){}return t.prototype.log=function(t,e){},t.instance=new t,t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={LAZY_LOAD:"lazy:load:behavior",POPUP:"popup:behavior",IMAGE_SELECT:"image:select:behavior"}},function(t,e,n){"use strict";var r=n(1),o=n(2);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(n,t);var e=u(n);function n(){return a(this,n),e.apply(this,arguments)}return n}(o.a.Model);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(n,t);var e=d(n);function n(){return h(this,n),e.apply(this,arguments)}return n}(o.a.Model);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=E(t);if(e){var o=E(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return _}));var _=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(a,t);var e,n,o,i=C(a);function a(){return w(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"parse",value:function(t){var e=["avatar","customerLogo"],n=r.omit(t,e);return r.each(e,(function(e){r.isObject(t[e])?n[e]=t[e]:t[e]&&(n[e]={url:t[e]})})),n}},{key:"associations",get:function(){return{avatar:f,customerLogo:g}}}])&&S(e.prototype,n),o&&S(e,o),a}(o.a.NestedModel)},function(t,e,n){"use strict";var r=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return i(this,n),e.apply(this,arguments)}return n}(r.a.Model),f=n(50);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(i,t);var e,n,r,o=b(i);function i(){return h(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"associations",get:function(){return{videos:f.a}}}])&&y(e.prototype,n),r&&y(e,r),i}(r.a.NestedModel);n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return m}))},function(t,e,n){"use strict";var r=n(6),o=n(120),i=n(225),a=n(2),c=n(19);function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s=n(4).g.V1,l=function(){function t(e,n,r,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.type=e,this.data=n,this.actionContext=r,this.eventVersion=o||s}var e,n,r;return e=t,(n=[{key:"isType",value:function(t){return t===this.type}},{key:"enrich",value:function(t,e){this.validateKey(t),this[t]=e}},{key:"get",value:function(t){if(t&&this[t])return this[t]}},{key:"validateKey",value:function(t){"type"!==t&&"data"!==t||a.a.ErrorHelper.throw(new c.a("".concat(t," is not a valid key"))),this[t]&&a.a.ErrorHelper.throw(new c.a("Event already contains an enrichment named ".concat(t)))}}])&&u(e.prototype,n),r&&u(e,r),t}();n.d(e,"a",(function(){return f}));var f={log:function(t,e,n,a){r.Radio.channel(i.a.ANALYTICS).trigger(o.a.Inlet,new l(t,e,n,a))}}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Inlet="event:inlet",t.Outlet="event:outlet"}(r||(r={}))},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Fifo="FifoMemoryCache"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={ActivationLength:1,SuggestionLimit:{Min:1,Default:3,Folder:3,Recent:3}}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Received=1]="Received",t[t.Seen=2]="Seen",t[t.Read=3]="Read"}(r||(r={}))},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Error=-1]="Error",t[t.Processing=1]="Processing",t[t.Completed=2]="Completed"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){}return t.write=function(e){return""+e+t.RecordSeparator},t.parse=function(e){if(e[e.length-1]!==t.RecordSeparator)throw new Error("Message is incomplete.");var n=e.split(t.RecordSeparator);return n.pop(),n},t.RecordSeparatorCode=30,t.RecordSeparator=String.fromCharCode(t.RecordSeparatorCode),t}()},function(t,e,n){"use strict";var r,o,i,a=n(3),c="search.utils",u=(new Date).getFullYear(),s={DURATION:[{id:"0",value:"0",start:0,end:599999,name:function(){return a.a.getPhrase(c,"short")},description:function(){return a.a.getPhrase(c,"lessThan10Min")}},{id:"600000",value:"600000",start:6e5,end:2399999,name:function(){return a.a.getPhrase(c,"medium")},description:function(){return a.a.getPhrase(c,"11To40Min")}},{id:"2400000",value:"2400000",start:24e5,end:Number.MAX_VALUE,name:function(){return a.a.getPhrase(c,"long")},description:function(){return a.a.getPhrase(c,"greaterThan40Min")}}],PRODUCTION_YEAR:[{id:"...",from:0,to:0,value:"...",name:function(){return a.a.getPhrase(c,"anyYear")},active:!0,isDefault:!0},{id:"".concat(u,"..."),from:u,to:0,value:"".concat(u,"..."),name:function(){return a.a.getPhrase(c,"thisYear")}},{id:"".concat(u-3,"..."),from:u-3,to:0,value:"".concat(u-3,"..."),name:function(){return a.a.getPhrase(c,"last3Years")}},{id:"".concat(u-10,"..."),from:u-10,to:0,value:"".concat(u-10,"..."),name:function(){return a.a.getPhrase(c,"last10Years")}}]};!function(t){t.Video="video",t.Folder="folder",t.Series="series",t.HostedLibrary="hosted_library",t.CustomLibrary="custom_library"}(r||(r={})),function(t){t.Since="since-",t.Before="before-",t.LongerThan="longer-than-",t.ShorterThan="shorter-than-",t.To="-to-",t.Libraries="libraries",t.Ratings="ratings"}(o||(o={})),function(t){t.Inclusive="inclusive",t.Exclusive="exclusive",t.Boolean="boolean",t.Range="range",t.Tag="tag"}(i||(i={}));var l,f=n(1),p=n(29),h=n(20),y=n(99),d=n(0);function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var v,g=(b(l={},h.a.Ratings,(function(t){var e=t.options.filter((function(t){return t.get("active")})),n=f.map(e,(function(t){return t.get("value")}));if(!n.length)return null;var r=f.min(n);r===t.options.first().get("value")&&(r=0);var o=f.max(n),i="".concat(r,"...").concat(o);return"rating:".concat(i)})),b(l,h.a.ProductionYear,(function(t){var e=t.options.find((function(t){return t.get("active")}));if(!e)return null;var n=e.get("from")||"",r=e.get("to")||"";if(!n&&!r)return null;var o="".concat(n,"...").concat(r);return"productionYear:".concat(o)})),b(l,h.a.Duration,(function(t){var e=t.options.filter((function(t){return t.get("active")}));if(!e.length)return null;var n=e.map((function(t){return t.get("start")})),r=e.map((function(t){return t.get("end")})),o=f.min(n),i=f.max(r);i===Number.MAX_VALUE&&(i="");var a="".concat(o,"...").concat(i);return"duration:".concat(a)})),b(l,"boolean",(function(t){return t.get("active")?"".concat(t.get("type"),":true"):""})),l);function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w,S=(m(v={},h.a.Sources,(function(t,e){if(t.options.any((function(t){return t.get("dry")}))){var n=[];return t.options.each((function(t){return n.push(t.get("id"))})),{sources:"".concat(n.join(","))}}var r=f.map(t.options.filter((function(t){return t.get("active")})),(function(t){return t.get("id")}));if(r.length||(r=t.options.models),r.length===e.length)return{};var i=[];f.every(R.getLibraries(e),(function(t){return f.contains(r,t.id)}))?i.push(o.Libraries):f.each(R.getLibraries(e),(function(t){f.contains(r,t.id)&&i.push("library-".concat(t.id))}));var a=R.getExchange(e),c=R.getWorkspace(e);return a&&f.contains(r,a.id)&&i.push("exchange"),c&&f.contains(r,c.id)&&i.push("workspace"),{libraries:"".concat(i.join(","))}})),m(v,h.a.Ratings,(function(t){var e=t.options.filter((function(t){return t.get("active")}));if(!f.map(e,(function(t){return t.get("value")})).length)return{};var n=f.min(e,(function(t){return t.get("value")})),r=f.max(e,(function(t){return t.get("value")})),i="".concat(n.get("name")).concat(o.To).concat(r.get("name"));return n.get("name")===r.get("name")&&(i=n.get("name")),{ratings:i}})),m(v,h.a.ProductionYear,(function(t){var e=t.options.find((function(t){return t.get("active")}));if(!e)return{};var n=e.get("from"),r=e.get("to");if(!n&&!r)return{};return{productionYear:n&&!r?"".concat(o.Since).concat(n):r&&!n?"".concat(o.Before).concat(r):"".concat(n).concat(o.To).concat(r)}})),m(v,h.a.Duration,(function(t){var e=t.options.filter((function(t){return t.get("active")}));if(!e.length||e.length===t.options.length)return{};var n=f.min(e,(function(t){return t.get("start")})),r=f.max(e,(function(t){return t.get("end")})),i=R.toISOString(n.get("start")),a=R.toISOString(r.get("end"));return{duration:i&&!a?"".concat(o.LongerThan).concat(i.toLowerCase()):a&&!i?"".concat(o.ShorterThan).concat(a.toLowerCase()):"".concat(i.toLowerCase()).concat(o.To).concat(a.toLowerCase())}})),m(v,h.a.Tags,(function(t){var e=f.map(t.options.filter((function(t){return t.get("active")})),(function(t){return t.get("name")}));if(e.length)return{tag:f.map(e,(function(t){return t}))}})),m(v,"boolean",(function(t){return t.get("active")?m({},t.get("type"),!0):{}})),m(v,"default",(function(t){var e=t.options.find((function(t){return t.get("active")}));return e?m({},t.get("type"),e.get("value")):{}})),v),O=n(27);function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var k=(C(w={},h.a.Sources,(function(t){var e=f.map(t.options.filter((function(t){return t.get("active")})),(function(t){return t.get("name")}));return 1===e.length?e[0]:a.a.getPhrase("search.utils","librariesLabel",{count:e.length})})),C(w,h.a.Ratings,(function(t){var e=t.options.filter((function(t){return t.get("active")}));if(!f.map(e,(function(t){return t.get("value")})).length)return"";var n=f.min(e,(function(t){return t.get("value")})),r=f.max(e,(function(t){return t.get("value")})),o="".concat(n.get("name")," to ").concat(r.get("name"));return n.get("name")===r.get("name")&&(o=n.get("name")),a.a.getPhrase("search.utils","ratingLabel",{ratings:o})})),C(w,h.a.ProductionYear,(function(t){var e=t.options.find((function(t){return t.get("active")}));if(!e)return"";var n=e.get("from"),r=e.get("to");return n||r?n&&!r?a.a.getPhrase("search.utils","productionYearLabelFrom",{from:n}):r&&!n?a.a.getPhrase("search.utils","productionYearLabelTo",{to:r}):a.a.getPhrase("search.utils","productionYearLabelFromTo",{from:n,to:r}):""})),C(w,h.a.Duration,(function(t){var e=t.options.filter((function(t){return t.get("active")}));if(!e.length)return"";var n=f.min(e,(function(t){return t.get("start")})),r=f.max(e,(function(t){return t.get("end")})),o=R.toISOString(n.get("start")),i=R.toISOString(r.get("end"));return o&&!i?a.a.getPhrase("search.utils","durationLabelLonger",{start:o.toLowerCase()}):i&&!o?a.a.getPhrase("search.utils","durationLabelShorter",{end:i.toLowerCase()}):a.a.getPhrase("search.utils","durationLabelFromTo",{start:o.toLowerCase(),end:i.toLowerCase()})})),C(w,h.a.Tags,(function(t){var e=f.map(t.options.filter((function(t){return t.get("active")})),(function(t){return t.get("name")}));return 1===e.length?e[0]:a.a.getPhrase("search.utils","tagLabel",{count:e.length})})),C(w,O.a.ReleaseDate,(function(t){var e=t.options.find((function(t){return t.get("active")}));return e?e.get("name"):t.get("title")})),w);function E(t){return function(t){if(Array.isArray(t))return _(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t)||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 _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var R={getFilterCollection:function(t,e){return new y.a([{title:a.a.getPhrase("search.utils","library"),type:h.a.Sources,behavior:i.Inclusive,isDynamic:!1,showInMoreFilters:!1,selectAllWhenNoneSelected:!0,minNumOptions:2,prefixWhenActive:!1,options:R.getSourceOptions(t)},{title:a.a.getPhrase("search.utils","folder"),type:h.a.Folder,behavior:i.Exclusive,isDynamic:!0,showInMoreFilters:!1,defaultOptionLabel:"All Folders",showWhenOnlyOneOption:!1,minNumOptions:0,prefixWhenActive:!0,options:[]},{title:a.a.getPhrase("search.utils","series"),type:h.a.Series,behavior:i.Exclusive,isDynamic:!0,showInMoreFilters:!1,defaultOptionLabel:"All Series",showWhenOnlyOneOption:!1,minNumOptions:1,prefixWhenActive:!0,options:[]},{title:a.a.getPhrase("search.utils","tag"),type:h.a.Tags,behavior:i.Tag,isDynamic:!0,showInMoreFilters:!1,showWhenOnlyOneOption:!0,minNumOptions:0,prefixWhenActive:!0,options:[]},{title:a.a.getPhrase("search.utils","rating"),type:h.a.Ratings,behavior:i.Range,isDynamic:!1,showInMoreFilters:!1,showWhenOnlyOneOption:!0,minNumOptions:1,prefixWhenActive:!1,options:R.getRatings(e)},{title:a.a.getPhrase("search.utils","interactives"),description:"Only display videos with interactives",type:h.a.Interactives,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!1,active:!1,prefixWhenActive:!1},{title:a.a.getPhrase("search.utils","resources"),description:a.a.getPhrase("search.utils","resourcesDescription"),type:h.a.Resources,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!1,active:!1,prefixWhenActive:!1},{title:a.a.getPhrase("search.utils","subtitles"),description:a.a.getPhrase("search.utils","subtitlesDescription"),type:h.a.Subtitles,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!1,active:!1,prefixWhenActive:!1},{title:a.a.getPhrase("search.utils","productionYear"),type:h.a.ProductionYear,behavior:i.Exclusive,isDynamic:!1,showInMoreFilters:!0,minNumOptions:1,prefixWhenActive:!1,options:s.PRODUCTION_YEAR},{title:a.a.getPhrase("search.utils","clickViewContent"),description:a.a.getPhrase("search.utils","clickViewContentDescription"),type:h.a.ProducedByClickView,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!0,active:!1,prefixWhenActive:!1},{title:a.a.getPhrase("search.utils","hdVideo"),description:a.a.getPhrase("search.utils","hdVideoDescription"),type:h.a.HD,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!0,active:!1,prefixWhenActive:!1},{title:a.a.getPhrase("search.utils","duration"),type:h.a.Duration,behavior:i.Exclusive,showInMoreFilters:!0,minNumOptions:1,isDynamic:!1,prefixWhenActive:!1,options:s.DURATION}])},getSourceOptions:function(t){return t.map((function(t){return{id:t.get("id"),name:t.get("name"),type:t.get("type"),value:t.get("id")}}))},getRatings:function(t){return t.filter((function(t){return!!t.get("value")})).map((function(t){return{value:t.get("value"),name:t.get("code"),fullName:t.get("name")}}))},getDynamicFiltersQueryString:function(t){var e,n=[],r=t.where({isDynamic:!0});return r?(f.each(r,(function(t){(e=t.options.filter((function(t){return t.get("active")}))).length&&e.forEach((function(e){return n.push("".concat(t.get("type"),':"').concat(e.get("value"),'"'))}))})),n.join(" ")):""},getSourceFilterQueryString:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"libraryIds",n=t.get(h.a.Sources),r=n.options.filter((function(t){return t.get("active")}));return r.length||(r=n.options.models),"".concat(e,"=").concat(f.map(r,(function(t){return t.get("id")})).join(","))},getTagFilterQueryString:function(t){var e=t.get(h.a.Tags).options.filter((function(t){return t.get("active")}));return e.length?"".concat(f.map(e,(function(t){return'tags:"'.concat(t.get("name"),'"')})).join(" ")):""},getQueryString:function(t){return t.map((function(t){return R.getFilterQueryString(t)})).filter((function(t){return t})).join(",")},getFilterQueryString:function(t){return R.isBooleanType(t)?g.boolean(t):f.isFunction(g[t.get("type")])?g[t.get("type")](t):""},getRouteQueryParams:function(t,e){var n=S,r={};return t.each((function(t){var o={};o=t.get("type")===h.a.Sources?n[h.a.Sources](t,e):f.isFunction(n[t.get("type")])?n[t.get("type")](t):R.isBooleanType(t)?n.boolean(t):n.default(t),r=f.extend(r,o)})),r},getFilterLabel:function(t){var e=R.createLabel(t);return e=R.truncateLabel(e),e=R.prefixLabel(e,t)},createLabel:function(t){if(t.get("behavior")===i.Boolean)return t.get("title");if(f.isFunction(k[t.get("type")]))return k[t.get("type")](t);var e=t.options.find((function(t){return t.get("active")}));return e?e.get("value"):""},prefixLabel:function(t,e){return e.get("prefixWhenActive")?R.getSelectedOptions(e.get("options")).length>1?t:"".concat(e.get("title"),": ").concat(t):t},truncateLabel:function(t){if(!t||t.length<20)return t;var e=t.slice(0,17);return"".concat(e,"...")},setFilters:function(t,e){f.each(f.keys(t),(function(n){var r=t[n],o=e.findWhere({type:n});o&&(R.isBooleanType(o)&&R.selectBoolean(n,r,e),n===h.a.Sources&&R.selectSources(r,e),n===h.a.Duration&&R.selectDurations(r,e),n===h.a.Folder&&R.selectFolder(r,e),n===h.a.ProductionYear&&R.selectProductionYear(r,e),n===h.a.Ratings&&R.selectRating(r,e),n===h.a.Series&&R.selectSeries(r,e),n===h.a.Tags&&R.selectTags(r,e))})),e.each((function(e){e.get("selectAllWhenNoneSelected")&&(f.contains(f.keys(t),e.get("type"))||R.selectAllOptions(e))}))},selectBoolean:function(t,e,n){n.get(t).set({active:e})},selectSources:function(t,e){var n=t.split(","),i=e.get(h.a.Sources);i.options.length?f.each(n,(function(t){var e=i.options.find((function(e){return e.get("type").toLowerCase()===t.toLowerCase()}));if(e)e.set("active",!0);else if(t!==o.Libraries){var n=t.split("-")[1];if(n){var a=i.options.findWhere({id:+n});a&&a.set("active",!0)}}else{var c=i.options.where({type:r.CustomLibrary});f.each(c,(function(t){return t.set("active",!0)}))}})):f.each(n,(function(t){i.options.add({id:t,name:t,dry:!0,active:!0,type:t})}))},selectDurations:function(t,e){var n,r,i,c=e.get(h.a.Duration),u=0;if(t.indexOf(o.LongerThan)>=0&&(n=t.replace(o.LongerThan,"")),t.indexOf(o.ShorterThan)>=0&&(r=t.replace(o.ShorterThan,"")),t.indexOf(o.To)>=0){var l=t.split(o.To);n=l[0],r=l[1]}i=n?p.duration("PT".concat(n.toString().toUpperCase())).asMilliseconds():0,u=r?p.duration("PT".concat(r.toString().toUpperCase())).asMilliseconds():Number.MAX_VALUE,c.options.each((function(t){var e=t.get("start"),n=t.get("end");i<=e+1001&&i>=e-1001&&u>=n-1001&&u<=n+1001&&t.set("active",!0)})),c.options.any((function(t){return t.get("active")}))||c.options.add([{id:"custom",start:i,end:u,name:a.a.getPhrase("search.utils","custom"),description:"".concat(t.replace(/-/g," ")),active:!0}].concat(E(s.DURATION)))},selectFolder:function(t,e){var n=e.get(h.a.Folder),r=n.options.find((function(e){return e.get("id").toLowerCase()===t.toLowerCase()}));r?r.set("active",!0):n.options.add([].concat(E(n.options.toJSON()),[{id:t,value:t,name:t,active:!0}]))},selectProductionYear:function(t,e){var n,r,i=e.get(h.a.ProductionYear);if(R.clearOptions(i),t.indexOf(o.Since)>=0&&(n=+t.replace(o.Since,"")),t.indexOf(o.Before)>=0&&(r=+t.replace(o.Before,"")),t.indexOf(o.To)>=0){var c=t.split(o.To);n=+c[0],r=+c[1]}i.options.each((function(t){+t.get("from")===n&&t.set("active",!0)})),i.options.any((function(t){return t.get("active")}))||i.options.add([{id:t,from:n,to:r,name:a.a.getPhrase("search.utils","custom"),value:t,active:!0}].concat(E(s.PRODUCTION_YEAR)))},selectRating:function(t,e){var n=e.get(h.a.Ratings),r=t.split(o.To);r[0]&&(r[0]=r[0].trim().toLowerCase()),r[1]&&(r[1]=r[1].trim().toLowerCase());var i=n.options.find((function(t){return t.get("name").toLowerCase()===r[0]})),a=n.options.find((function(t){return t.get("name").toLowerCase()===r[1]})),c=i&&i.get("value"),u=a&&a.get("value")||c,s=n.options.filter((function(t){return t.get("value")>=c&&t.get("value")<=u}));f.each(s,(function(t){return t.set("active",!0)}))},selectSeries:function(t,e){e.get(h.a.Series).options.add({id:t,value:t,name:t,count:0,active:!0})},selectTags:function(t,e){var n=e.get(h.a.Tags);if(!n.options.length){var r=f.isArray(t)?t:[t];f.each(r,(function(t){n.options.add({id:t,name:t,value:t,active:!0})}))}},showFilter:function(t){return t.get("behavior")===i.Boolean||t.options.length>=t.get("minNumOptions")},getExchange:function(t){return R.getSource(t,d.q.Exchange)},getWorkspace:function(t){return R.getSource(t,d.q.Workspace)},getLibraries:function(t){return[].concat(E(R.getSources(t,d.q.CustomLibrary)),E(R.getSources(t,d.q.HostedLibrary)))},getHostedLibraries:function(t){return R.getSources(t,d.q.HostedLibrary)},getCustomLibraries:function(t){return R.getSources(t,d.q.CustomLibrary)},getSource:function(t,e){return t.find((function(t){return t.get("type")===e}))},getSources:function(t,e){return t.filter((function(t){return t.get("type")===e}))},hasFilterChanged:function(t,e){return t.get("behavior")===i.Boolean?t.get("active")!==e.get("active"):R.isInclusiveType(t)||R.isTagType(t)?R.haveOptionsChanged(t,e):R.hasOptionChanged(t,e)},haveOptionsChanged:function(t,e){var n=e.options.where({active:!0}),r=t.options.where({active:!0});return!n||!r||(n.length!==r.length||!n.every((function(t,e){return t.get("value")===r[e].get("value")})))},hasOptionChanged:function(t,e){var n=R.getSelectedOption(e.options,t.get("behavior")),r=R.getSelectedOption(t.options,t.get("behavior"));return!(!n&&!r)&&(!!(!n&&r||n&&!r)||n.get("value")!==r.get("value"))},clearFilters:function(t){t.each((function(t){t.get("selectAllWhenNoneSelected")?R.selectAllOptions(t):t.get("behavior")===i.Boolean?t.set("active",!1):R.clearOptions(t,!0)}))},clearOptions:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.options.each((function(t){e&&t.get("isDefault")?t.set("active",!0):t.set("active",!1)}))},selectAllOptions:function(t){t.options.each((function(t){return t.set("active",!0)}))},getSelectedOption:function(t,e){return e===i.Range?R.getSelectedOptionInRange(t):t.findWhere({active:!0})},getSelectedOptions:function(t){return new y.b(t.filter((function(t){return t.get("active")})))},getSelectedOptionInRange:function(t){var e=t.where({active:!0});return f.last(e)},isInclusiveType:function(t){return t.get("behavior")===i.Inclusive},isBooleanType:function(t){return t.get("behavior")===i.Boolean},isTagType:function(t){return t.get("behavior")===i.Tag},isSelected:function(t){return R.isBooleanType(t)?t.get("active"):R.isInclusiveType(t)?!R.allOptionsSelected(t):R.hasOptionSelected(t)},hasOptionSelected:function(t){return t.options.any((function(t){return!t.get("isDefault")&&t.get("active")}))},allOptionsSelected:function(t){return t.options.every((function(t){return t.get("active")}))},toISOString:function(t){if(!t||t===Number.MAX_VALUE)return"";var e=Math.ceil(t/1e3);return p.duration(1e3*e).toISOString().replace("PT","")},getFilterSelectedOptionsAnalyticsData:function(t){if(R.isBooleanType(t))return t.get("active");if(R.isInclusiveType(t))return R.getInclusiveFilterSelectedOptionsAnalyticsData(t);var e=R.getSelectedOption(t.options,t.get("behavior"));return e&&e.get("name")},getInclusiveFilterSelectedOptionsAnalyticsData:function(t){var e=t.options.where({active:!0});return e.length||(e=t.options.toArray()),t.get("type")===h.a.Sources?e.map((function(t){return t.get("id")})).join(","):e.map((function(t){return t.get("name")})).join(",")}},P=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},T={setQueryParams:function(t,e,n){var r=t.query,o=P(t,["query"]);e.set({query:r,initialQuery:r}),R.setFilters(o,n)},getQueryString:function(t,e,n){var r="",o=T.encodeURL(t.get("query"))||"",i=R.getDynamicFiltersQueryString(e),a=R.getSourceFilterQueryString(e);(o||i)&&(r+="q=".concat(o)),i&&(r+=" ".concat(i)),r&&a&&(r+="&".concat(a));var c=[],u=R.getQueryString(e);return u&&c.push(u),n&&c.push("page:".concat(n)),c.length&&(r+="&filter={".concat(c.join(","),"}")),r},getDynamicFilterQueryString:function(t,e){var n="",r=t.get("query")?T.encodeURL(t.get("query")):"",o=R.getTagFilterQueryString(e),i=R.getSourceFilterQueryString(e,"ids");return(r||o)&&(n+="q=".concat(r)),o&&(n+=" ".concat(o)),i&&(n+="&".concat(i)),n},getRouteQueryParams:function(t,e,n){var r=t.get("query")?{query:t.get("query")}:{};return f.extend(r,R.getRouteQueryParams(e,n))},encodeURL:function(t){return t?t.replace("&","%26").replace("#","%23"):""}};n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return T})),n.d(e,"b",(function(){return R}))},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(79);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(f,t);var e,n,i,l=s(f);function f(){return a(this,f),l.apply(this,arguments)}return e=f,(n=[{key:"defaults",value:function(){return{children:[],categoryTree:{}}}},{key:"parse",value:function(t){if(!t.data)return t;var e=t.data;return e.children=t.children,e}},{key:"associations",get:function(){return{children:o.a,categoryTree:r.a.Model}}}])&&c(e.prototype,n),i&&c(e,i),f}(r.a.NestedModel)},function(t,e){t.exports=i},function(t,e,n){"use strict";var r=n(317),o=n.n(r);n.d(e,"d",(function(){return o.a}));var i=n(318),a=n.n(i);n.d(e,"b",(function(){return a.a}));var c=n(319),u=n.n(c);n.d(e,"c",(function(){return u.a}));var s=n(320),l=n.n(s);n.d(e,"a",(function(){return l.a}))},function(t,e,n){t.exports={svgContainer:"_1ZcbC",searchContextTag:"_1RLqh",tagFocus:"_179a5",searchContextContainer:"_3nPVB"}},function(t,e,n){t.exports={actions:"_1n37b",spinner:"_3Fpix",cancel:"_2ZmdX",hiddenCancel:"_1PypJ",processProgress:"_3dASy",errorMargin:"_3GfnF"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(1);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(l,t);var e,n,o,s=u(l);function l(){return i(this,l),s.apply(this,arguments)}return e=l,(n=[{key:"getElement",value:function(){return this.options.selector?this.view.getUI("tooltip"):this.view.$el}},{key:"getOptions",value:function(){var t={placement:this.options.placement};return this.options.title&&(t.title=this.options.title),t}},{key:"onRender",value:function(){var t=this.getElement();t.length&&t.tooltip(this.getOptions())}},{key:"onBeforeDetach",value:function(){var t=this.getElement();t instanceof jQuery&&t.tooltip("dispose")}},{key:"defaults",get:function(){return{placement:"top"}},set:function(t){}},{key:"ui",get:function(){return this.options.selector?{tooltip:this.options.selector}:{}},set:function(t){var e={};this.view.ui&&(e=r.result(this.view,"ui")),this.view._ui=r.extend({},e,t)}}])&&a(e.prototype,n),o&&a(e,o),l}(n(2).a.Behavior)},function(t,e,n){"use strict";n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return g}));var r=n(5),o=n(14),i=n(117),a=n(16),c=n(0),u=n(102),s=n(17);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(l,t);var e,n,r,o=y(l);function l(){return f(this,l),o.apply(this,arguments)}return e=l,(n=[{key:"getCurrentUser",value:function(t,e){return this.get({resource:"/api/currentuser",formatData:function(t){return new i.a(t,{parse:!0})},eventPrefix:c.f.CURRENT_USER,bootstrapName:u.a.CURRENT_USER,expiryTime:s.a.STANDARD,callback:t,errorCallback:e})}},{key:"name",get:function(){return a.a.User}},{key:"channelName",get:function(){return c.e.USER}}])&&p(e.prototype,n),r&&p(e,r),l}(o.a),g={currentUser:{dataServiceName:a.a.User,eventName:"".concat(c.f.CURRENT_USER,":sync"),getData:function(t){return t.getCurrentUser()},getInstance:function(t){return r.a.getInstance(a.a.User,t)},beforeOnBeforeRender:!0}}},function(t,e,n){"use strict";var r=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return i(this,n),e.apply(this,arguments)}return n}(r.a.Model),f=n(99);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(i,t);var e,n,r,o=b(i);function i(){return h(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"idAttribute",get:function(){return"type"}},{key:"associations",get:function(){return{options:f.b}}}])&&y(e.prototype,n),r&&y(e,r),i}(r.a.NestedModel);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_(t);if(e){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return E(this,n)}}function E(t,e){return!e||"object"!==w(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var R=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e)}(i,t);var e,n,r,o=k(i);function i(){return S(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"idAttribute",get:function(){return"value"}}])&&O(e.prototype,n),r&&O(e,r),i}(r.a.Model);n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return R}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return $})),n.d(e,"b",(function(){return X}));var r=n(1),o=n(6),i=n(5),a=n(14),c=n(232),u=n(96),s=n(0),l=n(83),f=n(130),p=n(153),h=n(89),y=n(79),d=n(144),b=n(49),v=n(16),g=n(8),m=n(17),w=n(90),S=n(13),O=n(3);function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function R(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=T(t);if(e){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return P(this,n)}}function P(t,e){return!e||"object"!==C(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(){return"/api/domain/v2/me/libraries?type=customlibrary&type=unpublishedcustomlibrary"},j=function(){return"/api/domain/v2/me/libraries?type=2"},D=function(t){return"/api/domain/v2/me/libraries?type=exchange&maxCategoryDepth=".concat(t)},L=function(t){return"/api/domain/v2/objects/".concat(t,"?query=").concat(s.A.FOLDER)},A=function(t,e){return"/api/domain/v2/collections/".concat(t,"/categories").concat(e?"?parentCategoryId=".concat(e):"")},I=function(t){return"/api/domain/v2/objects/".concat(t)},N=function(t){return"/api/domain/v2/objects/".concat(t)},M=function(){return"/api/domain/v2/objects/move"},V=function(t){return"/api/domain/v2/objects/".concat(t,"/customlibraries")},U=function(t){return"/api/domain/v2/objects/".concat(t)},F=function(t){return"/api/domain/v2/objects/".concat(t,"/banner")},H=function(t,e){return"/api/domain/v2/objects/".concat(t,"/banner/").concat(e)},z=function(t){return"/api/domain/v2/objects/".concat(t,"/thumbnail")},B=function(t,e){return"/api/domain/v2/objects/".concat(t,"/thumbnail/").concat(e)},q=function(t,e,n){var r=["query={".concat(e,"}").concat(s.A.LIBRARY_FOLDERS)];return n&&r.push("cursor=".concat(n)),"/api/domain/v2/objects/".concat(t,"/categories?").concat(r.join("&"))},W=function(){return"libraries"},Y=function(){return"hosted:libraries"},G=function(t){return"exchange:".concat(t)},J=function(t){return"".concat(s.f.FOLDER,":").concat(t)},K=function(t){return"library:".concat(t)},Q=function(t){return"library:status:".concat(t)},Z={libraries:function(t){return new d.a(t,{parse:!0})},folders:function(t){return new y.a(t.data)},folder:function(t){return new l.a(t)},library:function(t){return new f.a(t)}},$=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(c,t);var e,n,i,a=R(c);function c(){return k(this,c),a.apply(this,arguments)}return e=c,(n=[{key:"clearLibrariesCache",value:function(){this.invalidateCache([W()])}},{key:"getLibraries",value:function(t){return this.get({expiryTime:m.a.STANDARD,callback:t,resource:x(),formatData:Z.libraries,eventPrefix:W()})}},{key:"getHostedLibraries",value:function(t){return this.get({expiryTime:m.a.STANDARD,callback:t,resource:j(),formatData:Z.libraries,eventPrefix:Y()})}},{key:"getExchange",value:function(t,e){return this.get({expiryTime:m.a.STANDARD,callback:e,resource:D(t),formatData:Z.libraries,eventPrefix:G(t)})}},{key:"getFolder",value:function(t,e){return this.get({callback:e,expiryTime:m.a.STANDARD,resource:L(t),formatData:Z.folder,eventPrefix:J(t)})}},{key:"getFolderFromLibraries",value:function(t,e){this.getLibraries((function(n){e(b.a.getModelFromCollection(t,n))}))}},{key:"addFolder",value:function(t,e,n,r){var i,a=this,c=t.pick("name");this.chain().create({expiryTime:m.a.STANDARD,data:c,resource:A(e,n),formatData:Z.folder,eventPrefix:J(),callback:function(t){return i=t}}).func((function(){a.invalidateCache([s.f.LIBRARY_FOLDERS]),a.getLibraries((function(t){n?b.a.addFolder(i,n,t):b.a.addFolderToLibrary(i,e,t),o.Radio.channel(a.channelName).trigger("folder:created",i),r(i)}))})).run()}},{key:"updateFolder",value:function(t,e){var n=this,o=t.get("id"),i=t.pick(["id","name"]);this.getFolder(o,(function(a){var c,u=a.banner;n.chain().update({resource:I(o),data:i,callback:function(t){(c=t).banner=u},formatData:Z.folder,expiryTime:m.a.STANDARD,eventPrefix:J(o)}).func((function(){n.clearLibraryFoldersCache(),n.getLibraries((function(n){b.a.getModelFromCollection(t.get("id"),n).set(i),r.isFunction(e)&&e(c)}))})).run()}))}},{key:"moveFolder",value:function(t,e,n,o){var i,a=this,c="folder:delete:".concat(t);this.chain().create({resource:M(),eventPrefix:c,formatData:Z.folder,data:{oldCollectionId:n,newCollectionId:e,assocType:"has",objectIds:[t]},callback:function(t){return i=t},successHandler:this.alertService.success(O.a.getPhrase(this.lang,"folderMoveSuccess"))}).func((function(){a.clearLibraryFoldersCache(),a.getLibraries((function(a){var c=b.a.getModelFromCollection(n,a),u=b.a.getModelFromCollection(e,a),s=b.a.getModelFromCollection(t,a);c&&c.children.remove(s),u?u.children.add(s):a.add(s),r.isFunction(o)&&o(i)}))})).run()}},{key:"deleteFolder",value:function(t,e){var n=this;this.chain().delete({resource:N(t),eventPrefix:"".concat(J(t),":delete")}).func((function(){n.clearLibraryFoldersCache(),n.getLibraries((function(r){var i=b.a.getModelFromCollection(t,r);i&&i.collection&&i.collection.remove(i),o.Radio.channel(n.channelName).trigger("library:deleted"),e()}))})).run()}},{key:"getLibraryFolders",value:function(t,e){var n=S.p.GetFilterFromSort(t.sort),r=q(t.id,n,t.cursor);return this.get({resource:r,formatData:Z.folders,expiryTime:m.a.STANDARD,eventPrefix:t.toString(),callback:e})}},{key:"clearLibraryFoldersCache",value:function(){this.invalidateCache([s.f.LIBRARY_FOLDERS]),o.Radio.channel(s.e.LIBRARY).trigger("clear:library:folder:cache")}},{key:"getLibraryFoldersCursors",value:function(t){return this.getCursors(t.toString())}},{key:"createLibrary",value:function(t,e,n){var i=this,a=e.pick(["name"]);a.status=u.a.Draft,this.create({resource:V(t),eventPrefix:K(),formatData:Z.library,data:a,callback:function(t){i.getLibraries((function(e){e.add(t),o.Radio.channel(i.channelName).trigger("library:created"),r.isFunction(n)&&n(t)}))},successHandler:this.alertService.success(O.a.getPhrase(this.lang,"libraryCreateSuccess")),errorHandler:this.alertService.error(O.a.getPhrase(this.lang,"libraryCreateError"))})}},{key:"updateLibrary",value:function(t,e){var n=this,o=t.pick(["id","name"]),i=t.get("id");this.update({resource:U(i),eventPrefix:K(i),formatData:Z.library,data:o,successHandler:this.alertService.success(O.a.getPhrase(this.lang,"libraryUpdateSuccess")),errorHandler:this.alertService.error(O.a.getPhrase(this.lang,"libraryUpdateError")),callback:function(i){n.getLibraries((function(n){b.a.getModelFromCollection(t.get("id"),n).set(o),r.isFunction(e)&&e(i)}))}})}},{key:"deleteLibrary",value:function(t,e){var n=this;this.chain().delete({resource:N(t),eventPrefix:"".concat(K(t),":delete")}).func((function(){n.getLibraries((function(r){var i=b.a.getModelFromCollection(t,r);i&&i.collection&&i.collection.remove(i),o.Radio.channel(n.channelName).trigger("library:deleted"),e()}))})).run()}},{key:"publishLibrary",value:function(t,e){var n=this,o={status:1};this.update({resource:U(t),eventPrefix:Q(t),data:o,successHandler:this.alertService.success(O.a.getPhrase(this.lang,"libraryAvailableSuccess")),errorHandler:this.alertService.error(O.a.getPhrase(this.lang,"libraryAvailableError")),callback:function(){n.getLibraries((function(n){var i=n.get(t);i&&i.set(o),r.isFunction(e)&&e()}))}})}},{key:"addOrUpdateBanner",value:function(t,e){var n=t.folderId,r=t.imageModel,o=t.currentImageId,i={fileId:r.id.toString(),fileIdType:g.e.ImageAPIv1},a=this.chain();o&&a.delete({resource:H(n,o),eventPrefix:s.f.DELETE_FOLDER_BANNER}),a.create({resource:F(n),eventPrefix:"".concat(s.f.UPDATE_FOLDER_BANNER,":").concat(n),data:i,formatData:function(t){return new p.a(t)},invalidationKeys:[J(n)],successHandler:this.alertService.success(O.a.getPhrase(this.lang,"bannerUpdateSuccess")),callback:e}),a.run()}},{key:"deleteBanner",value:function(t,e){this.delete({resource:H(t.folderId,t.imageId),eventPrefix:s.f.DELETE_FOLDER_BANNER,successHandler:this.alertService.success(O.a.getPhrase(this.lang,"bannerRemoveSuccess")),invalidationKeys:[J(t.folderId)],callback:e})}},{key:"addOrUpdateThumbnail",value:function(t,e){var n=this,r=(t.libraryId,t.folderId),o=t.imageModel,i=t.currentImageId,a={fileId:o.id.toString(),fileIdType:g.e.ImageAPIv1},c=this.chain();i&&c.delete({resource:B(r,i),eventPrefix:s.f.DELETE_FOLDER_THUMBNAIL}),c.create({resource:z(r),eventPrefix:"".concat(s.f.UPDATE_FOLDER_THUMBNAIL,":").concat(r),data:a,formatData:function(t){return new h.a(t)},invalidationKeys:[J(r)],successHandler:this.alertService.success(O.a.getPhrase(this.lang,"thumbnailUpdateSuccess")),callback:e}),c.func((function(){n.clearLibraryFoldersCache()})),c.run()}},{key:"deleteThumbnail",value:function(t,e){var n=this;this.delete({resource:B(t.folderId,t.imageId),eventPrefix:s.f.DELETE_FOLDER_THUMBNAIL,successHandler:this.alertService.success(O.a.getPhrase(this.lang,"thumbnailRemoveSuccess")),invalidationKeys:[J(t.folderId)],callback:function(t){n.clearLibraryFoldersCache(),r.isFunction(e)&&e(t)}})}},{key:"deselectAll",value:function(){this.getLibraries((function(t){b.a.deselectAll(w.a.LIBRARY_EDITOR,t)}))}},{key:"setSelected",value:function(t){this.getLibraries((function(e){b.a.setSelected(w.a.LIBRARY_EDITOR,t,e)}))}},{key:"getSelected",value:function(t,e){this.getLibraries((function(t){var n=b.a.getSelected(w.a.LIBRARY_EDITOR,t);e(n)}))}},{key:"name",get:function(){return v.a.Library}},{key:"channelName",get:function(){return s.e.LIBRARY}},{key:"lang",get:function(){return"libraryEditor.services"}}])&&E(e.prototype,n),i&&E(e,i),c}(a.a),X=Object.assign(Object.assign({},c.a),{exchanges:{dataServiceName:v.a.Library,eventName:"".concat(G(0),":sync"),getData:function(t){return t.getExchange(0)},getInstance:function(t){return i.a.getInstance(v.a.Library,t)},beforeOnBeforeRender:!0}})},,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(130);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}},{key:"comparator",get:function(){return function(t){var e;return null===(e=t.get("name"))||void 0===e?void 0:e.toLowerCase()}}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e,n){t.exports={droppable:"_1OOL3",hover:"sCq0c"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(6),o=n(56);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(f,t);var e,n,r,i=l(f);function f(){return a(this,f),i.apply(this,arguments)}return e=f,(n=[{key:"listenTo",value:function(){return o.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],u(p(f.prototype),"listenTo",this))}}])&&c(e.prototype,n),r&&c(e,r),f}(r.Collection)},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var r=n(23),o={LIBRARY:"library:data:service",VIDEO:"video:data:service",MIGRATION:"migration:data:service",TAG:"tag:data:service",CHAPTER:"chapter:data:service",SERIES:"series:data:service",SEARCH:"search:data:service",STAFF_REQUEST:"staff:request:data:service",CONFIG:"config:data:service",USER:"user:data:service",NOTIFICATIONS:"notifications:data:service",NOTIFICATIONS_SOCKET:"notifications:socket:service",SETTINGS:"settings:data:service",VIDEO_UPLOAD:"video:upload:data:service",IMAGE_UPLOAD:"image:upload:data:service",CUSTOMER:"customer:data:service",EXPORT:"export:data:service",LOCAL_CACHE:"local:cache:data:service",RESTRICTED_VIDEO:"restricted:video:data:service",RATINGS:"ratings:data:service",LANGUAGE:"language:data:service",CONTENT_UPDATES:"content:updates:data:service",DOWNLOAD_PROXY:"download:proxy:data:service",RESOURCE:"resource:data:service",SUBTITLE:"subtitle:data:service",LINK:"link:data:service",COMPANY:"company:data:service",PERSON:"person:data:service",FIELDS:"fields:data:service"},i=Object.assign({PENDING_ITEMS:"pending:items:service",VIDEO_DRAG_DROP:"video:drag:drop:service",FOLDER_DRAG_DROP:"folder:drag:drop:service",SELECTED_VIDEO:"selected:video:service",FOLDER_CACHE:"folder:cache:service",LOCAL_OPTIONS:"local:options:service",VIDEO_MIXIN:"video:mixin:service",PAGE_VISIBILITY:"page:visibility:service",PAGE_TITLE:"page:title:service",CONTEXTUAL_SEARCH:"contextual:search:service"},r.c),a={DEFAULT:"default:application",LIBRARY_EDITOR:"library:editor:application",MIGRATION_WIZARD:"migration:wizard:application",SEARCH:"search:application",NOTIFICATIONS:"notifications:application",VIDEO_ACCESS:"video:access:application",CONTENT_UPDATES:"content:updates:application",STAFF_REQUESTS:"staff:requests:application",DASHBOARD:"dashboard:application",UPLOAD:"upload:application"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={type:n(113).a.Unknown,message:"",code:0}},function(t,e,n){"use strict";var r=n(1),o=n(2),i=n(97),a=n(117),c=n(130),u=n(83),s=n(231);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(d,t);var e,n,o,l=y(d);function d(){return f(this,d),l.apply(this,arguments)}return e=d,(n=[{key:"parse",value:function(t){var e=r.omit(t,["sourceCategory","destinationCategory"]);return e.sourceFolder=t.sourceCategory,e.destinationFolder=t.destinationCategory,e}},{key:"associations",get:function(){return{video:i.a,sourceLibrary:c.a,sourceFolder:u.a,destinationLibrary:c.a,destinationFolder:u.a,user:a.a,senderCustomer:s.a}}}])&&p(e.prototype,n),o&&p(e,o),d}(o.a.NestedModel);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function S(t,e){return(S=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function O(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=k(t);if(e){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return C(this,n)}}function C(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var E=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S(t,e)}(i,t);var e,n,r,o=O(i);function i(){return m(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"associations",get:function(){return{user:a.a}}}])&&w(e.prototype,n),r&&w(e,r),i}(o.a.NestedModel);n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return E}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={Dashboard:{HOME:"index"},LibraryEditor:{HOME:"index",LIBRARY:"library",NEW_SUB_FOLDER:"new:sub:folder",RENAME_FOLDER:"rename:folder",MOVE_FOLDER:"move:folder",DELETE_FOLDER:"delete:folder",FOLDER:"folder",SERIES:"series",EDIT_VIDEO:"edit:video",VIDEO_DETAILS:"video:details",SAVE_VIDEO:"save:video",EDIT_VIDEO_CHAPTERS:"edit:video:chapters",EDIT_VIDEO_RESOURCES:"edit:video:resources",EDIT_RESOURCE:"edit:resource",NEW_LIBRARY:"new:library",DELETE_LIBRARY:"delete:library",RENAME_LIBRARY:"rename:library",UPLOAD_THUMBNAIL:"upload:thumbnail",UPLOAD_BANNER:"upload:banner",GENERATE_PDF:"generate:pdf",SUGGEST_AN_EDIT:"suggest:an:edit",EDIT_FOLDER_IMAGES:"edit:folder:images",SHOW_PUBLISHER_VIDEO:"show:publisher:video",EDIT_LINK:"edit:link",NEW_SEASON:"new:season",ADD_TO_EXCHANGE:"add:to:exchange"},VideoAccess:{HOME:"index"},Search:{HOME:"index"},MigrationWizard:{HOME:"index",SHOW_PUBLISHER_VIDEO:"show:publisher:video",FOLDER:"folder",SEARCH:"search",SELECTED:"selected",SMART:"smart",PROGRESS:"progress",BACKUP_WELCOME:"backup:welcome",BACKUP_DOWNLOAD:"backup:download",BACKUP_PROGRESS:"backup:progress",BACKUP_COMPLETE:"backup:complete",START_MIGRATION:"start:migration",VIDEOS_ADDED:"videos:added",REMIGRATE_VIDEO:"remigrate:video",PUBLISH_LIBRARY_PROGRESS:"publish:library:progress",PUBLISH_LIBRARY_COMPLETE:"publish:library:complete",MIGRATION_ERRORS:"migration:errors",GENERATE_CSV_REPORT:"generate:csv:report"},ContentUpdates:{HOME:"index",AWAITING_REVIEW:"awaiting:review",PAST_RELEASES:"past:releases",DISABLE_REVIEW:"disable:review",GENERATE_PDF:"generate:pdf",ADD_TO_LIBRARY:"add:to:library"},StaffRequests:{HOME:"index",EDIT_REQUEST:"edit:request",APPROVE_REQUEST:"approve:request",REJECT_REQUEST:"reject:request"},Upload:{FILE_SELECTION:"file:selection",UPLOAD_DETAILS:"upload:details",UPLOAD_COMPLETE:"upload:complete"},Default:{HOME:"index",ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error"},Shared:{SHARE_VIDEO:"share:video",MOVE_VIDEOS:"move:videos",DELETE_VIDEOS:"delete:videos",BULK_CHECKBOX_CHANGE:"bulk:checkbox:change",NEW_FOLDER:"new:folder",MANAGE_VIDEO_ACCESS:"manage:video:access",DOWNLOAD_VIDEO:"download:video",DOWNLOAD_TO_LOCAL_CACHE:"download:to:local:cache",MAKE_LIBRARY_AVAILABLE:"make:library:available"},Notifications:{HOME:"index"}}},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n.d(e,"a",(function(){return o}));var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.value=e}var e,n,o;return e=t,(n=[{key:"increment",value:function(){this.value+=1}},{key:"decrement",value:function(){this.value-=1}},{key:"getValue",value:function(){return this.value}}])&&r(e.prototype,n),o&&r(e,o),t}()},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e){t.exports=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(3),o=n(15),i=n(58),a=n(75),c="notifications.utils",u=/^marketing-/,s={getIconColor:function(t){switch(t){case a.a.Success:return"success";case a.a.Alert:return"danger";case a.a.Warning:return"warning";case a.a.Info:case a.a.Other:default:return"dark"}},getIcon:function(t){switch(t){case a.a.Success:return o.b.CheckCircle;case a.a.Alert:case a.a.Warning:return o.b.Warning;case a.a.Info:case a.a.Other:default:return o.b.Info}},getIconColorByNotificationType:function(t){return t===i.a.VideoProcessingFailed||t===i.a.VideoRequestDenied?"danger":t.match(u)?"warning":void 0},getIconByNotificationType:function(t){if(t.match(u))return o.b.Star},getNotificationAction:function(t){switch(t){case i.a.VideoReviewAddedToLibrary:case i.a.WorkspaceVideoAvailable:case i.a.ExchangeVideoAvailable:case i.a.EditedVideoAvailable:return r.a.getPhrase(c,"viewVideo");case i.a.VideoReviewReminder:return r.a.getPhrase(c,"reviewVideos");case i.a.VideoReviewAddedToLibrary:return r.a.getPhrase(c,"viewNewContent");case i.a.CustomLibraryVideoAvailable:return r.a.getPhrase(c,"viewVideoDetails");case i.a.StaffRequest:return r.a.getPhrase(c,"reviewVideo");default:return r.a.getPhrase(c,"seeNow")}}}},function(t,e,n){t.exports={contentContainerWithBulkActions:"_1OZCN",thumbnailContainer:"_35XrM",metaContainer:"_1-L5x",titleContainer:"_3nfiJ"}},function(t,e,n){t.exports={dropMask:"ZO89K",dropContent:"_1EbzE",dropArea:"_3ucfy",dragOver:"_2D_ox",border:"_3sQtM"}},function(t,e,n){t.exports={leftNav:"_2r3wp",topNav:"_2tPrC",contentBox:"gzfZN",leftNavContentBox:"_1yUOQ",sizingBox:"_2Rol1",alertBox:"_1TUsf",alertBoxWithIntercom:"QDngA",lockedWidth:"_1XHqq"}},function(t,e,n){"use strict";var r,o,i,a,c;!function(t){t[t.SingleFile=1]="SingleFile",t[t.HasChapters=2]="HasChapters",t[t.Concatenating=3]="Concatenating",t[t.ConcatenationFailed=4]="ConcatenationFailed",t[t.New=5]="New",t[t.MediaNotFound=6]="MediaNotFound"}(r||(r={})),function(t){t[t.Link=1]="Link",t[t.Edit=2]="Edit",t[t.Disabled=3]="Disabled",t[t.Filter=4]="Filter"}(o||(o={})),function(t){t[t.Flex=1]="Flex",t[t.Vertical=2]="Vertical"}(i||(i={})),function(t){t[t.Customer=1]="Customer",t[t.ClickView=2]="ClickView"}(a||(a={})),function(t){t[t.Folder=0]="Folder",t[t.Series=1]="Series"}(c||(c={})),n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"e",(function(){return c}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={MAX_FOLDER_DEPTH:7,POPUP_FADE_TIMEOUT:0}},,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(1),o=n(81),i=n(146);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=h(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h(t);if(e){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(d,t);var e,n,p,y=f(d);function d(){return c(this,d),y.apply(this,arguments)}return e=d,(n=[{key:"set",value:function(t,e,n){var o,i;if(null===t)return this;for(o in"object"===a(t)?(i=t,n=e):(i={})[t]=e,n||(n={}),i)r.has(this.associations,o)&&(i[o]=this.setAssociation(o,i[o],n));return s(h(d.prototype),"set",this).call(this,i,n)}},{key:"get",value:function(t){var e=t.indexOf(".");if(-1===e)return s(h(d.prototype),"get",this).call(this,t);var n=t.substr(0,e),o=this.attributes[n];if(!o||!r.isFunction(o.get))return s(h(d.prototype),"get",this).call(this,t);var i=t.substr(e+1);return o.get(i)}},{key:"setAssociation",value:function(t,e,n){var a=this.associations[t],c=this.attributes[t];if(!r.isFunction(a))return e;if(n.unset)return c&&delete c.parent,delete this[t],c;if(c)return c instanceof o.a&&c.set(e,n),c instanceof i.a&&c.set(e,n),n.silent||this.trigger("change:".concat(t),this,e,n),c;var u=e instanceof o.a?e:new a(e,{parse:!0});return u.parent=this,this[t]=u,u}},{key:"toJSON",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=s(h(d.prototype),"toJSON",this).apply(this,e);return r.each(this.associations,(function(t,e){r.has(o,e)&&r.isFunction(o[e].toJSON)?o[e]=o[e].toJSON():o[e]=(new t).toJSON()})),o}},{key:"toFlatJSON",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return r.omit(s(h(d.prototype),"toJSON",this).apply(this,e),r.keys(this.associations))}}])&&u(e.prototype,n),p&&u(e,p),d}(o.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(8),o="categories{libraries.typeid:".concat(r.i.CustomMediaObjectCollection,"}"),i={VIDEO_COLLECTION:"series,season,rating,thumbnail,".concat(o,",libraries,interactives{limit:1},")+"subtitles{limit:1},resources{limit:1},links{limit:1}",HOSTED_VIDEO_COLLECTION:"series,season,rating,thumbnail,categories,libraries,channel,interactives{limit:1},subtitles{limit:1},resources{limit:1},links{limit:1}",VIDEO:"series[seasons{orderby:number}],season,rating,thumbnail,".concat(o,",producers,distributors,libraries,")+"channel,chapters{limit:100},interactives{limit:100},resources[customer],subtitles[customer],tags[customer],productionCompanies,directors,links[customer],fields",FOLDER:"banner,thumbnail",SERIES:"seasons{orderby:number}",LIBRARY_FOLDERS:"thumbnail"}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var r=n(3),o="generic",i="shared.constants",a={generic:function(){return r.a.getPhrase(i,"dataServiceErrorGeneric")},"video_forbidden.rating_access":function(){return r.a.getPhrase(i,"dataServiceErrorForbiddenRatingAccess")}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return h}));var r=n(1),o=["pdf"],i=["doc","docx","dotx","dot","rtf","docm","odt"],a=["csv","txt"],c=["xls","xlt","xlsx"],u=["jpg","tif","png","bmp","gif","jpeg"],s=["zip","rar"],l=["ppt","pot","pps","pptx"],f=["srt"],p={IMAGES:".".concat(u.join(",.")),RESOURCES:".".concat([].concat(i,c,l,o,a,u,s).join(",.")),SUBTITLES:".".concat(f.join(",."))},h={getResourceType:function(t){var e=t.toLowerCase();return r.contains(i,e)?"document":r.contains(c,e)?"excel":r.contains(l,e)?"powerpoint":r.contains(o,e)?"pdf":r.contains(a,e)?"text":r.contains(u,e)?"image":r.contains(s,e)?"archive":r.contains(f,e)?"subtitle":""}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return u}));var r,o,i=n(1);function a(t,e){var n="spinner";return t===r.Small&&(n="".concat(n,"-sm")),t===r.Medium&&(n="".concat(n,"-md")),t===r.Large&&(n="".concat(n,"-lg")),e===o.Standard&&(n="".concat(n,"-std")),e===o.Light&&(n="".concat(n,"-light")),e===o.LightBgDark&&(n="".concat(n,"-light-bg-dark")),n}!function(t){t.Small="sm",t.Medium="md",t.Large="lg"}(r||(r={})),function(t){t.Standard="std",t.Light="light",t.LightBgDark="light-bg-dark"}(o||(o={}));var c={size:r.Medium,type:o.Standard,tag:"div"},u={getSpinner:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=i.extend({},c,t),n=e.tag,r=e.size,o=e.type,u=e.extraClasses,s=a(r,o);return u&&(s="".concat(s," ").concat(u)),"<".concat(n,' class="spinner ').concat(s,'"></').concat(n,">")}}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return u}));var i={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/^(?!.*Edge).*Chrome/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i};function a(t,e,n){var o=r(e.exec(n)||[],3),i=(o[0],o[1],o[2]);return i||(i="Unknown"),{browser:t,version:i}}function c(t,e,n){if(!e)return{os:t,version:"Unknown"};var r=e.exec(n);return{os:t,version:r&&r.length?r[0].trim():"Unknown"}}var u={getDeviceType:function(){var t=window.navigator.userAgent;return i.mobileDevice.test(t)?i.iphone.test(t)?"iPhone":i.ipad.test(t)?"iPad":i.android.test(t)?"Android":i.blackberry.test(t)?"Blackberry":i.windowsPhone.test(t)?"Windows Phone":"Unknown":"Desktop"},getOperatingSystem:function(){var t=window.navigator.userAgent;return i.android.test(t)?c("Android",i.androidVersion,t):i.iphone.test(t)||i.ipad.test(t)?c("iOS",i.iosVersion,t):i.linux.test(t)?c("Linux",null,t):i.unix.test(t)?c("Unix",null,t):i.mac.test(t)?c("Macintosh",i.osxVersion,t):i.windows.test(t)?function(t,e){var n={os:t};return i.win2000.test(e)&&(n.version="2000"),i.winXP.test(e)&&(n.version="XP"),i.winVista.test(e)&&(n.version="Vista"),i.win7.test(e)&&(n.version="7"),i.win8.test(e)&&(n.version="8"),i.win81.test(e)&&(n.version="8.1"),i.win10.test(e)&&(n.version="10"),n.version||(n.version="Unknown"),n}("Windows",t):i.blackberry.test(t)?c("BlackBerry",i.blackberryVersion,t):i.windowsPhone.test(t)?c("Windows Phone",i.windowsPhoneVersion,t):{os:"Unknown",version:"Unknown"}},getBrowser:function(){var t=window.navigator.userAgent;return i.chrome.test(t)?a("Chrome",i.generalVersion,t):i.firefox.test(t)?a("Firefox",i.generalVersion,t):i.safari.test(t)?a("Safari",i.generalVersion,t):i.ie.test(t)?a("Internet Explorer",i.ieVersion,t):i.edge.test(t)?a("Edge",i.edgeVersion,t):i.opera.test(t)?a("Opera",i.operaVersion,t):{browser:"Unknown",version:"Unknown"}},isTouchScreen:function(){return!(!("ontouchstart"in window)&&!navigator.maxTouchPoints)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(294);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"associations",get:function(){return{seasons:o.a}}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.NestedModel)},function(t,e,n){t.exports={thumbnailContainer:"_1u9bn",thumbnail:"_1CQyt",svgContainer:"_2L1Hd",playSvgContainer:"_17LPb",durationOverlay:"_15X7K"}},function(t,e,n){"use strict";var r,o={CreateChapter:"create:chapter",UpdateChapter:"update:chapter",DeleteChapter:"delete:chapter",CancelChapterEdit:"cancel:chapter:edit",UpdateChapterTime:"update:chapter:time",SortChapters:"sort:chapters",ToggleEdit:"toggle:edit",MergeChapters:"merge:chapters",SeekToChapter:"seek:to:chapter",Save:"save:changes",Undo:"undo:changes",CancelSave:"save:cancel",DisableSave:"disable:save",EnableSave:"enable:save",DetectInput:"detect:input",DetectAssocChange:"detect:assoc:change"},i={VIDEO_LIST:"video:list",MIGRATION_VIDEO_LIST:"migration:video:list"};!function(t){t.VideoTitle="Video Title",t.Description="Description",t.Rating="Rating",t.SeriesTitle="Series Title",t.Season="Season Number",t.EpisodeNumber="Episode Number",t.BroadcastDate="Broadcast Date",t.Channel="Channel",t.ProductionYear="Production Year",t.Distributors="Distributors",t.ProductionCompanies="Production Companies",t.Directors="Directors",t.Producers="Producers",t.Other="Other"}(r||(r={}));var a={VideoTitle:{id:"0",name:r.VideoTitle,property:"name"},Description:{id:"1",name:r.Description,property:"description"},Rating:{id:"2",name:r.Rating,property:"rating.name"},SeriesTitle:{id:"3",name:r.SeriesTitle,property:"series.name"},Season:{id:"4",name:r.Season,property:"season.number"},EpisodeNumber:{id:"5",name:r.EpisodeNumber,property:"episodeNumber"},BroadcastDate:{id:"6",name:r.BroadcastDate,property:"dateBroadcast"},Channel:{id:"7",name:r.Channel,property:"channel.name"},ProductionYear:{id:"8",name:r.ProductionYear,property:"productionYear"},Distributors:{id:"9",name:r.Distributors,property:"distributors",collection:!0},ProductionCompanies:{id:"10",name:r.ProductionCompanies,property:"productionCompanies",collection:!0},Directors:{id:"11",name:r.Directors,property:"directors",collection:!0},Producers:{id:"12",name:r.Producers,property:"producers",collection:!0},Other:{id:"13",name:r.Other}},c=n(0),u=[c.a.LibraryEditor.EDIT_VIDEO,c.a.LibraryEditor.EDIT_VIDEO_CHAPTERS,c.a.LibraryEditor.EDIT_VIDEO_RESOURCES];n.d(e,"d",(function(){return o})),n.d(e,"a",(function(){return i})),n.d(e,"e",(function(){return r})),n.d(e,"f",(function(){return a})),n.d(e,"c",(function(){return"edit:video:back:button"})),n.d(e,"b",(function(){return u}))},function(t,e,n){"use strict";var r=n(14),o=n(5),i=n(0),a=n(8);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(n,t);var e=l(n);function n(){return u(this,n),e.apply(this,arguments)}return n}(n(2).a.Model),y=n(16),d=n(102),b=n(17);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function S(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C(t);if(e){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return k})),n.d(e,"b",(function(){return E}));var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(c,t);var e,n,r,o=S(c);function c(){return g(this,c),o.apply(this,arguments)}return e=c,(n=[{key:"getConfig",value:function(t){return this.get({resource:"/api/config",formatData:function(t){return new h(t)},eventPrefix:"config",bootstrapName:d.a.CONFIG,callback:t,expiryTime:b.a.STANDARD})}},{key:"getVersion",value:function(t){return this.get({resource:"/api/version",eventPrefix:"version",bootstrapName:d.a.VERSION,callback:t,expiryTime:b.a.STANDARD})}},{key:"getCustomerYearGroups",value:function(t){var e=[a.p.Year1,a.p.Year2,a.p.Year3,a.p.Year4,a.p.Year5,a.p.Year6,a.p.Year7,a.p.Year8,a.p.Year9,a.p.Year10,a.p.Year11,a.p.Year12];switch(t){case a.b.AU:return[a.p.Kindergarten].concat(e);case a.b.UK:case a.b.NZ:return[].concat(e,[a.p.Year13]);default:return e}}},{key:"name",get:function(){return y.a.Config}},{key:"channelName",get:function(){return i.e.CONFIG}}])&&m(e.prototype,n),r&&m(e,r),c}(r.a),E={config:{dataServiceName:i.e.CONFIG,eventName:"config:sync",getData:function(t){return t.getConfig()},getInstance:function(t){return o.a.getInstance(y.a.Config,t)},beforeOnBeforeRender:!0}}},function(t,e,n){"use strict";var r=n(11),o=n(19);function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.setData(e)}var e,n,a;return e=t,(n=[{key:"setData",value:function(t){var e=t.collectionPrefix,n=t.id,r=t.sort,o=t.cursor;n&&(this.id=n),r&&(this.sort=r),o&&(this.cursor=o),e&&(this.collectionPrefix=e)}},{key:"toString",value:function(){return[this.collectionPrefix,this.id,this.sort,this.cursor].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.sort&&(t.sort=this.getSortTypeParam().toLowerCase()),this.cursor&&(t.cursor=this.cursor),t}},{key:"getSortTypeParam",value:function(){return r.c.throw(new o.a("getSortTypeParam must be implemented when extending BaseCollectionIdentifier")),""}}])&&i(e.prototype,n),a&&i(e,a),t}(),c=(n(148),n(37));function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(i,t);var e,n,r,o=p(i);function i(){return s(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"getSortTypeParam",value:function(){return c.a[this.sort]}}])&&l(e.prototype,n),r&&l(e,r),i}(a);n.d(e,"a",(function(){return d}))},function(t,e,n){"use strict";var r,o,i=n(1),a=n(6),c=n(2),u=n(116),s=n(15),l=n(82),f={isEmpty:function(t){return i.isEmpty(t)},values:function(t){return i.values(t)},keys:function(t){return i.keys(t)},deepClone:function(t){return(i.isArray(t)?i.map:i.mapObject)(t,(function(t){return i.isObject(t)||i.isArray(t)?f.deepClone(t):t}))},getEnumKeys:function(t){return Object.keys(t).filter((function(t){return!(parseInt(t)>=0)}))},isObject:function(t){return i.isObject(t)},isEqual:function(t,e){return i.isEqual(t,e)},omit:function(t,e){return i.omit(t,e)}},p=n(191);function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}!function(t){t.Banner="banner",t.Thumbnail="thumbnail"}(o||(o={}));var y=(h(r={},p.b.Banners,o.Banner),h(r,p.b.Thumbnails,o.Thumbnail),r),d=function(t){return"/v1/category-map/".concat(t)},b={createUrl:function(t,e){return b._createUrl(t,e)},createBannerUrl:function(t,e,n){return t&&t.url?b._createUrl(t.url,n):b._createCategoryMappedUrl(e,n)},Rfc3986EncodeURIComponent:function(t){return encodeURIComponent(t).replace(/[!'()*]/g,escape)},_createCategoryMappedUrl:function(t,e){var n=t.fallbackBaseUrl,r=t.fallbackCategoryName,o=t.type,i=l.a.safeUrlConcat(n,"".concat(d(y[o]))),a=Object.assign({name:b.Rfc3986EncodeURIComponent(r)},e);return b._createUrl(i,a)},_createUrl:function(t,e){if(t){if(f.isEmpty(e))return t;var n=$.param(e),r=-1===t.indexOf("?")?"?":"&",o=t;return o.endsWith("/")&&(o=o.slice(0,-1)),o+"".concat(r).concat(n)}},legacyCreateThumbnailUrl:function(t,e){if(!t)return"";var n;if(t&&(n=t instanceof c.a.Model?t.get("url"):"string"==typeof t?t:t.url)){var r=Object.assign({size:p.a.Small,bgColor:"000"},e);return b._createUrl(n,r)}}},v=function(t,e,n){var r=e-(t=t.toString()).length;return r<=0?t:new Array(r+1).join(n)+t},g=function(t){if(!i.isNumber(t))return"";var e=new Date(t),n=e.getUTCHours(),r=v(e.getUTCMinutes(),2,"0"),o=v(e.getUTCSeconds(),2,"0");return n>0?"".concat(n,":").concat(r,":").concat(o):"".concat(r,":").concat(o)},m=n(549),w=n.n(m),S=n(185),O=n.n(S);function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function R(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=T(t);if(e){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return P(this,n)}}function P(t,e){return!e||"object"!==C(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return x}));var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(c,t);var e,n,r,o=R(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),o.call(this,t)}return e=c,(n=[{key:"initialize",value:function(){this.options.channelName&&this.listenTo(this.options.channelName,"show:play:icon",this.showPlayIcon),this.listenTo(this.model,"change:thumbnail",this.render)}},{key:"events",value:function(){return{click:"onClick"}}},{key:"showPlayIcon",value:function(){this.$el.find(".".concat(O.a.playSvgContainer)).show()}},{key:"onClick",value:function(t){if(!this.options.appLink&&i.isFunction(this.options.onClickHandler))return this.options.onClickHandler.apply(this,arguments)}},{key:"onImageLoad",value:function(){this.options.channelName&&a.Radio.channel(this.options.channelName).trigger("thumbnail:load")}},{key:"viewOptions",value:function(){var t=this.model.get("duration");return{styles:O.a,url:b.legacyCreateThumbnailUrl(this.model.get("thumbnail"),this.options.thumbnailOptions),duration:t&&g(t),playSvg:s.a.getSvg(s.b.Play),playIcon:this.options.playIcon,lazyload:this.options.lazyload}}},{key:"onRender",value:function(){if(a.Radio.channel(u.a.LAZY_LOAD).trigger("update:loader"),this.options.lazyload&&this.options.channelName){var t=this.getUI("img");t.length&&(t[0].onload=i.bind(this.onImageLoad,this))}}},{key:"name",get:function(){return"ThumbnailComponent"}},{key:"template",get:function(){return w.a}},{key:"tagName",get:function(){return"a"}},{key:"className",get:function(){if(this.options.classNameOverride)return this.options.classNameOverride;var t="".concat(O.a.thumbnailContainer," responsive-img");return this.options.onClickHandler&&(t+=" cursor-pointer"),t}},{key:"elements",get:function(){var t;return k(t={},".".concat(O.a.playSvgContainer),"showPlayIcon"),k(t,"img","img"),t}},{key:"appLinks",get:function(){return this.options.appLink?{"[this]":this.options.appLink}:{}}},{key:"attributes",get:function(){return this.options.appLink||!this.options.href?{}:{href:this.options.href,target:"_blank"}}}])&&E(e.prototype,n),r&&E(e,r),c}(c.a.Component)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(188),o=n(0);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(n,t);var e=u(n);function n(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return a(this,n),e.call(this,{collectionPrefix:"".concat(o.f.VIDEOS,":collection"),id:t,sort:r,cursor:i})}return n}(r.a)},function(t,e,n){"use strict";var r,o,i,a;n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),function(t){t.Small="small",t.Medium="medium",t.Large="large"}(r||(r={})),function(t){t[t.Thumbnails=0]="Thumbnails",t[t.Banners=1]="Banners",t[t.Avatars=2]="Avatars",t[t.Logos=3]="Logos",t[t.Covers=4]="Covers",t[t.Posters=5]="Posters",t[t.TallPosters=6]="TallPosters",t[t.HeroBanners=7]="HeroBanners"}(o||(o={})),function(t){t[t.Crop=0]="Crop",t[t.Stretched=1]="Stretched",t[t.Cover=2]="Cover"}(i||(i={})),function(t){t[t.None=0]="None",t[t.ImageAPIv1=1]="ImageAPIv1",t[t.FileAPIv1=2]="FileAPIv1",t[t.ImageAPIv2=3]="ImageAPIv2"}(a||(a={}))},function(t,e,n){"use strict";var r=n(31),o=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f="libraryEditor.errors.folderEmpty",p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(s,t);var e,n,r,i=u(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=i.call(this,"Folder is empty")).action=t,e}return e=s,(n=[{key:"name",get:function(){return"FolderEmptyError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase(f,"folderNoVideosTitle"),text:o.a.getPhrase(f,"folderNoVideosBody",{action:this.action}),buttons:[{text:o.a.getPhrase(f,"close"),className:"btn btn-link",close:!0}]}}}])&&a(e.prototype,n),r&&a(e,r),s}(r.a);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(a,t);var e,n,r,i=b(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Folder is not empty")}return e=a,(n=[{key:"name",get:function(){return"FolderNotEmptyError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.folderNotEmpty","title"),text:o.a.getPhrase("libraryEditor.errors.folderNotEmpty","instructions"),buttons:[{text:o.a.getPhrase("libraryEditor.errors.folderNotEmpty","close"),className:"btn btn-link",close:!0}]}}}])&&y(e.prototype,n),r&&y(e,r),a}(r.a),w=n(0);function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_(t);if(e){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return E(this,n)}}function E(t,e){return!e||"object"!==S(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var R=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e)}(a,t);var e,n,r,i=k(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Subfolder cannot be added")}return e=a,(n=[{key:"name",get:function(){return"FolderMaxDepthError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.folderMaxDepth","title"),text:o.a.getPhrase("libraryEditor.errors.folderMaxDepth","instructions",{maxDepth:w.s.MAX_FOLDER_DEPTH}),buttons:[{text:o.a.getPhrase("libraryEditor.errors.folderMaxDepth","close"),className:"btn btn-link",close:!0}]}}}])&&O(e.prototype,n),r&&O(e,r),a}(r.a),P=n(40);function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function j(t,e){return(j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=A(t);if(e){var o=A(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return L(this,n)}}function L(t,e){return!e||"object"!==T(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var I=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j(t,e)}(a,t);var e,n,r,i=D(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Folder not found")}return e=a,(n=[{key:"name",get:function(){return"FolderNotFoundError"}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.folderNotFound","info")}}])&&x(e.prototype,n),r&&x(e,r),a}(P.a);function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function V(t,e){return(V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function U(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=H(t);if(e){var o=H(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return F(this,n)}}function F(t,e){return!e||"object"!==N(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function H(t){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var z=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V(t,e)}(a,t);var e,n,r,i=U(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"User does not have access to this folder")}return e=a,(n=[{key:"name",get:function(){return"ForbiddenFolderError"}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.forbiddenFolder","info")}}])&&M(e.prototype,n),r&&M(e,r),a}(P.a),B=n(290);function q(t){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Y(t,e){return(Y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function G(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=K(t);if(e){var o=K(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return J(this,n)}}function J(t,e){return!e||"object"!==q(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function K(t){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Y(t,e)}(a,t);var e,n,r,i=G(a);function a(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(n=i.call(this,"Image too small")).minWidth=t,n.minHeight=e,n}return e=a,(n=[{key:"name",get:function(){return"ImageDimensionsTooSmallError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.imageDimensionsTooSmall","title"),text:o.a.getPhrase("libraryEditor.errors.imageDimensionsTooSmall","body",{minWidth:this.minWidth,minHeight:this.minHeight}),buttons:[{text:o.a.getPhrase("libraryEditor.errors.imageDimensionsTooSmall","close"),className:"btn btn-link",close:!0}]}}}])&&W(e.prototype,n),r&&W(e,r),a}(r.a);function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=nt(t);if(e){var o=nt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return et(this,n)}}function et(t,e){return!e||"object"!==Z(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function nt(t){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X(t,e)}(a,t);var e,n,r,i=tt(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Series not found")}return e=a,(n=[{key:"name",get:function(){return"SeriesNotFound"}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.seriesNotFound","title")}}])&&$(e.prototype,n),r&&$(e,r),a}(P.a);function ot(t){return(ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function it(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function at(t,e){return(at=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ct(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=st(t);if(e){var o=st(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ut(this,n)}}function ut(t,e){return!e||"object"!==ot(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var lt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&at(t,e)}(a,t);var e,n,r,i=ct(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,"Cannot add that many resources")).resourceLimit=t,e}return e=a,(n=[{key:"name",get:function(){return"TooManyResourcesError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.tooManyResources","heading"),text:o.a.getPhrase("libraryEditor.errors.tooManyResources","body",{resourceLimit:this.resourceLimit}),buttons:[{text:o.a.getPhrase("libraryEditor.errors.tooManyResources","okay"),className:"btn btn-primary",success:!0}]}}}])&&it(e.prototype,n),r&&it(e,r),a}(r.a);function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ht(t,e){return(ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function yt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=bt(t);if(e){var o=bt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dt(this,n)}}function dt(t,e){return!e||"object"!==ft(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function bt(t){return(bt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var vt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ht(t,e)}(a,t);var e,n,r,i=yt(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,"Cannot add that many subtitles")).subtileLimit=t,e}return e=a,(n=[{key:"name",get:function(){return"TooManySubtitlesError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.tooManySubtitles","heading"),text:o.a.getPhrase("libraryEditor.errors.tooManySubtitles","body",{subtitleLimit:this.subtileLimit}),buttons:[{text:o.a.getPhrase("libraryEditor.errors.tooManySubtitles","okay"),className:"btn btn-primary",success:!0}]}}}])&&pt(e.prototype,n),r&&pt(e,r),a}(r.a),gt=n(291);function mt(t){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function wt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function St(t,e){return(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ot(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=kt(t);if(e){var o=kt(this).constructor;Reflect.construct(r,arguments,o)}else r.apply(this,arguments);return Ct(this,n)}}function Ct(t,e){return!e||"object"!==mt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function kt(t){return(Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}P.a;function Et(t){return(Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Rt(t,e){return(Rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Pt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=xt(t);if(e){var o=xt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Tt(this,n)}}function Tt(t,e){return!e||"object"!==Et(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function xt(t){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var jt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rt(t,e)}(a,t);var e,n,r,i=Pt(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Library has subscribers so it cannot be deleted")}return e=a,(n=[{key:"name",get:function(){return"LibraryHasSubscribersError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.libraryHasSubscribers","title"),text:o.a.getPhrase("libraryEditor.errors.libraryHasSubscribers","body"),buttons:[{text:o.a.getPhrase("libraryEditor.errors.libraryHasSubscribers","close"),className:"btn btn-link",close:!0}]}}}])&&_t(e.prototype,n),r&&_t(e,r),a}(r.a);function Dt(t){return(Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Lt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function At(t,e){return(At=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function It(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Mt(t);if(e){var o=Mt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Nt(this,n)}}function Nt(t,e){return!e||"object"!==Dt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Mt(t){return(Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Vt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&At(t,e)}(a,t);var e,n,r,i=It(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Library is not empty")}return e=a,(n=[{key:"name",get:function(){return"LibraryNotEmptyError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.libraryNotEmpty","title"),text:o.a.getPhrase("libraryEditor.errors.libraryNotEmpty","body"),buttons:[{text:o.a.getPhrase("libraryEditor.errors.libraryNotEmpty","close"),className:"btn btn-link",close:!0}]}}}])&&Lt(e.prototype,n),r&&Lt(e,r),a}(r.a);function Ut(t){return(Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ft(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ht(t,e){return(Ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function zt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=qt(t);if(e){var o=qt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Bt(this,n)}}function Bt(t,e){return!e||"object"!==Ut(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function qt(t){return(qt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Wt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}(a,t);var e,n,r,i=zt(a);function a(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(n=i.call(this,"Cannot create any more custom libraries.")).libraryCount=t,n.maxCustomLibraries=e,n}return e=a,(n=[{key:"pluralise",value:function(t){return o.a.getPhrase("libraryEditor.errors.maxCustomLibraries","library",{smartCount:t})}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.maxCustomLibraries","title")}},{key:"description",get:function(){return o.a.getPhrase("libraryEditor.errors.maxCustomLibraries","info",{libraryCount:this.pluralise(this.libraryCount),maxCustomLibraries:this.pluralise(this.maxCustomLibraries)})}}])&&Ft(e.prototype,n),r&&Ft(e,r),a}(P.a);n.d(e,"a",(function(){return p})),n.d(e,"c",(function(){return m})),n.d(e,"b",(function(){return R})),n.d(e,"d",(function(){return I})),n.d(e,"e",(function(){return z})),n.d(e,"f",(function(){return B.a})),n.d(e,"g",(function(){return Q})),n.d(e,"k",(function(){return rt})),n.d(e,"l",(function(){return lt})),n.d(e,"m",(function(){return vt})),n.d(e,"n",(function(){return gt.a})),n.d(e,"h",(function(){return jt})),n.d(e,"i",(function(){return Vt})),n.d(e,"j",(function(){return Wt}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(2),o=n(6),i=n(80),a=n(228),c=n(8),u=n(43);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(d,t);var e,n,s,y=h(d);function d(){return l(this,d),y.apply(this,arguments)}return e=d,(n=[{key:"initialize",value:function(){this.listenTo("file:drop:lock","lock",this.lock),this.listenTo("file:drop:lock","unlock",this.unlock),!1!==this.options.acceptMultiple&&(this.options.acceptMultiple=!0)}},{key:"lock",value:function(){this.locked=!0}},{key:"unlock",value:function(){this.locked=!1}},{key:"onDrop",value:function(t){if(!this.locked){t.preventDefault();var e=t.originalEvent;if(a.a.isFileDrag(t)){var n=[];if(e.dataTransfer.items)for(var s=0;s<e.dataTransfer.items.length;s++)"file"===e.dataTransfer.items[s].kind&&n.push(e.dataTransfer.items[s].getAsFile());else for(var l=0;l<e.dataTransfer.files.length;l++){var f=e.dataTransfer.files[l];n.push(f)}n.length>1&&!this.options.acceptMultiple&&r.a.ErrorHelper.throw(new i.f),o.Radio.channel(this.options.channelName).trigger(u.a.FILES_SELECTED,n,c.g.DragDrop),e.dataTransfer.items?e.dataTransfer.items.clear():e.dataTransfer.clearData()}}}},{key:"events",get:function(){return{drop:"onDrop",drag:"onDrag"}}}])&&f(e.prototype,n),s&&f(e,s),d}(r.a.Behavior)},function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n(2),o=n(6),i=n(523),a=n.n(i),c=n(8),u=n(43);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(s,t);var e,n,r,i=y(s);function s(){return f(this,s),i.apply(this,arguments)}return e=s,(n=[{key:"events",value:function(){var t;return l(t={},"click ".concat(this.options.buttonSelector),"onClickSelect"),l(t,"change .file-select","onChangeFileSelect"),t}},{key:"onClickSelect",value:function(t){this.view.$el.find(".file-select").val(null),this.view.$el.find(".file-select").click()}},{key:"onChangeFileSelect",value:function(t){var e=t.originalEvent.target.files;e&&e.length&&o.Radio.channel(this.options.channelName).trigger(u.a.FILES_SELECTED,e,c.g.FileSelect)}},{key:"onRender",value:function(){this.$el.find(this.options.buttonSelector).after(a()(this.options))}}])&&p(e.prototype,n),r&&p(e,r),s}(r.a.Behavior)},function(t,e,n){"use strict";e.__esModule=!0,e.inherits=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(t.prototype);for(var o in n)r[o]=n[o];return r.constructor=e,e.prototype=r,e}},,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={ManageLayout:"ManageLayout"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(2),o=n(31),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="shared.oldVersion",h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(t,e){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,i.a.getPhrase(p,"title",{oldVersion:t,newVersion:e}))}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"OldVersionError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:i.a.getPhrase(p,"body"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(2),o=n(31),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="shared.authentication",h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,i.a.getPhrase(p,"title"))}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"AuthenticationError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:i.a.getPhrase(p,"body"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a)},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Staff="staff",t.Learner="learner",t.Unknown="unknown"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(1),o=n(40),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="shared.forbiddenAccess",h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(n=a.call(this,i.a.getPhrase(p,"title"))).acceptedRoles=t,n.redirectUrl=e,n}return e=l,(n=[{key:"getRolesString",value:function(){if(1===this.acceptedRoles.length)return i.a.getPhrase(p,"acceptedRole",{role:this.acceptedRoles[0]});if(2===this.acceptedRoles.length)return i.a.getPhrase(p,"acceptedRoles",{role1:this.acceptedRoles[0],role2:this.acceptedRoles[1]});var t="";return r.each(this.acceptedRoles.slice(0,this.acceptedRoles.length-1),(function(e){t+=i.a.getPhrase(p,"rolesJoin",{role:e})})),"\n ".concat(t," ").concat(i.a.getPhrase(p,"and")," ").concat(this.acceptedRoles[this.acceptedRoles.length-1]).concat(i.a.getPhrase(p,"s"),"\n ")}},{key:"name",get:function(){return"ForbiddenAccessError"}},{key:"heading",get:function(){return i.a.getPhrase(p,"heading",{roles:this.getRolesString()})}},{key:"description",get:function(){return i.a.getPhrase(p,"goToClickView",{redirectUrl:this.redirectUrl,linkClasses:"info-link"})}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(2),o=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(s,t);var e,n,r,i=u(s);function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,o.a.getPhrase("shared.notFound","title"))}return e=s,(n=[{key:"name",get:function(){return"NotFoundError"}}])&&a(e.prototype,n),r&&a(e,r),s}(r.a.SilentError)},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(2),o=n(157),i=n.n(o),a=n(522),c=n.n(a),u=n(228),s=n(3),l=n(43);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(a,t);var e,n,r,o=d(a);function a(){return p(this,a),o.apply(this,arguments)}return e=a,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,l.a.FILES_SELECTED,this.onDragLeave),this.listenTo("file:drop:lock","lock",this.lock),this.listenTo("file:drop:lock","unlock",this.unlock)}},{key:"lock",value:function(){this.locked=!0}},{key:"unlock",value:function(){this.locked=!1}},{key:"onDrop",value:function(){this.locked||this.$el.removeClass(i.a.dragOver)}},{key:"onDragOver",value:function(t){this.locked||u.a.isFileDrag(t)&&(this.$el.addClass(i.a.dragOver),t.preventDefault())}},{key:"onDragLeave",value:function(){this.locked||this.$el.removeClass(i.a.dragOver)}},{key:"onRender",value:function(){this.$el.append(c()({styles:i.a,fileDropText:s.a.getPhrase(this.lang,"fileDrop")}))}},{key:"events",get:function(){var t,e,n,r="dragleave .".concat(i.a.dropArea);return n="onDragLeave",(e=r)in(t={drop:"onDrop",dragover:"onDragOver"})?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},{key:"lang",get:function(){return"shared.behaviors.fileDrop"}}])&&h(e.prototype,n),r&&h(e,r),a}(r.a.Behavior)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.NestedModel)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(118);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(l,t);var e,n,o,s=u(l);function l(){return i(this,l),s.apply(this,arguments)}return e=l,(n=[{key:"model",get:function(){return r.a}}])&&a(e.prototype,n),o&&a(e,o),l}(n(2).a.Collection)},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(52),o=n(3),i=n(0),a=n(13),c="shared.alerts",u={updatedVideoAlert:function(t){return{heading:o.a.getPhrase(c,"updateVideoHeading"),message:o.a.getPhrase(c,"updateVideoMessage",{videoName:t}),type:r.a.Success}},updatedChaptersAlert:function(t){return{heading:o.a.getPhrase(c,"updateChaptersHeading"),message:o.a.getPhrase(c,"updateChaptersMessage",{videoName:t}),type:r.a.Success}},moveVideoAlert:function(t,e,n,u,s){return{heading:o.a.getPhrase(c,"moveVideoHeading",{smartCount:u}),message:o.a.getPhrase(c,"moveVideoMessage",{smartCount:u,sourceFolder:a.v.escapeExpression(t),destinationFolder:a.v.escapeExpression(e),videoName:a.v.escapeExpression(s)}),type:r.a.Success,appLinkText:o.a.getPhrase(c,"appLink",{destinationFolder:e}),appLink:{application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.FOLDER,args:[n]}}},addVideoToLibraryAlert:function(t,e){var n=t.get("name"),u=e.get("name");return{heading:o.a.getPhrase(c,"addVideoHeading"),message:o.a.getPhrase(c,"addVideoMessage",{videoName:a.v.escapeExpression(n),folderName:a.v.escapeExpression(u)}),type:r.a.Success,appLinkText:o.a.getPhrase(c,"appLink",{destinationFolder:u}),appLink:{application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.FOLDER,args:[e.get("id")]}}}}},function(t,e,n){"use strict";var r,o=n(2),i=n(3),a=n(285);!function(t){t[t.Notifications=0]="Notifications"}(r||(r={}));var c=n(5),u=n(46),s=n(242),l=n.n(s);var f,p,h,y,d,b=(f={},p=r.Notifications,h=function(t){var e={imageUrl:c.a.getInstance(u.a.NOTIFICATIONS).notificationsEmptyStateUrl,heading:t.options.componentOptions.noNotificationsText,customClass:"".concat(l.a.paddedContainer," ").concat(t.options.componentOptions.customClass),customImageClass:"sm"===t.options.componentOptions.imageSize?l.a.imageSmall:l.a.imageLarge};return c.a.releaseInstance(u.a.NOTIFICATIONS),e},p in f?Object.defineProperty(f,p,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[p]=h,f),v=n(6),g=n(29),m=n(15),w=n(23),S=n(155),O=n(123),C=n(234),k=n(75),E=n(1),_=n(413);function R(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return P(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function T(){return c.a.getInstance(u.a.NOTIFICATIONS,this)}function x(t,e,n){return t===d.Module?function(t,e){var n=T();return e===y.ContentUpdates?n.appLinks.pastReleases:e===y.LibraryReview?n.appLinks.awaitingReview:void 0}(0,e):t===d.Video?function(t,e,n){return Object.assign(Object.assign({},T().appLinks.videoDetails),{args:[e,""]})}(0,e):t===d.StaffRequest?function(t,e,n){return Object.assign(Object.assign({},T().appLinks.editStaffRequest),{args:[e],params:{referrer:_.a.Notification}})}(0,e):void 0}!function(t){t.LibraryReview="libraryreview",t.ContentUpdates="newcontent"}(y||(y={})),function(t){t.Video="video",t.Url="url",t.Module="module",t.App="app",t.StaffRequest="staff_request"}(d||(d={}));var j=function(t){return E.contains(T().notificationTypesWithAppLinks,t)},D=function(t,e){if(t&&e){var n=R(t.split(":"),2);return x(n[0],n[1])}},L=n(276),A=n.n(L),I=n(535),N=n.n(I);function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function U(t,e){return(U=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function F(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=z(t);if(e){var o=z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return H(this,n)}}function H(t,e){return!e||"object"!==M(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function z(t){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var B,q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U(t,e)}(i,t);var e,n,r,o=F(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,t)}return e=i,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:notificationStatus",this.updateReadStatus)}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(t){return v.Radio.channel(w.a.NOTIFICATIONS).trigger(C.a.Read,this.model.get("id")),this.model.set("notificationStatus",O.a.Read),!0}},{key:"getAppLink",value:function(){var t=this.model.get("appLink");if(!t)return null;var e=this.model.get("notificationType");return j(e)?D(t,e):null}},{key:"updateReadStatus",value:function(){this.$el.removeClass("unread read").addClass(this.getReadStatus())}},{key:"getReadStatus",value:function(){switch(this.model.get("notificationStatus")){case O.a.Read:return"read";default:case O.a.Received:return"unread"}}},{key:"viewOptions",value:function(){var t=S.a.getIconColorByNotificationType(this.model.get("notificationType"))||S.a.getIconColor(this.model.get("alertType")),e=S.a.getIconByNotificationType(this.model.get("notificationType"))||S.a.getIcon(this.model.get("alertType"));return{content:this.model.get("body")||this.model.get("name"),notificationTime:g(this.model.get("dateCreated")).fromNow(),icon:m.a.getSvg(e),iconClass:"text-".concat(t),styles:A.a,showActionText:this.options.showActionText&&this.model.get("alertType")!==k.a.Warning,actionText:S.a.getNotificationAction(this.model.get("notificationType"))}}},{key:"name",get:function(){return"NotificationItemComponent"}},{key:"template",get:function(){return N.a}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){return this.getAppLink()?{}:{href:this.model.get("link"),target:"_blank"}}},{key:"className",get:function(){return"notification ".concat(A.a.item," px-1 py-2 ").concat(this.getReadStatus())}},{key:"appLinks",get:function(){var t=this.getAppLink();return t?{"[this]":t}:{}}}])&&V(e.prototype,n),r&&V(e,r),i}(o.a.Component),W=n(536),Y=n.n(W);function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Q(t,e,n){return e&&K(t.prototype,e),n&&K(t,n),t}function Z(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$(t,e)}function $(t,e){return($=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function X(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=et(t);if(e){var o=et(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tt(this,n)}}function tt(t,e){return!e||"object"!==G(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return B})),n.d(e,"b",(function(){return rt})),function(t){t[t.Default=0]="Default",t[t.Popover=1]="Popover"}(B||(B={}));var nt=function(t){Z(n,t);var e=X(n);function n(t){return J(this,n),e.call(this,t)}return Q(n,[{key:"name",get:function(){return"NotificationComponentCollection"}},{key:"className",get:function(){return this.options.isPopover&&"popover-list-body-sm"}},{key:"childView",get:function(){return q}},{key:"childViewOptions",get:function(){return{showActionText:!this.options.isPopover}}}]),n}(o.a.ComponentCollection),rt=function(t){Z(n,t);var e=X(n);function n(t){return J(this,n),e.call(this,t)}return Q(n,[{key:"regions",value:function(){return{notifications:{el:".notifications-region",replaceElement:!0}}}},{key:"getEmptyStateComponentOptions",value:function(){return this.options.isPopover?{customClass:"px-0 py-3",imageSize:"sm",noNotificationsText:i.a.getPhrase(this.lang,"noNotifications")}:{noNotificationsText:i.a.getPhrase(this.lang,"noNotifications")}}},{key:"onRender",value:function(){this.showChildView("notifications",new nt(this.options))}},{key:"name",get:function(){return"NotificationListComponent"}},{key:"template",get:function(){return Y.a}},{key:"lang",get:function(){return"notifications.notificationList"}},{key:"behaviors",get:function(){return[{behaviorClass:a.a,region:"notifications",type:r.Notifications,componentOptions:this.getEmptyStateComponentOptions(),emptyStateComponents:b}]}}]),n}(o.a.Component)},function(t,e,n){"use strict";var r=n(6),o=n(2),i=n(12),a=n(1),c=n(283),u=n(526),s=n.n(u);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(i,t);var e,n,r,o=h(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,t)}return e=i,(n=[{key:"events",value:function(){this.createClickHandlers();var t={};return a.each(this.options.buttons,(function(e,n){t["click .dialog-button-".concat(n)]="onClickButton".concat(n)})),t}},{key:"createClickHandlers",value:function(){var t=this;this.clickHandlersCreated||(a.each(this.options.buttons,(function(e,n){t["onClickButton".concat(n)]=e.success?function(){return t.onDone(e)}:function(){return t.onFail()}})),this.clickHandlersCreated=!0)}},{key:"reject",value:function(){"pending"===this.options.result.state()&&this.options.result.reject()}},{key:"onDone",value:function(t){this.options.result.resolve(t)}},{key:"onFail",value:function(){this.reject()}},{key:"onDestroy",value:function(){this.reject()}},{key:"template",get:function(){return s.a}},{key:"name",get:function(){return"DialogView"}},{key:"title",get:function(){return!1}},{key:"behaviors",get:function(){var t=a.map(this.options.buttons,(function(t,e){var n=a.pick(t,["text","type","className","close"]);return n.className+=" dialog-button-".concat(e),n}));return[{behaviorClass:c.f,title:this.options.title,buttons:t}]}}])&&f(e.prototype,n),r&&f(e,r),i}(o.a.View),v=n(0);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function S(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C(t);if(e){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return k}));var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(u,t);var e,n,a,c=S(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=c.call(this)).dialogOptions=t,e.dialogOptions.result||(e.dialogOptions.result=$.Deferred()),e}return e=u,(n=[{key:"render",value:function(){var t=this,e=this.dialogOptions.result,n=new b(this.dialogOptions);return r.Radio.channel(i.a.POPUP).trigger(o.a.EventNames.SHOW_POPUP,n),e.always((function(){n.triggerMethod("hide"),t.destroy()}))}},{key:"name",get:function(){return v.x.DialogHelper}}])&&m(e.prototype,n),a&&m(e,a),u}(o.a.Service)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={ANALYTICS:"global:analytics"}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Analytics="AnalyticsService",t.Context="ContextService"}(r||(r={}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(u,t);var e,n,r,c=a(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),c.call(this,t)}return e=u,(n=[{key:"shouldLog",value:function(t){return!0}},{key:"log",value:function(t){}},{key:"isType",value:function(t){return t===u.type}}])&&o(e.prototype,n),r&&o(e,r),u}(n(2).a.Service);s.type="BaseAnalyticsClient"},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1),o={isFileDrag:function(t){return t&&t.originalEvent&&t.originalEvent.dataTransfer&&t.originalEvent.dataTransfer.types&&r.any(t.originalEvent.dataTransfer.types,(function(t){return"Files"===t}))}}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Permanent=0]="Permanent",t[t.Temporary=1]="Temporary"}(r||(r={}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(5),o=n(22),i={libraries:{dataServiceName:o.a.Library,eventName:"libraries:sync",getData:function(t){return t.getLibraries()},getInstance:function(t){return r.a.getInstance(o.a.Library,t)},beforeOnBeforeRender:!0}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(79),o=n(88);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.d}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a)},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Read="notification:read"}(r||(r={}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return l}));var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(s,t);var e,n,r,u=c(s);function s(){return o(this,s),u.apply(this,arguments)}return e=s,(n=[{key:"name",get:function(){return"AlertError"}}])&&i(e.prototype,n),r&&i(e,r),s}(n(2).a.SilentError)},function(t,e,n){"use strict";var r=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return i(this,n),e.apply(this,arguments)}return n}(r.a.Model);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return g}));var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(i,t);var e,n,r,o=d(i);function i(){return p(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return l}}])&&h(e.prototype,n),r&&h(e,r),i}(r.a.Collection)},function(t,e,n){"use strict";var r=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return i(this,n),e.apply(this,arguments)}return n}(r.a.Model);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return g}));var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(i,t);var e,n,r,o=d(i);function i(){return p(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return l}}])&&h(e.prototype,n),r&&h(e,r),i}(r.a.Collection)},function(t,e,n){"use strict";var r;!function(t){t[t.Approved=1]="Approved",t[t.Pending=2]="Pending",t[t.Rejected=3]="Rejected"}(r||(r={})),n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return'<div class="row mx-0">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.thumbnailContainer:i,e))+' partial-loading-background pr-0 my-3"></div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.metaContainer:i,e))+' pl-3 my-3">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.titleContainer:i,e))+' partial-loading-background"></div>\r\n </div>\r\n</div>'},useData:!0})},function(t,e,n){t.exports={list:"_35CAt",item:"_1r5u9",title:"_1ttnP",requestedBy:"_3Tq3M",date:"_33-LZ"}},function(t,e,n){t.exports={notificationIcon:"_3SkbQ",light:"_2TvQg",dark:"_3taGb",unreadCount:"_1u6ig"}},function(t,e,n){t.exports={paddedContainer:"_1cCVc",imageLarge:"_3Wy1u",imageSmall:"_3t8Qq"}},function(t,e,n){t.exports={selectionContainer:"_3m62c",svgContainer:"_1XxEl"}},function(t,e,n){t.exports={svgContainer:"ecsrN",tip:"IwYkF",termContainer:"_1BqAi",term:"_1NEsr"}},function(t,e,n){t.exports={searchSvgContainer:"_1-crd",tipsContainer:"_15HAy",searchInput:"_1qca6",searchBar:"_3XQHi"}},function(t,e,n){"use strict";n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return b})),n.d(e,"a",(function(){return v}));var r=n(1),o=n(6),i=n(2),a=n(13),c=n(524),u=n.n(c);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d={ShowSpinner:"show:spinner",HideSpinner:"hide:spinner",ToggleSpinner:"toggle:spinner",Enable:"enable",Disable:"disable",ManageDimensions:"manage:dimensions"},b={ShowSpinner:"showSpinner",Disabled:"disabled"},v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(h,t);var e,n,c,s=p(h);function h(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h),s.call(this,t)}return e=h,(n=[{key:"events",value:function(){return{click:"onClick"}}},{key:"initialize",value:function(){this.model||(this.model=new i.a.Model({showSpinner:this.options.showSpinner,disabled:this.options.disabled})),this.bindSpinnerListeners(),this.bindDisableListeners(),this.listenTo(this.model,"change:".concat(b.ShowSpinner),this.render),this.listenTo(this.model,"change:".concat(b.Disabled),this.render)}},{key:"bindSpinnerListeners",value:function(){this.listenTo(this,d.ShowSpinner,this.showSpinner),this.listenTo(this,d.HideSpinner,this.hideSpinner),this.listenTo(this,d.ToggleSpinner,this.toggleSpinner),this.listenTo(this,d.ManageDimensions,this.manageDimensions),this.options.channelName&&(this.listenTo(this.options.channelName,d.ShowSpinner,this.showSpinner),this.listenTo(this.options.channelName,d.HideSpinner,this.hideSpinner),this.listenTo(this.options.channelName,d.ToggleSpinner,this.toggleSpinner))}},{key:"bindDisableListeners",value:function(){this.listenTo(this,d.Enable,this.enableButton),this.listenTo(this,d.Disable,this.disableButton),this.options.channelName&&(this.listenTo(this.options.channelName,d.Enable,this.enableButton),this.listenTo(this.options.channelName,d.Disable,this.disableButton))}},{key:"getButtonText",value:function(){return r.isFunction(this.options.buttonText)?this.options.buttonText():this.options.buttonText}},{key:"getTooltipOptions",value:function(){var t=this.options.tooltip;return r.isFunction(t)?t():t}},{key:"onClick",value:function(t){if(t.preventDefault(),!(this.options.disabled||this.model.get(b.Disabled)||this.model.get(b.ShowSpinner)))return o.Radio.channel(this.options.channelName).trigger(this.options.saveEvent),!1}},{key:"toggleSpinner",value:function(){this.model.get("showSpinner")?this.hideSpinner():this.showSpinner()}},{key:"showSpinner",value:function(){this.model.set("showSpinner",!0)}},{key:"hideSpinner",value:function(){this.model.set("showSpinner",!1)}},{key:"enableButton",value:function(){this.model.set("disabled",!1)}},{key:"disableButton",value:function(){this.model.set("disabled",!0)}},{key:"manageDimensions",value:function(){this.isAttached()&&(this.model.get("showSpinner")?this.applyDimensions():this.storeDimensions())}},{key:"storeDimensions",value:function(){this.options.detectWidth&&this.model.set("buttonWidth",this.$el.outerWidth()),this.options.detectHeight&&this.model.set("buttonHeight",this.$el.outerHeight())}},{key:"applyDimensions",value:function(){this.options.detectWidth&&this.model.get("buttonWidth")&&this.$el.css({width:this.model.get("buttonWidth")+"px"}),this.options.detectHeight&&this.model.get("buttonHeight")&&this.$el.css({height:this.model.get("buttonHeight")+"px"})}},{key:"renderTooltip",value:function(){var t=this.getTooltipOptions();r.isUndefined(t)||r.isEmpty(t)?this.$el.tooltip("dispose"):this.$el.tooltip(t)}},{key:"viewOptions",value:function(){var t={buttonText:this.getButtonText()};if(!this.model.get("showSpinner"))return t;var e=this.options.spinnerOptions||{};return r.extend(t,{spinnerEl:a.q.getSpinner(e)})}},{key:"onAttach",value:function(){this.manageDimensions()}},{key:"onRender",value:function(){this.resetClassName(),this.manageDimensions(),this.renderTooltip()}},{key:"onBeforeDestroy",value:function(){this.getTooltipOptions()&&this.$el.tooltip("dispose")}},{key:"name",get:function(){return"SpinnerButtonComponent"}},{key:"tagName",get:function(){return"button"}},{key:"attributes",get:function(){return{type:this.options.buttonType}}},{key:"template",get:function(){return u.a}},{key:"className",get:function(){var t="btn",e=this.options.extraButtonClass||"";return this.model&&this.model.get("disabled")&&(t="".concat(t," disabled")),"".concat(t," ").concat(e)}},{key:"defaults",get:function(){return{showSpinner:!1,detectWidth:!0,detectHeight:!0,buttonText:"Submit",buttonType:"button",preventMultiClick:!0,spinnerOptions:{size:a.r.Small,extraClasses:"mx-auto"}}}}])&&l(e.prototype,n),c&&l(e,c),h}(i.a.Component)},function(t,e,n){"use strict";e.__esModule=!0,e.AMPERSAND=e.CLOSEPAREN=e.CLOSEANGLEBRACKET=e.CLOSEBRACKET=e.CLOSEBRACE=e.OPENPAREN=e.OPENANGLEBRACKET=e.OPENBRACKET=e.OPENBRACE=e.WS=e.TLD=e.SYM=e.UNDERSCORE=e.SLASH=e.MAILTO=e.PROTOCOL=e.QUERY=e.POUND=e.PLUS=e.NUM=e.NL=e.LOCALHOST=e.PUNCTUATION=e.DOT=e.COLON=e.AT=e.DOMAIN=e.Base=void 0;var r=n(316),o=n(195),i=(0,r.createTokenClass)();function a(t){var e=t?{v:t}:{};return(0,o.inherits)(i,(0,r.createTokenClass)(),e)}i.prototype={toString:function(){return this.v+""}};var c=a(),u=a("@"),s=a(":"),l=a("."),f=a(),p=a(),h=a("\n"),y=a(),d=a("+"),b=a("#"),v=a(),g=a("mailto:"),m=a("?"),w=a("/"),S=a("_"),O=a(),C=a(),k=a(),E=a("{"),_=a("["),R=a("<"),P=a("("),T=a("}"),x=a("]"),j=a(">"),D=a(")"),L=a("&");e.Base=i,e.DOMAIN=c,e.AT=u,e.COLON=s,e.DOT=l,e.PUNCTUATION=f,e.LOCALHOST=p,e.NL=h,e.NUM=y,e.PLUS=d,e.POUND=b,e.QUERY=m,e.PROTOCOL=v,e.MAILTO=g,e.SLASH=w,e.UNDERSCORE=S,e.SYM=O,e.TLD=C,e.WS=k,e.OPENBRACE=E,e.OPENBRACKET=_,e.OPENANGLEBRACKET=R,e.OPENPAREN=P,e.CLOSEBRACE=T,e.CLOSEBRACKET=x,e.CLOSEANGLEBRACKET=j,e.CLOSEPAREN=D,e.AMPERSAND=L},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},,,,,,,,,,,,,,,,,,,,,function(t,e,n){t.exports={statusBar:"_3qlXe",statusBarMessage:"_1ul9Z",button:"_3HS1V"}},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return'<div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.icon:i,e))+' partial-loading-background"></div><div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.contentContainer:i,e))+'">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.content:i,e))+' partial-loading-background ml-1 mt-1"></div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.notificationTime:i,e))+' partial-loading-background ml-1 mt-1"></div>\r\n</div>'},useData:!0})},function(t,e,n){t.exports={content:"_3KP84",notificationTime:"_1MR01",icon:"_1GUmS",contentContainer:"_34ETn"}},function(t,e,n){t.exports={actions:"_1cCHt",badge:"_2x-so",button:"_2y4ng",selectButton:"_1uCMl"}},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="'+t.escapeExpression(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.filterButton:i,e))+'"></div>'},useData:!0})},function(t,e,n){t.exports={filterButton:"_10tNq"}},function(t,e,n){t.exports={container:"_11___",input:"_3RRYx"}},function(t,e,n){t.exports={item:"_3CmnQ",icon:"YYvWW",contentContainer:"_1w1Jg",notificationTime:"_11n-Y",content:"_3JkbY",actionText:"_3D1fr"}},function(t,e,n){t.exports={coverImage:"_1_Tx-",coverContainer:"_3Qf-6",textContainer:"_34VXV"}},function(t,e,n){t.exports={avatar:"_1SfF-",arrow:"_2C5x6",popoverOffset:"_3FIw8"}},function(t,e,n){t.exports={progressDropdown:"_3mx9H",upload:"t6ngq",uploadButtonSvg:"_35apo"}},function(t,e,n){t.exports={progressInfo:"_1fkFK",svgContainer:"_2uMkl",itemCount:"_1oXJj"}},function(t,e,n){t.exports={active:"_3fIrz",icon:"_1RDxv"}},function(t,e,n){"use strict";(function(t){var e=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function n(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(){r(this,t)}return e(t,[{key:"on",value:function(t,e){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(e),this}},{key:"emit",value:function(t){this._callbacks=this._callbacks||{};var e=this._callbacks[t];if(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=e,a=!0,c=0;for(i=a?i:i[Symbol.iterator]();;){var u;if(a){if(c>=i.length)break;u=i[c++]}else{if((c=i.next()).done)break;u=c.value}var s=u;s.apply(this,r)}}return this}},{key:"off",value:function(t,e){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[t];if(!n)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(var r=0;r<n.length;r++){var o=n[r];if(o===e){n.splice(r,1);break}}return this}}]),t}(),i=function(t){function i(t,e){r(this,i);var o,a=n(this,(i.__proto__||Object.getPrototypeOf(i)).call(this)),c=void 0;if(a.element=t,a.version=i.version,a.defaultOptions.previewTemplate=a.defaultOptions.previewTemplate.replace(/\n*/g,""),a.clickableElements=[],a.listeners=[],a.files=[],"string"==typeof a.element&&(a.element=document.querySelector(a.element)),!a.element||null==a.element.nodeType)throw new Error("Invalid dropzone element.");if(a.element.dropzone)throw new Error("Dropzone already attached.");i.instances.push(a),a.element.dropzone=a;var u,s=null!=(o=i.optionsForElement(a.element))?o:{};if(a.options=i.extend({},a.defaultOptions,s,null!=e?e:{}),a.options.forceFallback||!i.isBrowserSupported())return u=a.options.fallback.call(a),n(a,u);if(null==a.options.url&&(a.options.url=a.element.getAttribute("action")),!a.options.url)throw new Error("No URL provided.");if(a.options.acceptedFiles&&a.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(a.options.uploadMultiple&&a.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return a.options.acceptedMimeTypes&&(a.options.acceptedFiles=a.options.acceptedMimeTypes,delete a.options.acceptedMimeTypes),null!=a.options.renameFilename&&(a.options.renameFile=function(t){return a.options.renameFilename.call(a,t.name,t)}),a.options.method=a.options.method.toUpperCase(),(c=a.getExistingFallback())&&c.parentNode&&c.parentNode.removeChild(c),!1!==a.options.previewsContainer&&(a.options.previewsContainer?a.previewsContainer=i.getElement(a.options.previewsContainer,"previewsContainer"):a.previewsContainer=a.element),a.options.clickable&&(!0===a.options.clickable?a.clickableElements=[a.element]:a.clickableElements=i.getElements(a.options.clickable,"clickable")),a.init(),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,t),e(i,null,[{key:"initClass",value:function(){this.prototype.Emitter=o,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,timeout:3e4,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(t,e,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:function(t,e){return e()},chunksUploaded:function(t,e){e()},fallback:function(){var t=void 0;this.element.className=this.element.className+" dz-browser-not-supported";for(var e=0,n=n=this.element.getElementsByTagName("div");;){if(e>=n.length)break;var r=n[e++];if(/(^| )dz-message($| )/.test(r.className)){t=r,r.className="dz-message";break}}t||(t=i.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(t));var o=t.getElementsByTagName("span")[0];return o&&(null!=o.textContent?o.textContent=this.options.dictFallbackMessage:null!=o.innerText&&(o.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(t,e,n,r){var o={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},i=t.width/t.height;null==e&&null==n?(e=o.srcWidth,n=o.srcHeight):null==e?e=n*i:null==n&&(n=e/i);var a=(e=Math.min(e,o.srcWidth))/(n=Math.min(n,o.srcHeight));if(o.srcWidth>e||o.srcHeight>n)if("crop"===r)i>a?(o.srcHeight=t.height,o.srcWidth=o.srcHeight*a):(o.srcWidth=t.width,o.srcHeight=o.srcWidth/a);else{if("contain"!==r)throw new Error("Unknown resizeMethod '"+r+"'");i>a?n=e/i:e=n*i}return o.srcX=(t.width-o.srcWidth)/2,o.srcY=(t.height-o.srcHeight)/2,o.trgWidth=e,o.trgHeight=n,o},transformFile:function(t,e){return(this.options.resizeWidth||this.options.resizeHeight)&&t.type.match(/image.*/)?this.resizeImage(t,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,e):e(t)},previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Check</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Error</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>',drop:function(t){return this.element.classList.remove("dz-drag-hover")},dragstart:function(t){},dragend:function(t){return this.element.classList.remove("dz-drag-hover")},dragenter:function(t){return this.element.classList.add("dz-drag-hover")},dragover:function(t){return this.element.classList.add("dz-drag-hover")},dragleave:function(t){return this.element.classList.remove("dz-drag-hover")},paste:function(t){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var e=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){t.previewElement=i.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-name]");;){if(n>=r.length)break;var o=r[n++];o.textContent=t.name}for(var a=0,c=c=t.previewElement.querySelectorAll("[data-dz-size]");!(a>=c.length);)(o=c[a++]).innerHTML=this.filesize(t.size);this.options.addRemoveLinks&&(t._removeLink=i.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),t.previewElement.appendChild(t._removeLink));for(var u=function(n){return n.preventDefault(),n.stopPropagation(),t.status===i.UPLOADING?i.confirm(e.options.dictCancelUploadConfirmation,(function(){return e.removeFile(t)})):e.options.dictRemoveFileConfirmation?i.confirm(e.options.dictRemoveFileConfirmation,(function(){return e.removeFile(t)})):e.removeFile(t)},s=0,l=l=t.previewElement.querySelectorAll("[data-dz-remove]");;){if(s>=l.length)break;l[s++].addEventListener("click",u)}}},removedfile:function(t){return null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(t,e){if(t.previewElement){t.previewElement.classList.remove("dz-file-preview");for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-thumbnail]");;){if(n>=r.length)break;var o=r[n++];o.alt=t.name,o.src=e}return setTimeout((function(){return t.previewElement.classList.add("dz-image-preview")}),1)}},error:function(t,e){if(t.previewElement){t.previewElement.classList.add("dz-error"),"String"!=typeof e&&e.error&&(e=e.error);for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-errormessage]");;){if(n>=r.length)break;r[n++].textContent=e}}},errormultiple:function(){},processing:function(t){if(t.previewElement&&(t.previewElement.classList.add("dz-processing"),t._removeLink))return t._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(t,e,n){if(t.previewElement)for(var r=0,o=o=t.previewElement.querySelectorAll("[data-dz-uploadprogress]");;){if(r>=o.length)break;var i=o[r++];"PROGRESS"===i.nodeName?i.value=e:i.style.width=e+"%"}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(t){if(t.previewElement)return t.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(t){return this.emit("error",t,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(t){if(t._removeLink&&(t._removeLink.innerHTML=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=n,i=!0,a=0;for(o=i?o:o[Symbol.iterator]();;){var c;if(i){if(a>=o.length)break;c=o[a++]}else{if((a=o.next()).done)break;c=a.value}var u=c;for(var s in u){var l=u[s];t[s]=l}}return t}}]),e(i,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(t){return t.accepted})).map((function(t){return t}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(t){return!t.accepted})).map((function(t){return t}))}},{key:"getFilesWithStatus",value:function(t){return this.files.filter((function(e){return e.status===t})).map((function(t){return t}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(i.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(i.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(i.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(t){return t.status===i.UPLOADING||t.status===i.QUEUED})).map((function(t){return t}))}},{key:"init",value:function(){var t=this;if("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(i.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length){!function e(){return t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null===t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!==t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!==t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",i.getElement(t.options.hiddenInputContainer,"hiddenInputContainer").appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",(function(){var n=t.hiddenFileInput.files;if(n.length)for(var r=0,o=o=n;;){if(r>=o.length)break;var i=o[r++];t.addFile(i)}return t.emit("addedfiles",n),e()}))}()}this.URL=null!==window.URL?window.URL:window.webkitURL;for(var e=0,n=n=this.events;;){if(e>=n.length)break;var r=n[e++];this.on(r,this.options[r])}this.on("uploadprogress",(function(){return t.updateTotalUploadProgress()})),this.on("removedfile",(function(){return t.updateTotalUploadProgress()})),this.on("canceled",(function(e){return t.emit("complete",e)})),this.on("complete",(function(e){if(0===t.getAddedFiles().length&&0===t.getUploadingFiles().length&&0===t.getQueuedFiles().length)return setTimeout((function(){return t.emit("queuecomplete")}),0)}));var o=function(t){return t.stopPropagation(),t.preventDefault?t.preventDefault():t.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(e){return t.emit("dragstart",e)},dragenter:function(e){return o(e),t.emit("dragenter",e)},dragover:function(e){var n=void 0;try{n=e.dataTransfer.effectAllowed}catch(t){}return e.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",o(e),t.emit("dragover",e)},dragleave:function(e){return t.emit("dragleave",e)},drop:function(e){return o(e),t.drop(e)},dragend:function(e){return t.emit("dragend",e)}}}],this.clickableElements.forEach((function(e){return t.listeners.push({element:e,events:{click:function(n){return(e!==t.element||n.target===t.element||i.elementInside(n.target,t.element.querySelector(".dz-message")))&&t.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,i.instances.splice(i.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var t=void 0,e=0,n=0;if(this.getActiveFiles().length){for(var r=0,o=o=this.getActiveFiles();;){if(r>=o.length)break;var i=o[r++];e+=i.upload.bytesSent,n+=i.upload.total}t=100*e/n}else t=100;return this.emit("totaluploadprogress",t,n,e)}},{key:"_getParamName",value:function(t){return"function"==typeof this.options.paramName?this.options.paramName(t):this.options.paramName+(this.options.uploadMultiple?"["+t+"]":"")}},{key:"_renameFile",value:function(t){return"function"!=typeof this.options.renameFile?t.name:this.options.renameFile(t)}},{key:"getFallbackForm",value:function(){var t,e=void 0;if(t=this.getExistingFallback())return t;var n='<div class="dz-fallback">';this.options.dictFallbackText&&(n+="<p>"+this.options.dictFallbackText+"</p>"),n+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>';var r=i.createElement(n);return"FORM"!==this.element.tagName?(e=i.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>')).appendChild(r):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=e?e:r}},{key:"getExistingFallback",value:function(){for(var t=function(t){for(var e=0,n=n=t;;){if(e>=n.length)break;var r=n[e++];if(/(^| )fallback($| )/.test(r.className))return r}},e=["div","form"],n=0;n<e.length;n++){var r,o=e[n];if(r=t(this.element.getElementsByTagName(o)))return r}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events){var r=t.events[n];e.push(t.element.addEventListener(n,r,!1))}return e}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events){var r=t.events[n];e.push(t.element.removeEventListener(n,r,!1))}return e}()}))}},{key:"disable",value:function(){var t=this;return this.clickableElements.forEach((function(t){return t.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(e){return t.cancelUpload(e)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(t){return t.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(t){var e=0,n="b";if(t>0){for(var r=["tb","gb","mb","kb","b"],o=0;o<r.length;o++){var i=r[o];if(t>=Math.pow(this.options.filesizeBase,4-o)/10){e=t/Math.pow(this.options.filesizeBase,4-o),n=i;break}}e=Math.round(10*e)/10}return"<strong>"+e+"</strong> "+this.options.dictFileSizeUnits[n]}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(t){if(t.dataTransfer){this.emit("drop",t);for(var e=[],n=0;n<t.dataTransfer.files.length;n++)e[n]=t.dataTransfer.files[n];if(this.emit("addedfiles",e),e.length){var r=t.dataTransfer.items;r&&r.length&&null!=r[0].webkitGetAsEntry?this._addFilesFromItems(r):this.handleFiles(e)}}}},{key:"paste",value:function(t){if(null!=(e=null!=t?t.clipboardData:void 0,n=function(t){return t.items},null!=e?n(e):void 0)){var e,n;this.emit("paste",t);var r=t.clipboardData.items;return r.length?this._addFilesFromItems(r):void 0}}},{key:"handleFiles",value:function(t){for(var e=0,n=n=t;;){if(e>=n.length)break;var r=n[e++];this.addFile(r)}}},{key:"_addFilesFromItems",value:function(t){var e=this;return function(){for(var n=[],r=0,o=o=t;;){if(r>=o.length)break;var i,a=o[r++];null!=a.webkitGetAsEntry&&(i=a.webkitGetAsEntry())?i.isFile?n.push(e.addFile(a.getAsFile())):i.isDirectory?n.push(e._addFilesFromDirectory(i,i.name)):n.push(void 0):null!=a.getAsFile&&(null==a.kind||"file"===a.kind)?n.push(e.addFile(a.getAsFile())):n.push(void 0)}return n}()}},{key:"_addFilesFromDirectory",value:function(t,e){var n=this,r=t.createReader(),o=function(t){return e=console,n="log",r=function(e){return e.log(t)},null!=e&&"function"==typeof e[n]?r(e,n):void 0;var e,n,r};return function t(){return r.readEntries((function(r){if(r.length>0){for(var o=0,i=i=r;;){if(o>=i.length)break;var a=i[o++];a.isFile?a.file((function(t){if(!n.options.ignoreHiddenFiles||"."!==t.name.substring(0,1))return t.fullPath=e+"/"+t.name,n.addFile(t)})):a.isDirectory&&n._addFilesFromDirectory(a,e+"/"+a.name)}t()}return null}),o)}()}},{key:"accept",value:function(t,e){return this.options.maxFilesize&&t.size>1024*this.options.maxFilesize*1024?e(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):i.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(e(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,e):e(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var e=this;return t.upload={uuid:i.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t),chunked:this.options.chunking&&(this.options.forceChunking||t.size>this.options.chunkSize),totalChunkCount:Math.ceil(t.size/this.options.chunkSize)},this.files.push(t),t.status=i.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,(function(n){return n?(t.accepted=!1,e._errorProcessing([t],n)):(t.accepted=!0,e.options.autoQueue&&e.enqueueFile(t)),e._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(t){for(var e=0,n=n=t;;){if(e>=n.length)break;var r=n[e++];this.enqueueFile(r)}return null}},{key:"enqueueFile",value:function(t){var e=this;if(t.status!==i.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=i.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return e.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(t){var e=this;if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(t),setTimeout((function(){return e._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var t=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var e=this._thumbnailQueue.shift();return this.createThumbnail(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return t.emit("thumbnail",e,n),t._processingThumbnail=!1,t._processThumbnailQueue()}))}}},{key:"removeFile",value:function(t){if(t.status===i.UPLOADING&&this.cancelUpload(t),this.files=a(this.files,t),this.emit("removedfile",t),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(t){null==t&&(t=!1);for(var e=0,n=n=this.files.slice();;){if(e>=n.length)break;var r=n[e++];(r.status!==i.UPLOADING||t)&&this.removeFile(r)}return null}},{key:"resizeImage",value:function(t,e,n,r,o){var a=this;return this.createThumbnail(t,e,n,r,!0,(function(e,n){if(null==n)return o(t);var r=a.options.resizeMimeType;null==r&&(r=t.type);var c=n.toDataURL(r,a.options.resizeQuality);return"image/jpeg"!==r&&"image/jpg"!==r||(c=s.restore(t.dataURL,c)),o(i.dataURItoBlob(c))}))}},{key:"createThumbnail",value:function(t,e,n,r,o,i){var a=this,c=new FileReader;return c.onload=function(){if(t.dataURL=c.result,"image/svg+xml"!==t.type)return a.createThumbnailFromUrl(t,e,n,r,o,i);null!=i&&i(c.result)},c.readAsDataURL(t)}},{key:"createThumbnailFromUrl",value:function(t,e,n,r,o,i,a){var c=this,s=document.createElement("img");return a&&(s.crossOrigin=a),s.onload=function(){var a=function(t){return t(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&o&&(a=function(t){return EXIF.getData(s,(function(){return t(EXIF.getTag(this,"Orientation"))}))}),a((function(o){t.width=s.width,t.height=s.height;var a=c.options.resize.call(c,t,e,n,r),l=document.createElement("canvas"),f=l.getContext("2d");switch(l.width=a.trgWidth,l.height=a.trgHeight,o>4&&(l.width=a.trgHeight,l.height=a.trgWidth),o){case 2:f.translate(l.width,0),f.scale(-1,1);break;case 3:f.translate(l.width,l.height),f.rotate(Math.PI);break;case 4:f.translate(0,l.height),f.scale(1,-1);break;case 5:f.rotate(.5*Math.PI),f.scale(1,-1);break;case 6:f.rotate(.5*Math.PI),f.translate(0,-l.width);break;case 7:f.rotate(.5*Math.PI),f.translate(l.height,-l.width),f.scale(-1,1);break;case 8:f.rotate(-.5*Math.PI),f.translate(-l.height,0)}u(f,s,null!=a.srcX?a.srcX:0,null!=a.srcY?a.srcY:0,a.srcWidth,a.srcHeight,null!=a.trgX?a.trgX:0,null!=a.trgY?a.trgY:0,a.trgWidth,a.trgHeight);var p=l.toDataURL("image/png");if(null!=i)return i(p,l)}))},null!=i&&(s.onerror=i),s.src=t.dataURL}},{key:"processQueue",value:function(){var t=this.options.parallelUploads,e=this.getUploadingFiles().length,n=e;if(!(e>=t)){var r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-e));for(;n<t;){if(!r.length)return;this.processFile(r.shift()),n++}}}}},{key:"processFile",value:function(t){return this.processFiles([t])}},{key:"processFiles",value:function(t){for(var e=0,n=n=t;;){if(e>=n.length)break;var r=n[e++];r.processing=!0,r.status=i.UPLOADING,this.emit("processing",r)}return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter((function(e){return e.xhr===t})).map((function(t){return t}))}},{key:"cancelUpload",value:function(t){if(t.status===i.UPLOADING){for(var e=this._getFilesWithXhr(t.xhr),n=0,r=r=e;;){if(n>=r.length)break;r[n++].status=i.CANCELED}void 0!==t.xhr&&t.xhr.abort();for(var o=0,a=a=e;;){if(o>=a.length)break;var c=a[o++];this.emit("canceled",c)}this.options.uploadMultiple&&this.emit("canceledmultiple",e)}else t.status!==i.ADDED&&t.status!==i.QUEUED||(t.status=i.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(t){if("function"==typeof t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(this,n)}return t}},{key:"uploadFile",value:function(t){return this.uploadFiles([t])}},{key:"uploadFiles",value:function(t){var e=this;this._transformFiles(t,(function(n){if(t[0].upload.chunked){var r=t[0],o=n[0];r.upload.chunks=[];var a=function(){for(var n=0;void 0!==r.upload.chunks[n];)n++;if(!(n>=r.upload.totalChunkCount)){0;var a=n*e.options.chunkSize,c=Math.min(a+e.options.chunkSize,r.size),u={name:e._getParamName(0),data:o.webkitSlice?o.webkitSlice(a,c):o.slice(a,c),filename:r.upload.filename,chunkIndex:n};r.upload.chunks[n]={file:r,index:n,dataBlock:u,status:i.UPLOADING,progress:0,retries:0},e._uploadData(t,[u])}};if(r.upload.finishedChunkUpload=function(n){var o=!0;n.status=i.SUCCESS,n.dataBlock=null,n.xhr=null;for(var c=0;c<r.upload.totalChunkCount;c++){if(void 0===r.upload.chunks[c])return a();r.upload.chunks[c].status!==i.SUCCESS&&(o=!1)}o&&e.options.chunksUploaded(r,(function(){e._finished(t,"",null)}))},e.options.parallelChunkUploads)for(var c=0;c<r.upload.totalChunkCount;c++)a();else a()}else{for(var u=[],s=0;s<t.length;s++)u[s]={name:e._getParamName(s),data:n[s],filename:t[s].upload.filename};e._uploadData(t,u)}}))}},{key:"_getChunk",value:function(t,e){for(var n=0;n<t.upload.totalChunkCount;n++)if(void 0!==t.upload.chunks[n]&&t.upload.chunks[n].xhr===e)return t.upload.chunks[n]}},{key:"_uploadData",value:function(t,e){for(var n=this,r=new XMLHttpRequest,o=0,a=a=t;;){if(o>=a.length)break;a[o++].xhr=r}t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=r);var c=this.resolveOption(this.options.method,t),u=this.resolveOption(this.options.url,t);r.open(c,u,!0),r.timeout=this.resolveOption(this.options.timeout,t),r.withCredentials=!!this.options.withCredentials,r.onload=function(e){n._finishedUploading(t,r,e)},r.onerror=function(){n._handleUploadError(t,r)},(null!=r.upload?r.upload:r).onprogress=function(e){return n._updateFilesUploadProgress(t,r,e)};var s={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var l in this.options.headers&&i.extend(s,this.options.headers),s){var f=s[l];f&&r.setRequestHeader(l,f)}var p=new FormData;if(this.options.params){var h=this.options.params;for(var y in"function"==typeof h&&(h=h.call(this,t,r,t[0].upload.chunked?this._getChunk(t[0],r):null)),h){var d=h[y];p.append(y,d)}}for(var b=0,v=v=t;;){if(b>=v.length)break;var g=v[b++];this.emit("sending",g,r,p)}this.options.uploadMultiple&&this.emit("sendingmultiple",t,r,p),this._addFormElementData(p);for(var m=0;m<e.length;m++){var w=e[m];p.append(w.name,w.data,w.filename)}this.submitRequest(r,p,t)}},{key:"_transformFiles",value:function(t,e){for(var n=this,r=[],o=0,i=function(i){n.options.transformFile.call(n,t[i],(function(n){r[i]=n,++o===t.length&&e(r)}))},a=0;a<t.length;a++)i(a)}},{key:"_addFormElementData",value:function(t){if("FORM"===this.element.tagName)for(var e=0,n=n=this.element.querySelectorAll("input, textarea, select, button");;){if(e>=n.length)break;var r=n[e++],o=r.getAttribute("name"),i=r.getAttribute("type");if(i&&(i=i.toLowerCase()),null!=o)if("SELECT"===r.tagName&&r.hasAttribute("multiple"))for(var a=0,c=c=r.options;;){if(a>=c.length)break;var u=c[a++];u.selected&&t.append(o,u.value)}else(!i||"checkbox"!==i&&"radio"!==i||r.checked)&&t.append(o,r.value)}}},{key:"_updateFilesUploadProgress",value:function(t,e,n){var r=void 0;if(void 0!==n){if(r=100*n.loaded/n.total,t[0].upload.chunked){var o=t[0],i=this._getChunk(o,e);i.progress=r,i.total=n.total,i.bytesSent=n.loaded;o.upload.progress=0,o.upload.total=0,o.upload.bytesSent=0;for(var a=0;a<o.upload.totalChunkCount;a++)void 0!==o.upload.chunks[a]&&void 0!==o.upload.chunks[a].progress&&(o.upload.progress+=o.upload.chunks[a].progress,o.upload.total+=o.upload.chunks[a].total,o.upload.bytesSent+=o.upload.chunks[a].bytesSent);o.upload.progress=o.upload.progress/o.upload.totalChunkCount}else for(var c=0,u=u=t;;){if(c>=u.length)break;var s=u[c++];s.upload.progress=r,s.upload.total=n.total,s.upload.bytesSent=n.loaded}for(var l=0,f=f=t;;){if(l>=f.length)break;var p=f[l++];this.emit("uploadprogress",p,p.upload.progress,p.upload.bytesSent)}}else{var h=!0;r=100;for(var y=0,d=d=t;;){if(y>=d.length)break;var b=d[y++];100===b.upload.progress&&b.upload.bytesSent===b.upload.total||(h=!1),b.upload.progress=r,b.upload.bytesSent=b.upload.total}if(h)return;for(var v=0,g=g=t;;){if(v>=g.length)break;var m=g[v++];this.emit("uploadprogress",m,r,m.upload.bytesSent)}}}},{key:"_finishedUploading",value:function(t,e,n){var r=void 0;if(t[0].status!==i.CANCELED&&4===e.readyState){if("arraybuffer"!==e.responseType&&"blob"!==e.responseType&&(r=e.responseText,e.getResponseHeader("content-type")&&~e.getResponseHeader("content-type").indexOf("application/json")))try{r=JSON.parse(r)}catch(t){n=t,r="Invalid JSON response from server."}this._updateFilesUploadProgress(t),200<=e.status&&e.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],e)):this._finished(t,r,n):this._handleUploadError(t,e,r)}}},{key:"_handleUploadError",value:function(t,e,n){if(t[0].status!==i.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){var r=this._getChunk(t[0],e);if(r.retries++<this.options.retryChunksLimit)return void this._uploadData(t,[r.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}for(var o=0,a=a=t;;){if(o>=a.length)break;a[o++];this._errorProcessing(t,n||this.options.dictResponseError.replace("{{statusCode}}",e.status),e)}}}},{key:"submitRequest",value:function(t,e,n){t.send(e)}},{key:"_finished",value:function(t,e,n){for(var r=0,o=o=t;;){if(r>=o.length)break;var a=o[r++];a.status=i.SUCCESS,this.emit("success",a,e,n),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("successmultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(t,e,n){for(var r=0,o=o=t;;){if(r>=o.length)break;var a=o[r++];a.status=i.ERROR,this.emit("error",a,e,n),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("errormultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}}]),i}(o);i.initClass(),i.version="5.5.1",i.options={},i.optionsForElement=function(t){return t.getAttribute("id")?i.options[c(t.getAttribute("id"))]:void 0},i.instances=[],i.forElement=function(t){if("string"==typeof t&&(t=document.querySelector(t)),null==(null!=t?t.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return t.dropzone},i.autoDiscover=!0,i.discover=function(){var t=void 0;if(document.querySelectorAll)t=document.querySelectorAll(".dropzone");else{t=[];var e=function(e){return function(){for(var n=[],r=0,o=o=e;;){if(r>=o.length)break;var i=o[r++];/(^| )dropzone($| )/.test(i.className)?n.push(t.push(i)):n.push(void 0)}return n}()};e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))}return function(){for(var e=[],n=0,r=r=t;;){if(n>=r.length)break;var o=r[n++];!1!==i.optionsForElement(o)?e.push(new i(o)):e.push(void 0)}return e}()},i.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],i.isBrowserSupported=function(){var t=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(var e=0,n=n=i.blacklistedBrowsers;;){if(e>=n.length)break;n[e++].test(navigator.userAgent)&&(t=!1)}else t=!1;else t=!1;return t},i.dataURItoBlob=function(t){for(var e=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(e.length),o=new Uint8Array(r),i=0,a=e.length,c=0<=a;c?i<=a:i>=a;c?i++:i--)o[i]=e.charCodeAt(i);return new Blob([r],{type:n})};var a=function(t,e){return t.filter((function(t){return t!==e})).map((function(t){return t}))},c=function(t){return t.replace(/[\-_](\w)/g,(function(t){return t.charAt(1).toUpperCase()}))};i.createElement=function(t){var e=document.createElement("div");return e.innerHTML=t,e.childNodes[0]},i.elementInside=function(t,e){if(t===e)return!0;for(;t=t.parentNode;)if(t===e)return!0;return!1},i.getElement=function(t,e){var n=void 0;if("string"==typeof t?n=document.querySelector(t):null!=t.nodeType&&(n=t),null==n)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},i.getElements=function(t,e){var n=void 0,r=void 0;if(t instanceof Array){r=[];try{for(var o=0,i=i=t;!(o>=i.length);)n=i[o++],r.push(this.getElement(n,e))}catch(t){r=null}}else if("string"==typeof t){r=[];for(var a=0,c=c=document.querySelectorAll(t);!(a>=c.length);)n=c[a++],r.push(n)}else null!=t.nodeType&&(r=[t]);if(null==r||!r.length)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},i.confirm=function(t,e,n){return window.confirm(t)?e():null!=n?n():void 0},i.isValidFile=function(t,e){if(!e)return!0;e=e.split(",");for(var n=t.type,r=n.replace(/\/.*$/,""),o=0,i=i=e;;){if(o>=i.length)break;var a=i[o++];if("."===(a=a.trim()).charAt(0)){if(-1!==t.name.toLowerCase().indexOf(a.toLowerCase(),t.name.length-a.length))return!0}else if(/\/\*$/.test(a)){if(r===a.replace(/\/.*$/,""))return!0}else if(n===a)return!0}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each((function(){return new i(this,t)}))}),null!==t?t.exports=i:window.Dropzone=i,i.ADDED="added",i.QUEUED="queued",i.ACCEPTED=i.QUEUED,i.UPLOADING="uploading",i.PROCESSING=i.UPLOADING,i.CANCELED="canceled",i.ERROR="error",i.SUCCESS="success";var u=function(t,e,n,r,o,i,a,c,u,s){var l=function(t){t.naturalWidth;var e=t.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=e;var r=n.getContext("2d");r.drawImage(t,0,0);for(var o=r.getImageData(1,0,1,e).data,i=0,a=e,c=e;c>i;){0===o[4*(c-1)+3]?a=c:i=c,c=a+i>>1}var u=c/e;return 0===u?1:u}(e);return t.drawImage(e,n,r,o,i,a,c,u,s/l)},s=function(){function t(){r(this,t)}return e(t,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(t){for(var e="",n=void 0,r=void 0,o="",i=void 0,a=void 0,c=void 0,u="",s=0;i=(n=t[s++])>>2,a=(3&n)<<4|(r=t[s++])>>4,c=(15&r)<<2|(o=t[s++])>>6,u=63&o,isNaN(r)?c=u=64:isNaN(o)&&(u=64),e=e+this.KEY_STR.charAt(i)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(c)+this.KEY_STR.charAt(u),n=r=o="",i=a=c=u="",s<t.length;);return e}},{key:"restore",value:function(t,e){if(!t.match("data:image/jpeg;base64,"))return e;var n=this.decode64(t.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(n),o=this.exifManipulation(e,r);return"data:image/jpeg;base64,"+this.encode64(o)}},{key:"exifManipulation",value:function(t,e){var n=this.getExifArray(e),r=this.insertExif(t,n);return new Uint8Array(r)}},{key:"getExifArray",value:function(t){for(var e=void 0,n=0;n<t.length;){if(255===(e=t[n])[0]&225===e[1])return e;n++}return[]}},{key:"insertExif",value:function(t,e){var n=t.replace("data:image/jpeg;base64,",""),r=this.decode64(n),o=r.indexOf(255,3),i=r.slice(0,o),a=r.slice(o),c=i;return c=(c=c.concat(e)).concat(a)}},{key:"slice2Segments",value:function(t){for(var e=0,n=[];;){if(255===t[e]&218===t[e+1])break;if(255===t[e]&216===t[e+1])e+=2;else{var r=e+(256*t[e+2]+t[e+3])+2,o=t.slice(e,r);n.push(o),e=r}if(e>t.length)break}return n}},{key:"decode64",value:function(t){var e=void 0,n=void 0,r="",o=void 0,i=void 0,a="",c=0,u=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");e=this.KEY_STR.indexOf(t.charAt(c++))<<2|(o=this.KEY_STR.indexOf(t.charAt(c++)))>>4,n=(15&o)<<4|(i=this.KEY_STR.indexOf(t.charAt(c++)))>>2,r=(3&i)<<6|(a=this.KEY_STR.indexOf(t.charAt(c++))),u.push(e),64!==i&&u.push(n),64!==a&&u.push(r),e=n=r="",o=i=a="",c<t.length;);return u}}]),t}();s.initClass();i._autoDiscoverFunction=function(){if(i.autoDiscover)return i.discover()},function(t,e){var n=!1,r=!0,o=t.document,i=o.documentElement,a=o.addEventListener?"addEventListener":"attachEvent",c=o.addEventListener?"removeEventListener":"detachEvent",u=o.addEventListener?"":"on",s=function r(i){if("readystatechange"!==i.type||"complete"===o.readyState)return("load"===i.type?t:o)[c](u+i.type,r,!1),!n&&(n=!0)?e.call(t,i.type||i):void 0};if("complete"!==o.readyState){if(o.createEventObject&&i.doScroll){try{r=!t.frameElement}catch(t){}r&&function t(){try{i.doScroll("left")}catch(e){return void setTimeout(t,50)}return s("poll")}()}o[a](u+"DOMContentLoaded",s,!1),o[a](u+"readystatechange",s,!1),t[a](u+"load",s,!1)}}(window,i._autoDiscoverFunction)}).call(this,n(817)(t))},function(t,e,n){"use strict";n(193),n(219);var r=n(194),o=n(6),i=n(2),a=n(0),c=n(13),u=n(192),s=n(43),l=n(179);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(v,t);var e,n,f,b=d(v);function v(){return p(this,v),b.apply(this,arguments)}return e=v,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,s.a.FILES_SELECTED,this.onFilesSelected)}},{key:"onFilesSelected",value:function(t){var e=this;!t&&t.length||(this.reader=new FileReader,this.reader.addEventListener("load",(function(){return e.onReaderLoad()})),this.reader.readAsDataURL(t[0]))}},{key:"onReaderLoad",value:function(){var t=this,e=new Image;e.src=this.reader.result;var n=a.k[this.options.imageType].width,r=a.k[this.options.imageType].height;e.addEventListener("load",(function(){t.isImageValid(e)?t.isImageLowQuality(e)?t.onImageLowQuality(e):t.onImageLoad(e):t.onImageTooSmall(n,r)}))}},{key:"onImageLowQuality",value:function(t){var e=this;o.Radio.channel(this.options.channelName).trigger("image:error"),window.setTimeout((function(){var n=a.m[e.options.imageType];new c.d({title:"Low quality image detected",text:'<p>We\'ve detected a low quality image which may appear stretched or distorted within ClickView.</p>\n <p class="text-muted mb-0"><em>We recommend a size of at least\n '.concat(n.width,"px by ").concat(n.height,"px.</em></p>"),buttons:[{text:"Continue anyway",className:"btn btn-primary",success:!0}]}).render().done((function(){e.onImageLoad(t,!0)}))}),300)}},{key:"onImageTooSmall",value:function(t,e){o.Radio.channel(this.options.channelName).trigger("image:error"),window.setTimeout((function(){i.a.ErrorHelper.throw(new u.g(t,e))}),300)}},{key:"isImageValid",value:function(t){var e=a.k[this.options.imageType].width,n=a.k[this.options.imageType].height;return!(e&&t.width<e||n&&t.height<n)}},{key:"isImageLowQuality",value:function(t){var e=a.m[this.options.imageType];return!!e&&(t.width<e.width||t.height<e.height)}},{key:"onImageLoad",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.options.saveImage(t.src,e),o.Radio.channel(this.options.channelName).trigger("image:load"),this.options.appLink&&i.a.AppLinkHelper.trigger(this.options.appLink)}},{key:"behaviors",get:function(){return[{behaviorClass:r.a,buttonSelector:this.options.buttonSelector,channelName:this.options.channelName,acceptMultiple:!1,mimeType:l.b.IMAGES}]}}])&&h(e.prototype,n),f&&h(e,f),v}(i.a.Behavior);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=E(t);if(e){var o=E(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var _=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(a,t);var e,n,r,i=C(a);function a(){return w(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"initialize",value:function(){this.lockLayoutFileDrop()}},{key:"lockLayoutFileDrop",value:function(){o.Radio.channel("file:drop:lock").trigger("lock")}},{key:"unlockLayoutFileDrop",value:function(){o.Radio.channel("file:drop:lock").trigger("unlock")}},{key:"onDestroy",value:function(){this.unlockLayoutFileDrop()}}])&&S(e.prototype,n),r&&S(e,r),a}(i.a.Behavior);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function x(t,e){return(x=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=L(t);if(e){var o=L(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D(this,n)}}function D(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var A=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&x(t,e)}(a,t);var e,n,r,i=j(a);function a(){return P(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"getModel",value:function(){return this.options.bindViewModel?this.view.viewModel:this.view.model}},{key:"bindModelValidation",value:function(){this.getModel().addValidation(this.options.modelValidation)}},{key:"onRender",value:function(){this.options.modelValidation&&this.bindModelValidation(),o.Validation.bind(this.view,{model:this.getModel()})}},{key:"onBeforeDestroy",value:function(){o.Validation.unbind(this.view,{model:this.getModel()})}}])&&T(e.prototype,n),r&&T(e,r),a}(i.a.Behavior),I=n(116),N=n(19);function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function U(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function F(t,e){return(F=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function H(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=B(t);if(e){var o=B(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z(this,n)}}function z(t,e){return!e||"object"!==M(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function B(t){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F(t,e)}(a,t);var e,n,r,o=H(a);function a(){return V(this,a),o.apply(this,arguments)}return e=a,(n=[{key:"initialize",value:function(){this.validateOptions(),this.listenTo(I.a.LAZY_LOAD,"update:loader",this.updateLoader)}},{key:"updateLoader",value:function(){this.loader&&this.loader.update()}},{key:"onAttach",value:function(){c.h.isLazyLoadSupported(this.options.minBrowserSupportVersion)&&(this.loader=new LazyLoad({data_src:this.options.attribute,elements_selector:this.options.selector,class_loading:this.options.loadingClass,callback_load:this.options.callback,class_error:"d-none"}))}},{key:"onRender",value:function(){this.updateLoader()}},{key:"onBeforeDestroy",value:function(){this.loader&&this.loader.destroy()}},{key:"validateOptions",value:function(){this.options.selector||i.a.ErrorHelper.throw(new N.a("Must pass an image selector from ".concat(this.view.name," when using LazyLoadBehaviour.")))}},{key:"defaults",get:function(){return{loadingClass:"lazyload-loading",attribute:"src"}},set:function(t){}}])&&U(e.prototype,n),r&&U(e,r),a}(i.a.Behavior),W=n(1),Y=n(12),G=n(246),J=n(180),K=n(525),Q=n.n(K);function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t){return function(t){if(Array.isArray(t))return X(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return X(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X(t,e)}(t)||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 X(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function tt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nt(t,e){return(nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=it(t);if(e){var o=it(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ot(this,n)}}function ot(t,e){return!e||"object"!==Z(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function it(t){return(it=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var at={saveEvent:"save",extraButtonClass:"btn-primary",spinnerOptions:{size:J.b.Small,type:J.c.Light,extraClasses:"mx-auto"}},ct=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nt(t,e)}(c,t);var e,n,r,a=rt(c);function c(){return tt(this,c),a.apply(this,arguments)}return e=c,(n=[{key:"initialize",value:function(){this.validateOptions(),this.setUpTemplateWrapper(),this.handleCloseOnRoute(),this.handleRendersDuringTransition()}},{key:"validateOptions",value:function(){this.options.title||i.a.ErrorHelper.throw(new N.a("Must pass a title from ".concat(this.view.name," when using PopupBehavior.")))}},{key:"handleCloseOnRoute",value:function(){var t=this;!1!==this.options.closeOnRoute&&(this.routeOnHide=!0,this.listenTo(Y.a.SHELL,"route",(function(){t.routeOnHide=!1,t.view.$el.modal("hide")})))}},{key:"handleRendersDuringTransition",value:function(){var t=this,e=this.view.render;this.view.render=function(){var n=t.view.$el.data("bs.modal");return n&&n._isTransitioning?(t.view.$(".modal-dialog").one("bsTransitionEnd",(function(){return e.call(t.view)})),t):e.call(t.view)}}},{key:"onHide",value:function(){this.hide()}},{key:"setUpTemplateWrapper",value:function(){var t=this,e=this.view.getTemplate;this.view.getTemplate=function(){return function(n){var r=e.call(t.view),o=t.options.hideCloseButton,i=r(n),a=$(t.options.buttons||[]);return W.each(a,(function(t){W.isFunction(t.getClassName)&&(t.className=t.getClassName())})),W.some(a,(function(t){return t.close}))||o||a.unshift({text:"Close",className:"btn btn-link",close:!0}),a=W.sortBy(W.map(a,(function(t){return W.extend({type:"button",className:"btn btn-primary"},t)})),"close"),Q()({content:i,size:t.options.size,title:t.getTitle(),buttons:a,spinnerButton:!!t.options.spinnerButtonOptions})}}}},{key:"getTitle",value:function(){return W.isFunction(this.options.title)?this.options.title.apply(this.view):this.options.title}},{key:"getSpinnerButtonOptions",value:function(){return W.isFunction(this.options.spinnerButtonOptions)?this.options.spinnerButtonOptions.apply(this.view):this.options.spinnerButtonOptions}},{key:"renderSpinnerButton",value:function(){var t=this.getSpinnerButtonOptions();t&&!W.isEmpty(t)&&(t=W.extend({},at,t),this.view.addRegion("spinnerButton",{el:".spinner-button-region",replaceElement:!0}),this.spinnerButtonListenerBound||(this.spinnerButtonListenerBound=!0,this.view.listenTo(t.channelName,t.saveEvent,t.onClick)),this.spinnerComponent=new G.a(W.omit(t,"onClickSpinnerButton")),this.view.showChildView("spinnerButton",this.spinnerComponent))}},{key:"onRender",value:function(){this.renderSpinnerButton();var t="modal fade";this.options.modalClasses&&(t+=" ".concat(this.options.modalClasses)),this.view.$el.addClass(t),this.view.$el.attr("tabindex","-1"),o.Radio.channel(I.a.POPUP).trigger("popup:render")}},{key:"onAttach",value:function(){this.modalInitialized||(this.view.$el.modal(this.options.modalOptions||{}),this.modalInitialized=!0)}},{key:"hide",value:function(){this.view.$el.modal("hide"),this.routeOnHide||this.view.$el.modal("_removeBackdrop")}},{key:"onBeforeDetach",value:function(){this.hide()}},{key:"onModalHidden",value:function(){this.view.isDestroyed()||this.view.destroy();var t=this.options.appLink;this.routeOnHide&&t&&i.a.AppLinkHelper.trigger(t)}},{key:"onModalShown",value:function(){this.view.$el.find("[autofocus]").focus(),this.spinnerComponent&&this.spinnerComponent.trigger(G.b.ManageDimensions)}},{key:"events",get:function(){return{"hidden.bs.modal":"onModalHidden","shown.bs.modal":"onModalShown"}}}])&&et(e.prototype,n),r&&et(e,r),c}(i.a.Behavior);function ut(t){return(ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function st(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ft(t,e){return(ft=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=yt(t);if(e){var o=yt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ht(this,n)}}function ht(t,e){return!e||"object"!==ut(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function yt(t){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var dt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ft(t,e)}(i,t);var e,n,r,o=pt(i);function i(){return st(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"onRender",value:function(){this.view.stickit(this.options.bindViewModel?this.view.viewModel:this.view.model)}},{key:"onBeforeDestroy",value:function(){this.view.unstickit()}}])&<(e.prototype,n),r&<(e,r),i}(i.a.Behavior);n.d(e,"b",(function(){return r.a})),n.d(e,"c",(function(){return g})),n.d(e,"e",(function(){return _})),n.d(e,"a",(function(){return A})),n.d(e,"d",(function(){return q})),n.d(e,"f",(function(){return ct})),n.d(e,"g",(function(){return dt}))},function(t,e,n){"use strict";var r=n(1),o=n(29),i=n(0),a=n(99),c=n(126),u=n(27),s=(n(221),n(2)),l=n(118);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g,m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(i,t);var e,n,r,o=d(i);function i(){return p(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return l.b}}])&&h(e.prototype,n),r&&h(e,r),i}(s.a.Collection),w=n(3);function S(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function O(t){return function(t){if(Array.isArray(t))return C(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return C(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(t,e)}(t)||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 C(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var k="contentUpdates.utils",E={getFilterCollection:function(t,e,n){var r=new a.a([{title:w.a.getPhrase(k,"libraryFilter"),type:u.a.Libraries,behavior:c.a.Inclusive,selectAllWhenNoneSelected:!0,minNumOptions:2,options:c.b.getSourceOptions(t)},{title:w.a.getPhrase(k,"subjectFilter"),type:u.a.Subjects,behavior:c.a.Exclusive,defaultOptionLabel:function(){return w.a.getPhrase(k,"subjectFilterLabel")},minNumOptions:0,options:e},{title:w.a.getPhrase(k,"releaseDateFilter"),type:u.a.ReleaseDate,behavior:c.a.Exclusive,minNumOptions:1,options:x}]);return n&&E.setFilters(r,n),r},getLibraryIds:function(t,e){var n=e.map((function(t){return t.get("id").toString()}));if(!t)return n;var o=[];return t.split(",").forEach((function(t){var e=t.split("-")[1];e&&r.contains(n,e)&&o.push(e)})),o},getSubjectOptions:function(t){var e={};return t.each((function(t){if(e[t.get("name")]){e[t.get("name")].subjectIds.push(t.get("id").toString());var n=[].concat(O(e[t.get("name")].libraryIds),O(t.get("libraryIds").map((function(t){return t.toString()}))));e[t.get("name")].libraryIds=r.uniq(n)}else e[t.get("name")]={subjectIds:[t.get("id").toString()],libraryIds:t.get("libraryIds").map((function(t){return t.toString()}))}})),r.keys(e).sort().map((function(t){return{name:t,value:t,subjectIds:e[t].subjectIds,libraryIds:e[t].libraryIds}}))},setFilters:function(t,e){r.keys(e).forEach((function(n){var r=e[n];if(r){var o=t.findWhere({type:n});o&&(n===u.a.Libraries&&E.setLibraryFilter(r,o),n===u.a.Subjects&&E.setSubjectFilter(r,o),n===u.a.ReleaseDate&&E.setReleaseDateFilter(r,o))}})),t.each((function(t){t.get("selectAllWhenNoneSelected")&&(r.contains(r.keys(e),t.get("type"))||c.b.selectAllOptions(t))}))},setLibraryFilter:function(t,e){t.split(",").forEach((function(t){var n=t.split("-")[1];if(n){var r=e.options.findWhere({id:+n});r&&r.set("active",!0)}}))},setSubjectFilter:function(t,e){if(-1!==t.indexOf("-")){var n=t.split("-")[1].split(","),o=e.options.find((function(t){return!!r.intersection(t.get("subjectIds"),n).length}));if(o)o.set("active",!0);else{var i=t.split("-")[0];e.options.add({name:i,value:i,subjectIds:n,active:!0})}}},setReleaseDateFilter:function(t,e){c.b.clearOptions(e);var n=e.options.findWhere({queryString:t});if(n)n.set("active",!0);else{var r=e.options.findWhere({isDefault:!0});r&&r.set("active")}},getSelectedSubjects:function(t){return t.findWhere({type:u.a.Subjects}).options.where({active:!0})},groupVideosByReleaseMonth:function(t){var e=[],n=t.groupBy((function(t){return o(t.get("dateReleased")).format("YYYY-MM")}));return r.each(n,(function(t,n){e.push(new l.b({id:n,videos:t,groupTitle:o(n).format("MMMM YYYY")}))})),new m(r.sortBy(e,"id").reverse())},getFirstDayInMonthNumMonthsAgo:function(t){return o().startOf("month").subtract(t,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo:function(t){return o().endOf("month").subtract(t,"month").format("YYYY-MM-DD")},getSelectedReleaseDate:function(t){return t.findWhere({type:u.a.ReleaseDate}).options.findWhere({active:!0})},getRouteQueryParams:function(t){var e=E.RouteQueryParamGenerators,n={};return t.each((function(t){var o={};r.isFunction(e[t.get("type")])&&(o=e[t.get("type")](t)),n=r.extend(n,o)})),n},RouteQueryParamGenerators:(g={},S(g,u.a.Libraries,(function(t){var e=t.options.where({active:!0});return e.length&&e.length!==t.options.length?S({},u.a.Libraries,e.map((function(t){return"library-".concat(t.id)})).join(",")):{}})),S(g,u.a.Subjects,(function(t){var e=t.options.where({active:!0}),n=t.options.length>1&&t.options.length===e.length;return!e.length||n?{}:S({},u.a.Subjects,e.map((function(t){return"".concat(t.get("name"),"-").concat(t.get("subjectIds").join(","))})).join(","))})),S(g,u.a.ReleaseDate,(function(t){var e=t.options.findWhere({active:!0});if(!e)return{};var n=e.get("queryString");return n?S({},u.a.ReleaseDate,n):{}})),g)},_="contentUpdates.utils",R={AwaitingReview:function(){return w.a.getPhrase(_,"awaitingReview")},PastReleases:function(){return w.a.getPhrase(_,"pastReleases")}},P={AwaitingReview:".awaiting-review-applink",PastReleases:".past-releases-applink"},T=[{name:R.AwaitingReview,link:{selector:P.AwaitingReview,appLink:{application:i.b.CONTENT_UPDATES,action:i.a.ContentUpdates.AWAITING_REVIEW}}},{name:R.PastReleases,link:{selector:P.PastReleases,appLink:{application:i.b.CONTENT_UPDATES,action:i.a.ContentUpdates.PAST_RELEASES}}}],x=[{id:u.b.ThisMonth,value:u.b.ThisMonth,from:E.getFirstDayInMonthNumMonthsAgo(0),to:o().format("YYYY-MM-DD"),name:function(){return w.a.getPhrase(_,"thisMonth")},queryString:u.b.ThisMonth},{id:u.b.LastMonth,value:u.b.LastMonth,from:E.getFirstDayInMonthNumMonthsAgo(1),to:E.getLastDayInMonthNumMonthsAgo(1),name:function(){return w.a.getPhrase(_,"lastMonth")},queryString:u.b.LastMonth},{id:u.b.Last3Months,value:u.b.Last3Months,from:E.getFirstDayInMonthNumMonthsAgo(2),to:o().format("YYYY-MM-DD"),queryString:u.b.Last3Months,name:function(){return w.a.getPhrase(_,"last3Months")}},{id:u.b.Last6Months,value:u.b.Last6Months,from:E.getFirstDayInMonthNumMonthsAgo(5),to:o().format("YYYY-MM-DD"),queryString:u.b.Last6Months,name:function(){return w.a.getPhrase(_,"last6Months")}}],j=r.last(x),D=n(63),L={groupVideosByHostedLibrary:function(t){return L.groupVideosByLibrary(t,D.a.HostedLibrary,!0)},groupVideosByLibrary:function(t,e,n){if(!t||!t.length)return new m;var o=[],i=t.groupBy((function(t){var r=t.libraries.findWhere({type:e});return r||n&&(r=t.libraries.first())?r.get("name"):"Unknown Library"}));return r.each(i,(function(t,e){o.push(new l.b({id:e,videos:t,groupTitle:e}))})),new m(r.sortBy(o,"id"))}};n.d(e,"a",(function(){return R})),n.d(e,"b",(function(){return P})),n.d(e,"d",(function(){return T})),n.d(e,"g",(function(){return x})),n.d(e,"e",(function(){return j})),n.d(e,"c",(function(){return L})),n.d(e,"f",(function(){return E}))},function(t,e,n){"use strict";var r=n(1),o=n(2),i=n(534),a=n.n(i);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(c,t);var e,n,o,i=l(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),i.call(this,t)}return e=c,(n=[{key:"getImageClass",value:function(){return this.options.customImageClass}},{key:"getHeading",value:function(){return r.isFunction(this.options.heading)?this.options.heading():this.options.heading}},{key:"getDescription",value:function(){return r.isFunction(this.options.description)?this.options.description():this.options.description}},{key:"viewOptions",value:function(){return{imageUrl:this.options.imageUrl,imageClass:this.getImageClass(),heading:this.getHeading(),description:this.getDescription()}}},{key:"name",get:function(){return"EmptyStateComponent"}},{key:"className",get:function(){var t="d-flex flex-column justify-content-center align-items-center text-center h-100";return this.options.customClass&&(t+=" ".concat(this.options.customClass)),t}},{key:"template",get:function(){return a.a}},{key:"defaults",get:function(){return{imageSize:"lg",paddedContainer:!0}}},{key:"appLinks",get:function(){return this.options.appLink||{}}}])&&u(e.prototype,n),o&&u(e,o),c}(o.a.Component),y=n(412);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return O}));var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(a,t);var e,n,o,i=m(a);function a(){return b(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"shouldRender",value:function(){return!!r.isFunction(this.options.shouldRender)&&this.options.shouldRender()}},{key:"getComponent",value:function(){var t=this.options.emptyStateComponents[this.options.type](this);return new h(t)}},{key:"renderEmptyState",value:function(){if(this.shouldRender()){var t=this.getComponent();this.view.showChildView(this.options.region,t)}}},{key:"onRender",value:function(){this.renderEmptyState()}},{key:"defaults",get:function(){return{type:0,shouldRender:y.a.isCollectionEmpty.bind(null,this.view)}},set:function(t){}}])&&v(e.prototype,n),o&&v(e,o),a}(o.a.Behavior)},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(40),o=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f="migrationWizard.alreadyMigratedError",p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(s,t);var e,n,r,i=u(s);function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,o.a.getPhrase(f,"title"))}return e=s,(n=[{key:"name",get:function(){return"AlreadyMigratedError"}},{key:"heading",get:function(){return o.a.getPhrase(f,"heading")}}])&&a(e.prototype,n),r&&a(e,r),s}(r.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(1),o=n(6),i=n(2),a=n(19),c=n(135),u=n(556),s=n.n(u);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(p,t);var e,n,u,l=d(p);function p(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),l.call(this,t)}return e=p,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"select:option:selected",this.render)}},{key:"events",value:function(){return{click:"onClick"}}},{key:"hasTooltip",value:function(){if(!r.isFunction(this.options.getTooltip))return!1;var t=this.getTooltip();return!!r.isObject(t)&&t.title}},{key:"getTooltip",value:function(){if(r.isFunction(this.options.getTooltip))return this.options.getTooltip.apply(this,arguments)}},{key:"isDisabled",value:function(){return!!this.model.get("divider")||!!r.isFunction(this.options.isDisabled)&&this.options.isDisabled.apply(this,arguments)}},{key:"onClick",value:function(t){var e=this.model.get("eventName")||this.options.eventName;this.model.get("stopPropagation")&&t.stopPropagation(),this.isDisabled()?t.stopPropagation():(this.logAction(),e&&o.Radio.channel(this.options.channelName).trigger(e,this.model))}},{key:"logAction",value:function(){var t=this.model.get("appLink");if(t){var e=f(t.args,1)[0];this.options.analyticsHelper.logUserAction({id:e},this.model.get("analyticsOptions"))}}},{key:"buildPrefix",value:function(){if(r.isFunction(this.options.prefixHandler))return this.options.prefixHandler.apply(this,arguments)}},{key:"getTitle",value:function(){if(!this.model.get("divider")){var t=this.model.get(this.options.titleProperty);return t||i.a.ErrorHelper.throw(new a.a("titleProperty has not been correctly set. Or the model does not contain the property.")),t}}},{key:"viewOptions",value:function(){return{title:this.getTitle(),prefix:this.buildPrefix(),iconSvg:this.model.get("icon")}}},{key:"onRender",value:function(){this.resetClassName()}},{key:"template",get:function(){return s.a}},{key:"behaviors",get:function(){var t=[];return this.hasTooltip()&&t.push(Object.assign({behaviorClass:c.a},this.getTooltip())),t}},{key:"name",get:function(){return"DropdownItemComponent"}},{key:"tagName",get:function(){return this.model.get("divider")?"div":this.model.get("appLink")||this.model.get("href")?"a":"span"}},{key:"className",get:function(){if(this.model.get("divider"))return"dropdown-divider";var t=this.model.get("classes")||this.options.extraClasses,e="dropdown-item text-truncate";return this.options.truncateOptionNames?e+=" d-block text-truncate":e+=" d-flex justify-content-between",this.model.get("selected")&&(e+=" active"),this.isDisabled()?this.hasTooltip()?e+=" cursor-default":e+=" disabled cursor-default":e+=" cursor-pointer",t&&(e+=" ".concat(t)),e}},{key:"appLinks",get:function(){return this.model.get("appLink")?{"[this]":this.model.get("appLink")}:{}}},{key:"defaults",get:function(){return{titleProperty:"title"}}},{key:"attributes",get:function(){if(this.options.truncateOptionNames)return{title:this.model.get("name")};var t=this.hasTooltip()?this.getTooltip().title:"";return this.model.get("href")?{href:this.model.get("href"),title:this.options.currentSelectedMessage||t,target:this.model.get("external")?"_blank":""}:{title:t}}}])&&h(e.prototype,n),u&&h(e,u),p}(i.a.Component)},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(220);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e,n){"use strict";var r=n(1),o=n(131),i=n(2),a=n(19),c=n(74),u=n(24),s=n(132),l=n(15),f=n(3),p=n(528),h=n.n(p),y=n(529),d=n.n(y);n.d(e,"a",(function(){return b}));var b={handleQuery:function(t,e){return function(n,i,a){if(n&&t instanceof o){return t.search.call(t,n,i,(function(t){var o=[];if("empty-suggestion"===e.name)return a.call(this,[{}]);if("add-new"===e.name){var i=r.find(t,(function(t){return t.name.toLowerCase()===n.toLowerCase()}));i||(i={name:n}),i.type=e.newType,o.push(i)}else o=t;a.call(this,o)}))}}},getSuggestionTemplate:function(t){return"add-new"===t?function(t){return function(t){var e=r.extend({},t,{options:{styles:h.a,svg:l.a.getSvg(l.b.Plus),createText:f.a.getPhrase("shared.utils","create")}});return d()(e)}(t)}:"empty-suggestion"===t?s.a:s.d},getPendingTemplate:function(t){return"add-new"===t||"empty-suggestion"===t?s.a:s.b},getNotFoundTemplate:function(t,e){return"add-new"===t||e?s.a:s.c},getFooterTemplate:function(t){return r.isFunction(t)?t:null},prepareQuery:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.libraryIds;return"".concat(e.url,"?q=").concat(t).concat(r?"&ids=".concat(r):"")},prepareUrl:function(t,e){var n=b.mapRawSearchType(t,e);return"/api/domain/v1/search/".concat(n,"/instant/raw")},mapRawSearchType:function(t,e){switch(t){case u.a.TagsRaw:return u.a.TagsRaw;case u.a.Series:return u.a.Series;case u.a.Producers:return u.a.Producers;case u.a.Distributors:return u.a.Distributors;case u.a.ChannelRaw:return u.a.ChannelRaw;case u.a.Directors:return u.a.Directors;case u.a.ProductionCompanies:return u.a.ProductionCompanies;case u.a.Season:return u.a.Season;case"add-new":case"empty-suggestion":return e.newType;default:i.a.ErrorHelper.throw(new a.a("Raw search type ".concat(t," is not supported.")))}},getBloodhoundConfig:function(){return function(t,e){return{datumTokenizer:o.tokenizers.obj.whitespace("name"),queryTokenizer:o.tokenizers.whitespace,remote:{url:b.prepareUrl(t,e),prepare:r.partial(b.prepareQuery,r,r,e),cache:!1}}}},getTypeaheadConfig:function(){return function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{name:t.name,source:b.handleQuery(t.bloodhound,Object.assign({fetchType:c.a.Remote,name:t.name},n)),async:!0,limit:5,display:function(t){return t.name},templates:{suggestion:b.getSuggestionTemplate(t.name),pending:b.getPendingTemplate(t.name),notFound:b.getNotFoundTemplate(t.name,n.hideEmptyResults),footer:b.getFooterTemplate(n.footerTemplate)}}}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(40),o=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(s,t);var e,n,r,i=u(s);function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,"User does not have access to this video")}return e=s,(n=[{key:"name",get:function(){return"ForbiddenVideoError"}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.forbiddenVideo","info")}}])&&a(e.prototype,n),r&&a(e,r),s}(r.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(40),o=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(s,t);var e,n,r,i=u(s);function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,"Video not found")}return e=s,(n=[{key:"name",get:function(){return"VideoNotFoundError"}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.videoNotFound","heading")}}])&&a(e.prototype,n),r&&a(e,r),s}(r.a)},function(t,e,n){"use strict";var r=n(222);n.d(e,"a",(function(){return r.a}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(152);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e,n){"use strict";n.d(e,"a",(function(){return k}));var r=n(6),o=n(2),i=n(3),a=n(98),c=n(13),u=n(0),s=n(559),l=n.n(s),f=n(134),p=n.n(f);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function v(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=O(t);if(e){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"initialize",value:function(){this.listenTo(this.model,"change:video change:pendingProcessStatus",this.render),this.listenTo(this.model,"change:foregroundProgress change:backgroundProgress",this.update)}},{key:"events",value:function(){var t;return y(t={},"click .".concat(p.a.cancel),"onClickCancel"),y(t,"click .retry","onClickRetry"),t}},{key:"onClickCancel",value:function(t){t.preventDefault(),t.stopPropagation();var e=this.model.get("video").get("name");c.b.generateDialog(e,this.options.channelName,"clear:pending:item",this.model)}},{key:"onClickRetry",value:function(t){t.preventDefault(),t.stopPropagation(),r.Radio.channel(this.options.channelName).trigger("retry:pending:item",this.model)}},{key:"viewOptions",value:function(){var t=this.model.get("video");return{status:a.a.getStatus(this.model),progress:a.a.getProgress(this.model),name:t?t.get("name"):i.a.getPhrase(this.lang,"videoNotFound"),isDone:a.a.isDone(this.model),hasError:a.a.hasError(this.model),styles:p.a,spinnerEl:c.q.getSpinner({size:c.r.Medium,tag:"span",extraClasses:p.a.spinner})}}},{key:"onRender",value:function(){this.$el.find(".".concat(p.a.cancel,",.retry")).tooltip({placement:"left"})}},{key:"onDestroy",value:function(){this.$el.find(".".concat(p.a.cancel,",.retry")).tooltip("dispose")}},{key:"update",value:function(){var t=a.a.getStatus(this.model),e=a.a.getProgress(this.model),n=this.getUI("progressBar");n&&n.get(0)&&$(n.get(0)).css("width","".concat(e,"%")),this.getUI("progressText").html(t)}},{key:"name",get:function(){return"ProcessProgressComponent"}},{key:"template",get:function(){return l.a}},{key:"lang",get:function(){return"upload.processProgress"}},{key:"tagName",get:function(){return"a"}},{key:"className",get:function(){return"d-block my-2 cursor-pointer ".concat(p.a.processProgress)}},{key:"attributes",get:function(){return{title:this.model.get("statusMessageHeader")}}},{key:"elements",get:function(){return{progressBar:".progress-bar",progressText:".progress-text"}}},{key:"appLinks",get:function(){return{"[this]":{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.FOLDER,args:[this.model.get("categoryId")]}}}}]),n}(o.a.Component),k=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"ProcessProgressComponentCollection"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName}}},{key:"className",get:function(){return"px-2 popover-list-body-md"}},{key:"viewComparator",get:function(){return function(t){return-t.get("pendingProcessStatus")}}}]),n}(o.a.ComponentCollection)},function(t,e,n){"use strict";n.d(e,"a",(function(){return w}));var r=n(2),o=n(30),i=n(15),a=n(43),c=n(0),u=n(13),s=n(280),l=n.n(s),f=n(562),p=n.n(f);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=m(t);if(e){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(f,t);var e,n,r,s=v(f);function f(){return y(this,f),s.apply(this,arguments)}return e=f,(n=[{key:"initialize",value:function(){this.model=o.a.get("process:progress"),this.listenTo(this.model,"change:progress change:items change:hasErrors",this.render),this.listenTo(c.w.PENDING_ITEMS,a.a.PENDING_ITEM_STATUS_CHANGE,this.render)}},{key:"viewOptions",value:function(){return{warningSvg:i.a.getSvg(i.b.Warning),spinnerEl:u.q.getSpinner({size:u.r.Medium,type:u.s.LightBgDark}),styles:l.a}}},{key:"onBeforeRender",value:function(){return!!this.model.get("items")}},{key:"name",get:function(){return"ProgressInfoComponent"}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return l.a.progressInfo}}])&&d(e.prototype,n),r&&d(e,r),f}(r.a.Component)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={LIBRARY_STATUS:"library:status"}},function(t,e,n){"use strict";var r,o=n(1),i=n(6),a=n(2),c=n(3),u=n(5),s=n(30),l=n(14),f=n(73),p=n(121),h=n(114);!function(t){t[t.Permanent=0]="Permanent",t[t.Temporary=1]="Temporary"}(r||(r={}));var y=n(179),d=n(43),b=n(31);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=O(t);if(e){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(i,t);var e,n,r,o=w(i);function i(t,e,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,t)}return e=i,(n=[{key:"name",get:function(){return"FileTypeError"}},{key:"lang",get:function(){return"upload.fileType"}},{key:"dialogOptions",get:function(){return{title:c.a.getPhrase(this.lang,"heading"),text:c.a.getPhrase(this.lang,"body"),buttons:[{text:c.a.getPhrase(this.lang,"okay"),className:"btn btn-primary",success:!0},{text:c.a.getPhrase(this.lang,"close"),className:"btn btn-link",close:!0}]}}}])&&g(e.prototype,n),r&&g(e,r),i}(b.a),k=n(282);function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=x(t);if(e){var o=x(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return T(this,n)}}function T(t,e){return!e||"object"!==E(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var j="upload.internetConnectivityError",D=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(i,t);var e,n,r,o=P(i);function i(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,c.a.getPhrase(j,"title"))}return e=i,(n=[{key:"name",get:function(){return"InternetConnectivityError"}},{key:"dialogOptions",get:function(){return{title:c.a.getPhrase(j,"heading"),text:c.a.getPhrase(j,"body"),buttons:[{text:c.a.getPhrase(j,"okay"),className:"btn",success:!0}]}}}])&&_(e.prototype,n),r&&_(e,r),i}(b.a),L=n(235);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function N(t,e){return(N=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function M(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=U(t);if(e){var o=U(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V(this,n)}}function V(t,e){return!e||"object"!==A(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var F,H,z=[],B=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&N(t,e)}(s,t);var e,n,r,u=M(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),u.call(this,t)}return e=s,r=[{key:"isValidFile",value:function(t,e){return k.isValidFile(t,e)}}],(n=[{key:"initialize",value:function(t){var e=this.options.loggingEnabled,n=i.Radio.channel(t.channelName),r=this;this.dropzone=new k(document.createElement("div"),{url:function(t){return t[0].cvUpload.ingestUrl},chunking:this.options.chunkingEnabled,chunkSize:this.options.chunkSize,forceChunking:!0,autoProcessQueue:!0,maxFilesize:this.options.maxFileSize,acceptedFiles:this.options.acceptedFiles,paramName:"content",init:function(){var t=this;e&&(o.each(z,(function(e){t.on(e,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0]instanceof File?n[0].name:n[0];console.info(e,o,n)}))})),this.on("uploadprogress",(function(t,e,o){var i=o/t.size*100;n.trigger("progress",r.getId(t),i,o)})),this.on("success",(function(t){var e=t.upload.chunks,r=o.last(e),i=r.xhr;i||(i=r.file.xhr);var a=JSON.parse(i.response);t.cvUpload.fileUrl=a.url,n.trigger("upload:success",t,a)})),this.on("error",(function(t,e,n){n&&0===n.status?a.a.ErrorHelper.throw(new D):"canceled"!==t.status&&a.a.ErrorHelper.throw(new L.a(c.a.getPhrase("upload.services","uploadError",{fileName:t.name,message:e.message})))})))},params:function(t,e,n){if(n)return{chunk_index:n.index,upload_length:n.file.size}},addedfile:function(){},thumbnail:function(){},uploadprogress:function(){}})}},{key:"getId",value:function(t){return t.upload.uuid}},{key:"addFile",value:function(t){this.dropzone.addFile(t)}},{key:"removeFile",value:function(t){this.dropzone.removeFile(t)}},{key:"start",value:function(){this.dropzone.processQueue()}},{key:"destroy",value:function(){this.dropzone.destroy()}},{key:"name",get:function(){return"DropzoneWrapper"}}])&&I(e.prototype,n),r&&I(e,r),s}(a.a.Service),q=n(23),W=n(22),Y=n(42),G=n(4);function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function K(t){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $(t,e,n){return e&&Z(t.prototype,e),n&&Z(t,n),t}function X(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tt(t,e)}function tt(t,e){return(tt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function et(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=rt(t);if(e){var o=rt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return nt(this,n)}}function nt(t,e){return!e||"object"!==K(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function rt(t){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"d",(function(){return ot})),n.d(e,"a",(function(){return st})),n.d(e,"c",(function(){return lt})),n.d(e,"b",(function(){return ft}));var ot,it=function(t){X(n,t);var e=et(n);function n(){return Q(this,n),e.call(this,{dataProvider:u.a.getInstance(f.a.Ajax),cache:u.a.getInstance(p.a.Fifo),alertService:u.a.getInstance(h.a.ALERT)})}return $(n,[{key:"requestUploads",value:function(t,e,n,r){var i=this,a=this.chain();o.each(t,(function(t){a.create({resource:"/api/upload",eventPrefix:"request:upload",data:i.getFileUploadRequest(t,e),callback:function(e){n(t,e)}})})),a.func((function(){r()})).run()}},{key:"cancelUpload",value:function(t,e,n){this.create({resource:"/api/upload/cancel",eventPrefix:"cancel:upload",data:{uploadId:t,ingestUrl:e},callback:n})}},{key:"getFileUploadRequest",value:function(t,e){var n=t.name.split(".");return{name:n.join("."),extension:n.length>1?n.pop():"",fileSize:t.size,fileLifestyle:e}}},{key:"onDestroy",value:function(){u.a.releaseInstance(f.a.Ajax).releaseInstance(p.a.Fifo)}},{key:"name",get:function(){return"UploadDataService"}},{key:"channelName",get:function(){return"private:upload:data:service"}}]),n}(l.a);!function(t){t[t.Video=0]="Video",t[t.LearningResource=1]="LearningResource",t[t.Subtitle=2]="Subtitle"}(ot||(ot={}));var at=(J(F={},ot.Video,"video/*"),J(F,ot.LearningResource,y.b.RESOURCES),J(F,ot.Subtitle,y.b.SUBTITLES),F),ct=(J(H={},ot.Video,q.c.VIDEO_UPLOAD),J(H,ot.LearningResource,q.c.RESOURCE_UPLOAD),J(H,ot.Subtitle,q.c.SUBTITLE_UPLOAD),H),ut=function(t){X(n,t);var e=et(n);function n(){return Q(this,n),e.apply(this,arguments)}return $(n,[{key:"initialize",value:function(){this.uploadDataService=new it,this.progressViewModel=s.a.get("upload:progress:".concat(this.uploadType)),this.bindListeners()}},{key:"initUploader",value:function(t,e){if(!this.uploader){var n=4194304;t&&n<t&&(n=t),e&&n>e&&(n=e),this.uploader=new B({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:53687091200,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,"progress",this.onProgress),this.listenTo(this.channelName,"upload:success",this.onSuccess)}},{key:"onProgress",value:function(t,e,n){var r=this.collection.get(t);r&&(r.set({progress:e>100?100:e,totalUploaded:n}),this.setOverallProgress())}},{key:"isUploading",value:function(){return!!this.getCollection().length}},{key:"getCollection",value:function(){return this.collection||(this.collection=new a.a.Collection),this.collection}},{key:"setOverallProgress",value:function(){var t=0,e=0,n=this.getCollection();if(n.length){n.each((function(n){t+=n.get("totalUploaded")||0,e+=n.get("file").size||0}));var r=t/e*100,o=r>100;this.progressViewModel.set({progress:o?100:r,done:o})}else this.progressViewModel.set({progress:0})}},{key:"isValidFile",value:function(t){return B.isValidFile(t,this.getAcceptedFiles())}},{key:"addFiles",value:function(t,e){var n=this;o.any(t,(function(t){return!n.isValidFile(t)}))?a.a.ErrorHelper.throw(new C(c.a.getPhrase(this.lang,"invalidFileType"),t,this.getAcceptedFiles())):this.requestUploads(t,e)}},{key:"requestUploads",value:function(t,e){var n=this,r=this.isUploading(),o=this.getCollection();this.uploadDataService.requestUploads(t,this.fileLifestyle,(function(t,e){n.initUploader(1024*e.minChunkSize,1024*e.maxChunkSize),t.cvUpload={uploadId:e.uploadId,ingestUrl:e.ingestUrl},n.uploader.addFile(t);var r=t.name;n.uploadType===ot.Video&&(r=r.replace(/\.[^/.]+$/,"")),o.add({id:n.uploader.getId(t),file:t,name:r},{at:o.length-1})}),(function(){e&&Y.a.logUserAction({uploadCount:t.length},e),i.Radio.channel(n.channelName).trigger(d.a.FILES_ADDED,t,r)}))}},{key:"addFile",value:function(t,e){this.addFiles([t],e)}},{key:"cancelUpload",value:function(t){var e=this,n=this.getCollection(),r=n.get(t);if(r){var o=r.get("file");this.uploader.removeFile(o),n.remove(r),this.uploadDataService.cancelUpload(o.cvUpload.uploadId,o.cvUpload.ingestUrl,(function(){Y.a.logUserAction({id:o.cvUpload.uploadId},{entity:G.e.Video,actionType:G.q.Upload,workflowPhase:G.r.Discard,descriptor:G.l.Single,location:G.k.MyUploads}),i.Radio.channel(e.channelName).trigger(d.a.UPLOAD_CANCELLED)})),this.setOverallProgress()}}},{key:"onSuccess",value:function(t,e){var n=this.uploader.getId(t),r=this.getCollection().get(n);r.set("fileInfo",e),Y.a.logUserAction({id:t.cvUpload.uploadId},{entity:G.e.Video,actionType:G.q.Upload,workflowPhase:G.r.Complete,descriptor:G.l.Single,location:G.k.VideoUpload}),i.Radio.channel(this.channelName).trigger(d.a.UPLOAD_COMPLETE,r)}},{key:"cancelAllUploads",value:function(){var t=this,e=this.getCollection().map((function(t){return t.get("id")}));o.each(e,(function(e){return t.cancelUpload(e)}))}},{key:"getAcceptedFiles",value:function(){return at[this.uploadType]}},{key:"channelName",get:function(){return ct[this.uploadType]}},{key:"lang",get:function(){return"upload.services"}}]),n}(a.a.Service),st=function(t){X(n,t);var e=et(n);function n(){return Q(this,n),e.apply(this,arguments)}return $(n,[{key:"uploadType",get:function(){return ot.Video}},{key:"name",get:function(){return W.b.VideoUpload}},{key:"fileLifestyle",get:function(){return r.Temporary}}]),n}(ut),lt=function(t){X(n,t);var e=et(n);function n(){return Q(this,n),e.apply(this,arguments)}return $(n,[{key:"uploadType",get:function(){return ot.Subtitle}},{key:"name",get:function(){return W.b.SubtitleUpload}},{key:"fileLifestyle",get:function(){return r.Permanent}}]),n}(ut),ft=function(t){X(n,t);var e=et(n);function n(){return Q(this,n),e.apply(this,arguments)}return $(n,[{key:"uploadType",get:function(){return ot.LearningResource}},{key:"name",get:function(){return W.b.ResourceUpload}},{key:"fileLifestyle",get:function(){return r.Permanent}}]),n}(ut)},function(t,e,n){"use strict";var r=n(2),o=n(151),i=n(1),a=n(3),c=n(5),u=n(14),s=n(50),l=n(0),f=n(49),p=n(47),h=n(233),y=n(88);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(i,t);var e,n,r,o=m(i);function i(){return b(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return y.g}}])&&v(e.prototype,n),r&&v(e,r),i}(r.a.Collection),C=n(17),k=n(90);function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function P(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function T(t,e){return(T=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=D(t);if(e){var o=D(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return j(this,n)}}function j(t,e){return!e||"object"!==E(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return et})),n.d(e,"b",(function(){return nt}));var L=function(t){var e={categoryChord:t};return"/api/homemigrator/v1/customers/categories/videos?".concat($.param(e,!0))},A=function(){return"/api/homemigrator/v1/customers/categories"},I=function(){return"/api/homemigrator/v1/customer-meta"},N=function(t){return"/api/homemigrator/v1/synced-videos/publisher-metadata?trackingCode=".concat(t)},M=function(t){return"/api/homemigrator/v1/synced-videos/publisher-metadata?masterId=".concat(t)},V=function(){return"/api/homemigrator/v1/backup/progress"},U=function(t){return"/api/homemigrator/v1/customer-meta/options/".concat(t)},F=function(){return"/api/homemigrator/v1/finalise/smart"},H=function(){return"/api/homemigrator/v1/finalise/full"},z=function(t){return"/api/homemigrator/v1/finalise/".concat(t)},B=function(t){return"/api/homemigrator/v1/backup-tools/head?channel=".concat(t)},q=function(){return"/api/homemigrator/v1/finalise/phase2"},W=function(t){return"/api/homemigrator/v1/finalise?type=".concat(t)},Y=function(){return"/api/homemigrator/v1/customers/reviewvideos"},G=function(){return"/api/homemigrator/v1/customers/reviewvideos/count"},J=function(){return"/api/homemigrator/v1/synced-videos/migrationstatus"},K=function(t){return"/api/homemigrator/v1/reports/".concat(t)},Q=function(){return"/api/homemigrator/v1/reports"},Z=function(t){return"/api/homemigrator/v2/customers/videos/smart?limit=987".concat(t?"&cursor=".concat(t):"")},X={video:function(t){return new r.a.Model(t[0],{parse:!0})},videos:function(t){return new s.a(t,{parse:!0})},smartSelectVideos:function(t){return new O(t)},videoCount:function(t){return new y.h(t)},folders:function(t){return new h.a(t,{parse:!0})},customerMetadata:function(t){return new y.b(t)},finalisationTask:function(t){return new y.c(t)},backupTool:function(t){return new y.a(t)}},tt=l.f,et=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T(t,e)}(d,t);var e,n,u,h=x(d);function d(){return R(this,d),h.apply(this,arguments)}return e=d,(n=[{key:"initialize",value:function(){this.folderCacheService=c.a.getInstance(l.x.FolderCache,this)}},{key:"clearVideoCache",value:function(){this.invalidateCache([tt.CUSTOMER_VIDEOS])}},{key:"getCustomerFolders",value:function(t){return this.get({callback:t,expiryTime:C.a.STANDARD,formatData:X.folders,resource:A(),eventPrefix:"".concat(tt.CUSTOMER_FOLDERS)})}},{key:"getCustomerVideos",value:function(t,e){return this.get({callback:e,expiryTime:C.a.STANDARD,formatData:function(e){return i.each(e,(function(e){return e.categoryChord=t})),new s.a(e)},resource:L(t),eventPrefix:"".concat(tt.CUSTOMER_VIDEOS,":").concat(escape(t))})}},{key:"clearCacheAndgetCustomerSmartSelect",value:function(t,e){var n=this,r=function(t,e){n.clearCacheAndGet({expiryTime:C.a.STANDARD,resource:Z(t),eventPrefix:"".concat(tt.CUSTOMER_SMART_VIDEOS),errorHandler:n.alertService.error({useXHR:!0}),callback:e})},o=[];r("",(function n(i){i.data.length&&o.push.apply(o,i.data),t(o.length),null===i.cursor?e(new O(o)):r(i.cursor,n)}))}},{key:"getCustomerMetadata",value:function(t){return this.get({callback:t,expiryTime:C.a.STANDARD,formatData:X.customerMetadata,resource:I(),eventPrefix:"".concat(tt.CUSTOMER_METADATA),bootstrapName:l.c.CUSTOMER_META})}},{key:"clearCacheAndGetCustomerMetadata",value:function(t){return this.clearCacheAndGet({callback:t,formatData:X.customerMetadata,resource:I(),eventPrefix:"".concat(tt.CUSTOMER_METADATA)})}},{key:"getCustomerVideoByTrackingCode",value:function(t,e){return this.get({callback:e,expiryTime:C.a.STANDARD,formatData:X.video,resource:N(t),eventPrefix:"".concat(tt.CUSTOMER_VIDEO,":").concat(t)})}},{key:"getCustomerVideoByMasterId",value:function(t,e){return this.get({callback:e,expiryTime:C.a.STANDARD,formatData:X.video,resource:M(t),eventPrefix:"".concat(tt.CUSTOMER_VIDEO,":").concat(t),errorHandler:!1})}},{key:"getCustomerVideoCount",value:function(t){this.clearCacheAndGet({callback:t,expiryTime:C.a.STANDARD,formatData:X.videoCount,resource:V(),eventPrefix:"".concat(tt.CUSTOMER_VIDEO,":count")})}},{key:"getCustomerVideoCountCached",value:function(t){return this.get({callback:t,expiryTime:C.a.STANDARD,formatData:X.videoCount,resource:V(),eventPrefix:"".concat(tt.CUSTOMER_VIDEO,":count")})}},{key:"updateCustomerMigrationOption",value:function(t,e){return this.update({data:{},resource:U(t),eventPrefix:"".concat(tt.CUSTOMER_METADATA,":update"),callback:e,invalidationKeys:["".concat(tt.CUSTOMER_METADATA),"libraries"]})}},{key:"finaliseCustomerVideos",value:function(t,e,n){var r=this,o=t.map((function(t){return{category:t.get("folderChord"),videoIds:t.get("videoIds"),forceMigrateWarnings:e}}));this.create({data:o,callback:function(t){r.clearVideoCache(),i.isFunction(n)&&n(t)},resource:F(),eventPrefix:"".concat(tt.CUSTOMER_VIDEOS,":finalise"),invalidationKeys:["manual:review:videos","manual:review:video:count",tt.VIDEOS],formatData:function(t){return new y.c(t)}})}},{key:"finaliseAllVideos",value:function(t){var e=this;this.create({data:{},callback:function(n){e.clearVideoCache(),i.isFunction(t)&&t(n)},resource:H(),eventPrefix:"".concat(tt.CUSTOMER_VIDEOS,":finalise:all"),formatData:function(t){return new y.c(t)}})}},{key:"getFinalisationTask",value:function(t,e){this.clearCacheAndGet({callback:e,expiryTime:C.a.STANDARD,formatData:X.finalisationTask,resource:z(t),eventPrefix:"".concat(tt.FINALISATION,":").concat(t)})}},{key:"deselectAll",value:function(){this.getCustomerFolders((function(t){f.a.deselectAll(k.a.MIGRATION_WIZARD,t)}))}},{key:"setSelected",value:function(t){var e=this;this.getCustomerFolders((function(n){f.a.setSelected(k.a.MIGRATION_WIZARD,e.folderCacheService.getFolderByChord(t,n),n)}))}},{key:"getSelected",value:function(t){this.getCustomerFolders((function(e){var n=f.a.getSelected(k.a.MIGRATION_WIZARD,e);t(n)}))}},{key:"getBackupTool",value:function(t,e){return this.get({resource:B(t),formatData:X.backupTool,eventPrefix:tt.BACKUP_TOOL,callback:e})}},{key:"publishLibraries",value:function(t){return this.create({data:{},resource:q(),eventPrefix:"publish:libraries",callback:t})}},{key:"getPublishLibrariesProgress",value:function(t,e){this.clearCacheAndGet({resource:W(t),eventPrefix:"current:finalisation:task",formatData:X.finalisationTask,callback:e})}},{key:"clearCacheAndGetManualReviewVideoCount",value:function(t){this.clearCacheAndGet({resource:G(),eventPrefix:"manual:review:video:count",formatData:function(t){return new r.a.Model(t)},callback:t})}},{key:"getManualReviewVideoCount",value:function(t){return this.get({resource:G(),eventPrefix:"manual:review:video:count",formatData:function(t){return new r.a.Model(t)},callback:t})}},{key:"getManualReviewVideos",value:function(t){return this.get({resource:Y(),eventPrefix:"manual:review:videos",formatData:function(t){return new r.a.Collection(t)},callback:t})}},{key:"updateMigrationStatus",value:function(t,e,n){this.update({data:{videoIds:t,migrationStatus:e},resource:J(),eventPrefix:"update:migration:status",invalidationKeys:["manual:review:videos","manual:review:video:count"],callback:n})}},{key:"getMigrationReportOptions",value:function(t){return this.get({resource:Q(),eventPrefix:"get:migration:report:options",callback:t})}},{key:"generateMigrationReportCsv",value:function(t,e){var n,r=this,c=(_(n={},p.d.Migrated,"homemigrator.le.migration.migrated.report"),_(n,p.d.Remaining,"homemigrator.le.migration.videos.remaining.report"),_(n,p.d.Errored,"homemigrator.le.migration.error.report"),_(n,p.d.ContentMatched,"homemigrator.le.migration.content.matched.report"),n),u=new o.a(t.length),s=function(){u.decrement(),0===u.getValue()&&(r.alertService.success(a.a.getPhrase(r.lang,"generateCsvSuccess"))(),e())};i.each(t,(function(t){r.create({callback:s,resource:K(c[t]),data:{},eventPrefix:"generate:migration:report:csv:".concat(t),errorHandler:r.alertService.error(a.a.getPhrase(r.lang,"generateCsvFail"))})}))}},{key:"name",get:function(){return"MigrationVideoDataService"}},{key:"channelName",get:function(){return l.e.MIGRATION}},{key:"lang",get:function(){return"migrationWizard.services"}}])&&P(e.prototype,n),u&&P(e,u),d}(u.a),nt={customerMetaData:{dataServiceName:l.e.MIGRATION,eventName:"".concat(tt.CUSTOMER_METADATA,":sync"),getData:function(t){return t.getCustomerMetadata()},getInstance:function(t){return c.a.getInstance(l.g.MigrationVideo,t)},beforeOnBeforeRender:!0}}},function(t,e,n){"use strict";var r=n(1),o=n(527),i=n.n(o),a=n(10),c=function(t){return a.escapeExpression(t)};n.d(e,"a",(function(){return p}));var u=/&/g,s=/\W*/g,l=/\s+/g,f={className:"info-link"},p={wordsHighlighter:function(t,e){if(!t||!e||!e.length)return t;var n=p.escapeRegExp(e.join("%&%")).split("%&%");return t.replace(new RegExp("\\b("+n.join("|")+")\\b","gi"),'<span class="highlight">$&</span>')},escapeExpression:function(t){return c(t)},escapeRegExp:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},slugify:function(t){if(t)return t.toLowerCase().replace(u,"and").replace(s," ").trim().replace(l,"-").substr(0,80)},linkifyText:function(t,e){if(t){var n=e?r.extend({},f,e):f;return i()(t,n)}},extractKeyPhrases:function(t,e,n,o){if(!t||!e||!e.length)return[];var i,a=t.toLowerCase(),c=[],u=function(e,r){var o=e-Math.floor(n/2-r),i=o;if(i<=0)return 0;for(;" "!==t[i-1]&&i<e;)i++;if(i<e)return i;for(i=o;" "!==t[i-1]&&i>0;)i--;return i},s=function(e,r){var o=t.length,i=e+Math.floor(n/2-r),a=i;if(a>=o)return o;for(;" "!==t[a+1]&&a>e;)a--;if(a>e)return a+1;for(a=i;" "!==t[a+1]&&a<o;)a++;return a+1};r.each(e,(function(t){for(var e=t.toLowerCase(),n=a.indexOf(e);-1!==n;)c.push([u(n,t.length),s(n+t.length,t.length)]),n=a.indexOf(e,n+1)})),c=r.uniq(r.sortBy(c,(function(t){return t[0]})),!0,(function(t){return"".concat(t[0],":").concat(t[1])})),o&&(c=c.slice(0,o));do{i=!1;for(var l=0;l<c.length-1;l++)c[l][1]<c[l+1][0]||(c[l][1]=c[l+1][0]-1,i=!0)}while(i);var f=[];return r.each(c,(function(e){var n=t.slice(e[0],e[1]).trim();e[0]>0&&(n="...".concat(n)),e[1]<t.length&&(n="".concat(n,"...")),f.push(n)})),f.filter((function(t){return r.some(e,(function(e){return-1!==t.toLowerCase().indexOf(e.toLowerCase())}))}))}}},function(t,e,n){t.exports={banner:"_16p9Y",actions:"KoZV-"}},function(t,e,n){t.exports={containerWithBottomBorder:"_3pMnf",tabContainer:"_3DDqe",publisherArchiveAppLink:"WtJIT",reviewErroredAppLink:"_2P6wN",none:"_36_Ky",publisherArchive:"oHXCU",migrationErrors:"_Ztdf",svgContainer:"edUQE"}},function(t,e,n){t.exports={svgContainer:"O3FnZ",sortingRow:"Rbj8Y",bulkCheckbox:"_2mKzS",sortOption:"_3ajGP"}},function(t,e,n){t.exports={viewLink:"_2s0QU",viewCount:"_1ncwl",faded:"_2G1C1",bulkCheckbox:"_225JZ",videoRow:"fFRMW",videoTitle:"_3YCJO",errorIconContainer:"_37_lU",categoryName:"_3gjN2"}},function(t,e,n){t.exports={currentHeader:"b4Mqw",header:"_2OV3l",subheader:"_6H8te",back:"_3RKrR",backSvgContainer:"_1T015",checkSvgContainer:"_3Q3UJ",checkSvgContainerChecked:"ZsxkB",svg:"uKtsP"}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(181);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}},{key:"comparator",get:function(){return"startTime"}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";e.__esModule=!0;e.default={nbsp:" "}},function(t,e,n){"use strict";function r(t){this.named=t}e.__esModule=!0;var o=/^#[xX]([A-Fa-f0-9]+)$/,i=/^#([0-9]+)$/,a=/^([A-Za-z0-9]+)$/;r.prototype.parse=function(t){if(t){var e=t.match(o);return e?"&#x"+e[1]+";":(e=t.match(i))?"&#"+e[1]+";":(e=t.match(a))?this.named[e[1]]||"&"+e[1]+";":void 0}},e.default=r},function(t,e,n){"use strict";e.__esModule=!0;var r=n(807);function o(t,e){this.delegate=t,this.entityParser=e,this.state=null,this.input=null,this.index=-1,this.line=-1,this.column=-1,this.tagLine=-1,this.tagColumn=-1,this.reset()}o.prototype={reset:function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},tokenize:function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},tokenizePart:function(t){for(this.input+=(0,r.preprocessInput)(t);this.index<this.input.length;)this.states[this.state].call(this)},tokenizeEOF:function(){this.flushData()},flushData:function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},peek:function(){return this.input.charAt(this.index)},consume:function(){var t=this.peek();return this.index++,"\n"===t?(this.line++,this.column=0):this.column++,t},consumeCharRef:function(){var t=this.input.indexOf(";",this.index);if(-1!==t){var e=this.input.slice(this.index,t),n=this.entityParser.parse(e);if(n){for(var r=e.length;r;)this.consume(),r--;return this.consume(),n}}},markTagStart:function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},states:{beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var t=this.peek();"<"===t?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(t))},tagOpen:function(){var t=this.consume();"!"===t?this.state="markupDeclaration":"/"===t?this.state="endTagOpen":(0,r.isAlpha)(t)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(t.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var t=this.consume();"-"===t?this.state="commentStartDash":">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(t),this.state="comment")},commentStartDash:function(){var t=this.consume();"-"===t?this.state="commentEnd":">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var t=this.consume();"-"===t?this.state="commentEndDash":this.delegate.appendToCommentData(t)},commentEndDash:function(){var t=this.consume();"-"===t?this.state="commentEnd":(this.delegate.appendToCommentData("-"+t),this.state="comment")},commentEnd:function(){var t=this.consume();">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+t),this.state="comment")},tagName:function(){var t=this.consume();(0,r.isSpace)(t)?this.state="beforeAttributeName":"/"===t?this.state="selfClosingStartTag":">"===t?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(t)},beforeAttributeName:function(){var t=this.peek();(0,r.isSpace)(t)?this.consume():"/"===t?(this.state="selfClosingStartTag",this.consume()):">"===t?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t))},attributeName:function(){var t=this.peek();(0,r.isSpace)(t)?(this.state="afterAttributeName",this.consume()):"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===t?(this.state="beforeAttributeValue",this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeName(t))},afterAttributeName:function(){var t=this.peek();(0,r.isSpace)(t)?this.consume():"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===t?(this.consume(),this.state="beforeAttributeValue"):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(t))},beforeAttributeValue:function(){var t=this.peek();(0,r.isSpace)(t)?this.consume():'"'===t?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===t?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(t))},attributeValueDoubleQuoted:function(){var t=this.consume();'"'===t?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(t)},attributeValueSingleQuoted:function(){var t=this.consume();"'"===t?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(t)},attributeValueUnquoted:function(){var t=this.peek();(0,r.isSpace)(t)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===t?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===t?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(t))},afterAttributeValueQuoted:function(){var t=this.peek();(0,r.isSpace)(t)?(this.consume(),this.state="beforeAttributeName"):"/"===t?(this.consume(),this.state="selfClosingStartTag"):">"===t?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var t=this.consume();(0,r.isAlpha)(t)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(t.toLowerCase()))}}},e.default=o},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(312),i=(r=o)&&r.__esModule?r:{default:r};function a(t,e){this.token=null,this.startLine=1,this.startColumn=0,this.options=e||{},this.tokenizer=new i.default(this,t)}a.prototype={tokenize:function(t){return this.tokens=[],this.tokenizer.tokenize(t),this.tokens},tokenizePart:function(t){return this.tokens=[],this.tokenizer.tokenizePart(t),this.tokens},tokenizeEOF:function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},reset:function(){this.token=null,this.startLine=1,this.startColumn=0},addLocInfo:function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},beginData:function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},appendToData:function(t){this.token.chars+=t},finishData:function(){this.addLocInfo()},beginComment:function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},appendToCommentData:function(t){this.token.chars+=t},finishComment:function(){this.addLocInfo()},beginStartTag:function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},beginEndTag:function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},finishTag:function(){this.addLocInfo()},markTagAsSelfClosing:function(){this.token.selfClosing=!0},appendToTagName:function(t){this.token.tagName+=t},beginAttribute:function(){this._currentAttribute=["","",null],this.token.attributes.push(this._currentAttribute)},appendToAttributeName:function(t){this._currentAttribute[0]+=t},beginAttributeValue:function(t){this._currentAttribute[2]=t},appendToAttributeValue:function(t){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=t},finishAttributeValue:function(){}},e.default=a},function(t,e,n){"use strict";e.__esModule=!0,e.tokenize=e.test=e.scanner=e.parser=e.options=e.inherits=e.find=void 0;var r=n(195),o=c(n(809)),i=c(n(810)),a=c(n(811));function c(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var u=function(t){return a.run(i.run(t))};e.find=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=u(t),r=[],o=0;o<n.length;o++){var i=n[o];!i.isLink||e&&i.type!==e||r.push(i.toObject())}return r},e.inherits=r.inherits,e.options=o,e.parser=a,e.scanner=i,e.test=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=u(t);return 1===n.length&&n[0].isLink&&(!e||n[0].type===e)},e.tokenize=u},function(t,e,n){"use strict";e.__esModule=!0,e.stateify=e.TokenState=e.CharacterState=void 0;var r=n(195);var o=function(t){this.j=[],this.T=t||null};o.prototype={defaultTransition:!1,on:function(t,e){if(t instanceof Array){for(var n=0;n<t.length;n++)this.j.push([t[n],e]);return this}return this.j.push([t,e]),this},next:function(t){for(var e=0;e<this.j.length;e++){var n=this.j[e],r=n[0],o=n[1];if(this.test(t,r))return o}return this.defaultTransition},accepts:function(){return!!this.T},test:function(t,e){return t===e},emit:function(){return this.T}};var i=(0,r.inherits)(o,(function(t){this.j=[],this.T=t||null}),{test:function(t,e){return t===e||e instanceof RegExp&&e.test(t)}}),a=(0,r.inherits)(o,(function(t){this.j=[],this.T=t||null}),{jump:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new t(""));return n===this.defaultTransition?(n=new this.constructor(e),this.on(t,n)):e&&(n.T=e),n},test:function(t,e){return t instanceof e}});e.CharacterState=i,e.TokenState=a,e.stateify=function(t,e,n,r){for(var o=0,a=t.length,c=e,u=[],s=void 0;o<a&&(s=c.next(t[o]));)c=s,o++;if(o>=a)return[];for(;o<a-1;)s=new i(r),u.push(s),c.on(t[o],s),c=s,o++;return s=new i(n),u.push(s),c.on(t[a-1],s),u}},function(t,e,n){"use strict";e.__esModule=!0,e.createTokenClass=function(){return function(t){t&&(this.v=t)}}},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="result px-2 py-1"><span class="query-text">'+t.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=e?e.name:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:o}):i)+"</span></div>>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="tt-pending p-2"><div class="partial-text">Searching...</div></div>'},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="tt-not-found p-2">Could not find any matches</div>'},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="tt-not-found empty"></div>'},useData:!0})},function(t,e){t.exports={prefix:"cv",iconName:"add-to-playlist",icon:["24","24",[],"","M20.1 16.4h1.8a.6.6 0 1 1 0 1.2h-1.8v1.8a.6.6 0 1 1-1.2 0v-1.8h-1.8a.6.6 0 1 1 0-1.2h1.8v-1.8a.6.6 0 0 1 1.2 0v1.8zM10.5 9a.5.5 0 1 1 0-1h6a.5.5 0 1 1 0 1h-6zm0 3.5a.5.5 0 1 1 0-1h6a.5.5 0 1 1 0 1h-6zm0 3.5a.5.5 0 1 1 0-1h4a.5.5 0 1 1 0 1h-4zm5.5 3a.5.5 0 1 1 0 1H6.5A2.5 2.5 0 0 1 4 17.5v-11A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5V12a.5.5 0 1 1-1 0V6.5A1.5 1.5 0 0 0 17.5 5h-11A1.5 1.5 0 0 0 5 6.5v11A1.5 1.5 0 0 0 6.5 19H16zm-8-2.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm0-7a1 1 0 1 1 0-2 1 1 0 0 1 0 2zM8 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"]}},function(t,e){t.exports={prefix:"cv",iconName:"close",icon:["24","24",[],"","M11.959 10.641l4.402-4.296a.964.964 0 0 1 1.358 0 .951.951 0 0 1 0 1.35l-4.403 4.297 4.403 4.378a.951.951 0 0 1 0 1.35.964.964 0 0 1-1.358 0l-4.402-4.378-4.32 4.378a.964.964 0 0 1-1.358 0 .951.951 0 0 1 0-1.35l4.32-4.378-4.32-4.362a.951.951 0 0 1 0-1.35.964.964 0 0 1 1.358 0l4.32 4.361z"]}},function(t,e){t.exports={prefix:"cv",iconName:"delete",icon:["24","24",[],"","M14.5 7h4a.5.5 0 1 1 0 1h-1.14a1 1 0 0 1-.005.09l-.909 10a1 1 0 0 1-.996.91h-6.9a1 1 0 0 1-.996-.91l-.91-10A1.013 1.013 0 0 1 6.64 8H5.5a.5.5 0 0 1 0-1h4A1.5 1.5 0 0 1 11 5.5h2A1.5 1.5 0 0 1 14.5 7zm-1 0a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0-.5.5h3zm-4 3a.463.463 0 0 0-.462.499L9.462 16a.54.54 0 0 0 .574.498.463.463 0 0 0 .426-.498l-.424-5.502A.54.54 0 0 0 9.5 10zm2.5 0a.5.5 0 0 0-.5.5V16a.5.5 0 1 0 1 0v-5.5a.5.5 0 0 0-.5-.5zm2.5 0a.54.54 0 0 0-.538.499L13.538 16a.463.463 0 0 0 .462.5.54.54 0 0 0 .538-.499l.424-5.502A.463.463 0 0 0 14.5 10z"]}},function(t,e){t.exports={prefix:"cv",iconName:"edit",icon:["24","24",[],"","M7.636 17.834l8.746-8.745-1.414-1.414-8.8 8.8 1.468 1.36zm-2.42.973c.45-.076 1.012-.173 1.685-.29l-1.383-1.282a173.71 173.71 0 0 0-.302 1.572zm10.459-11.84l1.414 1.415 1.2-1.2a.5.5 0 0 0 0-.707l-.708-.707a.5.5 0 0 0-.707 0l-1.2 1.2zm2.614-1.906l.707.707a1.5 1.5 0 0 1 0 2.121L7.45 19.435c-2.276.4-3.426.589-3.45.565-.024-.024.183-1.155.621-3.393L16.167 5.06a1.5 1.5 0 0 1 2.122 0z"]}},function(t,e){t.exports={prefix:"cv",iconName:"expand",icon:["24","24",[],"","M14.06 21.28l-.353.354-.707-.707.354-.354 7.22-7.22.353-.353.707.707-.354.354-7.22 7.22zm4 .465l-.353.353-.707-.707.354-.353 3.684-3.684.353-.354.707.707-.353.354-3.684 3.684z"]}},function(t,e){t.exports={prefix:"cv",iconName:"minus",icon:["24","24",[],"",""]}},function(t,e){t.exports={prefix:"cv",iconName:"more",icon:["24","24",[],"","M12 13.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 5.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0-11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"]}},function(t,e){t.exports={prefix:"cv",iconName:"new-window",icon:["24","24",[],"","M17.395 5.526h-3.244a.763.763 0 0 1 0-1.526h5.086a.76.76 0 0 1 .763.763v5.086a.763.763 0 0 1-1.526 0V6.605l-5.172 5.172a.763.763 0 1 1-1.079-1.08l5.172-5.171zM8.5 5.5a.75.75 0 0 1 0 1.5H6.75a.25.25 0 0 0-.25.25v10c0 .138.112.25.25.25h10a.25.25 0 0 0 .25-.25V15.5a.75.75 0 1 1 1.5 0v1.75A1.75 1.75 0 0 1 16.75 19h-10A1.75 1.75 0 0 1 5 17.25v-10c0-.966.784-1.75 1.75-1.75H8.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"plus",icon:["24","24",[],"","M11 11V7.002a.999.999 0 1 1 2 0V11h3.998a.999.999 0 1 1 0 2H13v3.998a.999.999 0 1 1-2 0V13H7.002a.999.999 0 1 1 0-2H11z"]}},function(t,e){t.exports={prefix:"cv",iconName:"preview",icon:["24","24",[],"","M17.278 17.333a3.056 3.056 0 1 0 0-6.11 3.056 3.056 0 0 0 0 6.11zm3.53-.637c.03.022.06.048.087.076l1.729 1.728a.794.794 0 1 1-1.124 1.124l-1.728-1.729a.801.801 0 0 1-.076-.088 4.278 4.278 0 1 1 1.112-1.112zM7.713 9C7.32 9 7 8.776 7 8.5s.32-.5.714-.5h8.572c.394 0 .714.224.714.5s-.32.5-.714.5H7.714zm-.357 3.5C7.16 12.5 7 12.276 7 12s.16-.5.357-.5h4.286c.197 0 .357.224.357.5s-.16.5-.357.5H7.357zM7.5 16a.5.5 0 1 1 0-1h4a.5.5 0 1 1 0 1h-4zm8.5 3a.5.5 0 1 1 0 1H6.5A2.5 2.5 0 0 1 4 17.5v-11A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5V9a.5.5 0 1 1-1 0V6.5A1.5 1.5 0 0 0 17.5 5h-11A1.5 1.5 0 0 0 5 6.5v11A1.5 1.5 0 0 0 6.5 19H16z"]}},function(t,e){t.exports={prefix:"cv",iconName:"search",icon:["24","24",[],"","M15.803 14.306l3.917 3.954a1 1 0 0 1-.007 1.417l-.018.018-.018.018a.997.997 0 0 1-1.41 0l-3.918-3.953-.3.214c-1.14.713-2.323 1.07-3.549 1.07-1.796 0-3.328-.642-4.597-1.925C4.634 13.836 4 12.296 4 10.5c0-1.796.634-3.328 1.903-4.597C7.172 4.634 8.704 4 10.5 4c1.796 0 3.329.634 4.597 1.903 1.27 1.269 1.904 2.801 1.904 4.597a6.447 6.447 0 0 1-1.027 3.507l-.17.3zM10.5 5.368c-1.425 0-2.637.5-3.635 1.497-.998.998-1.497 2.21-1.497 3.635 0 1.426.5 2.637 1.497 3.635.998.998 2.21 1.497 3.635 1.497 1.426 0 2.637-.499 3.635-1.497 1.027-1.026 1.54-2.238 1.54-3.635 0-1.397-.513-2.608-1.54-3.635-.998-.998-2.21-1.497-3.635-1.497z"]}},function(t,e){t.exports={prefix:"cv",iconName:"share",icon:["24","24",[],"","M15.091 15.463a2.187 2.187 0 1 1-.392.782L8.91 13.35a2.187 2.187 0 1 1-.1-2.82l5.88-2.812a2.187 2.187 0 1 1 .378.79l-5.811 2.778a2.184 2.184 0 0 1 .045 1.281l5.79 2.896z"]}},function(t,e){t.exports={prefix:"cv",iconName:"upload",icon:["24","24",[],"","M5.5 18.5h13v-2.75a.75.75 0 1 1 1.5 0V19a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-3.25a.75.75 0 1 1 1.5 0v2.75zm7.249-11.796v8.57c0 .401-.35.726-.781.726-.432 0-.781-.325-.781-.725V6.704L7.89 9.658a.869.869 0 0 1-1.145 0 .692.692 0 0 1-.009-1.05l4.66-4.174a.869.869 0 0 1 1.144 0l4.66 4.174a.69.69 0 0 1 0 1.042.871.871 0 0 1-1.155.008L12.75 6.704z"]}},function(t,e){t.exports={prefix:"cv",iconName:"down",icon:["24","24",[],"","M8 10l8 .014L12 14z"]}},function(t,e){t.exports={prefix:"cv",iconName:"right",icon:["24","24",[],"","M8 10l8 .014L12 14z"]}},function(t,e){t.exports={prefix:"cv",iconName:"up-down",icon:["24","24",[],"","M8 14l8 .014L12 18l-4-4zm0-4l4-4 4 3.986L8 10z"]}},function(t,e){t.exports={prefix:"cv",iconName:"visible-off",icon:["24","24",[],"","M15.293 6.609l-.793.79A8.794 8.794 0 0 0 11.997 7C8.006 6.978 4 10.17 4 12c0 .925 1.062 2.216 2.63 3.254l-.715.714C4.174 14.76 3 13.228 3 12c0-2.44 4.5-6.025 9.003-6 1.119.006 2.239.234 3.29.609zm2.802 1.442C19.833 9.26 21 10.786 21 12c0 2.45-4.504 6-9 6-1.112 0-2.23-.223-3.279-.595l.794-.792A8.659 8.659 0 0 0 12 17c3.989 0 8-3.161 8-5 0-.911-1.055-2.196-2.62-3.235l.715-.714zm-7.65 7.635l.787-.785A3.005 3.005 0 0 0 15 12c0-.264-.034-.52-.098-.763l.787-.785a4 4 0 0 1-5.245 5.235zM8.318 13.57a4 4 0 0 1 5.257-5.246l-.785.782a3.003 3.003 0 0 0-3.687 3.68l-.785.784zm-3.466 6.285a.5.5 0 1 1-.706-.708l15-14.971a.5.5 0 1 1 .706.708l-15 14.97z"]}},function(t,e){t.exports={prefix:"cv",iconName:"visible-on",icon:["24","24",[],"","M3 12c0-2.44 4.5-6.025 9.003-6C16.494 6.025 21 9.614 21 12c0 2.45-4.504 6-9 6-4.466 0-9-3.586-9-6zm1 0c0 1.804 4.042 5 8 5 3.989 0 8-3.161 8-5 0-1.778-4.017-4.977-8.003-5C8.006 6.978 4 10.17 4 12zm8 4a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"]}},function(t,e){t.exports={prefix:"cv",iconName:"no-edit",icon:["24","24",[],"","M11.321 14.15l.707.707-4.578 4.578c-2.276.4-3.426.589-3.45.565-.024-.024.183-1.155.621-3.393L9.2 12.028l.707.707-3.739 3.74 1.468 1.36 3.685-3.685zm2.828-2.829l2.233-2.232-1.414-1.414-2.233 2.232-.707-.707 4.14-4.14a1.5 1.5 0 0 1 2.12 0l.708.708a1.5 1.5 0 0 1 0 2.121l-4.14 4.14-.707-.708zm-8.933 7.486c.45-.076 1.012-.173 1.685-.29l-1.383-1.282a173.71 173.71 0 0 0-.302 1.572zm10.459-11.84l1.414 1.415 1.2-1.2a.5.5 0 0 0 0-.707l-.708-.707a.5.5 0 0 0-.707 0l-1.2 1.2zM4.646 5.355a.5.5 0 0 1 .708-.708L19.496 18.79a.5.5 0 1 1-.707.707L4.646 5.354z"]}},function(t,e){t.exports={prefix:"cv",iconName:"edit-clickview",icon:["20","20",[],"","M17.6404852,5.71727477 L18.2297408,6.30653042 C18.7178962,6.79468579 18.7178962,7.58614201 18.2297408,8.07429738 L8.60812289,17.6959153 C6.71135346,18.0295451 5.75309028,18.1864816 5.73333333,18.1667246 C5.71357639,18.1469677 5.88616537,17.2043571 6.25110029,15.3388927 L15.8727182,5.71727477 C16.3608736,5.22911941 17.1523298,5.22911941 17.6404852,5.71727477 Z M8.7636789,16.361848 L16.05144,9.07408693 L14.8729287,7.89557563 L7.54002172,15.2284826 L8.7636789,16.361848 Z M6.74626541,17.1725049 C7.12145752,17.1092038 7.58975231,17.0283895 8.15085565,16.9301078 L6.99799308,15.862313 C6.89682248,16.3819093 6.8128974,16.8187273 6.74626541,17.1725049 Z M15.4621843,7.30631998 L16.6406956,8.48483128 L17.6404852,7.48504173 C17.8032036,7.32232327 17.8032036,7.05850453 17.6404852,6.89578608 L17.0512295,6.30653042 C16.8885111,6.14381197 16.6246923,6.14381197 16.4619739,6.30653042 L15.4621843,7.30631998 Z M6.33566019,14.9908489 C6.2812423,14.9851574 6.22594201,14.9756491 6.16991424,14.9622805 C5.78045547,14.8577915 5.5109401,14.5829916 5.41684139,14.197065 L5.16924027,13.2272939 L4.21481414,13.4992408 C3.82064978,13.614606 3.44283804,13.5120571 3.186267,13.236167 C2.88681965,12.9560388 2.78427075,12.578227 2.89864522,12.187493 L3.17158282,11.2296365 L2.20423564,10.9826478 C1.82188543,10.8870603 1.55144636,10.6218219 1.4331146,10.2152085 C1.34005988,9.82437875 1.44481708,9.45772856 1.72601896,9.19546209 L2.43808286,8.49887783 L1.73450689,7.81040417 C1.44481706,7.54002697 1.34005989,7.17337687 1.439649,6.75790801 C1.55144635,6.37593371 1.82188539,6.11069542 2.20181175,6.01572028 L3.17158282,5.76811916 L2.89963593,4.81369299 C2.78427075,4.41952863 2.88681965,4.04171689 3.16270985,3.78514587 C3.442838,3.48569854 3.82064974,3.38314964 4.2113838,3.49752411 L5.16924027,3.77046171 L5.41554008,2.80590417 C5.51183431,2.41109782 5.78619407,2.13673807 6.15902913,2.0463353 C6.55319349,1.93097012 6.93100525,2.03351902 7.20467421,2.32619001 L7.89999894,3.04211696 L8.594506,2.32703389 C8.87243071,2.03952554 9.24209506,1.93918808 9.61899753,2.04044384 C10.0138038,2.13673809 10.2881636,2.41109789 10.3831565,2.80069064 L10.6307576,3.77046171 L11.5851838,3.49851482 C11.9793481,3.38314964 12.3571599,3.48569854 12.6137309,3.76158875 C12.9131782,4.04171689 13.0157271,4.41952857 12.9013527,4.8102627 L12.6284151,5.76811916 L13.5957624,6.01510789 C13.9781125,6.11069542 14.2485515,6.37593369 14.3668833,6.78254721 C14.3761095,6.82129727 14.3833912,6.85980963 14.3887491,6.89800613 L12.4311686,8.86525019 C12.2885501,8.50246788 12.3664513,8.07377489 12.6626209,7.7840438 L13.3831727,7.07934901 C13.4057811,7.05824779 13.4051218,7.06055538 13.4006115,7.03880681 C13.3874896,6.9939735 13.3872742,6.99376225 13.3508029,6.98463799 L12.3810318,6.73703687 L12.3543769,6.72983797 C11.8232342,6.57849086 11.5153491,6.0252236 11.6666962,5.49408097 L11.9406245,4.53279433 C11.9501787,4.50015106 11.9538346,4.51362027 11.9070166,4.46830299 C11.8852565,4.44504217 11.8987257,4.44869811 11.8626522,4.45924293 L10.9047957,4.73218053 L10.8781408,4.73937942 C10.3430223,4.87600541 9.79846586,4.55296343 9.66183987,4.01784495 L9.41293742,3.04286026 C9.40513226,3.0108591 9.4140425,3.01976934 9.37095513,3.00912543 C9.33213613,2.99871057 9.33745796,2.99726608 9.31267674,3.02289983 L8.61735201,3.73882678 L8.59670876,3.75947002 C8.2005256,4.14425223 7.56742808,4.13500994 7.18264587,3.73882678 L6.48086195,3.01612347 C6.45910183,2.99286265 6.4725711,2.9965186 6.4179566,3.01196417 C6.38595535,3.01976935 6.39486559,3.01085911 6.3857591,3.04807388 L6.13815798,4.01784495 L6.13095909,4.04449986 C5.97961199,4.5756425 5.42634475,4.88352762 4.89520211,4.73218053 L3.93391535,4.45825223 C3.90127212,4.44869811 3.91474139,4.44504217 3.86942412,4.49186014 C3.84616328,4.51362028 3.84981922,4.50015102 3.86036404,4.53622453 L4.13330164,5.494081 L4.14050053,5.52073591 C4.27712653,6.05585439 3.95408454,6.60041087 3.41896607,6.73703687 L2.44677117,6.98525039 C2.41272371,6.99376225 2.41250834,6.99397349 2.40592081,7.01416766 C2.3948761,7.06055542 2.39421677,7.05824776 2.42531312,7.08745955 L3.13737702,7.78404381 L3.15291688,7.79958367 C3.53912638,8.1943756 3.53216895,8.82750235 3.13737702,9.21371185 L2.41682511,9.91840678 C2.39421677,9.93950789 2.3948761,9.93720022 2.3993864,9.95894886 C2.41250834,10.0037822 2.41272371,10.0039934 2.44919499,10.0131176 L3.41896606,10.2607188 L3.44562098,10.2679177 C3.97676362,10.4192648 4.28464874,10.972532 4.13330164,11.5036746 L3.85937334,12.4649614 C3.84981922,12.4976046 3.84616328,12.4841354 3.89298124,12.5294526 C3.91474137,12.5527135 3.90127209,12.5490575 3.93734565,12.5385127 L4.89520212,12.2655751 L4.92185702,12.2583762 C5.4569755,12.1217502 6.00153199,12.4447922 6.13815798,12.9799107 L6.38706042,13.9548953 C6.3957598,13.9905628 6.39169395,13.9864172 6.41528883,13.9929559 C6.46167656,14.0040006 6.45936885,14.00466 6.48858067,13.9735636 L7.18516493,13.2614997 L7.20070477,13.2459599 C7.4952939,12.9577749 7.92258715,12.888504 8.28097421,13.0359319 L6.33566019,14.9908489 Z M6.70489207,8.77616163 L9.31429327,6.16676041 C9.44212761,6.03892605 9.65593967,6.03389908 9.78471434,6.16267377 L10.2815938,6.65955323 C10.4116803,6.78963968 10.4085388,6.9989426 10.2775071,7.12997428 L6.95925927,10.4482222 C6.89767261,10.5098088 6.81613041,10.5428917 6.73375541,10.5462414 C6.63512454,10.5601257 6.53103126,10.5287286 6.45266973,10.450367 L4.80169873,8.79939603 C4.67185163,8.66954896 4.66967053,8.4612063 4.79975698,8.33111983 L5.29663643,7.83424043 C5.42541113,7.7054657 5.63211299,7.70338256 5.76491261,7.83618216 L6.70489207,8.77616163 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"share2",icon:["24","24",[],"","M19.4216766,5.00521391 C19.613919,4.98125611 19.7682745,5.03986249 19.8847432,5.18103303 C20.0012119,5.32220356 20.0294106,5.48346256 19.9693393,5.66481001 L19.9693393,5.66481001 L14.1956074,19.738196 C14.0955154,19.912732 13.9481454,20 13.7534974,20 C13.5588494,20 13.4140159,19.912732 13.3189969,19.738196 L13.3189969,19.738196 L9.93477602,13.4796112 L4.20437042,9.12353139 C4.02183531,8.9778479 3.96157474,8.8005141 4.02358872,8.59152998 C4.0856027,8.38254586 4.23262042,8.26120315 4.46464188,8.22750185 L4.46464188,8.22750185 Z M18.2074971,7.35312765 L10.9727276,13.3209485 L13.6956405,18.351754 L18.2074971,7.35312765 Z M17.8703206,6.3505542 L5.65837825,8.98552539 L10.3489793,12.5526101 L17.8703206,6.3505542 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"caret",icon:["24","24",[],"","M8 10 16 10.0136253 12 14z"]}},function(t,e){t.exports={prefix:"cv",iconName:"chevron-up",icon:["24","24",[],"","M12.733 8.305l5.963 5.906a1.046 1.046 0 0 1 0 1.473l-.01.011a1.034 1.034 0 0 1-1.467 0L12 10.526l-5.22 5.17a1.034 1.034 0 0 1-1.465 0l-.011-.012a1.046 1.046 0 0 1 0-1.473l5.963-5.906a1.034 1.034 0 0 1 1.466 0z"]}},function(t,e){t.exports={prefix:"cv",iconName:"chevron-down",icon:["24","24",[],"","M11.267 15.695L5.304 9.79a1.046 1.046 0 0 1 0-1.473l.01-.011a1.034 1.034 0 0 1 1.467 0L12 13.474l5.22-5.17a1.034 1.034 0 0 1 1.465 0l.011.012a1.046 1.046 0 0 1 0 1.473l-5.963 5.906a1.034 1.034 0 0 1-1.466 0z"]}},function(t,e){t.exports={prefix:"cv",iconName:"chevron-left",icon:["24","24",[],"","M8.305 11.267l5.906-5.963a1.046 1.046 0 0 1 1.473 0l.011.01a1.034 1.034 0 0 1 0 1.467L10.526 12l5.17 5.22c.406.41.406 1.055 0 1.465l-.012.011a1.046 1.046 0 0 1-1.473 0l-5.906-5.963a1.034 1.034 0 0 1 0-1.466z"]}},function(t,e){t.exports={prefix:"cv",iconName:"chevron-right",icon:["24","24",[],"","M15.695 11.267c.407.41.407 1.056 0 1.466L9.79 18.696a1.046 1.046 0 0 1-1.474 0l-.01-.01a1.034 1.034 0 0 1 0-1.467L13.474 12l-5.17-5.22a1.034 1.034 0 0 1 0-1.465l.012-.011a1.046 1.046 0 0 1 1.474 0l5.905 5.963z"]}},function(t,e){t.exports={prefix:"cv",iconName:"arrow-left",icon:["24","24",[],"","M7.182 11h11.89c.512 0 .928.448.928 1s-.416 1-.929 1H7.181l3.781 4.22a1.11 1.11 0 0 1 0 1.465c-.36.403-.943.418-1.311.045a.952.952 0 0 1-.032-.034l-5.343-5.963a1.112 1.112 0 0 1 0-1.466l5.343-5.963a.883.883 0 0 1 1.333 0c.378.421.378 1.066.01 1.477L7.182 11z"]}},function(t,e){t.exports={prefix:"cv",iconName:"arrow-right",icon:["24","24",[],"","M16.818 11H4.928C4.417 11 4 11.448 4 12s.416 1 .929 1h11.89l-3.781 4.22a1.112 1.112 0 0 0 0 1.465c.36.403.943.418 1.311.045a.952.952 0 0 0 .032-.034l5.343-5.963a1.112 1.112 0 0 0 0-1.466l-5.343-5.963a.883.883 0 0 0-1.333 0 1.115 1.115 0 0 0-.01 1.477L16.818 11z"]}},function(t,e){t.exports={prefix:"cv",iconName:"enter",icon:["24","24",[],"","M5.613 13.959a.599.599 0 0 1-.213-.46c0-.155.058-.309.176-.426l3.75-3.75a.6.6 0 0 1 .848.848L7.446 12.9H13.5A3.9 3.9 0 0 0 17.4 9V6.747a.6.6 0 0 1 1.2 0V9a5.1 5.1 0 0 1-5.1 5.1H7.452l2.722 2.723a.6.6 0 0 1-.848.848L5.613 13.96z"]}},function(t,e){t.exports={prefix:"cv",iconName:"archive",icon:["24","24",[],"","M19.64 10.28a.55.55 0 1 1 1.1 0v6.878c0 1.582-1.386 2.842-3.07 2.842H6.33c-1.684 0-3.07-1.26-3.07-2.842V10.28a.55.55 0 1 1 1.1 0v6.877c0 .95.87 1.742 1.97 1.742h11.34c1.1 0 1.97-.793 1.97-1.742V10.28zM20.19 4c.99 0 1.81.747 1.81 1.696V7.99a.55.55 0 0 1-.55.55H2.55A.55.55 0 0 1 2 7.99V5.696C2 4.747 2.821 4 3.81 4h16.38zm.71 1.696c0-.317-.307-.596-.71-.596H3.81c-.403 0-.71.28-.71.596v1.742h17.8V5.696zm-5.83 5.73c0 .95-.821 1.697-1.81 1.697h-2.52c-.989 0-1.81-.747-1.81-1.696 0-.95.821-1.696 1.81-1.696h2.52c.989 0 1.81.747 1.81 1.696zm-1.1 0c0-.316-.307-.595-.71-.595h-2.52c-.403 0-.71.28-.71.596 0 .317.307.596.71.596h2.52c.403 0 .71-.28.71-.596z"]}},function(t,e){t.exports={prefix:"cv",iconName:"bell",icon:["24","24",[],"","M9.588 17.995H6.152c-.636 0-1.152-.53-1.152-1.182 0-.221.06-.438.175-.626l2.128-2.92V9.722c0-2.187 1.447-4.027 3.411-4.567v-.012A1.143 1.143 0 0 1 13 5.128c2.017.502 3.515 2.369 3.515 4.594v3.545l2.303 2.92a1.2 1.2 0 0 1-.366 1.628 1.13 1.13 0 0 1-.61.18h-3.716a2.286 2.286 0 0 1-4.538 0zm1.161 0a1.143 1.143 0 0 0 2.216 0H10.75zm4.615-4.31V9.723c0-1.958-1.547-3.546-3.455-3.546-1.908 0-3.454 1.588-3.454 3.546v3.939l-.23.314-2.073 2.838H17.83l-2.467-3.127z"]}},function(t,e){t.exports={prefix:"cv",iconName:"bookmark",icon:["24","24",[],"","M8.5 5h7A1.5 1.5 0 0 1 17 6.5v12.131a.2.2 0 0 1-.309.168L12 15.75 7.309 18.8A.2.2 0 0 1 7 18.63V6.5A1.5 1.5 0 0 1 8.5 5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"broadcast",icon:["24","24",[],"","M4.571 19C4.256 19 4 18.776 4 18.5s.256-.5.571-.5H19.43c.315 0 .571.224.571.5s-.256.5-.571.5H4.57zM4.125 5h15.75C20.496 5 21 5.537 21 6.2v9.6c0 .663-.504 1.2-1.125 1.2H4.125C3.504 17 3 16.463 3 15.8V6.2C3 5.537 3.504 5 4.125 5zM4 6v10h16V6H4zm6 2.35a.192.192 0 0 1 .295-.162l4.164 2.65a.192.192 0 0 1 0 .324l-4.164 2.65A.192.192 0 0 1 10 13.65v-5.3z"]}},function(t,e){t.exports={prefix:"cv",iconName:"calendar",icon:["24","24",[],"","M6.2 10.2V17a.8.8 0 0 0 .8.8h10a.8.8 0 0 0 .8-.8v-6.8H6.2zM16 5.5h2a1 1 0 0 1 1 1V17a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6.5a1 1 0 0 1 1-1h2v-.875a.625.625 0 1 1 1.25 0V5.5h5.5v-.875a.625.625 0 1 1 1.25 0V5.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"cog",icon:["24","24",[],"","M18.458 12c0 .944.514 1.722 1.542 2.333a10.98 10.98 0 0 1-.667 1.584c-.944-.223-1.805.055-2.583.833-.694.694-.917 1.556-.667 2.583A10.98 10.98 0 0 1 14.5 20c-.611-1.028-1.444-1.542-2.5-1.542s-1.889.514-2.5 1.542c-.5-.167-1.042-.389-1.625-.667.25-1.055.042-1.916-.625-2.583-.667-.667-1.528-.875-2.583-.625C4.389 15.542 4.167 15 4 14.5c1.028-.611 1.542-1.444 1.542-2.5 0-.944-.514-1.722-1.542-2.333a8.484 8.484 0 0 1 .667-1.584c.944.223 1.805-.055 2.583-.833.667-.667.875-1.528.625-2.583C8.458 4.389 9 4.167 9.5 4c.611 1.028 1.444 1.542 2.5 1.542S13.889 5.028 14.5 4c.5.167 1.042.389 1.625.667-.25 1.055-.042 1.916.625 2.583.778.778 1.639 1.056 2.583.833.306.611.528 1.14.667 1.584-1.028.61-1.542 1.389-1.542 2.333zM12 16.083c1.111 0 2.07-.402 2.875-1.208.806-.806 1.208-1.764 1.208-2.875s-.402-2.07-1.208-2.875c-.806-.806-1.764-1.208-2.875-1.208s-2.07.402-2.875 1.208c-.806.806-1.208 1.764-1.208 2.875s.402 2.07 1.208 2.875c.806.806 1.764 1.208 2.875 1.208z"]}},function(t,e){t.exports={prefix:"cv",iconName:"folder",icon:["24","24",[],"","M12.685 6H18.5A1.5 1.5 0 0 1 20 7.5v11a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 18.5v-13A1.5 1.5 0 0 1 5.5 4h4.66a1.5 1.5 0 0 1 1.095.474L12.685 6zM5.5 5a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-6.248l-1.727-1.842A.5.5 0 0 0 10.161 5H5.5zM5 10V9h14v1H5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"handle",icon:["16","16",[],"","M1 0h14a1 1 0 0 1 1 1v1.2a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1zm0 6.4h14a1 1 0 0 1 1 1v1.2a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7.4a1 1 0 0 1 1-1zm0 6.4h14a1 1 0 0 1 1 1V15a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1v-1.2a1 1 0 0 1 1-1z"]}},function(t,e){t.exports={prefix:"cv",iconName:"heart",icon:["24","24",[],"","m11.466 22.776c.141.144.333.224.534.224s.393-.08.534-.224l9.594-9.721c4.001-4.053 1.158-11.055-4.532-11.055-3.417 0-4.985 2.511-5.596 2.98-.614-.471-2.172-2.98-5.596-2.98-5.672 0-8.55 6.984-4.531 11.055z"]}},function(t,e){t.exports={prefix:"cv",iconName:"heart-outline",icon:["24","24",[],"","m11.466 22.776c.141.144.333.224.534.224s.393-.08.534-.224l9.594-9.721c2.491-2.523 2.491-6.63 0-9.154-1.21-1.226-2.819-1.901-4.532-1.901s-3.321.675-4.531 1.9l-1.065 1.08-1.065-1.079c-1.21-1.226-2.819-1.901-4.531-1.901-1.713 0-3.322.675-4.532 1.901-2.491 2.524-2.491 6.631 0 9.153zm-8.527-17.822c.926-.937 2.157-1.454 3.464-1.454 1.308 0 2.538.517 3.463 1.455l1.599 1.62c.281.285.786.285 1.067 0l1.599-1.621c.928-.937 2.158-1.454 3.465-1.454 1.308 0 2.538.517 3.464 1.454 1.917 1.943 1.917 5.104 0 7.048l-9.06 9.181-9.061-9.182c-1.917-1.942-1.917-5.104 0-7.047z"]}},function(t,e){t.exports={prefix:"cv",iconName:"interactive",icon:["24","24",[],"","M5.978 13.65l7.525-9.99a.2.2 0 0 1 .357.154l-1.289 7.5 5.194-1.04a.2.2 0 0 1 .198.318l-7.447 9.733a.2.2 0 0 1-.355-.16l1.268-6.566-5.277.37a.2.2 0 0 1-.174-.32z"]}},function(t,e){t.exports={prefix:"cv",iconName:"link",icon:["24","24",[],"","M17 10c2.2 0 4 1.8 4 4s-1.8 4-4 4h-5a3.99 3.99 0 0 1-3-1.367v-.028a4.447 4.447 0 0 1-.889-2.679c0-.698.162-1.356.443-1.94A4 4 0 0 1 12 10h1.872v.098c0 .573-.322 1.081-.818 1.402H12c-.722 0-1.368.316-1.824.811-.453.418-.732.976-.732 1.591v.196c0 .575.244 1.1.645 1.508.46.545 1.146.894 1.911.894h5c1.375 0 2.5-1.125 2.5-2.5s-1.125-2.5-2.5-2.5h-.686a5.22 5.22 0 0 0 .24-1.5H17zm-9.556 3.926l.002.074H7c-2.2 0-4-1.8-4-4s1.8-4 4-4h5c1.462 0 2.743.797 3.441 1.975a4.48 4.48 0 0 1-.44 4.63v.024a3.982 3.982 0 0 1-3 1.37h-1.873v-.096c0-.574.322-1.082.817-1.403H12c.722 0 1.368-.316 1.824-.811.452-.418.731-.976.731-1.591v-.195c0-.576-.244-1.101-.645-1.51A2.496 2.496 0 0 0 12 7.5H7A2.507 2.507 0 0 0 4.5 10c0 1.375 1.125 2.5 2.5 2.5h.642c-.128.452-.198.93-.198 1.426z"]}},function(t,e){t.exports={prefix:"cv",iconName:"playlist",icon:["24","24",[],"","M4,19.0049107 C4,19.5548349 4.44525903,20 4.99508929,20 L19.0049107,20 C19.5548349,20 20,19.554741 20,19.0049107 L20,4.99508929 C20,4.44516513 19.554741,4 19.0049107,4 L4.99508929,4 C4.44516513,4 4,4.44525903 4,4.99508929 L4,19.0049107 Z M4.99508929,3 L19.0049107,3 C20.1067681,3 21,3.8926228 21,4.99508929 L21,19.0049107 C21,20.1067681 20.1073772,21 19.0049107,21 L4.99508929,21 C3.8932319,21 3,20.1073772 3,19.0049107 L3,4.99508929 C3,3.8932319 3.8926228,3 4.99508929,3 Z M17.5,17.3 C17.7761424,17.3 18,17.0761424 18,16.8 C18,16.5238576 17.7761424,16.3 17.5,16.3 L9.5,16.3 C9.22385763,16.3 9,16.5238576 9,16.8 C9,17.0761424 9.22385763,17.3 9.5,17.3 L17.5,17.3 Z M17.5,12.7 C17.7761424,12.7 18,12.4761424 18,12.2 C18,11.9238576 17.7761424,11.7 17.5,11.7 L9.5,11.7 C9.22385763,11.7 9,11.9238576 9,12.2 C9,12.4761424 9.22385763,12.7 9.5,12.7 L17.5,12.7 Z M8.07195299,7.22930174 L6.86542219,6.50538326 C6.38401051,6.21653625 6,6.43413716 6,6.98678206 L6,8.51032805 C6,9.06455544 6.38746271,9.27850253 6.86542219,8.99172685 L8.07195299,8.26780837 C8.55336467,7.97896136 8.54991246,7.51607743 8.07195299,7.22930174 Z M8.07195299,11.7293017 L6.86542219,11.0053833 C6.38401051,10.7165363 6,10.9341372 6,11.4867821 L6,13.010328 C6,13.5645554 6.38746271,13.7785025 6.86542219,13.4917268 L8.07195299,12.7678084 C8.55336467,12.4789614 8.54991246,12.0160774 8.07195299,11.7293017 Z M8.07195299,16.2293017 L6.86542219,15.5053833 C6.38401051,15.2165363 6,15.4341372 6,15.9867821 L6,17.510328 C6,18.0645554 6.38746271,18.2785025 6.86542219,17.9917268 L8.07195299,17.2678084 C8.55336467,16.9789614 8.54991246,16.5160774 8.07195299,16.2293017 Z M17.5,8.3 C17.7761424,8.3 18,8.07614237 18,7.8 C18,7.52385763 17.7761424,7.3 17.5,7.3 L9.5,7.3 C9.22385763,7.3 9,7.52385763 9,7.8 C9,8.07614237 9.22385763,8.3 9.5,8.3 L17.5,8.3 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"publisher-archive",icon:["24","24",[],"","M19.6403207,10.2808023 C19.6403207,9.97696656 19.8864872,9.73065903 20.1901489,9.73065903 C20.4938106,9.73065903 20.7399771,9.97696656 20.7399771,10.2808023 L20.7399771,17.1575931 C20.7399771,18.7397289 19.3544729,20 17.6701031,20 L6.32989691,20 C4.64552709,20 3.26002291,18.7397289 3.26002291,17.1575931 L3.26002291,10.2808023 C3.26002291,9.97696656 3.50618937,9.73065903 3.80985109,9.73065903 C4.11351281,9.73065903 4.35967927,9.97696656 4.35967927,10.2808023 L4.35967927,17.1575931 C4.35967927,18.1074218 5.23070097,18.8997135 6.32989691,18.8997135 L17.6701031,18.8997135 C18.769299,18.8997135 19.6403207,18.1074218 19.6403207,17.1575931 L19.6403207,10.2808023 Z M20.1901489,4 C21.1786273,4 22,4.74713037 22,5.69627507 L22,7.98853868 C22,8.29237442 21.7538335,8.53868195 21.4501718,8.53868195 L2.54982818,8.53868195 C2.24616646,8.53868195 2,8.29237442 2,7.98853868 L2,5.69627507 C2,4.74713037 2.82137271,4 3.80985109,4 L20.1901489,4 Z M20.9003436,5.69627507 C20.9003436,5.37943754 20.5934534,5.10028653 20.1901489,5.10028653 L3.80985109,5.10028653 C3.40654659,5.10028653 3.09965636,5.37943754 3.09965636,5.69627507 L3.09965636,7.43839542 L20.9003436,7.43839542 L20.9003436,5.69627507 Z M15.069874,11.4269341 C15.069874,12.3760788 14.2485013,13.1232092 13.2600229,13.1232092 L10.7399771,13.1232092 C9.75149871,13.1232092 8.930126,12.3760788 8.930126,11.4269341 C8.930126,10.4777894 9.75149871,9.73065903 10.7399771,9.73065903 L13.2600229,9.73065903 C14.2485013,9.73065903 15.069874,10.4777894 15.069874,11.4269341 Z M13.9702176,11.4269341 C13.9702176,11.1100966 13.6633274,10.8309456 13.2600229,10.8309456 L10.7399771,10.8309456 C10.3366726,10.8309456 10.0297824,11.1100966 10.0297824,11.4269341 C10.0297824,11.7437716 10.3366726,12.0229226 10.7399771,12.0229226 L13.2600229,12.0229226 C13.6633274,12.0229226 13.9702176,11.7437716 13.9702176,11.4269341 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"resources",icon:["24","24",[],"","M4 6.83c0-.523.423-.948.948-.948H17.17c.524 0 .949.423.949.949v12.22a.947.947 0 0 1-.949.949H4.95a.947.947 0 0 1-.95-.948V6.83zm.941 12.222c0 .005 12.228.007 12.228.007.005 0 .007-12.228.007-12.228 0-.005-12.228-.007-12.228-.007-.005 0-.007 12.228-.007 12.228zm2.353-9.405a.47.47 0 1 1 0-.941h7.588a.47.47 0 1 1 0 .941H7.294zm0 2.824a.47.47 0 1 1 0-.942h7.588a.47.47 0 1 1 0 .942H7.294zm0 2.823a.47.47 0 1 1 0-.941h2.88a.47.47 0 1 1 0 .941h-2.88zM6.353 4.941a.47.47 0 1 1 0-.941h11.766C19.155 4 20 4.848 20 5.88v12.232a.47.47 0 1 1-.941 0V5.88a.945.945 0 0 0-.94-.938H6.353z"]}},function(t,e){t.exports={prefix:"cv",iconName:"star-o",icon:["24","24",[],"","M11.64 16.055a.768.768 0 0 1 .72 0l3.767 1.998-.806-4.602 3.357-3.249-4.626-.654L12 5.35 9.948 9.548l-4.626.654 3.357 3.25-.807 4.601 3.768-1.998zm-3.75 3.148a.768.768 0 0 1-1.116-.811l.804-4.583-3.344-3.235a.768.768 0 0 1 .426-1.312l4.607-.652 2.043-4.18a.768.768 0 0 1 1.38 0l2.043 4.18 4.607.652a.768.768 0 0 1 .426 1.312l-3.344 3.235.804 4.583a.768.768 0 0 1-1.116.81L12 17.023l-4.11 2.18z"]}},function(t,e){t.exports={prefix:"cv",iconName:"star",icon:["24","24",[],"","M7.89 19.203a.768.768 0 0 1-1.116-.811l.804-4.583-3.344-3.235a.768.768 0 0 1 .426-1.312l4.607-.652 2.043-4.18a.768.768 0 0 1 1.38 0l2.043 4.18 4.607.652a.768.768 0 0 1 .426 1.312l-3.344 3.235.804 4.583a.768.768 0 0 1-1.116.81L12 17.023l-4.11 2.18z"]}},function(t,e){t.exports={prefix:"cv",iconName:"tag",icon:["24","24",[],"","M9.85651379,4 C10.5597673,4 11.2342681,4.27911643 11.7318501,4.77635695 L11.7318501,4.77635695 L19.5192508,12.5634018 C20.1602555,13.2045708 20.1602555,14.2439177 19.5192159,14.8851217 L19.5192159,14.8851217 L14.8855145,19.5192848 C14.2443321,20.1602442 13.2049876,20.1602442 12.5637184,19.519198 L12.5637184,19.519198 L4.7762613,11.7314233 C4.27913559,11.2340016 4,10.5595161 4,9.85635067 L4,9.85635067 L4,5.64191268 C4,4.7351029 4.73513649,4 5.64195885,4 L5.64195885,4 L9.85651379,4 Z M9.85658948,5.26315824 L5.64195885,5.26315824 C5.4327466,5.26315824 5.26315823,5.43273884 5.26315823,5.64191268 L5.26315823,5.64191268 L5.26315823,9.85642637 C5.26315823,10.2247328 5.40935021,10.5779817 5.66959105,10.8383776 L5.66959105,10.8383776 L13.4568376,18.6259418 C13.6047616,18.7738142 13.8445582,18.7738142 13.9923822,18.6260417 L13.9923822,18.6260417 L18.6259486,13.9920135 C18.7738119,13.8441123 18.7738119,13.6043763 18.6260161,13.4565426 L18.6260161,13.4565426 L10.8388259,5.6697082 C10.5782887,5.40934993 10.2250082,5.26315824 9.85658948,5.26315824 L9.85658948,5.26315824 Z M7.78947471,6.10526373 C8.71963876,6.10526373 9.4736857,6.85931068 9.4736857,7.78947472 C9.4736857,8.71963876 8.71963876,9.4736857 7.78947471,9.4736857 C6.85931067,9.4736857 6.10526373,8.71963876 6.10526373,7.78947472 C6.10526373,6.85931068 6.85931067,6.10526373 7.78947471,6.10526373 Z M7.78947471,7.36842197 C7.5569337,7.36842197 7.36842197,7.55693371 7.36842197,7.78947472 C7.36842197,8.02201573 7.5569337,8.21052747 7.78947471,8.21052747 C8.02201572,8.21052747 8.21052746,8.02201573 8.21052746,7.78947472 C8.21052746,7.55693371 8.02201572,7.36842197 7.78947471,7.36842197 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"time",icon:["24","24",[],"","M12 4c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 1.077a6.88 6.88 0 0 0-4.896 2.027A6.877 6.877 0 0 0 5.077 12c0 1.85.72 3.588 2.027 4.896A6.877 6.877 0 0 0 12 18.923a6.88 6.88 0 0 0 4.896-2.027A6.877 6.877 0 0 0 18.923 12a6.88 6.88 0 0 0-2.027-4.896A6.877 6.877 0 0 0 12 5.077zm2.524 9.599a.6.6 0 0 1-.848.848l-2.5-2.5A.6.6 0 0 1 11 12.6V8.624a.6.6 0 0 1 1.2 0v3.727l2.324 2.325z"]}},function(t,e){t.exports={prefix:"cv",iconName:"video",icon:["24","24",[],"","M4.5 6a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h15a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-15zm0-1h15A1.5 1.5 0 0 1 21 6.5v11a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 17.5v-11A1.5 1.5 0 0 1 4.5 5zM10 9.26v5.48a.256.256 0 0 0 .39.218l4.482-2.74a.256.256 0 0 0 0-.436l-4.483-2.74a.256.256 0 0 0-.389.219z"]}},function(t,e){t.exports={prefix:"cv",iconName:"subject",icon:["24","24",[],"","M19.15,21.08H5.1c-1.09,0-1.98-0.89-1.98-1.98V5.06c0-1.09,0.89-1.98,1.98-1.98h14.04c1.09,0,1.98,0.89,1.98,1.98V19.1 C21.12,20.19,20.24,21.08,19.15,21.08z M20.12,19.16V5c0-0.51-0.41-0.92-0.92-0.92H7.04C6.54,4.08,6.12,4.49,6.12,5v14.16 c0,0.51,0.41,0.92,0.92,0.92h12.16C19.71,20.08,20.12,19.67,20.12,19.16z M19.12,6.95V6.81c0-0.36-0.29-0.65-0.65-0.65H8.78 c-0.36,0-0.65,0.29-0.65,0.65v0.13c0,0.36,0.29,0.65,0.65,0.65h9.69C18.83,7.6,19.12,7.31,19.12,6.95z M19.12,9.95V9.81 c0-0.36-0.29-0.65-0.65-0.65H8.78c-0.36,0-0.65,0.29-0.65,0.65v0.13c0,0.36,0.29,0.65,0.65,0.65h9.69 C18.83,10.6,19.12,10.31,19.12,9.95z"]}},function(t,e){t.exports={prefix:"cv",iconName:"series",icon:["24","24",[],"","M20.49,3.51c0.97,0,1.76,0.79,1.76,1.76v9.27c0,0.77-0.49,1.42-1.18,1.66l0.09-10.84c0-0.39-0.3-0.7-0.68-0.7l-14.27,0 C6.46,3.99,7.1,3.51,7.85,3.51H20.49z M18.38,5.56c0.97,0,1.76,0.79,1.76,1.75v9.27c0.01,0.77-0.49,1.42-1.17,1.66l0.09-10.86 c0-0.38-0.3-0.68-0.68-0.68l-14.28,0c0.25-0.67,0.89-1.14,1.64-1.14H18.38z M16.15,7.7c0.97,0,1.75,0.79,1.75,1.76v9.27 c0,0.97-0.79,1.75-1.75,1.75H3.5c-0.97,0-1.75-0.79-1.75-1.75V9.46c0-0.97,0.79-1.76,1.75-1.76H16.15z M16.14,8.85H3.51 c-0.38,0-0.68,0.3-0.68,0.68l0,0v9.13c0,0.38,0.3,0.68,0.68,0.68l0,0h12.62c0.38,0,0.68-0.3,0.68-0.68l0,0V9.53 C16.82,9.15,16.52,8.85,16.14,8.85L16.14,8.85z M8.46,12.41v3.37c0,0.18,0.21,0.28,0.35,0.18l2.31-1.69c0.12-0.09,0.12-0.27,0-0.35 L8.8,12.23C8.66,12.13,8.46,12.23,8.46,12.41"]}},function(t,e){t.exports={prefix:"cv",iconName:"white-wave",icon:["1200","244",[],"","M1104.19651,33.5198863 C1084.14716,45.4511816 1067.10689,82.9623447 1047.23647,124.40502 C1023.86518,173.149287 924.725009,160.996474 830.060105,199.668011 C735.395201,238.339548 706.121292,249.351671 618.615175,241.737466 C531.109058,234.12326 495.404437,207.34459 432.2827,199.668011 C370.933901,192.207048 283.214734,200.240922 234.995453,186.264588 C153.311618,162.588569 167.948341,80.4093241 122.421855,59.9864363 C102.62311,51.1048469 61.8158253,37.3273576 0,18.6539685 L0,0 L1200,0 C1161.79495,7.07406031 1129.86046,18.2473557 1104.19651,33.5198863 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"compass",icon:["24","24",[],"","M12,-1.71862524e-13 C13.3893905,-1.71862524e-13 14.5197317,1.12166968 14.5197317,2.50040137 C14.5197317,2.8215332 14.4594938,3.13263028 14.3442115,3.42156921 C16.2349366,3.84633285 17.9748233,4.78862459 19.3866372,6.17539419 L19.4316433,6.22680193 C21.3267651,8.11265804 22.5,10.713205 22.5,13.5805516 C22.5,19.3258216 17.7897333,24 12,24 L12,24 C6.21026669,24 1.5,19.3258216 1.5,13.5805516 L1.50006052,13.5243182 C1.50002021,13.5212739 1.5,13.5182249 1.5,13.5151711 L1.501,13.503 L1.50378159,13.2988768 C1.57785421,10.543134 2.73548466,8.05071265 4.56835673,6.22680193 L4.61336276,6.17539419 C6.02517671,4.78862459 7.76506343,3.84633285 9.65748913,3.42018903 C9.54056383,3.13263028 9.48031555,2.8215332 9.48031555,2.50040137 C9.48031555,1.12166968 10.6106095,-1.71862524e-13 12,-1.71862524e-13 Z M12,4.52624116 L11.6809164,4.53170146 C11.6454989,4.53291535 11.610132,4.53433052 11.5748169,4.53594584 L11.6816694,4.53162088 C11.5883913,4.53477816 11.4953516,4.53932139 11.4025747,4.54524062 L11.5748169,4.53594584 C11.4679256,4.54083509 11.3615084,4.54755809 11.2555967,4.55608379 L11.4025747,4.54524062 C11.3068176,4.55134999 11.2113405,4.55892518 11.1161702,4.56795525 L11.2555967,4.55608379 C11.095392,4.56897997 10.9363438,4.5860008 10.7785603,4.60703883 C10.7467123,4.6104578 10.7154515,4.61475211 10.6842289,4.61920452 L10.7785603,4.60703883 C10.6768565,4.62059949 10.5756781,4.63582921 10.4750543,4.65269924 L10.6842289,4.61920452 C10.600263,4.63117821 10.5165735,4.64429522 10.4331795,4.65854779 L10.4750543,4.65269924 C9.11485909,4.88074187 7.85598275,5.40850943 6.77005357,6.16492738 L8.00490498,7.39068924 C8.27354347,7.65726684 8.27354347,8.0894535 8.00490498,8.35612485 C7.87046765,8.48939021 7.69450873,8.55604633 7.5184081,8.55604633 C7.34230747,8.55604633 7.16634856,8.48943709 7.03200569,8.35612485 L5.70204148,7.03485023 C4.13204115,8.52299364 3.09475895,10.5601022 2.90659433,12.8322227 L4.30759576,12.8325787 C4.68743083,12.8325787 4.99546522,13.1382031 4.99546522,13.5151711 C4.99546522,13.892186 4.68747807,14.1977635 4.30764299,14.1977635 L2.89670934,14.1976473 C3.02371908,16.0609257 3.72135566,17.7714185 4.81716961,19.1579915 L4.97167812,19.3482139 C5.26113447,19.6949337 5.57609243,20.0199666 5.91367078,20.3204536 L7.03200569,19.2111609 C7.30069142,18.9445833 7.73612479,18.9445833 8.00490498,19.2111609 C8.27354347,19.4777385 8.27354347,19.9099252 8.00490498,20.1765497 L7.01386949,21.160078 C8.44796715,22.0922041 10.1613427,22.6346745 12,22.6346745 L12,22.6346745 C13.8583409,22.6346745 15.5887033,22.0805272 17.0320921,21.1300078 L16.0701299,20.1765497 C15.8014914,19.909972 15.8014914,19.4777854 16.0701299,19.2111609 C16.3388156,18.9445833 16.774249,18.9445833 17.042982,19.2111609 L18.1252566,20.2856043 C18.4481451,19.9948825 18.7500205,19.681572 19.0283219,19.3482139 L19.1828304,19.1579915 C20.2466397,17.8119151 20.9351906,16.1605635 21.0907063,14.3605101 L21.1032907,14.1976527 L21.1032907,14.1976527 L19.4302507,14.1977635 C19.0504157,14.1977635 18.7423813,13.8921391 18.7423813,13.5151711 C18.7423813,13.1381562 19.0504157,12.8325787 19.4302507,12.8325787 L21.0934057,12.8322227 C20.9067892,10.5787961 19.8849698,8.55653016 18.3366017,7.07169263 L17.0430292,8.35607798 C16.9085919,8.48943709 16.732633,8.55604633 16.5565323,8.55604633 C16.3804317,8.55604633 16.2044728,8.48943709 16.0701299,8.35612485 C15.8014914,8.08954725 15.8014914,7.65736059 16.0701299,7.39068924 L17.2742569,6.19598696 C16.1894526,5.4308071 14.9295636,4.89482891 13.5669368,4.65983993 C13.5528409,4.65615858 13.538853,4.65380129 13.5248569,4.65147595 L13.5669368,4.65983993 C13.4834378,4.64544029 13.3995531,4.63217086 13.3152992,4.62004816 L13.5248569,4.65147595 C13.4243139,4.63477151 13.3233471,4.61971567 13.2219896,4.60632197 L13.3152992,4.62004816 C13.1723723,4.59948341 13.0283832,4.58221861 12.8834131,4.56833442 C12.8374466,4.56355426 12.7909906,4.55949885 12.7444647,4.55579028 L12.8834131,4.56833442 C12.7886701,4.55926062 12.6935082,4.5516307 12.5979499,4.54546716 L12.7444647,4.55579028 C12.6381278,4.54731418 12.5314263,4.5406499 12.4243976,4.53581255 L12.5979499,4.54546716 C12.5053597,4.53949506 12.4123973,4.53489967 12.3190836,4.53170146 L12.4243976,4.53581255 C12.2834709,4.52944313 12.1419768,4.52624116 12,4.52624116 Z M12.2098775,18.4456908 C12.3524617,18.4551964 12.4902931,18.464702 12.6328773,18.4884661 C12.6851582,18.4932189 12.7421919,18.5074773 12.7944727,18.5169829 C12.8039783,18.5169829 12.813484,18.5169829 12.8229896,18.5217357 C12.8990345,18.5692638 12.984585,18.5740166 13.0701355,18.5930278 C13.0938996,18.5977806 13.1224164,18.6025334 13.1509332,18.612039 C13.1746973,18.6215447 13.1984613,18.6310503 13.2174725,18.6500615 C13.2364838,18.6690727 13.255495,18.6833311 13.2887647,18.688084 C13.3172815,18.6928368 13.3362927,18.7213536 13.3362927,18.7546232 C13.3362927,18.7831401 13.3315399,18.8116569 13.3267871,18.835421 C13.3077759,18.9304771 13.2887647,19.030286 13.2650006,19.1253422 C13.2602478,19.153859 13.2507422,19.1823759 13.2412366,19.2108927 C13.2174725,19.277432 13.2127197,19.3487241 13.1937085,19.4152634 C13.1794501,19.4532859 13.1746973,19.4960611 13.1556861,19.5340836 C13.1414276,19.5673532 13.131922,19.6006229 13.1034052,19.6386453 C13.0891468,19.6529038 13.084394,19.6766678 13.0796411,19.7004318 C13.0606299,19.7527127 13.0321131,19.7717239 12.9750794,19.7622183 L12.9750794,19.7622183 L12.960821,19.7622183 C12.8562592,19.7384543 12.7564503,19.7194431 12.6566413,19.6909262 C12.5473268,19.6624094 12.4380122,19.6529038 12.3286977,19.6576566 C12.3001808,19.6576566 12.271664,19.6671622 12.2431471,19.6766678 C12.2051247,19.6909262 12.1956191,19.7194431 12.1956191,19.7574655 C12.1956191,19.7764767 12.2003719,19.7907352 12.2193831,19.795488 C12.2811696,19.8287576 12.3382033,19.8620273 12.419001,19.8762857 C12.442765,19.8810385 12.4617762,19.8952969 12.4807875,19.9048025 C12.5045515,19.9190609 12.5235627,19.9285666 12.542574,19.9380722 C12.689911,20.0093643 12.8467536,20.0711508 12.9798322,20.1709597 C13.084394,20.2422518 13.1604389,20.3325551 13.2032141,20.4513753 L13.2032141,20.4513753 L13.3077759,20.7745662 C13.3410455,20.8933864 13.3362927,21.0217122 13.3315399,21.1452851 C13.3267871,21.2403413 13.3125287,21.3401502 13.279259,21.4304535 C13.2745062,21.4352064 13.2745062,21.4399592 13.2745062,21.4494648 C13.2840118,21.5587793 13.2507422,21.6585883 13.1889557,21.7441388 C13.084394,21.8962286 12.9513154,22.0293072 12.7897199,22.1291162 C12.6851582,22.1956555 12.5710908,22.2336779 12.4475178,22.257442 C12.3239448,22.281206 12.1956191,22.3144756 12.0672933,22.3287341 C11.9579787,22.3429925 11.8486642,22.3429925 11.7441024,22.3382397 C11.6157766,22.3239812 11.4922036,22.3002172 11.3638778,22.2764532 C11.3448666,22.2764532 11.3258554,22.2669476 11.3068442,22.2621948 C11.2165408,22.2194195 11.1262375,22.2051611 11.0311814,22.1956555 C10.9076084,22.1766442 10.7887882,22.1481274 10.6652152,22.1243634 C10.6366984,22.1196106 10.6081815,22.0958465 10.6081815,22.0625769 C10.6081815,21.9675207 10.5844175,21.8677118 10.5986759,21.7726556 C10.6129344,21.6015546 10.62244,21.4257007 10.6414512,21.2545997 C10.6509568,21.1642964 10.6747208,21.073993 10.6984849,20.9789369 C10.7127433,20.9219032 10.7507658,20.8981392 10.8125522,20.902892 C10.9028556,20.9123976 10.9931589,20.9171504 11.0787094,20.9314088 C11.188024,20.9456672 11.2925857,20.9599257 11.3971475,20.9931953 C11.4541812,21.0074537 11.5112149,21.0169593 11.5682485,21.0217122 C11.6633047,21.026465 11.753608,21.026465 11.8439113,21.026465 C11.8866866,21.026465 11.9294619,20.9836897 11.9342147,20.9456672 C11.9389675,20.9123976 11.9152034,20.8696223 11.8724282,20.8553639 C11.8391585,20.8458583 11.7963833,20.8363527 11.7583608,20.8315999 C11.7345968,20.8268471 11.7108328,20.8220943 11.6870687,20.8220943 C11.6015182,20.8173415 11.5254733,20.7935774 11.4446756,20.7650606 C11.3638778,20.7317909 11.2783273,20.7127797 11.1975296,20.6795101 C11.088215,20.6414876 10.9884061,20.5797011 10.8981028,20.508409 C10.817305,20.4466225 10.7792826,20.361072 10.7507658,20.2707687 C10.7079905,20.1234316 10.6937321,19.9713418 10.7127433,19.819252 C10.7270017,19.7051846 10.7317545,19.5911173 10.7507658,19.4818027 C10.793541,19.2441624 10.8885972,19.030286 11.0596982,18.859185 C11.2070352,18.711848 11.3876419,18.612039 11.5920126,18.5550054 C11.7060799,18.5217357 11.8249001,18.4932189 11.9437203,18.4694548 C12.0340236,18.4551964 12.124327,18.4551964 12.2098775,18.4456908 Z M14.7328664,9.61765309 C15.1590885,9.61765309 15.5675493,9.84298078 15.7988231,10.2056519 C16.0296718,10.5678544 16.0563136,11.0171504 15.8699625,11.4074308 L14.1147664,15.0838768 C13.9903906,15.3443138 13.7774449,15.5556727 13.5149472,15.6790944 L9.80998461,17.4209191 C9.63676546,17.5022939 9.45419332,17.5435907 9.2670864,17.5435907 C8.84086431,17.5435907 8.43240343,17.3182631 8.20112965,16.9555919 C7.97028099,16.5933895 7.94363916,16.1440935 8.12999028,15.753813 L9.88518638,12.077367 C10.0095622,11.81693 10.2225079,11.6055242 10.4850055,11.4821494 L14.1899681,9.74032473 C14.3631873,9.65894988 14.5457594,9.61765309 14.7328664,9.61765309 Z M14.4894526,11.1101033 L11.1110414,12.6984127 L9.51045294,16.050953 L12.8888641,14.4626436 L14.4894526,11.1101033 Z M13.0226075,6.1644377 C13.0938996,6.1691905 13.1651917,6.1691905 13.2364838,6.1691905 L13.2364838,6.1691905 L13.5121466,6.18344892 C13.5596746,6.18344892 13.5929443,6.21196577 13.5976971,6.26424664 C13.6309667,6.56842629 13.6547308,6.87260593 13.6357196,7.17678557 C13.5976971,7.72335837 13.6262139,8.27468397 13.6167083,8.82125677 C13.6167083,9.03513308 13.6214611,9.24900939 13.6452252,9.46763851 L13.6452252,9.46763851 L13.6452252,9.59121149 C13.6404724,9.6625036 13.6024499,9.69102044 13.5359106,9.68626763 C13.526405,9.68626763 13.5121466,9.69102044 13.502641,9.69102044 C13.4836297,9.69577324 13.4598657,9.70527886 13.4408545,9.70052605 C13.3695624,9.68626763 13.2935175,9.69102044 13.2222254,9.69102044 C13.1414276,9.68626763 13.0606299,9.69577324 12.9798322,9.70052605 C12.837248,9.71003166 12.689911,9.71953728 12.542574,9.72429009 C12.4997987,9.72904289 12.4760347,9.70527886 12.4570234,9.6672564 L12.4570234,9.6672564 L12.271664,9.34881834 C12.1195741,9.07315554 11.9532259,8.81175116 11.8201473,8.52658274 L11.8201473,8.52658274 L11.8011361,8.49331309 L11.8011361,8.53608835 C11.7916305,8.81650396 11.777372,9.09216676 11.7821249,9.37258237 C11.7821249,9.4628857 11.777372,9.55318904 11.7726192,9.64349237 C11.7678664,9.71478447 11.729844,9.75280693 11.6585519,9.76231254 L11.6585519,9.76231254 L11.5112149,9.77657096 C11.4066531,9.78607658 11.3068442,9.76231254 11.2070352,9.75280693 L11.2070352,9.75280693 L10.8077994,9.75280693 C10.7555186,9.75280693 10.6747208,9.78132377 10.6557096,9.72429009 C10.646204,9.70527886 10.6414512,9.69102044 10.646204,9.61972833 C10.646204,9.58170588 10.6509568,9.56269465 10.6509568,9.51991939 L10.6509568,9.51991939 L10.6604624,9.31079588 L10.6794736,8.66441414 C10.6889793,8.33171766 10.7032377,7.99902117 10.6937321,7.66632469 C10.6889793,7.45720118 10.6794736,7.24807768 10.669968,7.04370698 C10.669968,7.03420136 10.669968,7.01994294 10.6652152,7.01043733 C10.6319456,6.81081944 10.6366984,6.60644874 10.6557096,6.40207804 C10.6604624,6.39257243 10.6557096,6.37831401 10.6604624,6.36405559 C10.6604624,6.32603313 10.6984849,6.28801068 10.7365073,6.28325787 C10.769777,6.28325787 10.8077994,6.28801068 10.8410691,6.28801068 L10.8410691,6.28801068 L10.8838443,6.28801068 C11.0216757,6.26424664 11.1595071,6.24048261 11.3020914,6.24523541 L11.3020914,6.24523541 L11.458934,6.2357298 C11.5444845,6.23097699 11.630035,6.22622419 11.7155856,6.22622419 C11.729844,6.22622419 11.7488552,6.23097699 11.7631136,6.24048261 C11.7821249,6.25474103 11.8011361,6.25949384 11.8249001,6.25474103 C11.877181,6.24523541 11.9056978,6.25949384 11.9247091,6.30702191 C11.9864956,6.47812295 12.0767989,6.63971839 12.171855,6.79180821 C12.2478999,6.91538119 12.3001808,7.04370698 12.3477089,7.17678557 C12.3952369,7.29085294 12.4475178,7.4001675 12.5093043,7.50948206 L12.5093043,7.50948206 L12.5235627,7.52849329 C12.5235627,7.52849329 12.5283155,7.52849329 12.5330683,7.52374048 L12.5330683,7.52374048 L12.5330683,7.50472925 C12.5330683,7.28134733 12.5330683,7.0579654 12.5283155,6.83458347 C12.5283155,6.69199927 12.5188099,6.55416787 12.5188099,6.41633646 L12.5188099,6.41633646 L12.5188099,6.38781962 C12.5093043,6.30702191 12.5473268,6.24998822 12.6091133,6.20721296 C12.6328773,6.18344892 12.6613941,6.17394331 12.689911,6.17869612 C12.8039783,6.18344892 12.9132929,6.1644377 13.0226075,6.1644377 Z M12,1.36518483 C11.3691932,1.36518483 10.8560545,1.87443384 10.8560545,2.50035449 C10.8560545,2.7121822 10.9139202,2.91435368 11.0223297,3.09018146 C11.3472278,3.06046277 11.6746768,3.04536905 12,3.04536905 C12.3250871,3.04536905 12.6524415,3.06046277 12.977623,3.09027521 C13.0860798,2.91444743 13.1439455,2.7121822 13.1439455,2.50035449 C13.1439455,1.87438696 12.6308068,1.36518483 12,1.36518483 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"history",icon:["24","24",[],"","M12,0 C18.627417,0 24,5.372583 24,12 C24,18.627417 18.627417,24 12,24 C5.372583,24 0,18.627417 0,12 C0,5.372583 5.372583,0 12,0 Z M12,2.05714286 C6.50871163,2.05714286 2.05714286,6.50871163 2.05714286,12 C2.05714286,17.4912884 6.50871163,21.9428571 12,21.9428571 C17.4912884,21.9428571 21.9428571,17.4912884 21.9428571,12 C21.9428571,6.50871163 17.4912884,2.05714286 12,2.05714286 Z M12,5.82857143 C12.5680643,5.82857143 13.0285714,6.28907854 13.0285714,6.85714286 L13.0285714,11.5739518 L17.0130241,15.5584045 C17.4147062,15.9600866 17.4147062,16.611342 17.0130241,17.0130241 C16.611342,17.4147062 15.9600866,17.4147062 15.5584045,17.0130241 L11.2726902,12.7273098 C11.0797956,12.5344153 10.9714286,12.2727941 10.9714286,12 L10.9714286,6.85714286 C10.9714286,6.28907854 11.4319357,5.82857143 12,5.82857143 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"email",icon:["24","24",[],"","M5.09090909,16.5044548 C5.09090909,16.7087643 5.2517754,16.875 5.44811273,16.875 L18.5518873,16.875 C18.7495118,16.875 18.9090909,16.7100912 18.9090909,16.5044548 L18.9090909,7.49554521 C18.9090909,7.29123572 18.7482246,7.125 18.5518873,7.125 L5.44811273,7.125 C5.25048819,7.125 5.09090909,7.28990884 5.09090909,7.49554521 L5.09090909,16.5044548 Z M18.5518873,6 C19.3516578,6 20,6.67088532 20,7.49554521 L20,16.5044548 C20,17.3304216 19.3529644,18 18.5518873,18 L5.44811273,18 C4.64834215,18 4,17.3291147 4,16.5044548 L4,7.49554521 C4,6.6695784 4.6470356,6 5.44811273,6 L18.5518873,6 Z M5.28875242,8.40614655 C5.12000436,8.66349123 5.18550432,9.01318255 5.43505067,9.18720399 L11.4273828,13.3659638 L11.7273691,13.5751595 L12.0307568,13.3712472 L18.2317117,9.20347374 C18.4840876,9.03384736 18.5553362,8.68535347 18.3908501,8.42509084 C18.2446401,8.19374628 17.9613854,8.10998685 17.7229933,8.21336378 L17.6360272,8.26099773 L17.6360272,8.26099773 L17.634306,8.26215307 L17.6301531,8.26494056 L17.622066,8.27036883 C17.597586,8.28680036 17.530266,8.33198706 17.3451362,8.4562505 L17.2583634,8.51449439 C17.2426263,8.52505752 17.2262335,8.53606078 17.2091576,8.5475225 L17.0982873,8.62194118 C16.4410163,9.06311671 14.980414,10.0435068 11.7346312,12.2221514 C11.170907,11.8290376 10.4395891,11.3190523 9.69015295,10.7964321 L9.28047118,10.5107401 C7.64174412,9.36797184 6.04614146,8.25527648 6.04614146,8.25527648 C5.7965951,8.08125504 5.45750048,8.14880187 5.28875242,8.40614655 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"year-level",icon:["24","24",[],"","M14.5628141,2 C15.3668342,2 15.7688442,2.10471204 16.0703518,2.31413613 C16.3718593,2.52356021 16.6733668,2.73298429 16.8743719,3.15183246 C16.9748744,3.46596859 17.0753769,3.88481675 17.0753769,4.72251309 L17.0753769,9.85340314 C17.0753769,10.6212914 16.9909269,11.0372309 16.8220268,11.3431864 L16.7738693,11.4240838 L16.7738693,11.4240838 L19.3869347,11.4240838 C20.1909548,11.4240838 20.5929648,11.5287958 20.8944724,11.7382199 C21.1959799,11.947644 21.4974874,12.1570681 21.6984925,12.5759162 C21.8994975,12.9947644 22,13.4136126 22,14.1465969 L22,19.2774869 C22,20.1151832 21.8994975,20.5340314 21.6984925,20.8481675 C21.4974874,21.1623037 21.2964824,21.4764398 20.8944724,21.6858639 C20.4924623,21.895288 20.0904523,22 19.3869347,22 L14.4623116,22 C13.6582915,22 13.2562814,21.895288 12.9547739,21.6858639 C12.6532663,21.4764398 12.3517588,21.2670157 12.1507538,20.8481675 C12.1034481,20.774237 12.0617091,20.6945067 12.0255366,20.6076117 C12.002845,20.6555797 11.9772366,20.7004967 11.9497487,20.7434555 C11.7487437,21.0575916 11.5477387,21.3717277 11.1457286,21.5811518 C10.7437186,21.7905759 10.3417085,21.895288 9.63819095,21.895288 L4.61306533,21.895288 C3.80904523,21.895288 3.40703518,21.7905759 3.10552764,21.5811518 C2.8040201,21.3717277 2.50251256,21.1623037 2.30150754,20.7434555 C2.10050251,20.4293194 2,20.0104712 2,19.1727749 L2,14.0418848 C2,13.2041885 2.10050251,12.7853403 2.30150754,12.4712042 C2.50251256,12.1570681 2.70351759,11.8429319 3.10552764,11.6335079 C3.40703518,11.5287958 3.80904523,11.4240838 4.61306533,11.4240838 L7.32663317,11.4240838 L7.32663317,11.4240838 C7.12562814,11.0052356 7.02512563,10.5863874 7.02512563,9.7486911 L7.02512563,4.72251309 C7.02512563,3.88481675 7.12562814,3.46596859 7.32663317,3.04712042 C7.42713568,2.73298429 7.72864322,2.41884817 8.03015075,2.31413613 C8.4321608,2.10471204 8.83417085,2 9.63819095,2 L14.5628141,2 Z M12.0749659,12.71176 L12.0874744,12.6846501 L12.0874744,12.6846501 L12.1507538,12.5759162 L12.1507538,12.5759162 L14.361809,12.5759162 C13.758794,12.5759162 13.5577889,12.6806283 13.4572864,12.6806283 C13.3567839,12.6806283 13.2562814,12.8900524 13.1557789,12.9947644 C13.0696339,13.1742708 13.0573275,13.2768458 13.0555694,13.8300185 L13.0552764,19.2774869 C13.0552764,20.0104712 13.1557789,20.2198953 13.1557789,20.4293194 C13.2562814,20.5340314 13.3567839,20.7434555 13.5577889,20.7434555 C13.7444365,20.8406881 13.8444262,20.8476333 14.5015017,20.8481294 L19.5879397,20.8481675 C20.2914573,20.8481675 20.4924623,20.7434555 20.6934673,20.7434555 C20.7939698,20.6387435 20.9949749,20.5340314 20.9949749,20.3246073 C21.0811199,20.145101 21.0934263,20.0425259 21.0951844,19.4893533 L21.0954774,14.0418848 C21.0954774,13.3089005 20.9949749,13.0994764 20.9949749,12.8900524 C20.8944724,12.7853403 20.7939698,12.5759162 20.5929648,12.5759162 C20.4206748,12.4861631 20.3222234,12.4733412 19.7912888,12.4715095 L11.9497487,12.4712042 L11.9497487,12.4712042 C11.9970544,12.5451347 12.0387934,12.624865 12.0749659,12.71176 Z M8.03015075,12.1570681 C8.4321608,12.3664921 8.73366834,12.4712042 9.43718593,12.4712042 L4.61306533,12.4712042 C3.90954774,12.4712042 3.70854271,12.5759162 3.50753769,12.5759162 C3.40703518,12.6806283 3.20603015,12.7853403 3.20603015,12.8900524 C3.10552764,13.2041885 3.00502513,13.3089005 3.00502513,14.1465969 L3.00502513,19.2774869 C3.00502513,20.0104712 3.10552764,20.2198953 3.20603015,20.4293194 C3.30653266,20.5340314 3.40703518,20.7434555 3.50753769,20.7434555 C3.70854271,20.7434555 3.80904523,20.8481675 4.61306533,20.8481675 L9.53768844,20.8481675 C10.241206,20.8481675 10.4422111,20.7434555 10.6432161,20.7434555 C10.7437186,20.6387435 10.9447236,20.5340314 10.9447236,20.3246073 C11.0380474,20.1301421 11.0447134,20.0259643 11.0451895,19.3413674 L11.0452261,14.0418848 C11.0452261,13.3089005 10.9447236,13.0994764 10.9447236,12.8900524 C10.8442211,12.7853403 10.7437186,12.5759162 10.6432161,12.5759162 C10.4787574,12.4902427 10.3815773,12.4746657 10.0213993,12.4718336 L9.53768844,12.4712042 L9.53768844,12.4712042 C8.83417085,12.4712042 8.4321608,12.3664921 8.13065327,12.1570681 C7.82914573,11.947644 7.52763819,11.7382199 7.42713568,11.4240838 L7.32663317,11.4240838 C7.52763819,11.7382199 7.72864322,12.052356 8.03015075,12.1570681 Z M17.5778894,16.4502618 C17.9798995,16.4502618 18.281407,16.6596859 18.4824121,16.8691099 L18.427,16.923 L18.4619013,16.9649688 C18.6095785,17.1682872 18.6834171,17.4375467 18.6834171,17.7068063 L18.6834171,18.1256545 C18.6834171,18.8586387 18.080402,19.382199 17.4773869,19.382199 L15.7688442,19.382199 C15.5678392,19.486911 15.3668342,19.2774869 15.3668342,18.9633508 C15.3668342,18.7539267 15.5678392,18.5445026 15.7688442,18.5445026 L17.4773869,18.5445026 C17.678392,18.5445026 17.879397,18.3350785 17.879397,18.1256545 L17.879397,17.7068063 C17.879397,17.4973822 17.678392,17.2879581 17.4773869,17.2879581 L15.8693467,17.2879581 C15.6683417,17.2879581 15.4673367,17.078534 15.4673367,16.8691099 C15.4673367,16.6596859 15.6683417,16.4502618 15.8693467,16.4502618 L17.5778894,16.4502618 Z M7.52763819,14.2513089 C8.23115578,14.2513089 8.73366834,14.8795812 8.73366834,15.5078534 L8.73366834,15.9267016 C8.73366834,16.6596859 8.13065327,17.1832461 7.52763819,17.1832461 L6.62311558,17.1832461 C6.42211055,17.1832461 6.22110553,17.3926702 6.22110553,17.6020942 L6.22110553,18.4397906 L8.33165829,18.4397906 C8.53266332,18.4397906 8.73366834,18.6492147 8.73366834,18.8586387 C8.73366834,19.0680628 8.53266332,19.2774869 8.33165829,19.2774869 L5.81909548,19.2774869 C5.61809045,19.2774869 5.41708543,19.0680628 5.41708543,18.8586387 L5.41708543,17.7068063 C5.41708543,16.973822 6.0201005,16.4502618 6.62311558,16.4502618 L7.42713568,16.4502618 C7.72864322,16.4502618 7.82914573,16.2408377 7.82914573,15.9267016 L7.82914573,15.5078534 C7.82914573,15.2984293 7.6281407,15.0890052 7.42713568,15.0890052 L5.81909548,15.0890052 C5.61809045,15.0890052 5.41708543,14.8795812 5.41708543,14.6701571 C5.41708543,14.460733 5.61809045,14.2513089 5.81909548,14.2513089 L7.52763819,14.2513089 Z M17.4773869,14.2513089 C18.1809045,14.2513089 18.6834171,14.8795812 18.6834171,15.5078534 L18.6834171,15.9267016 C18.6834171,16.2408377 18.5829146,16.5549738 18.3819095,16.7643979 C18.1809045,16.4502618 17.879397,16.3455497 17.4773869,16.3455497 C17.678392,16.3455497 17.879397,16.1361257 17.879397,15.9267016 L17.879397,15.5078534 C17.879397,15.2984293 17.678392,15.0890052 17.4773869,15.0890052 L15.7688442,15.0890052 C15.5678392,15.0890052 15.3668342,14.8795812 15.3668342,14.6701571 C15.3668342,14.460733 15.5678392,14.2513089 15.7688442,14.2513089 L17.4773869,14.2513089 Z M14.4623116,3.04712042 L9.63819095,3.04712042 C8.83417085,3.04712042 8.73366834,3.15183246 8.53266332,3.2565445 C8.4321608,3.2565445 8.23115578,3.36125654 8.13065327,3.57068063 C8.13065327,3.78010471 8.03015075,3.88481675 8.03015075,4.72251309 L8.03015075,9.85340314 C8.03015075,10.5863874 8.13065327,10.7958115 8.13065327,11.0052356 C8.23115578,11.1099476 8.33165829,11.3193717 8.4321608,11.3193717 C8.63316583,11.3193717 8.83417085,11.4240838 9.43718593,11.4240838 L14.5628141,11.4240838 C15.1658291,11.4240838 15.3668342,11.3193717 15.4673367,11.3193717 C15.5678392,11.2146597 15.7688442,11.1099476 15.7688442,11.0052356 C15.8549892,10.8257292 15.8672957,10.7231542 15.8690537,10.1699815 L15.8693467,4.72251309 C15.8693467,3.9895288 15.7688442,3.78010471 15.7688442,3.57068063 C15.6683417,3.46596859 15.5678392,3.2565445 15.3668342,3.2565445 C15.3668342,3.15183246 15.2663317,3.04712042 14.4623116,3.04712042 Z M12.0502513,4.61780105 C12.2512563,4.61780105 12.4522613,4.82722513 12.4522613,5.03664921 L12.4522613,9.43455497 C12.4522613,9.64397906 12.2512563,9.85340314 12.0502513,9.85340314 C11.8492462,9.85340314 11.6482412,9.64397906 11.6482412,9.43455497 L11.6482412,5.03664921 C11.6482412,4.82722513 11.8492462,4.61780105 12.0502513,4.61780105 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"subjects",icon:["24","24",[],"","M11.9999608,6.48873431 C12.828049,6.08104273 13.7442836,5.92395943 14.6596155,6.03432052 L14.6596155,6.03432052 L18.7411881,6.52627319 C18.8894198,6.54415652 19.0011921,6.67308566 19.0011921,6.8263023 L19.0011921,6.8263023 L19.0011921,7.51037994 L19.7056558,7.51037994 C19.8682123,7.51037994 20,7.64563269 20,7.81246321 L20,7.81246321 L20,17.6979167 C20,17.8647473 19.8682515,18 19.7056558,18 L19.7056558,18 L4.29434418,18 C4.13174845,18 4,17.8647473 4,17.6979167 L4,17.6979167 L4,7.81246321 C4,7.64563269 4.13174845,7.51037994 4.29434418,7.51037994 L4.29434418,7.51037994 L4.99872941,7.51037994 L4.99872941,6.8263023 C4.99872941,6.67308566 5.11050171,6.54415652 5.25873344,6.52627319 L5.25873344,6.52627319 L9.34030602,6.03432052 C10.2557557,5.92391915 11.1718332,6.08104273 11.9999608,6.48873431 Z M4.99876866,8.11454648 L4.58868835,8.11454648 L4.58868835,17.3958335 L19.4113116,17.3958335 L19.4113116,8.11454648 L19.0011136,8.11454648 L19.0011136,16.4188559 C19.0011136,16.5051309 18.9652036,16.5872572 18.9023709,16.6445725 C18.8482116,16.6940336 18.7784717,16.7209392 18.7067694,16.7209392 C18.6953489,16.7209392 18.6838891,16.7202544 18.6724293,16.718885 L18.6724293,16.718885 L14.5908959,16.2269323 C13.7425175,16.1246671 12.8935504,16.2838045 12.1353983,16.6870655 C12.0504702,16.7322572 11.9494513,16.7322572 11.8645232,16.6870655 C11.1063318,16.2838045 10.2570508,16.1246671 9.40902557,16.2269323 L9.40902557,16.2269323 L5.32745299,16.718885 C5.24401623,16.7289544 5.16030474,16.7018878 5.09751132,16.6445725 C5.03467865,16.5872572 4.99876866,16.5051309 4.99876866,16.4188559 L4.99876866,16.4188559 L4.99876866,8.11454648 Z M14.5909352,6.63437873 C13.8015826,6.53924264 13.0113666,6.67074955 12.2943049,7.01452032 L12.2943049,7.01452032 L12.2943049,15.9488546 C13.0426063,15.6408908 13.8514249,15.5294825 14.6596155,15.6269144 L14.6596155,15.6269144 L18.4124645,16.0792337 L18.4124645,7.0949953 Z M11.7056558,7.01452032 C10.9886334,6.67074955 10.1983389,6.53920236 9.40902557,6.63437873 L9.40902557,6.63437873 L5.58745701,7.0949953 L5.58745701,16.0791935 L9.34034527,15.6268741 C9.53041311,15.6039963 9.72055945,15.5925977 9.90984238,15.5925977 C10.5256104,15.5925977 11.1332938,15.7133907 11.7056558,15.9489351 L11.7056558,15.9489351 Z M12.8179628,13.2954357 C13.418268,13.1280413 14.0360375,13.080876 14.6541996,13.1553093 L14.6541996,13.1553093 L17.7187541,13.5245759 C17.8801725,13.5440301 17.9956731,13.6941453 17.9767566,13.8598481 C17.9591745,14.0135883 17.8320178,14.1267286 17.6848064,14.1267286 C17.6733466,14.1267286 17.6617691,14.1260439 17.6500738,14.1246341 L17.6500738,14.1246341 L14.5855585,13.7553675 C14.0427486,13.690037 13.4998209,13.7314023 12.9722777,13.8784564 C12.8155688,13.9222383 12.6537188,13.8271828 12.6110978,13.6661523 C12.5684767,13.505162 12.6610578,13.3391773 12.8179628,13.2954357 Z M9.3348116,13.1553496 C9.95195322,13.0815205 10.5768655,13.1297732 11.1712838,13.295919 C11.3281496,13.3397412 11.4206914,13.5057662 11.3779526,13.6667564 C11.3352531,13.827787 11.1734031,13.9226814 11.0166157,13.8788592 C10.4945669,13.7329328 9.9450067,13.6906412 9.40325643,13.7554078 L9.40325643,13.7554078 L6.33901581,14.1246341 C6.32735978,14.1260439 6.315743,14.1267286 6.3042832,14.1267286 C6.15707186,14.1267286 6.02991518,14.0135883 6.01229378,13.8598481 C5.99333801,13.6941453 6.10887791,13.5440704 6.27029626,13.5246162 L6.27029626,13.5246162 Z M12.8179236,11.9098804 C13.4183465,11.7424457 14.036116,11.695361 14.6541603,11.7697541 L14.6541603,11.7697541 L17.7187149,12.1390207 C17.8801332,12.1584748 17.9956339,12.3085498 17.9767174,12.4742525 C17.9591352,12.6279928 17.8319785,12.741133 17.6847672,12.741133 L17.6847672,12.741133 L17.6500346,12.7390386 L14.5855192,12.369772 C14.0425524,12.3043609 13.4997032,12.3457664 12.9722384,12.4928609 C12.8155296,12.5366428 12.6536795,12.4415873 12.6110585,12.280597 C12.5684375,12.1196068 12.6610185,11.9536221 12.8179236,11.9098804 Z M9.3348116,11.7697541 C9.95183548,11.6959249 10.5769048,11.7441777 11.1712838,11.9103235 C11.3281496,11.9541457 11.4206914,12.1201707 11.3779526,12.2811609 C11.3352531,12.4421914 11.1734031,12.5370456 11.0166157,12.4932636 C10.4944884,12.347297 9.94484971,12.3050053 9.40325643,12.3698123 L9.40325643,12.3698123 L6.33901581,12.7390386 C6.32735978,12.7404483 6.315743,12.741133 6.3042832,12.741133 C6.15707186,12.741133 6.02991518,12.6279928 6.01229378,12.4742525 C5.99333801,12.3085498 6.10887791,12.1584748 6.27029626,12.1390207 L6.27029626,12.1390207 Z M12.8179236,10.5243251 C13.4183072,10.3569307 14.036116,10.3097655 14.6541603,10.3841988 L14.6541603,10.3841988 L17.7187149,10.7534654 C17.8801332,10.7729195 17.9956339,10.9229945 17.9767174,11.0886973 C17.9591352,11.2424375 17.8319785,11.3555778 17.6847672,11.3555778 C17.6733074,11.3555778 17.6617299,11.354893 17.6500346,11.3534833 L17.6500346,11.3534833 L14.5855192,10.9842167 C14.0426308,10.9188459 13.4997817,10.9602112 12.9722384,11.1073056 C12.8155296,11.1510472 12.6536795,11.056032 12.6110585,10.8950417 C12.5684375,10.7340515 12.6610185,10.5680668 12.8179236,10.5243251 Z M9.3348116,10.3841585 C9.95199246,10.3103696 10.5769048,10.3586224 11.1712838,10.5247682 C11.3281496,10.5685904 11.4206914,10.7346154 11.3779526,10.8956056 C11.3352531,11.0566362 11.1734031,11.1515306 11.0166157,11.1077084 C10.4945669,10.961782 9.94496745,10.9194903 9.40325643,10.984257 L9.40325643,10.984257 L6.33901581,11.3534833 C6.32735978,11.354893 6.315743,11.3555778 6.3042832,11.3555778 C6.15707186,11.3555778 6.02991518,11.2424375 6.01229378,11.088657 C5.99333801,10.9229542 6.10887791,10.7728793 6.27029626,10.7534251 L6.27029626,10.7534251 Z M12.8179236,9.13876988 C13.4183072,8.97133519 14.036116,8.9242102 14.6541603,8.99864352 L14.6541603,8.99864352 L17.7187149,9.36791011 C17.8801332,9.38736427 17.9956339,9.53743924 17.9767174,9.70314198 C17.9591352,9.85688223 17.8319785,9.97002249 17.6847672,9.97002249 C17.6733074,9.97002249 17.6617299,9.96933776 17.6500346,9.96792804 L17.6500346,9.96792804 L14.5855192,9.59866145 C14.0426308,9.53329063 13.4997817,9.5746559 12.9722384,9.72175031 C12.8155296,9.76549197 12.6536795,9.67043644 12.6110585,9.50948647 C12.5684375,9.34849622 12.6610185,9.18251154 12.8179236,9.13876988 Z M9.3348116,8.99860324 C9.95195322,8.92477409 10.5768655,8.97302686 11.1712838,9.13917266 C11.3281496,9.18299487 11.4206914,9.34901984 11.3779526,9.51001008 C11.3352531,9.6710406 11.1734031,9.76589475 11.0166157,9.72211281 C10.4945669,9.57618646 9.9450067,9.5338948 9.40325643,9.59866145 L9.40325643,9.59866145 L6.33901581,9.96788776 C6.32735978,9.96929749 6.315743,9.96998221 6.3042832,9.96998221 C6.15707186,9.96998221 6.02991518,9.85684195 6.01229378,9.70310171 C5.99333801,9.53739896 6.10887791,9.38732399 6.27029626,9.36786983 L6.27029626,9.36786983 Z M12.8179236,7.75317433 C13.418268,7.58573964 14.0360375,7.53857437 14.6541603,7.61304797 L14.6541603,7.61304797 L17.7187149,7.98231456 C17.8801332,8.00176872 17.9956339,8.15184369 17.9767174,8.31754644 C17.9591352,8.47128668 17.8319785,8.58442694 17.6847672,8.58442694 L17.6847672,8.58442694 L17.6500346,8.58233249 L14.5855192,8.2130659 C14.0427093,8.14769508 13.4997817,8.18906035 12.9722384,8.33615477 C12.8155296,8.37985615 12.6536795,8.28488117 12.6110585,8.12389092 C12.5684375,7.96290068 12.6610185,7.79691599 12.8179236,7.75317433 Z M9.3348116,7.61304797 C9.95222794,7.53921882 10.576944,7.58747159 11.1712838,7.75361739 C11.3281496,7.7974396 11.4206914,7.96346456 11.3779526,8.12445481 C11.3352531,8.28548533 11.1734031,8.38033948 11.0166157,8.33655754 C10.4946061,8.19063118 9.94535991,8.14829925 9.40325643,8.21310618 L9.40325643,8.21310618 L6.33901581,8.58233249 C6.32735978,8.58374222 6.315743,8.58442694 6.3042832,8.58442694 C6.15707186,8.58442694 6.02991518,8.47128668 6.01229378,8.31754644 C5.99333801,8.15184369 6.10887791,8.00176872 6.27029626,7.98231456 L6.27029626,7.98231456 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file",icon:["24","24",[],"","M6 4h7l6 5v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm6.586 1H6v14h12V9.414L12.586 5zM13 10h3.5a.5.5 0 1 1 0 1h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 1 1 1 0V10z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-pdf",icon:["24","24",[],"","M9.833 15.006c-.328.765-.657 1.316-.997 1.619-.35.312-.762.394-1.138.15a1.345 1.345 0 0 1-.358-.322c-.298-.402-.194-.843.165-1.2.228-.227.563-.433.983-.63.226-.106.466-.204.706-.292.142-.358.286-.762.43-1.205a41.787 41.787 0 0 0 .866-3.123c-.435-.563-.75-1.057-.924-1.473-.28-.67-.211-1.242.372-1.494.56-.24 1.047-.086 1.307.391.17.312.234.736.231 1.26a7.96 7.96 0 0 1-.086 1.088c.158.195.33.398.513.606a30.903 30.903 0 0 0 1.73 1.81 14.011 14.011 0 0 0 .863.761c.464-.07.87-.106 1.213-.105.947.002 1.554.319 1.415 1.079-.107.585-.514.888-1.06.834-.365-.036-.781-.224-1.259-.532a8.753 8.753 0 0 1-.538-.38 21.15 21.15 0 0 0-.944.191c-.39.087-.798.188-1.22.3a45.345 45.345 0 0 0-2.27.667zM6 4h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm0 1v14h12V5H6zm4.43 8.39c-.07.21-.138.412-.207.606l.055-.016a46.181 46.181 0 0 1 1.608-.459 33.869 33.869 0 0 1 1.538-.37 15.994 15.994 0 0 1-.378-.35 31.732 31.732 0 0 1-1.882-1.98l-.083.32a38.471 38.471 0 0 1-.652 2.248zm-2.157 2.603c.12-.107.248-.279.382-.51a2.35 2.35 0 0 0-.553.37c-.092.092-.09.086-.083.096a.54.54 0 0 0 .138.116c.017.01.025.01.116-.072zm7.434-2.3c-.047 0-.095 0-.146.002.242.132.443.209.585.223.11.011.118.005.146-.145.005-.027-.095-.079-.585-.08zm-5.36-5.49c.065.156.16.334.283.53v-.05c.003-.393-.044-.696-.128-.85-.046-.086-.063-.091-.23-.02-.04.018-.05.092.075.39z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-img",icon:["24","24",[],"","M5 6v12h14V6H5zm0-1h14a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm2.4 10.3a.5.5 0 0 1-.8-.6l3-4a.5.5 0 0 1 .754-.054l.579.58 1.765-2.513a.5.5 0 0 1 .83.015l3.891 6a.5.5 0 0 1-.838.544l-3.49-5.379-1.682 2.394a.5.5 0 0 1-.763.067l-.592-.593L7.4 15.3zm.6-4.8a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0-1a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-ppt",icon:["24","24",[],"","M6 4h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm0 1v14h12V5H6zm5.07 6.96h1.22c.18 0 .353-.013.52-.04a1.21 1.21 0 0 0 .44-.155.844.844 0 0 0 .305-.325c.077-.14.115-.323.115-.55 0-.227-.038-.41-.115-.55a.844.844 0 0 0-.305-.325 1.21 1.21 0 0 0-.44-.155 3.288 3.288 0 0 0-.52-.04h-1.22v2.14zM9.5 8.6h3.22c.447 0 .827.065 1.14.195.313.13.568.302.765.515.197.213.34.457.43.73a2.715 2.715 0 0 1 0 1.695c-.09.277-.233.522-.43.735a2.133 2.133 0 0 1-.765.515c-.313.13-.693.195-1.14.195h-1.65v2.56H9.5V8.6z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-word",icon:["24","24",[],"","M6 4h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm0 1v14h12V5H6zm8.77 10.74h-1.56L12 10.88h-.02l-1.19 4.86H9.2L7.31 8.6h1.57l1.13 4.86h.02l1.24-4.86h1.47l1.22 4.92h.02l1.17-4.92h1.54l-1.92 7.14z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-zip",icon:["24","24",[],"","M6 4h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm0 1v14h12V5H6zm5 0h1v1h-1V5zm1 1h1v1h-1V6zm-1 1h1v1h-1V7zm1 1h1v1h-1V8zm-1 1h1v1h-1V9zm1 1h1v1h-1v-1zm-1 1h1v1h-1v-1zm1 1h1v1h-1v-1zm-1 1h1v1h-1v-1zm1 1h1v1h-1v-1zm-1 1h1v1h-1v-1zm1 1h1v1h-1v-1zm-1 1h1v1h-1v-1zm1 1h1v1h-1v-1z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-excel",icon:["24","24",[],"","M6 4h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm0 1v14h12V5H6zm5.09 7l-2.3-3.4h1.82l1.4 2.28 1.45-2.28h1.72l-2.29 3.41 2.49 3.73h-1.87l-1.56-2.47-1.59 2.47H8.6L11.09 12z"]}},function(t,e){t.exports={prefix:"cv",iconName:"quality-240",icon:["24","24",[],"","M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm0 1v12h18V6H3zm1 4.818C4 9.644 4.94 8.8 6.261 8.8c1.272 0 2.182.777 2.182 1.81 0 .76-.45 1.334-1.285 2.178L5.58 14.347v.022h2.96v.932H4.062v-.769L6.407 12.2c.724-.737.923-1.064.923-1.54 0-.526-.473-.946-1.104-.946-.663 0-1.157.468-1.157 1.1v.017H4v-.013zm8.426 4.483v-1.206h-3.18v-.98c.553-1.043 1.264-2.178 2.646-4.187h1.62v4.235h.857v.932h-.856v1.206h-1.087zm-2.146-2.142v.03h2.164V9.773h-.018c-1.029 1.492-1.638 2.433-2.146 3.387zm7.234 2.27c-1.564 0-2.496-1.277-2.496-3.321 0-2.036.941-3.308 2.496-3.308 1.55 0 2.486 1.263 2.486 3.303s-.927 3.326-2.486 3.326zm0-.932c.843 0 1.333-.888 1.333-2.39 0-1.488-.499-2.375-1.333-2.375-.84 0-1.347.896-1.347 2.371 0 1.502.499 2.394 1.347 2.394z"]}},function(t,e){t.exports={prefix:"cv",iconName:"quality-480",icon:["24","24",[],"","M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm0 1v12h18V6H3zm3.964 9.269v-1.2H3.8v-.976c.55-1.037 1.257-2.166 2.632-4.166h1.613v4.215h.853v.927h-.853v1.2h-1.08zm-2.136-2.132v.031h2.154V9.767h-.018c-1.024 1.485-1.63 2.421-2.136 3.37zm7.185 2.26c-1.467 0-2.47-.761-2.47-1.842 0-.822.58-1.468 1.442-1.63v-.022c-.72-.185-1.19-.743-1.19-1.433 0-.962.926-1.67 2.218-1.67 1.297 0 2.215.703 2.215 1.674 0 .681-.466 1.235-1.186 1.429v.022c.861.167 1.446.813 1.446 1.63 0 1.085-1.016 1.841-2.475 1.841zm0-.867c.76 0 1.297-.448 1.297-1.059 0-.62-.536-1.063-1.297-1.063-.76 0-1.296.448-1.296 1.063 0 .611.536 1.06 1.296 1.06zm0-2.988c.638 0 1.095-.395 1.095-.94 0-.55-.453-.945-1.095-.945-.646 0-1.098.395-1.098.945 0 .545.452.94 1.098.94zm5.709 3.854c-1.556 0-2.483-1.27-2.483-3.304 0-2.026.936-3.292 2.483-3.292 1.542 0 2.474 1.257 2.474 3.287 0 2.03-.923 3.31-2.474 3.31zm0-.927c.84 0 1.327-.883 1.327-2.377 0-1.481-.497-2.365-1.327-2.365-.835 0-1.34.892-1.34 2.36 0 1.494.496 2.382 1.34 2.382z"]}},function(t,e){t.exports={prefix:"cv",iconName:"quality-hd",icon:["24","24",[],"","M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm0 1v12h18V6H3zm2 2.25h1.31v2.976h3.406V8.25h1.31v7.482h-1.31v-3.374H6.31v3.374H5V8.25zm7.597 0H15.7c.573 0 1.069.098 1.488.293.42.196.762.463 1.027.802.266.339.463.735.592 1.19.13.454.194.939.194 1.456a5.3 5.3 0 0 1-.194 1.457 3.43 3.43 0 0 1-.592 1.189 2.765 2.765 0 0 1-1.027.802c-.419.195-.915.293-1.488.293h-3.102V8.25zm1.31 6.413h1.29c.51 0 .927-.068 1.251-.204.325-.136.58-.325.765-.566.185-.241.311-.524.378-.849.066-.325.1-.676.1-1.053 0-.377-.034-.728-.1-1.053a2.043 2.043 0 0 0-.378-.849 1.832 1.832 0 0 0-.765-.566c-.324-.136-.742-.204-1.252-.204h-1.289v5.344z"]}},function(t,e){t.exports={prefix:"cv",iconName:"close-caption",icon:["24","24",[],"","M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm0 1v12h18V6H3zm5.486 9.759c-1.002 0-1.834-.372-2.495-1.114-.66-.743-.991-1.68-.991-2.81 0-1.208.327-2.149.981-2.823C6.635 8.337 7.548 8 8.719 8c.579 0 1.226.08 1.941.24v1.127c-.76-.223-1.38-.335-1.86-.335-.687 0-1.24.259-1.657.776-.417.517-.625 1.207-.625 2.068 0 .834.214 1.508.642 2.023.429.515.99.773 1.682.773.615 0 1.248-.157 1.9-.472v1.162c-.87.265-1.622.397-2.256.397zm7 0c-1.002 0-1.834-.372-2.495-1.114-.66-.743-.991-1.68-.991-2.81 0-1.208.327-2.149.981-2.823C13.635 8.337 14.548 8 15.719 8c.579 0 1.226.08 1.941.24v1.127c-.76-.223-1.38-.335-1.86-.335-.687 0-1.24.259-1.657.776-.417.517-.625 1.207-.625 2.068 0 .834.214 1.508.642 2.023.429.515.99.773 1.682.773.615 0 1.248-.157 1.9-.472v1.162c-.87.265-1.622.397-2.256.397z"]}},function(t,e){t.exports={prefix:"cv",iconName:"contract",icon:["24","24",[],"","M8.5 8.5V5H10v5H5V8.5h3.5zm0 7H5V14h5v5H8.5v-3.5zm7-7H19V10h-5V5h1.5v3.5zm0 7V19H14v-5h5v1.5h-3.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"full-screen",icon:["24","24",[],"","M6.5 6.5V10H5V5h5v1.5H6.5zm0 11H10V19H5v-5h1.5v3.5zm11-11H14V5h5v5h-1.5V6.5zm0 11V14H19v5h-5v-1.5h3.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"mute",icon:["24","24",[],"","M16.733 12.018l-1.57-1.57a.555.555 0 1 1 .785-.785l1.57 1.57 1.57-1.57a.555.555 0 1 1 .785.785l-1.57 1.57 1.57 1.57a.555.555 0 1 1-.785.785l-1.57-1.57-1.57 1.57a.555.555 0 1 1-.785-.785l1.57-1.57zM4 10.03c0-.557.443-1.01 1.01-1.01H8l4.284-4.246c.395-.393.716-.253.716.282v13.879c0 .548-.324.682-.721.303L7.814 14.97H5.002A1.003 1.003 0 0 1 4 13.96v-3.93z"]}},function(t,e){t.exports={prefix:"cv",iconName:"next",icon:["24","24",[],"","M16 6.5c0-.276.216-.5.495-.5h2.01c.273 0 .495.229.495.5v11c0 .276-.216.5-.495.5h-2.01a.501.501 0 0 1-.495-.5v-11zm-10.86.005a.5.5 0 0 1 .761-.427l9.003 5.5a.5.5 0 0 1 0 .853l-9.003 5.5a.5.5 0 0 1-.76-.426v-11z"]}},function(t,e){t.exports={prefix:"cv",iconName:"play",icon:["24","24",[],"","M7.5 6.505v11l9.002-5.5-9.002-5.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"play-circle",icon:["24","24",[],"","M0,12 C0,5.372583 5.372583,0 12,0 C18.627417,0 24,5.372583 24,12 C24,18.627417 18.627417,24 12,24 C5.372583,24 0,18.627417 0,12 Z M23,12 C23,5.92486775 18.0751322,1 12,1 C5.92486775,1 1,5.92486775 1,12 C1,18.0751322 5.92486775,23 12,23 C18.0751322,23 23,18.0751322 23,12 Z M9,7.49836245 C9,6.94698209 9.38671875,6.74169922 9.84669815,7.02918634 L17.1533018,11.5958137 C17.6209203,11.8880752 17.6132812,12.3666992 17.1533018,12.6541863 L9.84669815,17.2208137 C9.37907967,17.5130752 9,17.2950531 9,16.7516375 L9,7.49836245 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"pause",icon:["24","24",[],"","M8 6.5c0-.276.216-.5.495-.5h2.01c.273 0 .495.229.495.5v11c0 .276-.216.5-.495.5h-2.01A.501.501 0 0 1 8 17.5v-11zm6 0c0-.276.216-.5.495-.5h2.01c.273 0 .495.229.495.5v11c0 .276-.216.5-.495.5h-2.01a.501.501 0 0 1-.495-.5v-11z"]}},function(t,e){t.exports={prefix:"cv",iconName:"previous",icon:["24","24",[],"","M5 6.5c0-.276.216-.5.495-.5h2.01c.273 0 .495.229.495.5v11c0 .276-.216.5-.495.5h-2.01A.501.501 0 0 1 5 17.5v-11zm13.602.005v11a.5.5 0 0 1-.76.426l-9.003-5.5a.5.5 0 0 1 0-.853l9.002-5.5a.5.5 0 0 1 .761.427z"]}},function(t,e){t.exports={prefix:"cv",iconName:"volume",icon:["24","24",[],"","M15.8 11.25c-.137-.815-.44-1.549-.727-2.009a.48.48 0 0 1 .167-.67.507.507 0 0 1 .687.163c.35.56.7 1.41.86 2.359.24 1.439.001 2.866-.866 4.183a.508.508 0 0 1-.691.147.48.48 0 0 1-.15-.674c.724-1.1.922-2.285.72-3.5zm1.86 5.959c1.856-3.7 1.676-7.108 0-10.416a.558.558 0 0 1 .201-.728.483.483 0 0 1 .678.215c1.828 3.61 2.028 7.398.001 11.438a.483.483 0 0 1-.677.218.557.557 0 0 1-.203-.727zM4 10.03c0-.557.443-1.01 1.01-1.01H8l4.284-4.246c.395-.393.716-.253.716.282v13.879c0 .548-.324.682-.721.303L7.814 14.97H5.002A1.003 1.003 0 0 1 4 13.96v-3.93z"]}},function(t,e){t.exports={prefix:"cv",iconName:"check-circle",icon:["24","24",[],"","M12 3c4.972 0 9 4.028 9 9s-4.028 9-9 9-9-4.028-9-9 4.028-9 9-9zm3.186 5.646l-4.723 5.18-1.683-1.615a.772.772 0 0 0-1.06 0 .7.7 0 0 0 0 1.018l2.25 2.16a.771.771 0 0 0 1.094-.035l5.25-5.76a.7.7 0 0 0-.07-1.016.772.772 0 0 0-1.058.068z"]}},function(t,e){t.exports={prefix:"cv",iconName:"check-circle-o",icon:["24","24",[],"","M12 3c4.972 0 9 4.028 9 9s-4.028 9-9 9-9-4.028-9-9 4.028-9 9-9zm0 1.212a7.737 7.737 0 0 0-5.508 2.28A7.737 7.737 0 0 0 4.212 12c0 2.081.809 4.037 2.28 5.508A7.737 7.737 0 0 0 12 19.788a7.737 7.737 0 0 0 5.508-2.28A7.737 7.737 0 0 0 19.788 12a7.737 7.737 0 0 0-2.28-5.508A7.737 7.737 0 0 0 12 4.212zm3.186 4.434a.772.772 0 0 1 1.058-.068.7.7 0 0 1 .07 1.016l-5.25 5.76a.771.771 0 0 1-1.094.035l-2.25-2.16a.7.7 0 0 1 0-1.018.772.772 0 0 1 1.06 0l1.683 1.616 4.723-5.181z"]}},function(t,e){t.exports={prefix:"cv",iconName:"check",icon:["24","24",[],"","M16.247 7.341a1 1 0 0 1 1.506 1.318l-7 8a1 1 0 0 1-1.46.048l-3-3a1 1 0 0 1 1.414-1.414l2.244 2.244 6.296-7.196z"]}},function(t,e){t.exports={prefix:"cv",iconName:"close-caption-badge",icon:["24","24",[],"","M7.5 5A2.5 2.5 0 0 0 5 7.5v9A2.5 2.5 0 0 0 7.5 19h9a2.5 2.5 0 0 0 2.5-2.5v-9A2.5 2.5 0 0 0 16.5 5h-9zm0-1h9A3.5 3.5 0 0 1 20 7.5v9a3.5 3.5 0 0 1-3.5 3.5h-9A3.5 3.5 0 0 1 4 16.5v-9A3.5 3.5 0 0 1 7.5 4zM11 9a.5.5 0 1 1 0 1H9.5A1.5 1.5 0 0 0 8 11.5v1A1.5 1.5 0 0 0 9.5 14H11a.5.5 0 1 1 0 1H9.5A2.5 2.5 0 0 1 7 12.5v-1A2.5 2.5 0 0 1 9.5 9H11zm5 0a.5.5 0 1 1 0 1h-1.5a1.5 1.5 0 0 0-1.5 1.5v1a1.5 1.5 0 0 0 1.5 1.5H16a.5.5 0 1 1 0 1h-1.5a2.5 2.5 0 0 1-2.5-2.5v-1A2.5 2.5 0 0 1 14.5 9H16z"]}},function(t,e){t.exports={prefix:"cv",iconName:"question",icon:["24","24",[],"","M21 11.88c.026 2.49-.824 4.62-2.552 6.387-1.727 1.768-3.837 2.679-6.327 2.732-2.491.027-4.62-.823-6.388-2.55C3.965 16.72 3.054 14.61 3 12.12c-.027-2.491.823-4.62 2.55-6.388C7.28 3.965 9.39 3.054 11.88 3c2.491-.027 4.62.823 6.388 2.55 1.767 1.73 2.678 3.84 2.732 6.33zM8.142 9.17c0 .247.103.476.309.687.206.212.46.318.76.318.508 0 .854-.303 1.036-.908.193-.579.428-1.017.707-1.314.278-.297.712-.446 1.302-.446.503 0 .914.147 1.233.442.319.294.478.656.478 1.085 0 .22-.052.423-.157.61a2.305 2.305 0 0 1-.385.51c-.153.153-.4.38-.744.68-.39.342-.701.638-.932.887-.23.25-.415.539-.554.868-.14.33-.209.72-.209 1.17 0 .358.095.629.285.81.19.183.425.274.703.274.536 0 .855-.279.956-.836a12.2 12.2 0 0 1 .133-.55c.03-.104.071-.209.125-.313.053-.105.135-.22.245-.346.11-.126.255-.272.438-.438a48.078 48.078 0 0 0 1.37-1.257c.254-.25.474-.545.658-.888.185-.343.278-.742.278-1.197a2.87 2.87 0 0 0-.486-1.608c-.325-.492-.784-.882-1.378-1.169-.595-.286-1.28-.43-2.057-.43-.836 0-1.567.172-2.194.515s-1.104.775-1.43 1.297c-.327.523-.49 1.038-.49 1.547zm3.868 9.579c.294 0 .553-.1.778-.301.224-.2.336-.477.336-.828 0-.316-.107-.582-.321-.797a1.073 1.073 0 0 0-.793-.324c-.319 0-.588.108-.807.324a1.07 1.07 0 0 0-.329.797c0 .356.113.634.34.832.227.198.492.297.796.297z"]}},function(t,e){t.exports={prefix:"cv",iconName:"info",icon:["24","24",[],"","M21 11.88c.026 2.49-.824 4.62-2.552 6.387-1.727 1.768-3.837 2.679-6.327 2.732-2.491.027-4.62-.823-6.388-2.55C3.965 16.72 3.054 14.61 3 12.12c-.027-2.491.823-4.62 2.55-6.388C7.28 3.965 9.39 3.054 11.88 3c2.491-.027 4.62.823 6.388 2.55 1.767 1.73 2.678 3.84 2.732 6.33zm-10-.38V15a2.5 2.5 0 0 0 2.5 2.5h.75a1 1 0 0 0 0-2h-.75a.5.5 0 0 1-.5-.5v-3.75a1.75 1.75 0 0 0-1.75-1.75h-.75a1 1 0 1 0 0 2h.5zm.636-3.25c.294 0 .553-.1.778-.301.224-.2.336-.477.336-.828 0-.316-.107-.582-.321-.797A1.073 1.073 0 0 0 11.636 6c-.319 0-.588.108-.807.324a1.07 1.07 0 0 0-.329.797c0 .356.113.634.34.832.227.198.492.297.796.297z"]}},function(t,e){t.exports={prefix:"cv",iconName:"lock",icon:["24","24",[],"","M7.01 9.5C7.156 5.97 8.87 4 12 4s4.844 1.97 4.99 5.5h1.51a.5.5 0 0 1 .5.5v9.5a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5V10a.5.5 0 0 1 .5-.5h1.51zm2 0h5.98C14.88 7.037 13.932 6 12 6c-1.933 0-2.88 1.037-2.99 3.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"verified",icon:["24","24",[],"","M10.407 12.368l-1.22-1.22a.49.49 0 0 0-.698.004l-.583.583a.494.494 0 0 0-.004.697l2.135 2.135c.107.108.25.154.388.142a.488.488 0 0 0 .352-.143l4.362-4.362a.494.494 0 0 0-.004-.698l-.582-.582a.495.495 0 0 0-.698-.004l-3.448 3.448zm7.922-.37l1.437 1.406c.208.194.277.437.208.728a.716.716 0 0 1-.541.531l-1.957.5.551 1.936a.671.671 0 0 1-.197.729.671.671 0 0 1-.73.198l-1.935-.552-.5 1.957a.716.716 0 0 1-.53.541 1.28 1.28 0 0 1-.199.021.686.686 0 0 1-.53-.229L12 18.328l-1.405 1.436c-.195.208-.437.278-.729.208a.696.696 0 0 1-.53-.541l-.5-1.957-1.937.552a.671.671 0 0 1-.728-.198.671.671 0 0 1-.198-.729l.551-1.936-1.957-.5a.716.716 0 0 1-.54-.53c-.07-.292 0-.535.207-.73l1.437-1.405-1.437-1.405c-.208-.194-.277-.437-.208-.729a.716.716 0 0 1 .541-.53l1.957-.5-.551-1.936a.671.671 0 0 1 .198-.73.671.671 0 0 1 .728-.197l1.936.552.5-1.957a.675.675 0 0 1 .531-.531.671.671 0 0 1 .729.198L12 5.68l1.405-1.447a.697.697 0 0 1 .73-.198c.284.07.46.246.53.53l.5 1.958L17.1 5.97a.671.671 0 0 1 .729.198.671.671 0 0 1 .197.729l-.551 1.936 1.957.5a.715.715 0 0 1 .541.53c.07.292 0 .535-.208.73l-1.437 1.404z"]}},function(t,e){t.exports={prefix:"cv",iconName:"visible-off",icon:["24","24",[],"","M15.293 6.609l-.793.79A8.794 8.794 0 0 0 11.997 7C8.006 6.978 4 10.17 4 12c0 .925 1.062 2.216 2.63 3.254l-.715.714C4.174 14.76 3 13.228 3 12c0-2.44 4.5-6.025 9.003-6 1.119.006 2.239.234 3.29.609zm2.802 1.442C19.833 9.26 21 10.786 21 12c0 2.45-4.504 6-9 6-1.112 0-2.23-.223-3.279-.595l.794-.792A8.659 8.659 0 0 0 12 17c3.989 0 8-3.161 8-5 0-.911-1.055-2.196-2.62-3.235l.715-.714zm-7.65 7.635l.787-.785A3.005 3.005 0 0 0 15 12c0-.264-.034-.52-.098-.763l.787-.785a4 4 0 0 1-5.245 5.235zM8.318 13.57a4 4 0 0 1 5.257-5.246l-.785.782a3.003 3.003 0 0 0-3.687 3.68l-.785.784zm-3.466 6.285a.5.5 0 1 1-.706-.708l15-14.971a.5.5 0 1 1 .706.708l-15 14.97z"]}},function(t,e){t.exports={prefix:"cv",iconName:"visible-on",icon:["24","24",[],"","M3 12c0-2.44 4.5-6.025 9.003-6C16.494 6.025 21 9.614 21 12c0 2.45-4.504 6-9 6-4.466 0-9-3.586-9-6zm1 0c0 1.804 4.042 5 8 5 3.989 0 8-3.161 8-5 0-1.778-4.017-4.977-8.003-5C8.006 6.978 4 10.17 4 12zm8 4a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"]}},function(t,e){t.exports={prefix:"cv",iconName:"warning-o",icon:["24","24",[],"","M13.026 4.377l8.5 14A1.2 1.2 0 0 1 20.5 20.2h-17a1.2 1.2 0 0 1-1.026-1.823l8.5-14a1.2 1.2 0 0 1 2.052 0zM12 5L3.5 19h17L12 5zm0 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm.75-3.677a.689.689 0 0 1-.7.677.689.689 0 0 1-.7-.677V8.677c0-.374.313-.677.7-.677.387 0 .7.303.7.677v5.646z"]}},function(t,e){t.exports={prefix:"cv",iconName:"warning",icon:["24","24",[],"","M13.026 4.377l8.5 14A1.2 1.2 0 0 1 20.5 20.2h-17a1.2 1.2 0 0 1-1.026-1.823l8.5-14a1.2 1.2 0 0 1 2.052 0zM12 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm.75-3.677V8.677a.689.689 0 0 0-.7-.677c-.387 0-.7.303-.7.677v5.646c0 .374.313.677.7.677.387 0 .7-.303.7-.677z"]}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.SmartPhase1=1]="SmartPhase1",t[t.MigrateAllPhase1=2]="MigrateAllPhase1",t[t.Phase2=3]="Phase2",t[t.PostFinalisation=4]="PostFinalisation"}(r||(r={}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Collection)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={isCollectionEmpty:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"collection";return t[e]&&!t[e].length}}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Notification="notification"}(r||(r={}))},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return'<div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.icon:i,e))+' partial-loading-background"></div><div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.contentContainer:i,e))+'">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.content:i,e))+' partial-loading-background ml-1 mt-1"></div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.notificationTime:i,e))+' partial-loading-background ml-1 mt-1"></div>\r\n</div>'},useData:!0})},function(t,e,n){t.exports={icon:"_1FlbK",contentContainer:"_1RJPc",content:"_4fHKQ",notificationTime:"_3hBwJ"}},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,u=t.escapeExpression;return'<div class="p-2"><a href="'+u("function"==typeof(i=null!=(i=n.url||(null!=e?e.url:e))?i:c)?i.call(a,{name:"url",hash:{},data:o}):i)+'">'+u("function"==typeof(i=null!=(i=n.name||(null!=e?e.name:e))?i:c)?i.call(a,{name:"name",hash:{},data:o}):i)+" - "+u("function"==typeof(i=null!=(i=n.libraryName||(null!=e?e.libraryName:e))?i:c)?i.call(a,{name:"libraryName",hash:{},data:o}):i)+"</a></div>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,u=t.escapeExpression;return'<div class="direct-search-suggestion p-2"><span class="ignore-highlighting">'+u("function"==typeof(i=null!=(i=n.templateText||(null!=e?e.templateText:e))?i:c)?i.call(a,{name:"templateText",hash:{},data:o}):i)+'</span>\r\n <span class="query-text">'+u("function"==typeof(i=null!=(i=n.query||(null!=e?e.query:e))?i:c)?i.call(a,{name:"query",hash:{},data:o}):i)+"</span>\r\n</div>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="tt-pending p-2">\r\n <div class="partial-text">'+t.escapeExpression("function"==typeof(i=null!=(i=n.templateText||(null!=e?e.templateText:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"templateText",hash:{},data:o}):i)+"</div>\r\n</div>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="tt-not-found"></div>'},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="suggestion-seperator border-bottom"></div>\r\n'},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="suggestion-header text-uppercase font-weight-bold px-2 pt-2 pb-1">'+t.escapeExpression("function"==typeof(i=null!=(i=n.dataset||(null!=e?e.dataset:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"dataset",hash:{},data:o}):i)+"</div>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="suggestion-header text-uppercase font-weight-bold p-2">'+t.escapeExpression("function"==typeof(i=null!=(i=n.templateText||(null!=e?e.templateText:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"templateText",hash:{},data:o}):i)+"</div>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="no-libraries-suggestion p-2">\r\n <div class="ignore-highlighting">'+t.escapeExpression("function"==typeof(i=null!=(i=n.templateText||(null!=e?e.templateText:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"templateText",hash:{},data:o}):i)+"</div>\r\n</div>"},useData:!0})},function(t,e,n){"use strict";(function(t){
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("_"),require("Backbone"),require("Handlebars"),require("moment"),require("Marionette"),require("Bloodhound"),require("FontAwesome"),require("Polyglot"),require("DOMPurify"),require("CVEvents"),require("ClipboardJS")):"function"==typeof define&&define.amd?define(["_","Backbone","Handlebars","moment","Marionette","Bloodhound","FontAwesome","Polyglot","DOMPurify","CVEvents","ClipboardJS"],e):"object"==typeof exports?exports["@clickview/library-editor"]=e(require("_"),require("Backbone"),require("Handlebars"),require("moment"),require("Marionette"),require("Bloodhound"),require("FontAwesome"),require("Polyglot"),require("DOMPurify"),require("CVEvents"),require("ClipboardJS")):t["@clickview/library-editor"]=e(t._,t.Backbone,t.Handlebars,t.moment,t.Marionette,t.Bloodhound,t.FontAwesome,t.Polyglot,t.DOMPurify,t.CVEvents,t.ClipboardJS)}(window,(function(t,e,n,r,o,i,a,c,u,s,l){return function(t){function e(e){for(var n,r,i=e[0],a=e[1],c=0,u=[];c<i.length;c++)r=i[c],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&u.push(o[r][0]),o[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n]);for(s&&s(e);u.length;)u.shift()()}var n={},r={18:0},o={18:0};function i(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(t){var e=[];r[t]?e.push(r[t]):0!==r[t]&&{0:1,1:1,3:1,5:1,6:1,7:1,8:1,9:1,10:1,12:1,13:1,14:1,16:1,17:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,45:1,46:1,47:1,48:1,50:1,51:1,54:1,55:1,56:1,57:1,58:1,59:1,61:1,62:1}[t]&&e.push(r[t]=new Promise((function(e,n){for(var o="css/"+t+".chunk.css",a=i.p+o,c=document.getElementsByTagName("link"),u=0;u<c.length;u++){var s=(f=c[u]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(s===o||s===a))return e()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){var f;if((s=(f=l[u]).getAttribute("data-href"))===o||s===a)return e()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=e,p.onerror=function(e){var o=e&&e.target&&e.target.src||a,i=new Error("Loading CSS chunk "+t+" failed.\n("+o+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=o,delete r[t],p.parentNode.removeChild(p),n(i)},p.href=a,document.getElementsByTagName("head")[0].appendChild(p)})).then((function(){r[t]=0})));var n=o[t];if(0!==n)if(n)e.push(n[2]);else{var a=new Promise((function(e,r){n=o[t]=[e,r]}));e.push(n[2]=a);var c,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(t){return i.p+"scripts/"+t+"-"+{0:"93276429bf",1:"22a3bd404f",2:"5fd33f5359",3:"c69e4454ce",4:"5c50e71b83",5:"d6a7d71167",6:"1045293de4",7:"dfddb8ffa8",8:"7278f3247c",9:"66021549bd",10:"3ff370d548",11:"039959db6c",12:"e522e64a94",13:"282f8add17",14:"68c85d6674",15:"1f779dd0d3",16:"427a8933c8",17:"7093f50dff",20:"df9f6f7661",21:"9b28a13702",22:"082c94a39c",23:"ab8f73ee87",24:"d1ffdd4755",25:"866cfc0ef5",26:"d19e3f755c",27:"ee88c84482",28:"76b9766891",29:"3faa153e38",30:"109f8ddd5c",31:"fc63c4629d",32:"3de9c7454b",33:"675467f07d",34:"3adf309726",35:"7f90628b77",36:"1fde696d6a",37:"c649a307d4",38:"0cf8029bec",39:"e5983a5d53",40:"2691dfbd5a",41:"1df587ee3a",42:"3480033857",43:"72d1bc0ae2",44:"756fd6622b",45:"610d098194",46:"cadf3f46ee",47:"22a83e5974",48:"fc96b968fc",49:"13c5f8e87d",50:"0d5aed7730",51:"cd37c8efa2",52:"8b53a5c0b1",53:"54b0df474f",54:"ead54d0b34",55:"078bb9b0ea",56:"df0a32000b",57:"6e622c6480",58:"5729cbaa5c",59:"333f38ee3b",60:"b17c6609cd",61:"57fa6b5248",62:"b572d8b80d",63:"568008965e",64:"fa2facacbb",65:"e4568d1f06",66:"f325ff3187",67:"3c9628d296",68:"488cd1552f",69:"be2be90b7c",70:"e6ebb44667",71:"4e4a47d601",72:"0a6c88f9fe"}[t]+".chunk.js"}(t);var s=new Error;c=function(e){u.onerror=u.onload=null,clearTimeout(l);var n=o[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;s.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",s.name="ChunkLoadError",s.type=r,s.request=i,n[1](s)}o[t]=void 0}};var l=setTimeout((function(){c({type:"timeout",target:u})}),12e4);u.onerror=u.onload=c,document.head.appendChild(u)}return Promise.all(e)},i.m=t,i.c=n,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i.oe=function(t){throw console.error(t),t};var a=window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[],c=a.push.bind(a);a.push=e,a=a.slice();for(var u=0;u<a.length;u++)e(a[u]);var s=c;return i(i.s=1029)}([function(t,e,n){"use strict";var r,o,i=n(213),a=n(147),c=n(177),u=n(150),s={Filters:{OPTION_SELECTED:"option:selected",APPLY_FILTER:"apply:filter",FILTER_CHANGED:"filter:changed"},ContentUpdates:{DISABLE_REVIEW:"disable:review"},MigrationWizard:{SORT_VIDEOS:"sort:videos",TOGGLE_MIGRATED:"toggle:migrated",SELECTED_CHANGED:"selected:changed",CLOSE_BANNER:"close:banner"}};!function(t){t.Folder="folder",t.Exchange="exchange",t.HostedLibrary="hosted_library",t.CustomLibrary="custom_library",t.Workspace="workspace"}(r||(r={})),function(t){t.Video="videos",t.Folder="categories",t.Series="series",t.Channel="channels",t.Distributors="companies",t.Producers="people",t.Tags="tags",t.Language="languages",t.TagsRaw="tag",t.ChannelRaw="channel",t.Recent="recent",t.Direct="direct",t.ProductionCompanies="companies",t.Directors="people",t.Season="season"}(o||(o={}));var l,f=n(33),p=n(1),h=n(25),y=n(8),d=n(239),b=n.n(d),v=n(156),g=n.n(v),m=n(471),w=n.n(m),S=n(472),O=n.n(S),C=n(270),k=n.n(C),E=n(271),_=n.n(E),R=n(473),P=n.n(R),T=n(240),x=n.n(T),j=n(474),D=n.n(j),L=n(272),A=n.n(L),I=n(475),N=n.n(I),M=n(476),V=n.n(M),U=n(301),F=n.n(U),H=n(477),z=n.n(H),B=n(478),q=n.n(B),W=n(273),Y=n.n(W),G=n(274),J=n.n(G),K=n(479),Q=n.n(K),Z=n(480),$=n.n(Z),X=n(481),tt=n.n(X),et=n(482),nt=n.n(et),rt=n(483),ot=n.n(rt),it=n(484),at=n.n(it),ct=n(485),ut=n.n(ct),st=n(486),lt=n.n(st),ft=n(487),pt=n.n(ft),ht=n(488),yt=n.n(ht),dt=n(489),bt=n.n(dt),vt=n(490),gt=n.n(vt),mt=n(491),wt=n.n(mt),St=n(492),Ot=n.n(St),Ct=n(493),kt=n.n(Ct),Et=n(494),_t=n.n(Et),Rt=n(495),Pt=n.n(Rt),Tt=n(496),xt=n.n(Tt),jt=n(497),Dt=n.n(jt),Lt=n(275),At=n.n(Lt),It=n(302),Nt=n.n(It),Mt=n(498),Vt=n.n(Mt),Ut=n(499),Ft=n.n(Ut),Ht=n(303),zt=n.n(Ht),Bt=n(304),qt=n.n(Bt),Wt=n(500),Yt=n.n(Wt),Gt=n(501),Jt=n.n(Gt),Kt=n(502),Qt=n.n(Kt),Zt=n(503),$t=n.n(Zt),Xt=n(504),te=n.n(Xt),ee=n(269),ne=n.n(ee),re=n(305),oe=n.n(re),ie=n(505),ae=n.n(ie),ce=n(506),ue=n.n(ce),se=n(507),le=n.n(se),fe=n(508),pe=n.n(fe),he=n(509),ye=n.n(he),de=n(510),be=n.n(de),ve=n(511),ge=n.n(ve),me=n(512),we=n.n(me),Se=n(513),Oe=n.n(Se),Ce=n(514),ke=n.n(Ce),Ee=n(515),_e=n.n(Ee),Re=n(516),Pe=n.n(Re);function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xe,je=(Te(l={},y.j.VideoList,{component:h.a.ComponentCollection,options:{childOptions:{template:b.a,className:"border-bottom position-relative px-3",viewOptions:{styles:g.a}}}}),Te(l,y.j.VideoListWithBulkActions,{component:h.a.ComponentCollection,options:{childOptions:{template:b.a,className:"".concat(g.a.contentContainerWithBulkActions," border-bottom position-relative px-3"),viewOptions:{styles:g.a}}}}),Te(l,y.j.VideoGroupList,{component:h.a.ComponentCollection,options:{className:w.a.videoGroupList,childOptions:{template:b.a,className:"".concat(g.a.partialVideoItem," border-bottom position-relative px-3"),viewOptions:{styles:g.a}}}}),Te(l,y.j.SubFolder,{component:h.a.ComponentCollection,options:{collectionLength:1,className:"p-3 border-bottom",childOptions:{template:"<div></div>",className:"".concat(O.a.partialSubFolder," d-inline-block rounded mr-3 partial-loading-background")}}}),Te(l,y.j.NotificationPopover,{component:h.a.ComponentCollection,options:{collectionLength:5,childOptions:{template:k.a,className:"px-1 py-2",viewOptions:{styles:_.a}}}}),Te(l,y.j.StaffRequestList,{component:h.a.ComponentCollection,options:{className:x.a.list,collectionLength:6,childOptions:{template:P.a,className:"p-3 border-bottom ".concat(x.a.item),viewOptions:{styles:x.a}}}}),Te(l,y.j.StaffRequestDetails,{component:h.a.Component,options:{template:D.a,className:"p-3 border-bottom ".concat(A.a.actions),viewOptions:{styles:A.a}}}),Te(l,y.j.DashboardNotifications,{component:h.a.ComponentCollection,options:{collectionLength:7,childOptions:{template:k.a,className:"py-2",viewOptions:{styles:_.a}}}}),Te(l,y.j.DashboardActionTile,{component:h.a.Component,options:{template:N.a,className:"d-flex flex-column align-items-end",viewOptions:{styles:V.a}}}),Te(l,y.j.Banner,{component:h.a.Component,options:{template:"<div></div>",className:"".concat(F.a.banner," partial-loading-background")}}),Te(l,y.j.VideoListHeader,{component:h.a.Component,options:{template:z.a,className:"px-3 py-2 border-bottom clearfix",viewOptions:{styles:q.a}}}),Te(l,y.j.SearchFilter,{component:h.a.ComponentCollection,options:{collectionLength:6,childOptions:{template:Y.a,tagName:"li",className:"d-inline-block rounded m-1 partial-loading-background",viewOptions:{styles:J.a}}}}),Te(l,y.j.PastReleasesSearchFilter,{component:h.a.ComponentCollection,options:{collectionLength:3,childOptions:{template:Y.a,tagName:"li",className:"d-inline-block rounded m-1 partial-loading-background",viewOptions:{styles:J.a}}}}),Te(l,y.j.AwaitingReviewHeader,{component:h.a.Component,options:{template:ae.a,className:"p-3 border-bottom text-right",viewOptions:{styles:ue.a}}}),Te(l,y.j.VideoHeader,{component:h.a.Component,options:{template:tt.a,className:"w-100 p-2",viewOptions:{styles:nt.a}}}),Te(l,y.j.VideoBasicInfo,{component:h.a.Component,options:{template:ot.a,viewOptions:{styles:at.a}}}),Te(l,y.j.VideoSidebarInfo,{component:h.a.Component,options:{template:Q.a,className:"pt-3 pb-3 pl-2 pr-3",viewOptions:{styles:$.a}}}),Te(l,y.j.EditVideoTabs,{component:h.a.Component,options:{template:ut.a,className:"w-100",viewOptions:{styles:lt.a}}}),Te(l,y.j.EditVideoDetails,{component:h.a.Component,options:{template:pt.a,className:"w-100",viewOptions:{styles:yt.a}}}),Te(l,y.j.EditVideoChapterList,{component:h.a.Component,options:{template:bt.a,className:"w-100",viewOptions:{styles:gt.a}}}),Te(l,y.j.EditVideoChaptersForm,{component:h.a.Component,options:{template:wt.a,className:"w-100 mt-3",viewOptions:{styles:Ot.a}}}),Te(l,y.j.WebPlayer,{component:h.a.Component,options:{template:kt.a,className:"w-100",viewOptions:{styles:_t.a}}}),Te(l,y.j.EditVideoUploadArea,{component:h.a.Component,options:{template:Pt.a,className:"mt-3",viewOptions:{styles:xt.a}}}),Te(l,y.j.Share,{component:h.a.Component,options:{template:Dt.a,className:At.a.container,viewOptions:{styles:At.a}}}),Te(l,y.j.PublisherArchiveSearchBar,{component:h.a.Component,options:{template:'<div><h5 class="m-0">Add videos from Publisher Archive</h5></div>',className:"container col-12 m-0 p-3 ".concat(Nt.a.containerWithBottomBorder)}}),Te(l,y.j.PublisherArchiveSectionHeader,{component:h.a.Component,options:{template:Yt.a,className:"row no-gutters ".concat(oe.a.currentHeader),viewOptions:{styles:Jt.a}}}),Te(l,y.j.PublisherArchiveLeftNav,{component:h.a.ComponentCollection,options:{collectionLength:10,childOptions:{template:Qt.a,viewOptions:{styles:$t.a}}}}),Te(l,y.j.PublisherArchiveVideoList,{component:h.a.Component,options:{template:Vt.a,viewOptions:{styles:p.extend({},Ft.a,zt.a,qt.a),videoItems:new Array(19).fill("")}}}),Te(l,y.j.PublisherArchiveStatusBar,{component:h.a.Component,options:{template:te.a,className:"p-2 w-100 ".concat(ne.a.statusBar),viewOptions:{styles:ne.a}}}),Te(l,y.j.LeftNav,{component:h.a.Component,options:{template:le.a,viewOptions:{styles:pe.a}}}),Te(l,y.j.LibraryFolders,{component:h.a.ComponentCollection,options:{collectionLength:7,className:"row mt-4 pt-2",noExtraClass:!0,tagName:"div",childOptions:{template:ye.a,className:"col-3 p-2",viewOptions:{styles:be.a}}}}),Te(l,y.j.VideoItemPreview,{component:h.a.Component,options:{className:"w-100",template:ge.a,viewOptions:{styles:we.a}}}),Te(l,y.j.EditResourcesCVContent,{component:h.a.Component,options:{className:"w-100",template:Oe.a,viewOptions:{styles:ke.a}}}),Te(l,y.j.TagFilter,{component:h.a.Component,options:{template:_e.a,viewOptions:{styles:Pe.a}}}),l),De=n(48),Le=n(16),Ae={LIBRARY_EDITOR:"hc/sections/360001974533",VIDEO_ACCESS:"hc/articles/360000153947",ADD_FROM_ONLINE:"hc/articles/360011718234",UPLOAD:"hc/articles/360012069334",PUBLISHER_ARCHIVE:"hc/articles/360011150174",PBT_ERROR_CODES:"hc/articles/360012421153",MANUAL_REVIEW:"hc/en-us/articles/360020004534",LIBRARY_REVIEW:"hc/articles/360000163788",PUBLISHER_SERVER:"hc/en-us/articles/360023108873",MIGRATION_OPTIONS:"hc/en-us/articles/360023109033"};function Ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ne,Me=(Ie(xe={},y.f.Thumbnails,{width:640,height:360}),Ie(xe,y.f.Banners,{width:1200,height:222}),xe),Ve=Ie({},y.f.Thumbnails,{width:1280,height:720}),Ue={EmptyStates:{Default:"/images/empty-states/illo-empty@2x.png",LibraryEditor:"/images/empty-states/no-library@2x.png",Library:"/images/empty-states/pointing-boy@2x.png",Folder:"/images/empty-states/illo-emptyfolder@2x.png",Search:"/images/empty-states/illo-no-results@2x.png",VideoAccess:"/images/empty-states/illo-empty3@2x.png",AwaitingReview:"/images/empty-states/illo-empty2@2x.png",PastReleases:"/images/empty-states/illo-empty-past-releases-large@2x.png",StaffRequests:"/images/empty-states/illo-empty@2x.png",StaffRequestsDashboardTile:"/images/empty-states/illo-empty-staffreq@2x.png",ContentUpdatesDashboardTile:"/images/empty-states/illo-empty-past-releases@2x.png"},Shared:{GeneratePdf:"/images/pdf-email-filled@2x.png",GenerateCsv:"/images/csv-email-filled.png"}},Fe=n(3),He=n(41),ze=n.n(He);function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var qe,We=(Be(Ne={},y.c.Default,(function(t){return{imageUrl:Ue.EmptyStates.Default,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.LibraryEditor,(function(t){return{imageUrl:Ue.EmptyStates.LibraryEditor,heading:t.options.componentOptions.heading,description:'<button class="add-library btn btn-secondary position-relative '.concat(ze.a.addLibraryButton,'">\n <span class="d-inline-block position-absolute ').concat(ze.a.addLibraryPlus,'">\n ').concat(t.options.componentOptions.plusSvg,"</span> ").concat(t.options.componentOptions.btnText,"</button>"),appLink:{".add-library":{application:a.a.LIBRARY_EDITOR,action:u.a.LibraryEditor.NEW_LIBRARY}},customClass:"".concat(ze.a.paddedContainer," bg-white"),customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.Library,(function(t){return{imageUrl:Ue.EmptyStates.Library,heading:t.options.componentOptions.heading,description:t.options.componentOptions.description,appLink:{".add-folder":{application:a.a.LIBRARY_EDITOR,action:u.a.Shared.NEW_FOLDER,args:[t.options.componentOptions.libraryId]}},customClass:"".concat(ze.a.paddedContainer," bg-white"),customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.Folder,(function(t){return{imageUrl:Ue.EmptyStates.Folder,heading:t.options.componentOptions.heading,description:t.options.componentOptions.description,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.Series,(function(t){return{imageUrl:Ue.EmptyStates.Folder,heading:t.options.componentOptions.heading,description:t.options.componentOptions.description,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.Search,(function(t){return{imageUrl:Ue.EmptyStates.Search,heading:t.options.componentOptions.heading,description:t.options.componentOptions.description,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.AwaitingReview,(function(t){return{imageUrl:Ue.EmptyStates.AwaitingReview,heading:t.options.componentOptions.heading,description:t.options.componentOptions.description,appLink:{".disable-review":{application:a.a.CONTENT_UPDATES,action:u.a.ContentUpdates.DISABLE_REVIEW}},customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.PastReleases,(function(t){return{imageUrl:Ue.EmptyStates.PastReleases,heading:t.options.componentOptions.heading,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.StaffRequests,(function(t){return{imageUrl:Ue.EmptyStates.StaffRequests,heading:t.options.componentOptions.emptyState,description:t.options.componentOptions.description,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.VideoAccess,(function(t){return{imageUrl:Ue.EmptyStates.VideoAccess,heading:t.options.componentOptions.heading,customClass:ze.a.paddedContainer,customImageClass:ze.a.imageLarge}})),Be(Ne,y.c.StaffRequestsDashboardTile,(function(t){return{imageUrl:Ue.EmptyStates.StaffRequestsDashboardTile,customImageClass:"".concat(t.options.componentOptions.imageClass," ").concat(ze.a.imageLarge)}})),Be(Ne,y.c.ContentUpdatesDashboardTile,(function(t){return{imageUrl:Ue.EmptyStates.ContentUpdatesDashboardTile,customImageClass:"".concat(t.options.componentOptions.imageClass," ").concat(ze.a.imageLarge)}})),Be(Ne,y.c.ManualReviewVideos,(function(t){var e=Fe.a.getPhrase("shared.emptyState","migrationWarnings");return{imageUrl:Ue.EmptyStates.Default,heading:e,customClass:"p-3",customImageClass:ze.a.imageLarge}})),Ne),Ye=n(60);function Ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Je=(Ge(qe={},Ye.a.StudentWorkspaceSharing,(function(){return Fe.a.getPhrase("shared.constants","studentWorkspaceSharing")})),Ge(qe,Ye.a.StudentToStudentMessaging,(function(){return Fe.a.getPhrase("shared.constants","studentMessaging")})),Ge(qe,Ye.a.HideResourcesForStudents,(function(){return Fe.a.getPhrase("shared.constants","hideResources")})),Ge(qe,Ye.a.LibraryReview,(function(){return Fe.a.getPhrase("shared.constants","libraryReview")})),Ge(qe,Ye.a.SchoolMessaging,(function(){return Fe.a.getPhrase("shared.constants","schoolMessaging")})),Ge(qe,Ye.a.StaffRequest,(function(){return Fe.a.getPhrase("shared.constants","staffRequests")})),qe),Ke=n(160),Qe={NAME:"Webplayer"},Ze=n(102),$e={UploadingUserContent:"terms-and-conditions/#uploading-user-content"},Xe={VERIFY_EMAIL:"/settings/account",UPLOAD_LOGO:"/settings/school"},tn=n(17),en=(n(178),{edge:16});n.d(e,"o",(function(){return i.a})),n.d(e,"e",(function(){return a.b})),n.d(e,"w",(function(){return a.c})),n.d(e,"b",(function(){return a.a})),n.d(e,"A",(function(){return c.a})),n.d(e,"a",(function(){return u.a})),n.d(e,"i",(function(){return s})),n.d(e,"q",(function(){return r})),n.d(e,"v",(function(){return o})),n.d(e,"f",(function(){return f.a})),n.d(e,"u",(function(){return je})),n.d(e,"n",(function(){return De.a})),n.d(e,"x",(function(){return Le.b})),n.d(e,"g",(function(){return Le.a})),n.d(e,"y",(function(){return Ae})),n.d(e,"k",(function(){return Me})),n.d(e,"m",(function(){return Ve})),n.d(e,"l",(function(){return Ue})),n.d(e,"h",(function(){return We})),n.d(e,"y",(function(){return Ae})),n.d(e,"j",(function(){return Je})),n.d(e,"s",(function(){return Ke.a})),n.d(e,"z",(function(){return Qe})),n.d(e,"c",(function(){return Ze.a})),n.d(e,"r",(function(){return $e})),n.d(e,"c",(function(){return Ze.a})),n.d(e,"t",(function(){return Xe})),n.d(e,"d",(function(){return tn.a})),n.d(e,"p",(function(){return en}))},function(e,n){e.exports=t},function(t,e,n){"use strict";var r={};n.r(r),n.d(r,"AppLinkHelper",(function(){return d})),n.d(r,"AppLinkUtility",(function(){return h})),n.d(r,"Application",(function(){return T})),n.d(r,"AppRouter",(function(){return B})),n.d(r,"Behavior",(function(){return X})),n.d(r,"Collection",(function(){return tt.a})),n.d(r,"CollectionView",(function(){return st})),n.d(r,"ComponentCollection",(function(){return st})),n.d(r,"Error",(function(){return g.a})),n.d(r,"ErrorHelper",(function(){return g.c})),n.d(r,"SilentError",(function(){return g.d})),n.d(r,"LayoutView",(function(){return At})),n.d(r,"NestedModel",(function(){return It.a})),n.d(r,"Service",(function(){return Nt.a})),n.d(r,"Model",(function(){return Mt.a})),n.d(r,"View",(function(){return _t})),n.d(r,"Component",(function(){return Rt})),n.d(r,"EventNames",(function(){return a.a})),n.d(r,"LayoutService",(function(){return Wt})),n.d(r,"Middleware",(function(){return j})),n.d(r,"LocationUtils",(function(){return u})),n.d(r,"Shell",(function(){return ne}));var o=n(1),i=n(6),a=n(35),c=n(12),u={GetQuery:function(){return u.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery:function(t){if(t){var e=u.GetQuery(),n=u.SerializeQueryParams(o.extend(e,t));n&&(n="?".concat(n)),u.UpdateUrl("".concat(u.GetCurrentPath()).concat(n),null,{replace:!0,trigger:!1})}},UpdateUrl:function(t,e,n){var r=d.buildRoute(t,e);i.history.navigate(r,n),i.Radio.channel(c.a.SHELL).trigger(a.a.URL_CHANGE,e,n)},SerializeQueryParams:function(t){return t?"string"==typeof t?t:$.param(t,!0):""},DeserializeQueryParams:function(t){return t?o.reduce(t.split("&"),(function(t,e){var n=e.split("="),r=n[0],o=n.length>0?decodeURIComponent(n[1]):"";return t[r]?t[r]instanceof Array?(t[r].push(o),t):(t[r]=[t[r],o],t):(t[r]=o,t)}),{}):{}},StartHistory:function(){i.History.started&&i.history.stop(),i.history.start({pushState:!0})},PageLoad:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e?window.open(t,"_blank"):window.location.href=t},Redirect:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=function(){return e?window.location.replace(t):window.location.href=t};h.hasActiveRoute()?i.Radio.channel(c.a.SHELL).once("routing:end",n):n()},Reload:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];window.location.reload(t)},GetCurrentPath:function(){return window.location.pathname},GetCurrentQueryString:function(){return window.location.search},GetCurrentUrl:function(){return window.location.href},GetCurrentReferrer:function(){return document.referrer},SetPageTitle:function(t){document.title=t}},s=/((\(\?)?:\w+)|(\*\w+)/,l=/[\(\)]/g,f=/\(\/\)/g,p=/\/$/,h={routingStarted:function(){i.Radio.channel(c.a.SHELL).trigger(a.a.ROUTING_START)},routingEnded:function(){h.hasActiveRoute()&&i.Radio.channel(c.a.SHELL).trigger(a.a.ROUTING_END)},hasActiveRoute:function(){return i.Radio.channel(c.a.SHELL).request(a.a.HAS_ACTIVE_ROUTE)}},y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.usedHelper=!0;var n=t.application,r=t.action;i.Radio.channel(n).trigger(r,t,e)},d={getHref:function(t){if(!t)return"";var e=t.application,n=t.action,r=t.args,o=t.params,u=i.Radio.channel(c.a.SHELL);return"/".concat(u.request(a.a.ROUTE_LOOKUP,"".concat(e,":").concat(n),r,o))},buildRoute:function(t,e){if(!e)return t;var n=e.args,r=e.params;if(o.each(n,(function(e){t=t.replace(s,e||"")})),t=(t=(t=t.replace(f,"")).replace(l,"")).replace(p,""),!r)return t;var i=u.SerializeQueryParams(r);return i.length?"".concat(t,"?").concat(i):t},trigger:function(t,e){t&&(h.hasActiveRoute()?i.Radio.channel(c.a.SHELL).once("routing:end",(function(){y(t,e)})):y(t,e))},getCurrentAppLink:function(){return i.Radio.channel(c.a.SHELL).request(a.a.CURRENT_ROUTE)}},b=n(51),v=n(56),g=n(11);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return S(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(t,e)}(t)||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 S(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function O(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function C(t,e,n){return(C="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=P(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function k(t,e){return(k=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function E(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=P(t);if(e){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?R(t):e}function R(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var T=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k(t,e)}(u,t);var e,n,r,c=E(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=c.call(this,t)).mergeOptions(t,[].concat(w(e.defaultProps),w(e.props||[]))),o.result(R(e),"name")||g.c.throw(new g.b("BaseApplication must define a name")),o.result(R(e),"channelName")||g.c.throw(new g.b("BaseApplication must define a channelName")),e.listenTo(e.getGlobalRadioChannel("popup"),a.a.SHOW_POPUP,e.onShowPopup),e.listenTo(e.getGlobalRadioChannel("alert"),"show:alert",e.onShowAlert),e}return e=u,(n=[{key:"getGlobalRadioChannel",value:function(t){var e=this.shell.getGlobalRadioChannels()[t.toUpperCase()];return e||g.c.throw(new g.b("Global channel ".concat(e," does not exist"))),i.Radio.channel(e)}},{key:"onLoadLayout",value:function(){if(this.layoutOptions&&this.layoutOptions.name){var t=o.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(o.extend(this.layoutOptions,{options:t})),this.layout||g.c.throw(new g.b("Layout: ".concat(this.layoutOptions.name," does not exist or was not registered"))),this.shell.showView(this.layout),this.triggerMethod("layout:loaded")}}},{key:"onShowPopup",value:function(t){this.layout.getRegion("popup")||g.c.throw(new g.b("Your application layout must define a popup region")),this.layout.showChildView("popup",t)}},{key:"onShowAlert",value:function(t){var e=t.ctor,n=t.collection,r=this.layout.getRegion("alert");r?r.hasView()||this.layout.showChildView("alert",new e({collection:n})):g.c.throw(new g.b("Your application layout must define an alert region"))}},{key:"setDefaultQueryParams",value:function(t){this.defaultQueryParams&&(t=o.extend(this.defaultQueryParams,t)),this.defaultQueryParams=t}},{key:"getAndClearDefaultQueryParams",value:function(){var t=this.defaultQueryParams;return delete this.defaultQueryParams,t||{}}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],C(P(u.prototype),"listenTo",this))}},{key:"defaultProps",get:function(){return["shell","layoutService"]}}])&&O(e.prototype,n),r&&O(e,r),u}(b.Application);function x(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var j=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"use",value:function(t){var e;this.go=(e=this.go,function(n,r){return e(n,(function(){return t(n,r)}))})}},{key:"go",value:function(t,e){e(t)}}])&&x(e.prototype,n),r&&x(e,r),t}();function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return A(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(t,e)}(t)||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 A(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function I(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function N(t,e,n){return(N="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=F(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function V(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=F(t);if(e){var o=F(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return U(this,n)}}function U(t,e){return!e||"object"!==D(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var H=/([A-Z])/g,z=/(^|:)(\w)/gi,B=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(l,t);var e,n,r,s=V(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=s.call(this,t)).bindDisposal(),e.processInternalRoutes(),e.processExternalRoutes(),e.processAppLinks(),e}return e=l,(n=[{key:"bindDisposal",value:function(){var t=this;this.listenTo(c.a.SHELL,a.a.ROUTE,(function(e){e.application!==t.channelName&&t.destroyApp()}))}},{key:"addRouteLookup",value:function(t,e){var n=this;this.options.shell.addRouteLookup("".concat(this.channelName,":").concat(t),(function(r,o){return d.buildRoute(e,{application:n.channelName,action:t,args:r,params:o})}))}},{key:"processInternalRoutes",value:function(){var t=this;o.each(o.keys(this.appRoutes),(function(e){var n=t.appRoutes[e],r=t.toEventName(n);t.addRouteLookup(r,e),t.listenTo(t.channelName,r,(function(n,r){r&&r.usedHelper||g.c.throw(new g.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),t.executeRoute(n,{isAppRoute:!0},(function(){var i=o.extend({},t.controller.getAndClearDefaultQueryParams(),n.params);n.params=i,u.UpdateUrl(e,n,r)}))}))}))}},{key:"processExternalRoutes",value:function(){var t=this;this.externalRoutes&&o.each(o.keys(this.externalRoutes),(function(e){var n=t.externalRoutes[e],r=t.toEventName(n);t.addRouteLookup(r,e),t.listenTo(t.channelName,r,(function(t,e){e&&e.usedHelper||g.c.throw(new g.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),u.PageLoad(d.getHref(t))}))}))}},{key:"processAppLinks",value:function(){var t=this;this.appLinks&&o.each(this.appLinks,(function(e){var n=t.toEventName(e);t.listenTo(t.channelName,n,(function(e,n){n&&n.usedHelper||g.c.throw(new g.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),t.executeRoute(e,{isAppRoute:!1})}))}))}},{key:"executeRoute",value:function(t,e,n){var r=this;this.validateAppLink(t);var u=this.toMethodName(t.action);h.routingStarted();var s=i.Radio.channel(c.a.SHELL);if(this.options.shell.isNavLocked())return s.trigger(a.a.NAV_IS_LOCKED,t),void h.routingEnded();var l=new j;o.each(this.filters,(function(t){return l.use(t)})),l.go(t,(function(){s.trigger(a.a.ROUTE,t,e),r.createApp();var i=r.controller;if(o.isFunction(i[u])||(h.routingEnded(),g.c.throw(new g.b("".concat(u," does not exist on the ").concat(o.result(i,"name"),".")))),!1===i.triggerMethod("before:action"))return i.triggerMethod("action:cancelled"),void h.routingEnded();i.triggerMethod("load:layout"),i[u].apply(i,[].concat(L(t.args||[]),[t.params||{}])),o.isFunction(n)&&n(),h.routingEnded()}))}},{key:"createApp",value:function(){this.controller||(this.controller=new this.options.appConstructor(this.options.appOptions),this.controller.start())}},{key:"destroyApp",value:function(){this.controller&&(this.controller.destroy(),delete this.controller)}},{key:"_addAppRoute",value:function(t,e,n){var r=this;this.route(e,n,(function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var a={application:r.channelName,action:r.toEventName(n),args:e.slice(0,e.length-1),params:u.DeserializeQueryParams(e[e.length-1])};r.executeRoute(a,{isAppRoute:!0},(function(){u.UpdateQuery(o.extend(r.controller.getAndClearDefaultQueryParams(),a.params))}))}))}},{key:"toEventName",value:function(t){return t.replace(H,":$1").toLowerCase()}},{key:"toMethodName",value:function(t){var e=t.replace(z,(function(t,e,n){return n.toUpperCase()}));return e[0].toLowerCase()+e.slice(1,e.length)}},{key:"validateAppLink",value:function(t){t.application&&t.action||(h.routingEnded(),g.c.throw(new g.b("Invalid AppLink")))}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],N(F(l.prototype),"listenTo",this))}}])&&I(e.prototype,n),r&&I(e,r),l}(b.AppRouter);function q(t){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function G(t,e,n){return(G="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Z(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function J(t,e){return(J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function K(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Z(t);if(e){var o=Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Q(this,n)}}function Q(t,e){return!e||"object"!==q(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var X=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J(t,e)}(i,t);var e,n,r,o=K(i);function i(){return W(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],G(Z(i.prototype),"listenTo",this))}}])&&Y(e.prototype,n),r&&Y(e,r),i}(b.Behavior),tt=n(146);function et(t){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function rt(t,e,n){return(rt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ut(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function ot(t,e){return(ot=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function it(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ut(t);if(e){var o=ut(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return at(this,n)}}function at(t,e){return!e||"object"!==et(e)&&"function"!=typeof e?ct(t):e}function ct(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var st=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ot(t,e)}(a,t);var e,n,r,i=it(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),e=i.call(this,t),o.result(ct(e),"name")||g.c.throw(new g.b("Error: View with cid:".concat(e.cid," requires a name."))),e}return e=a,(n=[{key:"serializeModel",value:function(){return this.model?this.model.toJSON():{}}},{key:"serializeCollection",value:function(){return this.collection?this.collection.toJSON():[]}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],rt(ut(a.prototype),"listenTo",this))}}])&&nt(e.prototype,n),r&&nt(e,r),a}(b.CollectionView),lt=n(19),ft=n(62);function pt(t){return(pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ht(t){return function(t){if(Array.isArray(t))return yt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return yt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yt(t,e)}(t)||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 yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function vt(t,e,n){return e&&bt(t.prototype,e),n&&bt(t,n),t}function gt(t,e,n){return(gt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=kt(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function mt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wt(t,e)}function wt(t,e){return(wt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function St(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=kt(t);if(e){var o=kt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ot(this,n)}}function Ot(t,e){return!e||"object"!==pt(e)&&"function"!=typeof e?Ct(t):e}function Ct(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kt(t){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Et=function(t){mt(n,t);var e=St(n);function n(t){var r;dt(this,n),r=e.call(this,t);var i=[].concat(ht(r.defaultProps),ht(r.props||[]));return r.mergeOptions(t,i),o.result(Ct(r),"name")||g.c.throw(new g.b("Error: View with cid:".concat(r.cid," requires a name."))),r}return vt(n,[{key:"_setOptions",value:function(t){this.options=o.extend({},o.result(this,"defaults"),t)}},{key:"_setAttributes",value:function(t){var e,n,r;ft.a.isDevelopment&&o.extend(t,(e={},n="cv-classname",r=this.name,n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e)),this.$el.attr(t)}},{key:"serializeModel",value:function(){return this.model?this.model.toJSON():{}}},{key:"serializeCollection",value:function(){return this.collection?this.collection.toJSON():[]}},{key:"resetClassName",value:function(){this.$el.attr("class",o.result(this,"className"))}},{key:"serializeData",value:function(){var t=this,e=gt(kt(n.prototype),"serializeData",this).call(this),r=o.result(this,"viewOptions"),i=o.extend({},e,{options:r});return n.ViewDataExtensions.length?o.extend.apply(o,[i].concat(ht(o.map(n.ViewDataExtensions,(function(e){return e instanceof Function?e(t):e}))))):i}},{key:"viewOptions",value:function(){return this.options}},{key:"undelegateAppLinks",value:function(){this.$el&&this.$el.off(".appLinks".concat(this.cid))}},{key:"renderAppLinks",value:function(){var t=this,e=this.appLinks;e&&(e=this.normalizeUIKeys(e),this.undelegateAppLinks(),o.each(o.keys(e),(function(n){var r=n,o=e[n],i=d.getHref(o);"[this]"===r&&(r=null);var a=r?t.$el.find(n):t.$el;(a.is("a")||a.is("button"))&&(i&&"/"!==i&&a.attr("href",i),t.delegate("click.appLinks".concat(t.cid),r,(function(t){t.preventDefault(),d.trigger(o)})))})))}},{key:"hasPartialLoadingRegions",value:function(){return void 0!==this._hasPartialLoadingRegions||(this._hasPartialLoadingRegions=o.some(this.regions,(function(t){return o.has(t,"partialLoading")}))),this._hasPartialLoadingRegions}},{key:"renderPartialLoading",value:function(t){i.Radio.channel(c.a.SHELL).trigger("render:partial:loading",this,t)}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],gt(kt(n.prototype),"listenTo",this))}},{key:"render",value:function(){if(this._isDestroyed)return this;var t=this.processRequriedResources(!0);return t&&(t=this.triggerMethod("before:render",this)),!1!==t&&(t=!0),!1===(t=t&&this.processRequriedResources(!1))?(this._partialLoadingRendered||!this.hasPartialLoadingRegions()||(this._partialLoadingRendered=!0,this._reInitRegions(),this._renderTemplate(),this.renderPartialLoading()),this):((this._isRendered||this._partialLoadingRendered)&&this._reInitRegions(),this.setTitle(),this._renderTemplate(),this.bindUIElements(),this.renderAppLinks(),this._partialLoadingRendered=!1,this._isRendered=!0,this.triggerMethod("render",this),this)}},{key:"processRequriedResources",value:function(t){return!0}},{key:"setTitle",value:function(){}},{key:"defaultProps",get:function(){return["shell","layoutService"]}},{key:"ui",get:function(){return this.uiStorage||(this.uiStorage=this.elements),this.uiStorage},set:function(t){this.uiStorage=t}},{key:"elements",get:function(){return null}}],[{key:"AddViewDataExtension",value:function(t){n.ViewDataExtensions.push(t)}}]),n}(b.View);Et.ViewDataExtensions=[];var _t=function(t){mt(n,t);var e=St(n);function n(t){var r;return dt(this,n),(r=e.call(this,t)).boundListeners={},r.resourceInstances={},r}return vt(n,[{key:"processRequriedResources",value:function(t){var e=this,n=o.keys(this.requiredResources);if(!n.length)return!0;var r=this,i=!0;return o.each(n,(function(n){var o=e.requiredResources[n];if(o.beforeOnBeforeRender===t){var a=o.dataServiceName;e.resourceInstances[a]||(e.resourceInstances[a]=o.getInstance(e)),e.boundListeners["".concat(a,":").concat(o.eventName)]||(e.listenTo(e.resourceInstances[a].channelName,o.eventName,e.render),e.boundListeners["".concat(a,":").concat(o.eventName)]=!0),r[n]=o.getData(e.resourceInstances[a]),i=i&&!!r[n]}})),i}},{key:"setTitle",value:function(){o.isString(this.title)||!1===this.title||g.c.throw(new lt.a("Must define a title for ".concat(this.name,"."))),i.Radio.channel(c.a.SHELL).trigger("set:page:title",this.title)}}]),n}(Et),Rt=function(t){mt(n,t);var e=St(n);function n(){return dt(this,n),e.apply(this,arguments)}return n}(Et);function Pt(t){return(Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Tt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lt(t);if(e){var o=Lt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Dt(this,n)}}function Dt(t,e){return!e||"object"!==Pt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Lt(t){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var At=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}(i,t);var e,n,r,o=jt(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,t)}return e=i,r=[{key:"getCacheKey",value:function(t){g.c.throw(new lt.a("Must define getCacheKey for ".concat(this.name,".")))}}],(n=[{key:"unmountRegion",value:function(t){this.trigger("unmount:".concat(t))}}])&&Tt(e.prototype,n),r&&Tt(e,r),i}(_t),It=n(176),Nt=n(61),Mt=n(81);function Vt(t){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ft(t,e,n){return(Ft="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=qt(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function Ht(t,e){return(Ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function zt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=qt(t);if(e){var o=qt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Bt(this,n)}}function Bt(t,e){return!e||"object"!==Vt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function qt(t){return(qt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Wt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}(a,t);var e,n,r,i=zt(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).layouts={},e.requiredRegions=t.requiredRegions,e}return e=a,(n=[{key:"clearLayout",value:function(){this.currentLayout&&(this.currentLayout.destroy(),delete this.currentLayout,delete this.currentLayoutCacheKey)}},{key:"registerLayout",value:function(t,e){return this.checkRequiredRegions(e),this.layouts[t]=e,this}},{key:"getLayout",value:function(t){var e=t.name,n=t.options,r=void 0===n?{}:n;this.layouts[e]||g.c.throw(new g.b("".concat(e," was not registered as a template.")));var o=this.layouts[e].getCacheKey(r);return this.currentLayoutCacheKey===o&&this.currentLayout?(this.currentLayout.triggerMethod("layout:requested",r),this.currentLayout):(this.clearLayout(),this.currentLayoutCacheKey=o,this.currentLayout=new this.layouts[e](r),this.listenToOnce(this.currentLayout,"destroy",this.clearLayout),this.currentLayout)}},{key:"checkRequiredRegions",value:function(t){o.each(this.requiredRegions,(function(e){o.has(o.result(t.prototype,"regions"),e)||g.c.throw(new g.b("Layout: ".concat(t.prototype.name," must define an ").concat(e," region.")))}))}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],Ft(qt(a.prototype),"listenTo",this))}}])&&Ut(e.prototype,n),r&&Ut(e,r),a}(b.Object);function Yt(t){return(Yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Gt(t,e,n){return(Gt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Zt(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function Jt(t,e){return(Jt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Kt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Zt(t);if(e){var o=Zt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Qt(this,n)}}function Qt(t,e){return!e||"object"!==Yt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Zt(t){return(Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function te(t,e,n){return e&&Xt(t.prototype,e),n&&Xt(t,n),t}var ee=function(){function t(e,n){$t(this,t),this.application=e,this.options=n||{}}return te(t,[{key:"Application",get:function(){return this.application}},{key:"Options",get:function(){return this.options}}]),t}(),ne=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jt(t,e)}(n,t);var e=Kt(n);function n(){return $t(this,n),e.apply(this,arguments)}return te(n,[{key:"initialize",value:function(t){this.mergeOptions(t,["layoutService"]),this.applications=[],this.routeLookup={},this.shellState={navLock:!1,activeRoute:!1,currentAppLink:null},this.errorHandlers=[]}},{key:"bindListeners",value:function(){this.bindRouteLookup(),this.bindNavLockListeners(),this.bindAppLinkListeners(),this.bindErrorHandlers(),this.bindErrorListener()}},{key:"bindNavLockListeners",value:function(){var t=this;this.listenTo(c.a.SHELL,a.a.LOCK_NAV,(function(){return t.shellState.navLock=!0})),this.listenTo(c.a.SHELL,a.a.UNLOCK_NAV,(function(){return t.shellState.navLock=!1}))}},{key:"bindAppLinkListeners",value:function(){var t=this;this.listenTo(c.a.SHELL,a.a.ROUTING_START,(function(){return t.shellState.activeRoute=!0})),this.listenTo(c.a.SHELL,a.a.ROUTING_END,(function(){return t.shellState.activeRoute=!1})),this.listenTo(c.a.SHELL,a.a.ROUTE,(function(e){return t.shellState.currentAppLink=e}));var e=i.Radio.channel(c.a.SHELL);e.reply(a.a.HAS_ACTIVE_ROUTE,o.bind(this.hasActiveRoute,this)),e.reply(a.a.CURRENT_ROUTE,(function(){return t.shellState.currentAppLink}))}},{key:"bindErrorHandlers",value:function(){window.addEventListener("error",(function(){h.routingEnded()}))}},{key:"bindErrorListener",value:function(){var t=i.Radio.channel(c.a.SHELL);this.listenTo(t,a.a.ERROR,this.handleError)}},{key:"bindRouteLookup",value:function(){var t=this;i.Radio.channel(c.a.SHELL).reply(a.a.ROUTE_LOOKUP,(function(e,n,r){return t.routeLookup[e]?t.routeLookup[e](n,r):""}),this)}},{key:"addRouteLookup",value:function(t,e){this.routeLookup[t]=e}},{key:"registerApplication",value:function(t,e){return this.applications.push(new ee(t,e)),this}},{key:"getGlobalRadioChannels",value:function(){return c.a}},{key:"isNavLocked",value:function(){return this.shellState.navLock}},{key:"start",value:function(t){var e=this;t||(t={}),this.runInitializationSteps(this,(function(r,o){e.runStartUpSteps(e,t,(function(r,o,i){Gt(Zt(n.prototype),"start",e).call(e,t)}))}))}},{key:"hasActiveRoute",value:function(){return this.shellState.activeRoute}},{key:"onStart",value:function(){var t=this;o.each(this.applications,(function(e){var n={appConstructor:e.Application,shell:t,appOptions:Object.assign({region:"",shell:t,layoutService:t.layoutService},e.Options)};new e.Application.router(n)})),this.bindListeners(),u.StartHistory()}},{key:"addInitializationStep",value:function(t){var e;return this.runInitializationSteps=(e=this.runInitializationSteps,function(n,r){return e(n,(function(){return t(n,r)}))}),this}},{key:"runInitializationSteps",value:function(t,e){e(t)}},{key:"addStartUpStep",value:function(t){var e;return this.runStartUpSteps=(e=this.runStartUpSteps,function(n,r,o){return e(n,r,(function(){return t(n,r,o)}))}),this}},{key:"runStartUpSteps",value:function(t,e,n){n(t,e)}},{key:"registerLayout",value:function(t,e){return this.layoutService.registerLayout(t,e),this}},{key:"registerErrorHandler",value:function(t,e){return t||g.c.throw(new g.b("An error must have a name in order to register a handler for it.")),o.any(this.errorHandlers,(function(e){return e.errorType===t}))&&g.c.throw(new g.b("An error handler for ".concat(t.prototype.name," has already been defined."))),this.errorHandlers.push({errorType:t,handler:e}),this}},{key:"handleError",value:function(t){var e=o.find(this.errorHandlers,(function(e){return t instanceof e.errorType}));e&&e.handler&&e.handler(t)}},{key:"registerStore",value:function(t){this.store=t}},{key:"listenTo",value:function(){return v.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],Gt(Zt(n.prototype),"listenTo",this))}}]),n}(b.Application);n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(517),o=n(1),i=n(518),a=n(61),c=n(11),u=n(114),s=n(19),l=n(62);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(b,t);var e,n,a,f=d(b);function b(){return p(this,b),f.apply(this,arguments)}return e=b,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"setConfig",value:function(t){this.polyglot=new r({locale:t.locale,phrases:t.phrases.rootElement||t.phrases}),this.cache={}}},{key:"getPhrase",value:function(t,e,n){var r="".concat(t,".").concat(e);if(this.polyglot||c.c.throw(new s.a("LanguageService config must be set.")),!this.polyglot.has(r)){if(!l.a.isDevelopment){var a=window.trackJs;return a&&a.console.error("No phrase set for ".concat(r," in language config")),""}c.c.throw(new s.a("No phrase set for ".concat(r," in language config.")))}if(!n||o.isEmpty(n)){var u=this.cache[r];if(u)return u;var f=this.polyglot.t(r);return this.cache[r]=f,f}var p=o.omit(n,"smartCount"),h={};for(var y in p)h[y]=i.sanitize(p[y]);o.isNumber(n.smartCount)&&(h.smart_count=n.smartCount);var d="".concat(r,":").concat(o.values(Object.assign({},h)).join(":")),b=this.cache[d];if(b)return b;var v=this.polyglot.t(r,h);return this.cache[d]=v,v}},{key:"encloseNamespace",value:function(t){var e=this;return function(n,r){return e.getPhrase(t,n,r)}}},{key:"name",get:function(){return u.a.LANGUAGE}}])&&h(e.prototype,n),a&&h(e,a),b}(a.a).Instance},function(t,e,n){"use strict";var r,o,i,a,c,u,s,l,f,p,h,y,d,b,v,g,m,w,S,O,C;!function(t){t.Stream="cv_product_stream",t.StreamRaw="cv_product_stream_raw",t.WebPlayerStream="cv_product_webplayer_stream",t.StreamProgress="cv_product_stream_progress",t.Login="cv_product_login",t.LoginSsoRedirect="cv_product_login_sso_redirect",t.LoginFailed="cv_product_login_failed",t.Search="cv_product_search",t.InstantSearch="cv_product_search",t.SearchEmptyResult="cv_product_search_empty_result",t.Filter="cv_product_search_filter",t.SearchLanding="cv_product_search_landing",t.Share="cv_product_share",t.WorkspaceAdd="cv_product_tv_add",t.Rename="cv_product_rename",t.Move="cv_product_move",t.Sort="cv_product_sort",t.Create="cv_product_create",t.Delete="cv_product_delete",t.Associate="cv_product_associate",t.Dissociate="cv_product_dissociate",t.Edit="cv_product_edit",t.Approve="cv_product_approve",t.Reject="cv_product_reject",t.Disable="cv_product_disable",t.Upload="cv_product_upload",t.Download="cv_product_download",t.Navigate="cv_product_navigate",t.Click="cv_product_click",t.Suggest="cv_product_suggest",t.EditAssoc="cv_product_edit_assoc",t.Play="cv_product_play",t.Favourite="cv_product_favourite",t.Follow="cv_product_follow",t.Prefer="cv_product_prefer",t.SetAccess="cv_product_set_access",t.AddToLocalCache="cv_product_add_to_lc",t.ResolveWarning="cv_product_resolve_warning",t.DismissWarning="cv_product_dismiss_warning"}(r||(r={})),function(t){t.Folder="folder",t.Video="video",t.Rating="rating",t.Series="series",t.Library="library",t.Resource="resource",t.Tag="tag",t.Subtitle="subtitle",t.Chapter="chapter",t.Restriction="restriction",t.Interactive="interactive",t.PDF="pdf",t.CustomerSetting="customer_setting",t.UserSetting="user_setting",t.StaffRequest="staff_request",t.Logo="logo",t.Pagination="pagination",t.Thumbnail="thumbnail",t.Banner="banner",t.Link="link",t.Playlist="playlist",t.Person="person",t.Company="company",t.Classroom="classroom",t.ClassroomGroup="classroom_group",t.Classification="classification",t.ShareLink="share_link",t.Upload="upload",t.SearchResults="search_results",t.Audience="audience",t.User="user",t.Clip="clip",t.UserChannel="user_channel",t.Widget="widget",t.Url="url"}(o||(o={})),function(t){t.TopNav="top_nav",t.LeftNav="left_nav",t.Popup="popup",t.Banner="banner",t.VideoList="video_list",t.VideoListItem="video_list_item",t.VideoListHeader="video_header",t.VideoThumbnail="video_thumbnail",t.VideoItemPreview="video_item_preview",t.VideoDetails="video_details",t.VideoDetailsHeader="video_details_header",t.EditVideoDetails="edit_video_details",t.EditVideoChapters="edit_video_chapters",t.EditVideoResources="edit_video_resources",t.VideoUpload="video_upload",t.VideoRequest="video_request",t.Pagination="pagination",t.SearchBar="search_bar",t.InstantSearch="instant_search",t.SearchFilters="search_filters",t.LibraryHeader="library_header",t.LibraryTiles="library_tiles",t.StaffRequestDetails="staff_request_details",t.SubFolderList="sub_folder_list",t.AwaitingReviewVideoListHeader="awaiting_review_video_list_header",t.AwaitingReviewVideoItem="awaiting_review_video_item",t.PastReleasesHeader="past_releases_header",t.MigrationWarnings="migration_warnings",t.PlaylistListHeader="playlist_list_header",t.PlaylistListItem="playlist_list_item",t.TeacherManager="teacher_manager",t.TeacherManagerListItem="teacher_manager_list_item",t.StudentManager="student_manager",t.StudentManagerListItem="student_manager_list_item",t.ClassroomsList="classrooms_list",t.ClassroomsListItem="classrooms_list_item",t.ClassroomOverview="classroom_overview",t.ClassroomOverviewStudentListItem="classroom_overview_student_list_item",t.ManageClassroomStudents="manage_classroom_students",t.ManageClassroomStudentListItem="manage_classroom_student_list_item",t.ManageClassroomGroups="manage_classroom_groups",t.ManageClassroomGroupListItem="manage_classroom_group_list_item",t.PlayPage="play_page",t.FloatingPlayer="floating_player",t.InteractivePlayer="interactive_player",t.EmbeddedPlayer="embedded_player",t.ContentUpdatesClassificationBanner="content_updates_classification_banner",t.PreferencesSettings="preferences_settings",t.MyUploads="my_uploads",t.SlidingList="sliding_list",t.HeroBannerItem="hero_banner_item",t.SlidingListItem="sliding_list_item",t.ClassificationListItem="classification_list_item",t.ClassificationComingSoon="classification_coming_soon",t.Dashboard="dashboard"}(i||(i={})),function(t){t.Start="start",t.Complete="complete",t.Save="save",t.Discard="discard"}(a||(a={})),function(t){t.PageLoad="page_load"}(c||(c={})),function(t){t.Single="single",t.Bulk="bulk",t.All="all"}(u||(u={})),function(t){t.ProductionYear="production_year",t.Alphabetical="alphabetical"}(s||(s={})),function(t){t.Content="content",t.Quality="quality",t.Duration="duration",t.Reset="reset"}(l||(l={})),function(t){t.Submit="submit",t.ShowAll="show_all",t.Recent="recent",t.SearchIcon="search_icon"}(f||(f={})),function(t){t.Start="start",t.Finish="finish",t.Terminate="terminate",t.Play="play",t.Pause="pause",t.Playback="playback",t.NextChapter="next_chapter",t.PreviousChapter="previous_chapter",t.FullScreenEnter="full_screen_enter",t.FullScreenExit="full_screen_exit"}(p||(p={})),function(t){t.TogglePreview="toggle_preview",t.NavigateHome="navigate_home",t.OpenInStaffView="open_in_staff_view",t.Title="title",t.ToggleHideValidListings="toggle_hide_valid_listings",t.LaunchImmersiveReader="launch_immersive_reader",t.CopyEmbedHtml="copy_embed_html",t.Close="close",t.Open="open",t.Button="button",t.Link="link",t.Tile="tile",t.Thumbnail="thumbnail",t.Cover="cover",t.TallPoster="tall_poster",t.Slide="slide"}(h||(h={})),function(t){t.FeatureUserChannelVideo="feature_user_channel_video",t.RemoveFromUserChannelPlaylist="remove_from_user_channel_playlist",t.ShareClip="share_clip",t.ViewOriginalVideo="view_original_video",t.ShareInteractive="share_interactive",t.DeleteInteractiveVideo="delete_interactive_video",t.CopyInteractiveVideo="copy_interactive_video",t.EditInteractiveVideo="edit_interactive_video",t.PrintAsWorksheet="print_as_worksheet",t.PreviewInteractiveVideo="preview_interactive_video",t.ViewResults="view_results",t.MoveToAnotherFolder="move_to_another_folder",t.CreateInteractiveVideo="create_interactive_video",t.ShareVideo="share_video",t.EditVideo="edit_video",t.DownloadVideo="download_video",t.AddToExchange="add_to_exchange",t.AddToUserChannel="add_to_user_channel",t.CreateClip="create_clip",t.FlagVideo="flag_video",t.AddToLibrary="add_to_library",t.AddToWorkspace="add_to_workspace",t.AddToPlaylist="add_to_playlist",t.RemoveFromPlaylist="remove_from_playlist",t.AddCurriculumLink="add_curriculum_link",t.ViewCurriculumLinks="view_curriculum_links",t.OpenInCurator="open_in_curator",t.ManageVideoAccess="manage_video_access",t.Approve="approve",t.AddToLocalCache="add_to_local_cache",t.OpenInLibraryEditor="open_in_library_editor",t.PlayClip="play_clip",t.EditClip="edit_clip",t.DeleteClip="delete_clip"}(y||(y={})),function(t){t.LibraryReview="library_review"}(d||(d={})),function(t){t.FileSelect="file_select",t.DragDrop="drag_drop"}(b||(b={})),function(t){t.Edit="edit"}(v||(v={})),function(t){t.Image="image",t.User="user",t.Playlist="playlist"}(g||(g={})),function(t){t.On="on",t.Off="off"}(m||(m={})),function(t){t.EntityRemoved="cv_entity_removed",t.ValueUpdated="cv_value_updated"}(w||(w={})),function(t){t.FileSelect="file_select",t.DragDrop="drag_drop"}(S||(S={})),function(t){t.Video="videos",t.Folder="categories",t.Series="series",t.Tags="tags"}(O||(O={})),function(t){t[t.V1=1]="V1"}(C||(C={}));n(216);n.d(e,"q",(function(){return r})),n.d(e,"e",(function(){return o})),n.d(e,"k",(function(){return i})),n.d(e,"r",(function(){return a})),n.d(e,"m",(function(){return c})),n.d(e,"l",(function(){return u})),n.d(e,"h",(function(){return l})),n.d(e,"d",(function(){return f})),n.d(e,"n",(function(){return p})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return d})),n.d(e,"j",(function(){return b})),n.d(e,"p",(function(){return v})),n.d(e,"a",(function(){return g})),n.d(e,"f",(function(){return w})),n.d(e,"i",(function(){return S})),n.d(e,"o",(function(){return O})),n.d(e,"g",(function(){return C}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(1),o=n(19),i=n(61),a=n(11);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(f,t);var e,n,i,c=l(f);function f(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),(t=c.call(this)).constructors={},t.destructors={},t.instances={},t.singletonInstances={},t.referenceCounts={},t}return e=f,i=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"registerDataService",value:function(t,e){var n=this;this.validateConstructor(t);var r=t.prototype.name;return this.referenceCounts[r]=0,this.constructors[r]=function(){return new t({dataProvider:n.getInstance(e.dataProvider),cache:n.getInstance(e.cache),bootstrapData:e.bootstrapData,defaultErrorHandler:e.defaultErrorHandler,alertService:e.alertService})},this.destructors[r]=function(){n.instances[r]?n.instances[r].destroy():a.c.throw(new o.a("Trying to destroy a ".concat(r," instance that has already been destroyed"))),n.releaseInstance(e.dataProvider),n.releaseInstance(e.cache)},this}},{key:"registerInstance",value:function(t,e){var n=this;this.validateConstructor(t);var o=t.prototype.name;return this.referenceCounts[o]=0,this.constructors[o]=function(){return new t(e)},this.destructors[o]=function(){return r.isFunction(n.instances[o].destroy)&&n.instances[o].destroy()},this}},{key:"registerSingleton",value:function(t){var e=t.name;return this.singletonInstances[e]=t,this}},{key:"getInstance",value:function(t,e){var n=this;return this.singletonInstances[t]?this.singletonInstances[t]:(this.constructors[t]||a.c.throw(new o.a("".concat(t," was not registered with ").concat(this.name))),this.referenceCounts[t]++,e&&this.listenTo(e,"destroy",(function(){return n.releaseInstance(t)})),this.instances[t]||(this.instances[t]=this.constructors[t]()),this.instances[t])}},{key:"releaseInstance",value:function(t){var e=this;if(this.instances[t])return window.setTimeout((function(){e.referenceCounts[t]--,e.referenceCounts[t]<1&&(e.destructors[t](),delete e.instances[t])}),0),this}},{key:"validateConstructor",value:function(t){var e=t.prototype.name;e||a.c.throw(new o.a("Classes registered with ".concat(this.name," must have a unique name property."))),this.constructors[e]&&a.c.throw(new o.a("A class with the name: ".concat(e," has already been registered with ").concat(this.name)))}},{key:"name",get:function(){return"InstanceManager"}}])&&u(e.prototype,n),i&&u(e,i),f}(i.a).Instance},function(t,n){t.exports=e},,function(t,e,n){"use strict";var r,o,i,a,c;function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}!function(t){t[t.MostRecent=0]="MostRecent",t[t.LeastRecent=1]="LeastRecent",t[t.AtoZ=2]="AtoZ",t[t.ZtoA=3]="ZtoA",t[t.OrderIndex=4]="OrderIndex",t[t.ProductionYear=5]="ProductionYear",t[t.Newest=6]="Newest",t[t.SeriesSort=7]="SeriesSort"}(r||(r={})),function(t){t[t.Banner=0]="Banner",t[t.VideoListHeader=1]="VideoListHeader",t[t.VideoList=2]="VideoList",t[t.VideoListWithBulkActions=3]="VideoListWithBulkActions",t[t.VideoGroupList=4]="VideoGroupList",t[t.SubFolder=5]="SubFolder",t[t.NotificationPopover=6]="NotificationPopover",t[t.StaffRequestList=7]="StaffRequestList",t[t.StaffRequestDetails=8]="StaffRequestDetails",t[t.DashboardNotifications=9]="DashboardNotifications",t[t.DashboardActionTile=10]="DashboardActionTile",t[t.SearchBar=11]="SearchBar",t[t.SearchFilter=12]="SearchFilter",t[t.PastReleasesSearchFilter=13]="PastReleasesSearchFilter",t[t.AwaitingReviewHeader=14]="AwaitingReviewHeader",t[t.VideoSidebarInfo=15]="VideoSidebarInfo",t[t.VideoBasicInfo=16]="VideoBasicInfo",t[t.VideoHeader=17]="VideoHeader",t[t.EditVideoTabs=18]="EditVideoTabs",t[t.EditVideoDetails=19]="EditVideoDetails",t[t.EditVideoChapterList=20]="EditVideoChapterList",t[t.EditVideoChaptersForm=21]="EditVideoChaptersForm",t[t.EditVideoUploadArea=22]="EditVideoUploadArea",t[t.WebPlayer=23]="WebPlayer",t[t.Share=24]="Share",t[t.PublisherArchiveSearchBar=25]="PublisherArchiveSearchBar",t[t.PublisherArchiveSectionHeader=26]="PublisherArchiveSectionHeader",t[t.PublisherArchiveLeftNav=27]="PublisherArchiveLeftNav",t[t.PublisherArchiveVideoList=28]="PublisherArchiveVideoList",t[t.PublisherArchiveStatusBar=29]="PublisherArchiveStatusBar",t[t.LeftNav=30]="LeftNav",t[t.LibraryFolders=31]="LibraryFolders",t[t.EditResourcesCVContent=32]="EditResourcesCVContent",t[t.TagFilter=33]="TagFilter",t[t.VideoItemPreview=34]="VideoItemPreview",t[t.Unselected=35]="Unselected"}(o||(o={})),function(t){t.AU="AU",t.UK="UK",t.NZ="NZ"}(i||(i={})),function(t){t[t.Unclassified=0]="Unclassified",t[t.Primary=1]="Primary",t[t.Secondary=2]="Secondary",t[t.K12=3]="K12",t[t.Tertiary=4]="Tertiary",t[t.NonEducational=5]="NonEducational",t[t.Partners=6]="Partners",t[t.Internal=7]="Internal",t[t.Other=8]="Other",t[t.HostedLibrary=9]="HostedLibrary"}(c||(c={}));var s,l,f,p;u(a={},c.Unclassified,{hasYearGroups:!0}),u(a,c.Primary,{hasYearGroups:!0}),u(a,c.Secondary,{hasYearGroups:!0}),u(a,c.K12,{hasYearGroups:!0}),u(a,c.Tertiary,{hasYearGroups:!1}),u(a,c.NonEducational,{hasYearGroups:!1}),u(a,c.Partners,{hasYearGroups:!0}),u(a,c.Internal,{hasYearGroups:!0}),u(a,c.Other,{hasYearGroups:!0}),u(a,c.HostedLibrary,{hasYearGroups:!0});!function(t){t[t.All=0]="All",t[t.Kindergarten=1]="Kindergarten",t[t.Year1=2]="Year1",t[t.Year2=3]="Year2",t[t.Year3=4]="Year3",t[t.Year4=5]="Year4",t[t.Year5=6]="Year5",t[t.Year6=7]="Year6",t[t.Year7=8]="Year7",t[t.Year8=9]="Year8",t[t.Year9=10]="Year9",t[t.Year10=11]="Year10",t[t.Year11=12]="Year11",t[t.Year12=13]="Year12",t[t.Year13=14]="Year13",t[t.Students=15]="Students",t[t.Staff=16]="Staff"}(s||(s={})),function(t){t[t.Private=1]="Private",t[t.SchoolOnly=2]="SchoolOnly",t[t.Public=3]="Public"}(l||(l={})),function(t){t[t.Default=0]="Default",t[t.LibraryEditor=1]="LibraryEditor",t[t.Library=2]="Library",t[t.Folder=3]="Folder",t[t.Series=4]="Series",t[t.Search=5]="Search",t[t.Notifications=6]="Notifications",t[t.VideoAccess=7]="VideoAccess",t[t.AwaitingReview=8]="AwaitingReview",t[t.PastReleases=9]="PastReleases",t[t.StaffRequests=10]="StaffRequests",t[t.StaffRequestsDashboardTile=11]="StaffRequestsDashboardTile",t[t.ContentUpdatesDashboardTile=12]="ContentUpdatesDashboardTile",t[t.ManualReviewVideos=13]="ManualReviewVideos"}(f||(f={})),function(t){t[t.Video=11]="Video",t[t.CustomMediaObjectCollection=19]="CustomMediaObjectCollection"}(p||(p={}));var h,y,d,b=n(63);!function(t){t[t.AdminOnly=0]="AdminOnly",t[t.StaffRequest=1]="StaffRequest",t[t.Teachers=2]="Teachers"}(h||(h={})),function(t){t[t.Thumbnails=0]="Thumbnails",t[t.Banners=1]="Banners",t[t.Avatars=2]="Avatars"}(y||(y={})),function(t){t[t.None=0]="None",t[t.ImageAPIv1=1]="ImageAPIv1",t[t.FileAPIv1=2]="FileAPIv1"}(d||(d={}));var v,g,m,w,S=n(68);!function(t){t.FULL_YEAR="D MMMM YYYY",t.YEAR="YYYY"}(v||(v={})),function(t){t.FileSelect="file-select",t.DragDrop="drag-drop"}(g||(g={})),function(t){t[t.TermUpdate=1]="TermUpdate",t[t.RestrictedByAdmin=2]="RestrictedByAdmin"}(m||(m={})),function(t){t.Producer="producers",t.Director="directors",t.ProductionCompany="productionCompanies",t.Distributor="distributors"}(w||(w={})),n.d(e,"d",(function(){return r})),n.d(e,"j",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"p",(function(){return s})),n.d(e,"l",(function(){return l})),n.d(e,"c",(function(){return f})),n.d(e,"i",(function(){return p})),n.d(e,"h",(function(){return b.a})),n.d(e,"m",(function(){return h})),n.d(e,"f",(function(){return y})),n.d(e,"e",(function(){return d})),n.d(e,"o",(function(){return S.a})),n.d(e,"n",(function(){return v})),n.d(e,"g",(function(){return g})),n.d(e,"k",(function(){return m})),n.d(e,"a",(function(){return w}))},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Trace=0]="Trace",t[t.Debug=1]="Debug",t[t.Information=2]="Information",t[t.Warning=3]="Warning",t[t.Error=4]="Error",t[t.Critical=5]="Critical",t[t.None=6]="None"}(r||(r={}))},function(t,e){t.exports=n},function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"d",(function(){return w})),n.d(e,"b",(function(){return S})),n.d(e,"c",(function(){return O}));var r=n(6),o=n(12),i=n(62),a=n(35);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}function p(t){var e=b();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){var e="function"==typeof Map?new Map:void 0;return(y=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return d(t,arguments,g(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,t)})(t)}function d(t,e,n){return(d=b()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&v(o,n.prototype),o}).apply(null,arguments)}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){f(n,t);var e=p(n);function n(t){return l(this,n),e.call(this,t)}return n}(y(Error)),w=function(t){f(n,t);var e=p(n);function n(){return l(this,n),e.apply(this,arguments)}return s(n,[{key:"name",get:function(){return"SilentError"}}]),n}(m),S=function(t){f(n,t);var e=p(n);function n(){return l(this,n),e.apply(this,arguments)}return s(n,[{key:"name",get:function(){return"CoreError"}}]),n}(y(Error)),O={throw:function(t){if(r.Radio.channel(o.a.SHELL).trigger(a.a.ERROR,t),!(t instanceof w||i.a.isDevelopment))throw t}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"}},function(t,e,n){"use strict";var r=n(224),o=n(30),i=n(1),a={GetViewModel:function(t,e){var n=o.a.get("current:bulkactions");return n.get(e)!==t&&o.a.clear(t),n.set(e,t),o.a.get(t)},GetSelectedIds:function(t){return i.map(a.GetSelectedModels(t),(function(t){return t.get("id")}))},GetSelectedModels:function(t){var e=a.GetViewModel(t.key,t.type).toJSON(),n={};if(i.isFunction(t.excludePredicate)&&(n=i.groupBy(t.collection.filter(t.excludePredicate),(function(t){return t.id}))),e.all){var r=t.collection.filter((function(t){return!1!==e[t.id]}));return i.filter(r,(function(t){return!n[t.id]}))}var o=t.collection.filter((function(t){return!0===e[t.id]}));return i.filter(o,(function(t){return!n[t.id]}))}},c=n(2),u=n(3),s=n(37),l=n(8),f="shared.utils",p={GetCurrentSortType:function(){var t=p.GetSortViewModel();return p.GetSortTypeFromName(t.get("sortName"))},GetSortViewModel:function(){return o.a.get("video:sorting",p.GetDefaultSort())},GetFilterFromSort:function(t){switch(t){case s.a.MostRecent:return"orderbydesc:timestamp";case s.a.AtoZ:return"orderby:name";case s.a.ProductionYear:return"orderbydesc:productionyear";case s.a.Newest:return"orderbydesc:datecreated";case s.a.SeriesSort:return"orderby:seriessort";default:return""}},GetDefaultSort:function(){return p.CreateSortObject(s.a.MostRecent)},CreateSortObject:function(t){return{sortType:t,name:p.GetSortName(t),sortName:s.a[t].toLowerCase()}},CreateSortCollection:function(){var t=new c.a.Collection;for(var e in s.a)"number"==typeof s.a[e]&&t.push(new c.a.Model(p.CreateSortObject(s.a[e])));return t},GetSortName:function(t){switch(t){case s.a.MostRecent:return u.a.getPhrase(f,"recentlyAdded");case s.a.AtoZ:return u.a.getPhrase(f,"atoz");case s.a.ProductionYear:return u.a.getPhrase(f,"productionYear");case s.a.Newest:return u.a.getPhrase(f,"newest");case s.a.SeriesSort:return u.a.getPhrase(f,"seriesTitle");default:return""}},GetSortTypeFromName:function(t){switch(t){case"mostrecent":return s.a.MostRecent;case"atoz":return s.a.AtoZ;case"productionyear":return s.a.ProductionYear;case"newest":return s.a.Newest;case"seriessort":return s.a.SeriesSort;default:return s.a.MostRecent}},MapSortTypeToExportServiceSortType:function(t){switch(t){case s.a.MostRecent:return l.d.MostRecent;case s.a.AtoZ:return l.d.AtoZ;case s.a.ProductionYear:return l.d.ProductionYear;case s.a.Newest:return l.d.Newest;case s.a.SeriesSort:return l.d.SeriesSort;default:return l.d.MostRecent}}},h=n(29),y={mapYearGroupToName:function(t){var e=l.p[t],n=e.split(/(\d+)/);return n[1]?"".concat(n[0]," ").concat(n[1]," ").concat(u.a.getPhrase("shared.utils","andBelow")):t===l.p.All?u.a.getPhrase("shared.utils","studentsAndStaff"):e},hasRestriction:function(t){return!i.isUndefined(t.get("restrictions"))},hasAdminRestriction:function(t){var e=t.restrictions;return!!e&&!e.last().get("expiresOn")},isAwaitingReview:function(t){var e=t.restrictions;return!!e&&!!e.last().get("expiresOn")},getRestrictionMessage:function(t){return t.includes("Year")||t.includes("Kindergarten")?u.a.getPhrase("shared.utils","students",{yearGroup:t}):u.a.getPhrase("shared.utils","nonStudents",{group:t})},getReviewBadgeClassName:function(t,e,n){if(!t.restrictions||!t.restrictions.length)return"";var r=h().add(7,"days"),o=t.restrictions.first().get("expiresOn");return h(o).isSameOrBefore(r)?n:e},getRestrictionTooltipMessage:function(t){if(!t.restrictions)return"";if(y.isAwaitingReview(t))return y.getReviewTimeMessage(t);var e=t.restrictions.last(),n=y.mapYearGroupToName(e.get("groupId"));return y.getRestrictionMessage(n)},getReviewTimeMessage:function(t){var e=t.restrictions.first().get("expiresOn"),n=h(e).fromNow(!0);return"".concat(n," ").concat(u.a.getPhrase("shared.utils","leftToReview"))}},d={trimToMinutes:function(t){for(;("0"===t.charAt(0)||":"===t.charAt(0))&&t.length>5;)t=t.substr(1);return t},toSeconds:function(t){return h.duration(t).asSeconds()},secondsToHoursFormatted:function(t){return h.utc(1e3*t).format("HH:mm:ss")},getHoursComponent:function(t){return h.duration(t,"seconds").hours()},getMinutesComponent:function(t){return h.duration(t,"seconds").minutes()},getSecondsComponent:function(t){return h.duration(t,"seconds").seconds()},millisecondsToSeconds:function(t){return t/1e3},parseTime:function(t){var e=d.validateRawTime(t),n=e.hours,r=e.minutes,o=e.seconds,a=parseInt(n,10),c=parseInt(r,10),u=parseInt(o,10);return i.isNumber(a)||i.isNumber(c)||i.isNumber(u)?a<0||c<0||u<0?-1:d.toSeconds("".concat(a,":").concat(c,":").concat(u)):-1},validateRawTime:function(t){var e=t.hours,n=t.minutes,r=t.seconds;return(i.isUndefined(e)||i.isNaN(e))&&(e=0),(i.isUndefined(n)||i.isNaN(e))&&(n=0),(i.isUndefined(r)||i.isNaN(e))&&(r=0),{hours:e,minutes:n,seconds:r}}},b=n(229),v=n(60),g={getLibraryReviewOptions:function(t){return{kind:b.a.Permanent,name:v.a.LibraryReview,value:t}}},m=n(49),w=n(300),S=n(63),O=n(96),C=n(0),k=n(159);function E(t){return t.libraries&&t.libraries.every((function(t){return t.get("type")===S.a.CustomLibrary}))}var _,R={canEditVideo:function(t){return E(t)},canPublicShare:function(t){return E(t)},canDownloadVideo:function(t){return t.libraries&&t.libraries.every((function(t){return t.get("type")!==S.a.HostedLibrary}))},canAddToExchange:function(t){return t.libraries&&t.libraries.every((function(t){return t.get("type")!==S.a.HostedLibrary&&t.get("type")!==S.a.Exchange}))},canShareVideo:function(t,e){return e===C.b.CONTENT_UPDATES||t.libraries&&!!t.libraries.where({type:S.a.CustomLibrary,status:O.a.Published}).length},getSuggestAnEditPermissionsMessage:function(t){if(!R.canEditVideo(t))return u.a.getPhrase("shared.utils","suggestEdit")},getSharePermissionsMessage:function(t,e){if(!R.canShareVideo(t,e))return e===C.b.LIBRARY_EDITOR?u.a.getPhrase("shared.utils","share"):""},filterObjectsByOwnerType:function(t,e,n){var r=t.filter((function(t){var r=t.get("customer")&&t.get("customer").id;return!r&&e===k.b.ClickView||r===n&&e===k.b.Customer}));return new c.a.Collection(r)}},P=n(89),T=n(153);function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var j,D={size:"small",bgColor:"000"};!function(t){t.Avatar="avatar",t.Banner="banner",t.Thumbnail="thumbnail"}(j||(j={}));var L=(x(_={},l.f.Avatars,j.Avatar),x(_,l.f.Banners,j.Banner),x(_,l.f.Thumbnails,j.Thumbnail),_),A=function(t){return"v1/category-map/".concat(t)},I={createUrl:function(t,e){return I._createUrl(t,e)},Rfc3986EncodeURIComponent:function(t){return encodeURIComponent(t).replace(/[!'()*]/g,escape)},createThumbnailUrl:function(t,e){var n=t instanceof P.a?t.get("url"):t;if(n){var r=i.extend({},D,e);return I._createUrl(n,r)}},createBannerUrl:function(t,e,n){var r=t instanceof T.a?t.get("url"):t;return r?I._createUrl(r,n):I._createCategoryMappedUrl(e,n)},createFolderThumbnailUrl:function(t,e,n){return"string"==typeof t||t instanceof P.a&&t.get("url")?I.createThumbnailUrl(t,n):I._createCategoryMappedUrl(e,i.extend({},D,n))},_createCategoryMappedUrl:function(t,e){var n=t.fallbackBaseUrl,r=t.fallbackCategoryName,o=t.type,a="".concat(n).concat(A(L[o])),c=i.extend({name:I.Rfc3986EncodeURIComponent(r)},e);return I._createUrl(a,c)},_createUrl:function(t,e){if(t){if(i.isEmpty(e))return t;var n=$.param(e),r=-1===t.indexOf("?")?"?":"&";return"".concat(t).concat(r).concat(n)}}},N={setRating:function(t,e){if(e)if(t&&t.id){var n=e.findWhere({selected:!0}),r=e.findWhere({id:t.id});Q.deselectAll(e,{silent:!1}),(n||r)&&(n?r.id!==n.id&&r.set("selected",!0):r.set("selected",!0))}else Q.deselectAll(e)}},M=n(237),V={getDevicesUserCanManage:function(t,e){return t&&new M.a(t.where({customerId:e}))},getNewestDeviceUserCanManage:function(t,e){var n=V.getDevicesUserCanManage(t,e);if(n||n.length)return n.max((function(t){return new Date(t.get("dateCreated"))}))},customerHasLocalCache:function(t,e){return t&&!!V.getDevicesUserCanManage(t,e).length}},U={generateUniqueChannelName:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"customCid",n=t[e]||t.cid||(t[e]=i.uniqueId("custom"));return"".concat(t.name).concat(n)}},F=function(t,e,n){var r=e-(t=t.toString()).length;return r<=0?t:new Array(r+1).join(n)+t},H={ToDisplayDuration:function(t){if(!i.isNumber(t))return"";var e=new Date(t),n=e.getUTCHours(),r=F(e.getUTCMinutes(),2,"0"),o=F(e.getUTCSeconds(),2,"0");return n>0?"".concat(n,":").concat(r,":").concat(o):"".concat(r,":").concat(o)}},z=n(6),B=(n(12),{name:[{required:!0,msg:function(){return u.a.getPhrase("shared.utils","selectLanguage")}}]}),q=n(289),W=n(94),Y=n(186),G={getEditVideoTabs:function(t,e){return[{name:function(){return u.a.getPhrase("shared.utils","videoDetails")},link:{selector:".edit-video-applink",appLink:{application:C.b.LIBRARY_EDITOR,action:C.a.LibraryEditor.EDIT_VIDEO,args:[t]}}},{name:function(){return u.a.getPhrase("shared.utils","chapters")},link:{selector:".edit-chapters-applink",appLink:{application:C.b.LIBRARY_EDITOR,action:C.a.LibraryEditor.EDIT_VIDEO_CHAPTERS,args:[t]}},hide:e&&e.hideChaptersTab},{name:function(){return u.a.getPhrase("shared.utils","resourcesSubtitlesLinks")},link:{selector:".edit-resources-subtitles-applink",appLink:{application:C.b.LIBRARY_EDITOR,action:C.a.LibraryEditor.EDIT_VIDEO_RESOURCES,args:[t]}}}]},initBackButton:function(){var t=W.a.getPreviousRoute();t&&!i.contains(Y.b,t.appLink.action)&&o.a.get(Y.c).set({appLink:t.appLink})},getBackButton:function(t){var e={application:C.b.LIBRARY_EDITOR,action:C.a.LibraryEditor.VIDEO_DETAILS,args:[t]},n=o.a.get(Y.c).get("appLink")||e;return{name:this.getBackButtonText(n),link:{selector:".go-back-applink",appLink:n}}},getBackButtonText:function(t){if(!t)return u.a.getPhrase("shared.utils","backToVideoDetails");switch(t.action){case C.a.LibraryEditor.FOLDER:return u.a.getPhrase("shared.utils","backFolder");case C.a.LibraryEditor.SERIES:return u.a.getPhrase("shared.utils","backSeries");case C.a.Search.HOME:return u.a.getPhrase("shared.utils","backSearch");case C.a.ContentUpdates.PAST_RELEASES:return u.a.getPhrase("shared.utils","backPastReleases");case C.a.LibraryEditor.VIDEO_DETAILS:return u.a.getPhrase("shared.utils","backDetails");default:return u.a.getPhrase("shared.utils","back")}}},J={hasLibraryOfType:function(t,e){var n=t.libraries;return!(!n||!n.length)&&n.any((function(t){return t.get("type")===e}))},hasCustomLibrary:function(t){return J.hasLibraryOfType(t,l.h.CustomLibrary)},getSourceTypes:function(t){return t.libraries?t.libraries.map((function(t){return t.get("type")})):[]},isExchangeVideo:function(t){return t.libraries&&t.libraries.any((function(t){return t.get("type")===l.h.Exchange}))}},K={generateDialog:function(t,e,n,o){new r.a({title:u.a.getPhrase("shared.utils","cancelProcessingHeading"),text:u.a.getPhrase("shared.utils","cancelProcessingBody",{videoTitle:t}),buttons:[{text:u.a.getPhrase("shared.utils","yes"),className:"btn btn-primary",success:!0},{text:u.a.getPhrase("shared.utils","no"),className:"btn btn-link",close:!0}]}).render().done((function(){return z.Radio.channel(e).trigger(n,o)}))}},Q={setSelected:function(t,e){if(e&&t){Q.deselectAll(e);var n=e.findWhere({id:t});n&&n.set("selected",!0)}},getSelected:function(t){return t.findWhere({selected:!0})},deselectAll:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.silent,r=void 0===n||n;t.each((function(t){return t.set("selected",!1,{silent:r})}))},findModelByName:function(t,e){return e.find((function(e){return e.get("name").toLowerCase()===t.toLowerCase()}))},getIds:function(t){return t.map((function(t){return t.get("id")}))}},Z=n(183),X={isLazyLoadSupported:function(t){if(!t)return!1;var e=Z.a.getBrowser(),n=e.browser&&e.browser.toLowerCase(),r=e.version&&parseInt(e.version);return!(n&&r&&i.isNumber(r)&&i.has(t,n))||r>=t[n]}},tt=n(180);n.d(e,"d",(function(){return r.a})),n.d(e,"a",(function(){return a})),n.d(e,"p",(function(){return p})),n.d(e,"n",(function(){return y})),n.d(e,"w",(function(){return d})),n.d(e,"o",(function(){return g})),n.d(e,"f",(function(){return m.a})),n.d(e,"v",(function(){return w.a})),n.d(e,"j",(function(){return R})),n.d(e,"g",(function(){return I})),n.d(e,"l",(function(){return N})),n.d(e,"i",(function(){return V})),n.d(e,"k",(function(){return U})),n.d(e,"e",(function(){return H})),n.d(e,"t",(function(){return B})),n.d(e,"m",(function(){return q.a})),n.d(e,"u",(function(){return G})),n.d(e,"x",(function(){return J})),n.d(e,"b",(function(){return K})),n.d(e,"c",(function(){return Q})),n.d(e,"h",(function(){return X})),n.d(e,"r",(function(){return tt.b})),n.d(e,"s",(function(){return tt.c})),n.d(e,"q",(function(){return tt.a}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n(1),o=n(6),i=n(61),a=n(11),c=n(19);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t)||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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?d(t):e}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(l,t);var e,n,i,u=h(l);function l(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),e=u.call(this,t),r.result(d(e),"name")||a.c.throw(new c.a("Must provide a name when extending BaseDataService")),r.result(d(e),"channelName")||a.c.throw(new c.a("Must provide a channelName for ".concat(r.result(d(e),"name"))));var n=[].concat(s(e.defaultProps),s(e.props||[]));return e.dataRequestSignatures={},e.mergeOptions(t,n),e}return e=l,(n=[{key:"getCursors",value:function(t){var e=this.cache.get(t);return e?e.cursors:{}}},{key:"clearCacheAndGet",value:function(t){var e=this,n=t.callback,o=t.errorCallback,i=t.eventPrefix,a=this.getEventNames(i),c=a.syncEvent,u=a.errorEvent,s=this.cache.get(i);if(s&&s.openRequest)return this.listenToOnce(this.getChannel(),c,(function(t){r.isFunction(o)&&e.stopListening(e.getChannel(),u,o),r.isFunction(n)&&n(t)})),void this.listenToOnce(this.getChannel(),u,(function(){r.isFunction(n)&&e.stopListening(e.getChannel(),c,n),r.isFunction(o)&&o()}));this.cache.remove(t.eventPrefix),this.get(t)}},{key:"get",value:function(t){var e=this,n=t.callback,o=t.errorCallback,i=t.eventPrefix,a=t.resource,c=t.formatData,u=t.expiryTime,s=t.successHandler,l=t.errorHandler,f=t.bootstrapName,p=this.getEventNames(i),h=p.syncEvent,y=p.requestEvent,d=p.successEvent,b=p.errorEvent,v=this.getChannel(),g=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[f]&&(this.cacheData(i,this.bootstrapData[f],c,{openRequest:!1,timestamp:g}),delete this.bootstrapData[f]);var m,w=this.cache.get(i);w&&(m=w.data);var S=w&&w.openRequest,O=this.isExpired(i,u);if(S&&(this.listenToOnce(v,h,(function(t){r.isFunction(o)&&e.stopListening(e.getChannel(),b,o),r.isFunction(n)&&n(t)})),this.listenToOnce(v,b,(function(){r.isFunction(n)&&e.stopListening(e.getChannel(),h,n),r.isFunction(o)&&o()}))),this.cache.has(i)&&!O||(v.trigger(y),this.listenToResponse({eventPrefix:i,formatData:c,cacheOptions:{timestamp:g},callback:n,errorCallback:o,successHandler:s,errorHandler:l}),this.cacheData(i,null,null,{openRequest:!0,timestamp:g}),this.dataProvider.read(a,{channel:this.getTransportChannel(),successEvent:d,errorEvent:b})),m&&r.isFunction(n)&&!O&&n(m),m)return m}},{key:"create",value:function(t){var e=t.eventPrefix,n=t.resource,r=t.data,o=t.formatData,i=t.callback,a=t.errorCallback,c=t.invalidationKeys,u=t.successHandler,s=t.errorHandler,l=this.getEventNames(t.eventPrefix),f=l.requestEvent,p=l.successEvent,h=l.errorEvent,y=this.getChannel(),d=this.getTransportChannel();y.trigger(f),this.listenToResponse({eventPrefix:e,formatData:o,invalidationKeys:c,callback:i,errorCallback:a,successHandler:u,errorHandler:s}),this.dataProvider.create(n,r,{channel:d,successEvent:p,errorEvent:h})}},{key:"update",value:function(t){var e=t.data,n=t.callback,r=t.errorCallback,o=t.resource,i=t.formatData,a=t.eventPrefix,c=t.invalidationKeys,u=t.errorHandler,s=t.successHandler,l=this.getEventNames(t.eventPrefix),f=l.requestEvent,p=l.successEvent,h=l.errorEvent,y=this.getChannel(),d=this.getTransportChannel();y.trigger(f),this.listenToResponse({eventPrefix:a,formatData:i,invalidationKeys:c,callback:n,errorCallback:r,successHandler:s,errorHandler:u}),this.dataProvider.update(o,e,{channel:d,successEvent:p,errorEvent:h})}},{key:"delete",value:function(t){var e=t.eventPrefix,n=t.resource,r=t.callback,o=t.errorCallback,i=t.invalidationKeys,a=t.successHandler,c=t.errorHandler,u=this.getEventNames(e),s=u.successEvent,l=u.errorEvent,f=this.getTransportChannel();this.listenToResponse({eventPrefix:e,invalidationKeys:i,callback:r,errorCallback:o,cacheOptions:{noCache:!0,clearCacheKey:!0},successHandler:a,errorHandler:c}),this.dataProvider.delete(n,{channel:f,successEvent:s,errorEvent:l})}},{key:"listenToResponse",value:function(t){var e=this,n=t.eventPrefix,o=t.formatData,i=t.callback,a=t.errorCallback,c=t.successHandler,u=t.errorHandler,s=t.invalidationKeys,l=t.cacheOptions,f=void 0===l?{}:l,p=this.getEventNames(n),h=p.syncEvent,y=(p.requestEvent,p.successEvent),d=p.errorEvent,b=p.successAlertEvent,v=p.errorAlertEvent,g=this.getChannel(),m=this.getTransportChannel(),w=this.getAlertChannel();r.isFunction(i)&&this.listenToOnce(g,h,i),r.isFunction(a)&&this.listenToOnce(g,d,a),this.stopListening(w,b),this.stopListening(w,v),r.isFunction(c)&&this.listenToOnce(w,b,c),r.isFunction(u)&&this.listenToOnce(w,v,u),!r.isFunction(u)&&!1!==u&&r.isFunction(this.defaultErrorHandler)&&this.listenToOnce(w,v,this.defaultErrorHandler),this.hasRequestSignature(n)||(this.setRequestSignature(n),this.listenTo(m,y,(function(t){e.stopListening(g,d,a);for(var r=arguments.length,i=new Array(r>1?r-1:0),c=1;c<r;c++)i[c-1]=arguments[c];w.trigger.apply(w,[b,t].concat(i));var u=f.noCache?e.formatData(t,o):e.cacheData(n,t,o);f.clearCacheKey&&e.cache.remove(n),g.trigger(h,u),s&&s.length&&e.cache.invalidate(s,(function(t){return g.trigger("".concat(t,":invalidate"))}))})),this.listenTo(m,d,(function(){var t;e.stopListening(g,h,i);var r=(t=e.dataProvider).parseError.apply(t,arguments);w.trigger(v,r),g.trigger(d,r),f.noCache||e.cacheData(n,null,null)})))}},{key:"cacheData",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.openRequest,i=void 0!==o&&o,a=r.timestamp;a||(a=this.currentTimestamp());var c=this.processPagination(e),u=this.formatData(e,n);return this.cache.set(t,{data:u,timestamp:a,cursors:c,openRequest:i}),u}},{key:"processPagination",value:function(t){if(t){var e=t.pagination;if(e)return e.cursors?e.cursors:r.isUndefined(e.offset)||r.isUndefined(e.pageSize)?e.page?this.convertLegacyPaginationToCursors(e):void 0:this.convertOffsetPaginationToCursors(e)}}},{key:"formatData",value:function(t,e){return r.isFunction(e)?e(t):t}},{key:"chain",value:function(){var t=this,e=[],n=function(t,e){r.isFunction(t)&&t(e)},o=function(r,o){return e.push((function(){var i=r.callback;r.callback=function(t){n(i,t),n(e.shift())},t[o](r)})),i},i={func:function(t){return e.push((function(){t(e.shift()||function(){})})),i},get:function(t){return o(t,"get")},create:function(t){return o(t,"create")},update:function(t){return o(t,"update")},delete:function(t){return o(t,"delete")},run:function(){n(e.shift())}};return i}},{key:"invalidateCache",value:function(t){t&&t.length&&this.cache.invalidate(t)}},{key:"currentTimestamp",value:function(){return(new Date).valueOf()}},{key:"isExpired",value:function(t,e){if(!e)return!1;var n=this.cache.get(t);if(!n||!n.timestamp)return!0;var r=1e3*e;return n.timestamp<this.currentTimestamp()-r}},{key:"getEventNames",value:function(t){return{syncEvent:"".concat(t,":sync"),requestEvent:"".concat(t,":request"),successEvent:"".concat(t,":success"),errorEvent:"".concat(t,":error"),successAlertEvent:"".concat(t,":success:alert"),errorAlertEvent:"".concat(t,":error:alert")}}},{key:"getTransportChannel",value:function(){return o.Radio.channel("".concat(this.channelName,":transport"))}},{key:"getAlertChannel",value:function(){return o.Radio.channel("".concat(this.channelName,":alert"))}},{key:"setRequestSignature",value:function(t){this.dataRequestSignatures[t]=t}},{key:"hasRequestSignature",value:function(t){return!!this.dataRequestSignatures[t]}},{key:"convertOffsetPaginationToCursors",value:function(t){var e=t.offset,n=t.pageSize,o=t.totalItems,i=o>0&&e<o&&e+n,a=o>0&&e>0&&Math.max(e-n,0),c={};if(i&&i<o&&(c.next=i.toString()),r.isNumber(a)&&(c.previous=a.toString()),!r.isEmpty(c))return c}},{key:"convertLegacyPaginationToCursors",value:function(t){var e=t.page,n=t.totalPages,o=r.isNumber(e)&&e>0&&e<n&&e+1,i=r.isNumber(e)&&e>1&&e-1,a={};if(o&&o<=n&&(a.next=o.toString()),i&&(a.previous=i.toString()),!r.isEmpty(a))return a}},{key:"defaultProps",get:function(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}}])&&f(e.prototype,n),i&&f(e,i),l}(i.a)},function(t,e,n){"use strict";var r,o,i=n(154),a=n(1),c=n(321),u=n.n(c),s=n(322),l=n.n(s),f=n(323),p=n.n(f),h=n(324),y=n.n(h),d=(n(325),n(326),n(327)),b=n.n(d),v=n(328),g=n.n(v),m=n(329),w=n.n(m),S=n(330),O=n.n(S),C=n(331),k=n.n(C),E=n(332),_=n.n(E),R=n(333),P=n.n(R),T=n(334),x=n.n(T),j=n(335),D=n.n(j),L=n(336),A=n.n(L),I=n(337),N=n.n(I),M=n(338),V=n.n(M),U=n(339),F=n.n(U),H=n(340),z=n.n(H),B=n(341),q=n.n(B),W=n(342),Y=n.n(W),G=n(343),J=n.n(G),K=n(344),Q=n.n(K),Z=n(345),$=n.n(Z),X=n(346),tt=n.n(X),et=n(347),nt=n.n(et),rt=(n(348),n(349)),ot=n.n(rt),it=n(350),at=n.n(it),ct=n(351),ut=n.n(ct),st=(n(352),n(353),n(354)),lt=n.n(st),ft=n(355),pt=n.n(ft),ht=n(356),yt=n.n(ht),dt=n(357),bt=n.n(dt),vt=n(358),gt=n.n(vt),mt=n(359),wt=n.n(mt),St=(n(360),n(361)),Ot=n.n(St),Ct=n(362),kt=n.n(Ct),Et=n(363),_t=n.n(Et),Rt=n(364),Pt=n.n(Rt),Tt=n(365),xt=n.n(Tt),jt=n(366),Dt=n.n(jt),Lt=n(367),At=n.n(Lt),It=(n(368),n(369)),Nt=n.n(It),Mt=n(370),Vt=n.n(Mt),Ut=n(371),Ft=n.n(Ut),Ht=n(372),zt=n.n(Ht),Bt=n(373),qt=n.n(Bt),Wt=n(374),Yt=n.n(Wt),Gt=n(375),Jt=n.n(Gt),Kt=n(376),Qt=n.n(Kt),Zt=n(377),$t=n.n(Zt),Xt=n(378),te=n.n(Xt),ee=n(379),ne=n.n(ee),re=n(380),oe=n.n(re),ie=n(381),ae=n.n(ie),ce=n(382),ue=n.n(ce),se=n(383),le=n.n(se),fe=n(384),pe=n.n(fe),he=(n(385),n(386),n(387),n(388)),ye=n.n(he),de=(n(389),n(390),n(391),n(392),n(393)),be=n.n(de),ve=n(394),ge=n.n(ve),me=(n(395),n(396),n(397),n(398)),we=n.n(me),Se=n(399),Oe=n.n(Se),Ce=n(400),ke=n.n(Ce),Ee=n(401),_e=n.n(Ee),Re=n(402),Pe=n.n(Re),Te=n(403),xe=n.n(Te),je=n(404),De=n.n(je),Le=(n(405),n(406),n(407),n(408)),Ae=n.n(Le),Ie=n(409),Ne=n.n(Ie),Me=[u.a,p.a,y.a,b.a,O.a,k.a,_.a,P.a,w.a,l.a,x.a,D.a,A.a,N.a,V.a,g.a,F.a,z.a,q.a,Y.a,nt.a,J.a,Q.a,$.a,tt.a,ot.a,yt.a,te.a,oe.a,ne.a,pe.a,ae.a,ue.a,le.a,Pt.a,Dt.a,xt.a,at.a,ut.a,kt.a,_t.a,Ot.a,lt.a,bt.a,Vt.a,Ft.a,gt.a,wt.a,zt.a,pt.a,Nt.a,qt.a,Yt.a,At.a,Jt.a,$t.a,Qt.a,be.a,ge.a,ye.a,ke.a,Oe.a,we.a,_e.a,xe.a,Pe.a,De.a,Ne.a,Ae.a];function Ve(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}!function(t){t.AddToPlaylists="add-to-playlist",t.Caret="caret",t.Delete="delete",t.Edit="edit",t.NoEdit="no-edit",t.Close="close",t.Folder="folder",t.Resources="resources",t.More="more",t.Bell="bell",t.Plus="plus",t.Search="search",t.Share="share",t.Share2="share2",t.Upload="upload",t.Preview="preview",t.CircleCheck="circle-check",t.Down="down",t.Right="right",t.UpDown="up-down",t.ChevronUp="chevron-up",t.ChevronDown="chevron-down",t.ChevronLeft="chevron-left",t.ChevronRight="chevron-right",t.VisibleOff="visible-off",t.VisibleOn="visible-on",t.PublisherArchive="publisher-archive",t.Play="play",t.PlayCircle="play-circle",t.ArrowLeft="arrow-left",t.CheckCircleOutline="check-circle-o",t.CheckCircle="check-circle",t.Check="check",t.Lock="lock",t.Link="link",t.Info="info",t.Question="question",t.Star="star",t.StarOutline="star-o",t.Archive="archive",t.Warning="warning",t.WarningOutline="warning-o",t.NewWindow="new-window",t.File="file",t.FilePDF="file-pdf",t.FileExcel="file-excel",t.FilePowerpoint="file-ppt",t.FileWord="file-word",t.FileImg="file-img",t.FileZip="file-zip",t.Enter="enter",t.Calendar="calendar",t.CloseCaption="close-caption",t.CloseCaptionBadge="close-caption-badge",t.Playlist="playlist",t.Handle="handle",t.Subject="subject",t.Series="series",t.EditClickView="edit-clickview",t.Heart="heart",t.HeartOutline="heart-outline",t.WhiteWave="white-wave",t.Cog="cog",t.Video="video",t.Compass="compass",t.History="history",t.Tag="tag",t.Email="email",t.YearLevel="year-level",t.Subjects="subjects"}(r||(r={}));var Ue;function Fe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}a.extend(i.config,{autoReplaceSvg:!1,autoAddCss:!1,familyPrefix:"cv",autoA11y:!0,observeMutations:!1,replacementClass:"cv-svg",keepOriginalSource:!1}),(o=i.library).add.apply(o,function(t){if(Array.isArray(t))return Ve(t)}(Ue=Me)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(Ue)||function(t,e){if(t){if("string"==typeof t)return Ve(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ve(t,e):void 0}}(Ue)||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.")}()),n.d(e,"a",(function(){return He})),n.d(e,"b",(function(){return ze}));var He=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,r=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"getSvg",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.faIconLookup(t,e),r=this.getIcon(n,e);if(r&&(!r||r.html.length))return r.html.pop()}},{key:"getIcon",value:function(t,e){return i.icon(t,e.iconOptions||{})}},{key:"faIconLookup",value:function(t,e){var n=e.prefix,r=void 0===n?"cv":n;return i.findIconDefinition({prefix:r,iconName:t})}}])&&Fe(e.prototype,n),r&&Fe(e,r),t}().Instance,ze=r},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n(22),o=Object.assign({Notifications:"NotificationService",PartialLoading:"PartialLoadingService",NavLock:"NavLockService",DialogHelper:"DialogHelper",Analytics:"AnalyticsService",VideoDragDrop:"VideoDragDropService",FolderDragDrop:"FolderDragDropService",SelectedVideo:"SelectedVideoService",FolderCache:"FolderCacheService",LocalOptions:"LocalOptionsService",ContextService:"ContextService",VideoMixin:"VideoMixinService",PageVisibility:"PageVisibility",PageTitle:"PageTitle",Language:"LanguageService",ContextualSearch:"ContextualSearchService",Intercom:"IntercomService"},r.b),i=Object.assign({Config:"ConfigDataService",User:"UserDataService",Customer:"CustomerDataService",Library:"LibraryDataService",Search:"SearchDataService",Notifications:"NotificationDataService",NotificationsSocket:"NotificationSocketService",Settings:"SettingsDataService",StaffRequests:"StaffRequestDataService",MigrationVideo:"MigrationVideoDataService",Tags:"TagDataService",Series:"SeriesDataService",ImageUpload:"ImageUploadDataService",Chapter:"ChapterDataService",Export:"ExportDataService",LocalCache:"LocalCacheDataService",RestrictedVideo:"RestrictedVideoDataService",Ratings:"RatingsDataService",Language:"LanguageDataService",ContentUpdates:"ContentUpdatesDataService",DownloadProxy:"DownloadProxyDataService",Resource:"ResourceDataService",Subtitle:"SubtitleDataService",Link:"LinkDataService",Company:"CompanyDataService",Person:"PersonDataService",Fields:"FieldsDataService"},r.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SHORT:120,STANDARD:600}},,function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return l}));var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(s,t);var e,n,r,u=c(s);function s(){return o(this,s),u.apply(this,arguments)}return e=s,(n=[{key:"name",get:function(){return"DevError"}}])&&i(e.prototype,n),r&&i(e,r),s}(n(11).a)},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Sources="libraries",t.Folder="folder",t.Tags="tag",t.Ratings="ratings",t.Interactives="interactives",t.Resources="resources",t.Subtitles="subtitles",t.ProductionYear="productionYear",t.ProducedByClickView="producedByClickView",t.HD="hd",t.Duration="duration",t.Series="series"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"f",(function(){return s})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return f})),n.d(e,"e",(function(){return p})),n.d(e,"d",(function(){return h})),n.d(e,"b",(function(){return y}));var r=n(9),o=n(115),i=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){t.done?o(t.value):new n((function(e){e(t.value)})).then(a,c)}u((r=r.apply(t,e||[])).next())}))},a=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},c=function(){function t(){}return t.isRequired=function(t,e){if(null==t)throw new Error("The '"+e+"' argument is required.")},t.isIn=function(t,e,n){if(!(t in e))throw new Error("Unknown "+n+" value: "+t+".")},t}(),u=function(){function t(){}return Object.defineProperty(t,"isBrowser",{get:function(){return"object"==typeof window},enumerable:!0,configurable:!0}),Object.defineProperty(t,"isWebWorker",{get:function(){return"object"==typeof self&&"importScripts"in self},enumerable:!0,configurable:!0}),Object.defineProperty(t,"isNode",{get:function(){return!this.isBrowser&&!this.isWebWorker},enumerable:!0,configurable:!0}),t}();function s(t,e){var n="";return l(t)?(n="Binary data of length "+t.byteLength,e&&(n+=". Content: '"+function(t){var e=new Uint8Array(t),n="";return e.forEach((function(t){n+="0x"+(t<16?"0":"")+t.toString(16)+" "})),n.substr(0,n.length-1)}(t)+"'")):"string"==typeof t&&(n="String data of length "+t.length,e&&(n+=". Content: '"+t+"'")),n}function l(t){return t&&"undefined"!=typeof ArrayBuffer&&(t instanceof ArrayBuffer||t.constructor&&"ArrayBuffer"===t.constructor.name)}function f(t,e,n,o,c,u,f){return i(this,void 0,void 0,(function(){var i,p,h,y,d;return a(this,(function(a){switch(a.label){case 0:return c?[4,c()]:[3,2];case 1:(h=a.sent())&&((i={}).Authorization="Bearer "+h,p=i),a.label=2;case 2:return t.log(r.a.Trace,"("+e+" transport) sending data. "+s(u,f)+"."),y=l(u)?"arraybuffer":"text",[4,n.post(o,{content:u,headers:p,responseType:y})];case 3:return d=a.sent(),t.log(r.a.Trace,"("+e+" transport) request complete. Response status: "+d.statusCode+"."),[2]}}))}))}function p(t){return void 0===t?new y(r.a.Information):null===t?o.a.instance:t.log?t:new y(t)}var h=function(){function t(t,e){this.subject=t,this.observer=e}return t.prototype.dispose=function(){var t=this.subject.observers.indexOf(this.observer);t>-1&&this.subject.observers.splice(t,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch((function(t){}))},t}(),y=function(){function t(t){this.minimumLogLevel=t,this.outputConsole=console}return t.prototype.log=function(t,e){if(t>=this.minimumLogLevel)switch(t){case r.a.Critical:case r.a.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+r.a[t]+": "+e);break;case r.a.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+r.a[t]+": "+e);break;case r.a.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+r.a[t]+": "+e);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+r.a[t]+": "+e)}},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var r={Config:"ConfigDataService",User:"UserDataService",Language:"LanguageDataService",Video:"VideoDataService",VideoUpload:"VideoUpload",Library:"LibraryDataService",Search:"SearchDataService",Series:"SeriesDataService",Notification:"NotificationDataService",NotificationSocket:"NotificationSocketService"},o={ImageUrl:"ImageUrlService",PendingItems:"PendingItemsService",Alerts:"AlertService",VideoUpload:"VideoUploadService",ResourceUpload:"ResourceUploadService",SubtitleUpload:"SubtitleUploadService",VideoMixin:"VideoMixinService",ContextualSearch:"ContextualSearchService",Context:"ContextService",Notification:"NotificationService",AppOptions:"AppOptionsService"}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var r={CONFIG:"config:data:service",USER:"user:data:service",LANGUAGE:"language:data:service",LIBRARY:"library:data:service",SEARCH:"search:data:service",SERIES:"series:data:service",NOTIFICATIONS:"notifications:data:service",NOTIFICATIONS_SOCKET:"notifications:socket:service"},o={PENDING_ITEMS:"pending:items:service",VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",CONTEXTUAL_SEARCH:"contextual:search:service"},i={NOTIFICATIONS:"notifications:application"}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Video="videos",t.Folder="categories",t.Series="series",t.Channel="channels",t.Distributors="companies",t.Producers="people",t.Tags="tags",t.Language="languages",t.TagsRaw="tag",t.ChannelRaw="channel",t.Recent="recent",t.Direct="direct",t.ProductionCompanies="companies",t.Directors="people",t.Season="season",t.Classification="subjects"}(r||(r={}))},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Component=1]="Component",t[t.ComponentCollection=2]="ComponentCollection"}(r||(r={}))},,function(t,e,n){"use strict";var r,o;!function(t){t.Libraries="libraries",t.Subjects="subjects",t.ReleaseDate="release-date"}(r||(r={})),function(t){t.ThisMonth="this-month",t.LastMonth="last-month",t.Last3Months="last-3-months",t.Last6Months="last-6-months"}(o||(o={})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}))},,function(t,e){t.exports=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(1),o=n(103),i=n(19),a=n(61),c=n(81),u=n(176),s=n(11);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(y,t);var e,n,a,l=h(y);function y(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,y),(t=l.call(this)).viewObjects={},t}return e=y,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"updateViewModel",value:function(t,e){var n=this.mergeData(e,t.toJSON());return t instanceof u.a&&t.set(n,{silent:!0}),t instanceof c.a&&!(t instanceof u.a)&&t.set(n,{silent:!0}),t}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.update,o=void 0!==r&&r,i=this.viewObjects[t];if(i&&o)return this.updateViewModel(i,e);if(i)return i;var a=this.getLocalData(t,n);return this.set(t,e,a,n)}},{key:"set",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=r.ctor,i=r.storage,a=this.mergeData(e,n),u=o?new o(a):new c.a(a);return this.viewObjects[t]=u,i&&!n?(this.setLocalData(t,u,null,r),this.setupChangeListeners(t,u,r)):i&&n&&this.setupChangeListeners(t,u,r),u}},{key:"clear",value:function(t){var e=this.viewObjects[t];return!!e&&(this.stopListening(e),e.trigger("destroy"),delete this.viewObjects[t],!0)}},{key:"getLocalData",value:function(t,e){var n=e.storage;if(n)return this.getStorageHelper(n.type).get(t)}},{key:"setLocalData",value:function(t,e,n,r){var o,i=r.storage;!i||i&&!i.persistProps||("string"==typeof i.persistProps&&(i.persistProps=[i.persistProps]),e instanceof c.a&&(o=e.pick(i.persistProps)),this.getStorageHelper(i.type).set(t,o))}},{key:"setupChangeListeners",value:function(t,e,n){var o=this,i=n.storage;!i||i&&!i.persistProps||("string"==typeof i.persistProps&&(i.persistProps=[i.persistProps]),r.each(i.persistProps,(function(i){o.listenTo(e,"change:".concat(i),r.partial(o.setLocalData,t,r,r,n))})))}},{key:"mergeData",value:function(t,e){return e?r.isObject(t)&&r.isObject(e)?r.extend(t,e):void s.c.throw(new i.a("defaultValues and existingData are not of the same datatype and cannot be merged")):t}},{key:"getStorageHelper",value:function(t){switch(t){case o.c.LocalStorage:return o.a;case o.c.SessionStorage:return o.b}}},{key:"name",get:function(){return"ViewModelService"}}])&&f(e.prototype,n),a&&f(e,a),y}(a.a).Instance},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(2),o=n(19);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(l,t);var e,n,i,s=u(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=s.call(this,t)).dialogOptions||r.a.ErrorHelper.throw(new o.a("Please provide DialogOptions for your implementation of DialogError")),e}return e=l,(n=[{key:"onDone",value:function(){}},{key:"onFail",value:function(){}},{key:"name",get:function(){return"DialogError"}}])&&a(e.prototype,n),i&&a(e,i),l}(r.a.SilentError)},,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={FOLDER:"folder",FOLDER_VIDEOS:"folder:videos",VIDEOS:"videos",SERIES:"series",LIBRARY:"library",MOVE_VIDEOS:"move:videos",VIDEOS_BY_ID:"videos:by:id",VIDEOS_TO_REVIEW:"videos:to:review",RECENT_VIDEOS:"recent:videos",RECENT_VIDEOS_ALL_PAGES:"recent:videos:all:pages",RECENT_SUBJECTS:"recent:subjects",RESTRICTED_VIDEOS:"restricted:videos",RESTRICTED_OBJECTS:"restricted:objects",RATINGS:"ratings",CHANNELS:"channels",PRODUCERS:"producers",NOTIFICATIONS:"notifications",DISTRIBUTORS:"distributors",UPDATE_VIDEO:"update:video",UPDATE_VIDEO_THUMBNAIL:"update:video:thumbnail",DELETE_VIDEO_THUMBNAIL:"delete:video:thumbnail",UPDATE_FOLDER_BANNER:"update:folder:banner",DELETE_FOLDER_BANNER:"delete:folder:banner",DELETE_VIDEO:"delete:video",DISSOC_VIDEO:"dissoc:video",UPDATE_FIELD:"update:field",ADD_FIELD:"add:field",DELETE_FIELD:"delete:field",ASSOC_RATING:"assoc:video",DISSOC_RATING:"dissoc:rating",SEARCH_VIDEOS:"search:videos",SEARCH_FILTERS:"search:filters",SHARED_RESOURCE:"shared:resource",UPDATE_VIDEO_RESTRICTION:"update:video:restriction",SETTINGS:"settings",UPDATE_SETTING:"update:setting",GENERATE_PDF:"generate:pdf",GENERATE_COLLECTION_PDF:"generate:collection:pdf",GENERATE_CUSTOM_PDF:"generate:custom:pdf",STAFF_REQUESTS:"staff:requests",CUSTOMER_VIDEO:"customer:video",CUSTOMER_FOLDERS:"customer:folders",CUSTOMER_VIDEOS:"customer:videos",CUSTOMER_SMART_VIDEOS:"customer:smart:videos",CUSTOMER_METADATA:"customer:metadata",CLOUD_SYNC_STATUS:"cloud:sync:status",STAFF_REQUEST_BY_ID:"staff:requests:by:id",STAFF_REQUEST_MESSAGES:"staff:requests:messages",GET_TAGS:"get:tags",CREATE_TAG:"create:tag",ASSOC_TAG:"assoc:tag",DISSOC_TAG:"dissoc:tag",CREATE_SERIES:"create:series",CURRENT_USER:"currentuser",USER_BY_ID:"user:by:id",CREATE_CHAPTER:"create:chapter",UPDATE_CHAPTER:"update:chapter",DELETE_CHAPTER:"delete:chapter",CONCATENATE_CHAPTERS:"concatenate:chapters",CONCATENATE_STATUS:"concatenate:status",VIDEO_HAS_PHYSICAL_CHAPTERS:"video:has:physical:chapters",UPLOAD_IMAGE:"upload:image",FINALISATION:"finalisation",CUSTOMER:"customer",BACKUP_TOOL:"backup:tool",LOCAL_CACHE_DEVICES:"local:cache:devices",LOCAL_CACHE_DOWNLOADS:"local:cache:downloads",ADD_VIDEO_TO_LOCAL_CACHE:"add:video:to:local:cache",LOCALE:"locale",PHRASES:"phrases",SUGGEST_EDIT:"suggest:edit",UPDATE_FOLDER_THUMBNAIL:"update:folder:thumbnail",DELETE_FOLDER_THUMBNAIL:"delete:folder:thumbnail",LIBRARY_FOLDERS:"library:folders",RESOURCE:"resource",CREATE_RESOURCE:"create:resource",UPDATE_RESOURCE:"update:resource",DELETE_RESOURCE:"delete:resource",CREATE_SUBTITLE:"create:subtitle",DELETE_SUBTITLE:"delete:subtitle",LINK:"link",CREATE_LINK:"create:link",UPDATE_LINK:"update:link",DELETE_LINK:"delete:link",CREATE_COMPANY:"create:company",CREATE_PERSON:"create:person",BULK_DISSOC:"bulk:dissoc",CREATE_SEASON:"create:season"}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SHOW_POPUP:"show:popup",ROUTE:"route",LOCK_NAV:"lock:nav",UNLOCK_NAV:"unlock:nav",NAV_IS_LOCKED:"navigation:islocked",NAV_UNLOCKED_BY_USER:"navigation:unlocked:by:user",ROUTING_START:"routing:start",ROUTING_END:"routing:end",HAS_ACTIVE_ROUTE:"has:active:route",ROUTE_LOOKUP:"route:look:up",URL_CHANGE:"url:change",ERROR:"error",CURRENT_ROUTE:"route:current"}},,function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.MostRecent=1]="MostRecent",t[t.AtoZ=2]="AtoZ",t[t.ProductionYear=3]="ProductionYear",t[t.Newest=4]="Newest",t[t.SeriesSort=5]="SeriesSort"}(r||(r={}))},,,function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return l}));var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(s,t);var e,n,r,u=c(s);function s(){return o(this,s),u.apply(this,arguments)}return e=s,(n=[{key:"name",get:function(){return"ErrorPageError"}}])&&i(e.prototype,n),r&&i(e,r),s}(n(2).a.SilentError)},function(t,e,n){t.exports={addLibraryButton:"fXaTF",addLibraryPlus:"_3Ygal",paddedContainer:"_1uVUJ",imageLarge:"_2-GAI",imageSmall:"_36Ljd"}},function(t,e,n){"use strict";var r=n(1),o=n(2),i=n(19),a=n(4),c=n(12),u=n(226);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=new(function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(a,t);var e,n,r,i=h(a);function a(){var t;return l(this,a),(t=i.apply(this,arguments)).contextHistory=[],t}return e=a,r=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"initialize",value:function(){this.listenTo(c.a.SHELL,o.a.EventNames.ROUTE,this.setContext)}},{key:"setContext",value:function(t){this.contextHistory.length>=5&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:t})}},{key:"getCurrentContext",value:function(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}},{key:"fromPageLoad",value:function(){return 1===this.contextHistory.length}},{key:"name",get:function(){return u.a.Context}}])&&f(e.prototype,n),r&&f(e,r),a}(o.a.Service)),v=n(119);function g(){var t=b.getCurrentContext().appLink;return r.isObject(t)||o.a.ErrorHelper.throw(new i.a("Applink does not exist. Check current context.")),t.application.replace(":","-")}function m(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.location,n=t.entity,r=t.workflowPhase,a=void 0===r?null:r,c=t.descriptor,u=void 0===c?null:c;return e||o.a.ErrorHelper.throw(new i.a("location must be set.")),n||o.a.ErrorHelper.throw(new i.a("entity must be set.")),{productArea:g(),location:e,entity:n,descriptor:u,workflowPhase:a}}function w(){return o.a.LocationUtils.GetCurrentPath()+o.a.LocationUtils.GetCurrentQueryString()}n.d(e,"a",(function(){return S}));var S={logUserAction:function(t,e){if(function(t){return!(!r.isArray(t)||!r.every(t,(function(t){return r.isObject(t)})))||!!r.isObject(t)}(t)&&r.isObject(e)){var n=S.buildUserActionEvent(e),o=n.userAction,i=n.action,a=n.eventVersion;v.a.log(o,t,i,a)}},logNavigate:function(t,e){var n=Object.assign({currentLocation:w(),appLink:t},e);v.a.log(a.q.Navigate,n)},mergeOptions:function(t,e){return r.extend({},t,e)},buildActionContext:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m(t)},buildUserActionEvent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.actionType,n=t.eventVersion,r=e,o=m(t);return{userAction:r,action:o,eventVersion:n}},buildCurrentLocation:function(){return w()},buildSearchEvent:function(t,e){return{data:{query:t},action:m({entity:a.e.Video,location:a.k.SearchBar,descriptor:e})}},buildInstantSearchEvent:function(t,e,n){var r;n===a.o.Series&&(r=a.e.Series),n===a.o.Folder&&(r=a.e.Folder),n===a.o.Tags&&(r=a.e.Tag),n===a.o.Video&&(r=a.e.Video);var o={instant:{},query:t};return e.id&&(o.instant.selectedId=e.id),e.name&&(o.instant.selectedName=e.name),{data:o,action:m({entity:r,location:a.k.SearchBar})}},mapInteractionType:function(t){switch(t){case a.i.DragDrop:return a.j.DragDrop;case a.i.FileSelect:return a.j.FileSelect;default:return}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={UPLOAD_COMPLETE:"upload:complete",FILES_SELECTED:"files:selected",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",PENDING_ITEM_READY_TO_WATCH:"pending:item:ready:to:watch",PENDING_ITEM_STATUS_CHANGE:"pending:item:status:change",PROCESSING_CANCELLED:"processing:cancelled",UNLOCK_NAV:"upload:unlock:nav"}},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SEARCH:"search:app:variables",NOTIFICATIONS:"notifications:app:variables",SUBJECTS:"subjects:app:variables"}},function(t,e,n){"use strict";var r,o,i,a,c,u,s;!function(t){t.Title="title",t.Views="viewsLast3Years"}(r||(r={})),function(t){t[t.None=0]="None",t[t.NoPublisher=5]="NoPublisher",t[t.BackupToolProcessesing=1]="BackupToolProcessesing",t[t.BackupToolCompleteWithError=2]="BackupToolCompleteWithError",t[t.BackupToolComplete=3]="BackupToolComplete",t[t.BackupCompleteWithError=8]="BackupCompleteWithError",t[t.BackupComplete=9]="BackupComplete",t[t.PublishingLibrary=6]="PublishingLibrary",t[t.LibraryPublished=7]="LibraryPublished"}(o||(o={})),function(t){t[t.None=0]="None",t[t.Smart=1]="Smart",t[t.Scratch=2]="Scratch",t[t.Full=3]="Full"}(i||(i={})),function(t){t.MigratedHidden="migratedHidden"}(a||(a={})),function(t){t[t.Valid=1]="Valid",t[t.BinaryRemoved=2]="BinaryRemoved",t[t.CloudFileNotFound=8]="CloudFileNotFound",t[t.CloudEmptyChapter=32]="CloudEmptyChapter",t[t.MediaProbingFailure=128]="MediaProbingFailure",t[t.CloudLocalChecksumNotMatch=16384]="CloudLocalChecksumNotMatch",t[t.CloudLocalDurationNotMatch=32768]="CloudLocalDurationNotMatch",t[t.CloudLocalChapterCountNotMatch=65536]="CloudLocalChapterCountNotMatch",t[t.TrackingCodeNotFound=536870912]="TrackingCodeNotFound",t[t.Exception=134217728]="Exception",t[t.CloudDurationDirty=1073741824]="CloudDurationDirty",t[t.LocalFileNotFound=16]="LocalFileNotFound",t[t.DbEmptyChapter=64]="DbEmptyChapter",t[t.DbChapterChecksumNotFound=256]="DbChapterChecksumNotFound",t[t.DbChapterDurationNotFound=512]="DbChapterDurationNotFound",t[t.DbChapterFileSizeNotFound=1024]="DbChapterFileSizeNotFound",t[t.DbChapterChecksumNotMatch=2048]="DbChapterChecksumNotMatch",t[t.DbChapterDurationNotMatch=4096]="DbChapterDurationNotMatch",t[t.DbChapterFileSizeNotMatch=8192]="DbChapterFileSizeNotMatch",t[t.SubtitleUploadFailure=131072]="SubtitleUploadFailure",t[t.ResourceUploadFailure=262144]="ResourceUploadFailure",t[t.ResourceFileNotFound=524288]="ResourceFileNotFound",t[t.ResourceFileInvalid=1048576]="ResourceFileInvalid",t[t.DbResourceChecksumNotFound=2097152]="DbResourceChecksumNotFound",t[t.DbResourceExtensionNotFound=4194304]="DbResourceExtensionNotFound",t[t.DbResourceFileSizeNotFound=8388608]="DbResourceFileSizeNotFound",t[t.DbResourceChecksumNotMatch=16777216]="DbResourceChecksumNotMatch",t[t.DbResourceFileSizeNotMatch=33554432]="DbResourceFileSizeNotMatch",t[t.CoverImageUploadFailure=67108864]="CoverImageUploadFailure",t[t.BackupIgnored=268435456]="BackupIgnored"}(c||(c={})),function(t){t[t.Valid=1]="Valid",t[t.Warning=2]="Warning",t[t.Error=3]="Error"}(u||(u={})),function(t){t.Migrated="migrated",t.Remaining="remaining",t.Errored="errored",t.ContentMatched="content-matched"}(s||(s={})),n.d(e,"e",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"f",(function(){return c})),n.d(e,"d",(function(){return s}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={CONTENT:"content",TOP_NAV:"topNav",PAGE_HEADER:"pageHeader",LEFT_NAV:"leftNav",POPUP:"popup",ALERT:"alert",PAGE_FOOTER:"pageFooter",HIDDEN:"hidden",TOP_BANNER:"topBanner"};r.ALERT,r.POPUP,r.HIDDEN},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(2),o=n(79),i=n(83),a=n(63),c=n(30),u={isSelected:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=u.getSelectedViewModel(t),r=n.get("selected")||"";return r.toString()===e.toString()},isParent:function(t,e){var n=u.getSelectedViewModel(t).get("parents");return!!n&&!!n[e]},getSelectedViewModel:function(t){return c.a.get("foldertreehelper:".concat(t))},deselectAll:function(t,e){e&&u.getSelectedViewModel(t).clear()},setSelected:function(t,e,n,o){if(n&&(e instanceof r.a.Model||(e=u.getModelFromCollection(e,n)),e)){var i=u.getSelectedViewModel(t);o||(u.deselectAll(t,n),i.set("selected",e.get("id")));var a={};e.collection&&function t(e){if(e){var n=e.get("id");n!==i.get("id")&&(a[n]=!0),e.collection&&t(e.collection.parent)}}(e),i.set("parents",a)}},getSelected:function(t,e){var n=u.getSelectedViewModel(t).get("selected");return n?u.getModelFromCollection(n,e):null},newFolder:function(){return new i.a},getModelFromCollection:function(t,e){if(!e)return null;for(var n=function e(n){if(n.get("id")&&t&&n.get("id").toString()===t.toString())return n;var r=n.children;if(!r||!r.length)return null;for(var o=0;o<r.length;o++){var i=e(r.at(o));if(i)return i}},r=0;r<e.length;r++){var o=n(e.at(r));if(o)return o}return null},getParent:function(t,e){var n=u.getModelFromCollection(t,e);if(!n||!n.collection||!n.collection.parent)return null;var r=n.collection.parent;return r.get("type")===a.a.CategoryTree?r.collection.parent:r},addFolder:function(t,e,n){var r,o=n;e&&(r=u.getModelFromCollection(e,o)),r&&(r.children||r.set("children",[]),o=r.children),o.add(t.toJSON())},addFolderToLibrary:function(t,e,n){var r=n.get(e);r&&u.addFolder(t,r.get("id"),n)},flatten:function(t){var e=new o.a(t.toJSON()),n=new r.a.Collection,i=-1;return e.each((function t(e){var r=e.get("type")===a.a.Folder||e.get("type")===a.a.CustomLibrary;r&&(n.add(e),e.set("depth",++i)),e.children&&e.children.length&&e.children.each(t),r&&i--})),n},getFirstType:function(t,e){var n;return t.find((function t(r){return r.get("type")===e?(n=r,!0):!(!r.children||!r.children.length)&&!!r.children.find(t)})),n},getLibrary:function(t,e){var n,r=u.getModelFromCollection(t,e);if(!r)return null;return function t(e){return e.get("type")===a.a.CustomLibrary?(n=e,!0):!(!e.collection||!e.collection.parent)&&t(e.collection.parent)}(r),n},isSubFolder:function(t){return!!(t&&t.collection&&t.collection.parent)&&t.collection.parent.get("type")===a.a.Folder},getFolderDepth:function(t,e){for(var n=u.getModelFromCollection(t,e),r=-1;n;)n=n.collection&&n.collection.parent,r++;return r},getFolderChord:function(t){var e=t,n=[];do{n.unshift(e.get("name")),e=e.collection?e.collection.parent:null}while(e);return n.join("->")},getDepthOfChildren:function(t){var e=0;if(!t.children||!t.children.length)return e;e++;for(var n=0,r=0;r<t.children.length;r++){var o=t.children.models[r],i=u.getDepthOfChildren(o);i>n&&(n=i)}return e+=n},calculateDestinationFolderDepth:function(t,e,n){var r=t&&u.getDepthOfChildren(t)||0;return(n&&u.getFolderDepth(e,n)||0)+1+r}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(97);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e){t.exports=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return g}));var r,o,i=n(1),a=n(6),c=n(146),u=n(81),s=n(61),l=n(12),f=n(114);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}!function(t){t.Success="success",t.Warning="warning",t.Fail="danger",t.Info="info"}(r||(r={})),function(t){t.Success="Success! 🙌",t.Warning="Whoops...",t.Fail="Oops...",t.Info="FYI"}(o||(o={}));var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(s,t);var e,n,r,o=d(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),o.call(this,t)}return e=s,(n=[{key:"initialize",value:function(){this.alertCollection=new c.a,this.listenTo(l.a.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}},{key:"showAlerts",value:function(){var t=a.Radio.channel(l.a.ALERT),e={collection:this.alertCollection};this.options.alertViewCtor&&(e=i.extend({},e,{ctor:this.options.alertViewCtor})),t.trigger("show:alert",e)}},{key:"removeAlert",value:function(t){this.alertCollection.remove(t),this.showAlerts()}},{key:"createAlert",value:function(t){this.alertCollection.length===this.options.maxAlerts&&this.alertCollection.shift(),t.id||(t=i.extend({},t,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new u.a(t)),this.showAlerts()}},{key:"clearAllAlerts",value:function(){this.alertCollection.reset(null)}},{key:"success",value:function(t){var e=this;return"string"==typeof t?i.bind((function(){return e.createAlert(i.extend({},e.options.defaultSuccessAlert,{message:t}))}),this):t.useXHR?i.bind((function(t,n){return e.createAlert(i.extend({},e.options.defaultSuccessAlert,{message:n}))}),this):i.bind((function(){return e.createAlert(i.extend({},e.options.defaultSuccessAlert,t))}),this)}},{key:"error",value:function(t){var e=this;return"string"==typeof t?i.bind((function(){return e.createAlert(i.extend({},e.options.defaultErrorAlert,{message:t}))}),this):t.useXHR?i.bind((function(t){return e.createAlert(i.extend({},e.options.defaultErrorAlert,{message:t.message}))}),this):i.bind((function(){return e.createAlert(i.extend({},e.options.defaultErrorAlertIL_DEFAULT,t))}),this)}},{key:"generateUniqueAlertId",value:function(){return i.uniqueId("alert_")}},{key:"name",get:function(){return f.a.ALERT}},{key:"defaults",get:function(){return{maxAlerts:3}}}])&&h(e.prototype,n),r&&h(e,r),s}(s.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SUBJECT_PLAYLISTS:"subject:playlists",CURRENT_USER:"current:user",WORKSPACE:"workspace",CONFIG:"config",LOCALE:"locale",PHRASES:"phrases",SEARCH_FILTERS:"search:filters",SERIES:"series",NOTIFICATIONS:"notifications",SUGGEST_EDIT:"suggest:edit"}},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return c}));var r,o=(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=function(t){function e(e,n){var r=this,o=this.constructor.prototype;return(r=t.call(this,e)||this).statusCode=n,r.__proto__=o,r}return o(e,t),e}(Error),a=function(t){function e(e){void 0===e&&(e="A timeout occurred.");var n=this,r=this.constructor.prototype;return(n=t.call(this,e)||this).__proto__=r,n}return o(e,t),e}(Error),c=function(t){function e(e){void 0===e&&(e="An abort occurred.");var n=this,r=this.constructor.prototype;return(n=t.call(this,e)||this).__proto__=r,n}return o(e,t),e}(Error)},,function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(6);function o(t,e,n,o){var i=t;return"string"==typeof t&&(i=r.Radio.channel(t)),o.call(this,i,e,n)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(47),o=n(410),i={isPublishingLibraries:function(t){return a(r.a.PublishingLibrary,t)},librariesPublished:function(t){return a(r.a.LibraryPublished,t)},isInitialMigration:function(t){return c(r.c.None,t)&&!a(r.a.NoPublisher,t)},migrationInitialized:function(t){return!c(r.c.None,t)},backupProcessing:function(t){return a(r.a.BackupToolProcessesing,t)||a(r.a.BackupToolCompleteWithError,t)||a(r.a.BackupToolComplete,t)},backupCompleteWithoutError:function(t){return a(r.a.BackupComplete,t)},backupComplete:function(t){return a(r.a.BackupComplete,t)||a(r.a.BackupCompleteWithError,t)},backupCompleteWithError:function(t){return a(r.a.BackupCompleteWithError,t)},backupNotStarted:function(t){return a(r.a.None,t)},showPublisherArchive:function(t){return!i.noPublisher(t)},noPublisher:function(t){return a(r.a.NoPublisher,t)},fullMigrationInitialized:function(t){return i.migrationInitialized(t)&&t.get("migrationOption")===r.c.Full},isCurrentlyMigratingAll:function(t){return t&&t.finalisationTask&&t.finalisationTask.get("type")===o.a.MigrateAllPhase1}};function a(t,e){return e&&e.get("cloudSyncStatus")===t}function c(t,e){return e&&e.get("migrationOption")===t}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.ExchangeVideoAvailable="exchange-video-available",t.WorkspaceVideoAvailable="workspace-video-available",t.Marketing="marketing",t.EditedVideoAvailable="edited-video-available",t.VideoRequestAvailable="pay-tv-video-available",t.VideoRequestDenied="pay-tv-video-denied",t.VideoReviewReminder="term-update-review-reminder",t.VideoReviewAddedToLibrary="term-update-review-videos-added-to-library",t.CustomLibraryVideoAvailable="custom-library-video-available",t.VideoProcessingFailed="video-processing-failed",t.StaffRequest="new-staff-request",t.StaffRequestFulfilled="staff-request-fulfilment",t.ChapterMergeSuccess="media-concatenate-success",t.SuggestEdit="suggest-an-edit"}(r||(r={}))},,function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.FollowingBetaAccess="following_beta_access",t.MustCompleteOnboarding="must_complete_onboarding",t.StudentWorkspaceSharing="student_ws_sharing",t.StudentToStudentMessaging="student_to_student_messaging",t.HideResourcesForStudents="hide_resources_for_students",t.LibraryReview="library_review",t.SchoolMessaging="school_messaging",t.LegacyTvNaming="legacy_tv_naming",t.LegacyAlbertCustomer="legacy_albert_customer",t.HideHostedLibraries="hide_hosted_libraries",t.StaffRequest="staff_request",t.MaxCustomLibraries="max_custom_libraries",t.CustomLibrariesBetaAccess="custom_libraries_beta_access",t.AutoCaptioning="auto_captioning",t.HasCompletedOnboarding="has_completed_onboarding",t.BulkOnboardingPreferencesState="bulk_onboarding_preferences_state"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(51),o=n(56),i=n(11);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(f,t);var e,n,r,a=l(f);function f(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),(e=a.call(this,t)).name||i.c.throw(new i.b("Your service must be named.")),e}return e=f,(n=[{key:"listenTo",value:function(){return o.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],u(p(f.prototype),"listenTo",this))}}])&&c(e.prototype,n),r&&c(e,r),f}(r.Object)},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n.d(e,"a",(function(){return o}));var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.variables={}}var e,n,o;return e=t,o=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"get",value:function(t){return this.variables[t]}},{key:"setUpVariables",value:function(t){this.variables=t}},{key:"name",get:function(){return"EnvironmentVariables"}},{key:"isDevelopment",get:function(){return this.variables.isDevelopment}}])&&r(e.prototype,n),o&&r(e,o),t}().Instance},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Folder="category",t.CategoryTree="category_tree",t.CustomLibrary="custom_library",t.HostedLibrary="hosted_library",t.Exchange="exchange",t.Workspace="workspace"}(r||(r={}))},,,,,function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Guest="Guest",t.User="User",t.Admin="Admin",t.SuperAdmin="SuperAdmin",t.System="System"}(r||(r={}))},,,,,function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Ajax="AjaxDataProvider",t.Notifications="NotificationsSignalRDataProvider"}(r||(r={}))},function(t,e,n){"use strict";var r,o;n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o})),function(t){t.Direct="direct-search",t.Recent="recent-searches"}(r||(r={})),function(t){t[t.Remote=0]="Remote",t[t.Local=1]="Local"}(o||(o={}))},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Other=0]="Other",t[t.Alert=1]="Alert",t[t.Warning=2]="Warning",t[t.Info=3]="Info",t[t.Success=4]="Success"}(r||(r={}))},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(83);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}},{key:"comparator",get:function(){return function(t){var e;return null===(e=t.get("name"))||void 0===e?void 0:e.toLowerCase()}}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e,n){"use strict";n(215),n(217);var r=n(218),o=(n(214),n(31)),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="shared.tooManyFiles",h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(a,t);var e,n,r,o=s(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,i.a.getPhrase(p,"title"))}return e=a,(n=[{key:"name",get:function(){return"TooManyFilesError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:i.a.getPhrase(p,"body"),buttons:[{text:i.a.getPhrase(p,"okay"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),r&&c(e,r),a}(o.a),y=n(40),d=n(0);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==b(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(a,t);var e,n,r,o=m(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,i.a.getPhrase("shared.customerSetting","title"))).settingName=t,e}return e=a,(n=[{key:"name",get:function(){return"CustomerSettingError"}},{key:"heading",get:function(){return i.a.getPhrase("shared.customerSetting","heading",{settingName:d.j[this.settingName]})}}])&&v(e.prototype,n),r&&v(e,r),a}(y.a);function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=P(t);if(e){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(t,e){return!e||"object"!==C(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var T=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(a,t);var e,n,r,o=_(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,i.a.getPhrase("shared.localCacheDeviceNotFound","title"))}return e=a,(n=[{key:"name",get:function(){return"LocalCacheDeviceNotFoundError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("shared.localCacheDeviceNotFound","heading"),text:i.a.getPhrase("shared.localCacheDeviceNotFound","body")}}}])&&k(e.prototype,n),r&&k(e,r),a}(o.a),x=n(82);function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function L(t,e){return(L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function A(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=N(t);if(e){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(t,e){return!e||"object"!==j(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var M=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L(t,e)}(a,t);var e,n,r,o=A(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,i.a.getPhrase("shared.emailNotVerified","title"))).onlineUrl=t,e}return e=a,(n=[{key:"name",get:function(){return"EmailNotVerifiedError"}},{key:"heading",get:function(){return i.a.getPhrase("shared.emailNotVerified","heading")}},{key:"description",get:function(){var t=x.a.safeUrlConcat(this.onlineUrl,d.t.VERIFY_EMAIL);return i.a.getPhrase("shared.emailNotVerified","verify",{url:t,linkClasses:"info-link"})}}])&&D(e.prototype,n),r&&D(e,r),a}(y.a);function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function F(t,e){return(F=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function H(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=B(t);if(e){var o=B(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z(this,n)}}function z(t,e){return!e||"object"!==V(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function B(t){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F(t,e)}(a,t);var e,n,r,o=H(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,i.a.getPhrase("shared.noBetaAccess","title"))).marketingSiteUrl=t,e}return e=a,(n=[{key:"name",get:function(){return"NoBetaAccessError"}},{key:"heading",get:function(){return i.a.getPhrase("shared.noBetaAccess","heading")}},{key:"description",get:function(){return"".concat(i.a.getPhrase("shared.noBetaAccess","body"),'\n <a href="').concat(this.marketingSiteUrl,'library-editor">').concat(i.a.getPhrase("shared.noBetaAccess","findOutMore"),"</a>")}}])&&U(e.prototype,n),r&&U(e,r),a}(y.a);n.d(e,"e",(function(){return r.a})),n.d(e,"f",(function(){return h})),n.d(e,"a",(function(){return O})),n.d(e,"c",(function(){return T})),n.d(e,"b",(function(){return M})),n.d(e,"d",(function(){return q}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(1),o=n(6),i=n(56);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=h(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h(t);if(e){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(p,t);var e,n,o,a=f(p);function p(){return c(this,p),a.apply(this,arguments)}return e=p,(n=[{key:"mixin",value:function(t){for(var e in t){if(this.hasOwnProperty(e)){var n=this[e];return void(this[e]=r.extend({},n,t[e]))}this[e]=t[e]}}},{key:"addValidation",value:function(t){this.mixin({validation:t})}},{key:"validate",value:function(t,e){s(h(p.prototype),"validate",this).call(this,t,e)}},{key:"listenTo",value:function(){return i.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],s(h(p.prototype),"listenTo",this))}}])&&u(e.prototype,n),o&&u(e,o),p}(o.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=/\/$/,i={urlBuilder:function(t,e){var n=r.map(e,(function(t,e){return e&&Array.isArray(t)?t.map((function(t){return"".concat(e,"=").concat(encodeURIComponent(t))})).join("&"):e&&void 0!==t?"".concat(e,"=").concat(encodeURIComponent(t)):""})),o=r.reduce(n,(function(t,e){return e?t?"".concat(t,"&").concat(e):e:t}));return o?"".concat(t,"?").concat(o):t},buildFilter:function(t){var e=[];if(t.limit&&e.push("limit:".concat(t.limit)),t.cursor&&e.push("page:".concat(t.cursor)),t.before&&e.push("dateCreated:...".concat(t.before)),e.length)return e.join(",")},makeHttps:function(t){return r.isString(t)?-1===t.indexOf("http://")?t:t=t.replace("http://","https://"):t},safeUrlConcat:function(t,e){if(t){var n=t;return t.endsWith("/")||(n+="/"),e?n+=e.startsWith("/")?e.slice(1):e:n}},removeTrailingSlash:function(t){if("string"==typeof t)return t.replace(o,"")}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(2),o=n(50),i=n(79),a=n(153),c=n(89);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(h,t);var e,n,r,u=p(h);function h(){return s(this,h),u.apply(this,arguments)}return e=h,(n=[{key:"parse",value:function(t){if(!t.data)return t;var e=t.data;return e.children=t.children,e}},{key:"associations",get:function(){return{banner:a.a,thumbnail:c.a,children:i.a,videos:o.a}}}])&&l(e.prototype,n),r&&l(e,r),h}(r.a.NestedModel)},,,,function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o=function(t,e,n){this.statusCode=t,this.statusText=e,this.content=n},i=function(){function t(){}return t.prototype.get=function(t,e){return this.send(r({},e,{method:"GET",url:t}))},t.prototype.post=function(t,e){return this.send(r({},e,{method:"POST",url:t}))},t.prototype.delete=function(t,e){return this.send(r({},e,{method:"DELETE",url:t}))},t.prototype.getCookieString=function(t){return""},t}()},function(t,e,n){"use strict";var r=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return i(this,n),e.apply(this,arguments)}return n}(r.a.Model);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(i,t);var e,n,r,o=d(i);function i(){return p(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"idAttribute",get:function(){return"videoId"}}])&&h(e.prototype,n),r&&h(e,r),i}(r.a.Model),m=n(117);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=E(t);if(e){var o=E(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==w(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var _=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(n,t);var e=C(n);function n(){return S(this,n),e.apply(this,arguments)}return n}(r.a.Model);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function x(t,e){return(x=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=L(t);if(e){var o=L(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D(this,n)}}function D(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var A=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&x(t,e)}(i,t);var e,n,r,o=j(i);function i(){return P(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"associations",get:function(){return{keyContact:m.a,finalisationTask:_}}}])&&T(e.prototype,n),r&&T(e,r),i}(r.a.NestedModel),I=n(83),N=n(233),M=n(1);function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function H(t,e,n){return(H="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=W(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function z(t,e){return(z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function B(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=W(t);if(e){var o=W(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q(this,n)}}function q(t,e){return!e||"object"!==V(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&z(t,e)}(i,t);var e,n,r,o=B(i);function i(){return U(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"parse",value:function(t){return t.id=t.chord,t.children&&!t.children.length&&(t.children=null),t}},{key:"associations",get:function(){return M.extend({},H(W(i.prototype),"associations",this),{children:N.a})}}])&&F(e.prototype,n),r&&F(e,r),i}(I.a);function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K(t,e){return(K=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Q(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=$(t);if(e){var o=$(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Z(this,n)}}function Z(t,e){return!e||"object"!==G(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function $(t){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var X=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K(t,e)}(n,t);var e=Q(n);function n(){return J(this,n),e.apply(this,arguments)}return n}(r.a.Model);function tt(t){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function et(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e){return(nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=it(t);if(e){var o=it(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ot(this,n)}}function ot(t,e){return!e||"object"!==tt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function it(t){return(it=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var at=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nt(t,e)}(n,t);var e=rt(n);function n(){return et(this,n),e.apply(this,arguments)}return n}(r.a.Model);function ct(t){return(ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ut(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e){return(st=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function lt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=pt(t);if(e){var o=pt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ft(this,n)}}function ft(t,e){return!e||"object"!==ct(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function pt(t){return(pt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ht=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&st(t,e)}(n,t);var e=lt(n);function n(){return ut(this,n),e.apply(this,arguments)}return n}(r.a.Model);n.d(e,"a",(function(){return l})),n.d(e,"g",(function(){return g})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return Y})),n.d(e,"e",(function(){return X})),n.d(e,"f",(function(){return at})),n.d(e,"h",(function(){return ht}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={LIBRARY_EDITOR:"library:editor",MIGRATION_WIZARD:"migration:wizard"}},,,function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(131),a=n(74),c=n(122),u=n(2),s=n(3),l=n(15),f=n(541),p=n.n(f),h=n(243),y=n.n(h);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=w(t);if(e){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(i,t);var e,n,r,o=g(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,t)}return e=i,(n=[{key:"viewOptions",value:function(){return{styles:y.a,confirmSelectionText:s.a.getPhrase("shared.utils","confirmSelection",{svg:'<kbd><span class="'.concat(y.a.svgContainer,'">').concat(l.a.getSvg(l.b.Enter),"</span></kbd>")})}}},{key:"name",get:function(){return"ConfirmSelectionComponent"}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return"suggestion-footer empty-suggestion px-2 ".concat(y.a.selectionContainer," clearfix")}}])&&b(e.prototype,n),r&&b(e,r),i}(u.a.Component);function O(t){return function(t){if(Array.isArray(t))return C(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return C(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(t,e)}(t)||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 C(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return k}));var k={handleQuery:function(t,e){return function(n,r,o){if(e||(e={}),n&&e.ignoreOnQuery)return r([]);var u=n&&n.length>=c.a.ActivationLength;return e.fetchType!==a.a.Local||u?u?t instanceof i?t.search.call(t,n,r,o):r([{query:n}]):void 0:r(t.index.all())}},getTemplate:function(t){var e=arguments,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.fallbackTemplate,i=n.templateText;return function(n){var a=n.query;if(!a)return o.apply(void 0,O(e));if(a.length&&a.length<c.a.ActivationLength)return o.apply(void 0,O(e));var u=r.extend(n,{templateText:i});return t(u)}},getSearchSources:function(t){return r.map(t,(function(t,e){var n,r=t.typeaheadConfig,o=t.bloodhoundConfig,i=t.name,a=t.options;return o&&(n=k.buildBloodhound(o(i,a))),r({bloodhound:n,name:i},e,a)}))},buildBloodhound:function(t){return new i(t)},selectFirstResult:function(t,e,n,o){if(n&&!this.$el.find(".tt-cursor").length){var i=r.first(e);if(i&&!r.isEmpty(i)){var a=this.$el.find(".add-new");!a||i.id?(a&&a.hasClass("tt-cursor")&&a.removeClass("tt-cursor"),this.$el.find(".result:first").addClass("tt-cursor")):a.addClass("tt-cursor")}else this.$el.find(".tt-not-found").removeClass("tt-selectable tt-suggestion")}},emitEventOnInput:function(t,e,n,i){if(t)return function(a,c){o.Radio.channel(t).trigger(e,a,n,r.extend({},i,c))}},resetAssociationOnBlur:function(t){return function(e,n){var i=this.model.get(n),a=r.isNumber(this.model.id);return t[n]||a?"string"==typeof i&&i.length?a?void(t.id===this.model.id&&(this.model.set(t),o.Radio.channel(e).trigger("typeahead:set:input",t[n]))):(o.Radio.channel(e).trigger("typeahead:clear:input"),void this.model.set(t)):void 0:(this.model.clear(),void o.Radio.channel(e).trigger("typeahead:clear:input"))}},getConfirmSelectionTemplate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(){return new S(t).render().el}},clearInputOnBlur:function(t){o.Radio.channel(t).trigger("typeahead:clear:input")}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(2),o=n(12),i=n(22);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=new(function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(p,t);var e,n,a,f=l(p);function p(){var t;return c(this,p),(t=f.apply(this,arguments)).routeHistory=[],t.contextHistory=[],t}return e=p,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"initialize",value:function(){this.listenTo(o.a.SHELL,r.a.EventNames.ROUTE,this.setContext),this.listenTo(o.a.SHELL,r.a.EventNames.ROUTE,this.updateRouteHistory)}},{key:"setContext",value:function(t){this.contextHistory.length>=5&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:t})}},{key:"getCurrentContext",value:function(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}},{key:"getPreviousContext",value:function(){if(this.contextHistory.length&&!(this.contextHistory.length-2<0))return this.contextHistory[this.contextHistory.length-2]}},{key:"updateRouteHistory",value:function(t){(r.a.AppLinkHelper.getHref(t)||"/"===r.a.LocationUtils.GetCurrentPath())&&(this.routeHistory.length>=3&&this.routeHistory.unshift(),this.routeHistory.push({pageLoad:!this.routeHistory.length,appLink:t}))}},{key:"getCurrentRoute",value:function(){if(this.routeHistory.length)return this.routeHistory[this.routeHistory.length-1]}},{key:"getPreviousRoute",value:function(){if(this.routeHistory.length&&!(this.routeHistory.length-2<0))return this.routeHistory[this.routeHistory.length-2]}},{key:"fromPageLoad",value:function(){return 1===this.contextHistory.length}},{key:"name",get:function(){return i.b.Context}}])&&u(e.prototype,n),a&&u(e,a),p}(r.a.Service))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={SHORT:120,STANDARD:600}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Draft=0]="Draft",t[t.Published=1]="Published",t[t.Archive=2]="Archive",t[t.Pending=3]="Pending",t[t.Rejected=4]="Rejected",t[t.Processing=5]="Processing"}(r||(r={}))},function(t,e,n){"use strict";var r=n(2),o=n(89),i=n(184),a=n(306),c=n(307);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h(t);if(e){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(r.a.Model);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=w(t);if(e){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(n,t);var e=g(n);function n(){return b(this,n),e.apply(this,arguments)}return n}(r.a.Model),O=n(152),C=n(79),k=n(144),E=n(467),_=n(468),R=n(469),P=n(470),T=n(175);function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function L(t,e){return(L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function A(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=N(t);if(e){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(t,e){return!e||"object"!==x(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var M=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L(t,e)}(i,t);var e,n,r,o=A(i);function i(){return j(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return T.a}}])&&D(e.prototype,n),r&&D(e,r),i}(r.a.Collection);function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(t,e){return(F=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function H(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=B(t);if(e){var o=B(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z(this,n)}}function z(t,e){return!e||"object"!==V(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function B(t){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F(t,e)}(n,t);var e=H(n);function n(){return U(this,n),e.apply(this,arguments)}return n}(r.a.Model);function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function G(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function J(t,e){return(J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function K(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Z(t);if(e){var o=Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Q(this,n)}}function Q(t,e){return!e||"object"!==W(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var $=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J(t,e)}(i,t);var e,n,r,o=K(i);function i(){return Y(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return q}}])&&G(e.prototype,n),r&&G(e,r),i}(r.a.Collection),X=n(308),tt=n(288),et=n(230);function nt(t){return(nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function it(t,e){return(it=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function at(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ut(t);if(e){var o=ut(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ct(this,n)}}function ct(t,e){return!e||"object"!==nt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var st=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&it(t,e)}(i,t);var e,n,r,o=at(i);function i(){return rt(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return et.a}}])&&ot(e.prototype,n),r&&ot(e,r),i}(r.a.Collection),lt=n(309);function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function yt(t,e){return(yt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function dt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=vt(t);if(e){var o=vt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return bt(this,n)}}function bt(t,e){return!e||"object"!==ft(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function vt(t){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var gt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yt(t,e)}(i,t);var e,n,r,o=dt(i);function i(){return pt(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return lt.a}}])&&ht(e.prototype,n),r&&ht(e,r),i}(r.a.Collection),mt=n(236);function wt(t){return(wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function St(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ot(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ct(t,e){return(Ct=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function kt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_t(t);if(e){var o=_t(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Et(this,n)}}function Et(t,e){return!e||"object"!==wt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _t(t){return(_t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ct(t,e)}(a,t);var e,n,o,i=kt(a);function a(){return St(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return r.a.Model}}])&&Ot(e.prototype,n),o&&Ot(e,o),a}(r.a.Collection),Pt=n(182);function Tt(t){return(Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Dt(t,e){return(Dt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Lt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=It(t);if(e){var o=It(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return At(this,n)}}function At(t,e){return!e||"object"!==Tt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function It(t){return(It=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Nt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dt(t,e)}(i,t);var e,n,r,o=Lt(i);function i(){return xt(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return Pt.a}}])&&jt(e.prototype,n),r&&jt(e,r),i}(r.a.Collection);function Mt(t){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ft(t,e){return(Ft=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ht(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Bt(t);if(e){var o=Bt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zt(this,n)}}function zt(t,e){return!e||"object"!==Mt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Bt(t){return(Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return qt}));var qt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ft(t,e)}(s,t);var e,n,r,u=Ht(s);function s(){return Vt(this,s),u.apply(this,arguments)}return e=s,(n=[{key:"associations",get:function(){return{rating:a.a,series:i.a,season:O.a,categories:C.a,libraries:k.a,resources:M,interactives:$,chapters:X.a,thumbnail:o.a,producers:E.a,distributors:_.a,productionCompanies:R.a,directors:P.a,channel:c.a,tags:tt.a,subtitles:st,restrictions:gt,localCacheDownloads:mt.a,owner:y,playlist:S,fields:Rt,links:Nt}}}])&&Ut(e.prototype,n),r&&Ut(e,r),s}(r.a.NestedModel)},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(29),o=n(3),i=n(124),a="upload.utils",c={getStatus:function(t){if(c.hasError(t))return o.a.getPhrase(a,"videoProcessingError");if(!t.get("foregroundComplete")){var e=c.getProgress(t);return 0===e?o.a.getPhrase(a,"waiting"):o.a.getPhrase(a,"processing",{progress:e})}return c.isDone(t)?o.a.getPhrase(a,"complete"):o.a.getPhrase(a,"readyToWatch")},hasError:function(t){return t.get("pendingProcessStatus")===i.a.Error},isDone:function(t){return 2===t.get("pendingProcessStatus")},getProgress:function(t){return t.get("foregroundProgress")},hasExpired:function(t,e){var n=t.get("timeInitialized");return r().diff(n,"days")>=e}}},function(t,e,n){"use strict";var r=n(1),o=n(2),i=n(20),a=n(137);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h(t);if(e){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(p,t);var e,n,o,c=f(p);function p(){return u(this,p),c.apply(this,arguments)}return e=p,(n=[{key:"modelId",value:function(t){return t.type}},{key:"parse",value:function(t){var e=this;return r.map(r.keys(t),(function(n){var o=t[n],i=e.getType(n);return{id:i,type:i,options:r.map(o,(function(t){return{id:t,name:t,value:t}}))}}))}},{key:"getType",value:function(t){return"categories"===t?i.a.Folder:"tags"===t?i.a.Tags:t}},{key:"model",get:function(){return a.a}}])&&s(e.prototype,n),o&&s(e,o),p}(o.a.Collection);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(i,t);var e,n,r,o=m(i);function i(){return b(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return a.b}}])&&v(e.prototype,n),r&&v(e,r),i}(o.a.Collection);n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return O}))},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={CURRENT_USER:"currentUser",CONFIG:"config",VERSION:"version",LOCALE:"locale",PHRASES:"phrases",CUSTOMER_META:"customerMeta"}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t}var p;n.d(e,"c",(function(){return p})),n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return v})),function(t){t.LocalStorage="localStorage",t.SessionStorage="sesstionStorage"}(p||(p={}));var h=function(){function t(e){s(this,t),this.cachePrefix="_cv:",this.expireTime=3600,this.hasSupport=this.hasBrowserSupport(),this.type=e.type,this.hasSupport&&(this.storage=window[this.type])}return f(t,[{key:"get",value:function(t){if(this.hasSupport){var e=this.storage.getItem(t);try{return JSON.parse(e)}catch(t){return e}}}},{key:"set",value:function(t,e){if(this.hasSupport)try{return this.storage.removeItem(t),"string"!=typeof e?(this.storage.setItem(t,JSON.stringify(e)),!0):(this.storage.setItem(t,e),!0)}catch(t){return!1}}},{key:"remove",value:function(t){if(this.hasSupport)return this.storage.removeItem(t)}},{key:"length",value:function(){if(this.hasSupport)return this.storage.length}},{key:"clear",value:function(){if(this.hasSupport)return this.storage.clear()}},{key:"cacheSet",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.expireTime;this.cacheClean();var r={time:this.getCurrentTime()+1e3*n,data:null!=e&&e};return this.set("".concat(this.cachePrefix).concat(t),r)}},{key:"cacheGet",value:function(t){var e="".concat(this.cachePrefix).concat(t),n=this.get(e);return n?this.isExpired(n)?(this.remove(e),null):n.data:null}},{key:"cacheExists",value:function(t){var e="".concat(this.cachePrefix).concat(t),n=this.get(e);return!!n&&(!this.isExpired(n)||(this.remove(e),!1))}},{key:"cacheRemove",value:function(t){return this.remove("".concat(this.cachePrefix).concat(t))}},{key:"cacheFlush",value:function(){this.cacheClean()}},{key:"cacheClean",value:function(){if(this.hasSupport)for(var t=0;t<this.storage.length;t++){var e=this.storage.key(t);if(0===e.indexOf(this.cachePrefix)){var n=this.get(e);n&&n.time&&this.isExpired(n)&&this.remove(e)}}}},{key:"isExpired",value:function(t){return t.time<this.getCurrentTime()}},{key:"getCurrentTime",value:function(){return(new Date).getTime()}},{key:"hasBrowserSupport",value:function(){try{return this.type in window&&null!==window[this.type]}catch(t){return!1}}}]),t}(),y=function(t){o(n,t);var e=a(n);function n(){return s(this,n),e.apply(this,arguments)}return f(n,null,[{key:"Instance",get:function(){return this.instance||(this.instance=new this({type:p.LocalStorage}))}}]),n}(h),d=function(t){o(n,t);var e=a(n);function n(){return s(this,n),e.apply(this,arguments)}return f(n,null,[{key:"Instance",get:function(){return this.instance||(this.instance=new this({type:p.SessionStorage}))}}]),n}(h),b=y.Instance,v=d.Instance},function(t,e,n){t.exports={alertItem:"_6L-Rn",fadeIn:"_2ISjU",icon:"_3X3sP",alertContent:"_2_sUY",heading:"_2nrzl",message:"_1UIK0",link:"_2xwcl",svgContainer:"_2yj4z",alertList:"_1O_xv",removing:"_3pw7F",fadeOut:"eLPSS",removed:"OqzPi"}},,,,,,,,,function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Unknown=0]="Unknown",t[t.BadRequest=1]="BadRequest",t[t.Unauthorized=2]="Unauthorized",t[t.Forbidden=3]="Forbidden",t[t.NotFound=4]="NotFound",t[t.InternalServer=5]="InternalServer"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={ALERT:"AlertService",SCROLL:"ScrollService",LANGUAGE:"LanguageService"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){}return t.prototype.log=function(t,e){},t.instance=new t,t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={LAZY_LOAD:"lazy:load:behavior",POPUP:"popup:behavior",IMAGE_SELECT:"image:select:behavior"}},function(t,e,n){"use strict";var r=n(1),o=n(2);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(n,t);var e=u(n);function n(){return a(this,n),e.apply(this,arguments)}return n}(o.a.Model);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(n,t);var e=d(n);function n(){return h(this,n),e.apply(this,arguments)}return n}(o.a.Model);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=E(t);if(e){var o=E(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return _}));var _=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(a,t);var e,n,o,i=C(a);function a(){return w(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"parse",value:function(t){var e=["avatar","customerLogo"],n=r.omit(t,e);return r.each(e,(function(e){r.isObject(t[e])?n[e]=t[e]:t[e]&&(n[e]={url:t[e]})})),n}},{key:"associations",get:function(){return{avatar:f,customerLogo:g}}}])&&S(e.prototype,n),o&&S(e,o),a}(o.a.NestedModel)},function(t,e,n){"use strict";var r=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return i(this,n),e.apply(this,arguments)}return n}(r.a.Model),f=n(50);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(i,t);var e,n,r,o=b(i);function i(){return h(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"associations",get:function(){return{videos:f.a}}}])&&y(e.prototype,n),r&&y(e,r),i}(r.a.NestedModel);n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return m}))},function(t,e,n){"use strict";var r=n(6),o=n(120),i=n(225),a=n(2),c=n(19);function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s=n(4).g.V1,l=function(){function t(e,n,r,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.type=e,this.data=n,this.actionContext=r,this.eventVersion=o||s}var e,n,r;return e=t,(n=[{key:"isType",value:function(t){return t===this.type}},{key:"enrich",value:function(t,e){this.validateKey(t),this[t]=e}},{key:"get",value:function(t){if(t&&this[t])return this[t]}},{key:"validateKey",value:function(t){"type"!==t&&"data"!==t||a.a.ErrorHelper.throw(new c.a("".concat(t," is not a valid key"))),this[t]&&a.a.ErrorHelper.throw(new c.a("Event already contains an enrichment named ".concat(t)))}}])&&u(e.prototype,n),r&&u(e,r),t}();n.d(e,"a",(function(){return f}));var f={log:function(t,e,n,a){r.Radio.channel(i.a.ANALYTICS).trigger(o.a.Inlet,new l(t,e,n,a))}}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Inlet="event:inlet",t.Outlet="event:outlet"}(r||(r={}))},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Fifo="FifoMemoryCache"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={ActivationLength:1,SuggestionLimit:{Min:1,Default:3,Folder:3,Recent:3}}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Received=1]="Received",t[t.Seen=2]="Seen",t[t.Read=3]="Read"}(r||(r={}))},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Error=-1]="Error",t[t.Processing=1]="Processing",t[t.Completed=2]="Completed"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){}return t.write=function(e){return""+e+t.RecordSeparator},t.parse=function(e){if(e[e.length-1]!==t.RecordSeparator)throw new Error("Message is incomplete.");var n=e.split(t.RecordSeparator);return n.pop(),n},t.RecordSeparatorCode=30,t.RecordSeparator=String.fromCharCode(t.RecordSeparatorCode),t}()},function(t,e,n){"use strict";var r,o,i,a=n(3),c="search.utils",u=(new Date).getFullYear(),s={DURATION:[{id:"0",value:"0",start:0,end:599999,name:function(){return a.a.getPhrase(c,"short")},description:function(){return a.a.getPhrase(c,"lessThan10Min")}},{id:"600000",value:"600000",start:6e5,end:2399999,name:function(){return a.a.getPhrase(c,"medium")},description:function(){return a.a.getPhrase(c,"11To40Min")}},{id:"2400000",value:"2400000",start:24e5,end:Number.MAX_VALUE,name:function(){return a.a.getPhrase(c,"long")},description:function(){return a.a.getPhrase(c,"greaterThan40Min")}}],PRODUCTION_YEAR:[{id:"...",from:0,to:0,value:"...",name:function(){return a.a.getPhrase(c,"anyYear")},active:!0,isDefault:!0},{id:"".concat(u,"..."),from:u,to:0,value:"".concat(u,"..."),name:function(){return a.a.getPhrase(c,"thisYear")}},{id:"".concat(u-3,"..."),from:u-3,to:0,value:"".concat(u-3,"..."),name:function(){return a.a.getPhrase(c,"last3Years")}},{id:"".concat(u-10,"..."),from:u-10,to:0,value:"".concat(u-10,"..."),name:function(){return a.a.getPhrase(c,"last10Years")}}]};!function(t){t.Video="video",t.Folder="folder",t.Series="series",t.HostedLibrary="hosted_library",t.CustomLibrary="custom_library"}(r||(r={})),function(t){t.Since="since-",t.Before="before-",t.LongerThan="longer-than-",t.ShorterThan="shorter-than-",t.To="-to-",t.Libraries="libraries",t.Ratings="ratings"}(o||(o={})),function(t){t.Inclusive="inclusive",t.Exclusive="exclusive",t.Boolean="boolean",t.Range="range",t.Tag="tag"}(i||(i={}));var l,f=n(1),p=n(29),h=n(20),y=n(99),d=n(0);function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var v,g=(b(l={},h.a.Ratings,(function(t){var e=t.options.filter((function(t){return t.get("active")})),n=f.map(e,(function(t){return t.get("value")}));if(!n.length)return null;var r=f.min(n);r===t.options.first().get("value")&&(r=0);var o=f.max(n),i="".concat(r,"...").concat(o);return"rating:".concat(i)})),b(l,h.a.ProductionYear,(function(t){var e=t.options.find((function(t){return t.get("active")}));if(!e)return null;var n=e.get("from")||"",r=e.get("to")||"";if(!n&&!r)return null;var o="".concat(n,"...").concat(r);return"productionYear:".concat(o)})),b(l,h.a.Duration,(function(t){var e=t.options.filter((function(t){return t.get("active")}));if(!e.length)return null;var n=e.map((function(t){return t.get("start")})),r=e.map((function(t){return t.get("end")})),o=f.min(n),i=f.max(r);i===Number.MAX_VALUE&&(i="");var a="".concat(o,"...").concat(i);return"duration:".concat(a)})),b(l,"boolean",(function(t){return t.get("active")?"".concat(t.get("type"),":true"):""})),l);function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w,S=(m(v={},h.a.Sources,(function(t,e){if(t.options.any((function(t){return t.get("dry")}))){var n=[];return t.options.each((function(t){return n.push(t.get("id"))})),{sources:"".concat(n.join(","))}}var r=f.map(t.options.filter((function(t){return t.get("active")})),(function(t){return t.get("id")}));if(r.length||(r=t.options.models),r.length===e.length)return{};var i=[];f.every(R.getLibraries(e),(function(t){return f.contains(r,t.id)}))?i.push(o.Libraries):f.each(R.getLibraries(e),(function(t){f.contains(r,t.id)&&i.push("library-".concat(t.id))}));var a=R.getExchange(e),c=R.getWorkspace(e);return a&&f.contains(r,a.id)&&i.push("exchange"),c&&f.contains(r,c.id)&&i.push("workspace"),{libraries:"".concat(i.join(","))}})),m(v,h.a.Ratings,(function(t){var e=t.options.filter((function(t){return t.get("active")}));if(!f.map(e,(function(t){return t.get("value")})).length)return{};var n=f.min(e,(function(t){return t.get("value")})),r=f.max(e,(function(t){return t.get("value")})),i="".concat(n.get("name")).concat(o.To).concat(r.get("name"));return n.get("name")===r.get("name")&&(i=n.get("name")),{ratings:i}})),m(v,h.a.ProductionYear,(function(t){var e=t.options.find((function(t){return t.get("active")}));if(!e)return{};var n=e.get("from"),r=e.get("to");if(!n&&!r)return{};return{productionYear:n&&!r?"".concat(o.Since).concat(n):r&&!n?"".concat(o.Before).concat(r):"".concat(n).concat(o.To).concat(r)}})),m(v,h.a.Duration,(function(t){var e=t.options.filter((function(t){return t.get("active")}));if(!e.length||e.length===t.options.length)return{};var n=f.min(e,(function(t){return t.get("start")})),r=f.max(e,(function(t){return t.get("end")})),i=R.toISOString(n.get("start")),a=R.toISOString(r.get("end"));return{duration:i&&!a?"".concat(o.LongerThan).concat(i.toLowerCase()):a&&!i?"".concat(o.ShorterThan).concat(a.toLowerCase()):"".concat(i.toLowerCase()).concat(o.To).concat(a.toLowerCase())}})),m(v,h.a.Tags,(function(t){var e=f.map(t.options.filter((function(t){return t.get("active")})),(function(t){return t.get("name")}));if(e.length)return{tag:f.map(e,(function(t){return t}))}})),m(v,"boolean",(function(t){return t.get("active")?m({},t.get("type"),!0):{}})),m(v,"default",(function(t){var e=t.options.find((function(t){return t.get("active")}));return e?m({},t.get("type"),e.get("value")):{}})),v),O=n(27);function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var k=(C(w={},h.a.Sources,(function(t){var e=f.map(t.options.filter((function(t){return t.get("active")})),(function(t){return t.get("name")}));return 1===e.length?e[0]:a.a.getPhrase("search.utils","librariesLabel",{count:e.length})})),C(w,h.a.Ratings,(function(t){var e=t.options.filter((function(t){return t.get("active")}));if(!f.map(e,(function(t){return t.get("value")})).length)return"";var n=f.min(e,(function(t){return t.get("value")})),r=f.max(e,(function(t){return t.get("value")})),o="".concat(n.get("name")," to ").concat(r.get("name"));return n.get("name")===r.get("name")&&(o=n.get("name")),a.a.getPhrase("search.utils","ratingLabel",{ratings:o})})),C(w,h.a.ProductionYear,(function(t){var e=t.options.find((function(t){return t.get("active")}));if(!e)return"";var n=e.get("from"),r=e.get("to");return n||r?n&&!r?a.a.getPhrase("search.utils","productionYearLabelFrom",{from:n}):r&&!n?a.a.getPhrase("search.utils","productionYearLabelTo",{to:r}):a.a.getPhrase("search.utils","productionYearLabelFromTo",{from:n,to:r}):""})),C(w,h.a.Duration,(function(t){var e=t.options.filter((function(t){return t.get("active")}));if(!e.length)return"";var n=f.min(e,(function(t){return t.get("start")})),r=f.max(e,(function(t){return t.get("end")})),o=R.toISOString(n.get("start")),i=R.toISOString(r.get("end"));return o&&!i?a.a.getPhrase("search.utils","durationLabelLonger",{start:o.toLowerCase()}):i&&!o?a.a.getPhrase("search.utils","durationLabelShorter",{end:i.toLowerCase()}):a.a.getPhrase("search.utils","durationLabelFromTo",{start:o.toLowerCase(),end:i.toLowerCase()})})),C(w,h.a.Tags,(function(t){var e=f.map(t.options.filter((function(t){return t.get("active")})),(function(t){return t.get("name")}));return 1===e.length?e[0]:a.a.getPhrase("search.utils","tagLabel",{count:e.length})})),C(w,O.a.ReleaseDate,(function(t){var e=t.options.find((function(t){return t.get("active")}));return e?e.get("name"):t.get("title")})),w);function E(t){return function(t){if(Array.isArray(t))return _(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t)||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 _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var R={getFilterCollection:function(t,e){return new y.a([{title:a.a.getPhrase("search.utils","library"),type:h.a.Sources,behavior:i.Inclusive,isDynamic:!1,showInMoreFilters:!1,selectAllWhenNoneSelected:!0,minNumOptions:2,prefixWhenActive:!1,options:R.getSourceOptions(t)},{title:a.a.getPhrase("search.utils","folder"),type:h.a.Folder,behavior:i.Exclusive,isDynamic:!0,showInMoreFilters:!1,defaultOptionLabel:"All Folders",showWhenOnlyOneOption:!1,minNumOptions:0,prefixWhenActive:!0,options:[]},{title:a.a.getPhrase("search.utils","series"),type:h.a.Series,behavior:i.Exclusive,isDynamic:!0,showInMoreFilters:!1,defaultOptionLabel:"All Series",showWhenOnlyOneOption:!1,minNumOptions:1,prefixWhenActive:!0,options:[]},{title:a.a.getPhrase("search.utils","tag"),type:h.a.Tags,behavior:i.Tag,isDynamic:!0,showInMoreFilters:!1,showWhenOnlyOneOption:!0,minNumOptions:0,prefixWhenActive:!0,options:[]},{title:a.a.getPhrase("search.utils","rating"),type:h.a.Ratings,behavior:i.Range,isDynamic:!1,showInMoreFilters:!1,showWhenOnlyOneOption:!0,minNumOptions:1,prefixWhenActive:!1,options:R.getRatings(e)},{title:a.a.getPhrase("search.utils","interactives"),description:"Only display videos with interactives",type:h.a.Interactives,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!1,active:!1,prefixWhenActive:!1},{title:a.a.getPhrase("search.utils","resources"),description:a.a.getPhrase("search.utils","resourcesDescription"),type:h.a.Resources,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!1,active:!1,prefixWhenActive:!1},{title:a.a.getPhrase("search.utils","subtitles"),description:a.a.getPhrase("search.utils","subtitlesDescription"),type:h.a.Subtitles,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!1,active:!1,prefixWhenActive:!1},{title:a.a.getPhrase("search.utils","productionYear"),type:h.a.ProductionYear,behavior:i.Exclusive,isDynamic:!1,showInMoreFilters:!0,minNumOptions:1,prefixWhenActive:!1,options:s.PRODUCTION_YEAR},{title:a.a.getPhrase("search.utils","clickViewContent"),description:a.a.getPhrase("search.utils","clickViewContentDescription"),type:h.a.ProducedByClickView,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!0,active:!1,prefixWhenActive:!1},{title:a.a.getPhrase("search.utils","hdVideo"),description:a.a.getPhrase("search.utils","hdVideoDescription"),type:h.a.HD,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!0,active:!1,prefixWhenActive:!1},{title:a.a.getPhrase("search.utils","duration"),type:h.a.Duration,behavior:i.Exclusive,showInMoreFilters:!0,minNumOptions:1,isDynamic:!1,prefixWhenActive:!1,options:s.DURATION}])},getSourceOptions:function(t){return t.map((function(t){return{id:t.get("id"),name:t.get("name"),type:t.get("type"),value:t.get("id")}}))},getRatings:function(t){return t.filter((function(t){return!!t.get("value")})).map((function(t){return{value:t.get("value"),name:t.get("code"),fullName:t.get("name")}}))},getDynamicFiltersQueryString:function(t){var e,n=[],r=t.where({isDynamic:!0});return r?(f.each(r,(function(t){(e=t.options.filter((function(t){return t.get("active")}))).length&&e.forEach((function(e){return n.push("".concat(t.get("type"),':"').concat(e.get("value"),'"'))}))})),n.join(" ")):""},getSourceFilterQueryString:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"libraryIds",n=t.get(h.a.Sources),r=n.options.filter((function(t){return t.get("active")}));return r.length||(r=n.options.models),"".concat(e,"=").concat(f.map(r,(function(t){return t.get("id")})).join(","))},getTagFilterQueryString:function(t){var e=t.get(h.a.Tags).options.filter((function(t){return t.get("active")}));return e.length?"".concat(f.map(e,(function(t){return'tags:"'.concat(t.get("name"),'"')})).join(" ")):""},getQueryString:function(t){return t.map((function(t){return R.getFilterQueryString(t)})).filter((function(t){return t})).join(",")},getFilterQueryString:function(t){return R.isBooleanType(t)?g.boolean(t):f.isFunction(g[t.get("type")])?g[t.get("type")](t):""},getRouteQueryParams:function(t,e){var n=S,r={};return t.each((function(t){var o={};o=t.get("type")===h.a.Sources?n[h.a.Sources](t,e):f.isFunction(n[t.get("type")])?n[t.get("type")](t):R.isBooleanType(t)?n.boolean(t):n.default(t),r=f.extend(r,o)})),r},getFilterLabel:function(t){var e=R.createLabel(t);return e=R.truncateLabel(e),e=R.prefixLabel(e,t)},createLabel:function(t){if(t.get("behavior")===i.Boolean)return t.get("title");if(f.isFunction(k[t.get("type")]))return k[t.get("type")](t);var e=t.options.find((function(t){return t.get("active")}));return e?e.get("value"):""},prefixLabel:function(t,e){return e.get("prefixWhenActive")?R.getSelectedOptions(e.get("options")).length>1?t:"".concat(e.get("title"),": ").concat(t):t},truncateLabel:function(t){if(!t||t.length<20)return t;var e=t.slice(0,17);return"".concat(e,"...")},setFilters:function(t,e){f.each(f.keys(t),(function(n){var r=t[n],o=e.findWhere({type:n});o&&(R.isBooleanType(o)&&R.selectBoolean(n,r,e),n===h.a.Sources&&R.selectSources(r,e),n===h.a.Duration&&R.selectDurations(r,e),n===h.a.Folder&&R.selectFolder(r,e),n===h.a.ProductionYear&&R.selectProductionYear(r,e),n===h.a.Ratings&&R.selectRating(r,e),n===h.a.Series&&R.selectSeries(r,e),n===h.a.Tags&&R.selectTags(r,e))})),e.each((function(e){e.get("selectAllWhenNoneSelected")&&(f.contains(f.keys(t),e.get("type"))||R.selectAllOptions(e))}))},selectBoolean:function(t,e,n){n.get(t).set({active:e})},selectSources:function(t,e){var n=t.split(","),i=e.get(h.a.Sources);i.options.length?f.each(n,(function(t){var e=i.options.find((function(e){return e.get("type").toLowerCase()===t.toLowerCase()}));if(e)e.set("active",!0);else if(t!==o.Libraries){var n=t.split("-")[1];if(n){var a=i.options.findWhere({id:+n});a&&a.set("active",!0)}}else{var c=i.options.where({type:r.CustomLibrary});f.each(c,(function(t){return t.set("active",!0)}))}})):f.each(n,(function(t){i.options.add({id:t,name:t,dry:!0,active:!0,type:t})}))},selectDurations:function(t,e){var n,r,i,c=e.get(h.a.Duration),u=0;if(t.indexOf(o.LongerThan)>=0&&(n=t.replace(o.LongerThan,"")),t.indexOf(o.ShorterThan)>=0&&(r=t.replace(o.ShorterThan,"")),t.indexOf(o.To)>=0){var l=t.split(o.To);n=l[0],r=l[1]}i=n?p.duration("PT".concat(n.toString().toUpperCase())).asMilliseconds():0,u=r?p.duration("PT".concat(r.toString().toUpperCase())).asMilliseconds():Number.MAX_VALUE,c.options.each((function(t){var e=t.get("start"),n=t.get("end");i<=e+1001&&i>=e-1001&&u>=n-1001&&u<=n+1001&&t.set("active",!0)})),c.options.any((function(t){return t.get("active")}))||c.options.add([{id:"custom",start:i,end:u,name:a.a.getPhrase("search.utils","custom"),description:"".concat(t.replace(/-/g," ")),active:!0}].concat(E(s.DURATION)))},selectFolder:function(t,e){var n=e.get(h.a.Folder),r=n.options.find((function(e){return e.get("id").toLowerCase()===t.toLowerCase()}));r?r.set("active",!0):n.options.add([].concat(E(n.options.toJSON()),[{id:t,value:t,name:t,active:!0}]))},selectProductionYear:function(t,e){var n,r,i=e.get(h.a.ProductionYear);if(R.clearOptions(i),t.indexOf(o.Since)>=0&&(n=+t.replace(o.Since,"")),t.indexOf(o.Before)>=0&&(r=+t.replace(o.Before,"")),t.indexOf(o.To)>=0){var c=t.split(o.To);n=+c[0],r=+c[1]}i.options.each((function(t){+t.get("from")===n&&t.set("active",!0)})),i.options.any((function(t){return t.get("active")}))||i.options.add([{id:t,from:n,to:r,name:a.a.getPhrase("search.utils","custom"),value:t,active:!0}].concat(E(s.PRODUCTION_YEAR)))},selectRating:function(t,e){var n=e.get(h.a.Ratings),r=t.split(o.To);r[0]&&(r[0]=r[0].trim().toLowerCase()),r[1]&&(r[1]=r[1].trim().toLowerCase());var i=n.options.find((function(t){return t.get("name").toLowerCase()===r[0]})),a=n.options.find((function(t){return t.get("name").toLowerCase()===r[1]})),c=i&&i.get("value"),u=a&&a.get("value")||c,s=n.options.filter((function(t){return t.get("value")>=c&&t.get("value")<=u}));f.each(s,(function(t){return t.set("active",!0)}))},selectSeries:function(t,e){e.get(h.a.Series).options.add({id:t,value:t,name:t,count:0,active:!0})},selectTags:function(t,e){var n=e.get(h.a.Tags);if(!n.options.length){var r=f.isArray(t)?t:[t];f.each(r,(function(t){n.options.add({id:t,name:t,value:t,active:!0})}))}},showFilter:function(t){return t.get("behavior")===i.Boolean||t.options.length>=t.get("minNumOptions")},getExchange:function(t){return R.getSource(t,d.q.Exchange)},getWorkspace:function(t){return R.getSource(t,d.q.Workspace)},getLibraries:function(t){return[].concat(E(R.getSources(t,d.q.CustomLibrary)),E(R.getSources(t,d.q.HostedLibrary)))},getHostedLibraries:function(t){return R.getSources(t,d.q.HostedLibrary)},getCustomLibraries:function(t){return R.getSources(t,d.q.CustomLibrary)},getSource:function(t,e){return t.find((function(t){return t.get("type")===e}))},getSources:function(t,e){return t.filter((function(t){return t.get("type")===e}))},hasFilterChanged:function(t,e){return t.get("behavior")===i.Boolean?t.get("active")!==e.get("active"):R.isInclusiveType(t)||R.isTagType(t)?R.haveOptionsChanged(t,e):R.hasOptionChanged(t,e)},haveOptionsChanged:function(t,e){var n=e.options.where({active:!0}),r=t.options.where({active:!0});return!n||!r||(n.length!==r.length||!n.every((function(t,e){return t.get("value")===r[e].get("value")})))},hasOptionChanged:function(t,e){var n=R.getSelectedOption(e.options,t.get("behavior")),r=R.getSelectedOption(t.options,t.get("behavior"));return!(!n&&!r)&&(!!(!n&&r||n&&!r)||n.get("value")!==r.get("value"))},clearFilters:function(t){t.each((function(t){t.get("selectAllWhenNoneSelected")?R.selectAllOptions(t):t.get("behavior")===i.Boolean?t.set("active",!1):R.clearOptions(t,!0)}))},clearOptions:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.options.each((function(t){e&&t.get("isDefault")?t.set("active",!0):t.set("active",!1)}))},selectAllOptions:function(t){t.options.each((function(t){return t.set("active",!0)}))},getSelectedOption:function(t,e){return e===i.Range?R.getSelectedOptionInRange(t):t.findWhere({active:!0})},getSelectedOptions:function(t){return new y.b(t.filter((function(t){return t.get("active")})))},getSelectedOptionInRange:function(t){var e=t.where({active:!0});return f.last(e)},isInclusiveType:function(t){return t.get("behavior")===i.Inclusive},isBooleanType:function(t){return t.get("behavior")===i.Boolean},isTagType:function(t){return t.get("behavior")===i.Tag},isSelected:function(t){return R.isBooleanType(t)?t.get("active"):R.isInclusiveType(t)?!R.allOptionsSelected(t):R.hasOptionSelected(t)},hasOptionSelected:function(t){return t.options.any((function(t){return!t.get("isDefault")&&t.get("active")}))},allOptionsSelected:function(t){return t.options.every((function(t){return t.get("active")}))},toISOString:function(t){if(!t||t===Number.MAX_VALUE)return"";var e=Math.ceil(t/1e3);return p.duration(1e3*e).toISOString().replace("PT","")},getFilterSelectedOptionsAnalyticsData:function(t){if(R.isBooleanType(t))return t.get("active");if(R.isInclusiveType(t))return R.getInclusiveFilterSelectedOptionsAnalyticsData(t);var e=R.getSelectedOption(t.options,t.get("behavior"));return e&&e.get("name")},getInclusiveFilterSelectedOptionsAnalyticsData:function(t){var e=t.options.where({active:!0});return e.length||(e=t.options.toArray()),t.get("type")===h.a.Sources?e.map((function(t){return t.get("id")})).join(","):e.map((function(t){return t.get("name")})).join(",")}},P=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},T={setQueryParams:function(t,e,n){var r=t.query,o=P(t,["query"]);e.set({query:r,initialQuery:r}),R.setFilters(o,n)},getQueryString:function(t,e,n){var r="",o=T.encodeURL(t.get("query"))||"",i=R.getDynamicFiltersQueryString(e),a=R.getSourceFilterQueryString(e);(o||i)&&(r+="q=".concat(o)),i&&(r+=" ".concat(i)),r&&a&&(r+="&".concat(a));var c=[],u=R.getQueryString(e);return u&&c.push(u),n&&c.push("page:".concat(n)),c.length&&(r+="&filter={".concat(c.join(","),"}")),r},getDynamicFilterQueryString:function(t,e){var n="",r=t.get("query")?T.encodeURL(t.get("query")):"",o=R.getTagFilterQueryString(e),i=R.getSourceFilterQueryString(e,"ids");return(r||o)&&(n+="q=".concat(r)),o&&(n+=" ".concat(o)),i&&(n+="&".concat(i)),n},getRouteQueryParams:function(t,e,n){var r=t.get("query")?{query:t.get("query")}:{};return f.extend(r,R.getRouteQueryParams(e,n))},encodeURL:function(t){return t?t.replace("&","%26").replace("#","%23"):""}};n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return T})),n.d(e,"b",(function(){return R}))},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(79);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(f,t);var e,n,i,l=s(f);function f(){return a(this,f),l.apply(this,arguments)}return e=f,(n=[{key:"defaults",value:function(){return{children:[],categoryTree:{}}}},{key:"parse",value:function(t){if(!t.data)return t;var e=t.data;return e.children=t.children,e}},{key:"associations",get:function(){return{children:o.a,categoryTree:r.a.Model}}}])&&c(e.prototype,n),i&&c(e,i),f}(r.a.NestedModel)},function(t,e){t.exports=i},function(t,e,n){"use strict";var r=n(317),o=n.n(r);n.d(e,"d",(function(){return o.a}));var i=n(318),a=n.n(i);n.d(e,"b",(function(){return a.a}));var c=n(319),u=n.n(c);n.d(e,"c",(function(){return u.a}));var s=n(320),l=n.n(s);n.d(e,"a",(function(){return l.a}))},function(t,e,n){t.exports={svgContainer:"_1ZcbC",searchContextTag:"_1RLqh",tagFocus:"_179a5",searchContextContainer:"_3nPVB"}},function(t,e,n){t.exports={actions:"_1n37b",spinner:"_3Fpix",cancel:"_2ZmdX",hiddenCancel:"_1PypJ",processProgress:"_3dASy",errorMargin:"_3GfnF"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(1);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(l,t);var e,n,o,s=u(l);function l(){return i(this,l),s.apply(this,arguments)}return e=l,(n=[{key:"getElement",value:function(){return this.options.selector?this.view.getUI("tooltip"):this.view.$el}},{key:"getOptions",value:function(){var t={placement:this.options.placement};return this.options.title&&(t.title=this.options.title),t}},{key:"onRender",value:function(){var t=this.getElement();t.length&&t.tooltip(this.getOptions())}},{key:"onBeforeDetach",value:function(){var t=this.getElement();t instanceof jQuery&&t.tooltip("dispose")}},{key:"defaults",get:function(){return{placement:"top"}},set:function(t){}},{key:"ui",get:function(){return this.options.selector?{tooltip:this.options.selector}:{}},set:function(t){var e={};this.view.ui&&(e=r.result(this.view,"ui")),this.view._ui=r.extend({},e,t)}}])&&a(e.prototype,n),o&&a(e,o),l}(n(2).a.Behavior)},function(t,e,n){"use strict";n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return g}));var r=n(5),o=n(14),i=n(117),a=n(16),c=n(0),u=n(102),s=n(17);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(l,t);var e,n,r,o=y(l);function l(){return f(this,l),o.apply(this,arguments)}return e=l,(n=[{key:"getCurrentUser",value:function(t,e){return this.get({resource:"/api/currentuser",formatData:function(t){return new i.a(t,{parse:!0})},eventPrefix:c.f.CURRENT_USER,bootstrapName:u.a.CURRENT_USER,expiryTime:s.a.STANDARD,callback:t,errorCallback:e})}},{key:"name",get:function(){return a.a.User}},{key:"channelName",get:function(){return c.e.USER}}])&&p(e.prototype,n),r&&p(e,r),l}(o.a),g={currentUser:{dataServiceName:a.a.User,eventName:"".concat(c.f.CURRENT_USER,":sync"),getData:function(t){return t.getCurrentUser()},getInstance:function(t){return r.a.getInstance(a.a.User,t)},beforeOnBeforeRender:!0}}},function(t,e,n){"use strict";var r=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return i(this,n),e.apply(this,arguments)}return n}(r.a.Model),f=n(99);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(i,t);var e,n,r,o=b(i);function i(){return h(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"idAttribute",get:function(){return"type"}},{key:"associations",get:function(){return{options:f.b}}}])&&y(e.prototype,n),r&&y(e,r),i}(r.a.NestedModel);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_(t);if(e){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return E(this,n)}}function E(t,e){return!e||"object"!==w(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var R=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e)}(i,t);var e,n,r,o=k(i);function i(){return S(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"idAttribute",get:function(){return"value"}}])&&O(e.prototype,n),r&&O(e,r),i}(r.a.Model);n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return R}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return $})),n.d(e,"b",(function(){return X}));var r=n(1),o=n(6),i=n(5),a=n(14),c=n(232),u=n(96),s=n(0),l=n(83),f=n(130),p=n(153),h=n(89),y=n(79),d=n(144),b=n(49),v=n(16),g=n(8),m=n(17),w=n(90),S=n(13),O=n(3);function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function R(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=T(t);if(e){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return P(this,n)}}function P(t,e){return!e||"object"!==C(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(){return"/api/domain/v2/me/libraries?type=customlibrary&type=unpublishedcustomlibrary"},j=function(){return"/api/domain/v2/me/libraries?type=2"},D=function(t){return"/api/domain/v2/me/libraries?type=exchange&maxCategoryDepth=".concat(t)},L=function(t){return"/api/domain/v2/objects/".concat(t,"?query=").concat(s.A.FOLDER)},A=function(t,e){return"/api/domain/v2/collections/".concat(t,"/categories").concat(e?"?parentCategoryId=".concat(e):"")},I=function(t){return"/api/domain/v2/objects/".concat(t)},N=function(t){return"/api/domain/v2/objects/".concat(t)},M=function(){return"/api/domain/v2/objects/move"},V=function(t){return"/api/domain/v2/objects/".concat(t,"/customlibraries")},U=function(t){return"/api/domain/v2/objects/".concat(t)},F=function(t){return"/api/domain/v2/objects/".concat(t,"/banner")},H=function(t,e){return"/api/domain/v2/objects/".concat(t,"/banner/").concat(e)},z=function(t){return"/api/domain/v2/objects/".concat(t,"/thumbnail")},B=function(t,e){return"/api/domain/v2/objects/".concat(t,"/thumbnail/").concat(e)},q=function(t,e,n){var r=["query={".concat(e,"}").concat(s.A.LIBRARY_FOLDERS)];return n&&r.push("cursor=".concat(n)),"/api/domain/v2/objects/".concat(t,"/categories?").concat(r.join("&"))},W=function(){return"libraries"},Y=function(){return"hosted:libraries"},G=function(t){return"exchange:".concat(t)},J=function(t){return"".concat(s.f.FOLDER,":").concat(t)},K=function(t){return"library:".concat(t)},Q=function(t){return"library:status:".concat(t)},Z={libraries:function(t){return new d.a(t,{parse:!0})},folders:function(t){return new y.a(t.data)},folder:function(t){return new l.a(t)},library:function(t){return new f.a(t)}},$=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(c,t);var e,n,i,a=R(c);function c(){return k(this,c),a.apply(this,arguments)}return e=c,(n=[{key:"clearLibrariesCache",value:function(){this.invalidateCache([W()])}},{key:"getLibraries",value:function(t){return this.get({expiryTime:m.a.STANDARD,callback:t,resource:x(),formatData:Z.libraries,eventPrefix:W()})}},{key:"getHostedLibraries",value:function(t){return this.get({expiryTime:m.a.STANDARD,callback:t,resource:j(),formatData:Z.libraries,eventPrefix:Y()})}},{key:"getExchange",value:function(t,e){return this.get({expiryTime:m.a.STANDARD,callback:e,resource:D(t),formatData:Z.libraries,eventPrefix:G(t)})}},{key:"getFolder",value:function(t,e){return this.get({callback:e,expiryTime:m.a.STANDARD,resource:L(t),formatData:Z.folder,eventPrefix:J(t)})}},{key:"getFolderFromLibraries",value:function(t,e){this.getLibraries((function(n){e(b.a.getModelFromCollection(t,n))}))}},{key:"addFolder",value:function(t,e,n,r){var i,a=this,c=t.pick("name");this.chain().create({expiryTime:m.a.STANDARD,data:c,resource:A(e,n),formatData:Z.folder,eventPrefix:J(),callback:function(t){return i=t}}).func((function(){a.invalidateCache([s.f.LIBRARY_FOLDERS]),a.getLibraries((function(t){n?b.a.addFolder(i,n,t):b.a.addFolderToLibrary(i,e,t),o.Radio.channel(a.channelName).trigger("folder:created",i),r(i)}))})).run()}},{key:"updateFolder",value:function(t,e){var n=this,o=t.get("id"),i=t.pick(["id","name"]);this.getFolder(o,(function(a){var c,u=a.banner;n.chain().update({resource:I(o),data:i,callback:function(t){(c=t).banner=u},formatData:Z.folder,expiryTime:m.a.STANDARD,eventPrefix:J(o)}).func((function(){n.clearLibraryFoldersCache(),n.getLibraries((function(n){b.a.getModelFromCollection(t.get("id"),n).set(i),r.isFunction(e)&&e(c)}))})).run()}))}},{key:"moveFolder",value:function(t,e,n,o){var i,a=this,c="folder:delete:".concat(t);this.chain().create({resource:M(),eventPrefix:c,formatData:Z.folder,data:{oldCollectionId:n,newCollectionId:e,assocType:"has",objectIds:[t]},callback:function(t){return i=t},successHandler:this.alertService.success(O.a.getPhrase(this.lang,"folderMoveSuccess"))}).func((function(){a.clearLibraryFoldersCache(),a.getLibraries((function(a){var c=b.a.getModelFromCollection(n,a),u=b.a.getModelFromCollection(e,a),s=b.a.getModelFromCollection(t,a);c&&c.children.remove(s),u?u.children.add(s):a.add(s),r.isFunction(o)&&o(i)}))})).run()}},{key:"deleteFolder",value:function(t,e){var n=this;this.chain().delete({resource:N(t),eventPrefix:"".concat(J(t),":delete")}).func((function(){n.clearLibraryFoldersCache(),n.getLibraries((function(r){var i=b.a.getModelFromCollection(t,r);i&&i.collection&&i.collection.remove(i),o.Radio.channel(n.channelName).trigger("library:deleted"),e()}))})).run()}},{key:"getLibraryFolders",value:function(t,e){var n=S.p.GetFilterFromSort(t.sort),r=q(t.id,n,t.cursor);return this.get({resource:r,formatData:Z.folders,expiryTime:m.a.STANDARD,eventPrefix:t.toString(),callback:e})}},{key:"clearLibraryFoldersCache",value:function(){this.invalidateCache([s.f.LIBRARY_FOLDERS]),o.Radio.channel(s.e.LIBRARY).trigger("clear:library:folder:cache")}},{key:"getLibraryFoldersCursors",value:function(t){return this.getCursors(t.toString())}},{key:"createLibrary",value:function(t,e,n){var i=this,a=e.pick(["name"]);a.status=u.a.Draft,this.create({resource:V(t),eventPrefix:K(),formatData:Z.library,data:a,callback:function(t){i.getLibraries((function(e){e.add(t),o.Radio.channel(i.channelName).trigger("library:created"),r.isFunction(n)&&n(t)}))},successHandler:this.alertService.success(O.a.getPhrase(this.lang,"libraryCreateSuccess")),errorHandler:this.alertService.error(O.a.getPhrase(this.lang,"libraryCreateError"))})}},{key:"updateLibrary",value:function(t,e){var n=this,o=t.pick(["id","name"]),i=t.get("id");this.update({resource:U(i),eventPrefix:K(i),formatData:Z.library,data:o,successHandler:this.alertService.success(O.a.getPhrase(this.lang,"libraryUpdateSuccess")),errorHandler:this.alertService.error(O.a.getPhrase(this.lang,"libraryUpdateError")),callback:function(i){n.getLibraries((function(n){b.a.getModelFromCollection(t.get("id"),n).set(o),r.isFunction(e)&&e(i)}))}})}},{key:"deleteLibrary",value:function(t,e){var n=this;this.chain().delete({resource:N(t),eventPrefix:"".concat(K(t),":delete")}).func((function(){n.getLibraries((function(r){var i=b.a.getModelFromCollection(t,r);i&&i.collection&&i.collection.remove(i),o.Radio.channel(n.channelName).trigger("library:deleted"),e()}))})).run()}},{key:"publishLibrary",value:function(t,e){var n=this,o={status:1};this.update({resource:U(t),eventPrefix:Q(t),data:o,successHandler:this.alertService.success(O.a.getPhrase(this.lang,"libraryAvailableSuccess")),errorHandler:this.alertService.error(O.a.getPhrase(this.lang,"libraryAvailableError")),callback:function(){n.getLibraries((function(n){var i=n.get(t);i&&i.set(o),r.isFunction(e)&&e()}))}})}},{key:"addOrUpdateBanner",value:function(t,e){var n=t.folderId,r=t.imageModel,o=t.currentImageId,i={fileId:r.id.toString(),fileIdType:g.e.ImageAPIv1},a=this.chain();o&&a.delete({resource:H(n,o),eventPrefix:s.f.DELETE_FOLDER_BANNER}),a.create({resource:F(n),eventPrefix:"".concat(s.f.UPDATE_FOLDER_BANNER,":").concat(n),data:i,formatData:function(t){return new p.a(t)},invalidationKeys:[J(n)],successHandler:this.alertService.success(O.a.getPhrase(this.lang,"bannerUpdateSuccess")),callback:e}),a.run()}},{key:"deleteBanner",value:function(t,e){this.delete({resource:H(t.folderId,t.imageId),eventPrefix:s.f.DELETE_FOLDER_BANNER,successHandler:this.alertService.success(O.a.getPhrase(this.lang,"bannerRemoveSuccess")),invalidationKeys:[J(t.folderId)],callback:e})}},{key:"addOrUpdateThumbnail",value:function(t,e){var n=this,r=(t.libraryId,t.folderId),o=t.imageModel,i=t.currentImageId,a={fileId:o.id.toString(),fileIdType:g.e.ImageAPIv1},c=this.chain();i&&c.delete({resource:B(r,i),eventPrefix:s.f.DELETE_FOLDER_THUMBNAIL}),c.create({resource:z(r),eventPrefix:"".concat(s.f.UPDATE_FOLDER_THUMBNAIL,":").concat(r),data:a,formatData:function(t){return new h.a(t)},invalidationKeys:[J(r)],successHandler:this.alertService.success(O.a.getPhrase(this.lang,"thumbnailUpdateSuccess")),callback:e}),c.func((function(){n.clearLibraryFoldersCache()})),c.run()}},{key:"deleteThumbnail",value:function(t,e){var n=this;this.delete({resource:B(t.folderId,t.imageId),eventPrefix:s.f.DELETE_FOLDER_THUMBNAIL,successHandler:this.alertService.success(O.a.getPhrase(this.lang,"thumbnailRemoveSuccess")),invalidationKeys:[J(t.folderId)],callback:function(t){n.clearLibraryFoldersCache(),r.isFunction(e)&&e(t)}})}},{key:"deselectAll",value:function(){this.getLibraries((function(t){b.a.deselectAll(w.a.LIBRARY_EDITOR,t)}))}},{key:"setSelected",value:function(t){this.getLibraries((function(e){b.a.setSelected(w.a.LIBRARY_EDITOR,t,e)}))}},{key:"getSelected",value:function(t,e){this.getLibraries((function(t){var n=b.a.getSelected(w.a.LIBRARY_EDITOR,t);e(n)}))}},{key:"name",get:function(){return v.a.Library}},{key:"channelName",get:function(){return s.e.LIBRARY}},{key:"lang",get:function(){return"libraryEditor.services"}}])&&E(e.prototype,n),i&&E(e,i),c}(a.a),X=Object.assign(Object.assign({},c.a),{exchanges:{dataServiceName:v.a.Library,eventName:"".concat(G(0),":sync"),getData:function(t){return t.getExchange(0)},getInstance:function(t){return i.a.getInstance(v.a.Library,t)},beforeOnBeforeRender:!0}})},,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(130);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}},{key:"comparator",get:function(){return function(t){var e;return null===(e=t.get("name"))||void 0===e?void 0:e.toLowerCase()}}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e,n){t.exports={droppable:"_1OOL3",hover:"sCq0c"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(6),o=n(56);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(f,t);var e,n,r,i=l(f);function f(){return a(this,f),i.apply(this,arguments)}return e=f,(n=[{key:"listenTo",value:function(){return o.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],u(p(f.prototype),"listenTo",this))}}])&&c(e.prototype,n),r&&c(e,r),f}(r.Collection)},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var r=n(23),o={LIBRARY:"library:data:service",VIDEO:"video:data:service",MIGRATION:"migration:data:service",TAG:"tag:data:service",CHAPTER:"chapter:data:service",SERIES:"series:data:service",SEARCH:"search:data:service",STAFF_REQUEST:"staff:request:data:service",CONFIG:"config:data:service",USER:"user:data:service",NOTIFICATIONS:"notifications:data:service",NOTIFICATIONS_SOCKET:"notifications:socket:service",SETTINGS:"settings:data:service",VIDEO_UPLOAD:"video:upload:data:service",IMAGE_UPLOAD:"image:upload:data:service",CUSTOMER:"customer:data:service",EXPORT:"export:data:service",LOCAL_CACHE:"local:cache:data:service",RESTRICTED_VIDEO:"restricted:video:data:service",RATINGS:"ratings:data:service",LANGUAGE:"language:data:service",CONTENT_UPDATES:"content:updates:data:service",DOWNLOAD_PROXY:"download:proxy:data:service",RESOURCE:"resource:data:service",SUBTITLE:"subtitle:data:service",LINK:"link:data:service",COMPANY:"company:data:service",PERSON:"person:data:service",FIELDS:"fields:data:service"},i=Object.assign({PENDING_ITEMS:"pending:items:service",VIDEO_DRAG_DROP:"video:drag:drop:service",FOLDER_DRAG_DROP:"folder:drag:drop:service",SELECTED_VIDEO:"selected:video:service",FOLDER_CACHE:"folder:cache:service",LOCAL_OPTIONS:"local:options:service",VIDEO_MIXIN:"video:mixin:service",PAGE_VISIBILITY:"page:visibility:service",PAGE_TITLE:"page:title:service",CONTEXTUAL_SEARCH:"contextual:search:service"},r.c),a={DEFAULT:"default:application",LIBRARY_EDITOR:"library:editor:application",MIGRATION_WIZARD:"migration:wizard:application",SEARCH:"search:application",NOTIFICATIONS:"notifications:application",VIDEO_ACCESS:"video:access:application",CONTENT_UPDATES:"content:updates:application",STAFF_REQUESTS:"staff:requests:application",DASHBOARD:"dashboard:application",UPLOAD:"upload:application"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={type:n(113).a.Unknown,message:"",code:0}},function(t,e,n){"use strict";var r=n(1),o=n(2),i=n(97),a=n(117),c=n(130),u=n(83),s=n(231);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(d,t);var e,n,o,l=y(d);function d(){return f(this,d),l.apply(this,arguments)}return e=d,(n=[{key:"parse",value:function(t){var e=r.omit(t,["sourceCategory","destinationCategory"]);return e.sourceFolder=t.sourceCategory,e.destinationFolder=t.destinationCategory,e}},{key:"associations",get:function(){return{video:i.a,sourceLibrary:c.a,sourceFolder:u.a,destinationLibrary:c.a,destinationFolder:u.a,user:a.a,senderCustomer:s.a}}}])&&p(e.prototype,n),o&&p(e,o),d}(o.a.NestedModel);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function S(t,e){return(S=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function O(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=k(t);if(e){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return C(this,n)}}function C(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var E=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S(t,e)}(i,t);var e,n,r,o=O(i);function i(){return m(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"associations",get:function(){return{user:a.a}}}])&&w(e.prototype,n),r&&w(e,r),i}(o.a.NestedModel);n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return E}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={Dashboard:{HOME:"index"},LibraryEditor:{HOME:"index",LIBRARY:"library",NEW_SUB_FOLDER:"new:sub:folder",RENAME_FOLDER:"rename:folder",MOVE_FOLDER:"move:folder",DELETE_FOLDER:"delete:folder",FOLDER:"folder",SERIES:"series",EDIT_VIDEO:"edit:video",VIDEO_DETAILS:"video:details",SAVE_VIDEO:"save:video",EDIT_VIDEO_CHAPTERS:"edit:video:chapters",EDIT_VIDEO_RESOURCES:"edit:video:resources",EDIT_RESOURCE:"edit:resource",NEW_LIBRARY:"new:library",DELETE_LIBRARY:"delete:library",RENAME_LIBRARY:"rename:library",UPLOAD_THUMBNAIL:"upload:thumbnail",UPLOAD_BANNER:"upload:banner",GENERATE_PDF:"generate:pdf",SUGGEST_AN_EDIT:"suggest:an:edit",EDIT_FOLDER_IMAGES:"edit:folder:images",SHOW_PUBLISHER_VIDEO:"show:publisher:video",EDIT_LINK:"edit:link",NEW_SEASON:"new:season",ADD_TO_EXCHANGE:"add:to:exchange"},VideoAccess:{HOME:"index"},Search:{HOME:"index"},MigrationWizard:{HOME:"index",SHOW_PUBLISHER_VIDEO:"show:publisher:video",FOLDER:"folder",SEARCH:"search",SELECTED:"selected",SMART:"smart",PROGRESS:"progress",BACKUP_WELCOME:"backup:welcome",BACKUP_DOWNLOAD:"backup:download",BACKUP_PROGRESS:"backup:progress",BACKUP_COMPLETE:"backup:complete",START_MIGRATION:"start:migration",VIDEOS_ADDED:"videos:added",REMIGRATE_VIDEO:"remigrate:video",PUBLISH_LIBRARY_PROGRESS:"publish:library:progress",PUBLISH_LIBRARY_COMPLETE:"publish:library:complete",MIGRATION_ERRORS:"migration:errors",GENERATE_CSV_REPORT:"generate:csv:report"},ContentUpdates:{HOME:"index",AWAITING_REVIEW:"awaiting:review",PAST_RELEASES:"past:releases",DISABLE_REVIEW:"disable:review",GENERATE_PDF:"generate:pdf",ADD_TO_LIBRARY:"add:to:library"},StaffRequests:{HOME:"index",EDIT_REQUEST:"edit:request",APPROVE_REQUEST:"approve:request",REJECT_REQUEST:"reject:request"},Upload:{FILE_SELECTION:"file:selection",UPLOAD_DETAILS:"upload:details",UPLOAD_COMPLETE:"upload:complete"},Default:{HOME:"index",ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error"},Shared:{SHARE_VIDEO:"share:video",MOVE_VIDEOS:"move:videos",DELETE_VIDEOS:"delete:videos",BULK_CHECKBOX_CHANGE:"bulk:checkbox:change",NEW_FOLDER:"new:folder",MANAGE_VIDEO_ACCESS:"manage:video:access",DOWNLOAD_VIDEO:"download:video",DOWNLOAD_TO_LOCAL_CACHE:"download:to:local:cache",MAKE_LIBRARY_AVAILABLE:"make:library:available"},Notifications:{HOME:"index"}}},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n.d(e,"a",(function(){return o}));var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.value=e}var e,n,o;return e=t,(n=[{key:"increment",value:function(){this.value+=1}},{key:"decrement",value:function(){this.value-=1}},{key:"getValue",value:function(){return this.value}}])&&r(e.prototype,n),o&&r(e,o),t}()},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e){t.exports=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(3),o=n(15),i=n(58),a=n(75),c="notifications.utils",u=/^marketing-/,s={getIconColor:function(t){switch(t){case a.a.Success:return"success";case a.a.Alert:return"danger";case a.a.Warning:return"warning";case a.a.Info:case a.a.Other:default:return"dark"}},getIcon:function(t){switch(t){case a.a.Success:return o.b.CheckCircle;case a.a.Alert:case a.a.Warning:return o.b.Warning;case a.a.Info:case a.a.Other:default:return o.b.Info}},getIconColorByNotificationType:function(t){return t===i.a.VideoProcessingFailed||t===i.a.VideoRequestDenied?"danger":t.match(u)?"warning":void 0},getIconByNotificationType:function(t){if(t.match(u))return o.b.Star},getNotificationAction:function(t){switch(t){case i.a.VideoReviewAddedToLibrary:case i.a.WorkspaceVideoAvailable:case i.a.ExchangeVideoAvailable:case i.a.EditedVideoAvailable:return r.a.getPhrase(c,"viewVideo");case i.a.VideoReviewReminder:return r.a.getPhrase(c,"reviewVideos");case i.a.VideoReviewAddedToLibrary:return r.a.getPhrase(c,"viewNewContent");case i.a.CustomLibraryVideoAvailable:return r.a.getPhrase(c,"viewVideoDetails");case i.a.StaffRequest:return r.a.getPhrase(c,"reviewVideo");default:return r.a.getPhrase(c,"seeNow")}}}},function(t,e,n){t.exports={contentContainerWithBulkActions:"_1OZCN",thumbnailContainer:"_35XrM",metaContainer:"_1-L5x",titleContainer:"_3nfiJ"}},function(t,e,n){t.exports={dropMask:"ZO89K",dropContent:"_1EbzE",dropArea:"_3ucfy",dragOver:"_2D_ox",border:"_3sQtM"}},function(t,e,n){t.exports={leftNav:"_2r3wp",topNav:"_2tPrC",contentBox:"gzfZN",leftNavContentBox:"_1yUOQ",sizingBox:"_2Rol1",alertBox:"_1TUsf",alertBoxWithIntercom:"QDngA",lockedWidth:"_1XHqq"}},function(t,e,n){"use strict";var r,o,i,a,c;!function(t){t[t.SingleFile=1]="SingleFile",t[t.HasChapters=2]="HasChapters",t[t.Concatenating=3]="Concatenating",t[t.ConcatenationFailed=4]="ConcatenationFailed",t[t.New=5]="New",t[t.MediaNotFound=6]="MediaNotFound"}(r||(r={})),function(t){t[t.Link=1]="Link",t[t.Edit=2]="Edit",t[t.Disabled=3]="Disabled",t[t.Filter=4]="Filter"}(o||(o={})),function(t){t[t.Flex=1]="Flex",t[t.Vertical=2]="Vertical"}(i||(i={})),function(t){t[t.Customer=1]="Customer",t[t.ClickView=2]="ClickView"}(a||(a={})),function(t){t[t.Folder=0]="Folder",t[t.Series=1]="Series"}(c||(c={})),n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"e",(function(){return c}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={MAX_FOLDER_DEPTH:7,POPUP_FADE_TIMEOUT:0}},,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(1),o=n(81),i=n(146);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=h(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h(t);if(e){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(d,t);var e,n,p,y=f(d);function d(){return c(this,d),y.apply(this,arguments)}return e=d,(n=[{key:"set",value:function(t,e,n){var o,i;if(null===t)return this;for(o in"object"===a(t)?(i=t,n=e):(i={})[t]=e,n||(n={}),i)r.has(this.associations,o)&&(i[o]=this.setAssociation(o,i[o],n));return s(h(d.prototype),"set",this).call(this,i,n)}},{key:"get",value:function(t){var e=t.indexOf(".");if(-1===e)return s(h(d.prototype),"get",this).call(this,t);var n=t.substr(0,e),o=this.attributes[n];if(!o||!r.isFunction(o.get))return s(h(d.prototype),"get",this).call(this,t);var i=t.substr(e+1);return o.get(i)}},{key:"setAssociation",value:function(t,e,n){var a=this.associations[t],c=this.attributes[t];if(!r.isFunction(a))return e;if(n.unset)return c&&delete c.parent,delete this[t],c;if(c)return c instanceof o.a&&c.set(e,n),c instanceof i.a&&c.set(e,n),n.silent||this.trigger("change:".concat(t),this,e,n),c;var u=e instanceof o.a?e:new a(e,{parse:!0});return u.parent=this,this[t]=u,u}},{key:"toJSON",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=s(h(d.prototype),"toJSON",this).apply(this,e);return r.each(this.associations,(function(t,e){r.has(o,e)&&r.isFunction(o[e].toJSON)?o[e]=o[e].toJSON():o[e]=(new t).toJSON()})),o}},{key:"toFlatJSON",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return r.omit(s(h(d.prototype),"toJSON",this).apply(this,e),r.keys(this.associations))}}])&&u(e.prototype,n),p&&u(e,p),d}(o.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(8),o="categories{libraries.typeid:".concat(r.i.CustomMediaObjectCollection,"}"),i={VIDEO_COLLECTION:"series,season,rating,thumbnail,".concat(o,",libraries,interactives{limit:1},")+"subtitles{limit:1},resources{limit:1},links{limit:1}",HOSTED_VIDEO_COLLECTION:"series,season,rating,thumbnail,categories,libraries,channel,interactives{limit:1},subtitles{limit:1},resources{limit:1},links{limit:1}",VIDEO:"series[seasons{orderby:number}],season,rating,thumbnail,".concat(o,",producers,distributors,libraries,")+"channel,chapters{limit:100},interactives{limit:100},resources[customer],subtitles[customer],tags[customer],productionCompanies,directors,links[customer],fields",FOLDER:"banner,thumbnail",SERIES:"seasons{orderby:number}",LIBRARY_FOLDERS:"thumbnail"}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var r=n(3),o="generic",i="shared.constants",a={generic:function(){return r.a.getPhrase(i,"dataServiceErrorGeneric")},"video_forbidden.rating_access":function(){return r.a.getPhrase(i,"dataServiceErrorForbiddenRatingAccess")}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return h}));var r=n(1),o=["pdf"],i=["doc","docx","dotx","dot","rtf","docm","odt"],a=["csv","txt"],c=["xls","xlt","xlsx"],u=["jpg","tif","png","bmp","gif","jpeg"],s=["zip","rar"],l=["ppt","pot","pps","pptx"],f=["srt"],p={IMAGES:".".concat(u.join(",.")),RESOURCES:".".concat([].concat(i,c,l,o,a,u,s).join(",.")),SUBTITLES:".".concat(f.join(",."))},h={getResourceType:function(t){var e=t.toLowerCase();return r.contains(i,e)?"document":r.contains(c,e)?"excel":r.contains(l,e)?"powerpoint":r.contains(o,e)?"pdf":r.contains(a,e)?"text":r.contains(u,e)?"image":r.contains(s,e)?"archive":r.contains(f,e)?"subtitle":""}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return u}));var r,o,i=n(1);function a(t,e){var n="spinner";return t===r.Small&&(n="".concat(n,"-sm")),t===r.Medium&&(n="".concat(n,"-md")),t===r.Large&&(n="".concat(n,"-lg")),e===o.Standard&&(n="".concat(n,"-std")),e===o.Light&&(n="".concat(n,"-light")),e===o.LightBgDark&&(n="".concat(n,"-light-bg-dark")),n}!function(t){t.Small="sm",t.Medium="md",t.Large="lg"}(r||(r={})),function(t){t.Standard="std",t.Light="light",t.LightBgDark="light-bg-dark"}(o||(o={}));var c={size:r.Medium,type:o.Standard,tag:"div"},u={getSpinner:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=i.extend({},c,t),n=e.tag,r=e.size,o=e.type,u=e.extraClasses,s=a(r,o);return u&&(s="".concat(s," ").concat(u)),"<".concat(n,' class="spinner ').concat(s,'"></').concat(n,">")}}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return u}));var i={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/^(?!.*Edge).*Chrome/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i};function a(t,e,n){var o=r(e.exec(n)||[],3),i=(o[0],o[1],o[2]);return i||(i="Unknown"),{browser:t,version:i}}function c(t,e,n){if(!e)return{os:t,version:"Unknown"};var r=e.exec(n);return{os:t,version:r&&r.length?r[0].trim():"Unknown"}}var u={getDeviceType:function(){var t=window.navigator.userAgent;return i.mobileDevice.test(t)?i.iphone.test(t)?"iPhone":i.ipad.test(t)?"iPad":i.android.test(t)?"Android":i.blackberry.test(t)?"Blackberry":i.windowsPhone.test(t)?"Windows Phone":"Unknown":"Desktop"},getOperatingSystem:function(){var t=window.navigator.userAgent;return i.android.test(t)?c("Android",i.androidVersion,t):i.iphone.test(t)||i.ipad.test(t)?c("iOS",i.iosVersion,t):i.linux.test(t)?c("Linux",null,t):i.unix.test(t)?c("Unix",null,t):i.mac.test(t)?c("Macintosh",i.osxVersion,t):i.windows.test(t)?function(t,e){var n={os:t};return i.win2000.test(e)&&(n.version="2000"),i.winXP.test(e)&&(n.version="XP"),i.winVista.test(e)&&(n.version="Vista"),i.win7.test(e)&&(n.version="7"),i.win8.test(e)&&(n.version="8"),i.win81.test(e)&&(n.version="8.1"),i.win10.test(e)&&(n.version="10"),n.version||(n.version="Unknown"),n}("Windows",t):i.blackberry.test(t)?c("BlackBerry",i.blackberryVersion,t):i.windowsPhone.test(t)?c("Windows Phone",i.windowsPhoneVersion,t):{os:"Unknown",version:"Unknown"}},getBrowser:function(){var t=window.navigator.userAgent;return i.chrome.test(t)?a("Chrome",i.generalVersion,t):i.firefox.test(t)?a("Firefox",i.generalVersion,t):i.safari.test(t)?a("Safari",i.generalVersion,t):i.ie.test(t)?a("Internet Explorer",i.ieVersion,t):i.edge.test(t)?a("Edge",i.edgeVersion,t):i.opera.test(t)?a("Opera",i.operaVersion,t):{browser:"Unknown",version:"Unknown"}},isTouchScreen:function(){return!(!("ontouchstart"in window)&&!navigator.maxTouchPoints)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(294);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"associations",get:function(){return{seasons:o.a}}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.NestedModel)},function(t,e,n){t.exports={thumbnailContainer:"_1u9bn",thumbnail:"_1CQyt",svgContainer:"_2L1Hd",playSvgContainer:"_17LPb",durationOverlay:"_15X7K"}},function(t,e,n){"use strict";var r,o={CreateChapter:"create:chapter",UpdateChapter:"update:chapter",DeleteChapter:"delete:chapter",CancelChapterEdit:"cancel:chapter:edit",UpdateChapterTime:"update:chapter:time",SortChapters:"sort:chapters",ToggleEdit:"toggle:edit",MergeChapters:"merge:chapters",SeekToChapter:"seek:to:chapter",Save:"save:changes",Undo:"undo:changes",CancelSave:"save:cancel",DisableSave:"disable:save",EnableSave:"enable:save",DetectInput:"detect:input",DetectAssocChange:"detect:assoc:change"},i={VIDEO_LIST:"video:list",MIGRATION_VIDEO_LIST:"migration:video:list"};!function(t){t.VideoTitle="Video Title",t.Description="Description",t.Rating="Rating",t.SeriesTitle="Series Title",t.Season="Season Number",t.EpisodeNumber="Episode Number",t.BroadcastDate="Broadcast Date",t.Channel="Channel",t.ProductionYear="Production Year",t.Distributors="Distributors",t.ProductionCompanies="Production Companies",t.Directors="Directors",t.Producers="Producers",t.Other="Other"}(r||(r={}));var a={VideoTitle:{id:"0",name:r.VideoTitle,property:"name"},Description:{id:"1",name:r.Description,property:"description"},Rating:{id:"2",name:r.Rating,property:"rating.name"},SeriesTitle:{id:"3",name:r.SeriesTitle,property:"series.name"},Season:{id:"4",name:r.Season,property:"season.number"},EpisodeNumber:{id:"5",name:r.EpisodeNumber,property:"episodeNumber"},BroadcastDate:{id:"6",name:r.BroadcastDate,property:"dateBroadcast"},Channel:{id:"7",name:r.Channel,property:"channel.name"},ProductionYear:{id:"8",name:r.ProductionYear,property:"productionYear"},Distributors:{id:"9",name:r.Distributors,property:"distributors",collection:!0},ProductionCompanies:{id:"10",name:r.ProductionCompanies,property:"productionCompanies",collection:!0},Directors:{id:"11",name:r.Directors,property:"directors",collection:!0},Producers:{id:"12",name:r.Producers,property:"producers",collection:!0},Other:{id:"13",name:r.Other}},c=n(0),u=[c.a.LibraryEditor.EDIT_VIDEO,c.a.LibraryEditor.EDIT_VIDEO_CHAPTERS,c.a.LibraryEditor.EDIT_VIDEO_RESOURCES];n.d(e,"d",(function(){return o})),n.d(e,"a",(function(){return i})),n.d(e,"e",(function(){return r})),n.d(e,"f",(function(){return a})),n.d(e,"c",(function(){return"edit:video:back:button"})),n.d(e,"b",(function(){return u}))},function(t,e,n){"use strict";var r=n(14),o=n(5),i=n(0),a=n(8);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(n,t);var e=l(n);function n(){return u(this,n),e.apply(this,arguments)}return n}(n(2).a.Model),y=n(16),d=n(102),b=n(17);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function S(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C(t);if(e){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return k})),n.d(e,"b",(function(){return E}));var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(c,t);var e,n,r,o=S(c);function c(){return g(this,c),o.apply(this,arguments)}return e=c,(n=[{key:"getConfig",value:function(t){return this.get({resource:"/api/config",formatData:function(t){return new h(t)},eventPrefix:"config",bootstrapName:d.a.CONFIG,callback:t,expiryTime:b.a.STANDARD})}},{key:"getVersion",value:function(t){return this.get({resource:"/api/version",eventPrefix:"version",bootstrapName:d.a.VERSION,callback:t,expiryTime:b.a.STANDARD})}},{key:"getCustomerYearGroups",value:function(t){var e=[a.p.Year1,a.p.Year2,a.p.Year3,a.p.Year4,a.p.Year5,a.p.Year6,a.p.Year7,a.p.Year8,a.p.Year9,a.p.Year10,a.p.Year11,a.p.Year12];switch(t){case a.b.AU:return[a.p.Kindergarten].concat(e);case a.b.UK:case a.b.NZ:return[].concat(e,[a.p.Year13]);default:return e}}},{key:"name",get:function(){return y.a.Config}},{key:"channelName",get:function(){return i.e.CONFIG}}])&&m(e.prototype,n),r&&m(e,r),c}(r.a),E={config:{dataServiceName:i.e.CONFIG,eventName:"config:sync",getData:function(t){return t.getConfig()},getInstance:function(t){return o.a.getInstance(y.a.Config,t)},beforeOnBeforeRender:!0}}},function(t,e,n){"use strict";var r=n(11),o=n(19);function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.setData(e)}var e,n,a;return e=t,(n=[{key:"setData",value:function(t){var e=t.collectionPrefix,n=t.id,r=t.sort,o=t.cursor;n&&(this.id=n),r&&(this.sort=r),o&&(this.cursor=o),e&&(this.collectionPrefix=e)}},{key:"toString",value:function(){return[this.collectionPrefix,this.id,this.sort,this.cursor].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.sort&&(t.sort=this.getSortTypeParam().toLowerCase()),this.cursor&&(t.cursor=this.cursor),t}},{key:"getSortTypeParam",value:function(){return r.c.throw(new o.a("getSortTypeParam must be implemented when extending BaseCollectionIdentifier")),""}}])&&i(e.prototype,n),a&&i(e,a),t}(),c=(n(148),n(37));function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(i,t);var e,n,r,o=p(i);function i(){return s(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"getSortTypeParam",value:function(){return c.a[this.sort]}}])&&l(e.prototype,n),r&&l(e,r),i}(a);n.d(e,"a",(function(){return d}))},function(t,e,n){"use strict";var r,o,i=n(1),a=n(6),c=n(2),u=n(116),s=n(15),l=n(82),f={isEmpty:function(t){return i.isEmpty(t)},values:function(t){return i.values(t)},keys:function(t){return i.keys(t)},deepClone:function(t){return(i.isArray(t)?i.map:i.mapObject)(t,(function(t){return i.isObject(t)||i.isArray(t)?f.deepClone(t):t}))},getEnumKeys:function(t){return Object.keys(t).filter((function(t){return!(parseInt(t)>=0)}))},isObject:function(t){return i.isObject(t)},isEqual:function(t,e){return i.isEqual(t,e)},omit:function(t,e){return i.omit(t,e)}},p=n(191);function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}!function(t){t.Banner="banner",t.Thumbnail="thumbnail"}(o||(o={}));var y=(h(r={},p.b.Banners,o.Banner),h(r,p.b.Thumbnails,o.Thumbnail),r),d=function(t){return"/v1/category-map/".concat(t)},b={createUrl:function(t,e){return b._createUrl(t,e)},createBannerUrl:function(t,e,n){return t&&t.url?b._createUrl(t.url,n):b._createCategoryMappedUrl(e,n)},Rfc3986EncodeURIComponent:function(t){return encodeURIComponent(t).replace(/[!'()*]/g,escape)},_createCategoryMappedUrl:function(t,e){var n=t.fallbackBaseUrl,r=t.fallbackCategoryName,o=t.type,i=l.a.safeUrlConcat(n,"".concat(d(y[o]))),a=Object.assign({name:b.Rfc3986EncodeURIComponent(r)},e);return b._createUrl(i,a)},_createUrl:function(t,e){if(t){if(f.isEmpty(e))return t;var n=$.param(e),r=-1===t.indexOf("?")?"?":"&",o=t;return o.endsWith("/")&&(o=o.slice(0,-1)),o+"".concat(r).concat(n)}},legacyCreateThumbnailUrl:function(t,e){if(!t)return"";var n;if(t&&(n=t instanceof c.a.Model?t.get("url"):"string"==typeof t?t:t.url)){var r=Object.assign({size:p.a.Small,bgColor:"000"},e);return b._createUrl(n,r)}}},v=function(t,e,n){var r=e-(t=t.toString()).length;return r<=0?t:new Array(r+1).join(n)+t},g=function(t){if(!i.isNumber(t))return"";var e=new Date(t),n=e.getUTCHours(),r=v(e.getUTCMinutes(),2,"0"),o=v(e.getUTCSeconds(),2,"0");return n>0?"".concat(n,":").concat(r,":").concat(o):"".concat(r,":").concat(o)},m=n(549),w=n.n(m),S=n(185),O=n.n(S);function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function R(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=T(t);if(e){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return P(this,n)}}function P(t,e){return!e||"object"!==C(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return x}));var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(c,t);var e,n,r,o=R(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),o.call(this,t)}return e=c,(n=[{key:"initialize",value:function(){this.options.channelName&&this.listenTo(this.options.channelName,"show:play:icon",this.showPlayIcon),this.listenTo(this.model,"change:thumbnail",this.render)}},{key:"events",value:function(){return{click:"onClick"}}},{key:"showPlayIcon",value:function(){this.$el.find(".".concat(O.a.playSvgContainer)).show()}},{key:"onClick",value:function(t){if(!this.options.appLink&&i.isFunction(this.options.onClickHandler))return this.options.onClickHandler.apply(this,arguments)}},{key:"onImageLoad",value:function(){this.options.channelName&&a.Radio.channel(this.options.channelName).trigger("thumbnail:load")}},{key:"viewOptions",value:function(){var t=this.model.get("duration");return{styles:O.a,url:b.legacyCreateThumbnailUrl(this.model.get("thumbnail"),this.options.thumbnailOptions),duration:t&&g(t),playSvg:s.a.getSvg(s.b.Play),playIcon:this.options.playIcon,lazyload:this.options.lazyload}}},{key:"onRender",value:function(){if(a.Radio.channel(u.a.LAZY_LOAD).trigger("update:loader"),this.options.lazyload&&this.options.channelName){var t=this.getUI("img");t.length&&(t[0].onload=i.bind(this.onImageLoad,this))}}},{key:"name",get:function(){return"ThumbnailComponent"}},{key:"template",get:function(){return w.a}},{key:"tagName",get:function(){return"a"}},{key:"className",get:function(){if(this.options.classNameOverride)return this.options.classNameOverride;var t="".concat(O.a.thumbnailContainer," responsive-img");return this.options.onClickHandler&&(t+=" cursor-pointer"),t}},{key:"elements",get:function(){var t;return k(t={},".".concat(O.a.playSvgContainer),"showPlayIcon"),k(t,"img","img"),t}},{key:"appLinks",get:function(){return this.options.appLink?{"[this]":this.options.appLink}:{}}},{key:"attributes",get:function(){return this.options.appLink||!this.options.href?{}:{href:this.options.href,target:"_blank"}}}])&&E(e.prototype,n),r&&E(e,r),c}(c.a.Component)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(188),o=n(0);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(n,t);var e=u(n);function n(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return a(this,n),e.call(this,{collectionPrefix:"".concat(o.f.VIDEOS,":collection"),id:t,sort:r,cursor:i})}return n}(r.a)},function(t,e,n){"use strict";var r,o,i,a;n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),function(t){t.Small="small",t.Medium="medium",t.Large="large"}(r||(r={})),function(t){t[t.Thumbnails=0]="Thumbnails",t[t.Banners=1]="Banners",t[t.Avatars=2]="Avatars",t[t.Logos=3]="Logos",t[t.Covers=4]="Covers",t[t.Posters=5]="Posters",t[t.TallPosters=6]="TallPosters",t[t.HeroBanners=7]="HeroBanners"}(o||(o={})),function(t){t[t.Crop=0]="Crop",t[t.Stretched=1]="Stretched",t[t.Cover=2]="Cover"}(i||(i={})),function(t){t[t.None=0]="None",t[t.ImageAPIv1=1]="ImageAPIv1",t[t.FileAPIv1=2]="FileAPIv1",t[t.ImageAPIv2=3]="ImageAPIv2"}(a||(a={}))},function(t,e,n){"use strict";var r=n(31),o=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f="libraryEditor.errors.folderEmpty",p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(s,t);var e,n,r,i=u(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=i.call(this,"Folder is empty")).action=t,e}return e=s,(n=[{key:"name",get:function(){return"FolderEmptyError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase(f,"folderNoVideosTitle"),text:o.a.getPhrase(f,"folderNoVideosBody",{action:this.action}),buttons:[{text:o.a.getPhrase(f,"close"),className:"btn btn-link",close:!0}]}}}])&&a(e.prototype,n),r&&a(e,r),s}(r.a);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(a,t);var e,n,r,i=b(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Folder is not empty")}return e=a,(n=[{key:"name",get:function(){return"FolderNotEmptyError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.folderNotEmpty","title"),text:o.a.getPhrase("libraryEditor.errors.folderNotEmpty","instructions"),buttons:[{text:o.a.getPhrase("libraryEditor.errors.folderNotEmpty","close"),className:"btn btn-link",close:!0}]}}}])&&y(e.prototype,n),r&&y(e,r),a}(r.a),w=n(0);function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_(t);if(e){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return E(this,n)}}function E(t,e){return!e||"object"!==S(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var R=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e)}(a,t);var e,n,r,i=k(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Subfolder cannot be added")}return e=a,(n=[{key:"name",get:function(){return"FolderMaxDepthError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.folderMaxDepth","title"),text:o.a.getPhrase("libraryEditor.errors.folderMaxDepth","instructions",{maxDepth:w.s.MAX_FOLDER_DEPTH}),buttons:[{text:o.a.getPhrase("libraryEditor.errors.folderMaxDepth","close"),className:"btn btn-link",close:!0}]}}}])&&O(e.prototype,n),r&&O(e,r),a}(r.a),P=n(40);function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function j(t,e){return(j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=A(t);if(e){var o=A(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return L(this,n)}}function L(t,e){return!e||"object"!==T(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var I=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j(t,e)}(a,t);var e,n,r,i=D(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Folder not found")}return e=a,(n=[{key:"name",get:function(){return"FolderNotFoundError"}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.folderNotFound","info")}}])&&x(e.prototype,n),r&&x(e,r),a}(P.a);function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function V(t,e){return(V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function U(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=H(t);if(e){var o=H(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return F(this,n)}}function F(t,e){return!e||"object"!==N(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function H(t){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var z=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V(t,e)}(a,t);var e,n,r,i=U(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"User does not have access to this folder")}return e=a,(n=[{key:"name",get:function(){return"ForbiddenFolderError"}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.forbiddenFolder","info")}}])&&M(e.prototype,n),r&&M(e,r),a}(P.a),B=n(290);function q(t){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Y(t,e){return(Y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function G(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=K(t);if(e){var o=K(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return J(this,n)}}function J(t,e){return!e||"object"!==q(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function K(t){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Y(t,e)}(a,t);var e,n,r,i=G(a);function a(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(n=i.call(this,"Image too small")).minWidth=t,n.minHeight=e,n}return e=a,(n=[{key:"name",get:function(){return"ImageDimensionsTooSmallError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.imageDimensionsTooSmall","title"),text:o.a.getPhrase("libraryEditor.errors.imageDimensionsTooSmall","body",{minWidth:this.minWidth,minHeight:this.minHeight}),buttons:[{text:o.a.getPhrase("libraryEditor.errors.imageDimensionsTooSmall","close"),className:"btn btn-link",close:!0}]}}}])&&W(e.prototype,n),r&&W(e,r),a}(r.a);function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=nt(t);if(e){var o=nt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return et(this,n)}}function et(t,e){return!e||"object"!==Z(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function nt(t){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X(t,e)}(a,t);var e,n,r,i=tt(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Series not found")}return e=a,(n=[{key:"name",get:function(){return"SeriesNotFound"}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.seriesNotFound","title")}}])&&$(e.prototype,n),r&&$(e,r),a}(P.a);function ot(t){return(ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function it(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function at(t,e){return(at=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ct(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=st(t);if(e){var o=st(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ut(this,n)}}function ut(t,e){return!e||"object"!==ot(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var lt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&at(t,e)}(a,t);var e,n,r,i=ct(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,"Cannot add that many resources")).resourceLimit=t,e}return e=a,(n=[{key:"name",get:function(){return"TooManyResourcesError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.tooManyResources","heading"),text:o.a.getPhrase("libraryEditor.errors.tooManyResources","body",{resourceLimit:this.resourceLimit}),buttons:[{text:o.a.getPhrase("libraryEditor.errors.tooManyResources","okay"),className:"btn btn-primary",success:!0}]}}}])&&it(e.prototype,n),r&&it(e,r),a}(r.a);function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ht(t,e){return(ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function yt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=bt(t);if(e){var o=bt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dt(this,n)}}function dt(t,e){return!e||"object"!==ft(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function bt(t){return(bt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var vt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ht(t,e)}(a,t);var e,n,r,i=yt(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,"Cannot add that many subtitles")).subtileLimit=t,e}return e=a,(n=[{key:"name",get:function(){return"TooManySubtitlesError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.tooManySubtitles","heading"),text:o.a.getPhrase("libraryEditor.errors.tooManySubtitles","body",{subtitleLimit:this.subtileLimit}),buttons:[{text:o.a.getPhrase("libraryEditor.errors.tooManySubtitles","okay"),className:"btn btn-primary",success:!0}]}}}])&&pt(e.prototype,n),r&&pt(e,r),a}(r.a),gt=n(291);function mt(t){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function wt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function St(t,e){return(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ot(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=kt(t);if(e){var o=kt(this).constructor;Reflect.construct(r,arguments,o)}else r.apply(this,arguments);return Ct(this,n)}}function Ct(t,e){return!e||"object"!==mt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function kt(t){return(Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}P.a;function Et(t){return(Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Rt(t,e){return(Rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Pt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=xt(t);if(e){var o=xt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Tt(this,n)}}function Tt(t,e){return!e||"object"!==Et(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function xt(t){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var jt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rt(t,e)}(a,t);var e,n,r,i=Pt(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Library has subscribers so it cannot be deleted")}return e=a,(n=[{key:"name",get:function(){return"LibraryHasSubscribersError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.libraryHasSubscribers","title"),text:o.a.getPhrase("libraryEditor.errors.libraryHasSubscribers","body"),buttons:[{text:o.a.getPhrase("libraryEditor.errors.libraryHasSubscribers","close"),className:"btn btn-link",close:!0}]}}}])&&_t(e.prototype,n),r&&_t(e,r),a}(r.a);function Dt(t){return(Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Lt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function At(t,e){return(At=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function It(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Mt(t);if(e){var o=Mt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Nt(this,n)}}function Nt(t,e){return!e||"object"!==Dt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Mt(t){return(Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Vt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&At(t,e)}(a,t);var e,n,r,i=It(a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,"Library is not empty")}return e=a,(n=[{key:"name",get:function(){return"LibraryNotEmptyError"}},{key:"dialogOptions",get:function(){return{title:o.a.getPhrase("libraryEditor.errors.libraryNotEmpty","title"),text:o.a.getPhrase("libraryEditor.errors.libraryNotEmpty","body"),buttons:[{text:o.a.getPhrase("libraryEditor.errors.libraryNotEmpty","close"),className:"btn btn-link",close:!0}]}}}])&&Lt(e.prototype,n),r&&Lt(e,r),a}(r.a);function Ut(t){return(Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ft(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ht(t,e){return(Ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function zt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=qt(t);if(e){var o=qt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Bt(this,n)}}function Bt(t,e){return!e||"object"!==Ut(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function qt(t){return(qt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Wt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}(a,t);var e,n,r,i=zt(a);function a(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(n=i.call(this,"Cannot create any more custom libraries.")).libraryCount=t,n.maxCustomLibraries=e,n}return e=a,(n=[{key:"pluralise",value:function(t){return o.a.getPhrase("libraryEditor.errors.maxCustomLibraries","library",{smartCount:t})}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.maxCustomLibraries","title")}},{key:"description",get:function(){return o.a.getPhrase("libraryEditor.errors.maxCustomLibraries","info",{libraryCount:this.pluralise(this.libraryCount),maxCustomLibraries:this.pluralise(this.maxCustomLibraries)})}}])&&Ft(e.prototype,n),r&&Ft(e,r),a}(P.a);n.d(e,"a",(function(){return p})),n.d(e,"c",(function(){return m})),n.d(e,"b",(function(){return R})),n.d(e,"d",(function(){return I})),n.d(e,"e",(function(){return z})),n.d(e,"f",(function(){return B.a})),n.d(e,"g",(function(){return Q})),n.d(e,"k",(function(){return rt})),n.d(e,"l",(function(){return lt})),n.d(e,"m",(function(){return vt})),n.d(e,"n",(function(){return gt.a})),n.d(e,"h",(function(){return jt})),n.d(e,"i",(function(){return Vt})),n.d(e,"j",(function(){return Wt}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(2),o=n(6),i=n(80),a=n(228),c=n(8),u=n(43);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(d,t);var e,n,s,y=h(d);function d(){return l(this,d),y.apply(this,arguments)}return e=d,(n=[{key:"initialize",value:function(){this.listenTo("file:drop:lock","lock",this.lock),this.listenTo("file:drop:lock","unlock",this.unlock),!1!==this.options.acceptMultiple&&(this.options.acceptMultiple=!0)}},{key:"lock",value:function(){this.locked=!0}},{key:"unlock",value:function(){this.locked=!1}},{key:"onDrop",value:function(t){if(!this.locked){t.preventDefault();var e=t.originalEvent;if(a.a.isFileDrag(t)){var n=[];if(e.dataTransfer.items)for(var s=0;s<e.dataTransfer.items.length;s++)"file"===e.dataTransfer.items[s].kind&&n.push(e.dataTransfer.items[s].getAsFile());else for(var l=0;l<e.dataTransfer.files.length;l++){var f=e.dataTransfer.files[l];n.push(f)}n.length>1&&!this.options.acceptMultiple&&r.a.ErrorHelper.throw(new i.f),o.Radio.channel(this.options.channelName).trigger(u.a.FILES_SELECTED,n,c.g.DragDrop),e.dataTransfer.items?e.dataTransfer.items.clear():e.dataTransfer.clearData()}}}},{key:"events",get:function(){return{drop:"onDrop",drag:"onDrag"}}}])&&f(e.prototype,n),s&&f(e,s),d}(r.a.Behavior)},function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n(2),o=n(6),i=n(523),a=n.n(i),c=n(8),u=n(43);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(s,t);var e,n,r,i=y(s);function s(){return f(this,s),i.apply(this,arguments)}return e=s,(n=[{key:"events",value:function(){var t;return l(t={},"click ".concat(this.options.buttonSelector),"onClickSelect"),l(t,"change .file-select","onChangeFileSelect"),t}},{key:"onClickSelect",value:function(t){this.view.$el.find(".file-select").val(null),this.view.$el.find(".file-select").click()}},{key:"onChangeFileSelect",value:function(t){var e=t.originalEvent.target.files;e&&e.length&&o.Radio.channel(this.options.channelName).trigger(u.a.FILES_SELECTED,e,c.g.FileSelect)}},{key:"onRender",value:function(){this.$el.find(this.options.buttonSelector).after(a()(this.options))}}])&&p(e.prototype,n),r&&p(e,r),s}(r.a.Behavior)},function(t,e,n){"use strict";e.__esModule=!0,e.inherits=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(t.prototype);for(var o in n)r[o]=n[o];return r.constructor=e,e.prototype=r,e}},,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={ManageLayout:"ManageLayout"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(2),o=n(31),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="shared.oldVersion",h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(t,e){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,i.a.getPhrase(p,"title",{oldVersion:t,newVersion:e}))}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"OldVersionError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:i.a.getPhrase(p,"body"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(2),o=n(31),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="shared.authentication",h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,i.a.getPhrase(p,"title"))}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"AuthenticationError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:i.a.getPhrase(p,"body"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a)},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Staff="staff",t.Learner="learner",t.Unknown="unknown"}(r||(r={}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(1),o=n(40),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="shared.forbiddenAccess",h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(n=a.call(this,i.a.getPhrase(p,"title"))).acceptedRoles=t,n.redirectUrl=e,n}return e=l,(n=[{key:"getRolesString",value:function(){if(1===this.acceptedRoles.length)return i.a.getPhrase(p,"acceptedRole",{role:this.acceptedRoles[0]});if(2===this.acceptedRoles.length)return i.a.getPhrase(p,"acceptedRoles",{role1:this.acceptedRoles[0],role2:this.acceptedRoles[1]});var t="";return r.each(this.acceptedRoles.slice(0,this.acceptedRoles.length-1),(function(e){t+=i.a.getPhrase(p,"rolesJoin",{role:e})})),"\n ".concat(t," ").concat(i.a.getPhrase(p,"and")," ").concat(this.acceptedRoles[this.acceptedRoles.length-1]).concat(i.a.getPhrase(p,"s"),"\n ")}},{key:"name",get:function(){return"ForbiddenAccessError"}},{key:"heading",get:function(){return i.a.getPhrase(p,"heading",{roles:this.getRolesString()})}},{key:"description",get:function(){return i.a.getPhrase(p,"goToClickView",{redirectUrl:this.redirectUrl,linkClasses:"info-link"})}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(2),o=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(s,t);var e,n,r,i=u(s);function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,o.a.getPhrase("shared.notFound","title"))}return e=s,(n=[{key:"name",get:function(){return"NotFoundError"}}])&&a(e.prototype,n),r&&a(e,r),s}(r.a.SilentError)},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(2),o=n(157),i=n.n(o),a=n(522),c=n.n(a),u=n(228),s=n(3),l=n(43);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(a,t);var e,n,r,o=d(a);function a(){return p(this,a),o.apply(this,arguments)}return e=a,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,l.a.FILES_SELECTED,this.onDragLeave),this.listenTo("file:drop:lock","lock",this.lock),this.listenTo("file:drop:lock","unlock",this.unlock)}},{key:"lock",value:function(){this.locked=!0}},{key:"unlock",value:function(){this.locked=!1}},{key:"onDrop",value:function(){this.locked||this.$el.removeClass(i.a.dragOver)}},{key:"onDragOver",value:function(t){this.locked||u.a.isFileDrag(t)&&(this.$el.addClass(i.a.dragOver),t.preventDefault())}},{key:"onDragLeave",value:function(){this.locked||this.$el.removeClass(i.a.dragOver)}},{key:"onRender",value:function(){this.$el.append(c()({styles:i.a,fileDropText:s.a.getPhrase(this.lang,"fileDrop")}))}},{key:"events",get:function(){var t,e,n,r="dragleave .".concat(i.a.dropArea);return n="onDragLeave",(e=r)in(t={drop:"onDrop",dragover:"onDragOver"})?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},{key:"lang",get:function(){return"shared.behaviors.fileDrop"}}])&&h(e.prototype,n),r&&h(e,r),a}(r.a.Behavior)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.NestedModel)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(118);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(l,t);var e,n,o,s=u(l);function l(){return i(this,l),s.apply(this,arguments)}return e=l,(n=[{key:"model",get:function(){return r.a}}])&&a(e.prototype,n),o&&a(e,o),l}(n(2).a.Collection)},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(52),o=n(3),i=n(0),a=n(13),c="shared.alerts",u={updatedVideoAlert:function(t){return{heading:o.a.getPhrase(c,"updateVideoHeading"),message:o.a.getPhrase(c,"updateVideoMessage",{videoName:t}),type:r.a.Success}},updatedChaptersAlert:function(t){return{heading:o.a.getPhrase(c,"updateChaptersHeading"),message:o.a.getPhrase(c,"updateChaptersMessage",{videoName:t}),type:r.a.Success}},moveVideoAlert:function(t,e,n,u,s){return{heading:o.a.getPhrase(c,"moveVideoHeading",{smartCount:u}),message:o.a.getPhrase(c,"moveVideoMessage",{smartCount:u,sourceFolder:a.v.escapeExpression(t),destinationFolder:a.v.escapeExpression(e),videoName:a.v.escapeExpression(s)}),type:r.a.Success,appLinkText:o.a.getPhrase(c,"appLink",{destinationFolder:e}),appLink:{application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.FOLDER,args:[n]}}},addVideoToLibraryAlert:function(t,e){var n=t.get("name"),u=e.get("name");return{heading:o.a.getPhrase(c,"addVideoHeading"),message:o.a.getPhrase(c,"addVideoMessage",{videoName:a.v.escapeExpression(n),folderName:a.v.escapeExpression(u)}),type:r.a.Success,appLinkText:o.a.getPhrase(c,"appLink",{destinationFolder:u}),appLink:{application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.FOLDER,args:[e.get("id")]}}}}},function(t,e,n){"use strict";var r,o=n(2),i=n(3),a=n(285);!function(t){t[t.Notifications=0]="Notifications"}(r||(r={}));var c=n(5),u=n(46),s=n(242),l=n.n(s);var f,p,h,y,d,b=(f={},p=r.Notifications,h=function(t){var e={imageUrl:c.a.getInstance(u.a.NOTIFICATIONS).notificationsEmptyStateUrl,heading:t.options.componentOptions.noNotificationsText,customClass:"".concat(l.a.paddedContainer," ").concat(t.options.componentOptions.customClass),customImageClass:"sm"===t.options.componentOptions.imageSize?l.a.imageSmall:l.a.imageLarge};return c.a.releaseInstance(u.a.NOTIFICATIONS),e},p in f?Object.defineProperty(f,p,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[p]=h,f),v=n(6),g=n(29),m=n(15),w=n(23),S=n(155),O=n(123),C=n(234),k=n(75),E=n(1),_=n(413);function R(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return P(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function T(){return c.a.getInstance(u.a.NOTIFICATIONS,this)}function x(t,e,n){return t===d.Module?function(t,e){var n=T();return e===y.ContentUpdates?n.appLinks.pastReleases:e===y.LibraryReview?n.appLinks.awaitingReview:void 0}(0,e):t===d.Video?function(t,e,n){return Object.assign(Object.assign({},T().appLinks.videoDetails),{args:[e,""]})}(0,e):t===d.StaffRequest?function(t,e,n){return Object.assign(Object.assign({},T().appLinks.editStaffRequest),{args:[e],params:{referrer:_.a.Notification}})}(0,e):void 0}!function(t){t.LibraryReview="libraryreview",t.ContentUpdates="newcontent"}(y||(y={})),function(t){t.Video="video",t.Url="url",t.Module="module",t.App="app",t.StaffRequest="staff_request"}(d||(d={}));var j=function(t){return E.contains(T().notificationTypesWithAppLinks,t)},D=function(t,e){if(t&&e){var n=R(t.split(":"),2);return x(n[0],n[1])}},L=n(276),A=n.n(L),I=n(535),N=n.n(I);function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function U(t,e){return(U=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function F(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=z(t);if(e){var o=z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return H(this,n)}}function H(t,e){return!e||"object"!==M(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function z(t){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var B,q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U(t,e)}(i,t);var e,n,r,o=F(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,t)}return e=i,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:notificationStatus",this.updateReadStatus)}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(t){return v.Radio.channel(w.a.NOTIFICATIONS).trigger(C.a.Read,this.model.get("id")),this.model.set("notificationStatus",O.a.Read),!0}},{key:"getAppLink",value:function(){var t=this.model.get("appLink");if(!t)return null;var e=this.model.get("notificationType");return j(e)?D(t,e):null}},{key:"updateReadStatus",value:function(){this.$el.removeClass("unread read").addClass(this.getReadStatus())}},{key:"getReadStatus",value:function(){switch(this.model.get("notificationStatus")){case O.a.Read:return"read";default:case O.a.Received:return"unread"}}},{key:"viewOptions",value:function(){var t=S.a.getIconColorByNotificationType(this.model.get("notificationType"))||S.a.getIconColor(this.model.get("alertType")),e=S.a.getIconByNotificationType(this.model.get("notificationType"))||S.a.getIcon(this.model.get("alertType"));return{content:this.model.get("body")||this.model.get("name"),notificationTime:g(this.model.get("dateCreated")).fromNow(),icon:m.a.getSvg(e),iconClass:"text-".concat(t),styles:A.a,showActionText:this.options.showActionText&&this.model.get("alertType")!==k.a.Warning,actionText:S.a.getNotificationAction(this.model.get("notificationType"))}}},{key:"name",get:function(){return"NotificationItemComponent"}},{key:"template",get:function(){return N.a}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){return this.getAppLink()?{}:{href:this.model.get("link"),target:"_blank"}}},{key:"className",get:function(){return"notification ".concat(A.a.item," px-1 py-2 ").concat(this.getReadStatus())}},{key:"appLinks",get:function(){var t=this.getAppLink();return t?{"[this]":t}:{}}}])&&V(e.prototype,n),r&&V(e,r),i}(o.a.Component),W=n(536),Y=n.n(W);function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Q(t,e,n){return e&&K(t.prototype,e),n&&K(t,n),t}function Z(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$(t,e)}function $(t,e){return($=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function X(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=et(t);if(e){var o=et(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tt(this,n)}}function tt(t,e){return!e||"object"!==G(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return B})),n.d(e,"b",(function(){return rt})),function(t){t[t.Default=0]="Default",t[t.Popover=1]="Popover"}(B||(B={}));var nt=function(t){Z(n,t);var e=X(n);function n(t){return J(this,n),e.call(this,t)}return Q(n,[{key:"name",get:function(){return"NotificationComponentCollection"}},{key:"className",get:function(){return this.options.isPopover&&"popover-list-body-sm"}},{key:"childView",get:function(){return q}},{key:"childViewOptions",get:function(){return{showActionText:!this.options.isPopover}}}]),n}(o.a.ComponentCollection),rt=function(t){Z(n,t);var e=X(n);function n(t){return J(this,n),e.call(this,t)}return Q(n,[{key:"regions",value:function(){return{notifications:{el:".notifications-region",replaceElement:!0}}}},{key:"getEmptyStateComponentOptions",value:function(){return this.options.isPopover?{customClass:"px-0 py-3",imageSize:"sm",noNotificationsText:i.a.getPhrase(this.lang,"noNotifications")}:{noNotificationsText:i.a.getPhrase(this.lang,"noNotifications")}}},{key:"onRender",value:function(){this.showChildView("notifications",new nt(this.options))}},{key:"name",get:function(){return"NotificationListComponent"}},{key:"template",get:function(){return Y.a}},{key:"lang",get:function(){return"notifications.notificationList"}},{key:"behaviors",get:function(){return[{behaviorClass:a.a,region:"notifications",type:r.Notifications,componentOptions:this.getEmptyStateComponentOptions(),emptyStateComponents:b}]}}]),n}(o.a.Component)},function(t,e,n){"use strict";var r=n(6),o=n(2),i=n(12),a=n(1),c=n(283),u=n(526),s=n.n(u);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(i,t);var e,n,r,o=h(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,t)}return e=i,(n=[{key:"events",value:function(){this.createClickHandlers();var t={};return a.each(this.options.buttons,(function(e,n){t["click .dialog-button-".concat(n)]="onClickButton".concat(n)})),t}},{key:"createClickHandlers",value:function(){var t=this;this.clickHandlersCreated||(a.each(this.options.buttons,(function(e,n){t["onClickButton".concat(n)]=e.success?function(){return t.onDone(e)}:function(){return t.onFail()}})),this.clickHandlersCreated=!0)}},{key:"reject",value:function(){"pending"===this.options.result.state()&&this.options.result.reject()}},{key:"onDone",value:function(t){this.options.result.resolve(t)}},{key:"onFail",value:function(){this.reject()}},{key:"onDestroy",value:function(){this.reject()}},{key:"template",get:function(){return s.a}},{key:"name",get:function(){return"DialogView"}},{key:"title",get:function(){return!1}},{key:"behaviors",get:function(){var t=a.map(this.options.buttons,(function(t,e){var n=a.pick(t,["text","type","className","close"]);return n.className+=" dialog-button-".concat(e),n}));return[{behaviorClass:c.f,title:this.options.title,buttons:t}]}}])&&f(e.prototype,n),r&&f(e,r),i}(o.a.View),v=n(0);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function S(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C(t);if(e){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return k}));var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(u,t);var e,n,a,c=S(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=c.call(this)).dialogOptions=t,e.dialogOptions.result||(e.dialogOptions.result=$.Deferred()),e}return e=u,(n=[{key:"render",value:function(){var t=this,e=this.dialogOptions.result,n=new b(this.dialogOptions);return r.Radio.channel(i.a.POPUP).trigger(o.a.EventNames.SHOW_POPUP,n),e.always((function(){n.triggerMethod("hide"),t.destroy()}))}},{key:"name",get:function(){return v.x.DialogHelper}}])&&m(e.prototype,n),a&&m(e,a),u}(o.a.Service)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={ANALYTICS:"global:analytics"}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Analytics="AnalyticsService",t.Context="ContextService"}(r||(r={}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(u,t);var e,n,r,c=a(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),c.call(this,t)}return e=u,(n=[{key:"shouldLog",value:function(t){return!0}},{key:"log",value:function(t){}},{key:"isType",value:function(t){return t===u.type}}])&&o(e.prototype,n),r&&o(e,r),u}(n(2).a.Service);s.type="BaseAnalyticsClient"},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1),o={isFileDrag:function(t){return t&&t.originalEvent&&t.originalEvent.dataTransfer&&t.originalEvent.dataTransfer.types&&r.any(t.originalEvent.dataTransfer.types,(function(t){return"Files"===t}))}}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.Permanent=0]="Permanent",t[t.Temporary=1]="Temporary"}(r||(r={}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(5),o=n(22),i={libraries:{dataServiceName:o.a.Library,eventName:"libraries:sync",getData:function(t){return t.getLibraries()},getInstance:function(t){return r.a.getInstance(o.a.Library,t)},beforeOnBeforeRender:!0}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(79),o=n(88);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.d}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a)},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Read="notification:read"}(r||(r={}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return l}));var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(s,t);var e,n,r,u=c(s);function s(){return o(this,s),u.apply(this,arguments)}return e=s,(n=[{key:"name",get:function(){return"AlertError"}}])&&i(e.prototype,n),r&&i(e,r),s}(n(2).a.SilentError)},function(t,e,n){"use strict";var r=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return i(this,n),e.apply(this,arguments)}return n}(r.a.Model);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return g}));var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(i,t);var e,n,r,o=d(i);function i(){return p(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return l}}])&&h(e.prototype,n),r&&h(e,r),i}(r.a.Collection)},function(t,e,n){"use strict";var r=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return i(this,n),e.apply(this,arguments)}return n}(r.a.Model);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return g}));var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(i,t);var e,n,r,o=d(i);function i(){return p(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return l}}])&&h(e.prototype,n),r&&h(e,r),i}(r.a.Collection)},function(t,e,n){"use strict";var r;!function(t){t[t.Approved=1]="Approved",t[t.Pending=2]="Pending",t[t.Rejected=3]="Rejected"}(r||(r={})),n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return'<div class="row mx-0">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.thumbnailContainer:i,e))+' partial-loading-background pr-0 my-3"></div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.metaContainer:i,e))+' pl-3 my-3">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.titleContainer:i,e))+' partial-loading-background"></div>\r\n </div>\r\n</div>'},useData:!0})},function(t,e,n){t.exports={list:"_35CAt",item:"_1r5u9",title:"_1ttnP",requestedBy:"_3Tq3M",date:"_33-LZ"}},function(t,e,n){t.exports={notificationIcon:"_3SkbQ",light:"_2TvQg",dark:"_3taGb",unreadCount:"_1u6ig"}},function(t,e,n){t.exports={paddedContainer:"_1cCVc",imageLarge:"_3Wy1u",imageSmall:"_3t8Qq"}},function(t,e,n){t.exports={selectionContainer:"_3m62c",svgContainer:"_1XxEl"}},function(t,e,n){t.exports={svgContainer:"ecsrN",tip:"IwYkF",termContainer:"_1BqAi",term:"_1NEsr"}},function(t,e,n){t.exports={searchSvgContainer:"_1-crd",tipsContainer:"_15HAy",searchInput:"_1qca6",searchBar:"_3XQHi"}},function(t,e,n){"use strict";n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return b})),n.d(e,"a",(function(){return v}));var r=n(1),o=n(6),i=n(2),a=n(13),c=n(524),u=n.n(c);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d={ShowSpinner:"show:spinner",HideSpinner:"hide:spinner",ToggleSpinner:"toggle:spinner",Enable:"enable",Disable:"disable",ManageDimensions:"manage:dimensions"},b={ShowSpinner:"showSpinner",Disabled:"disabled"},v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(h,t);var e,n,c,s=p(h);function h(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h),s.call(this,t)}return e=h,(n=[{key:"events",value:function(){return{click:"onClick"}}},{key:"initialize",value:function(){this.model||(this.model=new i.a.Model({showSpinner:this.options.showSpinner,disabled:this.options.disabled})),this.bindSpinnerListeners(),this.bindDisableListeners(),this.listenTo(this.model,"change:".concat(b.ShowSpinner),this.render),this.listenTo(this.model,"change:".concat(b.Disabled),this.render)}},{key:"bindSpinnerListeners",value:function(){this.listenTo(this,d.ShowSpinner,this.showSpinner),this.listenTo(this,d.HideSpinner,this.hideSpinner),this.listenTo(this,d.ToggleSpinner,this.toggleSpinner),this.listenTo(this,d.ManageDimensions,this.manageDimensions),this.options.channelName&&(this.listenTo(this.options.channelName,d.ShowSpinner,this.showSpinner),this.listenTo(this.options.channelName,d.HideSpinner,this.hideSpinner),this.listenTo(this.options.channelName,d.ToggleSpinner,this.toggleSpinner))}},{key:"bindDisableListeners",value:function(){this.listenTo(this,d.Enable,this.enableButton),this.listenTo(this,d.Disable,this.disableButton),this.options.channelName&&(this.listenTo(this.options.channelName,d.Enable,this.enableButton),this.listenTo(this.options.channelName,d.Disable,this.disableButton))}},{key:"getButtonText",value:function(){return r.isFunction(this.options.buttonText)?this.options.buttonText():this.options.buttonText}},{key:"getTooltipOptions",value:function(){var t=this.options.tooltip;return r.isFunction(t)?t():t}},{key:"onClick",value:function(t){if(t.preventDefault(),!(this.options.disabled||this.model.get(b.Disabled)||this.model.get(b.ShowSpinner)))return o.Radio.channel(this.options.channelName).trigger(this.options.saveEvent),!1}},{key:"toggleSpinner",value:function(){this.model.get("showSpinner")?this.hideSpinner():this.showSpinner()}},{key:"showSpinner",value:function(){this.model.set("showSpinner",!0)}},{key:"hideSpinner",value:function(){this.model.set("showSpinner",!1)}},{key:"enableButton",value:function(){this.model.set("disabled",!1)}},{key:"disableButton",value:function(){this.model.set("disabled",!0)}},{key:"manageDimensions",value:function(){this.isAttached()&&(this.model.get("showSpinner")?this.applyDimensions():this.storeDimensions())}},{key:"storeDimensions",value:function(){this.options.detectWidth&&this.model.set("buttonWidth",this.$el.outerWidth()),this.options.detectHeight&&this.model.set("buttonHeight",this.$el.outerHeight())}},{key:"applyDimensions",value:function(){this.options.detectWidth&&this.model.get("buttonWidth")&&this.$el.css({width:this.model.get("buttonWidth")+"px"}),this.options.detectHeight&&this.model.get("buttonHeight")&&this.$el.css({height:this.model.get("buttonHeight")+"px"})}},{key:"renderTooltip",value:function(){var t=this.getTooltipOptions();r.isUndefined(t)||r.isEmpty(t)?this.$el.tooltip("dispose"):this.$el.tooltip(t)}},{key:"viewOptions",value:function(){var t={buttonText:this.getButtonText()};if(!this.model.get("showSpinner"))return t;var e=this.options.spinnerOptions||{};return r.extend(t,{spinnerEl:a.q.getSpinner(e)})}},{key:"onAttach",value:function(){this.manageDimensions()}},{key:"onRender",value:function(){this.resetClassName(),this.manageDimensions(),this.renderTooltip()}},{key:"onBeforeDestroy",value:function(){this.getTooltipOptions()&&this.$el.tooltip("dispose")}},{key:"name",get:function(){return"SpinnerButtonComponent"}},{key:"tagName",get:function(){return"button"}},{key:"attributes",get:function(){return{type:this.options.buttonType}}},{key:"template",get:function(){return u.a}},{key:"className",get:function(){var t="btn",e=this.options.extraButtonClass||"";return this.model&&this.model.get("disabled")&&(t="".concat(t," disabled")),"".concat(t," ").concat(e)}},{key:"defaults",get:function(){return{showSpinner:!1,detectWidth:!0,detectHeight:!0,buttonText:"Submit",buttonType:"button",preventMultiClick:!0,spinnerOptions:{size:a.r.Small,extraClasses:"mx-auto"}}}}])&&l(e.prototype,n),c&&l(e,c),h}(i.a.Component)},function(t,e,n){"use strict";e.__esModule=!0,e.AMPERSAND=e.CLOSEPAREN=e.CLOSEANGLEBRACKET=e.CLOSEBRACKET=e.CLOSEBRACE=e.OPENPAREN=e.OPENANGLEBRACKET=e.OPENBRACKET=e.OPENBRACE=e.WS=e.TLD=e.SYM=e.UNDERSCORE=e.SLASH=e.MAILTO=e.PROTOCOL=e.QUERY=e.POUND=e.PLUS=e.NUM=e.NL=e.LOCALHOST=e.PUNCTUATION=e.DOT=e.COLON=e.AT=e.DOMAIN=e.Base=void 0;var r=n(316),o=n(195),i=(0,r.createTokenClass)();function a(t){var e=t?{v:t}:{};return(0,o.inherits)(i,(0,r.createTokenClass)(),e)}i.prototype={toString:function(){return this.v+""}};var c=a(),u=a("@"),s=a(":"),l=a("."),f=a(),p=a(),h=a("\n"),y=a(),d=a("+"),b=a("#"),v=a(),g=a("mailto:"),m=a("?"),w=a("/"),S=a("_"),O=a(),C=a(),k=a(),E=a("{"),_=a("["),R=a("<"),P=a("("),T=a("}"),x=a("]"),j=a(">"),D=a(")"),L=a("&");e.Base=i,e.DOMAIN=c,e.AT=u,e.COLON=s,e.DOT=l,e.PUNCTUATION=f,e.LOCALHOST=p,e.NL=h,e.NUM=y,e.PLUS=d,e.POUND=b,e.QUERY=m,e.PROTOCOL=v,e.MAILTO=g,e.SLASH=w,e.UNDERSCORE=S,e.SYM=O,e.TLD=C,e.WS=k,e.OPENBRACE=E,e.OPENBRACKET=_,e.OPENANGLEBRACKET=R,e.OPENPAREN=P,e.CLOSEBRACE=T,e.CLOSEBRACKET=x,e.CLOSEANGLEBRACKET=j,e.CLOSEPAREN=D,e.AMPERSAND=L},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},,,,,,,,,,,,,,,,,,,,,function(t,e,n){t.exports={statusBar:"_3qlXe",statusBarMessage:"_1ul9Z",button:"_3HS1V"}},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return'<div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.icon:i,e))+' partial-loading-background"></div><div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.contentContainer:i,e))+'">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.content:i,e))+' partial-loading-background ml-1 mt-1"></div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.notificationTime:i,e))+' partial-loading-background ml-1 mt-1"></div>\r\n</div>'},useData:!0})},function(t,e,n){t.exports={content:"_3KP84",notificationTime:"_1MR01",icon:"_1GUmS",contentContainer:"_34ETn"}},function(t,e,n){t.exports={actions:"_1cCHt",badge:"_2x-so",button:"_2y4ng",selectButton:"_1uCMl"}},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="'+t.escapeExpression(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.filterButton:i,e))+'"></div>'},useData:!0})},function(t,e,n){t.exports={filterButton:"_10tNq"}},function(t,e,n){t.exports={container:"_11___",input:"_3RRYx"}},function(t,e,n){t.exports={item:"_3CmnQ",icon:"YYvWW",contentContainer:"_1w1Jg",notificationTime:"_11n-Y",content:"_3JkbY",actionText:"_3D1fr"}},function(t,e,n){t.exports={coverImage:"_1_Tx-",coverContainer:"_3Qf-6",textContainer:"_34VXV"}},function(t,e,n){t.exports={avatar:"_1SfF-",arrow:"_2C5x6",popoverOffset:"_3FIw8"}},function(t,e,n){t.exports={progressDropdown:"_3mx9H",upload:"t6ngq",uploadButtonSvg:"_35apo"}},function(t,e,n){t.exports={progressInfo:"_1fkFK",svgContainer:"_2uMkl",itemCount:"_1oXJj"}},function(t,e,n){t.exports={active:"_3fIrz",icon:"_1RDxv"}},function(t,e,n){"use strict";(function(t){var e=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function n(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(){r(this,t)}return e(t,[{key:"on",value:function(t,e){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(e),this}},{key:"emit",value:function(t){this._callbacks=this._callbacks||{};var e=this._callbacks[t];if(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=e,a=!0,c=0;for(i=a?i:i[Symbol.iterator]();;){var u;if(a){if(c>=i.length)break;u=i[c++]}else{if((c=i.next()).done)break;u=c.value}var s=u;s.apply(this,r)}}return this}},{key:"off",value:function(t,e){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[t];if(!n)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(var r=0;r<n.length;r++){var o=n[r];if(o===e){n.splice(r,1);break}}return this}}]),t}(),i=function(t){function i(t,e){r(this,i);var o,a=n(this,(i.__proto__||Object.getPrototypeOf(i)).call(this)),c=void 0;if(a.element=t,a.version=i.version,a.defaultOptions.previewTemplate=a.defaultOptions.previewTemplate.replace(/\n*/g,""),a.clickableElements=[],a.listeners=[],a.files=[],"string"==typeof a.element&&(a.element=document.querySelector(a.element)),!a.element||null==a.element.nodeType)throw new Error("Invalid dropzone element.");if(a.element.dropzone)throw new Error("Dropzone already attached.");i.instances.push(a),a.element.dropzone=a;var u,s=null!=(o=i.optionsForElement(a.element))?o:{};if(a.options=i.extend({},a.defaultOptions,s,null!=e?e:{}),a.options.forceFallback||!i.isBrowserSupported())return u=a.options.fallback.call(a),n(a,u);if(null==a.options.url&&(a.options.url=a.element.getAttribute("action")),!a.options.url)throw new Error("No URL provided.");if(a.options.acceptedFiles&&a.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(a.options.uploadMultiple&&a.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return a.options.acceptedMimeTypes&&(a.options.acceptedFiles=a.options.acceptedMimeTypes,delete a.options.acceptedMimeTypes),null!=a.options.renameFilename&&(a.options.renameFile=function(t){return a.options.renameFilename.call(a,t.name,t)}),a.options.method=a.options.method.toUpperCase(),(c=a.getExistingFallback())&&c.parentNode&&c.parentNode.removeChild(c),!1!==a.options.previewsContainer&&(a.options.previewsContainer?a.previewsContainer=i.getElement(a.options.previewsContainer,"previewsContainer"):a.previewsContainer=a.element),a.options.clickable&&(!0===a.options.clickable?a.clickableElements=[a.element]:a.clickableElements=i.getElements(a.options.clickable,"clickable")),a.init(),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,t),e(i,null,[{key:"initClass",value:function(){this.prototype.Emitter=o,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,timeout:3e4,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(t,e,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:function(t,e){return e()},chunksUploaded:function(t,e){e()},fallback:function(){var t=void 0;this.element.className=this.element.className+" dz-browser-not-supported";for(var e=0,n=n=this.element.getElementsByTagName("div");;){if(e>=n.length)break;var r=n[e++];if(/(^| )dz-message($| )/.test(r.className)){t=r,r.className="dz-message";break}}t||(t=i.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(t));var o=t.getElementsByTagName("span")[0];return o&&(null!=o.textContent?o.textContent=this.options.dictFallbackMessage:null!=o.innerText&&(o.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(t,e,n,r){var o={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},i=t.width/t.height;null==e&&null==n?(e=o.srcWidth,n=o.srcHeight):null==e?e=n*i:null==n&&(n=e/i);var a=(e=Math.min(e,o.srcWidth))/(n=Math.min(n,o.srcHeight));if(o.srcWidth>e||o.srcHeight>n)if("crop"===r)i>a?(o.srcHeight=t.height,o.srcWidth=o.srcHeight*a):(o.srcWidth=t.width,o.srcHeight=o.srcWidth/a);else{if("contain"!==r)throw new Error("Unknown resizeMethod '"+r+"'");i>a?n=e/i:e=n*i}return o.srcX=(t.width-o.srcWidth)/2,o.srcY=(t.height-o.srcHeight)/2,o.trgWidth=e,o.trgHeight=n,o},transformFile:function(t,e){return(this.options.resizeWidth||this.options.resizeHeight)&&t.type.match(/image.*/)?this.resizeImage(t,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,e):e(t)},previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Check</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Error</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>',drop:function(t){return this.element.classList.remove("dz-drag-hover")},dragstart:function(t){},dragend:function(t){return this.element.classList.remove("dz-drag-hover")},dragenter:function(t){return this.element.classList.add("dz-drag-hover")},dragover:function(t){return this.element.classList.add("dz-drag-hover")},dragleave:function(t){return this.element.classList.remove("dz-drag-hover")},paste:function(t){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var e=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){t.previewElement=i.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-name]");;){if(n>=r.length)break;var o=r[n++];o.textContent=t.name}for(var a=0,c=c=t.previewElement.querySelectorAll("[data-dz-size]");!(a>=c.length);)(o=c[a++]).innerHTML=this.filesize(t.size);this.options.addRemoveLinks&&(t._removeLink=i.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),t.previewElement.appendChild(t._removeLink));for(var u=function(n){return n.preventDefault(),n.stopPropagation(),t.status===i.UPLOADING?i.confirm(e.options.dictCancelUploadConfirmation,(function(){return e.removeFile(t)})):e.options.dictRemoveFileConfirmation?i.confirm(e.options.dictRemoveFileConfirmation,(function(){return e.removeFile(t)})):e.removeFile(t)},s=0,l=l=t.previewElement.querySelectorAll("[data-dz-remove]");;){if(s>=l.length)break;l[s++].addEventListener("click",u)}}},removedfile:function(t){return null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(t,e){if(t.previewElement){t.previewElement.classList.remove("dz-file-preview");for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-thumbnail]");;){if(n>=r.length)break;var o=r[n++];o.alt=t.name,o.src=e}return setTimeout((function(){return t.previewElement.classList.add("dz-image-preview")}),1)}},error:function(t,e){if(t.previewElement){t.previewElement.classList.add("dz-error"),"String"!=typeof e&&e.error&&(e=e.error);for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-errormessage]");;){if(n>=r.length)break;r[n++].textContent=e}}},errormultiple:function(){},processing:function(t){if(t.previewElement&&(t.previewElement.classList.add("dz-processing"),t._removeLink))return t._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(t,e,n){if(t.previewElement)for(var r=0,o=o=t.previewElement.querySelectorAll("[data-dz-uploadprogress]");;){if(r>=o.length)break;var i=o[r++];"PROGRESS"===i.nodeName?i.value=e:i.style.width=e+"%"}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(t){if(t.previewElement)return t.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(t){return this.emit("error",t,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(t){if(t._removeLink&&(t._removeLink.innerHTML=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=n,i=!0,a=0;for(o=i?o:o[Symbol.iterator]();;){var c;if(i){if(a>=o.length)break;c=o[a++]}else{if((a=o.next()).done)break;c=a.value}var u=c;for(var s in u){var l=u[s];t[s]=l}}return t}}]),e(i,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(t){return t.accepted})).map((function(t){return t}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(t){return!t.accepted})).map((function(t){return t}))}},{key:"getFilesWithStatus",value:function(t){return this.files.filter((function(e){return e.status===t})).map((function(t){return t}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(i.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(i.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(i.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(t){return t.status===i.UPLOADING||t.status===i.QUEUED})).map((function(t){return t}))}},{key:"init",value:function(){var t=this;if("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(i.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length){!function e(){return t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null===t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!==t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!==t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",i.getElement(t.options.hiddenInputContainer,"hiddenInputContainer").appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",(function(){var n=t.hiddenFileInput.files;if(n.length)for(var r=0,o=o=n;;){if(r>=o.length)break;var i=o[r++];t.addFile(i)}return t.emit("addedfiles",n),e()}))}()}this.URL=null!==window.URL?window.URL:window.webkitURL;for(var e=0,n=n=this.events;;){if(e>=n.length)break;var r=n[e++];this.on(r,this.options[r])}this.on("uploadprogress",(function(){return t.updateTotalUploadProgress()})),this.on("removedfile",(function(){return t.updateTotalUploadProgress()})),this.on("canceled",(function(e){return t.emit("complete",e)})),this.on("complete",(function(e){if(0===t.getAddedFiles().length&&0===t.getUploadingFiles().length&&0===t.getQueuedFiles().length)return setTimeout((function(){return t.emit("queuecomplete")}),0)}));var o=function(t){return t.stopPropagation(),t.preventDefault?t.preventDefault():t.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(e){return t.emit("dragstart",e)},dragenter:function(e){return o(e),t.emit("dragenter",e)},dragover:function(e){var n=void 0;try{n=e.dataTransfer.effectAllowed}catch(t){}return e.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",o(e),t.emit("dragover",e)},dragleave:function(e){return t.emit("dragleave",e)},drop:function(e){return o(e),t.drop(e)},dragend:function(e){return t.emit("dragend",e)}}}],this.clickableElements.forEach((function(e){return t.listeners.push({element:e,events:{click:function(n){return(e!==t.element||n.target===t.element||i.elementInside(n.target,t.element.querySelector(".dz-message")))&&t.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,i.instances.splice(i.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var t=void 0,e=0,n=0;if(this.getActiveFiles().length){for(var r=0,o=o=this.getActiveFiles();;){if(r>=o.length)break;var i=o[r++];e+=i.upload.bytesSent,n+=i.upload.total}t=100*e/n}else t=100;return this.emit("totaluploadprogress",t,n,e)}},{key:"_getParamName",value:function(t){return"function"==typeof this.options.paramName?this.options.paramName(t):this.options.paramName+(this.options.uploadMultiple?"["+t+"]":"")}},{key:"_renameFile",value:function(t){return"function"!=typeof this.options.renameFile?t.name:this.options.renameFile(t)}},{key:"getFallbackForm",value:function(){var t,e=void 0;if(t=this.getExistingFallback())return t;var n='<div class="dz-fallback">';this.options.dictFallbackText&&(n+="<p>"+this.options.dictFallbackText+"</p>"),n+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>';var r=i.createElement(n);return"FORM"!==this.element.tagName?(e=i.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>')).appendChild(r):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=e?e:r}},{key:"getExistingFallback",value:function(){for(var t=function(t){for(var e=0,n=n=t;;){if(e>=n.length)break;var r=n[e++];if(/(^| )fallback($| )/.test(r.className))return r}},e=["div","form"],n=0;n<e.length;n++){var r,o=e[n];if(r=t(this.element.getElementsByTagName(o)))return r}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events){var r=t.events[n];e.push(t.element.addEventListener(n,r,!1))}return e}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events){var r=t.events[n];e.push(t.element.removeEventListener(n,r,!1))}return e}()}))}},{key:"disable",value:function(){var t=this;return this.clickableElements.forEach((function(t){return t.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(e){return t.cancelUpload(e)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(t){return t.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(t){var e=0,n="b";if(t>0){for(var r=["tb","gb","mb","kb","b"],o=0;o<r.length;o++){var i=r[o];if(t>=Math.pow(this.options.filesizeBase,4-o)/10){e=t/Math.pow(this.options.filesizeBase,4-o),n=i;break}}e=Math.round(10*e)/10}return"<strong>"+e+"</strong> "+this.options.dictFileSizeUnits[n]}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(t){if(t.dataTransfer){this.emit("drop",t);for(var e=[],n=0;n<t.dataTransfer.files.length;n++)e[n]=t.dataTransfer.files[n];if(this.emit("addedfiles",e),e.length){var r=t.dataTransfer.items;r&&r.length&&null!=r[0].webkitGetAsEntry?this._addFilesFromItems(r):this.handleFiles(e)}}}},{key:"paste",value:function(t){if(null!=(e=null!=t?t.clipboardData:void 0,n=function(t){return t.items},null!=e?n(e):void 0)){var e,n;this.emit("paste",t);var r=t.clipboardData.items;return r.length?this._addFilesFromItems(r):void 0}}},{key:"handleFiles",value:function(t){for(var e=0,n=n=t;;){if(e>=n.length)break;var r=n[e++];this.addFile(r)}}},{key:"_addFilesFromItems",value:function(t){var e=this;return function(){for(var n=[],r=0,o=o=t;;){if(r>=o.length)break;var i,a=o[r++];null!=a.webkitGetAsEntry&&(i=a.webkitGetAsEntry())?i.isFile?n.push(e.addFile(a.getAsFile())):i.isDirectory?n.push(e._addFilesFromDirectory(i,i.name)):n.push(void 0):null!=a.getAsFile&&(null==a.kind||"file"===a.kind)?n.push(e.addFile(a.getAsFile())):n.push(void 0)}return n}()}},{key:"_addFilesFromDirectory",value:function(t,e){var n=this,r=t.createReader(),o=function(t){return e=console,n="log",r=function(e){return e.log(t)},null!=e&&"function"==typeof e[n]?r(e,n):void 0;var e,n,r};return function t(){return r.readEntries((function(r){if(r.length>0){for(var o=0,i=i=r;;){if(o>=i.length)break;var a=i[o++];a.isFile?a.file((function(t){if(!n.options.ignoreHiddenFiles||"."!==t.name.substring(0,1))return t.fullPath=e+"/"+t.name,n.addFile(t)})):a.isDirectory&&n._addFilesFromDirectory(a,e+"/"+a.name)}t()}return null}),o)}()}},{key:"accept",value:function(t,e){return this.options.maxFilesize&&t.size>1024*this.options.maxFilesize*1024?e(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):i.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(e(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,e):e(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var e=this;return t.upload={uuid:i.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t),chunked:this.options.chunking&&(this.options.forceChunking||t.size>this.options.chunkSize),totalChunkCount:Math.ceil(t.size/this.options.chunkSize)},this.files.push(t),t.status=i.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,(function(n){return n?(t.accepted=!1,e._errorProcessing([t],n)):(t.accepted=!0,e.options.autoQueue&&e.enqueueFile(t)),e._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(t){for(var e=0,n=n=t;;){if(e>=n.length)break;var r=n[e++];this.enqueueFile(r)}return null}},{key:"enqueueFile",value:function(t){var e=this;if(t.status!==i.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=i.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return e.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(t){var e=this;if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(t),setTimeout((function(){return e._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var t=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var e=this._thumbnailQueue.shift();return this.createThumbnail(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return t.emit("thumbnail",e,n),t._processingThumbnail=!1,t._processThumbnailQueue()}))}}},{key:"removeFile",value:function(t){if(t.status===i.UPLOADING&&this.cancelUpload(t),this.files=a(this.files,t),this.emit("removedfile",t),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(t){null==t&&(t=!1);for(var e=0,n=n=this.files.slice();;){if(e>=n.length)break;var r=n[e++];(r.status!==i.UPLOADING||t)&&this.removeFile(r)}return null}},{key:"resizeImage",value:function(t,e,n,r,o){var a=this;return this.createThumbnail(t,e,n,r,!0,(function(e,n){if(null==n)return o(t);var r=a.options.resizeMimeType;null==r&&(r=t.type);var c=n.toDataURL(r,a.options.resizeQuality);return"image/jpeg"!==r&&"image/jpg"!==r||(c=s.restore(t.dataURL,c)),o(i.dataURItoBlob(c))}))}},{key:"createThumbnail",value:function(t,e,n,r,o,i){var a=this,c=new FileReader;return c.onload=function(){if(t.dataURL=c.result,"image/svg+xml"!==t.type)return a.createThumbnailFromUrl(t,e,n,r,o,i);null!=i&&i(c.result)},c.readAsDataURL(t)}},{key:"createThumbnailFromUrl",value:function(t,e,n,r,o,i,a){var c=this,s=document.createElement("img");return a&&(s.crossOrigin=a),s.onload=function(){var a=function(t){return t(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&o&&(a=function(t){return EXIF.getData(s,(function(){return t(EXIF.getTag(this,"Orientation"))}))}),a((function(o){t.width=s.width,t.height=s.height;var a=c.options.resize.call(c,t,e,n,r),l=document.createElement("canvas"),f=l.getContext("2d");switch(l.width=a.trgWidth,l.height=a.trgHeight,o>4&&(l.width=a.trgHeight,l.height=a.trgWidth),o){case 2:f.translate(l.width,0),f.scale(-1,1);break;case 3:f.translate(l.width,l.height),f.rotate(Math.PI);break;case 4:f.translate(0,l.height),f.scale(1,-1);break;case 5:f.rotate(.5*Math.PI),f.scale(1,-1);break;case 6:f.rotate(.5*Math.PI),f.translate(0,-l.width);break;case 7:f.rotate(.5*Math.PI),f.translate(l.height,-l.width),f.scale(-1,1);break;case 8:f.rotate(-.5*Math.PI),f.translate(-l.height,0)}u(f,s,null!=a.srcX?a.srcX:0,null!=a.srcY?a.srcY:0,a.srcWidth,a.srcHeight,null!=a.trgX?a.trgX:0,null!=a.trgY?a.trgY:0,a.trgWidth,a.trgHeight);var p=l.toDataURL("image/png");if(null!=i)return i(p,l)}))},null!=i&&(s.onerror=i),s.src=t.dataURL}},{key:"processQueue",value:function(){var t=this.options.parallelUploads,e=this.getUploadingFiles().length,n=e;if(!(e>=t)){var r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-e));for(;n<t;){if(!r.length)return;this.processFile(r.shift()),n++}}}}},{key:"processFile",value:function(t){return this.processFiles([t])}},{key:"processFiles",value:function(t){for(var e=0,n=n=t;;){if(e>=n.length)break;var r=n[e++];r.processing=!0,r.status=i.UPLOADING,this.emit("processing",r)}return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter((function(e){return e.xhr===t})).map((function(t){return t}))}},{key:"cancelUpload",value:function(t){if(t.status===i.UPLOADING){for(var e=this._getFilesWithXhr(t.xhr),n=0,r=r=e;;){if(n>=r.length)break;r[n++].status=i.CANCELED}void 0!==t.xhr&&t.xhr.abort();for(var o=0,a=a=e;;){if(o>=a.length)break;var c=a[o++];this.emit("canceled",c)}this.options.uploadMultiple&&this.emit("canceledmultiple",e)}else t.status!==i.ADDED&&t.status!==i.QUEUED||(t.status=i.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(t){if("function"==typeof t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(this,n)}return t}},{key:"uploadFile",value:function(t){return this.uploadFiles([t])}},{key:"uploadFiles",value:function(t){var e=this;this._transformFiles(t,(function(n){if(t[0].upload.chunked){var r=t[0],o=n[0];r.upload.chunks=[];var a=function(){for(var n=0;void 0!==r.upload.chunks[n];)n++;if(!(n>=r.upload.totalChunkCount)){0;var a=n*e.options.chunkSize,c=Math.min(a+e.options.chunkSize,r.size),u={name:e._getParamName(0),data:o.webkitSlice?o.webkitSlice(a,c):o.slice(a,c),filename:r.upload.filename,chunkIndex:n};r.upload.chunks[n]={file:r,index:n,dataBlock:u,status:i.UPLOADING,progress:0,retries:0},e._uploadData(t,[u])}};if(r.upload.finishedChunkUpload=function(n){var o=!0;n.status=i.SUCCESS,n.dataBlock=null,n.xhr=null;for(var c=0;c<r.upload.totalChunkCount;c++){if(void 0===r.upload.chunks[c])return a();r.upload.chunks[c].status!==i.SUCCESS&&(o=!1)}o&&e.options.chunksUploaded(r,(function(){e._finished(t,"",null)}))},e.options.parallelChunkUploads)for(var c=0;c<r.upload.totalChunkCount;c++)a();else a()}else{for(var u=[],s=0;s<t.length;s++)u[s]={name:e._getParamName(s),data:n[s],filename:t[s].upload.filename};e._uploadData(t,u)}}))}},{key:"_getChunk",value:function(t,e){for(var n=0;n<t.upload.totalChunkCount;n++)if(void 0!==t.upload.chunks[n]&&t.upload.chunks[n].xhr===e)return t.upload.chunks[n]}},{key:"_uploadData",value:function(t,e){for(var n=this,r=new XMLHttpRequest,o=0,a=a=t;;){if(o>=a.length)break;a[o++].xhr=r}t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=r);var c=this.resolveOption(this.options.method,t),u=this.resolveOption(this.options.url,t);r.open(c,u,!0),r.timeout=this.resolveOption(this.options.timeout,t),r.withCredentials=!!this.options.withCredentials,r.onload=function(e){n._finishedUploading(t,r,e)},r.onerror=function(){n._handleUploadError(t,r)},(null!=r.upload?r.upload:r).onprogress=function(e){return n._updateFilesUploadProgress(t,r,e)};var s={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var l in this.options.headers&&i.extend(s,this.options.headers),s){var f=s[l];f&&r.setRequestHeader(l,f)}var p=new FormData;if(this.options.params){var h=this.options.params;for(var y in"function"==typeof h&&(h=h.call(this,t,r,t[0].upload.chunked?this._getChunk(t[0],r):null)),h){var d=h[y];p.append(y,d)}}for(var b=0,v=v=t;;){if(b>=v.length)break;var g=v[b++];this.emit("sending",g,r,p)}this.options.uploadMultiple&&this.emit("sendingmultiple",t,r,p),this._addFormElementData(p);for(var m=0;m<e.length;m++){var w=e[m];p.append(w.name,w.data,w.filename)}this.submitRequest(r,p,t)}},{key:"_transformFiles",value:function(t,e){for(var n=this,r=[],o=0,i=function(i){n.options.transformFile.call(n,t[i],(function(n){r[i]=n,++o===t.length&&e(r)}))},a=0;a<t.length;a++)i(a)}},{key:"_addFormElementData",value:function(t){if("FORM"===this.element.tagName)for(var e=0,n=n=this.element.querySelectorAll("input, textarea, select, button");;){if(e>=n.length)break;var r=n[e++],o=r.getAttribute("name"),i=r.getAttribute("type");if(i&&(i=i.toLowerCase()),null!=o)if("SELECT"===r.tagName&&r.hasAttribute("multiple"))for(var a=0,c=c=r.options;;){if(a>=c.length)break;var u=c[a++];u.selected&&t.append(o,u.value)}else(!i||"checkbox"!==i&&"radio"!==i||r.checked)&&t.append(o,r.value)}}},{key:"_updateFilesUploadProgress",value:function(t,e,n){var r=void 0;if(void 0!==n){if(r=100*n.loaded/n.total,t[0].upload.chunked){var o=t[0],i=this._getChunk(o,e);i.progress=r,i.total=n.total,i.bytesSent=n.loaded;o.upload.progress=0,o.upload.total=0,o.upload.bytesSent=0;for(var a=0;a<o.upload.totalChunkCount;a++)void 0!==o.upload.chunks[a]&&void 0!==o.upload.chunks[a].progress&&(o.upload.progress+=o.upload.chunks[a].progress,o.upload.total+=o.upload.chunks[a].total,o.upload.bytesSent+=o.upload.chunks[a].bytesSent);o.upload.progress=o.upload.progress/o.upload.totalChunkCount}else for(var c=0,u=u=t;;){if(c>=u.length)break;var s=u[c++];s.upload.progress=r,s.upload.total=n.total,s.upload.bytesSent=n.loaded}for(var l=0,f=f=t;;){if(l>=f.length)break;var p=f[l++];this.emit("uploadprogress",p,p.upload.progress,p.upload.bytesSent)}}else{var h=!0;r=100;for(var y=0,d=d=t;;){if(y>=d.length)break;var b=d[y++];100===b.upload.progress&&b.upload.bytesSent===b.upload.total||(h=!1),b.upload.progress=r,b.upload.bytesSent=b.upload.total}if(h)return;for(var v=0,g=g=t;;){if(v>=g.length)break;var m=g[v++];this.emit("uploadprogress",m,r,m.upload.bytesSent)}}}},{key:"_finishedUploading",value:function(t,e,n){var r=void 0;if(t[0].status!==i.CANCELED&&4===e.readyState){if("arraybuffer"!==e.responseType&&"blob"!==e.responseType&&(r=e.responseText,e.getResponseHeader("content-type")&&~e.getResponseHeader("content-type").indexOf("application/json")))try{r=JSON.parse(r)}catch(t){n=t,r="Invalid JSON response from server."}this._updateFilesUploadProgress(t),200<=e.status&&e.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],e)):this._finished(t,r,n):this._handleUploadError(t,e,r)}}},{key:"_handleUploadError",value:function(t,e,n){if(t[0].status!==i.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){var r=this._getChunk(t[0],e);if(r.retries++<this.options.retryChunksLimit)return void this._uploadData(t,[r.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}for(var o=0,a=a=t;;){if(o>=a.length)break;a[o++];this._errorProcessing(t,n||this.options.dictResponseError.replace("{{statusCode}}",e.status),e)}}}},{key:"submitRequest",value:function(t,e,n){t.send(e)}},{key:"_finished",value:function(t,e,n){for(var r=0,o=o=t;;){if(r>=o.length)break;var a=o[r++];a.status=i.SUCCESS,this.emit("success",a,e,n),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("successmultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(t,e,n){for(var r=0,o=o=t;;){if(r>=o.length)break;var a=o[r++];a.status=i.ERROR,this.emit("error",a,e,n),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("errormultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}}]),i}(o);i.initClass(),i.version="5.5.1",i.options={},i.optionsForElement=function(t){return t.getAttribute("id")?i.options[c(t.getAttribute("id"))]:void 0},i.instances=[],i.forElement=function(t){if("string"==typeof t&&(t=document.querySelector(t)),null==(null!=t?t.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return t.dropzone},i.autoDiscover=!0,i.discover=function(){var t=void 0;if(document.querySelectorAll)t=document.querySelectorAll(".dropzone");else{t=[];var e=function(e){return function(){for(var n=[],r=0,o=o=e;;){if(r>=o.length)break;var i=o[r++];/(^| )dropzone($| )/.test(i.className)?n.push(t.push(i)):n.push(void 0)}return n}()};e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))}return function(){for(var e=[],n=0,r=r=t;;){if(n>=r.length)break;var o=r[n++];!1!==i.optionsForElement(o)?e.push(new i(o)):e.push(void 0)}return e}()},i.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],i.isBrowserSupported=function(){var t=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(var e=0,n=n=i.blacklistedBrowsers;;){if(e>=n.length)break;n[e++].test(navigator.userAgent)&&(t=!1)}else t=!1;else t=!1;return t},i.dataURItoBlob=function(t){for(var e=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(e.length),o=new Uint8Array(r),i=0,a=e.length,c=0<=a;c?i<=a:i>=a;c?i++:i--)o[i]=e.charCodeAt(i);return new Blob([r],{type:n})};var a=function(t,e){return t.filter((function(t){return t!==e})).map((function(t){return t}))},c=function(t){return t.replace(/[\-_](\w)/g,(function(t){return t.charAt(1).toUpperCase()}))};i.createElement=function(t){var e=document.createElement("div");return e.innerHTML=t,e.childNodes[0]},i.elementInside=function(t,e){if(t===e)return!0;for(;t=t.parentNode;)if(t===e)return!0;return!1},i.getElement=function(t,e){var n=void 0;if("string"==typeof t?n=document.querySelector(t):null!=t.nodeType&&(n=t),null==n)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},i.getElements=function(t,e){var n=void 0,r=void 0;if(t instanceof Array){r=[];try{for(var o=0,i=i=t;!(o>=i.length);)n=i[o++],r.push(this.getElement(n,e))}catch(t){r=null}}else if("string"==typeof t){r=[];for(var a=0,c=c=document.querySelectorAll(t);!(a>=c.length);)n=c[a++],r.push(n)}else null!=t.nodeType&&(r=[t]);if(null==r||!r.length)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},i.confirm=function(t,e,n){return window.confirm(t)?e():null!=n?n():void 0},i.isValidFile=function(t,e){if(!e)return!0;e=e.split(",");for(var n=t.type,r=n.replace(/\/.*$/,""),o=0,i=i=e;;){if(o>=i.length)break;var a=i[o++];if("."===(a=a.trim()).charAt(0)){if(-1!==t.name.toLowerCase().indexOf(a.toLowerCase(),t.name.length-a.length))return!0}else if(/\/\*$/.test(a)){if(r===a.replace(/\/.*$/,""))return!0}else if(n===a)return!0}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each((function(){return new i(this,t)}))}),null!==t?t.exports=i:window.Dropzone=i,i.ADDED="added",i.QUEUED="queued",i.ACCEPTED=i.QUEUED,i.UPLOADING="uploading",i.PROCESSING=i.UPLOADING,i.CANCELED="canceled",i.ERROR="error",i.SUCCESS="success";var u=function(t,e,n,r,o,i,a,c,u,s){var l=function(t){t.naturalWidth;var e=t.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=e;var r=n.getContext("2d");r.drawImage(t,0,0);for(var o=r.getImageData(1,0,1,e).data,i=0,a=e,c=e;c>i;){0===o[4*(c-1)+3]?a=c:i=c,c=a+i>>1}var u=c/e;return 0===u?1:u}(e);return t.drawImage(e,n,r,o,i,a,c,u,s/l)},s=function(){function t(){r(this,t)}return e(t,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(t){for(var e="",n=void 0,r=void 0,o="",i=void 0,a=void 0,c=void 0,u="",s=0;i=(n=t[s++])>>2,a=(3&n)<<4|(r=t[s++])>>4,c=(15&r)<<2|(o=t[s++])>>6,u=63&o,isNaN(r)?c=u=64:isNaN(o)&&(u=64),e=e+this.KEY_STR.charAt(i)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(c)+this.KEY_STR.charAt(u),n=r=o="",i=a=c=u="",s<t.length;);return e}},{key:"restore",value:function(t,e){if(!t.match("data:image/jpeg;base64,"))return e;var n=this.decode64(t.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(n),o=this.exifManipulation(e,r);return"data:image/jpeg;base64,"+this.encode64(o)}},{key:"exifManipulation",value:function(t,e){var n=this.getExifArray(e),r=this.insertExif(t,n);return new Uint8Array(r)}},{key:"getExifArray",value:function(t){for(var e=void 0,n=0;n<t.length;){if(255===(e=t[n])[0]&225===e[1])return e;n++}return[]}},{key:"insertExif",value:function(t,e){var n=t.replace("data:image/jpeg;base64,",""),r=this.decode64(n),o=r.indexOf(255,3),i=r.slice(0,o),a=r.slice(o),c=i;return c=(c=c.concat(e)).concat(a)}},{key:"slice2Segments",value:function(t){for(var e=0,n=[];;){if(255===t[e]&218===t[e+1])break;if(255===t[e]&216===t[e+1])e+=2;else{var r=e+(256*t[e+2]+t[e+3])+2,o=t.slice(e,r);n.push(o),e=r}if(e>t.length)break}return n}},{key:"decode64",value:function(t){var e=void 0,n=void 0,r="",o=void 0,i=void 0,a="",c=0,u=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");e=this.KEY_STR.indexOf(t.charAt(c++))<<2|(o=this.KEY_STR.indexOf(t.charAt(c++)))>>4,n=(15&o)<<4|(i=this.KEY_STR.indexOf(t.charAt(c++)))>>2,r=(3&i)<<6|(a=this.KEY_STR.indexOf(t.charAt(c++))),u.push(e),64!==i&&u.push(n),64!==a&&u.push(r),e=n=r="",o=i=a="",c<t.length;);return u}}]),t}();s.initClass();i._autoDiscoverFunction=function(){if(i.autoDiscover)return i.discover()},function(t,e){var n=!1,r=!0,o=t.document,i=o.documentElement,a=o.addEventListener?"addEventListener":"attachEvent",c=o.addEventListener?"removeEventListener":"detachEvent",u=o.addEventListener?"":"on",s=function r(i){if("readystatechange"!==i.type||"complete"===o.readyState)return("load"===i.type?t:o)[c](u+i.type,r,!1),!n&&(n=!0)?e.call(t,i.type||i):void 0};if("complete"!==o.readyState){if(o.createEventObject&&i.doScroll){try{r=!t.frameElement}catch(t){}r&&function t(){try{i.doScroll("left")}catch(e){return void setTimeout(t,50)}return s("poll")}()}o[a](u+"DOMContentLoaded",s,!1),o[a](u+"readystatechange",s,!1),t[a](u+"load",s,!1)}}(window,i._autoDiscoverFunction)}).call(this,n(817)(t))},function(t,e,n){"use strict";n(193),n(219);var r=n(194),o=n(6),i=n(2),a=n(0),c=n(13),u=n(192),s=n(43),l=n(179);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(v,t);var e,n,f,b=d(v);function v(){return p(this,v),b.apply(this,arguments)}return e=v,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,s.a.FILES_SELECTED,this.onFilesSelected)}},{key:"onFilesSelected",value:function(t){var e=this;!t&&t.length||(this.reader=new FileReader,this.reader.addEventListener("load",(function(){return e.onReaderLoad()})),this.reader.readAsDataURL(t[0]))}},{key:"onReaderLoad",value:function(){var t=this,e=new Image;e.src=this.reader.result;var n=a.k[this.options.imageType].width,r=a.k[this.options.imageType].height;e.addEventListener("load",(function(){t.isImageValid(e)?t.isImageLowQuality(e)?t.onImageLowQuality(e):t.onImageLoad(e):t.onImageTooSmall(n,r)}))}},{key:"onImageLowQuality",value:function(t){var e=this;o.Radio.channel(this.options.channelName).trigger("image:error"),window.setTimeout((function(){var n=a.m[e.options.imageType];new c.d({title:"Low quality image detected",text:'<p>We\'ve detected a low quality image which may appear stretched or distorted within ClickView.</p>\n <p class="text-muted mb-0"><em>We recommend a size of at least\n '.concat(n.width,"px by ").concat(n.height,"px.</em></p>"),buttons:[{text:"Continue anyway",className:"btn btn-primary",success:!0}]}).render().done((function(){e.onImageLoad(t,!0)}))}),300)}},{key:"onImageTooSmall",value:function(t,e){o.Radio.channel(this.options.channelName).trigger("image:error"),window.setTimeout((function(){i.a.ErrorHelper.throw(new u.g(t,e))}),300)}},{key:"isImageValid",value:function(t){var e=a.k[this.options.imageType].width,n=a.k[this.options.imageType].height;return!(e&&t.width<e||n&&t.height<n)}},{key:"isImageLowQuality",value:function(t){var e=a.m[this.options.imageType];return!!e&&(t.width<e.width||t.height<e.height)}},{key:"onImageLoad",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.options.saveImage(t.src,e),o.Radio.channel(this.options.channelName).trigger("image:load"),this.options.appLink&&i.a.AppLinkHelper.trigger(this.options.appLink)}},{key:"behaviors",get:function(){return[{behaviorClass:r.a,buttonSelector:this.options.buttonSelector,channelName:this.options.channelName,acceptMultiple:!1,mimeType:l.b.IMAGES}]}}])&&h(e.prototype,n),f&&h(e,f),v}(i.a.Behavior);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=E(t);if(e){var o=E(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var _=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(a,t);var e,n,r,i=C(a);function a(){return w(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"initialize",value:function(){this.lockLayoutFileDrop()}},{key:"lockLayoutFileDrop",value:function(){o.Radio.channel("file:drop:lock").trigger("lock")}},{key:"unlockLayoutFileDrop",value:function(){o.Radio.channel("file:drop:lock").trigger("unlock")}},{key:"onDestroy",value:function(){this.unlockLayoutFileDrop()}}])&&S(e.prototype,n),r&&S(e,r),a}(i.a.Behavior);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function x(t,e){return(x=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=L(t);if(e){var o=L(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D(this,n)}}function D(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var A=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&x(t,e)}(a,t);var e,n,r,i=j(a);function a(){return P(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"getModel",value:function(){return this.options.bindViewModel?this.view.viewModel:this.view.model}},{key:"bindModelValidation",value:function(){this.getModel().addValidation(this.options.modelValidation)}},{key:"onRender",value:function(){this.options.modelValidation&&this.bindModelValidation(),o.Validation.bind(this.view,{model:this.getModel()})}},{key:"onBeforeDestroy",value:function(){o.Validation.unbind(this.view,{model:this.getModel()})}}])&&T(e.prototype,n),r&&T(e,r),a}(i.a.Behavior),I=n(116),N=n(19);function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function U(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function F(t,e){return(F=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function H(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=B(t);if(e){var o=B(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z(this,n)}}function z(t,e){return!e||"object"!==M(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function B(t){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F(t,e)}(a,t);var e,n,r,o=H(a);function a(){return V(this,a),o.apply(this,arguments)}return e=a,(n=[{key:"initialize",value:function(){this.validateOptions(),this.listenTo(I.a.LAZY_LOAD,"update:loader",this.updateLoader)}},{key:"updateLoader",value:function(){this.loader&&this.loader.update()}},{key:"onAttach",value:function(){c.h.isLazyLoadSupported(this.options.minBrowserSupportVersion)&&(this.loader=new LazyLoad({data_src:this.options.attribute,elements_selector:this.options.selector,class_loading:this.options.loadingClass,callback_load:this.options.callback,class_error:"d-none"}))}},{key:"onRender",value:function(){this.updateLoader()}},{key:"onBeforeDestroy",value:function(){this.loader&&this.loader.destroy()}},{key:"validateOptions",value:function(){this.options.selector||i.a.ErrorHelper.throw(new N.a("Must pass an image selector from ".concat(this.view.name," when using LazyLoadBehaviour.")))}},{key:"defaults",get:function(){return{loadingClass:"lazyload-loading",attribute:"src"}},set:function(t){}}])&&U(e.prototype,n),r&&U(e,r),a}(i.a.Behavior),W=n(1),Y=n(12),G=n(246),J=n(180),K=n(525),Q=n.n(K);function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t){return function(t){if(Array.isArray(t))return X(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return X(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X(t,e)}(t)||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 X(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function tt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nt(t,e){return(nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=it(t);if(e){var o=it(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ot(this,n)}}function ot(t,e){return!e||"object"!==Z(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function it(t){return(it=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var at={saveEvent:"save",extraButtonClass:"btn-primary",spinnerOptions:{size:J.b.Small,type:J.c.Light,extraClasses:"mx-auto"}},ct=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nt(t,e)}(c,t);var e,n,r,a=rt(c);function c(){return tt(this,c),a.apply(this,arguments)}return e=c,(n=[{key:"initialize",value:function(){this.validateOptions(),this.setUpTemplateWrapper(),this.handleCloseOnRoute(),this.handleRendersDuringTransition()}},{key:"validateOptions",value:function(){this.options.title||i.a.ErrorHelper.throw(new N.a("Must pass a title from ".concat(this.view.name," when using PopupBehavior.")))}},{key:"handleCloseOnRoute",value:function(){var t=this;!1!==this.options.closeOnRoute&&(this.routeOnHide=!0,this.listenTo(Y.a.SHELL,"route",(function(){t.routeOnHide=!1,t.view.$el.modal("hide")})))}},{key:"handleRendersDuringTransition",value:function(){var t=this,e=this.view.render;this.view.render=function(){var n=t.view.$el.data("bs.modal");return n&&n._isTransitioning?(t.view.$(".modal-dialog").one("bsTransitionEnd",(function(){return e.call(t.view)})),t):e.call(t.view)}}},{key:"onHide",value:function(){this.hide()}},{key:"setUpTemplateWrapper",value:function(){var t=this,e=this.view.getTemplate;this.view.getTemplate=function(){return function(n){var r=e.call(t.view),o=t.options.hideCloseButton,i=r(n),a=$(t.options.buttons||[]);return W.each(a,(function(t){W.isFunction(t.getClassName)&&(t.className=t.getClassName())})),W.some(a,(function(t){return t.close}))||o||a.unshift({text:"Close",className:"btn btn-link",close:!0}),a=W.sortBy(W.map(a,(function(t){return W.extend({type:"button",className:"btn btn-primary"},t)})),"close"),Q()({content:i,size:t.options.size,title:t.getTitle(),buttons:a,spinnerButton:!!t.options.spinnerButtonOptions})}}}},{key:"getTitle",value:function(){return W.isFunction(this.options.title)?this.options.title.apply(this.view):this.options.title}},{key:"getSpinnerButtonOptions",value:function(){return W.isFunction(this.options.spinnerButtonOptions)?this.options.spinnerButtonOptions.apply(this.view):this.options.spinnerButtonOptions}},{key:"renderSpinnerButton",value:function(){var t=this.getSpinnerButtonOptions();t&&!W.isEmpty(t)&&(t=W.extend({},at,t),this.view.addRegion("spinnerButton",{el:".spinner-button-region",replaceElement:!0}),this.spinnerButtonListenerBound||(this.spinnerButtonListenerBound=!0,this.view.listenTo(t.channelName,t.saveEvent,t.onClick)),this.spinnerComponent=new G.a(W.omit(t,"onClickSpinnerButton")),this.view.showChildView("spinnerButton",this.spinnerComponent))}},{key:"onRender",value:function(){this.renderSpinnerButton();var t="modal fade";this.options.modalClasses&&(t+=" ".concat(this.options.modalClasses)),this.view.$el.addClass(t),this.view.$el.attr("tabindex","-1"),o.Radio.channel(I.a.POPUP).trigger("popup:render")}},{key:"onAttach",value:function(){this.modalInitialized||(this.view.$el.modal(this.options.modalOptions||{}),this.modalInitialized=!0)}},{key:"hide",value:function(){this.view.$el.modal("hide"),this.routeOnHide||this.view.$el.modal("_removeBackdrop")}},{key:"onBeforeDetach",value:function(){this.hide()}},{key:"onModalHidden",value:function(){this.view.isDestroyed()||this.view.destroy();var t=this.options.appLink;this.routeOnHide&&t&&i.a.AppLinkHelper.trigger(t)}},{key:"onModalShown",value:function(){this.view.$el.find("[autofocus]").focus(),this.spinnerComponent&&this.spinnerComponent.trigger(G.b.ManageDimensions)}},{key:"events",get:function(){return{"hidden.bs.modal":"onModalHidden","shown.bs.modal":"onModalShown"}}}])&&et(e.prototype,n),r&&et(e,r),c}(i.a.Behavior);function ut(t){return(ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function st(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ft(t,e){return(ft=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=yt(t);if(e){var o=yt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ht(this,n)}}function ht(t,e){return!e||"object"!==ut(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function yt(t){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var dt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ft(t,e)}(i,t);var e,n,r,o=pt(i);function i(){return st(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"onRender",value:function(){this.view.stickit(this.options.bindViewModel?this.view.viewModel:this.view.model)}},{key:"onBeforeDestroy",value:function(){this.view.unstickit()}}])&<(e.prototype,n),r&<(e,r),i}(i.a.Behavior);n.d(e,"b",(function(){return r.a})),n.d(e,"c",(function(){return g})),n.d(e,"e",(function(){return _})),n.d(e,"a",(function(){return A})),n.d(e,"d",(function(){return q})),n.d(e,"f",(function(){return ct})),n.d(e,"g",(function(){return dt}))},function(t,e,n){"use strict";var r=n(1),o=n(29),i=n(0),a=n(99),c=n(126),u=n(27),s=(n(221),n(2)),l=n(118);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g,m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(i,t);var e,n,r,o=d(i);function i(){return p(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return l.b}}])&&h(e.prototype,n),r&&h(e,r),i}(s.a.Collection),w=n(3);function S(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function O(t){return function(t){if(Array.isArray(t))return C(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return C(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(t,e)}(t)||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 C(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var k="contentUpdates.utils",E={getFilterCollection:function(t,e,n){var r=new a.a([{title:w.a.getPhrase(k,"libraryFilter"),type:u.a.Libraries,behavior:c.a.Inclusive,selectAllWhenNoneSelected:!0,minNumOptions:2,options:c.b.getSourceOptions(t)},{title:w.a.getPhrase(k,"subjectFilter"),type:u.a.Subjects,behavior:c.a.Exclusive,defaultOptionLabel:function(){return w.a.getPhrase(k,"subjectFilterLabel")},minNumOptions:0,options:e},{title:w.a.getPhrase(k,"releaseDateFilter"),type:u.a.ReleaseDate,behavior:c.a.Exclusive,minNumOptions:1,options:x}]);return n&&E.setFilters(r,n),r},getLibraryIds:function(t,e){var n=e.map((function(t){return t.get("id").toString()}));if(!t)return n;var o=[];return t.split(",").forEach((function(t){var e=t.split("-")[1];e&&r.contains(n,e)&&o.push(e)})),o},getSubjectOptions:function(t){var e={};return t.each((function(t){if(e[t.get("name")]){e[t.get("name")].subjectIds.push(t.get("id").toString());var n=[].concat(O(e[t.get("name")].libraryIds),O(t.get("libraryIds").map((function(t){return t.toString()}))));e[t.get("name")].libraryIds=r.uniq(n)}else e[t.get("name")]={subjectIds:[t.get("id").toString()],libraryIds:t.get("libraryIds").map((function(t){return t.toString()}))}})),r.keys(e).sort().map((function(t){return{name:t,value:t,subjectIds:e[t].subjectIds,libraryIds:e[t].libraryIds}}))},setFilters:function(t,e){r.keys(e).forEach((function(n){var r=e[n];if(r){var o=t.findWhere({type:n});o&&(n===u.a.Libraries&&E.setLibraryFilter(r,o),n===u.a.Subjects&&E.setSubjectFilter(r,o),n===u.a.ReleaseDate&&E.setReleaseDateFilter(r,o))}})),t.each((function(t){t.get("selectAllWhenNoneSelected")&&(r.contains(r.keys(e),t.get("type"))||c.b.selectAllOptions(t))}))},setLibraryFilter:function(t,e){t.split(",").forEach((function(t){var n=t.split("-")[1];if(n){var r=e.options.findWhere({id:+n});r&&r.set("active",!0)}}))},setSubjectFilter:function(t,e){if(-1!==t.indexOf("-")){var n=t.split("-")[1].split(","),o=e.options.find((function(t){return!!r.intersection(t.get("subjectIds"),n).length}));if(o)o.set("active",!0);else{var i=t.split("-")[0];e.options.add({name:i,value:i,subjectIds:n,active:!0})}}},setReleaseDateFilter:function(t,e){c.b.clearOptions(e);var n=e.options.findWhere({queryString:t});if(n)n.set("active",!0);else{var r=e.options.findWhere({isDefault:!0});r&&r.set("active")}},getSelectedSubjects:function(t){return t.findWhere({type:u.a.Subjects}).options.where({active:!0})},groupVideosByReleaseMonth:function(t){var e=[],n=t.groupBy((function(t){return o(t.get("dateReleased")).format("YYYY-MM")}));return r.each(n,(function(t,n){e.push(new l.b({id:n,videos:t,groupTitle:o(n).format("MMMM YYYY")}))})),new m(r.sortBy(e,"id").reverse())},getFirstDayInMonthNumMonthsAgo:function(t){return o().startOf("month").subtract(t,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo:function(t){return o().endOf("month").subtract(t,"month").format("YYYY-MM-DD")},getSelectedReleaseDate:function(t){return t.findWhere({type:u.a.ReleaseDate}).options.findWhere({active:!0})},getRouteQueryParams:function(t){var e=E.RouteQueryParamGenerators,n={};return t.each((function(t){var o={};r.isFunction(e[t.get("type")])&&(o=e[t.get("type")](t)),n=r.extend(n,o)})),n},RouteQueryParamGenerators:(g={},S(g,u.a.Libraries,(function(t){var e=t.options.where({active:!0});return e.length&&e.length!==t.options.length?S({},u.a.Libraries,e.map((function(t){return"library-".concat(t.id)})).join(",")):{}})),S(g,u.a.Subjects,(function(t){var e=t.options.where({active:!0}),n=t.options.length>1&&t.options.length===e.length;return!e.length||n?{}:S({},u.a.Subjects,e.map((function(t){return"".concat(t.get("name"),"-").concat(t.get("subjectIds").join(","))})).join(","))})),S(g,u.a.ReleaseDate,(function(t){var e=t.options.findWhere({active:!0});if(!e)return{};var n=e.get("queryString");return n?S({},u.a.ReleaseDate,n):{}})),g)},_="contentUpdates.utils",R={AwaitingReview:function(){return w.a.getPhrase(_,"awaitingReview")},PastReleases:function(){return w.a.getPhrase(_,"pastReleases")}},P={AwaitingReview:".awaiting-review-applink",PastReleases:".past-releases-applink"},T=[{name:R.AwaitingReview,link:{selector:P.AwaitingReview,appLink:{application:i.b.CONTENT_UPDATES,action:i.a.ContentUpdates.AWAITING_REVIEW}}},{name:R.PastReleases,link:{selector:P.PastReleases,appLink:{application:i.b.CONTENT_UPDATES,action:i.a.ContentUpdates.PAST_RELEASES}}}],x=[{id:u.b.ThisMonth,value:u.b.ThisMonth,from:E.getFirstDayInMonthNumMonthsAgo(0),to:o().format("YYYY-MM-DD"),name:function(){return w.a.getPhrase(_,"thisMonth")},queryString:u.b.ThisMonth},{id:u.b.LastMonth,value:u.b.LastMonth,from:E.getFirstDayInMonthNumMonthsAgo(1),to:E.getLastDayInMonthNumMonthsAgo(1),name:function(){return w.a.getPhrase(_,"lastMonth")},queryString:u.b.LastMonth},{id:u.b.Last3Months,value:u.b.Last3Months,from:E.getFirstDayInMonthNumMonthsAgo(2),to:o().format("YYYY-MM-DD"),queryString:u.b.Last3Months,name:function(){return w.a.getPhrase(_,"last3Months")}},{id:u.b.Last6Months,value:u.b.Last6Months,from:E.getFirstDayInMonthNumMonthsAgo(5),to:o().format("YYYY-MM-DD"),queryString:u.b.Last6Months,name:function(){return w.a.getPhrase(_,"last6Months")}}],j=r.last(x),D=n(63),L={groupVideosByHostedLibrary:function(t){return L.groupVideosByLibrary(t,D.a.HostedLibrary,!0)},groupVideosByLibrary:function(t,e,n){if(!t||!t.length)return new m;var o=[],i=t.groupBy((function(t){var r=t.libraries.findWhere({type:e});return r||n&&(r=t.libraries.first())?r.get("name"):"Unknown Library"}));return r.each(i,(function(t,e){o.push(new l.b({id:e,videos:t,groupTitle:e}))})),new m(r.sortBy(o,"id"))}};n.d(e,"a",(function(){return R})),n.d(e,"b",(function(){return P})),n.d(e,"d",(function(){return T})),n.d(e,"g",(function(){return x})),n.d(e,"e",(function(){return j})),n.d(e,"c",(function(){return L})),n.d(e,"f",(function(){return E}))},function(t,e,n){"use strict";var r=n(1),o=n(2),i=n(534),a=n.n(i);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(c,t);var e,n,o,i=l(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),i.call(this,t)}return e=c,(n=[{key:"getImageClass",value:function(){return this.options.customImageClass}},{key:"getHeading",value:function(){return r.isFunction(this.options.heading)?this.options.heading():this.options.heading}},{key:"getDescription",value:function(){return r.isFunction(this.options.description)?this.options.description():this.options.description}},{key:"viewOptions",value:function(){return{imageUrl:this.options.imageUrl,imageClass:this.getImageClass(),heading:this.getHeading(),description:this.getDescription()}}},{key:"name",get:function(){return"EmptyStateComponent"}},{key:"className",get:function(){var t="d-flex flex-column justify-content-center align-items-center text-center h-100";return this.options.customClass&&(t+=" ".concat(this.options.customClass)),t}},{key:"template",get:function(){return a.a}},{key:"defaults",get:function(){return{imageSize:"lg",paddedContainer:!0}}},{key:"appLinks",get:function(){return this.options.appLink||{}}}])&&u(e.prototype,n),o&&u(e,o),c}(o.a.Component),y=n(412);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return O}));var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(a,t);var e,n,o,i=m(a);function a(){return b(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"shouldRender",value:function(){return!!r.isFunction(this.options.shouldRender)&&this.options.shouldRender()}},{key:"getComponent",value:function(){var t=this.options.emptyStateComponents[this.options.type](this);return new h(t)}},{key:"renderEmptyState",value:function(){if(this.shouldRender()){var t=this.getComponent();this.view.showChildView(this.options.region,t)}}},{key:"onRender",value:function(){this.renderEmptyState()}},{key:"defaults",get:function(){return{type:0,shouldRender:y.a.isCollectionEmpty.bind(null,this.view)}},set:function(t){}}])&&v(e.prototype,n),o&&v(e,o),a}(o.a.Behavior)},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(40),o=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f="migrationWizard.alreadyMigratedError",p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(s,t);var e,n,r,i=u(s);function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,o.a.getPhrase(f,"title"))}return e=s,(n=[{key:"name",get:function(){return"AlreadyMigratedError"}},{key:"heading",get:function(){return o.a.getPhrase(f,"heading")}}])&&a(e.prototype,n),r&&a(e,r),s}(r.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(1),o=n(6),i=n(2),a=n(19),c=n(135),u=n(556),s=n.n(u);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(p,t);var e,n,u,l=d(p);function p(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),l.call(this,t)}return e=p,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"select:option:selected",this.render)}},{key:"events",value:function(){return{click:"onClick"}}},{key:"hasTooltip",value:function(){if(!r.isFunction(this.options.getTooltip))return!1;var t=this.getTooltip();return!!r.isObject(t)&&t.title}},{key:"getTooltip",value:function(){if(r.isFunction(this.options.getTooltip))return this.options.getTooltip.apply(this,arguments)}},{key:"isDisabled",value:function(){return!!this.model.get("divider")||!!r.isFunction(this.options.isDisabled)&&this.options.isDisabled.apply(this,arguments)}},{key:"onClick",value:function(t){var e=this.model.get("eventName")||this.options.eventName;this.model.get("stopPropagation")&&t.stopPropagation(),this.isDisabled()?t.stopPropagation():(this.logAction(),e&&o.Radio.channel(this.options.channelName).trigger(e,this.model))}},{key:"logAction",value:function(){var t=this.model.get("appLink");if(t){var e=f(t.args,1)[0];this.options.analyticsHelper.logUserAction({id:e},this.model.get("analyticsOptions"))}}},{key:"buildPrefix",value:function(){if(r.isFunction(this.options.prefixHandler))return this.options.prefixHandler.apply(this,arguments)}},{key:"getTitle",value:function(){if(!this.model.get("divider")){var t=this.model.get(this.options.titleProperty);return t||i.a.ErrorHelper.throw(new a.a("titleProperty has not been correctly set. Or the model does not contain the property.")),t}}},{key:"viewOptions",value:function(){return{title:this.getTitle(),prefix:this.buildPrefix(),iconSvg:this.model.get("icon")}}},{key:"onRender",value:function(){this.resetClassName()}},{key:"template",get:function(){return s.a}},{key:"behaviors",get:function(){var t=[];return this.hasTooltip()&&t.push(Object.assign({behaviorClass:c.a},this.getTooltip())),t}},{key:"name",get:function(){return"DropdownItemComponent"}},{key:"tagName",get:function(){return this.model.get("divider")?"div":this.model.get("appLink")||this.model.get("href")?"a":"span"}},{key:"className",get:function(){if(this.model.get("divider"))return"dropdown-divider";var t=this.model.get("classes")||this.options.extraClasses,e="dropdown-item text-truncate";return this.options.truncateOptionNames?e+=" d-block text-truncate":e+=" d-flex justify-content-between",this.model.get("selected")&&(e+=" active"),this.isDisabled()?this.hasTooltip()?e+=" cursor-default":e+=" disabled cursor-default":e+=" cursor-pointer",t&&(e+=" ".concat(t)),e}},{key:"appLinks",get:function(){return this.model.get("appLink")?{"[this]":this.model.get("appLink")}:{}}},{key:"defaults",get:function(){return{titleProperty:"title"}}},{key:"attributes",get:function(){if(this.options.truncateOptionNames)return{title:this.model.get("name")};var t=this.hasTooltip()?this.getTooltip().title:"";return this.model.get("href")?{href:this.model.get("href"),title:this.options.currentSelectedMessage||t,target:this.model.get("external")?"_blank":""}:{title:t}}}])&&h(e.prototype,n),u&&h(e,u),p}(i.a.Component)},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(220);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e,n){"use strict";var r=n(1),o=n(131),i=n(2),a=n(19),c=n(74),u=n(24),s=n(132),l=n(15),f=n(3),p=n(528),h=n.n(p),y=n(529),d=n.n(y);n.d(e,"a",(function(){return b}));var b={handleQuery:function(t,e){return function(n,i,a){if(n&&t instanceof o){return t.search.call(t,n,i,(function(t){var o=[];if("empty-suggestion"===e.name)return a.call(this,[{}]);if("add-new"===e.name){var i=r.find(t,(function(t){return t.name.toLowerCase()===n.toLowerCase()}));i||(i={name:n}),i.type=e.newType,o.push(i)}else o=t;a.call(this,o)}))}}},getSuggestionTemplate:function(t){return"add-new"===t?function(t){return function(t){var e=r.extend({},t,{options:{styles:h.a,svg:l.a.getSvg(l.b.Plus),createText:f.a.getPhrase("shared.utils","create")}});return d()(e)}(t)}:"empty-suggestion"===t?s.a:s.d},getPendingTemplate:function(t){return"add-new"===t||"empty-suggestion"===t?s.a:s.b},getNotFoundTemplate:function(t,e){return"add-new"===t||e?s.a:s.c},getFooterTemplate:function(t){return r.isFunction(t)?t:null},prepareQuery:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.libraryIds;return"".concat(e.url,"?q=").concat(t).concat(r?"&ids=".concat(r):"")},prepareUrl:function(t,e){var n=b.mapRawSearchType(t,e);return"/api/domain/v1/search/".concat(n,"/instant/raw")},mapRawSearchType:function(t,e){switch(t){case u.a.TagsRaw:return u.a.TagsRaw;case u.a.Series:return u.a.Series;case u.a.Producers:return u.a.Producers;case u.a.Distributors:return u.a.Distributors;case u.a.ChannelRaw:return u.a.ChannelRaw;case u.a.Directors:return u.a.Directors;case u.a.ProductionCompanies:return u.a.ProductionCompanies;case u.a.Season:return u.a.Season;case"add-new":case"empty-suggestion":return e.newType;default:i.a.ErrorHelper.throw(new a.a("Raw search type ".concat(t," is not supported.")))}},getBloodhoundConfig:function(){return function(t,e){return{datumTokenizer:o.tokenizers.obj.whitespace("name"),queryTokenizer:o.tokenizers.whitespace,remote:{url:b.prepareUrl(t,e),prepare:r.partial(b.prepareQuery,r,r,e),cache:!1}}}},getTypeaheadConfig:function(){return function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{name:t.name,source:b.handleQuery(t.bloodhound,Object.assign({fetchType:c.a.Remote,name:t.name},n)),async:!0,limit:5,display:function(t){return t.name},templates:{suggestion:b.getSuggestionTemplate(t.name),pending:b.getPendingTemplate(t.name),notFound:b.getNotFoundTemplate(t.name,n.hideEmptyResults),footer:b.getFooterTemplate(n.footerTemplate)}}}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(40),o=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(s,t);var e,n,r,i=u(s);function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,"User does not have access to this video")}return e=s,(n=[{key:"name",get:function(){return"ForbiddenVideoError"}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.forbiddenVideo","info")}}])&&a(e.prototype,n),r&&a(e,r),s}(r.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(40),o=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(s,t);var e,n,r,i=u(s);function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,"Video not found")}return e=s,(n=[{key:"name",get:function(){return"VideoNotFoundError"}},{key:"heading",get:function(){return o.a.getPhrase("libraryEditor.errors.videoNotFound","heading")}}])&&a(e.prototype,n),r&&a(e,r),s}(r.a)},function(t,e,n){"use strict";var r=n(222);n.d(e,"a",(function(){return r.a}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(152);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e,n){"use strict";n.d(e,"a",(function(){return k}));var r=n(6),o=n(2),i=n(3),a=n(98),c=n(13),u=n(0),s=n(559),l=n.n(s),f=n(134),p=n.n(f);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function v(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=O(t);if(e){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"initialize",value:function(){this.listenTo(this.model,"change:video change:pendingProcessStatus",this.render),this.listenTo(this.model,"change:foregroundProgress change:backgroundProgress",this.update)}},{key:"events",value:function(){var t;return y(t={},"click .".concat(p.a.cancel),"onClickCancel"),y(t,"click .retry","onClickRetry"),t}},{key:"onClickCancel",value:function(t){t.preventDefault(),t.stopPropagation();var e=this.model.get("video").get("name");c.b.generateDialog(e,this.options.channelName,"clear:pending:item",this.model)}},{key:"onClickRetry",value:function(t){t.preventDefault(),t.stopPropagation(),r.Radio.channel(this.options.channelName).trigger("retry:pending:item",this.model)}},{key:"viewOptions",value:function(){var t=this.model.get("video");return{status:a.a.getStatus(this.model),progress:a.a.getProgress(this.model),name:t?t.get("name"):i.a.getPhrase(this.lang,"videoNotFound"),isDone:a.a.isDone(this.model),hasError:a.a.hasError(this.model),styles:p.a,spinnerEl:c.q.getSpinner({size:c.r.Medium,tag:"span",extraClasses:p.a.spinner})}}},{key:"onRender",value:function(){this.$el.find(".".concat(p.a.cancel,",.retry")).tooltip({placement:"left"})}},{key:"onDestroy",value:function(){this.$el.find(".".concat(p.a.cancel,",.retry")).tooltip("dispose")}},{key:"update",value:function(){var t=a.a.getStatus(this.model),e=a.a.getProgress(this.model),n=this.getUI("progressBar");n&&n.get(0)&&$(n.get(0)).css("width","".concat(e,"%")),this.getUI("progressText").html(t)}},{key:"name",get:function(){return"ProcessProgressComponent"}},{key:"template",get:function(){return l.a}},{key:"lang",get:function(){return"upload.processProgress"}},{key:"tagName",get:function(){return"a"}},{key:"className",get:function(){return"d-block my-2 cursor-pointer ".concat(p.a.processProgress)}},{key:"attributes",get:function(){return{title:this.model.get("statusMessageHeader")}}},{key:"elements",get:function(){return{progressBar:".progress-bar",progressText:".progress-text"}}},{key:"appLinks",get:function(){return{"[this]":{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.FOLDER,args:[this.model.get("categoryId")]}}}}]),n}(o.a.Component),k=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"ProcessProgressComponentCollection"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName}}},{key:"className",get:function(){return"px-2 popover-list-body-md"}},{key:"viewComparator",get:function(){return function(t){return-t.get("pendingProcessStatus")}}}]),n}(o.a.ComponentCollection)},function(t,e,n){"use strict";n.d(e,"a",(function(){return w}));var r=n(2),o=n(30),i=n(15),a=n(43),c=n(0),u=n(13),s=n(280),l=n.n(s),f=n(562),p=n.n(f);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=m(t);if(e){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(f,t);var e,n,r,s=v(f);function f(){return y(this,f),s.apply(this,arguments)}return e=f,(n=[{key:"initialize",value:function(){this.model=o.a.get("process:progress"),this.listenTo(this.model,"change:progress change:items change:hasErrors",this.render),this.listenTo(c.w.PENDING_ITEMS,a.a.PENDING_ITEM_STATUS_CHANGE,this.render)}},{key:"viewOptions",value:function(){return{warningSvg:i.a.getSvg(i.b.Warning),spinnerEl:u.q.getSpinner({size:u.r.Medium,type:u.s.LightBgDark}),styles:l.a}}},{key:"onBeforeRender",value:function(){return!!this.model.get("items")}},{key:"name",get:function(){return"ProgressInfoComponent"}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return l.a.progressInfo}}])&&d(e.prototype,n),r&&d(e,r),f}(r.a.Component)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={LIBRARY_STATUS:"library:status"}},function(t,e,n){"use strict";var r,o=n(1),i=n(6),a=n(2),c=n(3),u=n(5),s=n(30),l=n(14),f=n(73),p=n(121),h=n(114);!function(t){t[t.Permanent=0]="Permanent",t[t.Temporary=1]="Temporary"}(r||(r={}));var y=n(179),d=n(43),b=n(31);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=O(t);if(e){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(i,t);var e,n,r,o=w(i);function i(t,e,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,t)}return e=i,(n=[{key:"name",get:function(){return"FileTypeError"}},{key:"lang",get:function(){return"upload.fileType"}},{key:"dialogOptions",get:function(){return{title:c.a.getPhrase(this.lang,"heading"),text:c.a.getPhrase(this.lang,"body"),buttons:[{text:c.a.getPhrase(this.lang,"okay"),className:"btn btn-primary",success:!0},{text:c.a.getPhrase(this.lang,"close"),className:"btn btn-link",close:!0}]}}}])&&g(e.prototype,n),r&&g(e,r),i}(b.a),k=n(282);function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=x(t);if(e){var o=x(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return T(this,n)}}function T(t,e){return!e||"object"!==E(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var j="upload.internetConnectivityError",D=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(i,t);var e,n,r,o=P(i);function i(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,c.a.getPhrase(j,"title"))}return e=i,(n=[{key:"name",get:function(){return"InternetConnectivityError"}},{key:"dialogOptions",get:function(){return{title:c.a.getPhrase(j,"heading"),text:c.a.getPhrase(j,"body"),buttons:[{text:c.a.getPhrase(j,"okay"),className:"btn",success:!0}]}}}])&&_(e.prototype,n),r&&_(e,r),i}(b.a),L=n(235);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function N(t,e){return(N=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function M(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=U(t);if(e){var o=U(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V(this,n)}}function V(t,e){return!e||"object"!==A(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var F,H,z=[],B=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&N(t,e)}(s,t);var e,n,r,u=M(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),u.call(this,t)}return e=s,r=[{key:"isValidFile",value:function(t,e){return k.isValidFile(t,e)}}],(n=[{key:"initialize",value:function(t){var e=this.options.loggingEnabled,n=i.Radio.channel(t.channelName),r=this;this.dropzone=new k(document.createElement("div"),{url:function(t){return t[0].cvUpload.ingestUrl},chunking:this.options.chunkingEnabled,chunkSize:this.options.chunkSize,forceChunking:!0,autoProcessQueue:!0,maxFilesize:this.options.maxFileSize,acceptedFiles:this.options.acceptedFiles,paramName:"content",init:function(){var t=this;e&&(o.each(z,(function(e){t.on(e,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0]instanceof File?n[0].name:n[0];console.info(e,o,n)}))})),this.on("uploadprogress",(function(t,e,o){var i=o/t.size*100;n.trigger("progress",r.getId(t),i,o)})),this.on("success",(function(t){var e=t.upload.chunks,r=o.last(e),i=r.xhr;i||(i=r.file.xhr);var a=JSON.parse(i.response);t.cvUpload.fileUrl=a.url,n.trigger("upload:success",t,a)})),this.on("error",(function(t,e,n){n&&0===n.status?a.a.ErrorHelper.throw(new D):"canceled"!==t.status&&a.a.ErrorHelper.throw(new L.a(c.a.getPhrase("upload.services","uploadError",{fileName:t.name,message:e.message})))})))},params:function(t,e,n){if(n)return{chunk_index:n.index,upload_length:n.file.size}},addedfile:function(){},thumbnail:function(){},uploadprogress:function(){}})}},{key:"getId",value:function(t){return t.upload.uuid}},{key:"addFile",value:function(t){this.dropzone.addFile(t)}},{key:"removeFile",value:function(t){this.dropzone.removeFile(t)}},{key:"start",value:function(){this.dropzone.processQueue()}},{key:"destroy",value:function(){this.dropzone.destroy()}},{key:"name",get:function(){return"DropzoneWrapper"}}])&&I(e.prototype,n),r&&I(e,r),s}(a.a.Service),q=n(23),W=n(22),Y=n(42),G=n(4);function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function K(t){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $(t,e,n){return e&&Z(t.prototype,e),n&&Z(t,n),t}function X(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tt(t,e)}function tt(t,e){return(tt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function et(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=rt(t);if(e){var o=rt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return nt(this,n)}}function nt(t,e){return!e||"object"!==K(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function rt(t){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"d",(function(){return ot})),n.d(e,"a",(function(){return st})),n.d(e,"c",(function(){return lt})),n.d(e,"b",(function(){return ft}));var ot,it=function(t){X(n,t);var e=et(n);function n(){return Q(this,n),e.call(this,{dataProvider:u.a.getInstance(f.a.Ajax),cache:u.a.getInstance(p.a.Fifo),alertService:u.a.getInstance(h.a.ALERT)})}return $(n,[{key:"requestUploads",value:function(t,e,n,r){var i=this,a=this.chain();o.each(t,(function(t){a.create({resource:"/api/upload",eventPrefix:"request:upload",data:i.getFileUploadRequest(t,e),callback:function(e){n(t,e)}})})),a.func((function(){r()})).run()}},{key:"cancelUpload",value:function(t,e,n){this.create({resource:"/api/upload/cancel",eventPrefix:"cancel:upload",data:{uploadId:t,ingestUrl:e},callback:n})}},{key:"getFileUploadRequest",value:function(t,e){var n=t.name.split(".");return{name:n.join("."),extension:n.length>1?n.pop():"",fileSize:t.size,fileLifestyle:e}}},{key:"onDestroy",value:function(){u.a.releaseInstance(f.a.Ajax).releaseInstance(p.a.Fifo)}},{key:"name",get:function(){return"UploadDataService"}},{key:"channelName",get:function(){return"private:upload:data:service"}}]),n}(l.a);!function(t){t[t.Video=0]="Video",t[t.LearningResource=1]="LearningResource",t[t.Subtitle=2]="Subtitle"}(ot||(ot={}));var at=(J(F={},ot.Video,"video/*"),J(F,ot.LearningResource,y.b.RESOURCES),J(F,ot.Subtitle,y.b.SUBTITLES),F),ct=(J(H={},ot.Video,q.c.VIDEO_UPLOAD),J(H,ot.LearningResource,q.c.RESOURCE_UPLOAD),J(H,ot.Subtitle,q.c.SUBTITLE_UPLOAD),H),ut=function(t){X(n,t);var e=et(n);function n(){return Q(this,n),e.apply(this,arguments)}return $(n,[{key:"initialize",value:function(){this.uploadDataService=new it,this.progressViewModel=s.a.get("upload:progress:".concat(this.uploadType)),this.bindListeners()}},{key:"initUploader",value:function(t,e){if(!this.uploader){var n=4194304;t&&n<t&&(n=t),e&&n>e&&(n=e),this.uploader=new B({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:53687091200,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,"progress",this.onProgress),this.listenTo(this.channelName,"upload:success",this.onSuccess)}},{key:"onProgress",value:function(t,e,n){var r=this.collection.get(t);r&&(r.set({progress:e>100?100:e,totalUploaded:n}),this.setOverallProgress())}},{key:"isUploading",value:function(){return!!this.getCollection().length}},{key:"getCollection",value:function(){return this.collection||(this.collection=new a.a.Collection),this.collection}},{key:"setOverallProgress",value:function(){var t=0,e=0,n=this.getCollection();if(n.length){n.each((function(n){t+=n.get("totalUploaded")||0,e+=n.get("file").size||0}));var r=t/e*100,o=r>100;this.progressViewModel.set({progress:o?100:r,done:o})}else this.progressViewModel.set({progress:0})}},{key:"isValidFile",value:function(t){return B.isValidFile(t,this.getAcceptedFiles())}},{key:"addFiles",value:function(t,e){var n=this;o.any(t,(function(t){return!n.isValidFile(t)}))?a.a.ErrorHelper.throw(new C(c.a.getPhrase(this.lang,"invalidFileType"),t,this.getAcceptedFiles())):this.requestUploads(t,e)}},{key:"requestUploads",value:function(t,e){var n=this,r=this.isUploading(),o=this.getCollection();this.uploadDataService.requestUploads(t,this.fileLifestyle,(function(t,e){n.initUploader(1024*e.minChunkSize,1024*e.maxChunkSize),t.cvUpload={uploadId:e.uploadId,ingestUrl:e.ingestUrl},n.uploader.addFile(t);var r=t.name;n.uploadType===ot.Video&&(r=r.replace(/\.[^/.]+$/,"")),o.add({id:n.uploader.getId(t),file:t,name:r},{at:o.length-1})}),(function(){e&&Y.a.logUserAction({uploadCount:t.length},e),i.Radio.channel(n.channelName).trigger(d.a.FILES_ADDED,t,r)}))}},{key:"addFile",value:function(t,e){this.addFiles([t],e)}},{key:"cancelUpload",value:function(t){var e=this,n=this.getCollection(),r=n.get(t);if(r){var o=r.get("file");this.uploader.removeFile(o),n.remove(r),this.uploadDataService.cancelUpload(o.cvUpload.uploadId,o.cvUpload.ingestUrl,(function(){Y.a.logUserAction({id:o.cvUpload.uploadId},{entity:G.e.Video,actionType:G.q.Upload,workflowPhase:G.r.Discard,descriptor:G.l.Single,location:G.k.MyUploads}),i.Radio.channel(e.channelName).trigger(d.a.UPLOAD_CANCELLED)})),this.setOverallProgress()}}},{key:"onSuccess",value:function(t,e){var n=this.uploader.getId(t),r=this.getCollection().get(n);r.set("fileInfo",e),Y.a.logUserAction({id:t.cvUpload.uploadId},{entity:G.e.Video,actionType:G.q.Upload,workflowPhase:G.r.Complete,descriptor:G.l.Single,location:G.k.VideoUpload}),i.Radio.channel(this.channelName).trigger(d.a.UPLOAD_COMPLETE,r)}},{key:"cancelAllUploads",value:function(){var t=this,e=this.getCollection().map((function(t){return t.get("id")}));o.each(e,(function(e){return t.cancelUpload(e)}))}},{key:"getAcceptedFiles",value:function(){return at[this.uploadType]}},{key:"channelName",get:function(){return ct[this.uploadType]}},{key:"lang",get:function(){return"upload.services"}}]),n}(a.a.Service),st=function(t){X(n,t);var e=et(n);function n(){return Q(this,n),e.apply(this,arguments)}return $(n,[{key:"uploadType",get:function(){return ot.Video}},{key:"name",get:function(){return W.b.VideoUpload}},{key:"fileLifestyle",get:function(){return r.Temporary}}]),n}(ut),lt=function(t){X(n,t);var e=et(n);function n(){return Q(this,n),e.apply(this,arguments)}return $(n,[{key:"uploadType",get:function(){return ot.Subtitle}},{key:"name",get:function(){return W.b.SubtitleUpload}},{key:"fileLifestyle",get:function(){return r.Permanent}}]),n}(ut),ft=function(t){X(n,t);var e=et(n);function n(){return Q(this,n),e.apply(this,arguments)}return $(n,[{key:"uploadType",get:function(){return ot.LearningResource}},{key:"name",get:function(){return W.b.ResourceUpload}},{key:"fileLifestyle",get:function(){return r.Permanent}}]),n}(ut)},function(t,e,n){"use strict";var r=n(2),o=n(151),i=n(1),a=n(3),c=n(5),u=n(14),s=n(50),l=n(0),f=n(49),p=n(47),h=n(233),y=n(88);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(i,t);var e,n,r,o=m(i);function i(){return b(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"model",get:function(){return y.g}}])&&v(e.prototype,n),r&&v(e,r),i}(r.a.Collection),C=n(17),k=n(90);function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function P(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function T(t,e){return(T=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=D(t);if(e){var o=D(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return j(this,n)}}function j(t,e){return!e||"object"!==E(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return et})),n.d(e,"b",(function(){return nt}));var L=function(t){var e={categoryChord:t};return"/api/homemigrator/v1/customers/categories/videos?".concat($.param(e,!0))},A=function(){return"/api/homemigrator/v1/customers/categories"},I=function(){return"/api/homemigrator/v1/customer-meta"},N=function(t){return"/api/homemigrator/v1/synced-videos/publisher-metadata?trackingCode=".concat(t)},M=function(t){return"/api/homemigrator/v1/synced-videos/publisher-metadata?masterId=".concat(t)},V=function(){return"/api/homemigrator/v1/backup/progress"},U=function(t){return"/api/homemigrator/v1/customer-meta/options/".concat(t)},F=function(){return"/api/homemigrator/v1/finalise/smart"},H=function(){return"/api/homemigrator/v1/finalise/full"},z=function(t){return"/api/homemigrator/v1/finalise/".concat(t)},B=function(t){return"/api/homemigrator/v1/backup-tools/head?channel=".concat(t)},q=function(){return"/api/homemigrator/v1/finalise/phase2"},W=function(t){return"/api/homemigrator/v1/finalise?type=".concat(t)},Y=function(){return"/api/homemigrator/v1/customers/reviewvideos"},G=function(){return"/api/homemigrator/v1/customers/reviewvideos/count"},J=function(){return"/api/homemigrator/v1/synced-videos/migrationstatus"},K=function(t){return"/api/homemigrator/v1/reports/".concat(t)},Q=function(){return"/api/homemigrator/v1/reports"},Z=function(t){return"/api/homemigrator/v2/customers/videos/smart?limit=987".concat(t?"&cursor=".concat(t):"")},X={video:function(t){return new r.a.Model(t[0],{parse:!0})},videos:function(t){return new s.a(t,{parse:!0})},smartSelectVideos:function(t){return new O(t)},videoCount:function(t){return new y.h(t)},folders:function(t){return new h.a(t,{parse:!0})},customerMetadata:function(t){return new y.b(t)},finalisationTask:function(t){return new y.c(t)},backupTool:function(t){return new y.a(t)}},tt=l.f,et=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T(t,e)}(d,t);var e,n,u,h=x(d);function d(){return R(this,d),h.apply(this,arguments)}return e=d,(n=[{key:"initialize",value:function(){this.folderCacheService=c.a.getInstance(l.x.FolderCache,this)}},{key:"clearVideoCache",value:function(){this.invalidateCache([tt.CUSTOMER_VIDEOS])}},{key:"getCustomerFolders",value:function(t){return this.get({callback:t,expiryTime:C.a.STANDARD,formatData:X.folders,resource:A(),eventPrefix:"".concat(tt.CUSTOMER_FOLDERS)})}},{key:"getCustomerVideos",value:function(t,e){return this.get({callback:e,expiryTime:C.a.STANDARD,formatData:function(e){return i.each(e,(function(e){return e.categoryChord=t})),new s.a(e)},resource:L(t),eventPrefix:"".concat(tt.CUSTOMER_VIDEOS,":").concat(escape(t))})}},{key:"clearCacheAndgetCustomerSmartSelect",value:function(t,e){var n=this,r=function(t,e){n.clearCacheAndGet({expiryTime:C.a.STANDARD,resource:Z(t),eventPrefix:"".concat(tt.CUSTOMER_SMART_VIDEOS),errorHandler:n.alertService.error({useXHR:!0}),callback:e})},o=[];r("",(function n(i){i.data.length&&o.push.apply(o,i.data),t(o.length),null===i.cursor?e(new O(o)):r(i.cursor,n)}))}},{key:"getCustomerMetadata",value:function(t){return this.get({callback:t,expiryTime:C.a.STANDARD,formatData:X.customerMetadata,resource:I(),eventPrefix:"".concat(tt.CUSTOMER_METADATA),bootstrapName:l.c.CUSTOMER_META})}},{key:"clearCacheAndGetCustomerMetadata",value:function(t){return this.clearCacheAndGet({callback:t,formatData:X.customerMetadata,resource:I(),eventPrefix:"".concat(tt.CUSTOMER_METADATA)})}},{key:"getCustomerVideoByTrackingCode",value:function(t,e){return this.get({callback:e,expiryTime:C.a.STANDARD,formatData:X.video,resource:N(t),eventPrefix:"".concat(tt.CUSTOMER_VIDEO,":").concat(t)})}},{key:"getCustomerVideoByMasterId",value:function(t,e){return this.get({callback:e,expiryTime:C.a.STANDARD,formatData:X.video,resource:M(t),eventPrefix:"".concat(tt.CUSTOMER_VIDEO,":").concat(t),errorHandler:!1})}},{key:"getCustomerVideoCount",value:function(t){this.clearCacheAndGet({callback:t,expiryTime:C.a.STANDARD,formatData:X.videoCount,resource:V(),eventPrefix:"".concat(tt.CUSTOMER_VIDEO,":count")})}},{key:"getCustomerVideoCountCached",value:function(t){return this.get({callback:t,expiryTime:C.a.STANDARD,formatData:X.videoCount,resource:V(),eventPrefix:"".concat(tt.CUSTOMER_VIDEO,":count")})}},{key:"updateCustomerMigrationOption",value:function(t,e){return this.update({data:{},resource:U(t),eventPrefix:"".concat(tt.CUSTOMER_METADATA,":update"),callback:e,invalidationKeys:["".concat(tt.CUSTOMER_METADATA),"libraries"]})}},{key:"finaliseCustomerVideos",value:function(t,e,n){var r=this,o=t.map((function(t){return{category:t.get("folderChord"),videoIds:t.get("videoIds"),forceMigrateWarnings:e}}));this.create({data:o,callback:function(t){r.clearVideoCache(),i.isFunction(n)&&n(t)},resource:F(),eventPrefix:"".concat(tt.CUSTOMER_VIDEOS,":finalise"),invalidationKeys:["manual:review:videos","manual:review:video:count",tt.VIDEOS],formatData:function(t){return new y.c(t)}})}},{key:"finaliseAllVideos",value:function(t){var e=this;this.create({data:{},callback:function(n){e.clearVideoCache(),i.isFunction(t)&&t(n)},resource:H(),eventPrefix:"".concat(tt.CUSTOMER_VIDEOS,":finalise:all"),formatData:function(t){return new y.c(t)}})}},{key:"getFinalisationTask",value:function(t,e){this.clearCacheAndGet({callback:e,expiryTime:C.a.STANDARD,formatData:X.finalisationTask,resource:z(t),eventPrefix:"".concat(tt.FINALISATION,":").concat(t)})}},{key:"deselectAll",value:function(){this.getCustomerFolders((function(t){f.a.deselectAll(k.a.MIGRATION_WIZARD,t)}))}},{key:"setSelected",value:function(t){var e=this;this.getCustomerFolders((function(n){f.a.setSelected(k.a.MIGRATION_WIZARD,e.folderCacheService.getFolderByChord(t,n),n)}))}},{key:"getSelected",value:function(t){this.getCustomerFolders((function(e){var n=f.a.getSelected(k.a.MIGRATION_WIZARD,e);t(n)}))}},{key:"getBackupTool",value:function(t,e){return this.get({resource:B(t),formatData:X.backupTool,eventPrefix:tt.BACKUP_TOOL,callback:e})}},{key:"publishLibraries",value:function(t){return this.create({data:{},resource:q(),eventPrefix:"publish:libraries",callback:t})}},{key:"getPublishLibrariesProgress",value:function(t,e){this.clearCacheAndGet({resource:W(t),eventPrefix:"current:finalisation:task",formatData:X.finalisationTask,callback:e})}},{key:"clearCacheAndGetManualReviewVideoCount",value:function(t){this.clearCacheAndGet({resource:G(),eventPrefix:"manual:review:video:count",formatData:function(t){return new r.a.Model(t)},callback:t})}},{key:"getManualReviewVideoCount",value:function(t){return this.get({resource:G(),eventPrefix:"manual:review:video:count",formatData:function(t){return new r.a.Model(t)},callback:t})}},{key:"getManualReviewVideos",value:function(t){return this.get({resource:Y(),eventPrefix:"manual:review:videos",formatData:function(t){return new r.a.Collection(t)},callback:t})}},{key:"updateMigrationStatus",value:function(t,e,n){this.update({data:{videoIds:t,migrationStatus:e},resource:J(),eventPrefix:"update:migration:status",invalidationKeys:["manual:review:videos","manual:review:video:count"],callback:n})}},{key:"getMigrationReportOptions",value:function(t){return this.get({resource:Q(),eventPrefix:"get:migration:report:options",callback:t})}},{key:"generateMigrationReportCsv",value:function(t,e){var n,r=this,c=(_(n={},p.d.Migrated,"homemigrator.le.migration.migrated.report"),_(n,p.d.Remaining,"homemigrator.le.migration.videos.remaining.report"),_(n,p.d.Errored,"homemigrator.le.migration.error.report"),_(n,p.d.ContentMatched,"homemigrator.le.migration.content.matched.report"),n),u=new o.a(t.length),s=function(){u.decrement(),0===u.getValue()&&(r.alertService.success(a.a.getPhrase(r.lang,"generateCsvSuccess"))(),e())};i.each(t,(function(t){r.create({callback:s,resource:K(c[t]),data:{},eventPrefix:"generate:migration:report:csv:".concat(t),errorHandler:r.alertService.error(a.a.getPhrase(r.lang,"generateCsvFail"))})}))}},{key:"name",get:function(){return"MigrationVideoDataService"}},{key:"channelName",get:function(){return l.e.MIGRATION}},{key:"lang",get:function(){return"migrationWizard.services"}}])&&P(e.prototype,n),u&&P(e,u),d}(u.a),nt={customerMetaData:{dataServiceName:l.e.MIGRATION,eventName:"".concat(tt.CUSTOMER_METADATA,":sync"),getData:function(t){return t.getCustomerMetadata()},getInstance:function(t){return c.a.getInstance(l.g.MigrationVideo,t)},beforeOnBeforeRender:!0}}},function(t,e,n){"use strict";var r=n(1),o=n(527),i=n.n(o),a=n(10),c=function(t){return a.escapeExpression(t)};n.d(e,"a",(function(){return p}));var u=/&/g,s=/\W*/g,l=/\s+/g,f={className:"info-link"},p={wordsHighlighter:function(t,e){if(!t||!e||!e.length)return t;var n=p.escapeRegExp(e.join("%&%")).split("%&%");return t.replace(new RegExp("\\b("+n.join("|")+")\\b","gi"),'<span class="highlight">$&</span>')},escapeExpression:function(t){return c(t)},escapeRegExp:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},slugify:function(t){if(t)return t.toLowerCase().replace(u,"and").replace(s," ").trim().replace(l,"-").substr(0,80)},linkifyText:function(t,e){if(t){var n=e?r.extend({},f,e):f;return i()(t,n)}},extractKeyPhrases:function(t,e,n,o){if(!t||!e||!e.length)return[];var i,a=t.toLowerCase(),c=[],u=function(e,r){var o=e-Math.floor(n/2-r),i=o;if(i<=0)return 0;for(;" "!==t[i-1]&&i<e;)i++;if(i<e)return i;for(i=o;" "!==t[i-1]&&i>0;)i--;return i},s=function(e,r){var o=t.length,i=e+Math.floor(n/2-r),a=i;if(a>=o)return o;for(;" "!==t[a+1]&&a>e;)a--;if(a>e)return a+1;for(a=i;" "!==t[a+1]&&a<o;)a++;return a+1};r.each(e,(function(t){for(var e=t.toLowerCase(),n=a.indexOf(e);-1!==n;)c.push([u(n,t.length),s(n+t.length,t.length)]),n=a.indexOf(e,n+1)})),c=r.uniq(r.sortBy(c,(function(t){return t[0]})),!0,(function(t){return"".concat(t[0],":").concat(t[1])})),o&&(c=c.slice(0,o));do{i=!1;for(var l=0;l<c.length-1;l++)c[l][1]<c[l+1][0]||(c[l][1]=c[l+1][0]-1,i=!0)}while(i);var f=[];return r.each(c,(function(e){var n=t.slice(e[0],e[1]).trim();e[0]>0&&(n="...".concat(n)),e[1]<t.length&&(n="".concat(n,"...")),f.push(n)})),f.filter((function(t){return r.some(e,(function(e){return-1!==t.toLowerCase().indexOf(e.toLowerCase())}))}))}}},function(t,e,n){t.exports={banner:"_16p9Y",actions:"KoZV-"}},function(t,e,n){t.exports={containerWithBottomBorder:"_3pMnf",tabContainer:"_3DDqe",publisherArchiveAppLink:"WtJIT",reviewErroredAppLink:"_2P6wN",none:"_36_Ky",publisherArchive:"oHXCU",migrationErrors:"_Ztdf",svgContainer:"edUQE"}},function(t,e,n){t.exports={svgContainer:"O3FnZ",sortingRow:"Rbj8Y",bulkCheckbox:"_2mKzS",sortOption:"_3ajGP"}},function(t,e,n){t.exports={viewLink:"_2s0QU",viewCount:"_1ncwl",faded:"_2G1C1",bulkCheckbox:"_225JZ",videoRow:"fFRMW",videoTitle:"_3YCJO",errorIconContainer:"_37_lU",categoryName:"_3gjN2"}},function(t,e,n){t.exports={currentHeader:"b4Mqw",header:"_2OV3l",subheader:"_6H8te",back:"_3RKrR",backSvgContainer:"_1T015",checkSvgContainer:"_3Q3UJ",checkSvgContainerChecked:"ZsxkB",svg:"uKtsP"}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(181);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,i=s(l);function l(){return a(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"parse",value:function(t){return t.data||t}},{key:"model",get:function(){return o.a}},{key:"comparator",get:function(){return"startTime"}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.Collection)},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Model)},function(t,e,n){"use strict";e.__esModule=!0;e.default={nbsp:" "}},function(t,e,n){"use strict";function r(t){this.named=t}e.__esModule=!0;var o=/^#[xX]([A-Fa-f0-9]+)$/,i=/^#([0-9]+)$/,a=/^([A-Za-z0-9]+)$/;r.prototype.parse=function(t){if(t){var e=t.match(o);return e?"&#x"+e[1]+";":(e=t.match(i))?"&#"+e[1]+";":(e=t.match(a))?this.named[e[1]]||"&"+e[1]+";":void 0}},e.default=r},function(t,e,n){"use strict";e.__esModule=!0;var r=n(807);function o(t,e){this.delegate=t,this.entityParser=e,this.state=null,this.input=null,this.index=-1,this.line=-1,this.column=-1,this.tagLine=-1,this.tagColumn=-1,this.reset()}o.prototype={reset:function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},tokenize:function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},tokenizePart:function(t){for(this.input+=(0,r.preprocessInput)(t);this.index<this.input.length;)this.states[this.state].call(this)},tokenizeEOF:function(){this.flushData()},flushData:function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},peek:function(){return this.input.charAt(this.index)},consume:function(){var t=this.peek();return this.index++,"\n"===t?(this.line++,this.column=0):this.column++,t},consumeCharRef:function(){var t=this.input.indexOf(";",this.index);if(-1!==t){var e=this.input.slice(this.index,t),n=this.entityParser.parse(e);if(n){for(var r=e.length;r;)this.consume(),r--;return this.consume(),n}}},markTagStart:function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},states:{beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var t=this.peek();"<"===t?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(t))},tagOpen:function(){var t=this.consume();"!"===t?this.state="markupDeclaration":"/"===t?this.state="endTagOpen":(0,r.isAlpha)(t)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(t.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var t=this.consume();"-"===t?this.state="commentStartDash":">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(t),this.state="comment")},commentStartDash:function(){var t=this.consume();"-"===t?this.state="commentEnd":">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var t=this.consume();"-"===t?this.state="commentEndDash":this.delegate.appendToCommentData(t)},commentEndDash:function(){var t=this.consume();"-"===t?this.state="commentEnd":(this.delegate.appendToCommentData("-"+t),this.state="comment")},commentEnd:function(){var t=this.consume();">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+t),this.state="comment")},tagName:function(){var t=this.consume();(0,r.isSpace)(t)?this.state="beforeAttributeName":"/"===t?this.state="selfClosingStartTag":">"===t?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(t)},beforeAttributeName:function(){var t=this.peek();(0,r.isSpace)(t)?this.consume():"/"===t?(this.state="selfClosingStartTag",this.consume()):">"===t?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t))},attributeName:function(){var t=this.peek();(0,r.isSpace)(t)?(this.state="afterAttributeName",this.consume()):"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===t?(this.state="beforeAttributeValue",this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeName(t))},afterAttributeName:function(){var t=this.peek();(0,r.isSpace)(t)?this.consume():"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===t?(this.consume(),this.state="beforeAttributeValue"):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(t))},beforeAttributeValue:function(){var t=this.peek();(0,r.isSpace)(t)?this.consume():'"'===t?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===t?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(t))},attributeValueDoubleQuoted:function(){var t=this.consume();'"'===t?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(t)},attributeValueSingleQuoted:function(){var t=this.consume();"'"===t?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(t)},attributeValueUnquoted:function(){var t=this.peek();(0,r.isSpace)(t)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===t?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===t?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(t))},afterAttributeValueQuoted:function(){var t=this.peek();(0,r.isSpace)(t)?(this.consume(),this.state="beforeAttributeName"):"/"===t?(this.consume(),this.state="selfClosingStartTag"):">"===t?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var t=this.consume();(0,r.isAlpha)(t)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(t.toLowerCase()))}}},e.default=o},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(312),i=(r=o)&&r.__esModule?r:{default:r};function a(t,e){this.token=null,this.startLine=1,this.startColumn=0,this.options=e||{},this.tokenizer=new i.default(this,t)}a.prototype={tokenize:function(t){return this.tokens=[],this.tokenizer.tokenize(t),this.tokens},tokenizePart:function(t){return this.tokens=[],this.tokenizer.tokenizePart(t),this.tokens},tokenizeEOF:function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},reset:function(){this.token=null,this.startLine=1,this.startColumn=0},addLocInfo:function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},beginData:function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},appendToData:function(t){this.token.chars+=t},finishData:function(){this.addLocInfo()},beginComment:function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},appendToCommentData:function(t){this.token.chars+=t},finishComment:function(){this.addLocInfo()},beginStartTag:function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},beginEndTag:function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},finishTag:function(){this.addLocInfo()},markTagAsSelfClosing:function(){this.token.selfClosing=!0},appendToTagName:function(t){this.token.tagName+=t},beginAttribute:function(){this._currentAttribute=["","",null],this.token.attributes.push(this._currentAttribute)},appendToAttributeName:function(t){this._currentAttribute[0]+=t},beginAttributeValue:function(t){this._currentAttribute[2]=t},appendToAttributeValue:function(t){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=t},finishAttributeValue:function(){}},e.default=a},function(t,e,n){"use strict";e.__esModule=!0,e.tokenize=e.test=e.scanner=e.parser=e.options=e.inherits=e.find=void 0;var r=n(195),o=c(n(809)),i=c(n(810)),a=c(n(811));function c(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var u=function(t){return a.run(i.run(t))};e.find=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=u(t),r=[],o=0;o<n.length;o++){var i=n[o];!i.isLink||e&&i.type!==e||r.push(i.toObject())}return r},e.inherits=r.inherits,e.options=o,e.parser=a,e.scanner=i,e.test=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=u(t);return 1===n.length&&n[0].isLink&&(!e||n[0].type===e)},e.tokenize=u},function(t,e,n){"use strict";e.__esModule=!0,e.stateify=e.TokenState=e.CharacterState=void 0;var r=n(195);var o=function(t){this.j=[],this.T=t||null};o.prototype={defaultTransition:!1,on:function(t,e){if(t instanceof Array){for(var n=0;n<t.length;n++)this.j.push([t[n],e]);return this}return this.j.push([t,e]),this},next:function(t){for(var e=0;e<this.j.length;e++){var n=this.j[e],r=n[0],o=n[1];if(this.test(t,r))return o}return this.defaultTransition},accepts:function(){return!!this.T},test:function(t,e){return t===e},emit:function(){return this.T}};var i=(0,r.inherits)(o,(function(t){this.j=[],this.T=t||null}),{test:function(t,e){return t===e||e instanceof RegExp&&e.test(t)}}),a=(0,r.inherits)(o,(function(t){this.j=[],this.T=t||null}),{jump:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new t(""));return n===this.defaultTransition?(n=new this.constructor(e),this.on(t,n)):e&&(n.T=e),n},test:function(t,e){return t instanceof e}});e.CharacterState=i,e.TokenState=a,e.stateify=function(t,e,n,r){for(var o=0,a=t.length,c=e,u=[],s=void 0;o<a&&(s=c.next(t[o]));)c=s,o++;if(o>=a)return[];for(;o<a-1;)s=new i(r),u.push(s),c.on(t[o],s),c=s,o++;return s=new i(n),u.push(s),c.on(t[a-1],s),u}},function(t,e,n){"use strict";e.__esModule=!0,e.createTokenClass=function(){return function(t){t&&(this.v=t)}}},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="result px-2 py-1"><span class="query-text">'+t.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=e?e.name:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:o}):i)+"</span></div>>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="tt-pending p-2"><div class="partial-text">Searching...</div></div>'},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="tt-not-found p-2">Could not find any matches</div>'},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="tt-not-found empty"></div>'},useData:!0})},function(t,e){t.exports={prefix:"cv",iconName:"add-to-playlist",icon:["24","24",[],"","M20.1 16.4h1.8a.6.6 0 1 1 0 1.2h-1.8v1.8a.6.6 0 1 1-1.2 0v-1.8h-1.8a.6.6 0 1 1 0-1.2h1.8v-1.8a.6.6 0 0 1 1.2 0v1.8zM10.5 9a.5.5 0 1 1 0-1h6a.5.5 0 1 1 0 1h-6zm0 3.5a.5.5 0 1 1 0-1h6a.5.5 0 1 1 0 1h-6zm0 3.5a.5.5 0 1 1 0-1h4a.5.5 0 1 1 0 1h-4zm5.5 3a.5.5 0 1 1 0 1H6.5A2.5 2.5 0 0 1 4 17.5v-11A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5V12a.5.5 0 1 1-1 0V6.5A1.5 1.5 0 0 0 17.5 5h-11A1.5 1.5 0 0 0 5 6.5v11A1.5 1.5 0 0 0 6.5 19H16zm-8-2.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm0-7a1 1 0 1 1 0-2 1 1 0 0 1 0 2zM8 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"]}},function(t,e){t.exports={prefix:"cv",iconName:"close",icon:["24","24",[],"","M11.959 10.641l4.402-4.296a.964.964 0 0 1 1.358 0 .951.951 0 0 1 0 1.35l-4.403 4.297 4.403 4.378a.951.951 0 0 1 0 1.35.964.964 0 0 1-1.358 0l-4.402-4.378-4.32 4.378a.964.964 0 0 1-1.358 0 .951.951 0 0 1 0-1.35l4.32-4.378-4.32-4.362a.951.951 0 0 1 0-1.35.964.964 0 0 1 1.358 0l4.32 4.361z"]}},function(t,e){t.exports={prefix:"cv",iconName:"delete",icon:["24","24",[],"","M14.5 7h4a.5.5 0 1 1 0 1h-1.14a1 1 0 0 1-.005.09l-.909 10a1 1 0 0 1-.996.91h-6.9a1 1 0 0 1-.996-.91l-.91-10A1.013 1.013 0 0 1 6.64 8H5.5a.5.5 0 0 1 0-1h4A1.5 1.5 0 0 1 11 5.5h2A1.5 1.5 0 0 1 14.5 7zm-1 0a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0-.5.5h3zm-4 3a.463.463 0 0 0-.462.499L9.462 16a.54.54 0 0 0 .574.498.463.463 0 0 0 .426-.498l-.424-5.502A.54.54 0 0 0 9.5 10zm2.5 0a.5.5 0 0 0-.5.5V16a.5.5 0 1 0 1 0v-5.5a.5.5 0 0 0-.5-.5zm2.5 0a.54.54 0 0 0-.538.499L13.538 16a.463.463 0 0 0 .462.5.54.54 0 0 0 .538-.499l.424-5.502A.463.463 0 0 0 14.5 10z"]}},function(t,e){t.exports={prefix:"cv",iconName:"edit",icon:["24","24",[],"","M7.636 17.834l8.746-8.745-1.414-1.414-8.8 8.8 1.468 1.36zm-2.42.973c.45-.076 1.012-.173 1.685-.29l-1.383-1.282a173.71 173.71 0 0 0-.302 1.572zm10.459-11.84l1.414 1.415 1.2-1.2a.5.5 0 0 0 0-.707l-.708-.707a.5.5 0 0 0-.707 0l-1.2 1.2zm2.614-1.906l.707.707a1.5 1.5 0 0 1 0 2.121L7.45 19.435c-2.276.4-3.426.589-3.45.565-.024-.024.183-1.155.621-3.393L16.167 5.06a1.5 1.5 0 0 1 2.122 0z"]}},function(t,e){t.exports={prefix:"cv",iconName:"expand",icon:["24","24",[],"","M14.06 21.28l-.353.354-.707-.707.354-.354 7.22-7.22.353-.353.707.707-.354.354-7.22 7.22zm4 .465l-.353.353-.707-.707.354-.353 3.684-3.684.353-.354.707.707-.353.354-3.684 3.684z"]}},function(t,e){t.exports={prefix:"cv",iconName:"minus",icon:["24","24",[],"",""]}},function(t,e){t.exports={prefix:"cv",iconName:"more",icon:["24","24",[],"","M12 13.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 5.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0-11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"]}},function(t,e){t.exports={prefix:"cv",iconName:"new-window",icon:["24","24",[],"","M17.395 5.526h-3.244a.763.763 0 0 1 0-1.526h5.086a.76.76 0 0 1 .763.763v5.086a.763.763 0 0 1-1.526 0V6.605l-5.172 5.172a.763.763 0 1 1-1.079-1.08l5.172-5.171zM8.5 5.5a.75.75 0 0 1 0 1.5H6.75a.25.25 0 0 0-.25.25v10c0 .138.112.25.25.25h10a.25.25 0 0 0 .25-.25V15.5a.75.75 0 1 1 1.5 0v1.75A1.75 1.75 0 0 1 16.75 19h-10A1.75 1.75 0 0 1 5 17.25v-10c0-.966.784-1.75 1.75-1.75H8.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"plus",icon:["24","24",[],"","M11 11V7.002a.999.999 0 1 1 2 0V11h3.998a.999.999 0 1 1 0 2H13v3.998a.999.999 0 1 1-2 0V13H7.002a.999.999 0 1 1 0-2H11z"]}},function(t,e){t.exports={prefix:"cv",iconName:"preview",icon:["24","24",[],"","M17.278 17.333a3.056 3.056 0 1 0 0-6.11 3.056 3.056 0 0 0 0 6.11zm3.53-.637c.03.022.06.048.087.076l1.729 1.728a.794.794 0 1 1-1.124 1.124l-1.728-1.729a.801.801 0 0 1-.076-.088 4.278 4.278 0 1 1 1.112-1.112zM7.713 9C7.32 9 7 8.776 7 8.5s.32-.5.714-.5h8.572c.394 0 .714.224.714.5s-.32.5-.714.5H7.714zm-.357 3.5C7.16 12.5 7 12.276 7 12s.16-.5.357-.5h4.286c.197 0 .357.224.357.5s-.16.5-.357.5H7.357zM7.5 16a.5.5 0 1 1 0-1h4a.5.5 0 1 1 0 1h-4zm8.5 3a.5.5 0 1 1 0 1H6.5A2.5 2.5 0 0 1 4 17.5v-11A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5V9a.5.5 0 1 1-1 0V6.5A1.5 1.5 0 0 0 17.5 5h-11A1.5 1.5 0 0 0 5 6.5v11A1.5 1.5 0 0 0 6.5 19H16z"]}},function(t,e){t.exports={prefix:"cv",iconName:"search",icon:["24","24",[],"","M15.803 14.306l3.917 3.954a1 1 0 0 1-.007 1.417l-.018.018-.018.018a.997.997 0 0 1-1.41 0l-3.918-3.953-.3.214c-1.14.713-2.323 1.07-3.549 1.07-1.796 0-3.328-.642-4.597-1.925C4.634 13.836 4 12.296 4 10.5c0-1.796.634-3.328 1.903-4.597C7.172 4.634 8.704 4 10.5 4c1.796 0 3.329.634 4.597 1.903 1.27 1.269 1.904 2.801 1.904 4.597a6.447 6.447 0 0 1-1.027 3.507l-.17.3zM10.5 5.368c-1.425 0-2.637.5-3.635 1.497-.998.998-1.497 2.21-1.497 3.635 0 1.426.5 2.637 1.497 3.635.998.998 2.21 1.497 3.635 1.497 1.426 0 2.637-.499 3.635-1.497 1.027-1.026 1.54-2.238 1.54-3.635 0-1.397-.513-2.608-1.54-3.635-.998-.998-2.21-1.497-3.635-1.497z"]}},function(t,e){t.exports={prefix:"cv",iconName:"share",icon:["24","24",[],"","M15.091 15.463a2.187 2.187 0 1 1-.392.782L8.91 13.35a2.187 2.187 0 1 1-.1-2.82l5.88-2.812a2.187 2.187 0 1 1 .378.79l-5.811 2.778a2.184 2.184 0 0 1 .045 1.281l5.79 2.896z"]}},function(t,e){t.exports={prefix:"cv",iconName:"upload",icon:["24","24",[],"","M5.5 18.5h13v-2.75a.75.75 0 1 1 1.5 0V19a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-3.25a.75.75 0 1 1 1.5 0v2.75zm7.249-11.796v8.57c0 .401-.35.726-.781.726-.432 0-.781-.325-.781-.725V6.704L7.89 9.658a.869.869 0 0 1-1.145 0 .692.692 0 0 1-.009-1.05l4.66-4.174a.869.869 0 0 1 1.144 0l4.66 4.174a.69.69 0 0 1 0 1.042.871.871 0 0 1-1.155.008L12.75 6.704z"]}},function(t,e){t.exports={prefix:"cv",iconName:"down",icon:["24","24",[],"","M8 10l8 .014L12 14z"]}},function(t,e){t.exports={prefix:"cv",iconName:"right",icon:["24","24",[],"","M8 10l8 .014L12 14z"]}},function(t,e){t.exports={prefix:"cv",iconName:"up-down",icon:["24","24",[],"","M8 14l8 .014L12 18l-4-4zm0-4l4-4 4 3.986L8 10z"]}},function(t,e){t.exports={prefix:"cv",iconName:"visible-off",icon:["24","24",[],"","M15.293 6.609l-.793.79A8.794 8.794 0 0 0 11.997 7C8.006 6.978 4 10.17 4 12c0 .925 1.062 2.216 2.63 3.254l-.715.714C4.174 14.76 3 13.228 3 12c0-2.44 4.5-6.025 9.003-6 1.119.006 2.239.234 3.29.609zm2.802 1.442C19.833 9.26 21 10.786 21 12c0 2.45-4.504 6-9 6-1.112 0-2.23-.223-3.279-.595l.794-.792A8.659 8.659 0 0 0 12 17c3.989 0 8-3.161 8-5 0-.911-1.055-2.196-2.62-3.235l.715-.714zm-7.65 7.635l.787-.785A3.005 3.005 0 0 0 15 12c0-.264-.034-.52-.098-.763l.787-.785a4 4 0 0 1-5.245 5.235zM8.318 13.57a4 4 0 0 1 5.257-5.246l-.785.782a3.003 3.003 0 0 0-3.687 3.68l-.785.784zm-3.466 6.285a.5.5 0 1 1-.706-.708l15-14.971a.5.5 0 1 1 .706.708l-15 14.97z"]}},function(t,e){t.exports={prefix:"cv",iconName:"visible-on",icon:["24","24",[],"","M3 12c0-2.44 4.5-6.025 9.003-6C16.494 6.025 21 9.614 21 12c0 2.45-4.504 6-9 6-4.466 0-9-3.586-9-6zm1 0c0 1.804 4.042 5 8 5 3.989 0 8-3.161 8-5 0-1.778-4.017-4.977-8.003-5C8.006 6.978 4 10.17 4 12zm8 4a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"]}},function(t,e){t.exports={prefix:"cv",iconName:"no-edit",icon:["24","24",[],"","M11.321 14.15l.707.707-4.578 4.578c-2.276.4-3.426.589-3.45.565-.024-.024.183-1.155.621-3.393L9.2 12.028l.707.707-3.739 3.74 1.468 1.36 3.685-3.685zm2.828-2.829l2.233-2.232-1.414-1.414-2.233 2.232-.707-.707 4.14-4.14a1.5 1.5 0 0 1 2.12 0l.708.708a1.5 1.5 0 0 1 0 2.121l-4.14 4.14-.707-.708zm-8.933 7.486c.45-.076 1.012-.173 1.685-.29l-1.383-1.282a173.71 173.71 0 0 0-.302 1.572zm10.459-11.84l1.414 1.415 1.2-1.2a.5.5 0 0 0 0-.707l-.708-.707a.5.5 0 0 0-.707 0l-1.2 1.2zM4.646 5.355a.5.5 0 0 1 .708-.708L19.496 18.79a.5.5 0 1 1-.707.707L4.646 5.354z"]}},function(t,e){t.exports={prefix:"cv",iconName:"edit-clickview",icon:["20","20",[],"","M17.6404852,5.71727477 L18.2297408,6.30653042 C18.7178962,6.79468579 18.7178962,7.58614201 18.2297408,8.07429738 L8.60812289,17.6959153 C6.71135346,18.0295451 5.75309028,18.1864816 5.73333333,18.1667246 C5.71357639,18.1469677 5.88616537,17.2043571 6.25110029,15.3388927 L15.8727182,5.71727477 C16.3608736,5.22911941 17.1523298,5.22911941 17.6404852,5.71727477 Z M8.7636789,16.361848 L16.05144,9.07408693 L14.8729287,7.89557563 L7.54002172,15.2284826 L8.7636789,16.361848 Z M6.74626541,17.1725049 C7.12145752,17.1092038 7.58975231,17.0283895 8.15085565,16.9301078 L6.99799308,15.862313 C6.89682248,16.3819093 6.8128974,16.8187273 6.74626541,17.1725049 Z M15.4621843,7.30631998 L16.6406956,8.48483128 L17.6404852,7.48504173 C17.8032036,7.32232327 17.8032036,7.05850453 17.6404852,6.89578608 L17.0512295,6.30653042 C16.8885111,6.14381197 16.6246923,6.14381197 16.4619739,6.30653042 L15.4621843,7.30631998 Z M6.33566019,14.9908489 C6.2812423,14.9851574 6.22594201,14.9756491 6.16991424,14.9622805 C5.78045547,14.8577915 5.5109401,14.5829916 5.41684139,14.197065 L5.16924027,13.2272939 L4.21481414,13.4992408 C3.82064978,13.614606 3.44283804,13.5120571 3.186267,13.236167 C2.88681965,12.9560388 2.78427075,12.578227 2.89864522,12.187493 L3.17158282,11.2296365 L2.20423564,10.9826478 C1.82188543,10.8870603 1.55144636,10.6218219 1.4331146,10.2152085 C1.34005988,9.82437875 1.44481708,9.45772856 1.72601896,9.19546209 L2.43808286,8.49887783 L1.73450689,7.81040417 C1.44481706,7.54002697 1.34005989,7.17337687 1.439649,6.75790801 C1.55144635,6.37593371 1.82188539,6.11069542 2.20181175,6.01572028 L3.17158282,5.76811916 L2.89963593,4.81369299 C2.78427075,4.41952863 2.88681965,4.04171689 3.16270985,3.78514587 C3.442838,3.48569854 3.82064974,3.38314964 4.2113838,3.49752411 L5.16924027,3.77046171 L5.41554008,2.80590417 C5.51183431,2.41109782 5.78619407,2.13673807 6.15902913,2.0463353 C6.55319349,1.93097012 6.93100525,2.03351902 7.20467421,2.32619001 L7.89999894,3.04211696 L8.594506,2.32703389 C8.87243071,2.03952554 9.24209506,1.93918808 9.61899753,2.04044384 C10.0138038,2.13673809 10.2881636,2.41109789 10.3831565,2.80069064 L10.6307576,3.77046171 L11.5851838,3.49851482 C11.9793481,3.38314964 12.3571599,3.48569854 12.6137309,3.76158875 C12.9131782,4.04171689 13.0157271,4.41952857 12.9013527,4.8102627 L12.6284151,5.76811916 L13.5957624,6.01510789 C13.9781125,6.11069542 14.2485515,6.37593369 14.3668833,6.78254721 C14.3761095,6.82129727 14.3833912,6.85980963 14.3887491,6.89800613 L12.4311686,8.86525019 C12.2885501,8.50246788 12.3664513,8.07377489 12.6626209,7.7840438 L13.3831727,7.07934901 C13.4057811,7.05824779 13.4051218,7.06055538 13.4006115,7.03880681 C13.3874896,6.9939735 13.3872742,6.99376225 13.3508029,6.98463799 L12.3810318,6.73703687 L12.3543769,6.72983797 C11.8232342,6.57849086 11.5153491,6.0252236 11.6666962,5.49408097 L11.9406245,4.53279433 C11.9501787,4.50015106 11.9538346,4.51362027 11.9070166,4.46830299 C11.8852565,4.44504217 11.8987257,4.44869811 11.8626522,4.45924293 L10.9047957,4.73218053 L10.8781408,4.73937942 C10.3430223,4.87600541 9.79846586,4.55296343 9.66183987,4.01784495 L9.41293742,3.04286026 C9.40513226,3.0108591 9.4140425,3.01976934 9.37095513,3.00912543 C9.33213613,2.99871057 9.33745796,2.99726608 9.31267674,3.02289983 L8.61735201,3.73882678 L8.59670876,3.75947002 C8.2005256,4.14425223 7.56742808,4.13500994 7.18264587,3.73882678 L6.48086195,3.01612347 C6.45910183,2.99286265 6.4725711,2.9965186 6.4179566,3.01196417 C6.38595535,3.01976935 6.39486559,3.01085911 6.3857591,3.04807388 L6.13815798,4.01784495 L6.13095909,4.04449986 C5.97961199,4.5756425 5.42634475,4.88352762 4.89520211,4.73218053 L3.93391535,4.45825223 C3.90127212,4.44869811 3.91474139,4.44504217 3.86942412,4.49186014 C3.84616328,4.51362028 3.84981922,4.50015102 3.86036404,4.53622453 L4.13330164,5.494081 L4.14050053,5.52073591 C4.27712653,6.05585439 3.95408454,6.60041087 3.41896607,6.73703687 L2.44677117,6.98525039 C2.41272371,6.99376225 2.41250834,6.99397349 2.40592081,7.01416766 C2.3948761,7.06055542 2.39421677,7.05824776 2.42531312,7.08745955 L3.13737702,7.78404381 L3.15291688,7.79958367 C3.53912638,8.1943756 3.53216895,8.82750235 3.13737702,9.21371185 L2.41682511,9.91840678 C2.39421677,9.93950789 2.3948761,9.93720022 2.3993864,9.95894886 C2.41250834,10.0037822 2.41272371,10.0039934 2.44919499,10.0131176 L3.41896606,10.2607188 L3.44562098,10.2679177 C3.97676362,10.4192648 4.28464874,10.972532 4.13330164,11.5036746 L3.85937334,12.4649614 C3.84981922,12.4976046 3.84616328,12.4841354 3.89298124,12.5294526 C3.91474137,12.5527135 3.90127209,12.5490575 3.93734565,12.5385127 L4.89520212,12.2655751 L4.92185702,12.2583762 C5.4569755,12.1217502 6.00153199,12.4447922 6.13815798,12.9799107 L6.38706042,13.9548953 C6.3957598,13.9905628 6.39169395,13.9864172 6.41528883,13.9929559 C6.46167656,14.0040006 6.45936885,14.00466 6.48858067,13.9735636 L7.18516493,13.2614997 L7.20070477,13.2459599 C7.4952939,12.9577749 7.92258715,12.888504 8.28097421,13.0359319 L6.33566019,14.9908489 Z M6.70489207,8.77616163 L9.31429327,6.16676041 C9.44212761,6.03892605 9.65593967,6.03389908 9.78471434,6.16267377 L10.2815938,6.65955323 C10.4116803,6.78963968 10.4085388,6.9989426 10.2775071,7.12997428 L6.95925927,10.4482222 C6.89767261,10.5098088 6.81613041,10.5428917 6.73375541,10.5462414 C6.63512454,10.5601257 6.53103126,10.5287286 6.45266973,10.450367 L4.80169873,8.79939603 C4.67185163,8.66954896 4.66967053,8.4612063 4.79975698,8.33111983 L5.29663643,7.83424043 C5.42541113,7.7054657 5.63211299,7.70338256 5.76491261,7.83618216 L6.70489207,8.77616163 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"share2",icon:["24","24",[],"","M19.4216766,5.00521391 C19.613919,4.98125611 19.7682745,5.03986249 19.8847432,5.18103303 C20.0012119,5.32220356 20.0294106,5.48346256 19.9693393,5.66481001 L19.9693393,5.66481001 L14.1956074,19.738196 C14.0955154,19.912732 13.9481454,20 13.7534974,20 C13.5588494,20 13.4140159,19.912732 13.3189969,19.738196 L13.3189969,19.738196 L9.93477602,13.4796112 L4.20437042,9.12353139 C4.02183531,8.9778479 3.96157474,8.8005141 4.02358872,8.59152998 C4.0856027,8.38254586 4.23262042,8.26120315 4.46464188,8.22750185 L4.46464188,8.22750185 Z M18.2074971,7.35312765 L10.9727276,13.3209485 L13.6956405,18.351754 L18.2074971,7.35312765 Z M17.8703206,6.3505542 L5.65837825,8.98552539 L10.3489793,12.5526101 L17.8703206,6.3505542 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"caret",icon:["24","24",[],"","M8 10 16 10.0136253 12 14z"]}},function(t,e){t.exports={prefix:"cv",iconName:"chevron-up",icon:["24","24",[],"","M12.733 8.305l5.963 5.906a1.046 1.046 0 0 1 0 1.473l-.01.011a1.034 1.034 0 0 1-1.467 0L12 10.526l-5.22 5.17a1.034 1.034 0 0 1-1.465 0l-.011-.012a1.046 1.046 0 0 1 0-1.473l5.963-5.906a1.034 1.034 0 0 1 1.466 0z"]}},function(t,e){t.exports={prefix:"cv",iconName:"chevron-down",icon:["24","24",[],"","M11.267 15.695L5.304 9.79a1.046 1.046 0 0 1 0-1.473l.01-.011a1.034 1.034 0 0 1 1.467 0L12 13.474l5.22-5.17a1.034 1.034 0 0 1 1.465 0l.011.012a1.046 1.046 0 0 1 0 1.473l-5.963 5.906a1.034 1.034 0 0 1-1.466 0z"]}},function(t,e){t.exports={prefix:"cv",iconName:"chevron-left",icon:["24","24",[],"","M8.305 11.267l5.906-5.963a1.046 1.046 0 0 1 1.473 0l.011.01a1.034 1.034 0 0 1 0 1.467L10.526 12l5.17 5.22c.406.41.406 1.055 0 1.465l-.012.011a1.046 1.046 0 0 1-1.473 0l-5.906-5.963a1.034 1.034 0 0 1 0-1.466z"]}},function(t,e){t.exports={prefix:"cv",iconName:"chevron-right",icon:["24","24",[],"","M15.695 11.267c.407.41.407 1.056 0 1.466L9.79 18.696a1.046 1.046 0 0 1-1.474 0l-.01-.01a1.034 1.034 0 0 1 0-1.467L13.474 12l-5.17-5.22a1.034 1.034 0 0 1 0-1.465l.012-.011a1.046 1.046 0 0 1 1.474 0l5.905 5.963z"]}},function(t,e){t.exports={prefix:"cv",iconName:"arrow-left",icon:["24","24",[],"","M7.182 11h11.89c.512 0 .928.448.928 1s-.416 1-.929 1H7.181l3.781 4.22a1.11 1.11 0 0 1 0 1.465c-.36.403-.943.418-1.311.045a.952.952 0 0 1-.032-.034l-5.343-5.963a1.112 1.112 0 0 1 0-1.466l5.343-5.963a.883.883 0 0 1 1.333 0c.378.421.378 1.066.01 1.477L7.182 11z"]}},function(t,e){t.exports={prefix:"cv",iconName:"arrow-right",icon:["24","24",[],"","M16.818 11H4.928C4.417 11 4 11.448 4 12s.416 1 .929 1h11.89l-3.781 4.22a1.112 1.112 0 0 0 0 1.465c.36.403.943.418 1.311.045a.952.952 0 0 0 .032-.034l5.343-5.963a1.112 1.112 0 0 0 0-1.466l-5.343-5.963a.883.883 0 0 0-1.333 0 1.115 1.115 0 0 0-.01 1.477L16.818 11z"]}},function(t,e){t.exports={prefix:"cv",iconName:"enter",icon:["24","24",[],"","M5.613 13.959a.599.599 0 0 1-.213-.46c0-.155.058-.309.176-.426l3.75-3.75a.6.6 0 0 1 .848.848L7.446 12.9H13.5A3.9 3.9 0 0 0 17.4 9V6.747a.6.6 0 0 1 1.2 0V9a5.1 5.1 0 0 1-5.1 5.1H7.452l2.722 2.723a.6.6 0 0 1-.848.848L5.613 13.96z"]}},function(t,e){t.exports={prefix:"cv",iconName:"archive",icon:["24","24",[],"","M19.64 10.28a.55.55 0 1 1 1.1 0v6.878c0 1.582-1.386 2.842-3.07 2.842H6.33c-1.684 0-3.07-1.26-3.07-2.842V10.28a.55.55 0 1 1 1.1 0v6.877c0 .95.87 1.742 1.97 1.742h11.34c1.1 0 1.97-.793 1.97-1.742V10.28zM20.19 4c.99 0 1.81.747 1.81 1.696V7.99a.55.55 0 0 1-.55.55H2.55A.55.55 0 0 1 2 7.99V5.696C2 4.747 2.821 4 3.81 4h16.38zm.71 1.696c0-.317-.307-.596-.71-.596H3.81c-.403 0-.71.28-.71.596v1.742h17.8V5.696zm-5.83 5.73c0 .95-.821 1.697-1.81 1.697h-2.52c-.989 0-1.81-.747-1.81-1.696 0-.95.821-1.696 1.81-1.696h2.52c.989 0 1.81.747 1.81 1.696zm-1.1 0c0-.316-.307-.595-.71-.595h-2.52c-.403 0-.71.28-.71.596 0 .317.307.596.71.596h2.52c.403 0 .71-.28.71-.596z"]}},function(t,e){t.exports={prefix:"cv",iconName:"bell",icon:["24","24",[],"","M9.588 17.995H6.152c-.636 0-1.152-.53-1.152-1.182 0-.221.06-.438.175-.626l2.128-2.92V9.722c0-2.187 1.447-4.027 3.411-4.567v-.012A1.143 1.143 0 0 1 13 5.128c2.017.502 3.515 2.369 3.515 4.594v3.545l2.303 2.92a1.2 1.2 0 0 1-.366 1.628 1.13 1.13 0 0 1-.61.18h-3.716a2.286 2.286 0 0 1-4.538 0zm1.161 0a1.143 1.143 0 0 0 2.216 0H10.75zm4.615-4.31V9.723c0-1.958-1.547-3.546-3.455-3.546-1.908 0-3.454 1.588-3.454 3.546v3.939l-.23.314-2.073 2.838H17.83l-2.467-3.127z"]}},function(t,e){t.exports={prefix:"cv",iconName:"bookmark",icon:["24","24",[],"","M8.5 5h7A1.5 1.5 0 0 1 17 6.5v12.131a.2.2 0 0 1-.309.168L12 15.75 7.309 18.8A.2.2 0 0 1 7 18.63V6.5A1.5 1.5 0 0 1 8.5 5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"broadcast",icon:["24","24",[],"","M4.571 19C4.256 19 4 18.776 4 18.5s.256-.5.571-.5H19.43c.315 0 .571.224.571.5s-.256.5-.571.5H4.57zM4.125 5h15.75C20.496 5 21 5.537 21 6.2v9.6c0 .663-.504 1.2-1.125 1.2H4.125C3.504 17 3 16.463 3 15.8V6.2C3 5.537 3.504 5 4.125 5zM4 6v10h16V6H4zm6 2.35a.192.192 0 0 1 .295-.162l4.164 2.65a.192.192 0 0 1 0 .324l-4.164 2.65A.192.192 0 0 1 10 13.65v-5.3z"]}},function(t,e){t.exports={prefix:"cv",iconName:"calendar",icon:["24","24",[],"","M6.2 10.2V17a.8.8 0 0 0 .8.8h10a.8.8 0 0 0 .8-.8v-6.8H6.2zM16 5.5h2a1 1 0 0 1 1 1V17a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6.5a1 1 0 0 1 1-1h2v-.875a.625.625 0 1 1 1.25 0V5.5h5.5v-.875a.625.625 0 1 1 1.25 0V5.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"cog",icon:["24","24",[],"","M18.458 12c0 .944.514 1.722 1.542 2.333a10.98 10.98 0 0 1-.667 1.584c-.944-.223-1.805.055-2.583.833-.694.694-.917 1.556-.667 2.583A10.98 10.98 0 0 1 14.5 20c-.611-1.028-1.444-1.542-2.5-1.542s-1.889.514-2.5 1.542c-.5-.167-1.042-.389-1.625-.667.25-1.055.042-1.916-.625-2.583-.667-.667-1.528-.875-2.583-.625C4.389 15.542 4.167 15 4 14.5c1.028-.611 1.542-1.444 1.542-2.5 0-.944-.514-1.722-1.542-2.333a8.484 8.484 0 0 1 .667-1.584c.944.223 1.805-.055 2.583-.833.667-.667.875-1.528.625-2.583C8.458 4.389 9 4.167 9.5 4c.611 1.028 1.444 1.542 2.5 1.542S13.889 5.028 14.5 4c.5.167 1.042.389 1.625.667-.25 1.055-.042 1.916.625 2.583.778.778 1.639 1.056 2.583.833.306.611.528 1.14.667 1.584-1.028.61-1.542 1.389-1.542 2.333zM12 16.083c1.111 0 2.07-.402 2.875-1.208.806-.806 1.208-1.764 1.208-2.875s-.402-2.07-1.208-2.875c-.806-.806-1.764-1.208-2.875-1.208s-2.07.402-2.875 1.208c-.806.806-1.208 1.764-1.208 2.875s.402 2.07 1.208 2.875c.806.806 1.764 1.208 2.875 1.208z"]}},function(t,e){t.exports={prefix:"cv",iconName:"folder",icon:["24","24",[],"","M12.685 6H18.5A1.5 1.5 0 0 1 20 7.5v11a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 18.5v-13A1.5 1.5 0 0 1 5.5 4h4.66a1.5 1.5 0 0 1 1.095.474L12.685 6zM5.5 5a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-6.248l-1.727-1.842A.5.5 0 0 0 10.161 5H5.5zM5 10V9h14v1H5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"handle",icon:["16","16",[],"","M1 0h14a1 1 0 0 1 1 1v1.2a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1zm0 6.4h14a1 1 0 0 1 1 1v1.2a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7.4a1 1 0 0 1 1-1zm0 6.4h14a1 1 0 0 1 1 1V15a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1v-1.2a1 1 0 0 1 1-1z"]}},function(t,e){t.exports={prefix:"cv",iconName:"heart",icon:["24","24",[],"","m11.466 22.776c.141.144.333.224.534.224s.393-.08.534-.224l9.594-9.721c4.001-4.053 1.158-11.055-4.532-11.055-3.417 0-4.985 2.511-5.596 2.98-.614-.471-2.172-2.98-5.596-2.98-5.672 0-8.55 6.984-4.531 11.055z"]}},function(t,e){t.exports={prefix:"cv",iconName:"heart-outline",icon:["24","24",[],"","m11.466 22.776c.141.144.333.224.534.224s.393-.08.534-.224l9.594-9.721c2.491-2.523 2.491-6.63 0-9.154-1.21-1.226-2.819-1.901-4.532-1.901s-3.321.675-4.531 1.9l-1.065 1.08-1.065-1.079c-1.21-1.226-2.819-1.901-4.531-1.901-1.713 0-3.322.675-4.532 1.901-2.491 2.524-2.491 6.631 0 9.153zm-8.527-17.822c.926-.937 2.157-1.454 3.464-1.454 1.308 0 2.538.517 3.463 1.455l1.599 1.62c.281.285.786.285 1.067 0l1.599-1.621c.928-.937 2.158-1.454 3.465-1.454 1.308 0 2.538.517 3.464 1.454 1.917 1.943 1.917 5.104 0 7.048l-9.06 9.181-9.061-9.182c-1.917-1.942-1.917-5.104 0-7.047z"]}},function(t,e){t.exports={prefix:"cv",iconName:"interactive",icon:["24","24",[],"","M5.978 13.65l7.525-9.99a.2.2 0 0 1 .357.154l-1.289 7.5 5.194-1.04a.2.2 0 0 1 .198.318l-7.447 9.733a.2.2 0 0 1-.355-.16l1.268-6.566-5.277.37a.2.2 0 0 1-.174-.32z"]}},function(t,e){t.exports={prefix:"cv",iconName:"link",icon:["24","24",[],"","M17 10c2.2 0 4 1.8 4 4s-1.8 4-4 4h-5a3.99 3.99 0 0 1-3-1.367v-.028a4.447 4.447 0 0 1-.889-2.679c0-.698.162-1.356.443-1.94A4 4 0 0 1 12 10h1.872v.098c0 .573-.322 1.081-.818 1.402H12c-.722 0-1.368.316-1.824.811-.453.418-.732.976-.732 1.591v.196c0 .575.244 1.1.645 1.508.46.545 1.146.894 1.911.894h5c1.375 0 2.5-1.125 2.5-2.5s-1.125-2.5-2.5-2.5h-.686a5.22 5.22 0 0 0 .24-1.5H17zm-9.556 3.926l.002.074H7c-2.2 0-4-1.8-4-4s1.8-4 4-4h5c1.462 0 2.743.797 3.441 1.975a4.48 4.48 0 0 1-.44 4.63v.024a3.982 3.982 0 0 1-3 1.37h-1.873v-.096c0-.574.322-1.082.817-1.403H12c.722 0 1.368-.316 1.824-.811.452-.418.731-.976.731-1.591v-.195c0-.576-.244-1.101-.645-1.51A2.496 2.496 0 0 0 12 7.5H7A2.507 2.507 0 0 0 4.5 10c0 1.375 1.125 2.5 2.5 2.5h.642c-.128.452-.198.93-.198 1.426z"]}},function(t,e){t.exports={prefix:"cv",iconName:"playlist",icon:["24","24",[],"","M4,19.0049107 C4,19.5548349 4.44525903,20 4.99508929,20 L19.0049107,20 C19.5548349,20 20,19.554741 20,19.0049107 L20,4.99508929 C20,4.44516513 19.554741,4 19.0049107,4 L4.99508929,4 C4.44516513,4 4,4.44525903 4,4.99508929 L4,19.0049107 Z M4.99508929,3 L19.0049107,3 C20.1067681,3 21,3.8926228 21,4.99508929 L21,19.0049107 C21,20.1067681 20.1073772,21 19.0049107,21 L4.99508929,21 C3.8932319,21 3,20.1073772 3,19.0049107 L3,4.99508929 C3,3.8932319 3.8926228,3 4.99508929,3 Z M17.5,17.3 C17.7761424,17.3 18,17.0761424 18,16.8 C18,16.5238576 17.7761424,16.3 17.5,16.3 L9.5,16.3 C9.22385763,16.3 9,16.5238576 9,16.8 C9,17.0761424 9.22385763,17.3 9.5,17.3 L17.5,17.3 Z M17.5,12.7 C17.7761424,12.7 18,12.4761424 18,12.2 C18,11.9238576 17.7761424,11.7 17.5,11.7 L9.5,11.7 C9.22385763,11.7 9,11.9238576 9,12.2 C9,12.4761424 9.22385763,12.7 9.5,12.7 L17.5,12.7 Z M8.07195299,7.22930174 L6.86542219,6.50538326 C6.38401051,6.21653625 6,6.43413716 6,6.98678206 L6,8.51032805 C6,9.06455544 6.38746271,9.27850253 6.86542219,8.99172685 L8.07195299,8.26780837 C8.55336467,7.97896136 8.54991246,7.51607743 8.07195299,7.22930174 Z M8.07195299,11.7293017 L6.86542219,11.0053833 C6.38401051,10.7165363 6,10.9341372 6,11.4867821 L6,13.010328 C6,13.5645554 6.38746271,13.7785025 6.86542219,13.4917268 L8.07195299,12.7678084 C8.55336467,12.4789614 8.54991246,12.0160774 8.07195299,11.7293017 Z M8.07195299,16.2293017 L6.86542219,15.5053833 C6.38401051,15.2165363 6,15.4341372 6,15.9867821 L6,17.510328 C6,18.0645554 6.38746271,18.2785025 6.86542219,17.9917268 L8.07195299,17.2678084 C8.55336467,16.9789614 8.54991246,16.5160774 8.07195299,16.2293017 Z M17.5,8.3 C17.7761424,8.3 18,8.07614237 18,7.8 C18,7.52385763 17.7761424,7.3 17.5,7.3 L9.5,7.3 C9.22385763,7.3 9,7.52385763 9,7.8 C9,8.07614237 9.22385763,8.3 9.5,8.3 L17.5,8.3 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"publisher-archive",icon:["24","24",[],"","M19.6403207,10.2808023 C19.6403207,9.97696656 19.8864872,9.73065903 20.1901489,9.73065903 C20.4938106,9.73065903 20.7399771,9.97696656 20.7399771,10.2808023 L20.7399771,17.1575931 C20.7399771,18.7397289 19.3544729,20 17.6701031,20 L6.32989691,20 C4.64552709,20 3.26002291,18.7397289 3.26002291,17.1575931 L3.26002291,10.2808023 C3.26002291,9.97696656 3.50618937,9.73065903 3.80985109,9.73065903 C4.11351281,9.73065903 4.35967927,9.97696656 4.35967927,10.2808023 L4.35967927,17.1575931 C4.35967927,18.1074218 5.23070097,18.8997135 6.32989691,18.8997135 L17.6701031,18.8997135 C18.769299,18.8997135 19.6403207,18.1074218 19.6403207,17.1575931 L19.6403207,10.2808023 Z M20.1901489,4 C21.1786273,4 22,4.74713037 22,5.69627507 L22,7.98853868 C22,8.29237442 21.7538335,8.53868195 21.4501718,8.53868195 L2.54982818,8.53868195 C2.24616646,8.53868195 2,8.29237442 2,7.98853868 L2,5.69627507 C2,4.74713037 2.82137271,4 3.80985109,4 L20.1901489,4 Z M20.9003436,5.69627507 C20.9003436,5.37943754 20.5934534,5.10028653 20.1901489,5.10028653 L3.80985109,5.10028653 C3.40654659,5.10028653 3.09965636,5.37943754 3.09965636,5.69627507 L3.09965636,7.43839542 L20.9003436,7.43839542 L20.9003436,5.69627507 Z M15.069874,11.4269341 C15.069874,12.3760788 14.2485013,13.1232092 13.2600229,13.1232092 L10.7399771,13.1232092 C9.75149871,13.1232092 8.930126,12.3760788 8.930126,11.4269341 C8.930126,10.4777894 9.75149871,9.73065903 10.7399771,9.73065903 L13.2600229,9.73065903 C14.2485013,9.73065903 15.069874,10.4777894 15.069874,11.4269341 Z M13.9702176,11.4269341 C13.9702176,11.1100966 13.6633274,10.8309456 13.2600229,10.8309456 L10.7399771,10.8309456 C10.3366726,10.8309456 10.0297824,11.1100966 10.0297824,11.4269341 C10.0297824,11.7437716 10.3366726,12.0229226 10.7399771,12.0229226 L13.2600229,12.0229226 C13.6633274,12.0229226 13.9702176,11.7437716 13.9702176,11.4269341 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"resources",icon:["24","24",[],"","M4 6.83c0-.523.423-.948.948-.948H17.17c.524 0 .949.423.949.949v12.22a.947.947 0 0 1-.949.949H4.95a.947.947 0 0 1-.95-.948V6.83zm.941 12.222c0 .005 12.228.007 12.228.007.005 0 .007-12.228.007-12.228 0-.005-12.228-.007-12.228-.007-.005 0-.007 12.228-.007 12.228zm2.353-9.405a.47.47 0 1 1 0-.941h7.588a.47.47 0 1 1 0 .941H7.294zm0 2.824a.47.47 0 1 1 0-.942h7.588a.47.47 0 1 1 0 .942H7.294zm0 2.823a.47.47 0 1 1 0-.941h2.88a.47.47 0 1 1 0 .941h-2.88zM6.353 4.941a.47.47 0 1 1 0-.941h11.766C19.155 4 20 4.848 20 5.88v12.232a.47.47 0 1 1-.941 0V5.88a.945.945 0 0 0-.94-.938H6.353z"]}},function(t,e){t.exports={prefix:"cv",iconName:"star-o",icon:["24","24",[],"","M11.64 16.055a.768.768 0 0 1 .72 0l3.767 1.998-.806-4.602 3.357-3.249-4.626-.654L12 5.35 9.948 9.548l-4.626.654 3.357 3.25-.807 4.601 3.768-1.998zm-3.75 3.148a.768.768 0 0 1-1.116-.811l.804-4.583-3.344-3.235a.768.768 0 0 1 .426-1.312l4.607-.652 2.043-4.18a.768.768 0 0 1 1.38 0l2.043 4.18 4.607.652a.768.768 0 0 1 .426 1.312l-3.344 3.235.804 4.583a.768.768 0 0 1-1.116.81L12 17.023l-4.11 2.18z"]}},function(t,e){t.exports={prefix:"cv",iconName:"star",icon:["24","24",[],"","M7.89 19.203a.768.768 0 0 1-1.116-.811l.804-4.583-3.344-3.235a.768.768 0 0 1 .426-1.312l4.607-.652 2.043-4.18a.768.768 0 0 1 1.38 0l2.043 4.18 4.607.652a.768.768 0 0 1 .426 1.312l-3.344 3.235.804 4.583a.768.768 0 0 1-1.116.81L12 17.023l-4.11 2.18z"]}},function(t,e){t.exports={prefix:"cv",iconName:"tag",icon:["24","24",[],"","M9.85651379,4 C10.5597673,4 11.2342681,4.27911643 11.7318501,4.77635695 L11.7318501,4.77635695 L19.5192508,12.5634018 C20.1602555,13.2045708 20.1602555,14.2439177 19.5192159,14.8851217 L19.5192159,14.8851217 L14.8855145,19.5192848 C14.2443321,20.1602442 13.2049876,20.1602442 12.5637184,19.519198 L12.5637184,19.519198 L4.7762613,11.7314233 C4.27913559,11.2340016 4,10.5595161 4,9.85635067 L4,9.85635067 L4,5.64191268 C4,4.7351029 4.73513649,4 5.64195885,4 L5.64195885,4 L9.85651379,4 Z M9.85658948,5.26315824 L5.64195885,5.26315824 C5.4327466,5.26315824 5.26315823,5.43273884 5.26315823,5.64191268 L5.26315823,5.64191268 L5.26315823,9.85642637 C5.26315823,10.2247328 5.40935021,10.5779817 5.66959105,10.8383776 L5.66959105,10.8383776 L13.4568376,18.6259418 C13.6047616,18.7738142 13.8445582,18.7738142 13.9923822,18.6260417 L13.9923822,18.6260417 L18.6259486,13.9920135 C18.7738119,13.8441123 18.7738119,13.6043763 18.6260161,13.4565426 L18.6260161,13.4565426 L10.8388259,5.6697082 C10.5782887,5.40934993 10.2250082,5.26315824 9.85658948,5.26315824 L9.85658948,5.26315824 Z M7.78947471,6.10526373 C8.71963876,6.10526373 9.4736857,6.85931068 9.4736857,7.78947472 C9.4736857,8.71963876 8.71963876,9.4736857 7.78947471,9.4736857 C6.85931067,9.4736857 6.10526373,8.71963876 6.10526373,7.78947472 C6.10526373,6.85931068 6.85931067,6.10526373 7.78947471,6.10526373 Z M7.78947471,7.36842197 C7.5569337,7.36842197 7.36842197,7.55693371 7.36842197,7.78947472 C7.36842197,8.02201573 7.5569337,8.21052747 7.78947471,8.21052747 C8.02201572,8.21052747 8.21052746,8.02201573 8.21052746,7.78947472 C8.21052746,7.55693371 8.02201572,7.36842197 7.78947471,7.36842197 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"time",icon:["24","24",[],"","M12 4c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 1.077a6.88 6.88 0 0 0-4.896 2.027A6.877 6.877 0 0 0 5.077 12c0 1.85.72 3.588 2.027 4.896A6.877 6.877 0 0 0 12 18.923a6.88 6.88 0 0 0 4.896-2.027A6.877 6.877 0 0 0 18.923 12a6.88 6.88 0 0 0-2.027-4.896A6.877 6.877 0 0 0 12 5.077zm2.524 9.599a.6.6 0 0 1-.848.848l-2.5-2.5A.6.6 0 0 1 11 12.6V8.624a.6.6 0 0 1 1.2 0v3.727l2.324 2.325z"]}},function(t,e){t.exports={prefix:"cv",iconName:"video",icon:["24","24",[],"","M4.5 6a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h15a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-15zm0-1h15A1.5 1.5 0 0 1 21 6.5v11a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 17.5v-11A1.5 1.5 0 0 1 4.5 5zM10 9.26v5.48a.256.256 0 0 0 .39.218l4.482-2.74a.256.256 0 0 0 0-.436l-4.483-2.74a.256.256 0 0 0-.389.219z"]}},function(t,e){t.exports={prefix:"cv",iconName:"subject",icon:["24","24",[],"","M19.15,21.08H5.1c-1.09,0-1.98-0.89-1.98-1.98V5.06c0-1.09,0.89-1.98,1.98-1.98h14.04c1.09,0,1.98,0.89,1.98,1.98V19.1 C21.12,20.19,20.24,21.08,19.15,21.08z M20.12,19.16V5c0-0.51-0.41-0.92-0.92-0.92H7.04C6.54,4.08,6.12,4.49,6.12,5v14.16 c0,0.51,0.41,0.92,0.92,0.92h12.16C19.71,20.08,20.12,19.67,20.12,19.16z M19.12,6.95V6.81c0-0.36-0.29-0.65-0.65-0.65H8.78 c-0.36,0-0.65,0.29-0.65,0.65v0.13c0,0.36,0.29,0.65,0.65,0.65h9.69C18.83,7.6,19.12,7.31,19.12,6.95z M19.12,9.95V9.81 c0-0.36-0.29-0.65-0.65-0.65H8.78c-0.36,0-0.65,0.29-0.65,0.65v0.13c0,0.36,0.29,0.65,0.65,0.65h9.69 C18.83,10.6,19.12,10.31,19.12,9.95z"]}},function(t,e){t.exports={prefix:"cv",iconName:"series",icon:["24","24",[],"","M20.49,3.51c0.97,0,1.76,0.79,1.76,1.76v9.27c0,0.77-0.49,1.42-1.18,1.66l0.09-10.84c0-0.39-0.3-0.7-0.68-0.7l-14.27,0 C6.46,3.99,7.1,3.51,7.85,3.51H20.49z M18.38,5.56c0.97,0,1.76,0.79,1.76,1.75v9.27c0.01,0.77-0.49,1.42-1.17,1.66l0.09-10.86 c0-0.38-0.3-0.68-0.68-0.68l-14.28,0c0.25-0.67,0.89-1.14,1.64-1.14H18.38z M16.15,7.7c0.97,0,1.75,0.79,1.75,1.76v9.27 c0,0.97-0.79,1.75-1.75,1.75H3.5c-0.97,0-1.75-0.79-1.75-1.75V9.46c0-0.97,0.79-1.76,1.75-1.76H16.15z M16.14,8.85H3.51 c-0.38,0-0.68,0.3-0.68,0.68l0,0v9.13c0,0.38,0.3,0.68,0.68,0.68l0,0h12.62c0.38,0,0.68-0.3,0.68-0.68l0,0V9.53 C16.82,9.15,16.52,8.85,16.14,8.85L16.14,8.85z M8.46,12.41v3.37c0,0.18,0.21,0.28,0.35,0.18l2.31-1.69c0.12-0.09,0.12-0.27,0-0.35 L8.8,12.23C8.66,12.13,8.46,12.23,8.46,12.41"]}},function(t,e){t.exports={prefix:"cv",iconName:"white-wave",icon:["1200","244",[],"","M1104.19651,33.5198863 C1084.14716,45.4511816 1067.10689,82.9623447 1047.23647,124.40502 C1023.86518,173.149287 924.725009,160.996474 830.060105,199.668011 C735.395201,238.339548 706.121292,249.351671 618.615175,241.737466 C531.109058,234.12326 495.404437,207.34459 432.2827,199.668011 C370.933901,192.207048 283.214734,200.240922 234.995453,186.264588 C153.311618,162.588569 167.948341,80.4093241 122.421855,59.9864363 C102.62311,51.1048469 61.8158253,37.3273576 0,18.6539685 L0,0 L1200,0 C1161.79495,7.07406031 1129.86046,18.2473557 1104.19651,33.5198863 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"compass",icon:["24","24",[],"","M12,-1.71862524e-13 C13.3893905,-1.71862524e-13 14.5197317,1.12166968 14.5197317,2.50040137 C14.5197317,2.8215332 14.4594938,3.13263028 14.3442115,3.42156921 C16.2349366,3.84633285 17.9748233,4.78862459 19.3866372,6.17539419 L19.4316433,6.22680193 C21.3267651,8.11265804 22.5,10.713205 22.5,13.5805516 C22.5,19.3258216 17.7897333,24 12,24 L12,24 C6.21026669,24 1.5,19.3258216 1.5,13.5805516 L1.50006052,13.5243182 C1.50002021,13.5212739 1.5,13.5182249 1.5,13.5151711 L1.501,13.503 L1.50378159,13.2988768 C1.57785421,10.543134 2.73548466,8.05071265 4.56835673,6.22680193 L4.61336276,6.17539419 C6.02517671,4.78862459 7.76506343,3.84633285 9.65748913,3.42018903 C9.54056383,3.13263028 9.48031555,2.8215332 9.48031555,2.50040137 C9.48031555,1.12166968 10.6106095,-1.71862524e-13 12,-1.71862524e-13 Z M12,4.52624116 L11.6809164,4.53170146 C11.6454989,4.53291535 11.610132,4.53433052 11.5748169,4.53594584 L11.6816694,4.53162088 C11.5883913,4.53477816 11.4953516,4.53932139 11.4025747,4.54524062 L11.5748169,4.53594584 C11.4679256,4.54083509 11.3615084,4.54755809 11.2555967,4.55608379 L11.4025747,4.54524062 C11.3068176,4.55134999 11.2113405,4.55892518 11.1161702,4.56795525 L11.2555967,4.55608379 C11.095392,4.56897997 10.9363438,4.5860008 10.7785603,4.60703883 C10.7467123,4.6104578 10.7154515,4.61475211 10.6842289,4.61920452 L10.7785603,4.60703883 C10.6768565,4.62059949 10.5756781,4.63582921 10.4750543,4.65269924 L10.6842289,4.61920452 C10.600263,4.63117821 10.5165735,4.64429522 10.4331795,4.65854779 L10.4750543,4.65269924 C9.11485909,4.88074187 7.85598275,5.40850943 6.77005357,6.16492738 L8.00490498,7.39068924 C8.27354347,7.65726684 8.27354347,8.0894535 8.00490498,8.35612485 C7.87046765,8.48939021 7.69450873,8.55604633 7.5184081,8.55604633 C7.34230747,8.55604633 7.16634856,8.48943709 7.03200569,8.35612485 L5.70204148,7.03485023 C4.13204115,8.52299364 3.09475895,10.5601022 2.90659433,12.8322227 L4.30759576,12.8325787 C4.68743083,12.8325787 4.99546522,13.1382031 4.99546522,13.5151711 C4.99546522,13.892186 4.68747807,14.1977635 4.30764299,14.1977635 L2.89670934,14.1976473 C3.02371908,16.0609257 3.72135566,17.7714185 4.81716961,19.1579915 L4.97167812,19.3482139 C5.26113447,19.6949337 5.57609243,20.0199666 5.91367078,20.3204536 L7.03200569,19.2111609 C7.30069142,18.9445833 7.73612479,18.9445833 8.00490498,19.2111609 C8.27354347,19.4777385 8.27354347,19.9099252 8.00490498,20.1765497 L7.01386949,21.160078 C8.44796715,22.0922041 10.1613427,22.6346745 12,22.6346745 L12,22.6346745 C13.8583409,22.6346745 15.5887033,22.0805272 17.0320921,21.1300078 L16.0701299,20.1765497 C15.8014914,19.909972 15.8014914,19.4777854 16.0701299,19.2111609 C16.3388156,18.9445833 16.774249,18.9445833 17.042982,19.2111609 L18.1252566,20.2856043 C18.4481451,19.9948825 18.7500205,19.681572 19.0283219,19.3482139 L19.1828304,19.1579915 C20.2466397,17.8119151 20.9351906,16.1605635 21.0907063,14.3605101 L21.1032907,14.1976527 L21.1032907,14.1976527 L19.4302507,14.1977635 C19.0504157,14.1977635 18.7423813,13.8921391 18.7423813,13.5151711 C18.7423813,13.1381562 19.0504157,12.8325787 19.4302507,12.8325787 L21.0934057,12.8322227 C20.9067892,10.5787961 19.8849698,8.55653016 18.3366017,7.07169263 L17.0430292,8.35607798 C16.9085919,8.48943709 16.732633,8.55604633 16.5565323,8.55604633 C16.3804317,8.55604633 16.2044728,8.48943709 16.0701299,8.35612485 C15.8014914,8.08954725 15.8014914,7.65736059 16.0701299,7.39068924 L17.2742569,6.19598696 C16.1894526,5.4308071 14.9295636,4.89482891 13.5669368,4.65983993 C13.5528409,4.65615858 13.538853,4.65380129 13.5248569,4.65147595 L13.5669368,4.65983993 C13.4834378,4.64544029 13.3995531,4.63217086 13.3152992,4.62004816 L13.5248569,4.65147595 C13.4243139,4.63477151 13.3233471,4.61971567 13.2219896,4.60632197 L13.3152992,4.62004816 C13.1723723,4.59948341 13.0283832,4.58221861 12.8834131,4.56833442 C12.8374466,4.56355426 12.7909906,4.55949885 12.7444647,4.55579028 L12.8834131,4.56833442 C12.7886701,4.55926062 12.6935082,4.5516307 12.5979499,4.54546716 L12.7444647,4.55579028 C12.6381278,4.54731418 12.5314263,4.5406499 12.4243976,4.53581255 L12.5979499,4.54546716 C12.5053597,4.53949506 12.4123973,4.53489967 12.3190836,4.53170146 L12.4243976,4.53581255 C12.2834709,4.52944313 12.1419768,4.52624116 12,4.52624116 Z M12.2098775,18.4456908 C12.3524617,18.4551964 12.4902931,18.464702 12.6328773,18.4884661 C12.6851582,18.4932189 12.7421919,18.5074773 12.7944727,18.5169829 C12.8039783,18.5169829 12.813484,18.5169829 12.8229896,18.5217357 C12.8990345,18.5692638 12.984585,18.5740166 13.0701355,18.5930278 C13.0938996,18.5977806 13.1224164,18.6025334 13.1509332,18.612039 C13.1746973,18.6215447 13.1984613,18.6310503 13.2174725,18.6500615 C13.2364838,18.6690727 13.255495,18.6833311 13.2887647,18.688084 C13.3172815,18.6928368 13.3362927,18.7213536 13.3362927,18.7546232 C13.3362927,18.7831401 13.3315399,18.8116569 13.3267871,18.835421 C13.3077759,18.9304771 13.2887647,19.030286 13.2650006,19.1253422 C13.2602478,19.153859 13.2507422,19.1823759 13.2412366,19.2108927 C13.2174725,19.277432 13.2127197,19.3487241 13.1937085,19.4152634 C13.1794501,19.4532859 13.1746973,19.4960611 13.1556861,19.5340836 C13.1414276,19.5673532 13.131922,19.6006229 13.1034052,19.6386453 C13.0891468,19.6529038 13.084394,19.6766678 13.0796411,19.7004318 C13.0606299,19.7527127 13.0321131,19.7717239 12.9750794,19.7622183 L12.9750794,19.7622183 L12.960821,19.7622183 C12.8562592,19.7384543 12.7564503,19.7194431 12.6566413,19.6909262 C12.5473268,19.6624094 12.4380122,19.6529038 12.3286977,19.6576566 C12.3001808,19.6576566 12.271664,19.6671622 12.2431471,19.6766678 C12.2051247,19.6909262 12.1956191,19.7194431 12.1956191,19.7574655 C12.1956191,19.7764767 12.2003719,19.7907352 12.2193831,19.795488 C12.2811696,19.8287576 12.3382033,19.8620273 12.419001,19.8762857 C12.442765,19.8810385 12.4617762,19.8952969 12.4807875,19.9048025 C12.5045515,19.9190609 12.5235627,19.9285666 12.542574,19.9380722 C12.689911,20.0093643 12.8467536,20.0711508 12.9798322,20.1709597 C13.084394,20.2422518 13.1604389,20.3325551 13.2032141,20.4513753 L13.2032141,20.4513753 L13.3077759,20.7745662 C13.3410455,20.8933864 13.3362927,21.0217122 13.3315399,21.1452851 C13.3267871,21.2403413 13.3125287,21.3401502 13.279259,21.4304535 C13.2745062,21.4352064 13.2745062,21.4399592 13.2745062,21.4494648 C13.2840118,21.5587793 13.2507422,21.6585883 13.1889557,21.7441388 C13.084394,21.8962286 12.9513154,22.0293072 12.7897199,22.1291162 C12.6851582,22.1956555 12.5710908,22.2336779 12.4475178,22.257442 C12.3239448,22.281206 12.1956191,22.3144756 12.0672933,22.3287341 C11.9579787,22.3429925 11.8486642,22.3429925 11.7441024,22.3382397 C11.6157766,22.3239812 11.4922036,22.3002172 11.3638778,22.2764532 C11.3448666,22.2764532 11.3258554,22.2669476 11.3068442,22.2621948 C11.2165408,22.2194195 11.1262375,22.2051611 11.0311814,22.1956555 C10.9076084,22.1766442 10.7887882,22.1481274 10.6652152,22.1243634 C10.6366984,22.1196106 10.6081815,22.0958465 10.6081815,22.0625769 C10.6081815,21.9675207 10.5844175,21.8677118 10.5986759,21.7726556 C10.6129344,21.6015546 10.62244,21.4257007 10.6414512,21.2545997 C10.6509568,21.1642964 10.6747208,21.073993 10.6984849,20.9789369 C10.7127433,20.9219032 10.7507658,20.8981392 10.8125522,20.902892 C10.9028556,20.9123976 10.9931589,20.9171504 11.0787094,20.9314088 C11.188024,20.9456672 11.2925857,20.9599257 11.3971475,20.9931953 C11.4541812,21.0074537 11.5112149,21.0169593 11.5682485,21.0217122 C11.6633047,21.026465 11.753608,21.026465 11.8439113,21.026465 C11.8866866,21.026465 11.9294619,20.9836897 11.9342147,20.9456672 C11.9389675,20.9123976 11.9152034,20.8696223 11.8724282,20.8553639 C11.8391585,20.8458583 11.7963833,20.8363527 11.7583608,20.8315999 C11.7345968,20.8268471 11.7108328,20.8220943 11.6870687,20.8220943 C11.6015182,20.8173415 11.5254733,20.7935774 11.4446756,20.7650606 C11.3638778,20.7317909 11.2783273,20.7127797 11.1975296,20.6795101 C11.088215,20.6414876 10.9884061,20.5797011 10.8981028,20.508409 C10.817305,20.4466225 10.7792826,20.361072 10.7507658,20.2707687 C10.7079905,20.1234316 10.6937321,19.9713418 10.7127433,19.819252 C10.7270017,19.7051846 10.7317545,19.5911173 10.7507658,19.4818027 C10.793541,19.2441624 10.8885972,19.030286 11.0596982,18.859185 C11.2070352,18.711848 11.3876419,18.612039 11.5920126,18.5550054 C11.7060799,18.5217357 11.8249001,18.4932189 11.9437203,18.4694548 C12.0340236,18.4551964 12.124327,18.4551964 12.2098775,18.4456908 Z M14.7328664,9.61765309 C15.1590885,9.61765309 15.5675493,9.84298078 15.7988231,10.2056519 C16.0296718,10.5678544 16.0563136,11.0171504 15.8699625,11.4074308 L14.1147664,15.0838768 C13.9903906,15.3443138 13.7774449,15.5556727 13.5149472,15.6790944 L9.80998461,17.4209191 C9.63676546,17.5022939 9.45419332,17.5435907 9.2670864,17.5435907 C8.84086431,17.5435907 8.43240343,17.3182631 8.20112965,16.9555919 C7.97028099,16.5933895 7.94363916,16.1440935 8.12999028,15.753813 L9.88518638,12.077367 C10.0095622,11.81693 10.2225079,11.6055242 10.4850055,11.4821494 L14.1899681,9.74032473 C14.3631873,9.65894988 14.5457594,9.61765309 14.7328664,9.61765309 Z M14.4894526,11.1101033 L11.1110414,12.6984127 L9.51045294,16.050953 L12.8888641,14.4626436 L14.4894526,11.1101033 Z M13.0226075,6.1644377 C13.0938996,6.1691905 13.1651917,6.1691905 13.2364838,6.1691905 L13.2364838,6.1691905 L13.5121466,6.18344892 C13.5596746,6.18344892 13.5929443,6.21196577 13.5976971,6.26424664 C13.6309667,6.56842629 13.6547308,6.87260593 13.6357196,7.17678557 C13.5976971,7.72335837 13.6262139,8.27468397 13.6167083,8.82125677 C13.6167083,9.03513308 13.6214611,9.24900939 13.6452252,9.46763851 L13.6452252,9.46763851 L13.6452252,9.59121149 C13.6404724,9.6625036 13.6024499,9.69102044 13.5359106,9.68626763 C13.526405,9.68626763 13.5121466,9.69102044 13.502641,9.69102044 C13.4836297,9.69577324 13.4598657,9.70527886 13.4408545,9.70052605 C13.3695624,9.68626763 13.2935175,9.69102044 13.2222254,9.69102044 C13.1414276,9.68626763 13.0606299,9.69577324 12.9798322,9.70052605 C12.837248,9.71003166 12.689911,9.71953728 12.542574,9.72429009 C12.4997987,9.72904289 12.4760347,9.70527886 12.4570234,9.6672564 L12.4570234,9.6672564 L12.271664,9.34881834 C12.1195741,9.07315554 11.9532259,8.81175116 11.8201473,8.52658274 L11.8201473,8.52658274 L11.8011361,8.49331309 L11.8011361,8.53608835 C11.7916305,8.81650396 11.777372,9.09216676 11.7821249,9.37258237 C11.7821249,9.4628857 11.777372,9.55318904 11.7726192,9.64349237 C11.7678664,9.71478447 11.729844,9.75280693 11.6585519,9.76231254 L11.6585519,9.76231254 L11.5112149,9.77657096 C11.4066531,9.78607658 11.3068442,9.76231254 11.2070352,9.75280693 L11.2070352,9.75280693 L10.8077994,9.75280693 C10.7555186,9.75280693 10.6747208,9.78132377 10.6557096,9.72429009 C10.646204,9.70527886 10.6414512,9.69102044 10.646204,9.61972833 C10.646204,9.58170588 10.6509568,9.56269465 10.6509568,9.51991939 L10.6509568,9.51991939 L10.6604624,9.31079588 L10.6794736,8.66441414 C10.6889793,8.33171766 10.7032377,7.99902117 10.6937321,7.66632469 C10.6889793,7.45720118 10.6794736,7.24807768 10.669968,7.04370698 C10.669968,7.03420136 10.669968,7.01994294 10.6652152,7.01043733 C10.6319456,6.81081944 10.6366984,6.60644874 10.6557096,6.40207804 C10.6604624,6.39257243 10.6557096,6.37831401 10.6604624,6.36405559 C10.6604624,6.32603313 10.6984849,6.28801068 10.7365073,6.28325787 C10.769777,6.28325787 10.8077994,6.28801068 10.8410691,6.28801068 L10.8410691,6.28801068 L10.8838443,6.28801068 C11.0216757,6.26424664 11.1595071,6.24048261 11.3020914,6.24523541 L11.3020914,6.24523541 L11.458934,6.2357298 C11.5444845,6.23097699 11.630035,6.22622419 11.7155856,6.22622419 C11.729844,6.22622419 11.7488552,6.23097699 11.7631136,6.24048261 C11.7821249,6.25474103 11.8011361,6.25949384 11.8249001,6.25474103 C11.877181,6.24523541 11.9056978,6.25949384 11.9247091,6.30702191 C11.9864956,6.47812295 12.0767989,6.63971839 12.171855,6.79180821 C12.2478999,6.91538119 12.3001808,7.04370698 12.3477089,7.17678557 C12.3952369,7.29085294 12.4475178,7.4001675 12.5093043,7.50948206 L12.5093043,7.50948206 L12.5235627,7.52849329 C12.5235627,7.52849329 12.5283155,7.52849329 12.5330683,7.52374048 L12.5330683,7.52374048 L12.5330683,7.50472925 C12.5330683,7.28134733 12.5330683,7.0579654 12.5283155,6.83458347 C12.5283155,6.69199927 12.5188099,6.55416787 12.5188099,6.41633646 L12.5188099,6.41633646 L12.5188099,6.38781962 C12.5093043,6.30702191 12.5473268,6.24998822 12.6091133,6.20721296 C12.6328773,6.18344892 12.6613941,6.17394331 12.689911,6.17869612 C12.8039783,6.18344892 12.9132929,6.1644377 13.0226075,6.1644377 Z M12,1.36518483 C11.3691932,1.36518483 10.8560545,1.87443384 10.8560545,2.50035449 C10.8560545,2.7121822 10.9139202,2.91435368 11.0223297,3.09018146 C11.3472278,3.06046277 11.6746768,3.04536905 12,3.04536905 C12.3250871,3.04536905 12.6524415,3.06046277 12.977623,3.09027521 C13.0860798,2.91444743 13.1439455,2.7121822 13.1439455,2.50035449 C13.1439455,1.87438696 12.6308068,1.36518483 12,1.36518483 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"history",icon:["24","24",[],"","M12,0 C18.627417,0 24,5.372583 24,12 C24,18.627417 18.627417,24 12,24 C5.372583,24 0,18.627417 0,12 C0,5.372583 5.372583,0 12,0 Z M12,2.05714286 C6.50871163,2.05714286 2.05714286,6.50871163 2.05714286,12 C2.05714286,17.4912884 6.50871163,21.9428571 12,21.9428571 C17.4912884,21.9428571 21.9428571,17.4912884 21.9428571,12 C21.9428571,6.50871163 17.4912884,2.05714286 12,2.05714286 Z M12,5.82857143 C12.5680643,5.82857143 13.0285714,6.28907854 13.0285714,6.85714286 L13.0285714,11.5739518 L17.0130241,15.5584045 C17.4147062,15.9600866 17.4147062,16.611342 17.0130241,17.0130241 C16.611342,17.4147062 15.9600866,17.4147062 15.5584045,17.0130241 L11.2726902,12.7273098 C11.0797956,12.5344153 10.9714286,12.2727941 10.9714286,12 L10.9714286,6.85714286 C10.9714286,6.28907854 11.4319357,5.82857143 12,5.82857143 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"email",icon:["24","24",[],"","M5.09090909,16.5044548 C5.09090909,16.7087643 5.2517754,16.875 5.44811273,16.875 L18.5518873,16.875 C18.7495118,16.875 18.9090909,16.7100912 18.9090909,16.5044548 L18.9090909,7.49554521 C18.9090909,7.29123572 18.7482246,7.125 18.5518873,7.125 L5.44811273,7.125 C5.25048819,7.125 5.09090909,7.28990884 5.09090909,7.49554521 L5.09090909,16.5044548 Z M18.5518873,6 C19.3516578,6 20,6.67088532 20,7.49554521 L20,16.5044548 C20,17.3304216 19.3529644,18 18.5518873,18 L5.44811273,18 C4.64834215,18 4,17.3291147 4,16.5044548 L4,7.49554521 C4,6.6695784 4.6470356,6 5.44811273,6 L18.5518873,6 Z M5.28875242,8.40614655 C5.12000436,8.66349123 5.18550432,9.01318255 5.43505067,9.18720399 L11.4273828,13.3659638 L11.7273691,13.5751595 L12.0307568,13.3712472 L18.2317117,9.20347374 C18.4840876,9.03384736 18.5553362,8.68535347 18.3908501,8.42509084 C18.2446401,8.19374628 17.9613854,8.10998685 17.7229933,8.21336378 L17.6360272,8.26099773 L17.6360272,8.26099773 L17.634306,8.26215307 L17.6301531,8.26494056 L17.622066,8.27036883 C17.597586,8.28680036 17.530266,8.33198706 17.3451362,8.4562505 L17.2583634,8.51449439 C17.2426263,8.52505752 17.2262335,8.53606078 17.2091576,8.5475225 L17.0982873,8.62194118 C16.4410163,9.06311671 14.980414,10.0435068 11.7346312,12.2221514 C11.170907,11.8290376 10.4395891,11.3190523 9.69015295,10.7964321 L9.28047118,10.5107401 C7.64174412,9.36797184 6.04614146,8.25527648 6.04614146,8.25527648 C5.7965951,8.08125504 5.45750048,8.14880187 5.28875242,8.40614655 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"year-level",icon:["24","24",[],"","M14.5628141,2 C15.3668342,2 15.7688442,2.10471204 16.0703518,2.31413613 C16.3718593,2.52356021 16.6733668,2.73298429 16.8743719,3.15183246 C16.9748744,3.46596859 17.0753769,3.88481675 17.0753769,4.72251309 L17.0753769,9.85340314 C17.0753769,10.6212914 16.9909269,11.0372309 16.8220268,11.3431864 L16.7738693,11.4240838 L16.7738693,11.4240838 L19.3869347,11.4240838 C20.1909548,11.4240838 20.5929648,11.5287958 20.8944724,11.7382199 C21.1959799,11.947644 21.4974874,12.1570681 21.6984925,12.5759162 C21.8994975,12.9947644 22,13.4136126 22,14.1465969 L22,19.2774869 C22,20.1151832 21.8994975,20.5340314 21.6984925,20.8481675 C21.4974874,21.1623037 21.2964824,21.4764398 20.8944724,21.6858639 C20.4924623,21.895288 20.0904523,22 19.3869347,22 L14.4623116,22 C13.6582915,22 13.2562814,21.895288 12.9547739,21.6858639 C12.6532663,21.4764398 12.3517588,21.2670157 12.1507538,20.8481675 C12.1034481,20.774237 12.0617091,20.6945067 12.0255366,20.6076117 C12.002845,20.6555797 11.9772366,20.7004967 11.9497487,20.7434555 C11.7487437,21.0575916 11.5477387,21.3717277 11.1457286,21.5811518 C10.7437186,21.7905759 10.3417085,21.895288 9.63819095,21.895288 L4.61306533,21.895288 C3.80904523,21.895288 3.40703518,21.7905759 3.10552764,21.5811518 C2.8040201,21.3717277 2.50251256,21.1623037 2.30150754,20.7434555 C2.10050251,20.4293194 2,20.0104712 2,19.1727749 L2,14.0418848 C2,13.2041885 2.10050251,12.7853403 2.30150754,12.4712042 C2.50251256,12.1570681 2.70351759,11.8429319 3.10552764,11.6335079 C3.40703518,11.5287958 3.80904523,11.4240838 4.61306533,11.4240838 L7.32663317,11.4240838 L7.32663317,11.4240838 C7.12562814,11.0052356 7.02512563,10.5863874 7.02512563,9.7486911 L7.02512563,4.72251309 C7.02512563,3.88481675 7.12562814,3.46596859 7.32663317,3.04712042 C7.42713568,2.73298429 7.72864322,2.41884817 8.03015075,2.31413613 C8.4321608,2.10471204 8.83417085,2 9.63819095,2 L14.5628141,2 Z M12.0749659,12.71176 L12.0874744,12.6846501 L12.0874744,12.6846501 L12.1507538,12.5759162 L12.1507538,12.5759162 L14.361809,12.5759162 C13.758794,12.5759162 13.5577889,12.6806283 13.4572864,12.6806283 C13.3567839,12.6806283 13.2562814,12.8900524 13.1557789,12.9947644 C13.0696339,13.1742708 13.0573275,13.2768458 13.0555694,13.8300185 L13.0552764,19.2774869 C13.0552764,20.0104712 13.1557789,20.2198953 13.1557789,20.4293194 C13.2562814,20.5340314 13.3567839,20.7434555 13.5577889,20.7434555 C13.7444365,20.8406881 13.8444262,20.8476333 14.5015017,20.8481294 L19.5879397,20.8481675 C20.2914573,20.8481675 20.4924623,20.7434555 20.6934673,20.7434555 C20.7939698,20.6387435 20.9949749,20.5340314 20.9949749,20.3246073 C21.0811199,20.145101 21.0934263,20.0425259 21.0951844,19.4893533 L21.0954774,14.0418848 C21.0954774,13.3089005 20.9949749,13.0994764 20.9949749,12.8900524 C20.8944724,12.7853403 20.7939698,12.5759162 20.5929648,12.5759162 C20.4206748,12.4861631 20.3222234,12.4733412 19.7912888,12.4715095 L11.9497487,12.4712042 L11.9497487,12.4712042 C11.9970544,12.5451347 12.0387934,12.624865 12.0749659,12.71176 Z M8.03015075,12.1570681 C8.4321608,12.3664921 8.73366834,12.4712042 9.43718593,12.4712042 L4.61306533,12.4712042 C3.90954774,12.4712042 3.70854271,12.5759162 3.50753769,12.5759162 C3.40703518,12.6806283 3.20603015,12.7853403 3.20603015,12.8900524 C3.10552764,13.2041885 3.00502513,13.3089005 3.00502513,14.1465969 L3.00502513,19.2774869 C3.00502513,20.0104712 3.10552764,20.2198953 3.20603015,20.4293194 C3.30653266,20.5340314 3.40703518,20.7434555 3.50753769,20.7434555 C3.70854271,20.7434555 3.80904523,20.8481675 4.61306533,20.8481675 L9.53768844,20.8481675 C10.241206,20.8481675 10.4422111,20.7434555 10.6432161,20.7434555 C10.7437186,20.6387435 10.9447236,20.5340314 10.9447236,20.3246073 C11.0380474,20.1301421 11.0447134,20.0259643 11.0451895,19.3413674 L11.0452261,14.0418848 C11.0452261,13.3089005 10.9447236,13.0994764 10.9447236,12.8900524 C10.8442211,12.7853403 10.7437186,12.5759162 10.6432161,12.5759162 C10.4787574,12.4902427 10.3815773,12.4746657 10.0213993,12.4718336 L9.53768844,12.4712042 L9.53768844,12.4712042 C8.83417085,12.4712042 8.4321608,12.3664921 8.13065327,12.1570681 C7.82914573,11.947644 7.52763819,11.7382199 7.42713568,11.4240838 L7.32663317,11.4240838 C7.52763819,11.7382199 7.72864322,12.052356 8.03015075,12.1570681 Z M17.5778894,16.4502618 C17.9798995,16.4502618 18.281407,16.6596859 18.4824121,16.8691099 L18.427,16.923 L18.4619013,16.9649688 C18.6095785,17.1682872 18.6834171,17.4375467 18.6834171,17.7068063 L18.6834171,18.1256545 C18.6834171,18.8586387 18.080402,19.382199 17.4773869,19.382199 L15.7688442,19.382199 C15.5678392,19.486911 15.3668342,19.2774869 15.3668342,18.9633508 C15.3668342,18.7539267 15.5678392,18.5445026 15.7688442,18.5445026 L17.4773869,18.5445026 C17.678392,18.5445026 17.879397,18.3350785 17.879397,18.1256545 L17.879397,17.7068063 C17.879397,17.4973822 17.678392,17.2879581 17.4773869,17.2879581 L15.8693467,17.2879581 C15.6683417,17.2879581 15.4673367,17.078534 15.4673367,16.8691099 C15.4673367,16.6596859 15.6683417,16.4502618 15.8693467,16.4502618 L17.5778894,16.4502618 Z M7.52763819,14.2513089 C8.23115578,14.2513089 8.73366834,14.8795812 8.73366834,15.5078534 L8.73366834,15.9267016 C8.73366834,16.6596859 8.13065327,17.1832461 7.52763819,17.1832461 L6.62311558,17.1832461 C6.42211055,17.1832461 6.22110553,17.3926702 6.22110553,17.6020942 L6.22110553,18.4397906 L8.33165829,18.4397906 C8.53266332,18.4397906 8.73366834,18.6492147 8.73366834,18.8586387 C8.73366834,19.0680628 8.53266332,19.2774869 8.33165829,19.2774869 L5.81909548,19.2774869 C5.61809045,19.2774869 5.41708543,19.0680628 5.41708543,18.8586387 L5.41708543,17.7068063 C5.41708543,16.973822 6.0201005,16.4502618 6.62311558,16.4502618 L7.42713568,16.4502618 C7.72864322,16.4502618 7.82914573,16.2408377 7.82914573,15.9267016 L7.82914573,15.5078534 C7.82914573,15.2984293 7.6281407,15.0890052 7.42713568,15.0890052 L5.81909548,15.0890052 C5.61809045,15.0890052 5.41708543,14.8795812 5.41708543,14.6701571 C5.41708543,14.460733 5.61809045,14.2513089 5.81909548,14.2513089 L7.52763819,14.2513089 Z M17.4773869,14.2513089 C18.1809045,14.2513089 18.6834171,14.8795812 18.6834171,15.5078534 L18.6834171,15.9267016 C18.6834171,16.2408377 18.5829146,16.5549738 18.3819095,16.7643979 C18.1809045,16.4502618 17.879397,16.3455497 17.4773869,16.3455497 C17.678392,16.3455497 17.879397,16.1361257 17.879397,15.9267016 L17.879397,15.5078534 C17.879397,15.2984293 17.678392,15.0890052 17.4773869,15.0890052 L15.7688442,15.0890052 C15.5678392,15.0890052 15.3668342,14.8795812 15.3668342,14.6701571 C15.3668342,14.460733 15.5678392,14.2513089 15.7688442,14.2513089 L17.4773869,14.2513089 Z M14.4623116,3.04712042 L9.63819095,3.04712042 C8.83417085,3.04712042 8.73366834,3.15183246 8.53266332,3.2565445 C8.4321608,3.2565445 8.23115578,3.36125654 8.13065327,3.57068063 C8.13065327,3.78010471 8.03015075,3.88481675 8.03015075,4.72251309 L8.03015075,9.85340314 C8.03015075,10.5863874 8.13065327,10.7958115 8.13065327,11.0052356 C8.23115578,11.1099476 8.33165829,11.3193717 8.4321608,11.3193717 C8.63316583,11.3193717 8.83417085,11.4240838 9.43718593,11.4240838 L14.5628141,11.4240838 C15.1658291,11.4240838 15.3668342,11.3193717 15.4673367,11.3193717 C15.5678392,11.2146597 15.7688442,11.1099476 15.7688442,11.0052356 C15.8549892,10.8257292 15.8672957,10.7231542 15.8690537,10.1699815 L15.8693467,4.72251309 C15.8693467,3.9895288 15.7688442,3.78010471 15.7688442,3.57068063 C15.6683417,3.46596859 15.5678392,3.2565445 15.3668342,3.2565445 C15.3668342,3.15183246 15.2663317,3.04712042 14.4623116,3.04712042 Z M12.0502513,4.61780105 C12.2512563,4.61780105 12.4522613,4.82722513 12.4522613,5.03664921 L12.4522613,9.43455497 C12.4522613,9.64397906 12.2512563,9.85340314 12.0502513,9.85340314 C11.8492462,9.85340314 11.6482412,9.64397906 11.6482412,9.43455497 L11.6482412,5.03664921 C11.6482412,4.82722513 11.8492462,4.61780105 12.0502513,4.61780105 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"subjects",icon:["24","24",[],"","M11.9999608,6.48873431 C12.828049,6.08104273 13.7442836,5.92395943 14.6596155,6.03432052 L14.6596155,6.03432052 L18.7411881,6.52627319 C18.8894198,6.54415652 19.0011921,6.67308566 19.0011921,6.8263023 L19.0011921,6.8263023 L19.0011921,7.51037994 L19.7056558,7.51037994 C19.8682123,7.51037994 20,7.64563269 20,7.81246321 L20,7.81246321 L20,17.6979167 C20,17.8647473 19.8682515,18 19.7056558,18 L19.7056558,18 L4.29434418,18 C4.13174845,18 4,17.8647473 4,17.6979167 L4,17.6979167 L4,7.81246321 C4,7.64563269 4.13174845,7.51037994 4.29434418,7.51037994 L4.29434418,7.51037994 L4.99872941,7.51037994 L4.99872941,6.8263023 C4.99872941,6.67308566 5.11050171,6.54415652 5.25873344,6.52627319 L5.25873344,6.52627319 L9.34030602,6.03432052 C10.2557557,5.92391915 11.1718332,6.08104273 11.9999608,6.48873431 Z M4.99876866,8.11454648 L4.58868835,8.11454648 L4.58868835,17.3958335 L19.4113116,17.3958335 L19.4113116,8.11454648 L19.0011136,8.11454648 L19.0011136,16.4188559 C19.0011136,16.5051309 18.9652036,16.5872572 18.9023709,16.6445725 C18.8482116,16.6940336 18.7784717,16.7209392 18.7067694,16.7209392 C18.6953489,16.7209392 18.6838891,16.7202544 18.6724293,16.718885 L18.6724293,16.718885 L14.5908959,16.2269323 C13.7425175,16.1246671 12.8935504,16.2838045 12.1353983,16.6870655 C12.0504702,16.7322572 11.9494513,16.7322572 11.8645232,16.6870655 C11.1063318,16.2838045 10.2570508,16.1246671 9.40902557,16.2269323 L9.40902557,16.2269323 L5.32745299,16.718885 C5.24401623,16.7289544 5.16030474,16.7018878 5.09751132,16.6445725 C5.03467865,16.5872572 4.99876866,16.5051309 4.99876866,16.4188559 L4.99876866,16.4188559 L4.99876866,8.11454648 Z M14.5909352,6.63437873 C13.8015826,6.53924264 13.0113666,6.67074955 12.2943049,7.01452032 L12.2943049,7.01452032 L12.2943049,15.9488546 C13.0426063,15.6408908 13.8514249,15.5294825 14.6596155,15.6269144 L14.6596155,15.6269144 L18.4124645,16.0792337 L18.4124645,7.0949953 Z M11.7056558,7.01452032 C10.9886334,6.67074955 10.1983389,6.53920236 9.40902557,6.63437873 L9.40902557,6.63437873 L5.58745701,7.0949953 L5.58745701,16.0791935 L9.34034527,15.6268741 C9.53041311,15.6039963 9.72055945,15.5925977 9.90984238,15.5925977 C10.5256104,15.5925977 11.1332938,15.7133907 11.7056558,15.9489351 L11.7056558,15.9489351 Z M12.8179628,13.2954357 C13.418268,13.1280413 14.0360375,13.080876 14.6541996,13.1553093 L14.6541996,13.1553093 L17.7187541,13.5245759 C17.8801725,13.5440301 17.9956731,13.6941453 17.9767566,13.8598481 C17.9591745,14.0135883 17.8320178,14.1267286 17.6848064,14.1267286 C17.6733466,14.1267286 17.6617691,14.1260439 17.6500738,14.1246341 L17.6500738,14.1246341 L14.5855585,13.7553675 C14.0427486,13.690037 13.4998209,13.7314023 12.9722777,13.8784564 C12.8155688,13.9222383 12.6537188,13.8271828 12.6110978,13.6661523 C12.5684767,13.505162 12.6610578,13.3391773 12.8179628,13.2954357 Z M9.3348116,13.1553496 C9.95195322,13.0815205 10.5768655,13.1297732 11.1712838,13.295919 C11.3281496,13.3397412 11.4206914,13.5057662 11.3779526,13.6667564 C11.3352531,13.827787 11.1734031,13.9226814 11.0166157,13.8788592 C10.4945669,13.7329328 9.9450067,13.6906412 9.40325643,13.7554078 L9.40325643,13.7554078 L6.33901581,14.1246341 C6.32735978,14.1260439 6.315743,14.1267286 6.3042832,14.1267286 C6.15707186,14.1267286 6.02991518,14.0135883 6.01229378,13.8598481 C5.99333801,13.6941453 6.10887791,13.5440704 6.27029626,13.5246162 L6.27029626,13.5246162 Z M12.8179236,11.9098804 C13.4183465,11.7424457 14.036116,11.695361 14.6541603,11.7697541 L14.6541603,11.7697541 L17.7187149,12.1390207 C17.8801332,12.1584748 17.9956339,12.3085498 17.9767174,12.4742525 C17.9591352,12.6279928 17.8319785,12.741133 17.6847672,12.741133 L17.6847672,12.741133 L17.6500346,12.7390386 L14.5855192,12.369772 C14.0425524,12.3043609 13.4997032,12.3457664 12.9722384,12.4928609 C12.8155296,12.5366428 12.6536795,12.4415873 12.6110585,12.280597 C12.5684375,12.1196068 12.6610185,11.9536221 12.8179236,11.9098804 Z M9.3348116,11.7697541 C9.95183548,11.6959249 10.5769048,11.7441777 11.1712838,11.9103235 C11.3281496,11.9541457 11.4206914,12.1201707 11.3779526,12.2811609 C11.3352531,12.4421914 11.1734031,12.5370456 11.0166157,12.4932636 C10.4944884,12.347297 9.94484971,12.3050053 9.40325643,12.3698123 L9.40325643,12.3698123 L6.33901581,12.7390386 C6.32735978,12.7404483 6.315743,12.741133 6.3042832,12.741133 C6.15707186,12.741133 6.02991518,12.6279928 6.01229378,12.4742525 C5.99333801,12.3085498 6.10887791,12.1584748 6.27029626,12.1390207 L6.27029626,12.1390207 Z M12.8179236,10.5243251 C13.4183072,10.3569307 14.036116,10.3097655 14.6541603,10.3841988 L14.6541603,10.3841988 L17.7187149,10.7534654 C17.8801332,10.7729195 17.9956339,10.9229945 17.9767174,11.0886973 C17.9591352,11.2424375 17.8319785,11.3555778 17.6847672,11.3555778 C17.6733074,11.3555778 17.6617299,11.354893 17.6500346,11.3534833 L17.6500346,11.3534833 L14.5855192,10.9842167 C14.0426308,10.9188459 13.4997817,10.9602112 12.9722384,11.1073056 C12.8155296,11.1510472 12.6536795,11.056032 12.6110585,10.8950417 C12.5684375,10.7340515 12.6610185,10.5680668 12.8179236,10.5243251 Z M9.3348116,10.3841585 C9.95199246,10.3103696 10.5769048,10.3586224 11.1712838,10.5247682 C11.3281496,10.5685904 11.4206914,10.7346154 11.3779526,10.8956056 C11.3352531,11.0566362 11.1734031,11.1515306 11.0166157,11.1077084 C10.4945669,10.961782 9.94496745,10.9194903 9.40325643,10.984257 L9.40325643,10.984257 L6.33901581,11.3534833 C6.32735978,11.354893 6.315743,11.3555778 6.3042832,11.3555778 C6.15707186,11.3555778 6.02991518,11.2424375 6.01229378,11.088657 C5.99333801,10.9229542 6.10887791,10.7728793 6.27029626,10.7534251 L6.27029626,10.7534251 Z M12.8179236,9.13876988 C13.4183072,8.97133519 14.036116,8.9242102 14.6541603,8.99864352 L14.6541603,8.99864352 L17.7187149,9.36791011 C17.8801332,9.38736427 17.9956339,9.53743924 17.9767174,9.70314198 C17.9591352,9.85688223 17.8319785,9.97002249 17.6847672,9.97002249 C17.6733074,9.97002249 17.6617299,9.96933776 17.6500346,9.96792804 L17.6500346,9.96792804 L14.5855192,9.59866145 C14.0426308,9.53329063 13.4997817,9.5746559 12.9722384,9.72175031 C12.8155296,9.76549197 12.6536795,9.67043644 12.6110585,9.50948647 C12.5684375,9.34849622 12.6610185,9.18251154 12.8179236,9.13876988 Z M9.3348116,8.99860324 C9.95195322,8.92477409 10.5768655,8.97302686 11.1712838,9.13917266 C11.3281496,9.18299487 11.4206914,9.34901984 11.3779526,9.51001008 C11.3352531,9.6710406 11.1734031,9.76589475 11.0166157,9.72211281 C10.4945669,9.57618646 9.9450067,9.5338948 9.40325643,9.59866145 L9.40325643,9.59866145 L6.33901581,9.96788776 C6.32735978,9.96929749 6.315743,9.96998221 6.3042832,9.96998221 C6.15707186,9.96998221 6.02991518,9.85684195 6.01229378,9.70310171 C5.99333801,9.53739896 6.10887791,9.38732399 6.27029626,9.36786983 L6.27029626,9.36786983 Z M12.8179236,7.75317433 C13.418268,7.58573964 14.0360375,7.53857437 14.6541603,7.61304797 L14.6541603,7.61304797 L17.7187149,7.98231456 C17.8801332,8.00176872 17.9956339,8.15184369 17.9767174,8.31754644 C17.9591352,8.47128668 17.8319785,8.58442694 17.6847672,8.58442694 L17.6847672,8.58442694 L17.6500346,8.58233249 L14.5855192,8.2130659 C14.0427093,8.14769508 13.4997817,8.18906035 12.9722384,8.33615477 C12.8155296,8.37985615 12.6536795,8.28488117 12.6110585,8.12389092 C12.5684375,7.96290068 12.6610185,7.79691599 12.8179236,7.75317433 Z M9.3348116,7.61304797 C9.95222794,7.53921882 10.576944,7.58747159 11.1712838,7.75361739 C11.3281496,7.7974396 11.4206914,7.96346456 11.3779526,8.12445481 C11.3352531,8.28548533 11.1734031,8.38033948 11.0166157,8.33655754 C10.4946061,8.19063118 9.94535991,8.14829925 9.40325643,8.21310618 L9.40325643,8.21310618 L6.33901581,8.58233249 C6.32735978,8.58374222 6.315743,8.58442694 6.3042832,8.58442694 C6.15707186,8.58442694 6.02991518,8.47128668 6.01229378,8.31754644 C5.99333801,8.15184369 6.10887791,8.00176872 6.27029626,7.98231456 L6.27029626,7.98231456 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file",icon:["24","24",[],"","M6 4h7l6 5v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm6.586 1H6v14h12V9.414L12.586 5zM13 10h3.5a.5.5 0 1 1 0 1h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 1 1 1 0V10z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-pdf",icon:["24","24",[],"","M9.833 15.006c-.328.765-.657 1.316-.997 1.619-.35.312-.762.394-1.138.15a1.345 1.345 0 0 1-.358-.322c-.298-.402-.194-.843.165-1.2.228-.227.563-.433.983-.63.226-.106.466-.204.706-.292.142-.358.286-.762.43-1.205a41.787 41.787 0 0 0 .866-3.123c-.435-.563-.75-1.057-.924-1.473-.28-.67-.211-1.242.372-1.494.56-.24 1.047-.086 1.307.391.17.312.234.736.231 1.26a7.96 7.96 0 0 1-.086 1.088c.158.195.33.398.513.606a30.903 30.903 0 0 0 1.73 1.81 14.011 14.011 0 0 0 .863.761c.464-.07.87-.106 1.213-.105.947.002 1.554.319 1.415 1.079-.107.585-.514.888-1.06.834-.365-.036-.781-.224-1.259-.532a8.753 8.753 0 0 1-.538-.38 21.15 21.15 0 0 0-.944.191c-.39.087-.798.188-1.22.3a45.345 45.345 0 0 0-2.27.667zM6 4h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm0 1v14h12V5H6zm4.43 8.39c-.07.21-.138.412-.207.606l.055-.016a46.181 46.181 0 0 1 1.608-.459 33.869 33.869 0 0 1 1.538-.37 15.994 15.994 0 0 1-.378-.35 31.732 31.732 0 0 1-1.882-1.98l-.083.32a38.471 38.471 0 0 1-.652 2.248zm-2.157 2.603c.12-.107.248-.279.382-.51a2.35 2.35 0 0 0-.553.37c-.092.092-.09.086-.083.096a.54.54 0 0 0 .138.116c.017.01.025.01.116-.072zm7.434-2.3c-.047 0-.095 0-.146.002.242.132.443.209.585.223.11.011.118.005.146-.145.005-.027-.095-.079-.585-.08zm-5.36-5.49c.065.156.16.334.283.53v-.05c.003-.393-.044-.696-.128-.85-.046-.086-.063-.091-.23-.02-.04.018-.05.092.075.39z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-img",icon:["24","24",[],"","M5 6v12h14V6H5zm0-1h14a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm2.4 10.3a.5.5 0 0 1-.8-.6l3-4a.5.5 0 0 1 .754-.054l.579.58 1.765-2.513a.5.5 0 0 1 .83.015l3.891 6a.5.5 0 0 1-.838.544l-3.49-5.379-1.682 2.394a.5.5 0 0 1-.763.067l-.592-.593L7.4 15.3zm.6-4.8a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0-1a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-ppt",icon:["24","24",[],"","M6 4h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm0 1v14h12V5H6zm5.07 6.96h1.22c.18 0 .353-.013.52-.04a1.21 1.21 0 0 0 .44-.155.844.844 0 0 0 .305-.325c.077-.14.115-.323.115-.55 0-.227-.038-.41-.115-.55a.844.844 0 0 0-.305-.325 1.21 1.21 0 0 0-.44-.155 3.288 3.288 0 0 0-.52-.04h-1.22v2.14zM9.5 8.6h3.22c.447 0 .827.065 1.14.195.313.13.568.302.765.515.197.213.34.457.43.73a2.715 2.715 0 0 1 0 1.695c-.09.277-.233.522-.43.735a2.133 2.133 0 0 1-.765.515c-.313.13-.693.195-1.14.195h-1.65v2.56H9.5V8.6z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-word",icon:["24","24",[],"","M6 4h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm0 1v14h12V5H6zm8.77 10.74h-1.56L12 10.88h-.02l-1.19 4.86H9.2L7.31 8.6h1.57l1.13 4.86h.02l1.24-4.86h1.47l1.22 4.92h.02l1.17-4.92h1.54l-1.92 7.14z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-zip",icon:["24","24",[],"","M6 4h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm0 1v14h12V5H6zm5 0h1v1h-1V5zm1 1h1v1h-1V6zm-1 1h1v1h-1V7zm1 1h1v1h-1V8zm-1 1h1v1h-1V9zm1 1h1v1h-1v-1zm-1 1h1v1h-1v-1zm1 1h1v1h-1v-1zm-1 1h1v1h-1v-1zm1 1h1v1h-1v-1zm-1 1h1v1h-1v-1zm1 1h1v1h-1v-1zm-1 1h1v1h-1v-1zm1 1h1v1h-1v-1z"]}},function(t,e){t.exports={prefix:"cv",iconName:"file-excel",icon:["24","24",[],"","M6 4h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm0 1v14h12V5H6zm5.09 7l-2.3-3.4h1.82l1.4 2.28 1.45-2.28h1.72l-2.29 3.41 2.49 3.73h-1.87l-1.56-2.47-1.59 2.47H8.6L11.09 12z"]}},function(t,e){t.exports={prefix:"cv",iconName:"quality-240",icon:["24","24",[],"","M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm0 1v12h18V6H3zm1 4.818C4 9.644 4.94 8.8 6.261 8.8c1.272 0 2.182.777 2.182 1.81 0 .76-.45 1.334-1.285 2.178L5.58 14.347v.022h2.96v.932H4.062v-.769L6.407 12.2c.724-.737.923-1.064.923-1.54 0-.526-.473-.946-1.104-.946-.663 0-1.157.468-1.157 1.1v.017H4v-.013zm8.426 4.483v-1.206h-3.18v-.98c.553-1.043 1.264-2.178 2.646-4.187h1.62v4.235h.857v.932h-.856v1.206h-1.087zm-2.146-2.142v.03h2.164V9.773h-.018c-1.029 1.492-1.638 2.433-2.146 3.387zm7.234 2.27c-1.564 0-2.496-1.277-2.496-3.321 0-2.036.941-3.308 2.496-3.308 1.55 0 2.486 1.263 2.486 3.303s-.927 3.326-2.486 3.326zm0-.932c.843 0 1.333-.888 1.333-2.39 0-1.488-.499-2.375-1.333-2.375-.84 0-1.347.896-1.347 2.371 0 1.502.499 2.394 1.347 2.394z"]}},function(t,e){t.exports={prefix:"cv",iconName:"quality-480",icon:["24","24",[],"","M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm0 1v12h18V6H3zm3.964 9.269v-1.2H3.8v-.976c.55-1.037 1.257-2.166 2.632-4.166h1.613v4.215h.853v.927h-.853v1.2h-1.08zm-2.136-2.132v.031h2.154V9.767h-.018c-1.024 1.485-1.63 2.421-2.136 3.37zm7.185 2.26c-1.467 0-2.47-.761-2.47-1.842 0-.822.58-1.468 1.442-1.63v-.022c-.72-.185-1.19-.743-1.19-1.433 0-.962.926-1.67 2.218-1.67 1.297 0 2.215.703 2.215 1.674 0 .681-.466 1.235-1.186 1.429v.022c.861.167 1.446.813 1.446 1.63 0 1.085-1.016 1.841-2.475 1.841zm0-.867c.76 0 1.297-.448 1.297-1.059 0-.62-.536-1.063-1.297-1.063-.76 0-1.296.448-1.296 1.063 0 .611.536 1.06 1.296 1.06zm0-2.988c.638 0 1.095-.395 1.095-.94 0-.55-.453-.945-1.095-.945-.646 0-1.098.395-1.098.945 0 .545.452.94 1.098.94zm5.709 3.854c-1.556 0-2.483-1.27-2.483-3.304 0-2.026.936-3.292 2.483-3.292 1.542 0 2.474 1.257 2.474 3.287 0 2.03-.923 3.31-2.474 3.31zm0-.927c.84 0 1.327-.883 1.327-2.377 0-1.481-.497-2.365-1.327-2.365-.835 0-1.34.892-1.34 2.36 0 1.494.496 2.382 1.34 2.382z"]}},function(t,e){t.exports={prefix:"cv",iconName:"quality-hd",icon:["24","24",[],"","M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm0 1v12h18V6H3zm2 2.25h1.31v2.976h3.406V8.25h1.31v7.482h-1.31v-3.374H6.31v3.374H5V8.25zm7.597 0H15.7c.573 0 1.069.098 1.488.293.42.196.762.463 1.027.802.266.339.463.735.592 1.19.13.454.194.939.194 1.456a5.3 5.3 0 0 1-.194 1.457 3.43 3.43 0 0 1-.592 1.189 2.765 2.765 0 0 1-1.027.802c-.419.195-.915.293-1.488.293h-3.102V8.25zm1.31 6.413h1.29c.51 0 .927-.068 1.251-.204.325-.136.58-.325.765-.566.185-.241.311-.524.378-.849.066-.325.1-.676.1-1.053 0-.377-.034-.728-.1-1.053a2.043 2.043 0 0 0-.378-.849 1.832 1.832 0 0 0-.765-.566c-.324-.136-.742-.204-1.252-.204h-1.289v5.344z"]}},function(t,e){t.exports={prefix:"cv",iconName:"close-caption",icon:["24","24",[],"","M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm0 1v12h18V6H3zm5.486 9.759c-1.002 0-1.834-.372-2.495-1.114-.66-.743-.991-1.68-.991-2.81 0-1.208.327-2.149.981-2.823C6.635 8.337 7.548 8 8.719 8c.579 0 1.226.08 1.941.24v1.127c-.76-.223-1.38-.335-1.86-.335-.687 0-1.24.259-1.657.776-.417.517-.625 1.207-.625 2.068 0 .834.214 1.508.642 2.023.429.515.99.773 1.682.773.615 0 1.248-.157 1.9-.472v1.162c-.87.265-1.622.397-2.256.397zm7 0c-1.002 0-1.834-.372-2.495-1.114-.66-.743-.991-1.68-.991-2.81 0-1.208.327-2.149.981-2.823C13.635 8.337 14.548 8 15.719 8c.579 0 1.226.08 1.941.24v1.127c-.76-.223-1.38-.335-1.86-.335-.687 0-1.24.259-1.657.776-.417.517-.625 1.207-.625 2.068 0 .834.214 1.508.642 2.023.429.515.99.773 1.682.773.615 0 1.248-.157 1.9-.472v1.162c-.87.265-1.622.397-2.256.397z"]}},function(t,e){t.exports={prefix:"cv",iconName:"contract",icon:["24","24",[],"","M8.5 8.5V5H10v5H5V8.5h3.5zm0 7H5V14h5v5H8.5v-3.5zm7-7H19V10h-5V5h1.5v3.5zm0 7V19H14v-5h5v1.5h-3.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"full-screen",icon:["24","24",[],"","M6.5 6.5V10H5V5h5v1.5H6.5zm0 11H10V19H5v-5h1.5v3.5zm11-11H14V5h5v5h-1.5V6.5zm0 11V14H19v5h-5v-1.5h3.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"mute",icon:["24","24",[],"","M16.733 12.018l-1.57-1.57a.555.555 0 1 1 .785-.785l1.57 1.57 1.57-1.57a.555.555 0 1 1 .785.785l-1.57 1.57 1.57 1.57a.555.555 0 1 1-.785.785l-1.57-1.57-1.57 1.57a.555.555 0 1 1-.785-.785l1.57-1.57zM4 10.03c0-.557.443-1.01 1.01-1.01H8l4.284-4.246c.395-.393.716-.253.716.282v13.879c0 .548-.324.682-.721.303L7.814 14.97H5.002A1.003 1.003 0 0 1 4 13.96v-3.93z"]}},function(t,e){t.exports={prefix:"cv",iconName:"next",icon:["24","24",[],"","M16 6.5c0-.276.216-.5.495-.5h2.01c.273 0 .495.229.495.5v11c0 .276-.216.5-.495.5h-2.01a.501.501 0 0 1-.495-.5v-11zm-10.86.005a.5.5 0 0 1 .761-.427l9.003 5.5a.5.5 0 0 1 0 .853l-9.003 5.5a.5.5 0 0 1-.76-.426v-11z"]}},function(t,e){t.exports={prefix:"cv",iconName:"play",icon:["24","24",[],"","M7.5 6.505v11l9.002-5.5-9.002-5.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"play-circle",icon:["24","24",[],"","M0,12 C0,5.372583 5.372583,0 12,0 C18.627417,0 24,5.372583 24,12 C24,18.627417 18.627417,24 12,24 C5.372583,24 0,18.627417 0,12 Z M23,12 C23,5.92486775 18.0751322,1 12,1 C5.92486775,1 1,5.92486775 1,12 C1,18.0751322 5.92486775,23 12,23 C18.0751322,23 23,18.0751322 23,12 Z M9,7.49836245 C9,6.94698209 9.38671875,6.74169922 9.84669815,7.02918634 L17.1533018,11.5958137 C17.6209203,11.8880752 17.6132812,12.3666992 17.1533018,12.6541863 L9.84669815,17.2208137 C9.37907967,17.5130752 9,17.2950531 9,16.7516375 L9,7.49836245 Z"]}},function(t,e){t.exports={prefix:"cv",iconName:"pause",icon:["24","24",[],"","M8 6.5c0-.276.216-.5.495-.5h2.01c.273 0 .495.229.495.5v11c0 .276-.216.5-.495.5h-2.01A.501.501 0 0 1 8 17.5v-11zm6 0c0-.276.216-.5.495-.5h2.01c.273 0 .495.229.495.5v11c0 .276-.216.5-.495.5h-2.01a.501.501 0 0 1-.495-.5v-11z"]}},function(t,e){t.exports={prefix:"cv",iconName:"previous",icon:["24","24",[],"","M5 6.5c0-.276.216-.5.495-.5h2.01c.273 0 .495.229.495.5v11c0 .276-.216.5-.495.5h-2.01A.501.501 0 0 1 5 17.5v-11zm13.602.005v11a.5.5 0 0 1-.76.426l-9.003-5.5a.5.5 0 0 1 0-.853l9.002-5.5a.5.5 0 0 1 .761.427z"]}},function(t,e){t.exports={prefix:"cv",iconName:"volume",icon:["24","24",[],"","M15.8 11.25c-.137-.815-.44-1.549-.727-2.009a.48.48 0 0 1 .167-.67.507.507 0 0 1 .687.163c.35.56.7 1.41.86 2.359.24 1.439.001 2.866-.866 4.183a.508.508 0 0 1-.691.147.48.48 0 0 1-.15-.674c.724-1.1.922-2.285.72-3.5zm1.86 5.959c1.856-3.7 1.676-7.108 0-10.416a.558.558 0 0 1 .201-.728.483.483 0 0 1 .678.215c1.828 3.61 2.028 7.398.001 11.438a.483.483 0 0 1-.677.218.557.557 0 0 1-.203-.727zM4 10.03c0-.557.443-1.01 1.01-1.01H8l4.284-4.246c.395-.393.716-.253.716.282v13.879c0 .548-.324.682-.721.303L7.814 14.97H5.002A1.003 1.003 0 0 1 4 13.96v-3.93z"]}},function(t,e){t.exports={prefix:"cv",iconName:"check-circle",icon:["24","24",[],"","M12 3c4.972 0 9 4.028 9 9s-4.028 9-9 9-9-4.028-9-9 4.028-9 9-9zm3.186 5.646l-4.723 5.18-1.683-1.615a.772.772 0 0 0-1.06 0 .7.7 0 0 0 0 1.018l2.25 2.16a.771.771 0 0 0 1.094-.035l5.25-5.76a.7.7 0 0 0-.07-1.016.772.772 0 0 0-1.058.068z"]}},function(t,e){t.exports={prefix:"cv",iconName:"check-circle-o",icon:["24","24",[],"","M12 3c4.972 0 9 4.028 9 9s-4.028 9-9 9-9-4.028-9-9 4.028-9 9-9zm0 1.212a7.737 7.737 0 0 0-5.508 2.28A7.737 7.737 0 0 0 4.212 12c0 2.081.809 4.037 2.28 5.508A7.737 7.737 0 0 0 12 19.788a7.737 7.737 0 0 0 5.508-2.28A7.737 7.737 0 0 0 19.788 12a7.737 7.737 0 0 0-2.28-5.508A7.737 7.737 0 0 0 12 4.212zm3.186 4.434a.772.772 0 0 1 1.058-.068.7.7 0 0 1 .07 1.016l-5.25 5.76a.771.771 0 0 1-1.094.035l-2.25-2.16a.7.7 0 0 1 0-1.018.772.772 0 0 1 1.06 0l1.683 1.616 4.723-5.181z"]}},function(t,e){t.exports={prefix:"cv",iconName:"check",icon:["24","24",[],"","M16.247 7.341a1 1 0 0 1 1.506 1.318l-7 8a1 1 0 0 1-1.46.048l-3-3a1 1 0 0 1 1.414-1.414l2.244 2.244 6.296-7.196z"]}},function(t,e){t.exports={prefix:"cv",iconName:"close-caption-badge",icon:["24","24",[],"","M7.5 5A2.5 2.5 0 0 0 5 7.5v9A2.5 2.5 0 0 0 7.5 19h9a2.5 2.5 0 0 0 2.5-2.5v-9A2.5 2.5 0 0 0 16.5 5h-9zm0-1h9A3.5 3.5 0 0 1 20 7.5v9a3.5 3.5 0 0 1-3.5 3.5h-9A3.5 3.5 0 0 1 4 16.5v-9A3.5 3.5 0 0 1 7.5 4zM11 9a.5.5 0 1 1 0 1H9.5A1.5 1.5 0 0 0 8 11.5v1A1.5 1.5 0 0 0 9.5 14H11a.5.5 0 1 1 0 1H9.5A2.5 2.5 0 0 1 7 12.5v-1A2.5 2.5 0 0 1 9.5 9H11zm5 0a.5.5 0 1 1 0 1h-1.5a1.5 1.5 0 0 0-1.5 1.5v1a1.5 1.5 0 0 0 1.5 1.5H16a.5.5 0 1 1 0 1h-1.5a2.5 2.5 0 0 1-2.5-2.5v-1A2.5 2.5 0 0 1 14.5 9H16z"]}},function(t,e){t.exports={prefix:"cv",iconName:"question",icon:["24","24",[],"","M21 11.88c.026 2.49-.824 4.62-2.552 6.387-1.727 1.768-3.837 2.679-6.327 2.732-2.491.027-4.62-.823-6.388-2.55C3.965 16.72 3.054 14.61 3 12.12c-.027-2.491.823-4.62 2.55-6.388C7.28 3.965 9.39 3.054 11.88 3c2.491-.027 4.62.823 6.388 2.55 1.767 1.73 2.678 3.84 2.732 6.33zM8.142 9.17c0 .247.103.476.309.687.206.212.46.318.76.318.508 0 .854-.303 1.036-.908.193-.579.428-1.017.707-1.314.278-.297.712-.446 1.302-.446.503 0 .914.147 1.233.442.319.294.478.656.478 1.085 0 .22-.052.423-.157.61a2.305 2.305 0 0 1-.385.51c-.153.153-.4.38-.744.68-.39.342-.701.638-.932.887-.23.25-.415.539-.554.868-.14.33-.209.72-.209 1.17 0 .358.095.629.285.81.19.183.425.274.703.274.536 0 .855-.279.956-.836a12.2 12.2 0 0 1 .133-.55c.03-.104.071-.209.125-.313.053-.105.135-.22.245-.346.11-.126.255-.272.438-.438a48.078 48.078 0 0 0 1.37-1.257c.254-.25.474-.545.658-.888.185-.343.278-.742.278-1.197a2.87 2.87 0 0 0-.486-1.608c-.325-.492-.784-.882-1.378-1.169-.595-.286-1.28-.43-2.057-.43-.836 0-1.567.172-2.194.515s-1.104.775-1.43 1.297c-.327.523-.49 1.038-.49 1.547zm3.868 9.579c.294 0 .553-.1.778-.301.224-.2.336-.477.336-.828 0-.316-.107-.582-.321-.797a1.073 1.073 0 0 0-.793-.324c-.319 0-.588.108-.807.324a1.07 1.07 0 0 0-.329.797c0 .356.113.634.34.832.227.198.492.297.796.297z"]}},function(t,e){t.exports={prefix:"cv",iconName:"info",icon:["24","24",[],"","M21 11.88c.026 2.49-.824 4.62-2.552 6.387-1.727 1.768-3.837 2.679-6.327 2.732-2.491.027-4.62-.823-6.388-2.55C3.965 16.72 3.054 14.61 3 12.12c-.027-2.491.823-4.62 2.55-6.388C7.28 3.965 9.39 3.054 11.88 3c2.491-.027 4.62.823 6.388 2.55 1.767 1.73 2.678 3.84 2.732 6.33zm-10-.38V15a2.5 2.5 0 0 0 2.5 2.5h.75a1 1 0 0 0 0-2h-.75a.5.5 0 0 1-.5-.5v-3.75a1.75 1.75 0 0 0-1.75-1.75h-.75a1 1 0 1 0 0 2h.5zm.636-3.25c.294 0 .553-.1.778-.301.224-.2.336-.477.336-.828 0-.316-.107-.582-.321-.797A1.073 1.073 0 0 0 11.636 6c-.319 0-.588.108-.807.324a1.07 1.07 0 0 0-.329.797c0 .356.113.634.34.832.227.198.492.297.796.297z"]}},function(t,e){t.exports={prefix:"cv",iconName:"lock",icon:["24","24",[],"","M7.01 9.5C7.156 5.97 8.87 4 12 4s4.844 1.97 4.99 5.5h1.51a.5.5 0 0 1 .5.5v9.5a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5V10a.5.5 0 0 1 .5-.5h1.51zm2 0h5.98C14.88 7.037 13.932 6 12 6c-1.933 0-2.88 1.037-2.99 3.5z"]}},function(t,e){t.exports={prefix:"cv",iconName:"verified",icon:["24","24",[],"","M10.407 12.368l-1.22-1.22a.49.49 0 0 0-.698.004l-.583.583a.494.494 0 0 0-.004.697l2.135 2.135c.107.108.25.154.388.142a.488.488 0 0 0 .352-.143l4.362-4.362a.494.494 0 0 0-.004-.698l-.582-.582a.495.495 0 0 0-.698-.004l-3.448 3.448zm7.922-.37l1.437 1.406c.208.194.277.437.208.728a.716.716 0 0 1-.541.531l-1.957.5.551 1.936a.671.671 0 0 1-.197.729.671.671 0 0 1-.73.198l-1.935-.552-.5 1.957a.716.716 0 0 1-.53.541 1.28 1.28 0 0 1-.199.021.686.686 0 0 1-.53-.229L12 18.328l-1.405 1.436c-.195.208-.437.278-.729.208a.696.696 0 0 1-.53-.541l-.5-1.957-1.937.552a.671.671 0 0 1-.728-.198.671.671 0 0 1-.198-.729l.551-1.936-1.957-.5a.716.716 0 0 1-.54-.53c-.07-.292 0-.535.207-.73l1.437-1.405-1.437-1.405c-.208-.194-.277-.437-.208-.729a.716.716 0 0 1 .541-.53l1.957-.5-.551-1.936a.671.671 0 0 1 .198-.73.671.671 0 0 1 .728-.197l1.936.552.5-1.957a.675.675 0 0 1 .531-.531.671.671 0 0 1 .729.198L12 5.68l1.405-1.447a.697.697 0 0 1 .73-.198c.284.07.46.246.53.53l.5 1.958L17.1 5.97a.671.671 0 0 1 .729.198.671.671 0 0 1 .197.729l-.551 1.936 1.957.5a.715.715 0 0 1 .541.53c.07.292 0 .535-.208.73l-1.437 1.404z"]}},function(t,e){t.exports={prefix:"cv",iconName:"visible-off",icon:["24","24",[],"","M15.293 6.609l-.793.79A8.794 8.794 0 0 0 11.997 7C8.006 6.978 4 10.17 4 12c0 .925 1.062 2.216 2.63 3.254l-.715.714C4.174 14.76 3 13.228 3 12c0-2.44 4.5-6.025 9.003-6 1.119.006 2.239.234 3.29.609zm2.802 1.442C19.833 9.26 21 10.786 21 12c0 2.45-4.504 6-9 6-1.112 0-2.23-.223-3.279-.595l.794-.792A8.659 8.659 0 0 0 12 17c3.989 0 8-3.161 8-5 0-.911-1.055-2.196-2.62-3.235l.715-.714zm-7.65 7.635l.787-.785A3.005 3.005 0 0 0 15 12c0-.264-.034-.52-.098-.763l.787-.785a4 4 0 0 1-5.245 5.235zM8.318 13.57a4 4 0 0 1 5.257-5.246l-.785.782a3.003 3.003 0 0 0-3.687 3.68l-.785.784zm-3.466 6.285a.5.5 0 1 1-.706-.708l15-14.971a.5.5 0 1 1 .706.708l-15 14.97z"]}},function(t,e){t.exports={prefix:"cv",iconName:"visible-on",icon:["24","24",[],"","M3 12c0-2.44 4.5-6.025 9.003-6C16.494 6.025 21 9.614 21 12c0 2.45-4.504 6-9 6-4.466 0-9-3.586-9-6zm1 0c0 1.804 4.042 5 8 5 3.989 0 8-3.161 8-5 0-1.778-4.017-4.977-8.003-5C8.006 6.978 4 10.17 4 12zm8 4a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"]}},function(t,e){t.exports={prefix:"cv",iconName:"warning-o",icon:["24","24",[],"","M13.026 4.377l8.5 14A1.2 1.2 0 0 1 20.5 20.2h-17a1.2 1.2 0 0 1-1.026-1.823l8.5-14a1.2 1.2 0 0 1 2.052 0zM12 5L3.5 19h17L12 5zm0 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm.75-3.677a.689.689 0 0 1-.7.677.689.689 0 0 1-.7-.677V8.677c0-.374.313-.677.7-.677.387 0 .7.303.7.677v5.646z"]}},function(t,e){t.exports={prefix:"cv",iconName:"warning",icon:["24","24",[],"","M13.026 4.377l8.5 14A1.2 1.2 0 0 1 20.5 20.2h-17a1.2 1.2 0 0 1-1.026-1.823l8.5-14a1.2 1.2 0 0 1 2.052 0zM12 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm.75-3.677V8.677a.689.689 0 0 0-.7-.677c-.387 0-.7.303-.7.677v5.646c0 .374.313.677.7.677.387 0 .7-.303.7-.677z"]}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.SmartPhase1=1]="SmartPhase1",t[t.MigrateAllPhase1=2]="MigrateAllPhase1",t[t.Phase2=3]="Phase2",t[t.PostFinalisation=4]="PostFinalisation"}(r||(r={}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return s}));var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,t);var e=a(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(n(2).a.Collection)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={isCollectionEmpty:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"collection";return t[e]&&!t[e].length}}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Notification="notification"}(r||(r={}))},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return'<div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.icon:i,e))+' partial-loading-background"></div><div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.contentContainer:i,e))+'">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.content:i,e))+' partial-loading-background ml-1 mt-1"></div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.notificationTime:i,e))+' partial-loading-background ml-1 mt-1"></div>\r\n</div>'},useData:!0})},function(t,e,n){t.exports={icon:"_1FlbK",contentContainer:"_1RJPc",content:"_4fHKQ",notificationTime:"_3hBwJ"}},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,u=t.escapeExpression;return'<div class="p-2"><a href="'+u("function"==typeof(i=null!=(i=n.url||(null!=e?e.url:e))?i:c)?i.call(a,{name:"url",hash:{},data:o}):i)+'">'+u("function"==typeof(i=null!=(i=n.name||(null!=e?e.name:e))?i:c)?i.call(a,{name:"name",hash:{},data:o}):i)+" - "+u("function"==typeof(i=null!=(i=n.libraryName||(null!=e?e.libraryName:e))?i:c)?i.call(a,{name:"libraryName",hash:{},data:o}):i)+"</a></div>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,u=t.escapeExpression;return'<div class="direct-search-suggestion p-2"><span class="ignore-highlighting">'+u("function"==typeof(i=null!=(i=n.templateText||(null!=e?e.templateText:e))?i:c)?i.call(a,{name:"templateText",hash:{},data:o}):i)+'</span>\r\n <span class="query-text">'+u("function"==typeof(i=null!=(i=n.query||(null!=e?e.query:e))?i:c)?i.call(a,{name:"query",hash:{},data:o}):i)+"</span>\r\n</div>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="tt-pending p-2">\r\n <div class="partial-text">'+t.escapeExpression("function"==typeof(i=null!=(i=n.templateText||(null!=e?e.templateText:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"templateText",hash:{},data:o}):i)+"</div>\r\n</div>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="tt-not-found"></div>'},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="suggestion-seperator border-bottom"></div>\r\n'},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="suggestion-header text-uppercase font-weight-bold px-2 pt-2 pb-1">'+t.escapeExpression("function"==typeof(i=null!=(i=n.dataset||(null!=e?e.dataset:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"dataset",hash:{},data:o}):i)+"</div>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="suggestion-header text-uppercase font-weight-bold p-2">'+t.escapeExpression("function"==typeof(i=null!=(i=n.templateText||(null!=e?e.templateText:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"templateText",hash:{},data:o}):i)+"</div>"},useData:!0})},function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<div class="no-libraries-suggestion p-2">\r\n <div class="ignore-highlighting">'+t.escapeExpression("function"==typeof(i=null!=(i=n.templateText||(null!=e?e.templateText:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"templateText",hash:{},data:o}):i)+"</div>\r\n</div>"},useData:!0})},function(t,e,n){"use strict";(function(t){
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|