@clickview/library-editor 1.11.1-rc.0 → 1.11.1-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles.json +2 -2
- package/dist/css/{library-editor-app-2206a274a7.css → library-editor-app-6371e9ebda.css} +1 -1
- package/dist/languages/en.json +1 -1
- package/dist/scripts/5747-1affd96c14.chunk.js +1 -0
- package/dist/scripts/bundle-220ec7fcae.min.js +2 -0
- package/package.json +2 -2
- package/dist/scripts/5747-7775fd8e3c.chunk.js +0 -1
- package/dist/scripts/bundle-017d0f8778.min.js +0 -2
- /package/dist/scripts/{bundle-017d0f8778.min.js.LICENSE.txt → bundle-220ec7fcae.min.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see bundle-017d0f8778.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("Backbone"),require("Bloodhound"),require("CVEvents"),require("ClipboardJS"),require("DOMPurify"),require("FontAwesome"),require("Handlebars"),require("Marionette"),require("Polyglot"),require("React"),require("ReactBootstrap"),require("ReactDOM"),require("ReactIntersectionObserver"),require("ReactRedux"),require("Redux"),require("_"),require("moment")):"function"==typeof define&&define.amd?define(["Backbone","Bloodhound","CVEvents","ClipboardJS","DOMPurify","FontAwesome","Handlebars","Marionette","Polyglot","React","ReactBootstrap","ReactDOM","ReactIntersectionObserver","ReactRedux","Redux","_","moment"],t):"object"==typeof exports?exports["@clickview/library-editor"]=t(require("Backbone"),require("Bloodhound"),require("CVEvents"),require("ClipboardJS"),require("DOMPurify"),require("FontAwesome"),require("Handlebars"),require("Marionette"),require("Polyglot"),require("React"),require("ReactBootstrap"),require("ReactDOM"),require("ReactIntersectionObserver"),require("ReactRedux"),require("Redux"),require("_"),require("moment")):e["@clickview/library-editor"]=t(e.Backbone,e.Bloodhound,e.CVEvents,e.ClipboardJS,e.DOMPurify,e.FontAwesome,e.Handlebars,e.Marionette,e.Polyglot,e.React,e.ReactBootstrap,e.ReactDOM,e.ReactIntersectionObserver,e.ReactRedux,e.Redux,e._,e.moment)}(self,(function(e,t,n,r,o,i,a,c,u,s,l,f,p,y,d,h,b){return function(){var v,m,g,w,O={56448:function(e){e.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"]}},21693:function(e){e.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"]}},37157:function(e){e.exports={prefix:"cv",iconName:"create-interactive",icon:["24","24",[],"","m10.928 4c0.68406 0 1.2406 0.54944 1.2406 1.2248v2.8958c0 0.67534-0.55653 1.2248-1.2406 1.2248h-0.11278v0.41725c0.12769-0.0395 0.26351-0.060813 0.40418-0.060813 0.44694 0 0.84403 0.21494 1.0907 0.54566 0.19707-0.11066 0.42485-0.17391 0.66728-0.17391 0.46945 0 0.88386 0.2371 1.1268 0.59644 0.18856-0.09853 0.40336-0.15434 0.63117-0.15434 0.74648 0 1.3539 0.59956 1.3539 1.3365l-5.06e-4 3.1673c-2.22e-4 1.6997-0.50031 3.3489-1.4461 4.7693-0.08781 0.13184-0.23689 0.21125-0.39674 0.21125h-5.3403c-0.12142 0-0.23822-0.04591-0.32641-0.12831-0.00548-0.0051-0.020094-0.01889-0.042597-0.04091l-0.08995-0.09032c-0.42608-0.4377-1.7321-1.9095-2.0353-3.7832l-0.62395-2.6363c-0.087014-0.36766-0.010315-0.73613 0.21049-1.0109 0.21021-0.26159 0.53383-0.41697 0.89443-0.43125 0.33537-0.06376 0.67738-0.0015 0.96903 0.17738 0.090528 0.0555 0.17299 0.12028 0.24639 0.19297v-2.9038h-0.11278c-0.68406 0-1.2406-0.54944-1.2406-1.2248v-2.8958c0-0.67534 0.55653-1.2248 1.2406-1.2248zm-1.4666 3.4382c-0.22287 0-0.40421 0.17903-0.40421 0.39906v7.4499c0 0.13447-0.058463 0.26247-0.16058 0.35144-0.10211 0.08897-0.23797 0.13038-0.37316 0.11369l-0.038047-0.0047c-0.1972-0.024332-0.35816-0.16739-0.40339-0.35846l-0.54156-2.2883c-0.024563-0.10379-0.088566-0.19191-0.1803-0.24816-0.091731-0.05625-0.20217-0.06329-0.30989-0.05684-0.0427 0.0026-0.061851 8e-3 -0.10803 0.01231-0.091763 0.0086-0.16042 0.03472-0.20056 0.08468-0.040137 0.04997-0.050677 0.12628-0.029723 0.21491l0.62787 2.6529 0.00677 0.03432c0.2481 1.5682 1.3758 2.8658 1.7584 3.2676h4.8799c0.75569-1.218 1.154-2.6105 1.1542-4.0432l5.07e-4 -3.1673c0-0.21994-0.18134-0.39897-0.40421-0.39897s-0.40421 0.17903-0.40421 0.39906v0.76147c0 0.25888-0.21258 0.46875-0.4748 0.46875-0.26222 0-0.4748-0.20988-0.4748-0.46875v-1.2035c0-0.22003-0.18131-0.39906-0.40418-0.39906s-0.40421 0.17903-0.40421 0.39906v0.87619c0 0.25888-0.21258 0.46875-0.4748 0.46875s-0.4748-0.20987-0.4748-0.46875v-1.2479c0-0.22003-0.18134-0.39903-0.40421-0.39903s-0.40418 0.179-0.40418 0.39903v1.1946c0 0.25888-0.21258 0.46875-0.4748 0.46875s-0.4748-0.20987-0.4748-0.46875v-4.3956c0-0.22003-0.18134-0.39906-0.40421-0.39906zm7.5461-3.4382c0.68412 0 1.2406 0.54944 1.2406 1.2248v2.8958c0 0.67535-0.55653 1.2248-1.2406 1.2248h-2.9331c-0.68406 0-1.2406-0.54944-1.2406-1.2248v-2.8958c0-0.67534 0.55653-1.2248 1.2406-1.2248zm3.1e-5 0.9375h-2.9331c-0.16045 0-0.29099 0.12888-0.29099 0.28728v2.8958c0 0.15841 0.13054 0.28728 0.29099 0.28728h2.9331c0.16045 0 0.29102-0.12888 0.29102-0.28728v-2.8958c0-0.15841-0.13057-0.28728-0.29102-0.28728zm-6.0795 0h-2.9331c-0.16045 0-0.29099 0.12888-0.29099 0.28728v2.8958c0 0.15841 0.13054 0.28728 0.29093 0.28728h0.11278v-0.57063c0-0.73697 0.60733-1.3366 1.3538-1.3366 0.74648 0 1.3538 0.5996 1.3538 1.3366v0.57063h0.11278c0.16045 0 0.29099-0.12888 0.29099-0.28728v-2.8958c0-0.15841-0.13054-0.28728-0.29099-0.28728z"]}},60955:function(e){e.exports={prefix:"cv",iconName:"delete",icon:["24","24",[],"","m12.001 4c1.7949 0 2.8518 0.54023 2.8518 1.7366h4.5643c0.3151 0 0.57054 0.25544 0.57054 0.57053 0 0.28009-0.20183 0.51303-0.46798 0.56134l-0.10256 0.00919-1.1456-0.00106-1e-3 0.065373-1.4239 12.552c-0.02907 0.25632-0.22508 0.45694-0.4721 0.49836l-0.0948 0.0079h-8.559c-0.258 0-0.47944-0.17217-0.54842-0.41299l-0.018492-0.09332-1.4221-12.552-0.00171-0.06529-1.1468 0.00106c-0.3151 0-0.57053-0.25544-0.57053-0.57053 0-0.28009 0.20183-0.51303 0.46798-0.56134l0.10255-0.00919 4.6042-0.00106 0.00182-0.13391c0.051899-1.1011 1.0895-1.6017 2.8118-1.6017zm5.1282 2.8766h-10.257l1.3579 11.982h7.539zm-5.1282 2.8537c0.28009 0 0.51303 0.20183 0.56134 0.46798l0.0092 0.10255v5.7053c0 0.3151-0.25544 0.57054-0.57053 0.57054-0.28009 0-0.51304-0.20183-0.56134-0.46798l-0.0092-0.10256v-5.7053c0-0.3151 0.25544-0.57053 0.57054-0.57053zm-2.3064 0.40879 0.020061 0.10099 0.61104 5.7053c0.03355 0.3133-0.19323 0.59449-0.50653 0.62805-0.27849 0.02983-0.53161-0.14605-0.60799-0.40554l-0.020061-0.101-0.61104-5.7053c-0.033555-0.3133 0.19323-0.59449 0.50653-0.62804 0.27849-0.029827 0.53161 0.14605 0.60799 0.40554zm5.1119-0.40701 0.10296 0.00106c0.2787 0.02787 0.4904 0.25187 0.51199 0.52151l-0.0011 0.10296-0.57053 5.7053c-0.03131 0.31353-0.3109 0.54228-0.62443 0.51093-0.2787-0.02788-0.49041-0.25187-0.51199-0.52152l0.0011-0.10296 0.57054-5.7053c0.02787-0.2787 0.25187-0.49041 0.52151-0.51199zm-2.8056-4.5911c-1.1634 0-1.6253 0.20239-1.6691 0.51309l-0.0032 0.063557-0.0014 0.017846 3.3844 0.00106c0-0.3584-0.46396-0.59556-1.7107-0.59556z"]}},34736:function(e){e.exports={prefix:"cv",iconName:"down",icon:["24","24",[],"","M8 10l8 .014L12 14z"]}},56823:function(e){e.exports={prefix:"cv",iconName:"download",icon:["24","24",[],"","M19.25,18.5 C19.6642136,18.5 20,18.8357864 20,19.25 C20,19.6642136 19.6642136,20 19.25,20 L4.75,20 C4.33578644,20 4,19.6642136 4,19.25 C4,18.8357864 4.33578644,18.5 4.75,18.5 L19.25,18.5 Z M11.9677859,4.21826797 C12.3992584,4.21826797 12.7490359,4.5430614 12.7490359,4.9437144 L12.7490359,4.9437144 L12.7490359,13.5142734 L16.045315,10.5607553 C16.3660195,10.273399 16.8699838,10.273399 17.1992786,10.5684524 L17.1992786,10.5684524 L17.2256404,10.593254 C17.5168244,10.8809023 17.5050219,11.3361683 17.1992786,11.610119 L17.1992786,11.610119 L12.5404726,15.7844828 C12.2197681,16.0718391 11.7158038,16.0718391 11.3950993,15.7844828 L11.3950993,15.7844828 L6.73629327,11.610119 C6.72729303,11.6020547 6.71850316,11.593785 6.7099315,11.5853175 C6.41874747,11.2976692 6.43055003,10.8424031 6.74488357,10.5607553 C7.0655881,10.273399 7.56955237,10.273399 7.8902569,10.5607553 L7.8902569,10.5607553 L11.1865359,13.5142734 L11.1865359,4.9437144 C11.1865359,4.5430614 11.5363135,4.21826797 11.9677859,4.21826797 Z"]}},86343:function(e){e.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"]}},37016:function(e){e.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"]}},91856:function(e){e.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"]}},6041:function(e){e.exports={prefix:"cv",iconName:"fishbone",icon:["24","24",[],"","M7.44048 7.58184C8.32411 7.46639 9 8.18407 9 9V12H10V9C10 8.72386 10.2239 8.5 10.5 8.5C10.7761 8.5 11 8.72386 11 9V12H12.5V10C12.5 9.72386 12.7239 9.5 13 9.5C13.2761 9.5 13.5 9.72386 13.5 10V12H15V10C15 9.72386 15.2239 9.5 15.5 9.5C15.7761 9.5 16 9.72386 16 10V12H17.0162C17.1027 10.6922 17.5294 9.73891 18.1165 9.05479C18.7692 8.29425 19.5839 7.90852 20.235 7.7123C20.71 7.56916 21.1621 7.71208 21.4665 8.01765C21.7621 8.3143 21.9069 8.74841 21.8511 9.19272C21.7774 9.78014 21.689 10.505 21.6191 11.1394C21.5476 11.7882 21.5 12.3046 21.5 12.5C21.5 12.6954 21.5476 13.2118 21.6191 13.8606C21.689 14.4949 21.7774 15.2199 21.8511 15.8073C21.9069 16.2516 21.7621 16.6857 21.4665 16.9823C21.1621 17.2879 20.71 17.4308 20.235 17.2877C19.5839 17.0915 18.7692 16.7057 18.1165 15.9452C17.5294 15.2611 17.1027 14.3077 17.0162 13H16V15C16 15.2761 15.7761 15.5 15.5 15.5C15.2239 15.5 15 15.2761 15 15V13H13.5V15C13.5 15.2761 13.2761 15.5 13 15.5C12.7239 15.5 12.5 15.2761 12.5 15V13H11V16C11 16.2761 10.7761 16.5 10.5 16.5C10.2239 16.5 10 16.2761 10 16V13H9V16C9 16.8159 8.32411 17.5336 7.44048 17.4182C6.55937 17.303 5.22337 17.0191 4.09471 16.3009C2.9413 15.567 2 14.3713 2 12.5C2 10.6287 2.9413 9.43298 4.09471 8.69906C5.22337 7.98088 6.55937 7.69696 7.44048 7.58184ZM18 12.5C18 13.8616 18.391 14.7296 18.8753 15.2939C19.3664 15.8662 19.9914 16.1699 20.5236 16.3302C20.6271 16.3614 20.7005 16.3344 20.7581 16.2766C20.8246 16.2098 20.8784 16.087 20.8589 15.9318C20.785 15.3425 20.6959 14.6118 20.6252 13.9702C20.556 13.343 20.5 12.7631 20.5 12.5C20.5 12.2369 20.556 11.657 20.6252 11.0298C20.6959 10.3882 20.785 9.65751 20.8589 9.06822C20.8784 8.91297 20.8246 8.79019 20.7581 8.72342C20.7005 8.66558 20.6271 8.63856 20.5236 8.66977C19.9914 8.83014 19.3664 9.1338 18.8753 9.70605C18.391 10.2704 18 11.1384 18 12.5ZM8 9C8 8.71136 7.78166 8.54576 7.57003 8.57342C6.74582 8.6811 5.57919 8.93975 4.63155 9.54274C3.70866 10.13 3 11.0341 3 12.5C3 13.9659 3.70866 14.87 4.63155 15.4573C5.57919 16.0603 6.74582 16.3189 7.57003 16.4266C7.78166 16.4542 8 16.2886 8 16V9Z"]}},66168:function(e){e.exports={prefix:"cv",iconName:"minus",icon:["24","24",[],"","m7 11h10c0.554 0 1 0.446 1 1s-0.446 1-1 1h-10c-0.554 0-1-0.446-1-1s0.446-1 1-1z"]}},82232:function(e){e.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"]}},98722:function(e){e.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"]}},95176:function(e){e.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"]}},1709:function(e){e.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"]}},48860:function(e){e.exports={prefix:"cv",iconName:"play",icon:["24","24",[],"","M7.5 6.505v11l9.002-5.5-9.002-5.5z"]}},15735:function(e){e.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"]}},80749:function(e){e.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"]}},96678:function(e){e.exports={prefix:"cv",iconName:"print",icon:["24","24",[],"","M15.6333333,4.25 C16.5814222,4.25 17.35,5.01857785 17.35,5.96666667 L17.35,5.96666667 L17.349,8.116 L18.5333333,8.11666667 C19.4315227,8.11666667 20.1685998,8.80647061 20.2436988,9.68521276 L20.25,9.83333333 L20.25,14.6666667 C20.25,15.5648561 19.5601961,16.3019331 18.6814539,16.3770321 L18.5333333,16.3833333 L17.349,16.383 L17.35,18.5 C17.35,19.4181734 16.6428897,20.1711923 15.7435272,20.2441988 L15.6,20.25 L8.9,20.25 C7.93350169,20.25 7.15,19.4664983 7.15,18.5 L7.15,18.5 L7.149,16.383 L5.96666667,16.3833333 C5.06847726,16.3833333 4.33140019,15.6935294 4.25630119,14.8147872 L4.25,14.6666667 L4.25,9.83333333 C4.25,8.93514392 4.93980394,8.19806686 5.8185461,8.12296786 L5.96666667,8.11666667 L7.149,8.116 L7.15,5.96666667 C7.15,5.06847726 7.83980394,4.33140019 8.7185461,4.25630119 L8.86666667,4.25 Z M15.6,13.4833333 L8.9,13.4833333 C8.76192881,13.4833333 8.65,13.5952621 8.65,13.7333333 L8.65,13.7333333 L8.64984919,15.6181407 C8.64994957,15.6231928 8.65,15.6282572 8.65,15.6333333 L8.649,15.648 L8.65,18.5 C8.65,18.6183467 8.73223341,18.7174868 8.84267729,18.7433973 L8.9,18.75 L15.6,18.75 C15.7380712,18.75 15.85,18.6380712 15.85,18.5 L15.85,18.5 L15.85,13.7333333 C15.85,13.5952621 15.7380712,13.4833333 15.6,13.4833333 L15.6,13.4833333 Z M14.3787879,17 C14.6298182,17 14.8333333,17.1492444 14.8333333,17.3333333 C14.8333333,17.5174222 14.6298182,17.6666667 14.3787879,17.6666667 L14.3787879,17.6666667 L11.9545455,17.6666667 C11.7035152,17.6666667 11.5,17.5174222 11.5,17.3333333 C11.5,17.1492444 11.7035152,17 11.9545455,17 L11.9545455,17 Z M14.3787879,15 C14.6298182,15 14.8333333,15.1492444 14.8333333,15.3333333 C14.8333333,15.5174222 14.6298182,15.6666667 14.3787879,15.6666667 L14.3787879,15.6666667 L11.9545455,15.6666667 C11.7035152,15.6666667 11.5,15.5174222 11.5,15.3333333 C11.5,15.1492444 11.7035152,15 11.9545455,15 L11.9545455,15 Z M18.5333333,9.61666667 L5.96666667,9.61666667 C5.86694859,9.61666667 5.78296434,9.68403123 5.75773954,9.77573475 L5.75,9.83333333 L5.75,14.6666667 C5.75,14.7663847 5.81736456,14.850369 5.90906808,14.8755938 L5.96666667,14.8833333 L7.149,14.883 L7.15,13.7333333 C7.15,12.8151599 7.85711027,12.062141 8.75647279,11.9891345 L8.9,11.9833333 L15.6,11.9833333 C16.5664983,11.9833333 17.35,12.766835 17.35,13.7333333 L17.35,13.7333333 L17.349,14.883 L18.5333333,14.8833333 C18.6330514,14.8833333 18.7170357,14.8159688 18.7422605,14.7242652 L18.75,14.6666667 L18.75,9.83333333 C18.75,9.73361525 18.6826354,9.64963101 18.5909319,9.62440621 L18.5333333,9.61666667 Z M8.11538462,10.5 C8.32779487,10.5 8.5,10.6492444 8.5,10.8333333 C8.5,11.0174222 8.32779487,11.1666667 8.11538462,11.1666667 L8.11538462,11.1666667 L6.88461538,11.1666667 C6.67220513,11.1666667 6.5,11.0174222 6.5,10.8333333 C6.5,10.6492444 6.67220513,10.5 6.88461538,10.5 L6.88461538,10.5 Z M15.6333333,5.75 L8.86666667,5.75 C8.74700497,5.75 8.65,5.84700497 8.65,5.96666667 L8.65,5.96666667 L8.649,8.116 L15.849,8.116 L15.85,5.96666667 C15.85,5.86694859 15.7826354,5.78296434 15.6909319,5.75773954 L15.6909319,5.75773954 L15.6333333,5.75 Z"]}},21167:function(e){e.exports={prefix:"cv",iconName:"retry",icon:["24","24",[],"","m17.657 6.3437c-1.5111-1.5125-3.5196-2.3438-5.6596-2.3438-1.8459 0-3.6041 0.625-5.0245 1.775-0.10637 0.084375-0.25654 0.078125-0.35353-0.015625l-0.9636-0.94062c-0.16269-0.1625-0.44113-0.05625-0.45364 0.175l-0.25967 4.375c-0.00939 0.1625 0.12514 0.29375 0.28783 0.28125l4.4426-0.32813c0.23464-0.01875 0.33476-0.30312 0.16268-0.4625l-0.8322-0.76875c-0.12514-0.11562-0.1095-0.31875 0.03128-0.41875 0.86661-0.59688 1.8959-0.91562 2.9659-0.91562 2.8908-0.00313 5.2466 2.35 5.2466 5.2437 0 2.8938-2.3527 5.2469-5.2466 5.2469-1.3296 0-2.5967-0.49688-3.5697-1.4-0.96673-0.9-1.558-2.1156-1.6613-3.425l-0.015643-0.18437c-0.012514-0.1375-0.12827-0.24688-0.26593-0.24688h-2.2213c-0.1533 0-0.27531 0.12812-0.26593 0.28438l0.012514 0.2125c0.25029 4.2125 3.7574 7.5125 7.9841 7.5125 2.1368 0 4.1454-0.83125 5.6596-2.3438 1.5111-1.5125 2.3433-3.5188 2.3433-5.6563 0-2.1375-0.8322-4.1469-2.3433-5.6562z"]}},10314:function(e){e.exports={prefix:"cv",iconName:"right",icon:["24","24",[],"","M8 10l8 .014L12 14z"]}},60839:function(e){e.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"]}},95821:function(e){e.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"]}},36735:function(e){e.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"]}},39422:function(e){e.exports={prefix:"cv",iconName:"up-down",icon:["24","24",[],"","M8 14l8 .014L12 18l-4-4zm0-4l4-4 4 3.986L8 10z"]}},50274:function(e){e.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"]}},27250:function(e){e.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"]}},86763:function(e){e.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"]}},11402:function(e){e.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"]}},24164:function(e){e.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"]}},24196:function(e){e.exports={prefix:"cv",iconName:"caret",icon:["24","24",[],"","M8 10 16 10.0136253 12 14z"]}},4292:function(e){e.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"]}},89336:function(e){e.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"]}},41229:function(e){e.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"]}},7258:function(e){e.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"]}},9475:function(e){e.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"]}},94343:function(e){e.exports={prefix:"cv",iconName:"anonymous",icon:["24","24",[],"","m16.837 9.8416-1.138-3.6774c-0.13845-0.44603-0.46066-0.81281-0.88664-1.0093-0.42598-0.19649-0.9158-0.20427-1.3479-0.021411l-1.1413 0.48698c-0.20584 0.090479-0.44052 0.090479-0.64636 0l-1.14-0.48862c-0.43208-0.18286-0.9219-0.17508-1.3479 0.021411-0.42598 0.19649-0.74819 0.56327-0.88664 1.0093l-1.138 3.6791c-1.1621 0.34891-2.2158 0.98582-3.0621 1.8508-0.10733 0.12175-0.13282 0.29475-0.065144 0.44198 0.06768 0.14723 0.21595 0.24132 0.3788 0.24037h15.17c0.16222 0 0.3095-0.09419 0.37668-0.24096 0.06719-0.14676 0.0419-0.31901-0.06468-0.44057-0.84587-0.86515-1.8992-1.5023-3.0609-1.8517zm-7.7426-3.4376c0.069581-0.22278 0.2307-0.40592 0.44355-0.50418 0.21285-0.098258 0.45757-0.10247 0.67371-0.011593l1.1346 0.48369c0.4162 0.18137 0.88976 0.18137 1.306 0l1.1367-0.48533c0.21621-0.090728 0.46092-0.086395 0.67374 0.011929s0.37391 0.28148 0.44352 0.50425l0.97533 3.153c-2.549-0.63066-5.2147-0.63066-7.7637 0zm-3.5901 5.1482c1.4549-1.0188 3.8661-1.6452 6.4967-1.6452 1.4743-0.010634 2.9416 0.20325 4.3507 0.63422 0.01921 0.0074 0.039 0.01315 0.05917 0.01727 0.74072 0.22808 1.4438 0.56287 2.0868 0.9937zm9.8071 1.6452c-1.0365 0.0014-1.9933 0.5532-2.5089 1.447-0.49615-0.28404-1.1069-0.28404-1.6031 0-0.76332-1.323-2.4252-1.8352-3.8077-1.1735s-2.0159 2.2724-1.4512 3.6905c0.56463 1.4181 2.1355 2.1618 3.5991 1.7039 1.4636-0.45786 2.3228-1.9617 1.9685-3.4457 0.29739-0.20115 0.68828-0.20115 0.98567 0-0.28124 1.193 0.22798 2.4322 1.2691 3.0883 1.0411 0.65615 2.386 0.58545 3.3516-0.17618 0.96567-0.76163 1.3406-2.0473 0.93428-3.2042s-1.5047-1.9314-2.7374-1.9302zm-6.6208 4.9356c-1.1427 0-2.069-0.92072-2.069-2.0565s0.92632-2.0565 2.069-2.0565 2.069 0.92072 2.069 2.0565c-0.0014 1.1352-0.92689 2.0551-2.069 2.0565zm6.6208 0c-1.1427 0-2.069-0.92072-2.069-2.0565s0.92632-2.0565 2.069-2.0565 2.069 0.92072 2.069 2.0565c-0.0014 1.1352-0.92689 2.0551-2.069 2.0565z"]}},1222:function(e){e.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"]}},70628:function(e){e.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"]}},46450:function(e){e.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"]}},93469:function(e){e.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"]}},75551:function(e){e.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"]}},59855:function(e){e.exports={prefix:"cv",iconName:"chart",icon:["24","24",[],"","m8 12c0.55228 0 1 0.44772 1 1v6c0 0.55228-0.44772 1-1 1h-2c-0.55228 0-1-0.44772-1-1v-6c0-0.55228 0.44772-1 1-1zm10-3c0.55228 0 1 0.44772 1 1v9c0 0.55228-0.44772 1-1 1h-2c-0.55228 0-1-0.44772-1-1v-9c0-0.55228 0.44772-1 1-1zm-5-5c0.55228 0 1 0.44772 1 1v14c0 0.55228-0.44772 1-1 1h-2c-0.55228 0-1-0.44772-1-1v-14c0-0.55228 0.44772-1 1-1zm-5 8.9667h-2v6.0667h2zm10-2.9667h-2v9h2zm-5-5h-2v14h2z"]}},41690:function(e){e.exports={prefix:"cv",iconName:"classrooms",icon:["24","24",[],"","m16.367 7.9638c0.82139-0.63033 1.4533-1.6413 1.4533-2.7789 0-0.27272-0.2135-0.49384-0.47681-0.49384h-2.4824c-1.2643 0-2.3666 0.5347-2.9329 1.6108-0.37042-0.75273-0.87304-1.2483-1.3291-1.5688-0.92972-0.65341-1.8633-0.72918-1.9026-0.73212-0.26323-0.01963-0.68917 0.28362-0.70791 0.55569-0.018775 0.27205 0.37516 0.60739 0.63782 0.62684 0.10606 0.0088595 2.3503 0.23081 2.8134 2.9201-0.56088-0.12442-0.92721-0.44951-2.3005-0.44951-2.1419 0-4.0528 1.7133-4.0528 5.0372 0 3.4373 2.726 7.3088 4.5297 7.3088 1.7305 0 1.6294-0.50479 2.3841-0.50479 0.75744 0 0.6506 0.50479 2.3841 0.50479 1.8051 0 4.5297-3.8683 4.5297-7.3088 0-2.5637-1.1139-4.1055-2.5469-4.7273zm-1.5059-2.1864 1.8593-0.098768c-0.22154 1.1257-1.1915 1.6495-2.3357 1.7778l-1.761 0.19754c0.22154-1.1257 1.0877-1.8155 2.2374-1.8766zm1.6896 11.277c-0.82894 1.2852-1.7173 1.7596-2.1664 1.7596-0.84261 0-1.1071-0.13049-1.3628-0.25667-0.23572-0.1163-0.50289-0.24812-1.0212-0.24812-0.51828 0-0.78545 0.13183-1.0212 0.24812-0.25575 0.12618-0.52023 0.25667-1.3628 0.25667-1.0011 0-3.3781-2.9031-3.3781-6.1233 0-2.9889 1.4715-3.8519 2.9012-3.8519 1.3671 0 1.4906 0.3643 2.3839 0.4765 7.76e-4 0.31356 0.23036 0.51118 0.47702 0.51118 0.24744 0 0.47735-0.19896 0.47658-0.51112 0.90099-0.11306 1.0125-0.47656 2.3843-0.47656 1.4298 0 2.9013 0.86294 2.9013 3.8519 0 1.3843-0.3159 2.9748-1.2118 4.3637z"]}},29850:function(e){e.exports={prefix:"cv",iconName:"cog",icon:["24","24",[],"","M18.4583333,12 C18.4583333,12.9444492 18.9722171,13.7222192 20,14.3333333 C19.8611104,14.77778 19.6388904,15.3055525 19.3333333,15.9166667 C18.3888842,15.6944433 17.5277817,15.9722183 16.75,16.75 C16.0555521,17.4444479 15.8333321,18.3055504 16.0833333,19.3333333 C15.4722192,19.6388904 14.9444467,19.8611104 14.5,20 C13.8888858,18.9722171 13.0555608,18.4583333 12,18.4583333 C10.9444392,18.4583333 10.1111142,18.9722171 9.5,20 C8.9999975,19.8333325 8.45833625,19.6111125 7.875,19.3333333 C8.12500125,18.2777725 7.91667,17.41667 7.25,16.75 C6.58333,16.08333 5.7222275,15.8749987 4.66666667,16.125 C4.3888875,15.5416637 4.1666675,15.0000025 4,14.5 C5.02778292,13.8888858 5.54166667,13.0555608 5.54166667,12 C5.54166667,11.0555508 5.02778292,10.2777808 4,9.66666667 C4.19444542,9.0555525 4.41666542,8.52778 4.66666667,8.08333333 C5.61111583,8.30555667 6.47221833,8.02778167 7.25,7.25 C7.91667,6.58333 8.12500125,5.7222275 7.875,4.66666667 C8.45833625,4.3888875 8.9999975,4.1666675 9.5,4 C10.1111142,5.02778292 10.9444392,5.54166667 12,5.54166667 C13.0555608,5.54166667 13.8888858,5.02778292 14.5,4 C15.0000025,4.1666675 15.5416638,4.3888875 16.125,4.66666667 C15.8749987,5.7222275 16.08333,6.58333 16.75,7.25 C17.5277817,8.02778167 18.3888842,8.30555667 19.3333333,8.08333333 C19.6388904,8.6944475 19.8611104,9.22222 20,9.66666667 C18.9722171,10.2777808 18.4583333,11.0555508 18.4583333,12 L18.4583333,12 Z M12,16.0833333 C13.1111167,16.0833333 14.0694404,15.6805596 14.875,14.875 C15.6805596,14.0694404 16.0833333,13.1111167 16.0833333,12 C16.0833333,10.8888833 15.6805596,9.93055958 14.875,9.125 C14.0694404,8.31944042 13.1111167,7.91666667 12,7.91666667 C10.8888833,7.91666667 9.93055958,8.31944042 9.125,9.125 C8.31944042,9.93055958 7.91666667,10.8888833 7.91666667,12 C7.91666667,13.1111167 8.31944042,14.0694404 9.125,14.875 C9.93055958,15.6805596 10.8888833,16.0833333 12,16.0833333 L12,16.0833333 Z"]}},39200:function(e){e.exports={prefix:"cv",iconName:"compass",icon:["24","24",[],"","m13.628 5.5109c0.11004-0.22771 0.17189-0.48189 0.17189-0.75006 0-0.97095-0.80748-1.7609-1.8-1.7609s-1.8 0.78993-1.8 1.7609c0 0.26817 0.06185 0.52235 0.17192 0.75006-3.6332 0.73772-6.3719 3.8933-6.3719 7.663 0 4.3153 3.5888 7.8261 8 7.8261s8-3.5108 8-7.8261c0-3.7697-2.7387-6.9253-6.3719-7.663zm-1.6281-1.7369c0.52335 0 0.79457 0.34501 0.8001 0.787 0.0065 0.51634-0.299 0.7918-0.8001 0.78684-0.49377-0.0048883-0.7999-0.22625-0.7999-0.78684 0-0.42731 0.3654-0.787 0.7999-0.787zm0 16.252c-3.7495 0-6.9999-3.1843-6.9999-6.8523s3.2505-6.8517 7-6.8517 7 3.184 7 6.852-3.2506 6.852-7.0001 6.852zm3.2171-10.658-4.7794 2.1647c-0.14122 0.06389-0.2663 0.17795-0.33844 0.32363l-2.2638 4.5701c-0.28535 0.57615 0.34509 1.1789 0.94757 0.90609l4.7793-2.1647c0.15316-0.0694 0.27201-0.1894 0.33844-0.32363l2.2638-4.5701c0.28483-0.57501-0.3442-1.1794-0.94753-0.90609zm-4.615 3.4321 1.974 1.8813-3.6 1.4787zm2.608 1.29-1.975-1.881 3.8-1.779z"]}},89649:function(e){e.exports={prefix:"cv",iconName:"cross-circle-filled",icon:["24","24",[],"","m12 22c5.5228 0 10-4.4772 10-10 0-5.5228-4.4772-10-10-10-5.5228 0-10 4.4772-10 10 0 5.5228 4.4772 10 10 10zm-0.03431-11.132 3.6686-3.5805c0.31242-0.31072 0.81895-0.31072 1.1314 0 0.31242 0.31072 0.31242 0.81451 0 1.1252l-3.6686 3.5805 3.6686 3.6487c0.31242 0.31072 0.31242 0.81451 0 1.1252-0.31242 0.31072-0.81895 0.31072-1.1314 0l-3.6686-3.6487-3.6 3.6487c-0.31242 0.31072-0.81895 0.31072-1.1314 0-0.31242-0.31072-0.31242-0.81451 0-1.1252l3.6-3.6487-3.6-3.6347c-0.31242-0.31072-0.31242-0.81451 0-1.1252 0.31242-0.31072 0.81895-0.31072 1.1314 0z"]}},39807:function(e){e.exports={prefix:"cv",iconName:"cross-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-9zm0 1.212c-2.0668-0.0061708-4.0502 0.81484-5.508 2.28-1.4652 1.4578-2.2862 3.4412-2.28 5.508 0 2.081 0.80903 4.037 2.28 5.508 1.4578 1.4652 3.4412 2.2862 5.508 2.28 2.0668 0.0062 4.0502-0.81484 5.508-2.28 1.4652-1.4578 2.2862-3.4412 2.28-5.508 0.006171-2.0668-0.81484-4.0502-2.28-5.508-1.4578-1.4652-3.4412-2.2862-5.508-2.28zm-0.03088 6.769 3.3018-3.2224c0.28118-0.27965 0.73706-0.27965 1.0182 0 0.28118 0.27965 0.28118 0.73306 0 1.0127l-3.3018 3.2224 3.3018 3.2838c0.28118 0.27965 0.28118 0.73306 0 1.0127-0.28118 0.27965-0.73706 0.27965-1.0182 0l-3.3018-3.2838-3.24 3.2838c-0.28118 0.27965-0.73706 0.27965-1.0182 0-0.28118-0.27965-0.28118-0.73306 0-1.0127l3.24-3.2838-3.24-3.2713c-0.28118-0.27965-0.28118-0.73306 0-1.0127 0.28118-0.27965 0.73706-0.27965 1.0182 0z"]}},12081:function(e){e.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"]}},66064:function(e){e.exports={prefix:"cv",iconName:"facebook",icon:["24","24",[],"","M13.667 9.667H16L15.708 12h-2.041v7H10.64v-7H9V9.667h1.64V8.099c0-1.02.256-1.793.766-2.315.51-.523 1.361-.784 2.552-.784H16v2.333h-1.24c-.461 0-.76.073-.893.22-.133.145-.2.388-.2.728v1.386z"]}},29378:function(e){e.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"]}},52473:function(e){e.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"]}},33796:function(e){e.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"]}},70379:function(e){e.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"]}},96038:function(e){e.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"]}},65962:function(e){e.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"]}},38760:function(e){e.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"]}},68799:function(e){e.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"]}},71406:function(e){e.exports={prefix:"cv",iconName:"graduation-cap",icon:["24","24",[],"","M16.8634 19.7312C16.2014 19.7312 15.6534 19.1833 15.6534 18.5212C15.6534 17.8592 16.2014 17.3112 16.8634 17.3112C17.5255 17.3112 18.0735 17.8592 18.0735 18.5212C18.0735 19.1833 17.5255 19.7312 16.8634 19.7312ZM16.8634 18.3386C16.7721 18.3386 16.6808 18.4072 16.6808 18.5212C16.6808 18.6354 16.7493 18.7038 16.8634 18.7038C16.9776 18.7038 17.046 18.6353 17.046 18.5212C17.046 18.4071 16.9547 18.3386 16.8634 18.3386ZM16.8634 18.2246C16.5895 18.2246 16.3612 17.9963 16.3612 17.7224V11.7406L11.7492 9.25209C11.4981 9.11506 11.4068 8.79545 11.5437 8.5671C11.6807 8.31598 12.0003 8.22469 12.2286 8.36157L17.1147 10.9871C17.2745 11.0785 17.3886 11.261 17.3886 11.4438V17.7224C17.3888 17.9964 17.1604 18.2247 16.8636 18.2247L16.8634 18.2246ZM11.9546 14.1605C11.8861 14.1605 11.7948 14.1377 11.7263 14.1147L2.29684 9.59413C2.11409 9.50279 2 9.32022 2 9.1147C2 8.90917 2.11413 8.72656 2.29684 8.65805L11.8173 4.32017C11.9543 4.25163 12.1141 4.25163 12.251 4.32017L21.7032 8.65805C21.8858 8.74938 22 8.93195 22 9.1147C22 9.32023 21.8859 9.50283 21.7032 9.57134L12.1827 14.1147C12.1142 14.1376 12.0229 14.1604 11.9544 14.1604L11.9546 14.1605ZM3.73532 9.13754L11.9546 13.0872L20.2425 9.13754L12.0232 5.37025L3.73532 9.13754ZM11.886 17.2655C7.13715 17.2655 5.24193 14.4571 5.17369 14.3202C5.12796 14.2289 5.08236 14.1376 5.08236 14.0463V10.85C5.08236 10.5761 5.31069 10.3478 5.58461 10.3478C5.85855 10.3478 6.08687 10.5761 6.08687 10.85V13.8865C6.47501 14.366 8.16448 16.2382 11.8631 16.2382C15.5161 16.2382 17.4111 14.366 17.8676 13.8637L17.8677 11.0325C17.8677 10.7586 18.0961 10.5302 18.37 10.5302C18.6439 10.5302 18.8723 10.7586 18.8723 11.0325V14.0462C18.8723 14.1604 18.8265 14.2746 18.7809 14.3431C18.7353 14.4801 16.5891 17.2655 11.8859 17.2655L11.886 17.2655Z"]}},38113:function(e){e.exports={prefix:"cv",iconName:"group",icon:["24","24",[],"","M7.55556 8.58586C7.55556 7.58424 8.49488 6.64647 9.81818 6.64647C11.1415 6.64647 12.0808 7.58424 12.0808 8.58586C12.0808 9.58748 11.1415 10.5253 9.81818 10.5253C8.49488 10.5253 7.55556 9.58748 7.55556 8.58586ZM9.81818 5.35354C7.92819 5.35354 6.26263 6.73122 6.26263 8.58586C6.26263 10.4405 7.92819 11.8182 9.81818 11.8182C11.7082 11.8182 13.3737 10.4405 13.3737 8.58586C13.3737 6.73122 11.7082 5.35354 9.81818 5.35354ZM6.90909 13.1919C5.0191 13.1919 3.35354 14.5696 3.35354 16.4242V17.7172C3.35354 18.0742 3.64297 18.3636 4 18.3636C4.35704 18.3636 4.64647 18.0742 4.64647 17.7172V16.4242C4.64647 15.4226 5.5858 14.4849 6.90909 14.4849H12.7273C14.0506 14.4849 14.9899 15.4226 14.9899 16.4242V17.7172C14.9899 18.0742 15.2793 18.3636 15.6364 18.3636C15.9934 18.3636 16.2828 18.0742 16.2828 17.7172V16.4242C16.2828 14.5696 14.6173 13.1919 12.7273 13.1919H6.90909ZM16.7841 13.7778C16.8639 13.4298 17.2108 13.2125 17.5588 13.2923C19.0872 13.6431 20.2411 14.8969 20.2424 16.4237V16.4242V17.7172C20.2424 18.0742 19.953 18.3636 19.596 18.3636C19.2389 18.3636 18.9495 18.0742 18.9495 17.7172V16.4248V16.4247C18.9487 15.5947 18.3083 14.7909 17.2695 14.5525C16.9215 14.4726 16.7042 14.1258 16.7841 13.7778ZM14.6485 5.4537C14.3004 5.37446 13.9539 5.59245 13.8747 5.94058C13.7955 6.28871 14.0135 6.63516 14.3616 6.71439C15.4035 6.95152 16.0461 7.75726 16.0461 8.58909C16.0461 9.42092 15.4035 10.2267 14.3616 10.4638C14.0135 10.543 13.7955 10.8895 13.8747 11.2376C13.9539 11.5857 14.3004 11.8037 14.6485 11.7245C16.181 11.3757 17.339 10.1195 17.339 8.58909C17.339 7.05873 16.181 5.80247 14.6485 5.4537Z"]}},5604:function(e){e.exports={prefix:"cv",iconName:"hamburger",icon:["24","24",[],"","M19,15.75 C19.4142136,15.75 19.75,16.0857864 19.75,16.5 C19.75,16.8796958 19.4678461,17.193491 19.1017706,17.2431534 L19,17.25 L5,17.25 C4.58578644,17.25 4.25,16.9142136 4.25,16.5 C4.25,16.1203042 4.53215388,15.806509 4.89822944,15.7568466 L5,15.75 L19,15.75 Z M19,10.75 C19.4142136,10.75 19.75,11.0857864 19.75,11.5 C19.75,11.8796958 19.4678461,12.193491 19.1017706,12.2431534 L19,12.25 L5,12.25 C4.58578644,12.25 4.25,11.9142136 4.25,11.5 C4.25,11.1203042 4.53215388,10.806509 4.89822944,10.7568466 L5,10.75 L19,10.75 Z M19,5.75 C19.4142136,5.75 19.75,6.08578644 19.75,6.5 C19.75,6.87969577 19.4678461,7.19349096 19.1017706,7.24315338 L19,7.25 L5,7.25 C4.58578644,7.25 4.25,6.91421356 4.25,6.5 C4.25,6.12030423 4.53215388,5.80650904 4.89822944,5.75684662 L5,5.75 L19,5.75 Z"]}},98450:function(e){e.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"]}},55138:function(e){e.exports={prefix:"cv",iconName:"heart-outline",icon:["24","24",[],"","m18.959 5.9741c-0.76992-0.92705-1.9357-1.5351-3.1052-1.5351-1.6448 0-2.8808 0.74937-3.4647 1.6238-0.15149 0.22693-0.28074 0.55125-0.38894 0.76537-0.10821-0.21411-0.23718-0.53844-0.38871-0.76537-0.58391-0.87451-1.8205-1.6238-3.4653-1.6238-1.1695 0-2.2376 0.60808-3.0075 1.5351-0.7344 0.88434-1.1388 1.9712-1.1388 3.2374 0 1.3784 0.50711 3.0509 1.5959 4.4251 0.97309 1.2281 2.373 2.4941 3.9941 3.9599 0.60406 0.54625 1.2285 1.1104 1.8936 1.7278l0.01997 0.01934c0.08622 0.08011 0.38931 0.21727 0.49681 0.21727 0.1075 0 0.40992-0.13796 0.49614-0.21804l0.0201-0.0178c0.66504-0.61746 1.2897-1.1824 1.8939-1.7287 1.621-1.4658 3.0209-2.7317 3.994-3.9598 1.0888-1.3742 1.5955-3.0467 1.5955-4.4251 0-1.2663-0.30646-2.3531-1.0409-3.2374zm-5.337 10.688c-0.51948 0.47226-1.0567 0.95549-1.6218 1.4768-0.56507-0.52124-1.101-1.0059-1.6219-1.4769-3.1725-2.8689-5.2684-4.7641-5.2684-7.2556 0-1.0298 0.32333-1.9863 0.91044-2.6933 0.59385-0.71497 1.4183-1.1088 2.3213-1.1088 1.254 0 2.0645 0.81976 2.5237 1.5074 0.41187 0.61679 0.62678 1.2385 0.70006 1.4772 0.06131 0.19978 0.23683 0.33499 0.43482 0.33499s0.37351-0.1352 0.43482-0.33499c0.07329-0.23867 0.28821-0.86044 0.70006-1.4773 0.45914-0.68766 1.2698-1.5074 2.5237-1.5074 0.90309 0 1.7274 0.39377 2.3213 1.1088 0.58714 0.70695 0.91047 1.6634 0.91047 2.6933 0 2.4914-2.1035 4.3783-5.2685 7.2557z"]}},72473:function(e){e.exports={prefix:"cv",iconName:"heart",icon:["24","24",[],"","m18.833 5.9735c-0.78916-0.95022-1.8839-1.4735-3.0826-1.4735-1.6859 0-2.7532 1.0685-3.3517 1.9648-0.15528 0.2326-0.28738 0.46582-0.39828 0.68529-0.11091-0.21946-0.24297-0.45269-0.39828-0.68529-0.5985-0.89636-1.6658-1.9648-3.3517-1.9648-1.1987 0-2.2935 0.52333-3.0827 1.4735-0.75275 0.90644-1.1673 2.1204-1.1673 3.4183 0 1.4128 0.51978 2.7268 1.6358 4.1353 0.99741 1.2588 2.4323 2.5564 4.0939 4.0589 0.61916 0.5599 1.2594 1.1389 1.9411 1.7718l0.02047 0.01903c0.08837 0.08211 0.19856 0.12313 0.30875 0.12313s0.22038-0.04105 0.30875-0.12313l0.02047-0.01903c0.68166-0.63289 1.3219-1.2119 1.9412-1.7719 1.6615-1.5024 3.0964-2.8 4.0938-4.0588 1.116-1.4085 1.6358-2.7225 1.6358-4.1353 0-1.2979-0.41459-2.5119-1.1674-3.4183z"]}},51557:function(e){e.exports={prefix:"cv",iconName:"history",icon:["24","24",[],"","m12 4c4.4183 0 8 3.5817 8 8s-3.5817 8-8 8-8-3.5817-8-8 3.5817-8 8-8zm0 1.071c-3.6609 0-6.829 3.2681-6.829 6.929 0 3.6609 3.1681 6.929 6.829 6.929 3.6609 0 6.829-3.2681 6.829-6.929 0-3.6609-3.1681-6.929-6.829-6.929zm-0.05 2.8147c0.37871 0 0.53589 0.30716 0.53589 0.68586l1.09e-4 3.1445 2.5561 2.6559c0.26261 0.27286 0.56761 0.70201 0.29983 0.9698-0.26779 0.26779-0.70108 0.168-0.96886-0.0998l-2.757-2.7571c-0.12859-0.1286-0.30643-0.30309-0.30114-0.48487l0.09971-3.4286c0.011009-0.37855 0.15666-0.68571 0.53536-0.68571z"]}},65480:function(e){e.exports={prefix:"cv",iconName:"house",icon:["24","24",[],"","M11.7846212,4 C12.178875,4 12.5638107,4.24069899 12.9394281,4.72209697 L19.397311,11.322097 C19.5629093,11.5452605 19.656723,11.7116991 19.678752,11.8214128 C19.7395624,12.1242744 19.6082554,12.4143292 19.497312,12.5910454 C19.3260836,12.8637865 18.7338563,13.000157 17.72063,13.000157 L17.72063,18.1926254 C17.7388725,18.6657038 17.6971878,18.963296 17.595576,19.085402 C17.4524552,19.257389 17.2725879,19.2926677 16.9667536,19.2926677 L13.5640347,19.2926677 L13.5640347,19.2926677 C13.1830115,19.2612016 12.9461197,19.192113 12.8533594,19.085402 C12.6927222,18.9006059 12.7248765,18.5521525 12.7248765,18.1926254 L12.7248765,14.9511622 L12.7248765,14.9511622 C12.7248765,14.4003465 12.8220341,14.0975591 11.7846212,14.0975591 C10.7472083,14.0975591 10.8395429,14.2807901 10.8395429,14.9511622 L10.8395429,18.3715216 L10.8395429,18.3715216 C10.8595606,18.985619 10.6625714,19.2926677 10.2485753,19.2926677 L6.20092682,19.2926677 L6.20092682,19.2926677 C5.86660241,19.2102758 5.6994402,18.843595 5.6994402,18.1926254 L5.6994402,13.000157 L5.6994402,13.000157 C4.92008031,13.0416935 4.41855824,12.905323 4.194874,12.5910454 C4.04449878,12.3797673 4,12.1792791 4,11.8214128 C4,11.6373159 4.098291,11.4273486 4.294873,11.191511 L10.586825,4.72209697 C10.991102,4.24069899 11.3903674,4 11.7846212,4 Z M11.7087471,5.2 C11.5251637,5.2 11.1987855,5.478119 10.7296125,6.034357 L10.7296125,6.034357 L4.986425,12 L6.73443576,12 L6.73443576,12 L6.73443576,18.3346822 L9.63619552,18.3346822 L9.63619552,14.729221 C9.63619552,14.1725015 9.88848235,13.1203352 11.7087471,13.1203352 C13.5290117,13.1203352 13.7773555,14.2717887 13.7773555,14.729221 L13.7773555,14.729221 L13.7773555,18.3346822 L16.642863,18.3346822 L16.642863,12 L18.558694,12 L12.6527402,6.034357 C12.2069948,5.478119 11.8923304,5.2 11.7087471,5.2 Z"]}},97532:function(e){e.exports={prefix:"cv",iconName:"image",icon:["24","21",[],"","M22.5,1 C23.3284271,1 24,1.67157288 24,2.5 L24,20.5 C24,21.3284271 23.3284271,22 22.5,22 L1.5,22 C0.671572875,22 0,21.3284271 0,20.5 L0,2.5 C0,1.67157288 0.671572875,1 1.5,1 L22.5,1 Z M22.5,2.5 L1.5,2.5 L1.5,20.5 L22.5,20.5 L22.5,2.5 Z M14.2906232,6.59182043 L20.1291975,15.5918204 C20.3546288,15.9393166 20.2556757,16.4037661 19.9081796,16.6291975 C19.5606834,16.8546288 19.0962339,16.7556757 18.8708025,16.4081796 L13.6366709,8.33991109 L11.113691,11.9311419 C10.8459047,12.3123112 10.299063,12.3597231 9.96966991,12.0303301 L9.08114564,11.1418058 L5.1,16.45 C4.85147186,16.7813708 4.38137085,16.8485281 4.05,16.6 C3.71862915,16.3514719 3.65147186,15.8813708 3.9,15.55 L8.4,9.55 C8.67384721,9.18487039 9.20759806,9.14693789 9.53033009,9.46966991 L10.3993093,10.3386491 L13.0477347,6.5688581 C13.3531907,6.13406938 14.0014355,6.14604568 14.2906232,6.59182043 Z M6,4.75 C7.24264069,4.75 8.25,5.75735931 8.25,7 C8.25,8.24264069 7.24264069,9.25 6,9.25 C4.75735931,9.25 3.75,8.24264069 3.75,7 C3.75,5.75735931 4.75735931,4.75 6,4.75 Z M6,6.25 C5.58578644,6.25 5.25,6.58578644 5.25,7 C5.25,7.41421356 5.58578644,7.75 6,7.75 C6.41421356,7.75 6.75,7.41421356 6.75,7 C6.75,6.58578644 6.41421356,6.25 6,6.25 Z"]}},83386:function(e){e.exports={prefix:"cv",iconName:"inbox",icon:["24","24",[],"","m20.449 11.711-1.904-5.304c-0.5355-1.2495-1.768-2.057-3.128-2.057h-6.8341c-1.36 0-2.5925 0.8075-3.145 2.108l-1.887 5.253c-0.034 0.0935-0.051 0.18704-0.051 0.28904v4.25c0 1.8785 1.5215 3.4 3.4 3.4h10.2c1.8785 0 3.4-1.5215 3.4-3.4v-4.25c0-0.102-0.017-0.19554-0.051-0.28904zm-13.93-4.6327c0.272-0.6205 1.384-1.5285 2.064-1.5285h7.334c0.68 0 1.292 0.90798 1.547 1.486l1.479 4.1142h-4.393c-0.4675 0-0.85 0.3825-0.85 0.85 0 0.93496-0.76504 1.7-1.7 1.7s-1.7-0.76504-1.7-1.7c0-0.4675-0.3825-0.85-0.85-0.85h-4.393zm12.781 9.1717c0 0.93496-0.76504 2.2-1.7 2.2h-10.7c-0.93496 0-2.2275-1.2654-2.2-2.2v-3.9h4.0105c0.374 1.462 1.7085 2.55 3.2895 2.55s2.9155-1.088 3.2895-2.55h4.0105z"]}},64894:function(e){e.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"]}},32535:function(e){e.exports={prefix:"cv",iconName:"key",icon:["24","24",[],"","M14.4615 4C11.4183 4 8.92308 6.49519 8.92308 9.53846C8.92308 9.85817 8.97596 10.1394 9.01923 10.4231L4.17308 15.25L4 15.4423V20H8.30769V18.1538H10.1538V16.3077H12V14.4808C12.726 14.8365 13.5721 15.0769 14.4615 15.0769C17.5048 15.0769 20 12.5817 20 9.53846C20 6.49519 17.5048 4 14.4615 4ZM14.4615 5.23077C16.8341 5.23077 18.7692 7.16587 18.7692 9.53846C18.7692 11.9111 16.8341 13.8462 14.4615 13.8462C13.7163 13.8462 12.9495 13.6274 12.3654 13.3077L12.2115 13.2308H10.7692V15.0769H8.92308V16.9231H7.07692V18.7692H5.23077V15.9615L10.0962 11.0769L10.3269 10.8654L10.2692 10.5385C10.2067 10.1683 10.1538 9.83894 10.1538 9.53846C10.1538 7.16587 12.0889 5.23077 14.4615 5.23077ZM15.6923 7.07692C15.012 7.07692 14.4615 7.6274 14.4615 8.30769C14.4615 8.98798 15.012 9.53846 15.6923 9.53846C16.3726 9.53846 16.9231 8.98798 16.9231 8.30769C16.9231 7.6274 16.3726 7.07692 15.6923 7.07692Z"]}},98862:function(e){e.exports={prefix:"cv",iconName:"library",icon:["24","24",[],"","M18.912835,4 C19.4651197,4 19.912835,4.44771525 19.912835,5 L19.912835,19 C19.912835,19.5522847 19.4651197,20 18.912835,20 L5,20 C4.44771525,20 4,19.5522847 4,19 L4,5 C4,4.44771525 4.44771525,4 5,4 L18.912835,4 Z M18.3150484,5.000875 L5.59778655,5.000875 C4.99414509,5.00828676 4.95863677,5.07848054 4.95654804,5.74325684 L4.95652747,18.2497969 C4.95850089,18.958322 4.99588632,18.9976846 5.70413253,18.9998714 L5.83621044,19 L7.012,19 L7.012835,10.1458066 C7.012835,9.83822121 7.33263161,9.588874 7.72712071,9.588874 L10.2985493,9.588874 C10.4318116,9.588874 10.5565504,9.61732839 10.663317,9.66687004 C10.7685672,9.61745455 10.8935633,9.588874 11.0271207,9.588874 L13.5985493,9.588874 C13.9930384,9.588874 14.312835,9.83822121 14.312835,10.1458066 L14.312263,11.91635 C14.3666516,11.8859752 14.4278689,11.8633468 14.4938652,11.8508958 L16.9807953,11.3137255 C17.2549415,11.2620495 17.5077276,11.40552 17.545417,11.63422 L18.734264,18.24136 C18.7719534,18.47006 18.5802735,18.6973845 18.306135,18.749104 L17.097,19 L18.0766245,19 C18.9124278,19 18.954218,19 18.9563075,18.2497969 L18.9563075,5.75020312 C18.954438,5.07896875 18.9207859,5.0083125 18.3150484,5.000875 Z M14.312,13.857 L14.312,19 L15.1623895,19.0015907 C15.1591891,18.9899078 15.1565697,18.9779665 15.1545607,18.9657833 L14.312,13.857 Z M9.60410364,10.588874 L9.68015558,10.5890768 L8.24551442,10.5890768 C7.99077949,10.5912891 7.96762177,10.617636 7.96551652,10.9314038 L7.96546816,18.23844 C7.96723715,18.5570164 7.98830424,18.5859779 8.23919417,18.5886107 L9.60410364,18.588874 C9.93295936,18.588874 9.95825595,18.588874 9.96020184,18.23844 L9.96020184,10.939308 C9.95825595,10.588874 9.93295936,10.588874 9.60410364,10.588874 Z M12.9041036,10.588874 L12.9801556,10.5890768 L11.5455144,10.5890768 C11.2907795,10.5912891 11.2676218,10.617636 11.2655165,10.9314038 L11.2654682,18.23844 C11.2672372,18.5570164 11.2883042,18.5859779 11.5391942,18.5886107 L12.9041036,18.588874 C13.2329594,18.588874 13.258256,18.588874 13.2602018,18.23844 L13.2602018,10.939308 C13.258256,10.588874 13.2329594,10.588874 12.9041036,10.588874 Z M16.6046993,12.4475552 L16.5375525,12.4598817 L15.1867145,12.7444527 C14.9638992,12.7864894 14.9416172,12.7906931 14.9791881,13.0326155 L14.9937355,13.1224387 L15.874016,17.950214 C15.9231508,18.2483646 15.9280637,18.2781789 16.1090353,18.2471104 L16.176182,18.234784 L17.5953339,17.950214 C17.8181492,17.9081772 17.8404312,17.9039735 17.8028603,17.6620511 L17.7883129,17.572228 L16.8397195,12.7444527 C16.7905848,12.4463021 16.7856711,12.4164869 16.6046993,12.4475552 Z"]}},58009:function(e){e.exports={prefix:"cv",iconName:"link",icon:["24","24",[],"","M12.3523657,8.89458521 L11.2323928,10.030936 C11.6816493,10.0940688 12.0581356,10.1950773 12.3618515,10.3339616 C12.6655805,10.4728459 12.9250097,10.6527672 13.1401391,10.8737254 C13.5640871,11.2967006 13.8472504,11.7622837 13.989629,12.2704746 C14.1319946,12.7786784 14.1335756,13.2852984 13.9943719,13.7903346 C13.8551682,14.2953837 13.5767543,14.7562347 13.1591303,15.1728876 L10.7293506,17.5971021 C10.3054027,18.0200747 9.84032986,18.3010045 9.33413224,18.4398914 C8.82792167,18.5787783 8.32013659,18.5787783 7.81077702,18.4398914 C7.30140449,18.3010045 6.83474425,18.0200747 6.41079629,17.5971021 C5.98684833,17.167811 5.70369153,16.69907 5.56132588,16.1908791 C5.41896023,15.6826753 5.41737925,15.1760553 5.55658295,14.6710191 C5.69578664,14.1659699 5.97736247,13.7051189 6.40131043,13.288466 L7.68264016,12.0100762 C7.56240818,11.7322946 7.48647595,11.445049 7.45484346,11.1483393 C7.42321096,10.8516295 7.42321096,10.5706998 7.45484346,10.3055499 L5.37623498,12.3793698 C4.76246616,12.985434 4.35434157,13.6561952 4.15186123,14.3916537 C3.94937959,15.1271251 3.94937959,15.8625965 4.15186123,16.5980679 C4.35434157,17.3335341 4.76563459,18.0074488 5.38574028,18.619812 C5.9995091,19.2321765 6.67497489,19.6409459 7.41213765,19.8461202 C8.14928744,20.0512933 8.88644372,20.0512933 9.62360648,19.8461202 C10.3607692,19.6409459 11.0330731,19.2353331 11.640518,18.6292819 L14.1841863,16.0819644 C14.7916312,15.4759132 15.1981819,14.8067357 15.4038385,14.074432 C15.6094821,13.3421153 15.6094821,12.6066439 15.4038385,11.8680178 C15.1981819,11.1293917 14.7884693,10.4538984 14.1747004,9.84153777 C13.9658949,9.63321131 13.717539,9.45013537 13.4296328,9.29230994 C13.1417266,9.13448451 12.7826375,9.0019096 12.3523657,8.89458521 Z M11.6500038,15.0971361 L12.7604909,13.9702687 C12.3175712,13.907136 11.9442469,13.8061275 11.640518,13.6672432 C11.336802,13.5283588 11.0773728,13.3484376 10.8622304,13.1274794 C10.4382824,12.7045042 10.1551256,12.2389146 10.01276,11.7307108 C9.87038138,11.2225199 9.8688004,10.7158999 10.0080171,10.2108508 C10.1472208,9.70581462 10.4256281,9.24496361 10.8432392,8.82829776 L13.2730189,6.40409301 C13.690643,5.98111777 14.1541413,5.70018799 14.6635138,5.56130369 C15.1728734,5.42241938 15.6822394,5.42241938 16.1916119,5.56130369 C16.7009845,5.70018799 17.1676382,5.98111777 17.5915732,6.40409301 C18.0155212,6.83337765 18.2986845,7.30212188 18.4410631,7.8103257 C18.5834287,8.31851659 18.5834287,8.82513659 18.4410631,9.33018571 C18.2986845,9.83522191 18.0186896,10.2960729 17.6010785,10.7127388 L16.3197488,11.9911286 C16.4399678,12.2688972 16.5158936,12.5561428 16.5475261,12.8528655 C16.5791715,13.1495752 16.5791715,13.430505 16.5475261,13.6956548 L18.6261345,11.6218156 C19.2335795,11.0157644 19.6401237,10.3450031 19.8457673,9.60953168 C20.0514109,8.87406028 20.0514109,8.13859535 19.8457673,7.40313688 C19.6401237,6.66766548 19.2304175,5.99374949 18.6166487,5.38138891 C18.0028669,4.762706 17.3274011,4.35235601 16.5902513,4.15033895 C15.8530886,3.94832189 15.1159258,3.94989924 14.378763,4.155071 C13.6416003,4.36024276 12.9692965,4.76585423 12.3618515,5.37190542 L9.81818323,7.91922098 C9.21073831,8.52527216 8.80419406,9.19445611 8.59855047,9.92677281 C8.39290687,10.6590766 8.39290687,11.3945415 8.59855047,12.1331676 C8.80419406,12.8717937 9.21390027,13.547287 9.82766909,14.1596476 C10.0364876,14.367987 10.2832625,14.5510694 10.5679938,14.7088948 C10.8527381,14.8667203 11.2134081,14.996134 11.6500038,15.0971361 Z"]}},64133:function(e){e.exports={prefix:"cv",iconName:"monitor-chart",icon:["24","24",[],"","m10 10.25c0.27614 0 0.5 0.22386 0.5 0.5v3c0 0.27614-0.22386 0.5-0.5 0.5h-1c-0.27614 0-0.5-0.22386-0.5-0.5v-3c0-0.27614 0.22386-0.5 0.5-0.5zm5-1.5c0.27614 0 0.5 0.22386 0.5 0.5v4.5c0 0.27614-0.22386 0.5-0.5 0.5h-1c-0.27614 0-0.5-0.22386-0.5-0.5v-4.5c0-0.27614 0.22386-0.5 0.5-0.5zm-2.5-2.5c0.27614 0 0.5 0.22386 0.5 0.5v7c0 0.27614-0.22386 0.5-0.5 0.5h-1c-0.27614 0-0.5-0.22386-0.5-0.5v-7c0-0.27614 0.22386-0.5 0.5-0.5zm5.5-2.25c1.1046 0 2 0.89543 2 2v8.5c0 1.1046-0.89543 2-2 2h-3.8696l0.36664 1.877 1.003 6.37e-4c0.34947 0 0.52421 0.16809 0.52421 0.50428s-0.17474 0.509-0.52421 0.51844h-7c-0.34211-0.0094-0.51317-0.18225-0.51317-0.51844s0.17106-0.50428 0.51317-0.50428l1.063-6.37e-4 0.34707-1.877h-3.9101c-1.1046 0-2-0.89543-2-2v-8.5c0-1.1046 0.89543-2 2-2zm-4.9256 12.5h-2.1551l-0.32629 1.8765h2.813zm4.9256-11.55h-12c-0.51284 0-0.93551 0.38604-0.99327 0.88338l-0.0067277 0.11662v8.6c0 0.51284 0.38604 0.93551 0.88338 0.99327l0.11662 0.0067h12c0.51284 0 0.93551-0.38604 0.99327-0.88338l0.006728-0.11659v-8.6c0-0.55228-0.44772-1-1-1z"]}},57238:function(e){e.exports={prefix:"cv",iconName:"monitor-play",icon:["24","24",[],"","m18 4c1.1046 0 2 0.89543 2 2v8.5c0 1.1046-0.89543 2-2 2h-3.8696l0.36664 1.877 1.003 6.37e-4c0.34947 0 0.52421 0.16809 0.52421 0.50428 0 0.33619-0.17474 0.509-0.52421 0.51844h-7c-0.34211-0.0094-0.51317-0.18225-0.51317-0.51844 0-0.33619 0.17106-0.50428 0.51317-0.50428l1.063-6.37e-4 0.34707-1.877h-3.9101c-1.1046 0-2-0.89543-2-2v-8.5c0-1.1046 0.89543-2 2-2zm-4.9256 12.5h-2.1551l-0.32629 1.8765h2.813zm4.9256-11.55h-12c-0.51284 0-0.93551 0.38604-0.99327 0.88338l-0.0067277 0.11662v8.6c0 0.51284 0.38604 0.93551 0.88338 0.99327l0.11662 0.006728h12c0.51284 0 0.93551-0.38604 0.99327-0.88338l0.006728-0.11662v-8.6c0-0.55228-0.44772-1-1-1zm-8.2 2.5388c0.082243 0 0.16322 0.020287 0.23574 0.059064l4.0655 2.1736c0.24352 0.1302 0.33539 0.43316 0.20519 0.67668-0.04681 0.08756-0.11864 0.1592-0.20632 0.20579l-4.0655 2.1602c-0.24386 0.12957-0.54658 0.03693-0.67615-0.20692-0.038387-0.072245-0.058461-0.1528-0.058461-0.23461v-4.3338c0-0.27614 0.22386-0.5 0.5-0.5z"]}},81843:function(e){e.exports={prefix:"cv",iconName:"playlist",icon:["24","24",[],"","m4.9887 18.127c0 0.48882 0.39579 0.88452 0.88452 0.88452h12.253c0.48882 0 0.88452-0.39579 0.88452-0.88452v-12.254c0-0.48882-0.39579-0.884-0.88452-0.884h-12.253c-0.48882 0-0.88452 0.39526-0.88452 0.884zm0.78467-14.127h12.453c0.97943 0 1.7734 0.79344 1.7734 1.7734v12.453c0 0.97943-0.79344 1.7734-1.7734 1.7734h-12.453c-0.97943 0-1.7734-0.79344-1.7734-1.7734v-12.453c0-0.97943 0.79344-1.7734 1.7734-1.7734zm11.115 12.711c0.24546 0 0.44444-0.19898 0.44444-0.44444s-0.19898-0.44444-0.44444-0.44444h-7.1111c-0.24546 0-0.44444 0.19898-0.44444 0.44444s0.19898 0.44444 0.44444 0.44444zm0-4.0889c0.24546 0 0.44444-0.19898 0.44444-0.44444s-0.19898-0.44444-0.44444-0.44444h-7.1111c-0.24546 0-0.44444 0.19898-0.44444 0.44444s0.19898 0.44444 0.44444 0.44444zm-8.3805-4.8628-1.0725-0.64348c-0.42792-0.25675-0.76926-0.06333-0.76926 0.42791v1.3543c0 0.49265 0.34441 0.68282 0.76926 0.42791l1.0725-0.64348c0.42792-0.25675 0.42485-0.66821 0-0.92312zm0 4-1.0725-0.64348c-0.42792-0.25675-0.76926-0.06333-0.76926 0.42791v1.3543c0 0.49265 0.34441 0.68282 0.76926 0.42791l1.0725-0.64348c0.42792-0.25675 0.42485-0.6682 0-0.92312zm0 4-1.0725-0.64348c-0.42792-0.25675-0.76926-0.06333-0.76926 0.42791v1.3543c0 0.49265 0.34441 0.68282 0.76926 0.42791l1.0725-0.64348c0.42792-0.25675 0.42485-0.6682 0-0.92312zm8.3805-7.0483c0.24546 0 0.44444-0.19898 0.44444-0.44444s-0.19898-0.44444-0.44444-0.44444h-7.1111c-0.24546 0-0.44444 0.19898-0.44444 0.44444s0.19898 0.44444 0.44444 0.44444z"]}},75490:function(e){e.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"]}},8412:function(e){e.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"]}},54791:function(e){e.exports={prefix:"cv",iconName:"school",icon:["24","24",[],"","M 19.53125,14.5438 H 16.9875 v -4.28056 l 0.34144,0.15522 c 0.0629,0.0286 0.12884,0.0421 0.19372,0.0421 0.17815,0 0.34843,-0.10215 0.427,-0.2749 0.10712,-0.23569 0.003,-0.51357 -0.23278,-0.62069 L 12.46875,7.17941 V 5.43956 h 1.53962 c 0.25885,0 0.46875,-0.20987 0.46875,-0.46875 V 4.46875 C 14.47712,4.20987 14.26722,4 14.00837,4 H 12 C 11.74116,4 11.53125,4.20987 11.53125,4.46875 V 7.17941 L 6.28316,9.56494 c -0.23566,0.10712 -0.33991,0.385 -0.23272,0.62068 0.10706,0.23569 0.385,0.33985 0.62065,0.23275 l 0.34144,-0.15521 v 4.28059 H 4.46875 C 4.20991,14.54375 4,14.75362 4,15.0125 v 4.51875 C 4,19.79012 4.20991,20 4.46875,20 h 3.0125 3.0125 3.01244 3.0125 3.01256 C 19.79016,20.00005 20,19.79017 20,19.5313 V 15.01255 C 20,14.75367 19.79016,14.5438 19.53125,14.5438 Z M 7.0125,19.06255 H 4.9375 V 15.4813 h 2.075 z m 6.02497,0 h -2.07494 v -2.07497 h 2.07494 z m 3.01253,-4.05 v 4.05 h -2.075 v -2.54372 c 0,-0.25887 -0.20984,-0.46875 -0.46875,-0.46875 h -3.01244 c -0.25884,0 -0.46875,0.20988 -0.46875,0.46875 v 2.54372 h -2.075 v -4.05 H 7.95 V 9.83708 L 12,7.99617 16.05,9.83708 Z m 3.0125,4.05 h -2.075 V 15.4813 h 2.075 z M 12,10.0608 c -1.089,0 -1.97497,0.88594 -1.97497,1.97497 0,1.089 0.88597,1.975 1.97497,1.975 1.08906,0 1.97497,-0.886 1.97497,-1.975 0,-1.08903 -0.88594,-1.97497 -1.97497,-1.97497 z m 0,3.01244 c -0.57203,0 -1.03747,-0.46544 -1.03747,-1.0375 0,-0.57203 0.46544,-1.03747 1.03747,-1.03747 0.57209,0 1.03747,0.4654 1.03747,1.03747 0,0.57209 -0.46541,1.0375 -1.03747,1.0375 z"]}},50312:function(e){e.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"]}},28671:function(e){e.exports={prefix:"cv",iconName:"star-o",icon:["24","24",[],"","m11.64 16.408c0.22495-0.11933 0.49443-0.11933 0.71937 0l3.7678 1.9987-0.80692-4.6021 3.3579-3.2489-4.6262-0.6547-2.0522-4.1975-2.0522 4.1975-4.6262 0.6547 3.3579 3.2489-0.80692 4.6021zm-3.7505 3.148c-0.37447 0.19865-0.83908 0.056116-1.0377-0.31836-0.080018-0.15084-0.10745-0.32406-0.077964-0.49224l0.80353-4.5828-3.3438-3.2353c-0.30465-0.29476-0.31266-0.78067-0.017902-1.0853 0.11873-0.12271 0.27499-0.20233 0.44406-0.22626l4.6068-0.65196 2.0436-4.1799c0.18619-0.38082 0.64585-0.5386 1.0267-0.35241 0.1534 0.075 0.27741 0.19901 0.35241 0.35241l2.0436 4.1799 4.6068 0.65196c0.41972 0.059399 0.71182 0.4478 0.65242 0.86752-0.02393 0.16907-0.10354 0.32533-0.22626 0.44406l-3.3438 3.2353 0.80353 4.5828c0.07321 0.41753-0.20592 0.81535-0.62345 0.88856-0.16818 0.02949-0.3414 0.0021-0.49224-0.07796l-4.1102-2.1804z"]}},56515:function(e){e.exports={prefix:"cv",iconName:"star",icon:["24","24",[],"","m12.337 4.0782c0.1534 0.075 0.27741 0.19901 0.35241 0.35241l2.0436 4.1799 4.6068 0.65196c0.41972 0.059399 0.71182 0.4478 0.65242 0.86752-0.02393 0.16907-0.10354 0.32533-0.22626 0.44406l-3.3438 3.2353 0.80353 4.5828c0.07321 0.41753-0.20592 0.81535-0.62345 0.88856-0.16818 0.02949-0.3414 0.0021-0.49224-0.07796l-4.1102-2.1804-4.1102 2.1804c-0.37447 0.19865-0.83908 0.056116-1.0377-0.31836-0.080018-0.15084-0.10745-0.32406-0.077964-0.49224l0.80353-4.5828-3.3438-3.2353c-0.30465-0.29476-0.31266-0.78067-0.017902-1.0853 0.11873-0.12271 0.27499-0.20233 0.44406-0.22626l4.6068-0.65196 2.0436-4.1799c0.18619-0.38082 0.64585-0.5386 1.0267-0.35241z"]}},24249:function(e){e.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"]}},51190:function(e){e.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"]}},10609:function(e){e.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"]}},89405:function(e){e.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"]}},47090:function(e){e.exports={prefix:"cv",iconName:"twitter",icon:["24","24",[],"","M20.594 7.117c-.422.656-.985 1.242-1.688 1.758v.422c0 2.46-.885 4.693-2.654 6.697C14.482 17.998 12.132 19 9.203 19c-1.875 0-3.61-.516-5.203-1.547.375.047.645.07.809.07 1.57 0 2.976-.492 4.218-1.476a3.422 3.422 0 0 1-1.968-.686 3.22 3.22 0 0 1-1.196-1.67c.282.047.492.07.633.07.234 0 .54-.046.914-.14a3.436 3.436 0 0 1-1.951-1.178 3.24 3.24 0 0 1-.791-2.162v-.035c.516.281 1.031.422 1.547.422-1.008-.656-1.512-1.605-1.512-2.848 0-.586.152-1.148.457-1.687 1.805 2.226 4.137 3.41 6.996 3.55-.047-.163-.07-.421-.07-.773 0-.96.328-1.77.984-2.426.657-.656 1.465-.984 2.426-.984.961 0 1.781.363 2.461 1.09.703-.117 1.43-.399 2.18-.844-.235.82-.739 1.453-1.512 1.899a5.806 5.806 0 0 0 1.969-.528z"]}},3164:function(e){e.exports={prefix:"cv",iconName:"video",icon:["24","24",[],"","m5.4332 6.7668c-0.24546 0-0.44444 0.19898-0.44444 0.44444v9.5776c0 0.24546 0.19898 0.44444 0.44444 0.44444h13.134c0.24546 0 0.44444-0.19898 0.44444-0.44444v-9.5776c0-0.24546-0.19898-0.44444-0.44444-0.44444zm13.233-0.98897c0.73638 0 1.3333 0.59695 1.3333 1.3333v9.7778c0 0.73638-0.59695 1.3333-1.3333 1.3333h-13.333c-0.73638 0-1.3333-0.59695-1.3333-1.3333v-9.7778c0-0.73638 0.59695-1.3333 1.3333-1.3333zm-8.4158 3.6277c-0.01871 0.030621-0.02861 0.065813-0.02861 0.1017v4.9856c0 0.10772 0.08733 0.19505 0.19505 0.19505 0.03589 0 0.07108-0.0099 0.1017-0.02862l4.0795-2.4928c0.09192-0.05617 0.1209-0.17622 0.06473-0.26814-0.01614-0.02641-0.03832-0.04859-0.06473-0.06473l-4.0795-2.4928c-0.09192-0.056168-0.21197-0.027185-0.26814 0.064732z"]}},78817:function(e){e.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"]}},64620:function(e){e.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"]}},15118:function(e){e.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"]}},43692:function(e){e.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"]}},74080:function(e){e.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"]}},33172:function(e){e.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"]}},57598:function(e){e.exports={prefix:"cv",iconName:"info",icon:["24","24",[],"","M12 2.5C10.1211 2.5 8.28435 3.05717 6.72209 4.10104C5.15982 5.14491 3.94218 6.62861 3.22315 8.36451C2.50412 10.1004 2.31598 12.0105 2.68254 13.8534C3.0491 15.6962 3.95389 17.3889 5.28249 18.7175C6.61109 20.0461 8.30383 20.9509 10.1466 21.3175C11.9895 21.684 13.8996 21.4959 15.6355 20.7769C17.3714 20.0578 18.8551 18.8402 19.899 17.2779C20.9428 15.7157 21.5 13.8789 21.5 12C21.4974 9.48126 20.4956 7.06643 18.7146 5.28541C16.9336 3.50439 14.5187 2.50265 12 2.5ZM12 20.5C10.3189 20.5 8.67548 20.0015 7.27766 19.0675C5.87984 18.1335 4.79037 16.806 4.14703 15.2528C3.50368 13.6996 3.33535 11.9906 3.66333 10.3417C3.9913 8.69289 4.80085 7.17834 5.9896 5.98959C7.17834 4.80085 8.6929 3.9913 10.3417 3.66333C11.9906 3.33535 13.6996 3.50368 15.2528 4.14702C16.806 4.79037 18.1335 5.87984 19.0675 7.27765C20.0015 8.67547 20.5 10.3189 20.5 12C20.4974 14.2535 19.601 16.414 18.0075 18.0075C16.414 19.601 14.2535 20.4974 12 20.5ZM15.25 16.5C15.25 16.7652 15.1446 17.0196 14.9571 17.2071C14.7696 17.3946 14.5152 17.5 14.25 17.5H13.5C12.837 17.5 12.2011 17.2366 11.7322 16.7678C11.2634 16.2989 11 15.663 11 15V11.5H10.5C10.2348 11.5 9.98043 11.3946 9.7929 11.2071C9.60536 11.0196 9.5 10.7652 9.5 10.5C9.5 10.2348 9.60536 9.98043 9.7929 9.79289C9.98043 9.60536 10.2348 9.5 10.5 9.5H11.25C11.7141 9.5 12.1593 9.68437 12.4874 10.0126C12.8156 10.3408 13 10.7859 13 11.25V15C13 15.1326 13.0527 15.2598 13.1465 15.3536C13.2402 15.4473 13.3674 15.5 13.5 15.5H14.25C14.5152 15.5 14.7696 15.6054 14.9571 15.7929C15.1446 15.9804 15.25 16.2348 15.25 16.5ZM10.84 8C10.7226 7.89768 10.6308 7.76936 10.5717 7.62526C10.5127 7.48116 10.4881 7.32527 10.5 7.17C10.4975 7.02119 10.5255 6.87343 10.5822 6.73585C10.639 6.59826 10.7233 6.47375 10.83 6.37C10.9329 6.25668 11.0578 6.16545 11.197 6.10185C11.3363 6.03824 11.487 6.00359 11.64 6C11.7864 5.9981 11.9316 6.02542 12.0673 6.08037C12.2029 6.13532 12.3262 6.21679 12.43 6.32C12.6381 6.53394 12.7532 6.82154 12.75 7.12C12.7619 7.27527 12.7373 7.43116 12.6783 7.57526C12.6193 7.71936 12.5274 7.84768 12.41 7.95C12.2015 8.14538 11.9257 8.25283 11.64 8.25C11.3516 8.26832 11.0666 8.17927 10.84 8Z"]}},60574:function(e){e.exports={prefix:"cv",iconName:"lock",icon:["24","24",[],"","M12.0952 4C9.56281 4 7.52381 6.039 7.52381 8.57143V9.33333C6.691 9.33333 6 10.0243 6 10.8571V18.4762C6 19.309 6.691 20 7.52381 20H16.6667C17.4995 20 18.1905 19.309 18.1905 18.4762V10.8571C18.1905 10.0243 17.4995 9.33333 16.6667 9.33333V8.57143C16.6667 6.039 14.6277 4 12.0952 4ZM12.0952 5.52381C13.8295 5.52381 15.1429 6.83719 15.1429 8.57143V9.33333H9.04762V8.57143C9.04762 6.83719 10.361 5.52381 12.0952 5.52381ZM7.52381 10.8571H16.6667V18.4762H7.52381V10.8571ZM12.0952 13.1429C11.2571 13.1429 10.5714 13.8286 10.5714 14.6667C10.5714 15.5048 11.2571 16.1905 12.0952 16.1905C12.9333 16.1905 13.619 15.5048 13.619 14.6667C13.619 13.8286 12.9333 13.1429 12.0952 13.1429Z"]}},58393:function(e){e.exports={prefix:"cv",iconName:"pending-circle",icon:["24","24",[],"","M13.8823 20.8065L14.5009 23.7422C13.9656 23.8548 12.9563 23.9408 11.4729 24L11.6491 23.9925L11.4744 23.9882L11.6065 20.9911L11.8876 20.999L12.0412 21C12.6669 20.998 13.2825 20.9328 13.8823 20.8065ZM7.99361 20.0579C8.66504 20.393 9.37647 20.6427 10.1144 20.8005L9.48493 23.7339C8.48941 23.5209 7.53964 23.1848 6.65239 22.7421L7.99361 20.0579ZM17.2676 19.3114L19.0216 21.7466C18.2121 22.3285 17.3272 22.8123 16.3844 23.1805L15.2907 20.3865C15.9921 20.1126 16.656 19.7512 17.2676 19.3114ZM5.05967 17.7241C5.54019 18.3057 6.09202 18.8257 6.70106 19.2707L4.92792 21.6919C4.1168 21.0993 3.38287 20.4074 2.744 19.6343L5.05967 17.7241ZM19.7957 16.5367L22.3877 18.052C21.8786 18.9209 21.2634 19.7202 20.5596 20.432L18.4228 18.324C18.9533 17.7874 19.415 17.1867 19.7957 16.5367ZM3.31093 14.3441C3.50656 15.0712 3.79312 15.7685 4.16309 16.422L1.54902 17.8987C1.05975 17.0345 0.674669 16.1037 0.410823 15.1232L3.31093 14.3441ZM20.972 12.9544L23.9588 13.2675C23.852 14.2841 23.6181 15.2629 23.2733 16.1877L20.4589 15.1409C20.7201 14.4404 20.8929 13.7075 20.972 12.9544ZM0.134628 10.197L3.10418 10.6444C3.03676 11.0915 3.00307 11.5442 3.00307 12.0166C3.00363 12.3181 3.01891 12.6173 3.04869 12.9136L0.060583 13.2133C0.0338463 12.9473 0.0136316 12.5429 -6.10352e-05 12L0.00850987 11.5425C0.0256006 11.087 0.0680979 10.6381 0.134628 10.197ZM23.434 8.27194C23.7402 9.20874 23.9342 10.1962 23.9999 11.2186L21.003 11.4107C20.9542 10.6529 20.8113 9.91315 20.5792 9.20311L23.434 8.27194ZM1.89248 5.53201L4.42067 7.15114C4.0145 7.78399 3.6893 8.46491 3.45353 9.17939L0.601431 8.23999C0.918977 7.27775 1.35508 6.36934 1.89248 5.53201ZM20.9519 3.98401C21.6204 4.7275 22.1973 5.55485 22.6649 6.44834L20.0036 7.83844C19.6546 7.1714 19.2223 6.54996 18.718 5.98907L20.9519 3.98401ZM5.40679 1.97563L7.06056 4.47977C6.43092 4.89463 5.85478 5.38736 5.34664 5.94518L3.12563 3.92592C3.80043 3.18518 4.56677 2.52913 5.40679 1.97563ZM16.9095 1.03913C17.8326 1.45132 18.6941 1.97646 19.4764 2.59696L17.6085 4.94603C17.0178 4.47756 16.3711 4.08472 15.6834 3.77771L16.9095 1.03913ZM10.0295 0.162724L10.5218 3.12215C9.77612 3.24586 9.05417 3.46236 8.36884 3.76557L7.15252 1.02265C8.05818 0.621936 9.02269 0.329787 10.0295 0.162724ZM12.0125 0L12.4516 0.00786781C13.3259 0.0392508 14.1764 0.163976 14.9934 0.372369L14.2499 3.27897C13.5262 3.09442 12.7768 3 12.0125 3V0Z"]}},44667:function(e){e.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"]}},27344:function(e){e.exports={prefix:"cv",iconName:"timer",icon:["24","24",[],"","M12,19.0588235 C15.8984806,19.0588235 19.0588235,15.8984806 19.0588235,12 C19.0588235,8.10151941 15.8984806,4.94117647 12,4.94117647 C8.10151941,4.94117647 4.94117647,8.10151941 4.94117647,12 C4.94117647,15.8984806 8.10151941,19.0588235 12,19.0588235 Z M12,4 C16.418278,4 20,7.581722 20,12 C20,16.418278 16.418278,20 12,20 C7.581722,20 4,16.418278 4,12 C4,7.581722 7.581722,4 12,4 Z M11.7714286,6.74285714 C11.5189555,6.74285714 11.3142857,6.94752697 11.3142857,7.2 L11.3142857,12.6857143 C11.3142857,12.8332404 11.38548,12.9716989 11.5054691,13.0575276 L14.6792786,15.3277657 C14.8846254,15.4746511 15.170166,15.4272587 15.3170514,15.2219119 C15.4639368,15.016565 15.4165444,14.7310244 15.2111976,14.5841391 L12.2285714,12.4506552 L12.2285714,7.2 C12.2285714,6.94752697 12.0239016,6.74285714 11.7714286,6.74285714 Z"]}},78030:function(e){e.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"]}},44683:function(e){e.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"]}},19071:function(e){e.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"]}},5846:function(e){e.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"]}},90689:function(e){e.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"]}},84581:function(e){e.exports={prefix:"cv",iconName:"widget-template-banner",icon:["117","22",[],"","M0 0.847059C0 0.379241 0.379241 0 0.847059 0H116.153C116.621 0 117 0.379241 117 0.847059V20.7979C117 21.2658 116.621 21.645 116.153 21.645H0.847059C0.379241 21.645 0 21.2658 0 20.7979V0.847059Z"]}},22401:function(e){e.exports={prefix:"cv",iconName:"widget-template-cover-fixed-tiles",icon:["117","57",[],"","M0 2.54348C0 1.13875 1.13875 0 2.54348 0H47.3087C48.7134 0 49.8522 1.13875 49.8522 2.54348C49.8522 3.9482 48.7134 5.08696 47.3087 5.08696H2.54348C1.13876 5.08696 0 3.9482 0 2.54348ZM47.8174 10.6828C47.8174 10.4018 48.0452 10.1739 48.3263 10.1739H68.6737C68.9548 10.1739 69.1826 10.4018 69.1826 10.6828V32.0476C69.1826 32.3287 68.9547 32.5565 68.6737 32.5565H48.3263C48.0452 32.5565 47.8174 32.3287 47.8174 32.0476V10.6828ZM24.9263 10.1739C24.6452 10.1739 24.4174 10.4018 24.4174 10.6828V32.0476C24.4174 32.3287 24.6452 32.5565 24.9263 32.5565H45.2737C45.5548 32.5565 45.7826 32.3287 45.7826 32.0476V10.6828C45.7826 10.4018 45.5548 10.1739 45.2737 10.1739H24.9263ZM94.6174 10.6828C94.6174 10.4018 94.8452 10.1739 95.1263 10.1739H116.491C116.772 10.1739 117 10.4018 117 10.6828V32.0476C117 32.3287 116.772 32.5565 116.491 32.5565H95.1263C94.8452 32.5565 94.6174 32.3287 94.6174 32.0476V10.6828ZM71.7263 10.1739C71.4452 10.1739 71.2174 10.4018 71.2174 10.6828V32.0476C71.2174 32.3287 71.4452 32.5565 71.7263 32.5565H92.0737C92.3548 32.5565 92.5826 32.3287 92.5826 32.0476V10.6828C92.5826 10.4018 92.3548 10.1739 92.0737 10.1739H71.7263ZM0 10.6828C0 10.4018 0.227855 10.1739 0.508929 10.1739H21.8737C22.1548 10.1739 22.3826 10.4018 22.3826 10.6828V32.0476C22.3826 32.3287 22.1548 32.5565 21.8737 32.5565H0.508927C0.227854 32.5565 0 32.3287 0 32.0476V10.6828ZM48.3263 34.5913C48.0452 34.5913 47.8174 34.8192 47.8174 35.1002V56.465C47.8174 56.7461 48.0452 56.9739 48.3263 56.9739H68.6737C68.9547 56.9739 69.1826 56.7461 69.1826 56.465V35.1002C69.1826 34.8192 68.9548 34.5913 68.6737 34.5913H48.3263ZM24.4174 35.1002C24.4174 34.8192 24.6452 34.5913 24.9263 34.5913H45.2737C45.5548 34.5913 45.7826 34.8192 45.7826 35.1002V56.465C45.7826 56.7461 45.5548 56.9739 45.2737 56.9739H24.9263C24.6452 56.9739 24.4174 56.7461 24.4174 56.465V35.1002ZM0.508929 34.5913C0.227855 34.5913 0 34.8192 0 35.1002V56.465C0 56.7461 0.227854 56.9739 0.508927 56.9739H21.8737C22.1548 56.9739 22.3826 56.7461 22.3826 56.465V35.1002C22.3826 34.8192 22.1548 34.5913 21.8737 34.5913H0.508929Z"]}},63023:function(e){e.exports={prefix:"cv",iconName:"widget-template-featured-slider",icon:["117","27",[],"","M5 0C2.23858 0 0 2.23858 0 5C0 7.20914 1.79086 9 4 9H113C115.209 9 117 7.20914 117 5C117 2.23858 114.761 0 112 0H5ZM0 11.5C0 11.2239 0.223858 11 0.5 11H27.5C27.7761 11 28 11.2239 28 11.5V26.5C28 26.7761 27.7761 27 27.5 27H0.5C0.223857 27 0 26.7761 0 26.5V11.5ZM30.5 11C30.2239 11 30 11.2239 30 11.5V26.5C30 26.7761 30.2239 27 30.5 27H57.5C57.7761 27 58 26.7761 58 26.5V11.5C58 11.2239 57.7761 11 57.5 11H30.5ZM60 11.5C60 11.2239 60.2239 11 60.5 11H86.5C86.7761 11 87 11.2239 87 11.5V26.5C87 26.7761 86.7761 27 86.5 27H60.5C60.2239 27 60 26.7761 60 26.5V11.5ZM89 11.5C89 11.2239 89.2239 11 89.5 11H116.5C116.776 11 117 11.2239 117 11.5V26.5C117 26.7761 116.776 27 116.5 27H89.5C89.2239 27 89 26.7761 89 26.5V11.5Z"]}},65625:function(e){e.exports={prefix:"cv",iconName:"widget-template-featured-video",icon:["117","44",[],"","M2.76191 0C1.23655 0 0 1.23655 0 2.76191C0 4.28727 1.23655 5.52382 2.76191 5.52382H51.8381C53.3635 5.52382 54.6 4.28727 54.6 2.76191C54.6 1.23655 53.3635 0 51.8381 0H2.76191ZM1.0648 11.0476C0.476727 11.0476 0 11.5203 0 12.1033V42.1879C0 42.7709 0.476727 43.2436 1.0648 43.2436H55.7638C56.3519 43.2436 56.8286 42.7709 56.8286 42.1879V12.1033C56.8286 11.5203 56.3519 11.0476 55.7638 11.0476H1.0648ZM62.9429 11.0476C62.0277 11.0476 61.2857 11.7895 61.2857 12.7048C61.2857 13.62 62.0277 14.3619 62.9429 14.3619H115.343C116.258 14.3619 117 13.62 117 12.7048C117 11.7895 116.258 11.0476 115.343 11.0476H62.9429ZM61.2857 19.3334C61.2857 18.4182 62.0277 17.6763 62.9429 17.6763H115.343C116.258 17.6763 117 18.4182 117 19.3334C117 20.2486 116.258 20.9906 115.343 20.9906H62.9429C62.0277 20.9906 61.2857 20.2486 61.2857 19.3334Z"]}},20214:function(e){e.exports={prefix:"cv",iconName:"widget-template-fixed-pills",icon:["117","51",[],"","M0 0.4C0 0.179086 0.179086 0 0.4 0H35.1636C35.7159 0 36.1636 0.447715 36.1636 1V13C36.1636 13.5523 35.7159 14 35.1636 14H0.4C0.179086 14 0 13.8209 0 13.6V0.4ZM14.8909 0.5V13.5H35.1636C35.4398 13.5 35.6636 13.2761 35.6636 13V1C35.6636 0.723859 35.4398 0.5 35.1636 0.5H14.8909ZM18.4818 6C18.2609 6 18.0818 6.17909 18.0818 6.4V7.6C18.0818 7.82091 18.2609 8 18.4818 8H32.5727C32.7936 8 32.9727 7.82091 32.9727 7.6V6.4C32.9727 6.17909 32.7936 6 32.5727 6H18.4818ZM18.0818 43.4C18.0818 43.1791 18.2609 43 18.4818 43H32.5727C32.7936 43 32.9727 43.1791 32.9727 43.4V44.6C32.9727 44.8209 32.7936 45 32.5727 45H18.4818C18.2609 45 18.0818 44.8209 18.0818 44.6V43.4ZM0.4 37C0.179086 37 0 37.1791 0 37.4V50.6C0 50.8209 0.179086 51 0.4 51H35.1636C35.7159 51 36.1636 50.5523 36.1636 50V38C36.1636 37.4477 35.7159 37 35.1636 37H0.4ZM35.1636 50.5H14.8909V37.5H35.1636C35.4398 37.5 35.6636 37.7239 35.6636 38V50C35.6636 50.2761 35.4398 50.5 35.1636 50.5ZM58.9 43C58.6791 43 58.5 43.1791 58.5 43.4V44.6C58.5 44.8209 58.6791 45 58.9 45H72.9909C73.2118 45 73.3909 44.8209 73.3909 44.6V43.4C73.3909 43.1791 73.2118 43 72.9909 43H58.9ZM40.8182 37C40.5973 37 40.4182 37.1791 40.4182 37.4V50.6C40.4182 50.8209 40.5973 51 40.8182 51H75.5818C76.1341 51 76.5818 50.5523 76.5818 50V38C76.5818 37.4477 76.1341 37 75.5818 37H40.8182ZM55.3091 50.5V37.5H75.5818C75.858 37.5 76.0818 37.7239 76.0818 38V50C76.0818 50.2761 75.858 50.5 75.5818 50.5H55.3091ZM58.9 6C58.6791 6 58.5 6.17909 58.5 6.4V7.6C58.5 7.82091 58.6791 8 58.9 8H72.9909C73.2118 8 73.3909 7.82091 73.3909 7.6V6.4C73.3909 6.17909 73.2118 6 72.9909 6H58.9ZM40.8182 0C40.5973 0 40.4182 0.179086 40.4182 0.4V13.6C40.4182 13.8209 40.5973 14 40.8182 14H75.5818C76.1341 14 76.5818 13.5523 76.5818 13V1C76.5818 0.447715 76.1341 0 75.5818 0H40.8182ZM55.3091 0.5H75.5818C75.858 0.5 76.0818 0.723859 76.0818 1V13C76.0818 13.2761 75.858 13.5 75.5818 13.5H55.3091V0.5ZM98.9183 6.4C98.9183 6.17909 99.0973 6 99.3183 6H113.409C113.63 6 113.809 6.17909 113.809 6.4V7.6C113.809 7.82091 113.63 8 113.409 8H99.3183C99.0973 8 98.9183 7.82091 98.9183 7.6V6.4ZM80.8364 0.4C80.8364 0.179086 81.0155 0 81.2364 0H116C116.552 0 117 0.447715 117 1V13C117 13.5523 116.552 14 116 14H81.2364C81.0155 14 80.8364 13.8209 80.8364 13.6V0.4ZM95.7273 0.5V13.5H116C116.276 13.5 116.5 13.2761 116.5 13V1C116.5 0.723859 116.276 0.5 116 0.5H95.7273ZM18.4818 24C18.2609 24 18.0818 24.1791 18.0818 24.4V25.6C18.0818 25.8209 18.2609 26 18.4818 26H32.5727C32.7936 26 32.9727 25.8209 32.9727 25.6V24.4C32.9727 24.1791 32.7936 24 32.5727 24H18.4818ZM0.4 18C0.179086 18 0 18.1791 0 18.4V31.6C0 31.8209 0.179086 32 0.4 32H35.1636C35.7159 32 36.1636 31.5523 36.1636 31V19C36.1636 18.4477 35.7159 18 35.1636 18H0.4ZM14.8909 18.5H35.1636C35.4398 18.5 35.6636 18.7239 35.6636 19V31C35.6636 31.2761 35.4398 31.5 35.1636 31.5H14.8909V18.5ZM58.5 24.4C58.5 24.1791 58.6791 24 58.9 24H72.9909C73.2118 24 73.3909 24.1791 73.3909 24.4V25.6C73.3909 25.8209 73.2118 26 72.9909 26H58.9C58.6791 26 58.5 25.8209 58.5 25.6V24.4ZM40.4182 18.4C40.4182 18.1791 40.5973 18 40.8182 18H75.5818C76.1341 18 76.5818 18.4477 76.5818 19V31C76.5818 31.5523 76.1341 32 75.5818 32H40.8182C40.5973 32 40.4182 31.8209 40.4182 31.6V18.4ZM75.5818 18.5H55.3091V31.5H75.5818C75.858 31.5 76.0818 31.2761 76.0818 31V19C76.0818 18.7239 75.858 18.5 75.5818 18.5ZM99.3182 24C99.0973 24 98.9182 24.1791 98.9182 24.4V25.6C98.9182 25.8209 99.0973 26 99.3182 26H113.409C113.63 26 113.809 25.8209 113.809 25.6V24.4C113.809 24.1791 113.63 24 113.409 24H99.3182ZM81.2364 18C81.0155 18 80.8364 18.1791 80.8364 18.4V31.6C80.8364 31.8209 81.0155 32 81.2364 32H116C116.552 32 117 31.5523 117 31V19C117 18.4477 116.552 18 116 18H81.2364ZM95.7273 31.5V18.5H116C116.276 18.5 116.5 18.7239 116.5 19V31C116.5 31.2761 116.276 31.5 116 31.5H95.7273Z"]}},63763:function(e){e.exports={prefix:"cv",iconName:"widget-template-large-poster",icon:["117","60",[],"","M0 2C0 0.89543 0.895431 0 2 0H47.8522C48.9567 0 49.8522 0.895431 49.8522 2V3C49.8522 4.10457 48.9567 5 47.8522 5H2C0.895432 5 0 4.10457 0 3V2ZM0 10.7953C0 10.3561 0.356066 10 0.795296 10H27.2005C27.6397 10 27.9958 10.3561 27.9958 10.7953V58.9903C27.9958 59.4295 27.6397 59.7855 27.2005 59.7855H0.795297C0.356067 59.7855 0 59.4295 0 58.9903V10.7953ZM30.4094 10C29.9702 10 29.6141 10.3561 29.6141 10.7953V58.9903C29.6141 59.4295 29.9702 59.7855 30.4094 59.7855H56.8146C57.2539 59.7855 57.6099 59.4295 57.6099 58.9903V10.7953C57.6099 10.3561 57.2539 10 56.8146 10H30.4094ZM59.2282 10.7953C59.2282 10.3561 59.5843 10 60.0235 10H86.5906C87.0298 10 87.3859 10.3561 87.3859 10.7953V58.9903C87.3859 59.4295 87.0298 59.7855 86.5906 59.7855H60.0235C59.5843 59.7855 59.2282 59.4295 59.2282 58.9903V10.7953ZM89.6376 10C89.1984 10 88.8423 10.3561 88.8423 10.7953V58.9903C88.8423 59.4295 89.1984 59.7855 89.6376 59.7855H116.205C116.644 59.7855 117 59.4295 117 58.9903V10.7953C117 10.3561 116.644 10 116.205 10H89.6376Z"]}},38477:function(e){e.exports={prefix:"cv",iconName:"widget-template-large-slider",icon:["117","31",[],"","M2.5 0C1.11929 0 0 1.11929 0 2.5C0 3.88071 1.11929 5 2.5 5H48.2326C49.6133 5 50.7326 3.88071 50.7326 2.5C50.7326 1.11929 49.6133 0 48.2326 0H2.5ZM79.9268 10C79.6507 10 79.4268 10.2239 79.4268 10.5V30.453C79.4268 30.7292 79.6507 30.953 79.9268 30.953H116.5C116.776 30.953 117 30.7292 117 30.453V10.5C117 10.2239 116.776 10 116.5 10H79.9268ZM39.7132 10.5C39.7132 10.2239 39.937 10 40.2132 10H76.7863C77.0625 10 77.2863 10.2239 77.2863 10.5V30.453C77.2863 30.7292 77.0625 30.953 76.7863 30.953H40.2132C39.937 30.953 39.7132 30.7292 39.7132 30.453V10.5ZM0.5 10C0.223846 10 0 10.2239 0 10.5V30.453C0 30.7292 0.223846 30.953 0.5 30.953H37.0732C37.3493 30.953 37.5732 30.7292 37.5732 30.453V10.5C37.5732 10.2239 37.3493 10 37.0732 10H0.5Z"]}},36963:function(e){e.exports={prefix:"cv",iconName:"widget-template-player",icon:["117","67",[],"","m2.1922 0h112.62c1.2145 0 2.1922 0.97773 2.1922 2.1922v62.473c0 1.2145-0.97773 2.1922-2.1922 2.1922h-112.62c-1.2145 0-2.1922-0.97773-2.1922-2.1922v-62.473c0-1.2145 0.97773-2.1922 2.1922-2.1922z"]}},89237:function(e){e.exports={prefix:"cv",iconName:"widget-template-playlists",icon:["117","32",[],"","M2.5 0C1.11929 0 0 1.11929 0 2.5C0 3.88071 1.11929 5 2.5 5H47.3522C48.7329 5 49.8522 3.88071 49.8522 2.5C49.8522 1.11929 48.7329 0 47.3522 0H2.5ZM48.3174 10C48.0412 10 47.8174 10.2239 47.8174 10.5V31.5C47.8174 31.7761 48.0412 32 48.3174 32H69.3174C69.5935 32 69.8174 31.7761 69.8174 31.5V10.5C69.8174 10.2239 69.5935 10 69.3174 10H48.3174ZM24.4174 10.5C24.4174 10.2239 24.6413 10 24.9174 10H45.9174C46.1935 10 46.4174 10.2239 46.4174 10.5V31.5C46.4174 31.7761 46.1935 32 45.9174 32H24.9174C24.6413 32 24.4174 31.7761 24.4174 31.5V10.5ZM95.5 10C95.2239 10 95 10.2239 95 10.5V31.5C95 31.7761 95.2239 32 95.5 32H116.5C116.776 32 117 31.7761 117 31.5V10.5C117 10.2239 116.776 10 116.5 10H95.5ZM71.2174 10.5C71.2174 10.2239 71.4412 10 71.7174 10H92.7174C92.9935 10 93.2174 10.2239 93.2174 10.5V31.5C93.2174 31.7761 92.9935 32 92.7174 32H71.7174C71.4412 32 71.2174 31.7761 71.2174 31.5V10.5ZM0.5 10C0.223858 10 0 10.2239 0 10.5V31.5C0 31.7761 0.223857 32 0.5 32H21.5C21.7761 32 22 31.7761 22 31.5V10.5C22 10.2239 21.7761 10 21.5 10H0.5Z"]}},28409:function(e){e.exports={prefix:"cv",iconName:"widget-template-poster-slider",icon:["117","44",[],"","M0 2C0 0.89543 0.895431 0 2 0H47.8522C48.9567 0 49.8522 0.895431 49.8522 2V3C49.8522 4.10457 48.9567 5 47.8522 5H2C0.895432 5 0 4.10457 0 3V2ZM0 10.533C0 10.2386 0.240508 10 0.53719 10H18.0496C18.3463 10 18.5868 10.2387 18.5868 10.533V42.8352C18.5868 43.1296 18.3463 43.3683 18.0496 43.3683H0.537189C0.240508 43.3683 0 43.1296 0 42.8352V10.533ZM20.1983 10C19.9017 10 19.6612 10.2386 19.6612 10.533V42.8352C19.6612 43.1296 19.9017 43.3683 20.1983 43.3683H37.7107C38.0074 43.3683 38.2479 43.1296 38.2479 42.8352V10.533C38.2479 10.2387 38.0074 10 37.7107 10H20.1983ZM39.3223 10.533C39.3223 10.2386 39.5628 10 39.8595 10H57.4793C57.776 10 58.0165 10.2387 58.0165 10.533V42.8352C58.0165 43.1296 57.776 43.3683 57.4793 43.3683H39.8595C39.5628 43.3683 39.3223 43.1296 39.3223 42.8352V10.533ZM59.5207 10C59.224 10 58.9835 10.2386 58.9835 10.533V42.8352C58.9835 43.1296 59.224 43.3683 59.5207 43.3683H77.1405C77.4372 43.3683 77.6777 43.1296 77.6777 42.8352V10.533C77.6777 10.2387 77.4372 10 77.1405 10H59.5207ZM78.7521 10.533C78.7521 10.2386 78.9926 10 79.2892 10H96.8016C97.0983 10 97.3388 10.2387 97.3388 10.533V42.8352C97.3388 43.1296 97.0983 43.3683 96.8016 43.3683H79.2892C78.9926 43.3683 78.7521 43.1296 78.7521 42.8352V10.533ZM98.9504 10C98.6537 10 98.4132 10.2386 98.4132 10.533V42.8352C98.4132 43.1296 98.6537 43.3683 98.9504 43.3683H116.463C116.759 43.3683 117 43.1296 117 42.8352V10.533C117 10.2387 116.759 10 116.463 10H98.9504Z"]}},45469:function(e){e.exports={prefix:"cv",iconName:"widget-template-small-slider",icon:["117","26",[],"","M0 2.5C0 1.11929 1.11929 0 2.5 0H46.5C47.8807 0 49 1.11929 49 2.5C49 3.88071 47.8807 5 46.5 5H2.5C1.11929 5 0 3.88071 0 2.5ZM60 10.5C60 10.2239 60.2239 10 60.5 10H86.5C86.7761 10 87 10.2239 87 10.5V25.5C87 25.7761 86.7761 26 86.5 26H60.5C60.2239 26 60 25.7761 60 25.5V10.5ZM89.5 10C89.2239 10 89 10.2239 89 10.5V25.5C89 25.7761 89.2239 26 89.5 26H116.5C116.776 26 117 25.7761 117 25.5V10.5C117 10.2239 116.776 10 116.5 10H89.5ZM30 10.5C30 10.2239 30.2239 10 30.5 10H57.5C57.7761 10 58 10.2239 58 10.5V25.5C58 25.7761 57.7761 26 57.5 26H30.5C30.2239 26 30 25.7761 30 25.5V10.5ZM0.5 10C0.223858 10 0 10.2239 0 10.5V25.5C0 25.7761 0.223857 26 0.5 26H27.5C27.7761 26 28 25.7761 28 25.5V10.5C28 10.2239 27.7761 10 27.5 10H0.5Z"]}},16661:function(e){e.exports={prefix:"cv",iconName:"widget-blurb",icon:["24","24",[],"","m18.06 4c0.5193 0 0.9403 0.47885 0.9403 1.0746v13.851c0 0.5935-0.419 1.0746-0.9403 1.0746h-12.119c-0.51932 0-0.94032-0.4788-0.94032-1.0746v-13.851c0-0.59351 0.41899-1.0746 0.94032-1.0746zm-8.8039 1.0009-3.3737-9.1e-4 -2.5e-4 0.01192-7.1e-4 0.1723c-7e-5 0.02997-1.5e-4 0.06342-2.3e-4 0.10021l-6.5e-4 0.41755c-7e-5 0.0556-1.4e-4 0.11412-2.1e-4 0.17543l-9.8e-4 1.1122c-6e-5 0.08584-1.3e-4 0.1738-1.9e-4 0.26372l-6.8e-4 1.1653c-5e-5 0.10355-1.1e-4 0.20853-1.6e-4 0.31481l-8.7e-4 2.0234c-4e-5 0.1169-9e-5 0.2343-1.3e-4 0.352l-9.8e-4 3.162c-3e-5 0.1128-5e-5 0.2247-8e-5 0.3356l-9.3e-4 4.3855 0.01199 3e-4 0.09331 6e-4c0.02296 1e-4 0.04953 2e-4 0.07955 3e-4l0.35962 8e-4c0.04945 1e-4 0.10191 2e-4 0.15725 3e-4l0.57155 7e-4c0.07123 1e-4 0.14489 2e-4 0.22083 3e-4l0.74109 6e-4c0.0883 1e-4 0.17845 2e-4 0.27028 3e-4l1.1738 7e-4c0.10302 1e-4 0.20715 2e-4 0.31223 2e-4l1.6296 9e-4c0.111 0 0.2222 1e-4 0.3334 1e-4l2.6091 1e-3c0.103 0 0.205 1e-4 0.3056 1e-4l3.3618 9e-4h0.0119l3e-4 -0.0119 7e-4 -0.1723c1e-4 -0.03 2e-4 -0.0634 2e-4 -0.1002l7e-4 -0.4176c1e-4 -0.0556 1e-4 -0.1141 2e-4 -0.1754l1e-3 -1.1122c0-0.0858 1e-4 -0.1738 2e-4 -0.2637l7e-4 -1.1653c0-0.1035 1e-4 -0.2085 1e-4 -0.3148l9e-4 -2.0234c0-0.1169 1e-4 -0.2343 1e-4 -0.352l1e-3 -3.162c0-0.11282 0-0.22475 1e-4 -0.33566l9e-4 -4.3736v-0.01192l-0.012-3e-4 -0.0933-5.9e-4c-0.023-1e-4 -0.0495-1.9e-4 -0.0795-2.8e-4l-0.3597-8.2e-4c-0.0494-9e-5 -0.1019-1.7e-4 -0.1572-2.6e-4l-0.5716-7.4e-4c-0.0712-8e-5 -0.1449-1.6e-4 -0.2208-2.4e-4l-0.7411-6.7e-4c-0.0883-7e-5 -0.1784-1.4e-4 -0.2703-2.1e-4l-1.1738-7.9e-4c-0.103-6e-5 -0.2072-1.2e-4 -0.3123-1.8e-4l-1.6295-8.3e-4c-0.111-5e-5 -0.2222-1e-4 -0.3334-1.5e-4l-2.6091-9.9e-4c-0.10303-4e-5 -0.20494-7e-5 -0.30561-1e-4zm1.4382 7.9991c0.238 0 0.431 0.2239 0.431 0.5s-0.193 0.5-0.431 0.5h-2.638c-0.23805 0-0.43103-0.2239-0.43103-0.5s0.19298-0.5 0.43103-0.5zm5.1982-3c0.2667 0 0.4828 0.2239 0.4828 0.5s-0.2161 0.5-0.4828 0.5h-7.7844c-0.26663 0-0.48277-0.2239-0.48277-0.5s0.21614-0.5 0.48277-0.5zm0-3c0.2667 0 0.4828 0.22386 0.4828 0.5s-0.2161 0.5-0.4828 0.5h-7.7844c-0.26663 0-0.48277-0.22386-0.48277-0.5s0.21614-0.5 0.48277-0.5z"]}},4350:function(e){e.exports={prefix:"cv",iconName:"widget-image",icon:["24","24",[],"","M19 5C19.5523 5 20 5.44772 20 6V18C20 18.5523 19.5523 19 19 19H5C4.44772 19 4 18.5523 4 18V6C4 5.44772 4.44772 5 5 5H19ZM19 6H5V18H19V6ZM13.5271 8.72788L17.4195 14.7279C17.5698 14.9595 17.5038 15.2692 17.2721 15.4195C17.0405 15.5698 16.7308 15.5038 16.5805 15.2721L13.0911 9.89327L11.4091 12.2874C11.2306 12.5415 10.866 12.5731 10.6464 12.3536L10.0541 11.7612L7.4 15.3C7.23431 15.5209 6.92091 15.5657 6.7 15.4C6.47909 15.2343 6.43431 14.9209 6.6 14.7L9.6 10.7C9.78257 10.4566 10.1384 10.4313 10.3536 10.6464L10.9329 11.2258L12.6985 8.71257C12.9021 8.42271 13.3343 8.4307 13.5271 8.72788ZM8 7.5C8.82843 7.5 9.5 8.17157 9.5 9C9.5 9.82843 8.82843 10.5 8 10.5C7.17157 10.5 6.5 9.82843 6.5 9C6.5 8.17157 7.17157 7.5 8 7.5ZM8 8.5C7.72386 8.5 7.5 8.72386 7.5 9C7.5 9.27614 7.72386 9.5 8 9.5C8.27614 9.5 8.5 9.27614 8.5 9C8.5 8.72386 8.27614 8.5 8 8.5Z"]}},30613:function(e){e.exports={prefix:"cv",iconName:"widget-list-of-children-topics",icon:["24","24",[],"","M4 3.5C4 3.22386 4.22386 3 4.5 3H18.5C19.3284 3 20 3.67157 20 4.5V16.5C20 16.7761 19.7761 17 19.5 17C19.2239 17 19 16.7761 19 16.5V4.5C19 4.22386 18.7761 4 18.5 4H4.5C4.22386 4 4 3.77614 4 3.5ZM17.0597 5C17.579 5 18 5.47885 18 6.07465V19.9254C18 20.5189 17.581 21 17.0597 21H4.94032C4.42099 21 4 20.5212 4 19.9254V6.07465C4 5.48114 4.41899 5 4.94032 5H17.0597ZM8.25577 6.00091L4.88205 6L4.8818 6.01192L4.88109 6.18422L4.88086 6.28443L4.88021 6.70198L4.88 6.87741L4.87902 7.98959L4.87884 8.25331L4.87815 9.41857L4.87799 9.73338L4.87712 11.7568L4.87699 12.1088L4.87601 15.2708L4.87593 15.6064L4.875 19.9919L4.88699 19.9922L4.9803 19.9928L5.05985 19.9931L5.41947 19.9939L5.57672 19.9942L6.14827 19.9949L6.3691 19.9952L7.11019 19.9958L7.38047 19.9961L8.55432 19.9968L8.86655 19.997L10.4961 19.9979L10.8295 19.998L13.4386 19.999L13.7442 19.9991L17.106 20H17.1179L17.1182 19.9881L17.1189 19.8158L17.1191 19.7156L17.1198 19.298L17.12 19.1226L17.121 18.0104L17.1212 17.7467L17.1219 16.5814L17.122 16.2666L17.1229 14.2432L17.123 13.8912L17.124 10.7292L17.1241 10.3936L17.125 6.01998V6.00806L17.113 6.00776L17.0197 6.00717L16.9402 6.00689L16.5805 6.00607L16.4233 6.00581L15.8517 6.00507L15.6309 6.00483L14.8898 6.00416L14.6195 6.00395L13.4457 6.00316L13.1334 6.00298L11.5039 6.00215L11.1705 6.002L8.56138 6.00101L8.25577 6.00091ZM11.1404 9.69924C11.2044 9.73049 11.256 9.78216 11.2873 9.84608L12.1388 11.5877L14.0583 11.8593C14.2332 11.8841 14.3549 12.0459 14.3301 12.2208C14.3202 12.2912 14.287 12.3563 14.2359 12.4058L12.8426 13.7538L13.1774 15.6633C13.2079 15.8373 13.0916 16.0031 12.9177 16.0336C12.8476 16.0459 12.7754 16.0344 12.7126 16.0011L11 15.0926L9.2874 16.0011C9.13137 16.0839 8.93778 16.0245 8.85501 15.8684C8.82167 15.8056 8.81024 15.7334 8.82253 15.6633L9.15733 13.7538L7.7641 12.4058C7.63716 12.283 7.63382 12.0805 7.75664 11.9536C7.80611 11.9025 7.87122 11.8693 7.94166 11.8593L9.86116 11.5877L10.7127 9.84608C10.7902 9.6874 10.9818 9.62166 11.1404 9.69924Z"]}},54694:function(e){e.exports={prefix:"cv",iconName:"widget-playlist-videos",icon:["24","24",[],"","m19.568 6.5c0-1.3807-1.0891-2.5-2.4325-2.5h-10.703c-1.3434 0-2.4324 1.1193-2.4324 2.5v11c0 1.3807 1.089 2.5 2.4324 2.5h9.2433c0.2687 0 0.4865-0.2239 0.4865-0.5s-0.2178-0.5-0.4865-0.5h-9.2433c-0.80603 0-1.4595-0.6716-1.4595-1.5v-11c0-0.82843 0.65343-1.5 1.4595-1.5h10.703c0.8061 0 1.4595 0.67157 1.4595 1.5v5.5c0 0.2761 0.2178 0.5 0.4865 0.5s0.4865-0.2239 0.4865-0.5v-5.5zm-4.8649 9c0-0.2761-0.2178-0.5-0.4865-0.5h-3.8919c-0.2687 0-0.48646 0.2239-0.48646 0.5s0.21776 0.5 0.48646 0.5h3.8919c0.2687 0 0.4865-0.2239 0.4865-0.5zm1.9459-3.5c0-0.2761-0.2178-0.5-0.4864-0.5h-5.8379c-0.2687 0-0.48646 0.2239-0.48646 0.5s0.21776 0.5 0.48646 0.5h5.8379c0.2686 0 0.4864-0.2239 0.4864-0.5zm0-3.5c0-0.27614-0.2178-0.5-0.4864-0.5h-5.8379c-0.2687 0-0.48646 0.22386-0.48646 0.5s0.21776 0.5 0.48646 0.5h5.8379c0.2686 0 0.4864-0.22386 0.4864-0.5zm-8.1557 0.49035c0.38717-0.23599 0.38788-0.61974 0-0.85616l-1.1656-0.71044c-0.38716-0.23599-0.70232-0.05952-0.70232 0.39513v1.4868c0 0.46379 0.31444 0.63155 0.70232 0.39513l1.1656-0.71044zm0 3.4286c0.38717-0.236 0.38788-0.6197 0-0.8561l-1.1656-0.7105c-0.38716-0.236-0.70232-0.0595-0.70232 0.3951v1.4868c0 0.4638 0.31444 0.6316 0.70232 0.3952l1.1656-0.7105zm0 2.6486-1.1656-0.7104c-0.38716-0.236-0.70232-0.0595-0.70232 0.3951v1.4868c0 0.4638 0.31444 0.6315 0.70232 0.3951l1.1656-0.7104c0.38717-0.236 0.38788-0.6198 0-0.8562zm7.5071-1.2475c0-0.3314 0.2686-0.6 0.6-0.6h5.8c0.3314 0 0.6 0.2686 0.6 0.6v4.24c0 0.3313-0.2686 0.6-0.6 0.6h-5.8c-0.3314 0-0.6-0.2687-0.6-0.6v-4.24zm2.8146 1.0051c-0.0096 0.0156-0.0146 0.0336-0.0146 0.0519v2.1305c0 0.055 0.0446 0.0995 0.0995 0.0995 0.0184 0 0.0363-5e-3 0.052-0.0146l1.7432-1.0652c0.0469-0.0287 0.0617-0.09 0.0331-0.1369-0.0083-0.0135-0.0196-0.0248-0.0331-0.033l-1.7432-1.0653c-0.047-0.0286-0.1082-0.0139-0.1369 0.0331z"]}},45432:function(e){e.exports={prefix:"cv",iconName:"widget-playlist",icon:["24","24",[],"","m10.094 9c-0.25893 0-0.4688-0.22386-0.4688-0.5s0.20987-0.5 0.4688-0.5h5.625c0.2588 0 0.4687 0.22386 0.4687 0.5s-0.2099 0.5-0.4687 0.5zm0 3.5c-0.25893 0-0.4688-0.2239-0.4688-0.5s0.20987-0.5 0.4688-0.5h5.625c0.2588 0 0.4687 0.2239 0.4687 0.5s-0.2099 0.5-0.4687 0.5zm-3.75 7.5c-1.2944 0-2.3438-1.1193-2.3438-2.5v-11c0-1.3807 1.0493-2.5 2.3438-2.5h10.312c1.2945 0 2.3438 1.1193 2.3438 2.5v11c0 1.3807-1.0493 2.5-2.3438 2.5zm10.312-1c0.7767 0 1.4063-0.6716 1.4063-1.5v-11c0-0.82843-0.6296-1.5-1.4063-1.5h-10.312c-0.77665 0-1.4062 0.67157-1.4062 1.5v11c0 0.8284 0.6296 1.5 1.4062 1.5zm-0.9374-3.9956c0.2588 0 0.4687 0.2239 0.4687 0.5 0 0.2762-0.2099 0.5-0.4687 0.5h-5.625c-0.25893 0-0.4688-0.2238-0.4688-0.5 0-0.2761 0.20987-0.5 0.4688-0.5zm-7.416-6.8869c0.38828 0.24562 0.39938 0.63683 0 0.88947l-1.0704 0.67713c-0.38828 0.24562-0.70304 0.08532-0.70304-0.37847v-1.4868c0-0.45465 0.30366-0.63112 0.70304-0.37848zm0 3.4286c0.38828 0.2456 0.39938 0.6368 0 0.8895l-1.0704 0.6771c-0.38828 0.2456-0.70304 0.0853-0.70304-0.3785v-1.4868c0-0.4546 0.30366-0.6311 0.70304-0.3784zm0 3.5048c0.38828 0.2456 0.39938 0.6368 0 0.8894l-1.0704 0.6772c-0.38828 0.2456-0.70304 0.0853-0.70304-0.3785v-1.4868c0-0.4546 0.30366-0.6311 0.70304-0.3785z"]}},38635:function(e){e.exports={prefix:"cv",iconName:"widget-recently-added",icon:["24","24",[],"","M18.1405 4.69925C18.2044 4.7305 18.256 4.78217 18.2873 4.84608L19.1388 6.58769L21.0583 6.85934C21.2332 6.88409 21.3549 7.04592 21.3301 7.2208C21.3202 7.29125 21.287 7.35636 21.2359 7.40583L19.8426 8.75385L20.1774 10.6634C20.2079 10.8373 20.0916 11.0031 19.9177 11.0336C19.8476 11.0459 19.7754 11.0344 19.7126 11.0011L18 10.0926L16.2874 11.0011C16.1314 11.0839 15.9378 11.0245 15.855 10.8685C15.8217 10.8056 15.8102 10.7334 15.8225 10.6634L16.1573 8.75385L14.7641 7.40583C14.6372 7.28301 14.6338 7.08055 14.7566 6.95361C14.8061 6.90248 14.8712 6.86931 14.9417 6.85934L16.8612 6.58769L17.7127 4.84608C17.7903 4.68741 17.9818 4.62167 18.1405 4.69925ZM9.03756 11.1273C9.013 11.1675 9 11.2137 9 11.2608V16.7392C9 16.8806 9.11461 16.9952 9.256 16.9952C9.3031 16.9952 9.34929 16.9822 9.38948 16.9577L13.8722 14.2185C13.9928 14.1447 14.0309 13.9872 13.9571 13.8665C13.936 13.8319 13.9068 13.8028 13.8722 13.7816L9.38948 11.0424C9.26884 10.9686 9.11128 11.0067 9.03756 11.1273ZM3 8.50001C3 8.22386 3.22386 8.00001 3.5 8.00001H13C13.2761 8.00001 13.5 7.77615 13.5 7.50001C13.5 7.22386 13.2761 7.00001 13 7.00001H3.5C2.67157 7.00001 2 7.67158 2 8.50001V19.5C2 20.3284 2.67157 21 3.5 21H17.5C18.8807 21 20 19.8807 20 18.5V13C20 12.7239 19.7761 12.5 19.5 12.5C19.2239 12.5 19 12.7239 19 13V18.5C19 19.3284 18.3284 20 17.5 20H3.5C3.22386 20 3 19.7761 3 19.5V8.50001Z"]}},27188:function(e){e.exports={prefix:"cv",iconName:"widget-resources",icon:["24","24",[],"","m17.169 5.8824c0.5237 0 0.9482 0.42252 0.9482 0.94822v12.221c0 0.5237-0.4225 0.9482-0.9482 0.9482h-12.221c-0.52369 0-0.94822-0.4225-0.94822-0.9482v-12.221c0-0.52368 0.42251-0.94822 0.94822-0.94822zm-10.248 0.94161-1.9736-4.3e-4 -2.6e-4 0.01198-7.7e-4 0.17265c-8e-5 0.02998-1.6e-4 0.06343-2.4e-4 0.10017l-9.2e-4 0.59034c-7e-5 0.06086-1.4e-4 0.12443-2.1e-4 0.19058l-8.2e-4 0.90785c-6e-5 0.08438-1.2e-4 0.17074-1.9e-4 0.25894l-7.1e-4 1.1372c-5e-5 0.1005-1.1e-4 0.2023-1.6e-4 0.3052l-8.9e-4 1.9395c-4e-5 0.1108-8e-5 0.2219-1.3e-4 0.333l-8.6e-4 2.606c-3e-5 0.1029-6e-5 0.2047-9e-5 0.3052l-7.9e-4 3.3697 0.01198 2e-4 0.17264 8e-4c0.02999 1e-4 0.06343 2e-4 0.10018 2e-4l0.59034 1e-3c0.06085 0 0.12443 1e-4 0.19058 2e-4l0.90785 8e-4c0.08437 1e-4 0.17073 1e-4 0.25893 2e-4l1.1372 7e-4c0.10054 1e-4 0.20234 1e-4 0.30523 2e-4l1.9395 8e-4c0.1108 1e-4 0.2218 1e-4 0.333 2e-4l2.6059 8e-4c0.1029 1e-4 0.2047 1e-4 0.3053 1e-4l3.3696 8e-4 6e-4 -0.0473c0-0.0156 1e-4 -0.0349 2e-4 -0.0579l7e-4 -0.2996c1e-4 -0.0432 2e-4 -0.0896 3e-4 -0.139l6e-4 -0.5219c1e-4 -0.0661 2e-4 -0.1349 2e-4 -0.206l8e-4 -0.9608c1e-4 -0.0882 2e-4 -0.1782 2e-4 -0.2699l9e-4 -1.4843c0-0.105 1e-4 -0.2109 1e-4 -0.3176l1e-3 -2.3096c0-0.1108 0-0.2214 1e-4 -0.3316l9e-4 -3.0502v-0.25894l5e-4 -1.9736-0.0474-5.2e-4c-0.0155-9e-5 -0.0349-1.7e-4 -0.0578-2.5e-4l-0.2997-7.3e-4c-0.0432-8e-5 -0.0896-1.6e-4 -0.1389-2.4e-4l-0.522-6.6e-4c-0.0661-7e-5 -0.1348-1.4e-4 -0.206-2.1e-4l-0.9607-7.9e-4c-0.0882-7e-5 -0.1783-1.3e-4 -0.27-1.9e-4l-1.4843-8.5e-4c-0.1049-5e-5 -0.2109-1e-4 -0.3176-1.5e-4l-2.3095-9.5e-4c-0.1108-4e-5 -0.2215-8e-5 -0.3317-1.2e-4l-3.0502-8.9e-4c-0.0882-2e-5 -0.17456-4e-5 -0.25894-6e-5zm11.198-2.824c1.0359 0 1.8807 0.84759 1.8807 1.8791v12.233c0 0.2599-0.2107 0.4706-0.4706 0.4706s-0.4706-0.2107-0.4706-0.4706v-12.233c0-0.51243-0.4241-0.93794-0.9395-0.93794h-11.766c-0.2599 0-0.47059-0.21069-0.47059-0.47059s0.21069-0.47059 0.47059-0.47059zm-7.9452 10.353c0.2599 0 0.4706 0.2107 0.4706 0.4706s-0.2107 0.4706-0.4706 0.4706h-2.88c-0.2599 0-0.47059-0.2107-0.47059-0.4706s0.21069-0.4706 0.47059-0.4706zm4.708-2.8235c0.2599 0 0.4706 0.2107 0.4706 0.4706s-0.2107 0.4706-0.4706 0.4706h-7.588c-0.2599 0-0.47059-0.2107-0.47059-0.4706s0.21069-0.4706 0.47059-0.4706zm0-2.8235c0.2599 0 0.4706 0.21069 0.4706 0.47059s-0.2107 0.47059-0.4706 0.47059h-7.588c-0.2599 0-0.47059-0.21069-0.47059-0.47059s0.21069-0.47059 0.47059-0.47059z"]}},96619:function(e){e.exports={prefix:"cv",iconName:"widget-series",icon:["24","24",[],"","M4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5H20.5C20.7761 5 21 5.22386 21 5.5V17.5C21 17.7761 21.2239 18 21.5 18C21.7761 18 22 17.7761 22 17.5V5.5C22 4.67157 21.3284 4 20.5 4H4.5ZM9 10.2608C9 10.2137 9.013 10.1675 9.03756 10.1273C9.11128 10.0067 9.26884 9.96864 9.38948 10.0424L13.8722 12.7816C13.9068 12.8028 13.936 12.8319 13.9571 12.8665C14.0309 12.9872 13.9928 13.1447 13.8722 13.2185L9.38948 15.9577C9.34929 15.9822 9.3031 15.9952 9.256 15.9952C9.11461 15.9952 9 15.8806 9 15.7392V10.2608ZM18.5 6C19.3284 6 20 6.67157 20 7.5V18.5C20 19.3284 19.3284 20 18.5 20H3.5C2.67157 20 2 19.3284 2 18.5V7.5C2 6.67157 2.67157 6 3.5 6H18.5ZM3.5 7C3.22386 7 3 7.22386 3 7.5V18.5C3 18.7761 3.22386 19 3.5 19H18.5C18.7761 19 19 18.7761 19 18.5V7.5C19 7.22386 18.7761 7 18.5 7H3.5Z"]}},60432:function(e){e.exports={prefix:"cv",iconName:"widget-topic",icon:["24","24",[],"","M19 5.07465C19 4.47885 18.579 4 18.0597 4H5.94032C5.41899 4 5 4.48114 5 5.07465V18.9254C5 19.5212 5.42099 20 5.94032 20H18.0597C18.581 20 19 19.5189 19 18.9254V5.07465ZM5.88205 5L9.25577 5.00091L9.56138 5.00101L12.1705 5.002L12.5039 5.00215L14.1334 5.00298L14.4457 5.00316L15.6195 5.00395L15.8898 5.00416L16.6309 5.00483L16.8517 5.00507L17.4233 5.00581L17.5805 5.00607L17.9402 5.00689L18.0197 5.00717L18.113 5.00776L18.125 5.00806V5.01998L18.1241 9.39356L18.124 9.72922L18.123 12.8912L18.1229 13.2432L18.122 15.2666L18.1219 15.5814L18.1212 16.7467L18.121 17.0104L18.12 18.1226L18.1198 18.298L18.1191 18.7156L18.1189 18.8158L18.1182 18.9881L18.1179 19H18.106L14.7442 18.9991L14.4386 18.999L11.8295 18.998L11.4961 18.9979L9.86655 18.997L9.55432 18.9968L8.38047 18.9961L8.11019 18.9958L7.3691 18.9952L7.14827 18.9949L6.57672 18.9942L6.41947 18.9939L6.05985 18.9931L5.9803 18.9928L5.88699 18.9922L5.875 18.9919L5.87593 14.6064L5.87601 14.2708L5.87699 11.1088L5.87712 10.7568L5.87799 8.73338L5.87815 8.41857L5.87884 7.25331L5.87902 6.98959L5.88 5.87741L5.88021 5.70198L5.88086 5.28443L5.88109 5.18422L5.8818 5.01192L5.88205 5ZM12.2873 8.84608C12.256 8.78216 12.2044 8.73049 12.1404 8.69924C11.9818 8.62166 11.7902 8.6874 11.7127 8.84608L10.8612 10.5877L8.94166 10.8593C8.87122 10.8693 8.80611 10.9025 8.75664 10.9536C8.63382 11.0805 8.63716 11.283 8.7641 11.4058L10.1573 12.7538L9.82253 14.6633C9.81024 14.7334 9.82167 14.8056 9.85501 14.8684C9.93778 15.0245 10.1314 15.0839 10.2874 15.0011L12 14.0926L13.7126 15.0011C13.7754 15.0344 13.8476 15.0459 13.9177 15.0336C14.0916 15.0031 14.2079 14.8373 14.1774 14.6633L13.8426 12.7538L15.2359 11.4058C15.287 11.3563 15.3202 11.2912 15.3301 11.2208C15.3549 11.0459 15.2332 10.8841 15.0583 10.8593L13.1388 10.5877L12.2873 8.84608Z"]}},4621:function(e){e.exports={prefix:"cv",iconName:"widget-trending",icon:["24","24",[],"","M19.5 5C20.3284 5 21 5.67157 21 6.5V17.5C21 18.3284 20.3284 19 19.5 19H4.5C3.67157 19 3 18.3284 3 17.5V6.5C3 5.67157 3.67157 5 4.5 5H19.5ZM4.5 6C4.22386 6 4 6.22386 4 6.5V17.5C4 17.7761 4.22386 18 4.5 18H19.5C19.7761 18 20 17.7761 20 17.5V6.5C20 6.22386 19.7761 6 19.5 6H4.5ZM11.8972 16C12.5325 16 13.0896 15.8643 13.5683 15.593C14.047 15.3217 14.4188 14.9396 14.6838 14.4466C14.9488 13.9537 15.0813 13.377 15.0813 12.7165C15.0813 12.0564 14.9804 11.4703 14.7785 10.9581C14.5765 10.446 14.3049 10.0037 13.9634 9.63114C13.622 9.25863 13.239 8.95184 12.8145 8.71076C12.39 8.46969 11.9511 8.29096 11.4978 8.17457C11.0446 8.05819 10.609 8 10.1911 8C10.0739 8 9.98761 8.01838 9.93219 8.05514C9.87677 8.0919 9.84906 8.14552 9.84906 8.21602C9.84906 8.26597 9.87953 8.32806 9.94047 8.4023C10.1784 8.68583 10.3945 8.99857 10.5889 9.34051C10.7832 9.68245 10.8806 10.0192 10.8811 10.3507C10.8811 10.4752 10.8617 10.5941 10.8229 10.7075C10.8002 10.7736 10.7706 10.8376 10.7339 10.8997C10.674 10.7679 10.5929 10.6509 10.4907 10.549C10.3644 10.4229 10.2324 10.3257 10.0949 10.2572C9.9574 10.1888 9.83948 10.1546 9.74116 10.1546C9.70737 10.1546 9.68091 10.1658 9.6618 10.1883C9.64268 10.2108 9.63312 10.2392 9.63312 10.2734C9.63312 10.3256 9.63802 10.4023 9.64783 10.5036C9.65765 10.6049 9.66256 10.6996 9.66256 10.7878C9.66256 11.0517 9.62903 11.2829 9.56196 11.4812C9.49488 11.6795 9.41799 11.874 9.33128 12.0645C9.24457 12.2551 9.16769 12.4666 9.10061 12.6991C9.03354 12.9317 9 13.2123 9 13.5411C9 14.0346 9.11918 14.4658 9.35754 14.8345C9.59591 15.2032 9.93194 15.4897 10.3657 15.6938C10.7994 15.8979 11.3099 16 11.8972 16ZM11.936 14.9157C11.6152 14.9157 11.3579 14.8272 11.1642 14.6502C10.9705 14.4732 10.8737 14.2407 10.8737 13.9526C10.8737 13.7509 10.9094 13.5847 10.9808 13.454C11.0521 13.3232 11.1275 13.2042 11.2068 13.0968C11.2861 12.9895 11.3357 12.8712 11.3555 12.742C11.3586 12.7254 11.3651 12.7155 11.375 12.7122C11.3849 12.7089 11.3949 12.7122 11.405 12.722C11.4875 12.7886 11.5597 12.8664 11.6218 12.9554C11.6839 13.0444 11.7393 13.1371 11.7881 13.2333C11.8807 13.1137 11.9453 12.9369 11.982 12.7029C12.0186 12.4689 12.0131 12.2008 11.9654 11.8987C11.9624 11.8851 11.965 11.8743 11.9733 11.8661C11.9816 11.8579 11.9939 11.8571 12.0103 11.8636C12.2589 11.9886 12.4676 12.1464 12.6362 12.3368C12.8049 12.5272 12.933 12.735 13.0206 12.9601C13.1081 13.1853 13.1518 13.4103 13.1518 13.6353C13.1518 13.8634 13.108 14.0742 13.0202 14.2678C12.9325 14.4614 12.7985 14.6177 12.6182 14.7369C12.4379 14.8561 12.2105 14.9157 11.936 14.9157Z"]}},67159:function(e){e.exports={prefix:"cv",iconName:"widget-video",icon:["24","24",[],"","M4.5 6C4.22386 6 4 6.22386 4 6.5V17.5C4 17.7761 4.22386 18 4.5 18H19.5C19.7761 18 20 17.7761 20 17.5V6.5C20 6.22386 19.7761 6 19.5 6H4.5ZM19.5 5C20.3284 5 21 5.67157 21 6.5V17.5C21 18.3284 20.3284 19 19.5 19H4.5C3.67157 19 3 18.3284 3 17.5V6.5C3 5.67157 3.67157 5 4.5 5H19.5ZM10.0376 9.12732C10.013 9.16751 10 9.2137 10 9.2608V14.7392C10 14.8806 10.1146 14.9952 10.256 14.9952C10.3031 14.9952 10.3493 14.9822 10.3895 14.9577L14.8722 12.2185C14.9928 12.1447 15.0309 11.9872 14.9571 11.8665C14.936 11.8319 14.9068 11.8028 14.8722 11.7816L10.3895 9.04236C10.2688 8.96864 10.1113 9.00667 10.0376 9.12732Z"]}},97779:function(e,t,n){"use strict";n.d(t,{c:function(){return f}});var r=n(48088),o=n(20940),i=n(18499),a=n(31647),c=n(11306);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=n(70065).EventVersion.V2,l=function(){function e(t,n,r,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.data=n,this.actionContext=r,this.eventVersion=o||s}var t,n;return t=e,(n=[{key:"isType",value:function(e){return e===this.type}},{key:"enrich",value:function(e,t){this.validateKey(e),this[e]=t}},{key:"get",value:function(e){if(e&&this[e])return this[e]}},{key:"validateKey",value:function(e){"type"!==e&&"data"!==e||a.Q.ErrorHelper.throw(new c.H("".concat(e," is not a valid key"))),this[e]&&a.Q.ErrorHelper.throw(new c.H("Event already contains an enrichment named ".concat(e)))}}])&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),f={log:function(e,t,n,a){r.Radio.channel(i.B.ANALYTICS).trigger(o.f.Inlet,new l(e,t,n,a))}}},52076:function(e,t,n){"use strict";n.d(t,{k:function(){return O}});var r=n(39479),o=n(31647),i=n(11306),a=n(70065),c=n(25417),u=n(74537);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function y(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(h,e);var t,n,r,i,a,s=(i=h,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(i);if(a){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function h(){var e;return l(this,h),(e=s.apply(this,arguments)).contextHistory=[],e}return t=h,r=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"name",get:function(){return u.K.Context}},{key:"initialize",value:function(){this.listenTo(c.G.SHELL,o.Q.EventNames.ROUTE,this.setContext)}},{key:"setContext",value:function(e){this.contextHistory.length>=5&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:e})}},{key:"getCurrentContext",value:function(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}},{key:"fromPageLoad",value:function(){return 1===this.contextHistory.length}}])&&f(t.prototype,n),r&&f(t,r),Object.defineProperty(t,"prototype",{writable:!1}),h}(o.Q.Service),b=new h,v=n(97779);function m(){var e=b.getCurrentContext().appLink;return r.isObject(e)||o.Q.ErrorHelper.throw(new i.H("Applink does not exist. Check current context.")),e.application.replace(":","-")}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.location,n=e.entity,r=e.workflowPhase,a=void 0===r?null:r,c=e.descriptor,u=void 0===c?null:c;return t||o.Q.ErrorHelper.throw(new i.H("location must be set.")),n||o.Q.ErrorHelper.throw(new i.H("entity must be set.")),{productArea:m(),location:t,entity:n,descriptor:u,workflowPhase:a}}function w(){return o.Q.LocationUtils.GetCurrentPath()+o.Q.LocationUtils.GetCurrentQueryString()}var O={logUserAction:function(e,t){if(function(e){return!(!r.isArray(e)||!r.every(e,(function(e){return r.isObject(e)})))||!!r.isObject(e)}(e)&&r.isObject(t)){var n=O.buildUserActionEvent(t),o=n.userAction,i=n.action,a=n.eventVersion;v.c.log(o,e,i,a)}},logNavigate:function(e,t){var n=Object.assign({currentLocation:w(),appLink:e},t);v.c.log(a.UserAction.Navigate,n)},mergeOptions:function(e,t){return r.extend({},e,t)},buildActionContext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g(e)},buildUserActionEvent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.actionType,n=e.eventVersion,r=t,o=g(e);return{userAction:r,action:o,eventVersion:n}},buildCurrentLocation:function(){return w()},buildSearchEvent:function(e,t){return{data:{query:e},action:g({entity:a.EntityType.Video,location:a.LocationContext.SearchBar,descriptor:t})}},buildInstantSearchEvent:function(e,t,n){var r;n===a.SearchQueryType.Series&&(r=a.EntityType.Series),n===a.SearchQueryType.Folder&&(r=a.EntityType.Folder),n===a.SearchQueryType.Tags&&(r=a.EntityType.Tag),n===a.SearchQueryType.Video&&(r=a.EntityType.Video),n===a.SearchQueryType.Subjects&&(r=a.EntityType.Classification);var o={instant:{},query:e};return t.id&&(o.instant.selectedId=t.id),t.name&&(o.instant.selectedName=t.name),{data:o,action:g({entity:r,location:a.LocationContext.SearchBar})}},mapInteractionType:function(e){switch(e){case a.InteractionType.DragDrop:return a.InteractionTypeDescriptor.DragDrop;case a.InteractionType.FileSelect:return a.InteractionTypeDescriptor.FileSelect;default:return}}}},464:function(e,t,n){"use strict";n.d(t,{q:function(){return he}});var r="URLSearchParams"in self,o="Symbol"in self&&"iterator"in Symbol,i="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in self,c="ArrayBuffer"in self;if(c)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function f(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o&&(t[Symbol.iterator]=function(){return t}),t}function y(e){this.map={},e instanceof y?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function b(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():c&&i&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(e)||s(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var e,t,n,r=d(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=h(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(O)}),this.json=function(){return this.text().then(JSON.parse)},this}y.prototype.append=function(e,t){e=l(e),t=f(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},y.prototype.delete=function(e){delete this.map[l(e)]},y.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},y.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},y.prototype.set=function(e,t){this.map[l(e)]=f(t)},y.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},y.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),p(e)},y.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},y.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),p(e)},o&&(y.prototype[Symbol.iterator]=y.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(e,t){var n,r,o=(t=t||{}).body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new y(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new y(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),g.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function O(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function S(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"",this.headers=new y(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},m.call(w.prototype),m.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},S.error=function(){var e=new S(null,{status:0,statusText:""});return e.type="error",e};var C=[301,302,303,307,308];S.redirect=function(e,t){if(-1===C.indexOf(t))throw new RangeError("Invalid status code");return new S(null,{status:t,headers:{location:e}})};var P=self.DOMException;try{new P}catch(e){(P=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),P.prototype.constructor=P}function E(e,t){return new Promise((function(n,r){var o=new w(e,t);if(o.signal&&o.signal.aborted)return r(new P("Aborted","AbortError"));var a=new XMLHttpRequest;function u(){a.abort()}a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new y,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;setTimeout((function(){n(new S(o,r))}),0)},a.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.onabort=function(){setTimeout((function(){r(new P("Aborted","AbortError"))}),0)},a.open(o.method,function(e){try{return""===e&&self.location.href?self.location.href:e}catch(t){return e}}(o.url),!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&(i?a.responseType="blob":c&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),o.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),o.signal&&(o.signal.addEventListener("abort",u),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",u)}),a.send(void 0===o._bodyInit?null:o._bodyInit)}))}E.polyfill=!0,self.fetch||(self.fetch=E,self.Headers=y,self.Request=w,self.Response=S);const k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function _(e,t,n,r){let o,i,a;const c=t||[0],u=(n=n||0)>>>3,s=-1===r?3:0;for(o=0;o<e.length;o+=1)a=o+u,i=a>>>2,c.length<=i&&c.push(0),c[i]|=e[o]<<8*(s+r*(a%4));return{value:c,binLen:8*e.length+n}}function R(e,t,n){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(e,t,r){return function(e,t,n,r){let o,i,a,c;if(0!=e.length%2)throw new Error("String of HEX type must be in byte increments");const u=t||[0],s=(n=n||0)>>>3,l=-1===r?3:0;for(o=0;o<e.length;o+=2){if(i=parseInt(e.substr(o,2),16),isNaN(i))throw new Error("String of HEX type contains invalid characters");for(c=(o>>>1)+s,a=c>>>2;u.length<=a;)u.push(0);u[a]|=i<<8*(l+r*(c%4))}return{value:u,binLen:4*e.length+n}}(e,t,r,n)};case"TEXT":return function(e,r,o){return function(e,t,n,r,o){let i,a,c,u,s,l,f,p,y=0;const d=n||[0],h=(r=r||0)>>>3;if("UTF8"===t)for(f=-1===o?3:0,c=0;c<e.length;c+=1)for(i=e.charCodeAt(c),a=[],128>i?a.push(i):2048>i?(a.push(192|i>>>6),a.push(128|63&i)):55296>i||57344<=i?a.push(224|i>>>12,128|i>>>6&63,128|63&i):(c+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(c)),a.push(240|i>>>18,128|i>>>12&63,128|i>>>6&63,128|63&i)),u=0;u<a.length;u+=1){for(l=y+h,s=l>>>2;d.length<=s;)d.push(0);d[s]|=a[u]<<8*(f+o*(l%4)),y+=1}else for(f=-1===o?2:0,p="UTF16LE"===t&&1!==o||"UTF16LE"!==t&&1===o,c=0;c<e.length;c+=1){for(i=e.charCodeAt(c),!0===p&&(u=255&i,i=u<<8|i>>>8),l=y+h,s=l>>>2;d.length<=s;)d.push(0);d[s]|=i<<8*(f+o*(l%4)),y+=2}return{value:d,binLen:8*y+r}}(e,t,r,o,n)};case"B64":return function(e,t,r){return function(e,t,n,r){let o,i,a,c,u,s,l,f=0;const p=t||[0],y=(n=n||0)>>>3,d=-1===r?3:0,h=e.indexOf("=");if(-1===e.search(/^[a-zA-Z0-9=+/]+$/))throw new Error("Invalid character in base-64 string");if(e=e.replace(/=/g,""),-1!==h&&h<e.length)throw new Error("Invalid '=' found in base-64 string");for(i=0;i<e.length;i+=4){for(u=e.substr(i,4),c=0,a=0;a<u.length;a+=1)o=k.indexOf(u.charAt(a)),c|=o<<18-6*a;for(a=0;a<u.length-1;a+=1){for(l=f+y,s=l>>>2;p.length<=s;)p.push(0);p[s]|=(c>>>16-8*a&255)<<8*(d+r*(l%4)),f+=1}}return{value:p,binLen:8*f+n}}(e,t,r,n)};case"BYTES":return function(e,t,r){return function(e,t,n,r){let o,i,a,c;const u=t||[0],s=(n=n||0)>>>3,l=-1===r?3:0;for(i=0;i<e.length;i+=1)o=e.charCodeAt(i),c=i+s,a=c>>>2,u.length<=a&&u.push(0),u[a]|=o<<8*(l+r*(c%4));return{value:u,binLen:8*e.length+n}}(e,t,r,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(e){throw new Error("ARRAYBUFFER not supported by this environment")}return function(e,t,r){return function(e,t,n,r){return _(new Uint8Array(e),t,n,r)}(e,t,r,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(e){throw new Error("UINT8ARRAY not supported by this environment")}return function(e,t,r){return _(e,t,r,n)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function j(e,t,n,r){switch(e){case"HEX":return function(e){return function(e,t,n,r){let o,i,a="";const c=t/8,u=-1===n?3:0;for(o=0;o<c;o+=1)i=e[o>>>2]>>>8*(u+n*(o%4)),a+="0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i);return r.outputUpper?a.toUpperCase():a}(e,t,n,r)};case"B64":return function(e){return function(e,t,n,r){let o,i,a,c,u,s="";const l=t/8,f=-1===n?3:0;for(o=0;o<l;o+=3)for(c=o+1<l?e[o+1>>>2]:0,u=o+2<l?e[o+2>>>2]:0,a=(e[o>>>2]>>>8*(f+n*(o%4))&255)<<16|(c>>>8*(f+n*((o+1)%4))&255)<<8|u>>>8*(f+n*((o+2)%4))&255,i=0;i<4;i+=1)s+=8*o+6*i<=t?k.charAt(a>>>6*(3-i)&63):r.b64Pad;return s}(e,t,n,r)};case"BYTES":return function(e){return function(e,t,n){let r,o,i="";const a=t/8,c=-1===n?3:0;for(r=0;r<a;r+=1)o=e[r>>>2]>>>8*(c+n*(r%4))&255,i+=String.fromCharCode(o);return i}(e,t,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(e){throw new Error("ARRAYBUFFER not supported by this environment")}return function(e){return function(e,t,n){let r;const o=t/8,i=new ArrayBuffer(o),a=new Uint8Array(i),c=-1===n?3:0;for(r=0;r<o;r+=1)a[r]=e[r>>>2]>>>8*(c+n*(r%4))&255;return i}(e,t,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(e){throw new Error("UINT8ARRAY not supported by this environment")}return function(e){return function(e,t,n){let r;const o=t/8,i=-1===n?3:0,a=new Uint8Array(o);for(r=0;r<o;r+=1)a[r]=e[r>>>2]>>>8*(i+n*(r%4))&255;return a}(e,t,n)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function T(e){const t={outputUpper:!1,b64Pad:"=",outputLen:-1},n=e||{},r="Output length must be a multiple of 8";if(t.outputUpper=n.outputUpper||!1,n.b64Pad&&(t.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw new Error(r);t.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw new Error(r);t.outputLen=n.shakeLen}if("boolean"!=typeof t.outputUpper)throw new Error("Invalid outputUpper formatting option");if("string"!=typeof t.b64Pad)throw new Error("Invalid b64Pad formatting option");return t}function A(e,t){return e<<t|e>>>32-t}function L(e,t,n){return e^t^n}function x(e,t,n){return e&t^e&n^t&n}function V(e,t){const n=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(n>>>16))<<16|65535&n}function N(e,t,n,r,o){const i=(65535&e)+(65535&t)+(65535&n)+(65535&r)+(65535&o);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(o>>>16)+(i>>>16))<<16|65535&i}function D(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function B(e,t){let n,r,o,i,a,c,u;const s=[];for(n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],u=0;u<80;u+=1)s[u]=u<16?e[u]:A(s[u-3]^s[u-8]^s[u-14]^s[u-16],1),c=u<20?N(A(n,5),(l=r)&o^~l&i,a,1518500249,s[u]):u<40?N(A(n,5),L(r,o,i),a,1859775393,s[u]):u<60?N(A(n,5),x(r,o,i),a,2400959708,s[u]):N(A(n,5),L(r,o,i),a,3395469782,s[u]),a=i,i=o,o=A(r,30),r=n,n=c;var l;return t[0]=V(n,t[0]),t[1]=V(r,t[1]),t[2]=V(o,t[2]),t[3]=V(i,t[3]),t[4]=V(a,t[4]),t}function I(e,t,n,r){let o;const i=15+(t+65>>>9<<4),a=t+n;for(;e.length<=i;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[i]=4294967295&a,e[i-1]=a/4294967296|0,o=0;o<e.length;o+=16)r=B(e.slice(o,o+16),r);return r}var U,M=JSON.parse('{"i8":"1.10.1-dev.0"}'),F=new Uint8Array(16);function H(){if(!U&&!(U="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return U(F)}for(var z=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,G=function(e){return"string"==typeof e&&z.test(e)},q=[],Q=0;Q<256;++Q)q.push((Q+256).toString(16).substr(1));var W=function(e,t,n){var r=(e=e||{}).random||(e.rng||H)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(q[e[t+0]]+q[e[t+1]]+q[e[t+2]]+q[e[t+3]]+"-"+q[e[t+4]]+q[e[t+5]]+"-"+q[e[t+6]]+q[e[t+7]]+"-"+q[e[t+8]]+q[e[t+9]]+"-"+q[e[t+10]]+q[e[t+11]]+q[e[t+12]]+q[e[t+13]]+q[e[t+14]]+q[e[t+15]]).toLowerCase();if(!G(n))throw TypeError("Stringified UUID is invalid");return n}(r)},Y=n(4705);function Z(e){return Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z(e)}var K=18e5;function $(e){return(new Date).getTime()+e}function X(e,t,n){var r,o=(r=t)===Y.Z1.LocalStorage?Y.SG:r===Y.Z1.SessionStorage?Y.qS:void 0;if(!(null==o?void 0:o.isAvailable()))return null;var i,a=o.get(e);if(!function(e){return"object"===Z(e)&&"string"==typeof(null==e?void 0:e.id)&&!(!G(e.id)||4!==function(e){if(!G(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}(e.id))&&"number"==typeof(null==e?void 0:e.ttl)&&!((null==e?void 0:e.ttl)<=0||isNaN(null==e?void 0:e.ttl))}(a)||(i=null==a?void 0:a.ttl)&&(new Date).getTime()>i){var c={id:W(),ttl:$(n)};return o.set(e,c),c.id}var u={id:a.id,ttl:$(n)};return o.set(e,u),a.id}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ee={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},te="Unknown";function ne(e,t,n){var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?J(e,t):void 0}}(e,t)||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.")}()}(t.exec(n)||[],1)[0];return r||(r=te),{name:e,version:r}}function re(e,t,n){if(!t)return{name:e,version:te};var r=t.exec(n);return{name:e,version:r&&r.length?r[0].trim():te}}var oe=function(){var e=window.navigator.userAgent;return ee.android.test(e)?re("Android",ee.androidVersion,e):ee.iphone.test(e)||ee.ipad.test(e)?re("iOS",ee.iosVersion,e):ee.linux.test(e)?re("Linux",null,e):ee.unix.test(e)?re("Unix",null,e):ee.mac.test(e)?re("Macintosh",ee.osxVersion,e):ee.windows.test(e)?function(e,t){var n={name:"Windows",version:null};return ee.win2000.test(t)&&(n.version="2000"),ee.winXP.test(t)&&(n.version="XP"),ee.winVista.test(t)&&(n.version="Vista"),ee.win7.test(t)&&(n.version="7"),ee.win8.test(t)&&(n.version="8"),ee.win81.test(t)&&(n.version="8.1"),ee.win10.test(t)&&(n.version="10"),n.version||(n.version=te),n}(0,e):ee.blackberry.test(e)?re("BlackBerry",ee.blackberryVersion,e):ee.windowsPhone.test(e)?re("Windows Phone",ee.windowsPhoneVersion,e):{name:te,version:te}},ie=n(70825),ae=n(75390),ce=n(82783),ue=n(29573),se={CvApSoutheast1:{systemName:ue.M.CvApSoutheast1},CvApSoutheast2:{systemName:ue.M.CvApSoutheast2},CvEuWest1:{systemName:ue.M.CvEuWest1},CvNaWest1:{systemName:ue.M.CvNaWest1}};function le(e){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(e)}function fe(){fe=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l={};function f(){}function p(){}function y(){}var d={};c(d,o,(function(){return this}));var h=Object.getPrototypeOf,b=h&&h(h(P([])));b&&b!==t&&n.call(b,o)&&(d=b);var v=y.prototype=f.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){function r(o,i,a,c){var u=s(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==le(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=y,c(v,"constructor",y),c(y,"constructor",p),p.displayName=c(y,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,a,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},m(g.prototype),c(g.prototype,i,(function(){return this})),e.AsyncIterator=g,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new g(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,a,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ye=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}))},de="unknown",he=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t,this.initialize()}var t,n;return t=e,n=[{key:"initialize",value:function(){this.validateOptions()}},{key:"name",get:function(){return"CollectionApiClient"}},{key:"log",value:function(e){return ye(this,void 0,void 0,fe().mark((function t(){return fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Array.isArray(e)){t.next=2;break}return t.abrupt("return",this.logBulk(e));case 2:if(this.shouldLog(e)){t.next=4;break}return t.abrupt("return");case 4:return this.validateEvent(e),t.t0=this,t.next=8,this.formatData(e);case 8:return t.t1=t.sent,t.next=11,t.t0.postData.call(t.t0,t.t1);case 11:case"end":return t.stop()}}),t,this)})))}},{key:"logBulk",value:function(e){return ye(this,void 0,void 0,fe().mark((function t(){var n,r,o=this;return fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.filter((function(e){return o.shouldLog(e)})),n.length){t.next=3;break}return t.abrupt("return");case 3:return n.forEach((function(e){return o.validateEvent(e)})),t.next=6,Promise.all(n.map((function(e){return o.formatData(e)})));case 6:return r=t.sent,t.next=9,this.postData(r);case 9:case"end":return t.stop()}}),t,this)})))}},{key:"validateOptions",value:function(){if(!ie.O.isFunction(this.options.getUser))throw new Error("getUser option is required.")}},{key:"shouldLog",value:function(e){return!ie.O.isFunction(this.options.shouldLog)||this.options.shouldLog(e)}},{key:"postData",value:function(e){return ye(this,void 0,void 0,fe().mark((function t(){var n,r,o,i,a;return fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getRegionalUrl(this.options.collectionApiUrls);case 2:return n=t.sent,r=JSON.stringify(e),o=Object.assign({"Content-Type":"application/json"},this.getSignatureHeader(r)),i=ae._.safeUrlConcat(n,"/v1/ingest"),Array.isArray(e)&&(i=ae._.safeUrlConcat(i,"/bulk")),t.prev=7,t.next=10,fetch(i,{method:"POST",mode:"cors",headers:o,body:r});case 10:(a=t.sent).ok||this.logError(new Error("CollectionApiClient failed to log event. Status: ".concat(a.status," ").concat(a.statusText))),t.next=17;break;case 14:t.prev=14,t.t0=t.catch(7),this.logError(t.t0);case 17:case"end":return t.stop()}}),t,this,[[7,14]])})))}},{key:"getSignatureHeader",value:function(e){var t=new class extends class{constructor(e,t,n){const r=n||{};if(this.t=t,this.i=r.encoding||"UTF8",this.numRounds=r.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.s=e,this.o=[],this.h=0,this.u=!1,this.l=0,this.A=!1,this.p=[],this.R=[]}update(e){let t,n=0;const r=this.U>>>5,o=this.T(e,this.o,this.h),i=o.binLen,a=o.value,c=i>>>5;for(t=0;t<c;t+=r)n+this.U<=i&&(this.F=this.m(a.slice(t,t+r),this.F),n+=this.U);this.l+=n,this.o=a.slice(n>>>5),this.h=i%this.U,this.u=!0}getHash(e,t){let n,r,o=this.g;const i=T(t);if(this.B){if(-1===i.outputLen)throw new Error("Output length must be specified in options");o=i.outputLen}const a=j(e,o,this.v,i);if(this.A&&this.Y)return a(this.Y(i));for(r=this.H(this.o.slice(),this.h,this.l,this.C(this.F),o),n=1;n<this.numRounds;n+=1)this.B&&o%32!=0&&(r[r.length-1]&=16777215>>>24-o%32),r=this.H(r,o,0,this.I(this.s),o);return a(r)}setHMACKey(e,t,n){if(!this.L)throw new Error("Variant does not support HMAC");if(this.u)throw new Error("Cannot set MAC key after calling update");const r=R(t,(n||{}).encoding||"UTF8",this.v);this.M(r(e))}M(e){const t=this.U>>>3,n=t/4-1;let r;if(1!==this.numRounds)throw new Error("Cannot set numRounds with MAC");if(this.A)throw new Error("MAC key already set");for(t<e.binLen/8&&(e.value=this.H(e.value,e.binLen,0,this.I(this.s),this.g));e.value.length<=n;)e.value.push(0);for(r=0;r<=n;r+=1)this.p[r]=909522486^e.value[r],this.R[r]=1549556828^e.value[r];this.F=this.m(this.p,this.F),this.l=this.U,this.A=!0}getHMAC(e,t){const n=T(t);return j(e,this.g,this.v,n)(this.N())}N(){let e;if(!this.A)throw new Error("Cannot call getHMAC without first setting MAC key");const t=this.H(this.o.slice(),this.h,this.l,this.C(this.F),this.g);return e=this.m(this.R,this.I(this.s)),e=this.H(t,this.g,this.U,e,this.g),e}}{constructor(e,t,n){if("SHA-1"!==e)throw new Error("Chosen SHA variant is not supported");super(e,t,n);const r=n||{};this.L=!0,this.Y=this.N,this.v=-1,this.T=R(this.t,this.i,this.v),this.m=B,this.C=function(e){return e.slice()},this.I=D,this.H=I,this.F=[1732584193,4023233417,2562383102,271733878,3285377520],this.U=512,this.g=160,this.B=!1,r.hmacKey&&this.M(function(e,t,n,r){const o="hmacKey must include a value and format";if(!t)throw new Error(o);if(void 0===t.value||!t.format)throw new Error(o);return R(t.format,t.encoding||"UTF8",n)(t.value)}(0,r.hmacKey,this.v))}}("SHA-1","TEXT",{hmacKey:{value:"zXJL9nOHxzDlMUDjiP41",format:"TEXT",encoding:"UTF8"}});return t.update(e),{"cv-analytics-signature":"".concat(this.options.collectionApiClientId,".").concat(t.getHash("B64"))}}},{key:"getRegionalUrl",value:function(e){return ye(this,void 0,void 0,fe().mark((function t(){var n;return fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getRegion();case 2:n=t.sent,t.t0=n.systemName,t.next=t.t0===ue.M.CvEuWest1?6:t.t0===ue.M.CvApSoutheast2?7:t.t0===ue.M.CvNaWest1?8:(t.t0,ue.M.CvApSoutheast1,9);break;case 6:return t.abrupt("return",e.cvEuWest1);case 7:return t.abrupt("return",e.cvApSoutheast2);case 8:return t.abrupt("return",e.cvNaWest1);case 9:return t.abrupt("return",e.cvApSoutheast1);case 10:case"end":return t.stop()}}),t,this)})))}},{key:"validateEvent",value:function(e){"string"!=typeof e.type&&this.logError(new Error("Event type is required."),!0),ie.O.isObject(e.actionContext)||this.logError(new Error("Event actionContext is required."),!0),e.actionContext.entity||this.logError(new Error("Event actionContext entity is required."),!0)}},{key:"formatData",value:function(e){return ye(this,void 0,void 0,fe().mark((function t(){return fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=e.type,t.next=3,this.getEventData(e);case 3:return t.t1=t.sent,t.t2=this.getEventMetadata(e),t.abrupt("return",{type:t.t0,data:t.t1,metadata:t.t2});case 6:case"end":return t.stop()}}),t,this)})))}},{key:"getEventData",value:function(e){return ye(this,void 0,void 0,fe().mark((function t(){var n,r,o,i,a,c,u=this;return fe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.actionContext,t.next=3,this.getUserData();case 3:return r=t.sent,o={user:r,action:n,platform:this.getPlatformMetadata(),product:{name:this.options.productName,version:this.options.productVersion},session:this.getSessionData()},i=this.extractData(e),a=Object.keys(o).map((function(e){return e.toLowerCase()})),c=Object.keys(i).map((function(e){return e.toLowerCase()})),a.forEach((function(e){c.includes(e)&&u.logError(new Error("".concat(e," is a reserved key.")),!0)})),t.abrupt("return",Object.assign(Object.assign({},o),i));case 10:case"end":return t.stop()}}),t,this)})))}},{key:"extractData",value:function(e){return ie.O.isFunction(this.options.formatData)?this.options.formatData(e):(t={},n=e.actionContext.entity,r=e.data,n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t);var t,n,r}},{key:"getUserData",value:function(){var e,t;return ye(this,void 0,void 0,fe().mark((function n(){var r;return fe().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,this.options.getUser();case 3:if(null==(r=n.sent)?void 0:r.id){n.next=6;break}return n.abrupt("return");case 6:return n.t0=r.id,n.t1=(null===(e=r.role)||void 0===e?void 0:e.toLowerCase())||de,n.t2=(null===(t=r.userGroup)||void 0===t?void 0:t.toLowerCase())||ce.Y.Unknown,n.t3=this.normalizeYearGroup(r.yearGroup),n.t4=r.customerId,n.t5=r.customerName,n.t6=r.customerGuid,n.t7=r.crmId,n.t8=r.countryCode,n.next=17,this.getRegion();case 17:return n.t9=n.sent,n.t10={id:n.t4,name:n.t5,customerGuid:n.t6,crmId:n.t7,country:n.t8,region:n.t9,openCustomer:!1},n.abrupt("return",{id:n.t0,role:n.t1,userGroup:n.t2,yearGroup:n.t3,customer:n.t10});case 22:n.prev=22,n.t11=n.catch(0),this.logError(n.t11);case 25:case"end":return n.stop()}}),n,this,[[0,22]])})))}},{key:"getRegion",value:function(){return ye(this,void 0,void 0,fe().mark((function e(){var t,n;return fe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.options.regionName,e.prev=1,e.next=4,this.options.getUser();case 4:(null==(n=e.sent)?void 0:n.instanceRegion)&&(t=n.instanceRegion),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),this.logError(e.t0);case 11:return t||this.logError(new Error("RegionName is not set."),!0),e.abrupt("return",this.getRegionByName(t.toLowerCase()));case 13:case"end":return e.stop()}}),e,this,[[1,8]])})))}},{key:"getSessionData",value:function(){return e=X("cv:session",Y.Z1.LocalStorage,K),t=X("cv:window",Y.Z1.SessionStorage,K),e||t?{id:e,windowId:t}:null;var e,t}},{key:"getPlatformMetadata",value:function(){return{browser:(e=window.navigator.userAgent,ee.chrome.test(e)?ne("Chrome",ee.generalVersion,e):ee.firefox.test(e)?ne("Firefox",ee.generalVersion,e):ee.safari.test(e)?ne("Safari",ee.generalVersion,e):ee.ie.test(e)?ne("Internet Explorer",ee.ieVersion,e):ee.edge.test(e)?ne("Edge",ee.edgeVersion,e):ee.opera.test(e)?ne("Opera",ee.operaVersion,e):{name:te,version:te}),os:oe(),request:{url:window.location.href,referrer:document.referrer},screenResolution:"".concat(window.screen.width,"x").concat(window.screen.height)};var e}},{key:"getEventMetadata",value:function(e){return{client:{name:"".concat(this.name,".ts"),version:M.i8,region:this.getRegionByName(this.options.regionName)},timestamp:(new Date).toISOString(),eventVersion:e.eventVersion}}},{key:"getRegionByName",value:function(e){var t;return Object.values(se).forEach((function(n){n.systemName===e&&(t=n)})),t}},{key:"normalizeYearGroup",value:function(e){return e?e.toLowerCase().split(" ").join("_"):de}},{key:"logError",value:function(e,t){if(this.options.logError&&this.options.logError(e),t)throw e}}],n&&pe(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},20940:function(e,t,n){"use strict";var r;n.d(t,{f:function(){return r}}),function(e){e.Inlet="event:inlet",e.Outlet="event:outlet"}(r||(r={}))},18499:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});var r={ANALYTICS:"global:analytics"}},74537:function(e,t,n){"use strict";var r;n.d(t,{K:function(){return r}}),function(e){e.Analytics="AnalyticsService",e.Context="ContextService"}(r||(r={}))},29573:function(e,t,n){"use strict";var r;n.d(t,{M:function(){return r}}),function(e){e.CvApSoutheast1="cv-ap-southeast-1",e.CvApSoutheast2="cv-ap-southeast-2",e.CvEuWest1="cv-eu-west-1",e.CvNaWest1="cv-na-west-1"}(r||(r={}))},22218:function(e,t,n){"use strict";var r,o,i,a,c,u,s,l,f,p,y,d,h,b,v,m,g,w,O,S,C,P,E,k,_,R,j,T;n.d(t,{$N:function(){return w},DL:function(){return C},LZ:function(){return i},MC:function(){return h},OR:function(){return p},UX:function(){return d},Vw:function(){return r},YK:function(){return g},YM:function(){return E},_1:function(){return _},_S:function(){return b},eq:function(){return T},eu:function(){return a},gL:function(){return O},iF:function(){return S},mB:function(){return y},n8:function(){return j},py:function(){return o},s_:function(){return R},w4:function(){return c},yh:function(){return u}}),function(e){e.Stream="cv_product_stream",e.WebPlayerStream="cv_product_webplayer_stream",e.StreamProgress="cv_product_stream_progress",e.Login="cv_product_login",e.LoginSsoRedirect="cv_product_login_sso_redirect",e.LoginFailed="cv_product_login_failed",e.Search="cv_product_search",e.InstantSearch="cv_product_instant_search",e.SearchEmptyResult="cv_product_search_empty_result",e.Filter="cv_product_search_filter",e.SearchLanding="cv_product_search_landing",e.Share="cv_product_share",e.Unshare="cv_product_unshare",e.WorkspaceAdd="cv_product_tv_add",e.Rename="cv_product_rename",e.Move="cv_product_move",e.Sort="cv_product_sort",e.Create="cv_product_create",e.Delete="cv_product_delete",e.Associate="cv_product_associate",e.Dissociate="cv_product_dissociate",e.Edit="cv_product_edit",e.Approve="cv_product_approve",e.Reject="cv_product_reject",e.Disable="cv_product_disable",e.Upload="cv_product_upload",e.Download="cv_product_download",e.Navigate="cv_product_navigate",e.Click="cv_product_click",e.Suggest="cv_product_suggest",e.EditAssoc="cv_product_edit_assoc",e.Play="cv_product_play",e.Favourite="cv_product_favourite",e.Follow="cv_product_follow",e.Prefer="cv_product_prefer",e.Print="cv_product_print",e.Copy="cv_product_copy",e.Activate="cv_product_activate",e.VerifyEmail="cv_product_verify_email",e.ChangePassword="cv_product_change_password",e.ManageGroup="cv_product_manage_group",e.Export="cv_product_export",e.SendEmail="cv_product_send_email",e.Publish="cv_product_publish",e.Answer="cv_product_submit",e.Complete="cv_product_complete",e.Archive="cv_product_archive",e.Promote="cv_product_promote",e.Demote="cv_product_demote",e.BulkAction="cv_product_bulk_action",e.Remove="cv_product_remove",e.Dismiss="cv_product_dismiss",e.Open="cv_product_open",e.SetAccess="cv_product_set_access",e.AddToLocalCache="cv_product_add_to_lc",e.ResolveWarning="cv_product_resolve_warning",e.DismissWarning="cv_product_dismiss_warning"}(r||(r={})),function(e){e.Folder="folder",e.Video="video",e.Rating="rating",e.Series="series",e.Library="library",e.Resource="resource",e.Tag="tag",e.Subtitle="subtitle",e.Chapter="chapter",e.Restriction="restriction",e.Interactive="interactive",e.Interaction="interaction",e.PDF="pdf",e.CustomerSetting="customer_setting",e.UserSetting="user_setting",e.LibraryRequest="staff_request",e.Logo="logo",e.Pagination="pagination",e.Thumbnail="thumbnail",e.Banner="banner",e.Link="link",e.Playlist="playlist",e.Playlists="playlists",e.Person="person",e.Company="company",e.Classroom="classroom",e.ClassroomGroup="classroom_group",e.Classification="classification",e.ShareLink="share_link",e.DirectShare="direct_share",e.Upload="upload",e.SearchResults="search_results",e.Audience="audience",e.User="user",e.Clip="clip",e.UserChannel="user_channel",e.Widget="widget",e.Url="url",e.SocialShare="social_share",e.Presentation="presentation",e.BatchJob="batch_job",e.DeepLink="deep_link",e.FileGeneratorJob="file_generator_job"}(o||(o={})),function(e){e.TopNav="top_nav",e.LeftNav="left_nav",e.Popup="popup",e.Banner="banner",e.VideoList="video_list",e.VideoListItem="video_list_item",e.VideoListHeader="video_header",e.VideoThumbnail="video_thumbnail",e.ExpandableVideoThumbnail="expandable_video_thumbnail",e.VideoItemPreview="video_item_preview",e.VideoDetails="video_details",e.VideoDetailsHeader="video_details_header",e.EditVideoDetails="edit_video_details",e.EditVideoChapters="edit_video_chapters",e.EditVideoResources="edit_video_resources",e.VideoUpload="video_upload",e.VideoRequest="video_request",e.Pagination="pagination",e.LibraryHeader="library_header",e.LibraryTiles="library_tiles",e.LibraryRequestDetails="staff_request_details",e.SubFolderList="sub_folder_list",e.AwaitingReviewVideoListHeader="awaiting_review_video_list_header",e.AwaitingReviewVideoItem="awaiting_review_video_item",e.PastReleasesHeader="past_releases_header",e.MigrationWarnings="migration_warnings",e.PlaylistListHeader="playlist_list_header",e.PlaylistListItem="playlist_list_item",e.SeriesListItem="series_list_item",e.SearchBar="search_bar",e.InstantSearch="instant_search",e.SearchFilters="search_filters",e.FeaturedSeriesSearchResult="featured_series_search_result",e.StaffManager="staff_manager",e.StaffManagerListItem="staff_manager_list_item",e.StudentManager="student_manager",e.StudentManagerListItem="student_manager_list_item",e.EditUser="edit_user",e.UserAuditLog="user_audit_log",e.BulkUserActionsWizard="bulk_user_actions_wizard",e.BulkUserUploadWizard="bulk_user_upload_wizard",e.Classroom="classroom",e.ClassroomsList="classrooms_list",e.ClassroomsListItem="classrooms_list_item",e.ManageClassroomStudents="manage_classroom_students",e.ManageClassroomStudentListItem="manage_classroom_student_list_item",e.ManageClassroomGroups="manage_classroom_groups",e.ManageClassroomGroupListItem="manage_classroom_group_list_item",e.ManageClassroomTeachers="manage_classroom_teachers",e.ManageClassroomTeacherListItem="manage_classroom_teachers_list_item",e.ArchivedClassrooms="archived_classrooms",e.PreviewInteractive="preview_interactive",e.PreviewSharedInteractive="preview_shared_interactive",e.PreviewInteractiveQuestions="preview_interactive_questions",e.EditInteractive="edit_interactive",e.EditInteractiveDetails="edit_interactive_details",e.PlaySharedInteractive="play_shared_interactive",e.PlayInteractive="play_interactive",e.InteractiveListItem="interactive_list_item",e.DeleteInteractive="delete_interactive",e.NewInteractive="new_interactive",e.CopyInteractive="copy_interactive",e.UnpublishInteractive="unpublish_interactive",e.ShareInteractive="share_interactive",e.PlayPage="play_page",e.Player="player",e.FloatingPlayer="floating_player",e.InteractivePlayer="interactive_player",e.EmbeddedPlayer="embedded_player",e.CreateClipPlayer="create_clip_player",e.PlayClip="play_clip",e.PlaySharedClip="play_shared_clip",e.ClipListItem="clip_list_item",e.ContentUpdatesClassificationBanner="content_updates_classification_banner",e.PreferencesSettings="preferences_settings",e.TopicsOnboarding="topics_onboarding",e.MyUploads="my_uploads",e.SlidingList="sliding_list",e.HeroBannerItem="hero_banner_item",e.SlidingListItem="sliding_list_item",e.ClassificationListItem="classification_list_item",e.ClassificationComingSoon="classification_coming_soon",e.ClassificationHero="classification_hero",e.Classification="classification",e.Dashboard="dashboard",e.ProductBanner="product_banner",e.UserOptions="user_options",e.Settings="settings",e.StudentFeed="student_feed",e.SharedByMe="shared_by_me",e.SharedWithMe="shared_with_me",e.TopVideos="top_videos",e.VideoViewsList="video_views_list",e.LiteUpgradeFeedbackPopup="lite_upgrade_feedback_popup",e.LiteUpgradeBanner="lite_upgrade_banner",e.LiteUpgradeOnboarding="lite_upgrade_onboarding",e.LibraryRequestSettings="library_request_settings",e.OpenInAppPrompt="open_in_app_prompt",e.UseAppButton="use_app_button",e.Launchpad="launchpad"}(i||(i={})),function(e){e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard",e.Next="next",e.Back="back"}(a||(a={})),function(e){e.PageLoad="page_load"}(c||(c={})),function(e){e.Single="single",e.Bulk="bulk",e.All="all"}(u||(u={})),function(e){e.Publish="publish",e.Unpublish="unpublish"}(s||(s={})),function(e){e.ActivateUser="activate_user",e.VerifyEmail="verify_email",e.ResetPasswordEmail="reset_password"}(l||(l={})),function(e){e.ProductionYear="production_year",e.Alphabetical="alphabetical"}(f||(f={})),function(e){e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset"}(p||(p={})),function(e){e.Submit="submit",e.ShowAll="show_all",e.Recent="recent",e.SearchIcon="search_icon"}(y||(y={})),function(e){e.Start="start",e.Finish="finish",e.Terminate="terminate",e.Play="play",e.Pause="pause",e.Playback="playback",e.NextChapter="next_chapter",e.PreviousChapter="previous_chapter",e.FullScreenEnter="full_screen_enter",e.FullScreenExit="full_screen_exit"}(d||(d={})),function(e){e.Embedded="embedded"}(h||(h={})),function(e){e.TogglePreview="toggle_preview",e.NavigateHome="navigate_home",e.OpenInStaffView="open_in_staff_view",e.Title="title",e.ToggleHideValidListings="toggle_hide_valid_listings",e.LaunchImmersiveReader="launch_immersive_reader",e.CopyEmbedHtml="copy_embed_html",e.Close="close",e.Open="open",e.Button="button",e.Link="link",e.Tile="tile",e.Thumbnail="thumbnail",e.Cover="cover",e.TallPoster="tall_poster",e.Slide="slide",e.ExternalLink="external_link",e.ViewStudentWorkspace="view_student_workspace",e.Card="card",e.SelectAllUsers="select_all_users"}(b||(b={})),function(e){e.FeatureUserChannelVideo="feature_user_channel_video",e.RemoveFromUserChannelPlaylist="remove_from_user_channel_playlist",e.ShareClip="share_clip",e.ViewOriginalVideo="view_original_video",e.ShareInteractive="share_interactive",e.DeleteInteractiveVideo="delete_interactive_video",e.CopyInteractiveVideo="copy_interactive_video",e.EditInteractiveVideo="edit_interactive_video",e.PrintAsWorksheet="print_as_worksheet",e.PreviewInteractiveVideo="preview_interactive_video",e.ViewResults="view_results",e.ViewUsage="view_usage",e.MoveToAnotherFolder="move_to_another_folder",e.CreateInteractiveVideo="create_interactive_video",e.ShareVideo="share_video",e.EditVideo="edit_video",e.DownloadVideo="download_video",e.AddToExchange="add_to_exchange",e.AddToUserChannel="add_to_user_channel",e.CreateClip="create_clip",e.FlagVideo="flag_video",e.AddToLibrary="add_to_library",e.AddToWorkspace="add_to_workspace",e.AddToPlaylist="add_to_playlist",e.RemoveFromPlaylist="remove_from_playlist",e.AddCurriculumLink="add_curriculum_link",e.ViewCurriculumLinks="view_curriculum_links",e.OpenInCurator="open_in_curator",e.ManageVideoAccess="manage_video_access",e.Approve="approve",e.AddToLocalCache="add_to_local_cache",e.OpenInLibraryEditor="open_in_library_editor",e.PlayClip="play_clip",e.EditClip="edit_clip",e.DeleteClip="delete_clip",e.EditVideoDetails="edit_video_details",e.DeleteVideo="delete_video"}(v||(v={})),function(e){e.Remove="remove"}(m||(m={})),function(e){e.LibraryReview="library_review"}(g||(g={})),function(e){e.FileSelect="file_select",e.DragDrop="drag_drop"}(w||(w={})),function(e){e.Edit="edit"}(O||(O={})),function(e){e.Image="image",e.User="user",e.Playlist="playlist",e.Link="link",e.Avatar="avatar",e.Clip="clip",e.Interactive="interactive",e.Classroom="classroom",e.Customer="customer"}(S||(S={})),function(e){e.On="on",e.Off="off"}(C||(C={})),function(e){e.ContinueSession="continue_session",e.NewSession="new_session"}(P||(P={})),function(e){e.DirectShare="direct_share",e.CopyLink="copy_link",e.CopyEmbedHtml="copy_embed_html",e.PluginEmbed="plugin_embed"}(E||(E={})),function(e){e.GoToOnline="go_to_online",e.Feedback="feedback"}(k||(k={})),function(e){e.EntityRemoved="cv_entity_removed",e.ValueUpdated="cv_value_updated"}(_||(_={})),function(e){e.FileSelect="file_select",e.DragDrop="drag_drop"}(R||(R={})),function(e){e.Video="videos",e.Folder="categories",e.Series="series",e.Tags="tags",e.Subjects="subjects"}(j||(j={})),function(e){e[e.V1=1]="V1",e[e.V2=2]="V2",e[e.V3=3]="V3"}(T||(T={}))},82783:function(e,t,n){"use strict";var r;n.d(t,{Y:function(){return r}}),function(e){e.Staff="staff",e.Learner="learner",e.Unknown="unknown"}(r||(r={}))},70065:function(e,t,n){"use strict";n.d(t,{AssocDescriptor:function(){return r.iF},ClickDescriptor:function(){return r._S},CustomerSettingDescriptor:function(){return r.YK},DirectSearchDescriptor:function(){return r.mB},EntityType:function(){return r.py},EventDefaultValue:function(){return r._1},EventVersion:function(){return r.eq},FilterDescriptor:function(){return r.OR},InteractionType:function(){return r.s_},InteractionTypeDescriptor:function(){return r.$N},LocationContext:function(){return r.LZ},OperationDescriptor:function(){return r.yh},PageDescriptor:function(){return r.w4},PlaybackDescriptor:function(){return r.UX},PlayerDescriptor:function(){return r.MC},SearchQueryType:function(){return r.n8},ShareDescriptors:function(){return r.YM},SuggestionDescriptor:function(){return r.gL},ToggleDescriptor:function(){return r.DL},UserAction:function(){return r.Vw},WorkflowPhase:function(){return r.eu}});var r=n(22218);n(82783)},35490:function(e,t,n){"use strict";n.d(t,{k:function(){return g}});var r,o,i,a,c=n(70065),u=function(){return!0},s=function(){return!1},l=n(70825),f=function(e){return e},p={getUploadData:function(e,t){var n=t.actionContext.entity;if(n===c.EntityType.Video)return p.formatVideoUpload(e,t);if(n===c.EntityType.Resource||n===c.EntityType.Subtitle)return p.formatResourceUpload(e);if(n===c.EntityType.Banner||n===c.EntityType.Thumbnail)return e;throw new Error("Upload data event not correctly formatted.")},formatVideoUpload:function(e,t){var n=t.actionContext.workflowPhase;return n===c.WorkflowPhase.Start?p.getStartVideoUploadData(e):n===c.WorkflowPhase.Discard?p.getDiscardVideoUploadData(e):n===c.WorkflowPhase.Complete?p.getCompleteUploadData(e):void 0},getStartVideoUploadData:function(e){return e&&e.length?(e instanceof FileList&&(e=Array.from(e)),e.map((function(t){return{fileName:t.name,size:t.size,type:t.type,count:e.length}}))):[]},getDiscardVideoUploadData:function(e){var t=function(t){var n=t.file,r=n.type,o=n.name,i=n.status,a=n.cvUpload,c={fileName:o,count:Array.isArray(e)?e.length:1,type:r,status:i};return t.progress&&(c.progress=t.progress.toFixed(2)),a&&(c.uploadId=a.uploadId),c};return Array.isArray(e)?e.map((function(e){return t(e)})):[t(e)]},getCompleteUploadData:function(e){return e&&e.length?e.map((function(t){return{fileName:t.fileName,libraryId:t.libraryId,folderId:t.folderId,autoCaption:t.autoCaption,count:e.length}})):[]},formatResourceUpload:function(e){var t={id:e.id,name:e.name};return l.O.isObject(e.metadata)&&(t.type=e.metadata.type),t}};function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=(y(r={},c.UserAction.Navigate,s),y(r,c.UserAction.Click,u),y(r,c.UserAction.Search,u),y(r,c.UserAction.InstantSearch,u),y(r,c.UserAction.Play,u),y(r,c.UserAction.Stream,u),y(r,c.UserAction.WebPlayerStream,u),y(r,c.UserAction.StreamProgress,u),y(r,c.UserAction.Rename,u),y(r,c.UserAction.Move,u),y(r,c.UserAction.Create,u),y(r,c.UserAction.Delete,u),y(r,c.UserAction.Associate,u),y(r,c.UserAction.Dissociate,u),y(r,c.UserAction.Filter,u),y(r,c.UserAction.Sort,u),y(r,c.UserAction.Approve,u),y(r,c.UserAction.Reject,u),y(r,c.UserAction.Disable,u),y(r,c.UserAction.Upload,u),y(r,c.UserAction.Download,s),y(r,c.UserAction.SetAccess,u),y(r,c.UserAction.AddToLocalCache,s),y(r,c.UserAction.Share,u),y(r,c.UserAction.Unshare,u),y(r,c.UserAction.Edit,u),y(r,c.UserAction.Suggest,u),y(r,c.UserAction.Favourite,u),y(r,c.UserAction.ResolveWarning,u),y(r,c.UserAction.DismissWarning,u),y(r,c.UserAction.EditAssoc,u),y(r,c.UserAction.Follow,u),y(r,c.UserAction.Print,u),y(r,c.UserAction.Copy,u),y(r,c.UserAction.Activate,u),y(r,c.UserAction.VerifyEmail,u),y(r,c.UserAction.ChangePassword,u),y(r,c.UserAction.Export,u),y(r,c.UserAction.SendEmail,u),y(r,c.UserAction.Publish,u),y(r,c.UserAction.Answer,u),y(r,c.UserAction.Complete,u),y(r,c.UserAction.Archive,u),y(r,c.UserAction.Promote,u),y(r,c.UserAction.Demote,u),y(r,c.UserAction.BulkAction,u),y(r,c.UserAction.Remove,u),y(r,c.UserAction.Dismiss,u),y(r,c.UserAction.Open,u),r),h=(y(o={},c.UserAction.Search,f),y(o,c.UserAction.InstantSearch,f),y(o,c.UserAction.Play,f),y(o,c.UserAction.Stream,f),y(o,c.UserAction.StreamProgress,f),y(o,c.UserAction.Click,f),y(o,c.UserAction.Filter,f),y(o,c.UserAction.Sort,f),y(o,c.UserAction.SetAccess,f),y(o,c.UserAction.Approve,f),y(o,c.UserAction.Reject,f),y(o,c.UserAction.Create,f),y(o,c.UserAction.Delete,f),y(o,c.UserAction.Rename,f),y(o,c.UserAction.Move,f),y(o,c.UserAction.Edit,f),y(o,c.UserAction.Share,(function(e){var t,n,r,o,i={id:e.id,search:e.search,pagePositionIndex:e.pagePositionIndex};return(null===(t=e.video)||void 0===t?void 0:t.id)&&(i.video={id:e.video.id}),(null===(n=e.clip)||void 0===n?void 0:n.id)&&(i.clip={id:e.clip.id},(null===(r=e.clip.video)||void 0===r?void 0:r.id)&&(i.video={id:null===(o=e.clip.video)||void 0===o?void 0:o.id})),void 0!==e.shareCount&&(i.shareCount=e.shareCount),e.embedDetails&&(i.embedDetails=i.embedDetails),i})),y(o,c.UserAction.Disable,f),y(o,c.UserAction.Suggest,f),y(o,c.UserAction.Upload,p.getUploadData),y(o,c.UserAction.ResolveWarning,f),y(o,c.UserAction.DismissWarning,f),y(o,c.UserAction.Follow,f),y(o,c.UserAction.Print,f),y(o,c.UserAction.Copy,f),o),b=(y(i={},c.UserAction.Search,(function(){return"search"})),y(i,c.UserAction.InstantSearch,(function(){return"search"})),y(i,c.UserAction.Filter,(function(){return"filter"})),y(i,c.UserAction.Stream,(function(){return c.EntityType.Video})),i),v={user:"target_user"},m=(y(a={},c.UserAction.StreamProgress,!0),y(a,c.UserAction.WebPlayerStream,!0),a),g={shouldLog:function(e){return!!d[e.type](e)},formatData:function(e){var t=h[e.type],n=l.O.isFunction(t)?t(e.data,e):e.data;if(m[e.type])return n;var r=e.actionContext.entity;return l.O.isFunction(b[e.type])&&(r=b[e.type](e)),v[r]&&(r=v[r]),y({},r,n)}}},70825:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{O:function(){return o}});var o={isObject:function(e){var t=r(e);return"function"===t||"object"===t&&!!e},isFunction:function(e){return"function"==typeof e}}},75390:function(e,t,n){"use strict";n.d(t,{_:function(){return r}});var r={safeUrlConcat:function(e,t){if(e){var n=e;return e.endsWith("/")||(n+="/"),t?n+=t.startsWith("/")?t.slice(1):t:n}}}},60511:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});var r={LAZY_LOAD:"lazy:load:behavior",POPUP:"popup:behavior",IMAGE_SELECT:"image:select:behavior"}},36954:function(e,t,n){"use strict";var r;n.d(t,{p:function(){return r}}),function(e){e.Fifo="FifoMemoryCache"}(r||(r={}))},25417:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});var r={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"}},92159:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var r={ALERT:"AlertService",LANGUAGE:"LanguageService"}},19124:function(e,t,n){"use strict";var r;n.d(t,{R:function(){return r}}),function(e){e.Ajax="AjaxDataProvider",e.Notifications="NotificationsSignalRDataProvider"}(r||(r={}))},38842:function(e,t,n){"use strict";n.d(t,{C:function(){return d},g:function(){return p}});var r=n(39479),o=n(48088),i=n(9124),a=n(25417),c=n(59598),u=/((\(\?)?:\w+)|(\*\w+)/,s=/[\(\)]/g,l=/\(\/\)/g,f=/\/$/,p={routingStarted:function(){o.Radio.channel(a.G.SHELL).trigger(c.V.ROUTING_START)},routingEnded:function(){p.hasActiveRoute()&&o.Radio.channel(a.G.SHELL).trigger(c.V.ROUTING_END)},hasActiveRoute:function(){return o.Radio.channel(a.G.SHELL).request(c.V.HAS_ACTIVE_ROUTE)}},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.usedHelper=!0;var n=e.application,r=e.action;o.Radio.channel(n).trigger(r,e,t)},d={getHref:function(e){if(!e)return"";var t=e.application,n=e.action,r=e.args,i=e.params,u=o.Radio.channel(a.G.SHELL).request(c.V.ROUTE_LOOKUP,"".concat(t,":").concat(n),r,i);return!1===u?"":"/".concat(u)},buildRoute:function(e,t){if(!t)return e;var n=t.args,o=t.params;if(r.each(n,(function(t){e=e.replace(u,t||"")})),e=(e=(e=e.replace(l,"")).replace(s,"")).replace(f,""),!o)return e;var a=i.A.SerializeQueryParams(o);return a.length?"".concat(e,"?").concat(a):e},trigger:function(e,t){e&&(p.hasActiveRoute()?o.Radio.channel(a.G.SHELL).once("routing:end",(function(){y(e,t)})):y(e,t))},getCurrentAppLink:function(){return o.Radio.channel(a.G.SHELL).request(c.V.CURRENT_ROUTE)}}},73806:function(e,t,n){"use strict";n.d(t,{J:function(){return g}});var r=n(39479),o=n(48088),i=n(76909),a=n(59598),c=n(53621),u=n(76648);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(){return y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=d(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},y.apply(this,arguments)}function d(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function b(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(d,e);var t,n,i,s,f=(i=d,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(i);if(s){var n=m(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return b(this,e)});function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=f.call(this,e)).mergeOptions(e,[].concat(l(t.defaultProps),l(t.props||[]))),r.result(v(t),"name")||u.Ry.throw(new u.G$("BaseApplication must define a name")),r.result(v(t),"channelName")||u.Ry.throw(new u.G$("BaseApplication must define a channelName")),t.listenTo(t.getGlobalRadioChannel("popup"),a.V.SHOW_POPUP,t.onShowPopup),t.listenTo(t.getGlobalRadioChannel("alert"),"show:alert",t.onShowAlert),t}return t=d,n=[{key:"defaultProps",get:function(){return["shell","layoutService"]}},{key:"getGlobalRadioChannel",value:function(e){var t=this.shell.getGlobalRadioChannels()[e.toUpperCase()];return t||u.Ry.throw(new u.G$("Global channel ".concat(t," does not exist"))),o.Radio.channel(t)}},{key:"onLoadLayout",value:function(){if(this.layoutOptions&&this.layoutOptions.name){var e=r.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(r.extend(this.layoutOptions,{options:e})),this.layout||u.Ry.throw(new u.G$("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(e){this.layout.getRegion("popup")||u.Ry.throw(new u.G$("Your application layout must define a popup region")),this.layout.showChildView("popup",e)}},{key:"onShowAlert",value:function(e){var t=e.ctor,n=e.collection,r=this.layout.getRegion("alert");r?r.hasView()||this.layout.showChildView("alert",new t({collection:n})):u.Ry.throw(new u.G$("Your application layout must define an alert region"))}},{key:"setDefaultQueryParams",value:function(e){this.defaultQueryParams&&(e=r.extend(this.defaultQueryParams,e)),this.defaultQueryParams=e}},{key:"getAndClearDefaultQueryParams",value:function(){var e=this.defaultQueryParams;return delete this.defaultQueryParams,e||{}}},{key:"listenTo",value:function(){return c.k.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],y(m(d.prototype),"listenTo",this))}}],n&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),d}(i.Application)},38853:function(e,t,n){"use strict";n.d(t,{M:function(){return y}});var r=n(48088),o=n(53621);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(){return u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=s(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},u.apply(this,arguments)}function s(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function f(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(y,e);var t,n,r,i,s=(r=y,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=p(r);if(i){var n=p(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function y(){return a(this,y),s.apply(this,arguments)}return t=y,n=[{key:"listenTo",value:function(){return o.k.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(y.prototype),"listenTo",this))}}],n&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),y}(r.Collection)},76648:function(e,t,n){"use strict";n.d(t,{G$:function(){return S},GU:function(){return w},Ry:function(){return P},_R:function(){return O}});var r=n(48088),o=n(25417),i=n(91450),a=n(35656),c=n(59598);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function y(e){var t=v();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){var t="function"==typeof Map?new Map:void 0;return h=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return b(e,arguments,g(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),m(r,e)},h(e)}function b(e,t,n){return b=v()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&m(o,n.prototype),o},b.apply(null,arguments)}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var w=function(e){p(n,e);var t=y(n);function n(e){return f(this,n),t.call(this,e)}return l(n)}(h(Error)),O=function(e){p(n,e);var t=y(n);function n(){return f(this,n),t.apply(this,arguments)}return l(n,[{key:"name",get:function(){return"SilentError"}}]),n}(w),S=function(e){p(n,e);var t=y(n);function n(){return f(this,n),t.apply(this,arguments)}return l(n,[{key:"name",get:function(){return"CoreError"}}]),n}(h(Error)),C={},P={throw:function(e){if(r.Radio.channel(o.G.SHELL).trigger(c.V.ERROR,e),!(e instanceof O||i.h.isDevelopment))throw e},delayedThrow:function(e,t,n){C[e]||(C[e]=!0,window.setTimeout((function(){P.throw(t),delete C[e]}),n))},isStatusCodeError:function(e){var t,n=+(null===(t=null==e?void 0:e.toString())||void 0===t?void 0:t.substr(0,1));return n===a.k.ClientError||n===a.k.ServerError}}},97725:function(e,t,n){"use strict";n.d(t,{s:function(){return f}});var r=n(91265),o=n(11306),i=n(76648);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function s(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(y,e);var t,n,r,a,f,p=(a=y,f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(a);if(f){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function y(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),p.call(this,e)}return t=y,r=[{key:"getCacheKey",value:function(e){i.Ry.throw(new o.H("Must define getCacheKey for ".concat(this.name,".")))}}],(n=[{key:"unmountRegion",value:function(e){this.trigger("unmount:".concat(e))}}])&&c(t.prototype,n),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),y}(r.Pz)},42567:function(e,t,n){"use strict";n.d(t,{g:function(){return d}});var r=n(39479),o=n(48088),i=n(53621);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=l(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},s.apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=y(e)););return e}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(d,e);var t,n,o,a,l=(o=d,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(o);if(a){var n=y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return p(this,e)});function d(){return c(this,d),l.apply(this,arguments)}return t=d,n=[{key:"mixin",value:function(e){var t=this;for(var n in e){if(t.hasOwnProperty(n)){var o=t[n];return void(t[n]=r.extend({},o,e[n]))}t[n]=e[n]}}},{key:"addValidation",value:function(e){this.mixin({validation:e})}},{key:"validate",value:function(e,t){s(y(d.prototype),"validate",this).call(this,e,t)}},{key:"listenTo",value:function(){return i.k.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],s(y(d.prototype),"listenTo",this))}}],n&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),d}(o.Model)},12121:function(e,t,n){"use strict";n.d(t,{g:function(){return d}});var r=n(39479),o=n(42567),i=n(38853);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=l(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},s.apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=y(e)););return e}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(b,e);var t,n,l,d,h=(l=b,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(l);if(d){var n=y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return p(this,e)});function b(){return c(this,b),h.apply(this,arguments)}return t=b,n=[{key:"set",value:function(e,t,n){var o,i;if(null===e)return this;for(o in"object"===a(e)?(i=e,n=t):(i={})[e]=t,n||(n={}),i)r.has(this.associations,o)&&(i[o]=this.setAssociation(o,i[o],n));return s(y(b.prototype),"set",this).call(this,i,n)}},{key:"get",value:function(e){var t=e.indexOf(".");if(-1===t)return s(y(b.prototype),"get",this).call(this,e);var n=e.substr(0,t),o=this.attributes[n];if(!o||!r.isFunction(o.get))return s(y(b.prototype),"get",this).call(this,e);var i=e.substr(t+1);return o.get(i)}},{key:"setAssociation",value:function(e,t,n){var a=this.associations[e],c=this.attributes[e];if(!r.isFunction(a))return t;if(n.unset)return c&&delete c.parent,delete this[e],c;if(c)return c instanceof o.g&&c.set(t,n),c instanceof i.M&&c.set(t,n),n.silent||this.trigger("change:".concat(e),this,t,n),c;var u=t instanceof o.g?t:new a(t,{parse:!0});return u.parent=this,this[e]=u,u}},{key:"toJSON",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=s(y(b.prototype),"toJSON",this).apply(this,t);return r.each(this.associations,(function(e,t){r.has(o,t)&&r.isFunction(o[t].toJSON)?o[t]=o[t].toJSON():o[t]=(new e).toJSON()})),o}},{key:"toFlatJSON",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.omit(s(y(b.prototype),"toJSON",this).apply(this,t),r.keys(this.associations))}}],n&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),b}(o.g)},32646:function(e,t,n){"use strict";n.d(t,{b:function(){return y}});var r=n(76909),o=n(53621),i=n(76648);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(){return u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=s(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},u.apply(this,arguments)}function s(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function f(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(y,e);var t,n,r,a,s=(r=y,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=p(r);if(a){var n=p(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function y(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=s.call(this,e)).name||i.Ry.throw(new i.G$("Your service must be named.")),t}return t=y,n=[{key:"listenTo",value:function(){return o.k.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(y.prototype),"listenTo",this))}}],n&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),y}(r.Object)},91265:function(e,t,n){"use strict";n.d(t,{H6:function(){return R},Pz:function(){return _}});var r=n(39479),o=n(48088),i=n(76909),a=n(53621),c=n(11306),u=n(25417),s=n(91450),l=n(76648),f=n(38842);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function y(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t,n){return t&&b(e.prototype,t),n&&b(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(){return m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=g(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},m.apply(this,arguments)}function g(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=E(e)););return e}function w(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&O(e,t)}function O(e,t){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},O(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=E(e);if(t){var o=E(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return C(this,n)}}function C(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return P(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){w(n,e);var t=S(n);function n(e){var o;h(this,n),o=t.call(this,e);var i=[].concat(y(o.defaultProps),y(o.props||[]));return o.mergeOptions(e,i),r.result(P(o),"name")||l.Ry.throw(new l.G$("Error: View with cid:".concat(o.cid," requires a name."))),o}return v(n,[{key:"defaultProps",get:function(){return["shell","layoutService"]}},{key:"_setOptions",value:function(e){this.options=r.extend({},r.result(this,"defaults"),e)}},{key:"_setAttributes",value:function(e){var t,n,o;s.h.isDevelopment&&r.extend(e,(t={},n="cv-classname",o=this.name,n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t)),this.$el.attr(e)}},{key:"ui",get:function(){return this.uiStorage||(this.uiStorage=this.elements),this.uiStorage},set:function(e){this.uiStorage=e}},{key:"elements",get:function(){return null}},{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",r.result(this,"className"))}},{key:"serializeData",value:function(){var e=this,t=m(E(n.prototype),"serializeData",this).call(this),o=r.result(this,"viewOptions"),i=r.extend({},t,{options:o});return n.ViewDataExtensions.length?r.extend.apply(r,[i].concat(y(r.map(n.ViewDataExtensions,(function(t){return t instanceof Function?t(e):t}))))):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 e=this,t=this.appLinks;t&&(t=this.normalizeUIKeys(t),this.undelegateAppLinks(),r.each(r.keys(t),(function(n){var r=n,o=t[n],i=f.C.getHref(o);"[this]"===r&&(r=null);var a=r?e.$el.find(n):e.$el;(a.is("a")||a.is("button"))&&(i&&"/"!==i&&a.attr("href",i),e.delegate("click.appLinks".concat(e.cid),r,(function(e){e.preventDefault(),f.C.trigger(o)})))})))}},{key:"hasPartialLoadingRegions",value:function(){var e=this;return void 0!==e._hasPartialLoadingRegions||(e._hasPartialLoadingRegions=r.some(e.regions,(function(e){return r.has(e,"partialLoading")}))),e._hasPartialLoadingRegions}},{key:"renderPartialLoading",value:function(e){o.Radio.channel(u.G.SHELL).trigger("render:partial:loading",this,e)}},{key:"listenTo",value:function(){return a.k.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],m(E(n.prototype),"listenTo",this))}},{key:"render",value:function(){var e=this;if(e._isDestroyed)return this;var t=this.processRequriedResources(!0);return t&&(t=e.triggerMethod("before:render",this)),!1!==t&&(t=!0),!1===(t=t&&this.processRequriedResources(!1))?(e._partialLoadingRendered||!e.hasPartialLoadingRegions()||(e._partialLoadingRendered=!0,e._reInitRegions(),e._renderTemplate(),e.renderPartialLoading()),this):((e._isRendered||e._partialLoadingRendered)&&e._reInitRegions(),this.setTitle(),e._renderTemplate(),e.bindUIElements(),this.renderAppLinks(),e._partialLoadingRendered=!1,e._isRendered=!0,e.triggerMethod("render",this),this)}},{key:"processRequriedResources",value:function(e){return!0}},{key:"setTitle",value:function(){}}],[{key:"AddViewDataExtension",value:function(e){n.ViewDataExtensions.push(e)}}]),n}(i.View);k.ViewDataExtensions=[];var _=function(e){w(n,e);var t=S(n);function n(e){var r;return h(this,n),(r=t.call(this,e)).boundListeners={},r.resourceInstances={},r}return v(n,[{key:"processRequriedResources",value:function(e){var t=this,n=r.keys(this.requiredResources);if(!n.length)return!0;var o=this,i=!0;return r.each(n,(function(n){var r=t.requiredResources[n];if(r.beforeOnBeforeRender===e){var a=r.dataServiceName;t.resourceInstances[a]||(t.resourceInstances[a]=r.getInstance(t)),t.boundListeners["".concat(a,":").concat(r.eventName)]||(t.listenTo(t.resourceInstances[a].channelName,r.eventName,t.render),t.boundListeners["".concat(a,":").concat(r.eventName)]=!0),o[n]=r.getData(t.resourceInstances[a]),i=i&&!!o[n]}})),i}},{key:"setTitle",value:function(){r.isString(this.title)||!1===this.title||l.Ry.throw(new c.H("Must define a title for ".concat(this.name,"."))),o.Radio.channel(u.G.SHELL).trigger("set:page:title",this.title)}}]),n}(k),R=function(e){w(n,e);var t=S(n);function n(){return h(this,n),t.apply(this,arguments)}return v(n)}(k)},59598:function(e,t,n){"use strict";n.d(t,{V: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"}},53621:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(48088);function o(e,t,n,o){var i=e;return"string"==typeof e&&(i=r.Radio.channel(e)),o.call(this,i,t,n)}},9124:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(39479),o=n(48088),i=n(38842),a=n(59598),c=n(25417),u={GetQuery:function(){return u.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery:function(e){if(e){var t=u.GetQuery(),n=u.SerializeQueryParams(r.extend(t,e));n&&(n="?".concat(n)),u.UpdateUrl("".concat(u.GetCurrentPath()).concat(n),null,{replace:!0,trigger:!1})}},UpdateUrl:function(e,t,n){var r=i.C.buildRoute(e,t);o.history.navigate(r,n),o.Radio.channel(c.G.SHELL).trigger(a.V.URL_CHANGE,t,n)},SerializeQueryParams:function(e){if(!e)return"";if("string"==typeof e)return e;var t=[],n=function(e,t){return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t))};return Object.keys(e).forEach((function(r){var o=e[r];null!=o&&(Array.isArray(o)?o.forEach((function(e){t.push(n(r,e))})):t.push(n(r,o)))})),t.join("&")},DeserializeQueryParams:function(e){return e?r.reduce(e.split("&"),(function(e,t){var n=t.split("="),r=n[0],o=n.length>0?decodeURIComponent(n[1]):"";return e[r]?e[r]instanceof Array?(e[r].push(o),e):(e[r]=[e[r],o],e):(e[r]=o,e)}),{}):{}},StartHistory:function(){o.History.started&&o.history.stop(),o.history.start({pushState:!0})},PageLoad:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?window.open(e,"_blank"):window.location.href=e},Redirect:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=function(){return t?window.location.replace(e):window.location.href=e};i.g.hasActiveRoute()?o.Radio.channel(c.G.SHELL).once("routing:end",n):n()},Reload:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];window.location.reload(e)},GetCurrentPath:function(){return window.location.pathname},GetCurrentQueryString:function(){return window.location.search},GetCurrentUrl:function(){return window.location.href},GetCurrentReferrer:function(){return document.referrer},GetCurrentOrigin:function(){return window.location.origin},SetPageTitle:function(e){document.title=e}}},51092:function(e,t,n){"use strict";n.d(t,{AppLinkHelper:function(){return r.C},AppLinkUtility:function(){return r.g},AppRouter:function(){return P},Behavior:function(){return x},Collection:function(){return V.M},CollectionView:function(){return z},Component:function(){return W.H6},ComponentCollection:function(){return z},ErrorHelper:function(){return f.Ry},EventNames:function(){return l.V},LayoutService:function(){return te},LocationUtils:function(){return p.A},Middleware:function(){return s},Model:function(){return Q.g},NestedModel:function(){return G.g},Service:function(){return q.b},Shell:function(){return pe},SilentError:function(){return f._R},View:function(){return W.Pz}});var r=n(38842),o=(n(73806),n(39479)),i=n(48088),a=n(76909),c=n(53621);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,(n=[{key:"use",value:function(e){var t;this.go=(t=this.go,function(n,r){return t(n,(function(t){return e(t,r)}))})}},{key:"go",value:function(e,t){t(e)}}])&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),l=n(59598),f=n(76648),p=n(9124),y=n(25417);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(){return v="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=m(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},v.apply(this,arguments)}function m(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=O(e)););return e}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function w(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}var S=/([A-Z])/g,C=/(^|:)(\w)/gi,P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(m,e);var t,n,a,u,d=(a=m,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O(a);if(u){var n=O(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return w(this,e)});function m(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),(t=d.call(this,e)).bindDisposal(),t.processInternalRoutes(),t.processExternalRoutes(),t.processAppLinks(),t}return t=m,n=[{key:"bindDisposal",value:function(){var e=this;this.listenTo(y.G.SHELL,l.V.ROUTE,(function(t){t.application!==e.channelName&&e.destroyApp()}))}},{key:"addRouteLookup",value:function(e,t){var n=this;this.options.shell.addRouteLookup("".concat(this.channelName,":").concat(e),(function(o,i){return r.C.buildRoute(t,{application:n.channelName,action:e,args:o,params:i})}))}},{key:"processInternalRoutes",value:function(){var e=this;o.each(o.keys(this.appRoutes),(function(t){var n=e.appRoutes[t],r=e.toEventName(n);e.addRouteLookup(r,t),e.listenTo(e.channelName,r,(function(n,r){r&&r.usedHelper||f.Ry.throw(new f.G$("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),e.executeRoute(n,{isAppRoute:!0},(function(){var i=o.extend({},e.controller.getAndClearDefaultQueryParams(),n.params);n.params=i,p.A.UpdateUrl(t,n,r)}))}))}))}},{key:"triggerNavLocked",value:function(e,t){e.trigger(l.V.NAV_IS_LOCKED,t),r.g.routingEnded()}},{key:"processExternalRoutes",value:function(){var e=this;this.externalRoutes&&o.each(o.keys(this.externalRoutes),(function(t){var n=e.externalRoutes[t],o=e.toEventName(n);e.addRouteLookup(o,t),e.listenTo(e.channelName,o,(function(t,n){n&&n.usedHelper||f.Ry.throw(new f.G$("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));var o=i.Radio.channel(y.G.SHELL);e.options.shell.isNavLocked()?e.triggerNavLocked(o,t):p.A.PageLoad(r.C.getHref(t))}))}))}},{key:"processAppLinks",value:function(){var e=this;this.appLinks&&o.each(this.appLinks,(function(t){var n=e.toEventName(t);e.listenTo(e.channelName,n,(function(t,n){n&&n.usedHelper||f.Ry.throw(new f.G$("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),e.executeRoute(t,{isAppRoute:!1})}))}))}},{key:"executeRoute",value:function(e,t,n){var a=this;this.validateAppLink(e);var c=this.toMethodName(e.action);r.g.routingStarted();var u=i.Radio.channel(y.G.SHELL);if(this.options.shell.isNavLocked())this.triggerNavLocked(u,e);else{var p=new s;o.each(this.filters,(function(e){return p.use(e)})),p.go({appLink:e,shell:this.options.shell},(function(){u.trigger(l.V.ROUTE,e,t),a.createApp();var i,s=a.controller;if(o.isFunction(s[c])||(r.g.routingEnded(),f.Ry.throw(new f.G$("".concat(c," does not exist on the ").concat(o.result(s,"name"),".")))),!1===s.triggerMethod("before:action"))return s.triggerMethod("action:cancelled"),void r.g.routingEnded();s.triggerMethod("load:layout"),s[c].apply(s,[].concat(function(e){if(Array.isArray(e))return h(e)}(i=e.args||[])||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(i)||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.")}(),[e.params||{}])),o.isFunction(n)&&n(),r.g.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(e,t,n){var r=this;this.route(t,n,(function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a={application:r.channelName,action:r.toEventName(n),args:t.slice(0,t.length-1),params:p.A.DeserializeQueryParams(t[t.length-1])};r.executeRoute(a,{isAppRoute:!0},(function(){p.A.UpdateQuery(o.extend(r.controller.getAndClearDefaultQueryParams(),a.params))}))}))}},{key:"toEventName",value:function(e){return e.replace(S,":$1").toLowerCase()}},{key:"toMethodName",value:function(e){var t=e.replace(C,(function(e,t,n){return n.toUpperCase()}));return t[0].toLowerCase()+t.slice(1,t.length)}},{key:"validateAppLink",value:function(e){e.application&&e.action||(r.g.routingEnded(),f.Ry.throw(new f.G$("Invalid AppLink")))}},{key:"listenTo",value:function(){return c.k.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],v(O(m.prototype),"listenTo",this))}}],n&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),m}(a.AppRouter);function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(){return R="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=j(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},R.apply(this,arguments)}function j(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=L(e)););return e}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}function A(e,t){if(t&&("object"===E(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},L(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=L(r);if(o){var n=L(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return A(this,e)});function a(){return k(this,a),i.apply(this,arguments)}return t=a,n=[{key:"listenTo",value:function(){return c.k.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],R(L(a.prototype),"listenTo",this))}}],n&&_(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Behavior),V=n(38853);function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B(){return B="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=I(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},B.apply(this,arguments)}function I(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=H(e)););return e}function U(e,t){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},U(e,t)}function M(e,t){if(t&&("object"===N(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return F(e)}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H(e){return H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},H(e)}var z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&U(e,t)}(u,e);var t,n,r,i,a=(r=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=H(r);if(i){var n=H(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return M(this,e)});function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),t=a.call(this,e),o.result(F(t),"name")||f.Ry.throw(new f.G$("Error: View with cid:".concat(t.cid," requires a name."))),t}return t=u,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 c.k.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],B(H(u.prototype),"listenTo",this))}}],n&&D(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(a.CollectionView),G=(n(97725),n(12121)),q=n(32646),Q=n(42567),W=n(91265);function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function K(){return K="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=$(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},K.apply(this,arguments)}function $(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ee(e)););return e}function X(e,t){return X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},X(e,t)}function J(e,t){if(t&&("object"===Y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ee(e){return ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ee(e)}var te=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&X(e,t)}(u,e);var t,n,r,i,a=(r=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ee(r);if(i){var n=ee(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return J(this,e)});function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=a.call(this,e)).layouts={},t.requiredRegions=e.requiredRegions,t}return t=u,n=[{key:"clearLayout",value:function(){this.currentLayout&&(this.currentLayout.destroy(),delete this.currentLayout,delete this.currentLayoutCacheKey)}},{key:"registerLayout",value:function(e,t){return this.checkRequiredRegions(t),this.layouts[e]=t,this}},{key:"getLayout",value:function(e){var t=e.name,n=e.options,r=void 0===n?{}:n;this.layouts[t]||f.Ry.throw(new f.G$("".concat(t," was not registered as a template.")));var o=this.layouts[t].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[t](r),this.listenToOnce(this.currentLayout,"destroy",this.clearLayout),this.currentLayout)}},{key:"checkRequiredRegions",value:function(e){o.each(this.requiredRegions,(function(t){o.has(o.result(e.prototype,"regions"),t)||f.Ry.throw(new f.G$("Layout: ".concat(e.prototype.name," must define an ").concat(t," region.")))}))}},{key:"listenTo",value:function(){return c.k.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],K(ee(u.prototype),"listenTo",this))}}],n&&Z(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(a.Object);function ne(e){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(e)}function re(){return re="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=oe(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},re.apply(this,arguments)}function oe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ce(e)););return e}function ie(e,t){return ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ie(e,t)}function ae(e,t){if(t&&("object"===ne(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ce(e){return ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ce(e)}function ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function le(e,t,n){return t&&se(e.prototype,t),n&&se(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var fe=function(){function e(t,n){ue(this,e),this.application=t,this.options=n||{}}return le(e,[{key:"Application",get:function(){return this.application}},{key:"Options",get:function(){return this.options}}]),e}(),pe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ie(e,t)}(u,e);var t,n,a=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=ce(t);if(n){var o=ce(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ae(this,e)});function u(){return ue(this,u),a.apply(this,arguments)}return le(u,[{key:"initialize",value:function(e){this.mergeOptions(e,["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 e=this;this.listenTo(y.G.SHELL,l.V.LOCK_NAV,(function(){return e.shellState.navLock=!0})),this.listenTo(y.G.SHELL,l.V.UNLOCK_NAV,(function(){return e.shellState.navLock=!1}))}},{key:"bindAppLinkListeners",value:function(){var e=this;this.listenTo(y.G.SHELL,l.V.ROUTING_START,(function(){return e.shellState.activeRoute=!0})),this.listenTo(y.G.SHELL,l.V.ROUTING_END,(function(){return e.shellState.activeRoute=!1})),this.listenTo(y.G.SHELL,l.V.ROUTE,(function(t){return e.shellState.currentAppLink=t}));var t=i.Radio.channel(y.G.SHELL);t.reply(l.V.HAS_ACTIVE_ROUTE,o.bind(this.hasActiveRoute,this)),t.reply(l.V.CURRENT_ROUTE,(function(){return e.shellState.currentAppLink}))}},{key:"bindErrorHandlers",value:function(){window.addEventListener("error",(function(){r.g.routingEnded()}))}},{key:"bindErrorListener",value:function(){var e=i.Radio.channel(y.G.SHELL);this.listenTo(e,l.V.ERROR,this.handleError)}},{key:"bindRouteLookup",value:function(){var e=this;i.Radio.channel(y.G.SHELL).reply(l.V.ROUTE_LOOKUP,(function(t,n,r){return!!e.routeLookup[t]&&e.routeLookup[t](n,r)}),this)}},{key:"addRouteLookup",value:function(e,t){this.routeLookup[e]=t}},{key:"registerApplication",value:function(e,t){return this.applications.push(new fe(e,t)),this}},{key:"getGlobalRadioChannels",value:function(){return y.G}},{key:"isNavLocked",value:function(){return this.shellState.navLock}},{key:"start",value:function(e){var t=this;e||(e={}),this.runInitializationSteps(this,(function(){t.runStartUpSteps(t,e,(function(){re(ce(u.prototype),"start",t).call(t,e)}))}))}},{key:"hasActiveRoute",value:function(){return this.shellState.activeRoute}},{key:"onStart",value:function(){var e=this;o.each(this.applications,(function(t){var n={appConstructor:t.Application,shell:e,appOptions:Object.assign({region:"",shell:e,layoutService:e.layoutService},t.Options)};new t.Application.router(n)})),this.bindListeners(),p.A.StartHistory()}},{key:"addInitializationStep",value:function(e){var t;return this.runInitializationSteps=(t=this.runInitializationSteps,function(n,r){return t(n,(function(){return e(n,r)}))}),this}},{key:"runInitializationSteps",value:function(e,t){t(e)}},{key:"addStartUpStep",value:function(e){var t;return this.runStartUpSteps=(t=this.runStartUpSteps,function(n,r,o){return t(n,r,(function(){return e(n,r,o)}))}),this}},{key:"runStartUpSteps",value:function(e,t,n){n(e,t)}},{key:"registerLayout",value:function(e,t){return this.layoutService.registerLayout(e,t),this}},{key:"registerErrorHandler",value:function(e,t){return e||f.Ry.throw(new f.G$("An error must have a name in order to register a handler for it.")),o.any(this.errorHandlers,(function(t){return t.errorType===e}))&&f.Ry.throw(new f.G$("An error handler for ".concat(e.prototype.name," has already been defined."))),this.errorHandlers.push({errorType:e,handler:t}),this}},{key:"handleError",value:function(e){var t=o.find(this.errorHandlers,(function(t){return e instanceof t.errorType}));t&&t.handler&&t.handler(e)}},{key:"registerStore",value:function(e){this.store=e}},{key:"listenTo",value:function(){return c.k.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],re(ce(u.prototype),"listenTo",this))}}]),u}(a.Application)},99748:function(e,t,n){"use strict";var r;n.d(t,{h:function(){return r}}),function(e){e[e.Unknown=0]="Unknown",e[e.BadRequest=1]="BadRequest",e[e.Unauthorized=2]="Unauthorized",e[e.Forbidden=3]="Forbidden",e[e.NotFound=4]="NotFound",e[e.InternalServer=5]="InternalServer"}(r||(r={}))},35656:function(e,t,n){"use strict";var r,o;n.d(t,{k:function(){return o},o:function(){return r}}),function(e){e[e.Ok=200]="Ok",e[e.NoContent=204]="NoContent",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.Conflict=409]="Conflict",e[e.InternalServer=500]="InternalServer"}(r||(r={})),function(e){e[e.Information=1]="Information",e[e.Success=2]="Success",e[e.Redirect=3]="Redirect",e[e.ClientError=4]="ClientError",e[e.ServerError=5]="ServerError"}(o||(o={}))},2248:function(e,t,n){"use strict";var r;n.d(t,{k:function(){return r}}),function(e){e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE"}(r||(r={}))},11306:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}n.d(t,{H:function(){return s}});var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(f,e);var t,n,r,s,l=(r=f,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(r);if(s){var n=u(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return c(this,e)});function f(){return o(this,f),l.apply(this,arguments)}return t=f,(n=[{key:"name",get:function(){return"DevError"}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(n(76648).GU)},31647:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var r=n(51092)},76912:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var r={type:n(99748).h.Unknown,message:"",code:0}},48318:function(e,t,n){"use strict";n.d(t,{BaseCollectionIdentifier:function(){return a}});var r=n(76648),o=n(11306);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setData(t)}var t,n;return t=e,(n=[{key:"setData",value:function(e){var t=e.collectionPrefix,n=e.id,r=e.sort,o=e.cursor;n&&(this.id=n),r&&(this.sort=r),o&&(this.cursor=o),t&&(this.collectionPrefix=t)}},{key:"toString",value:function(){return[this.collectionPrefix,this.id,this.sort,this.cursor].filter(Boolean).join(":")}},{key:"toParams",value:function(){var e={};return this.sort&&(e.sort=this.getSortTypeParam().toLowerCase()),this.cursor&&(e.cursor=this.cursor),e}},{key:"getSortTypeParam",value:function(){return r.Ry.throw(new o.H("getSortTypeParam must be implemented when extending BaseCollectionIdentifier")),""}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();n(76912)},21186:function(e,t,n){"use strict";n.d(t,{NK:function(){return r},O1:function(){return v},R6:function(){return o}});var r,o,i=n(39479),a=n(48088),c=n(38853),u=n(42567),s=n(32646),l=n(25417),f=n(92159);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}!function(e){e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info",e.Pending="pending"}(r||(r={})),function(e){e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI"}(o||(o={}));var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(p,e);var t,n,r,o,s=(r=p,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(r);if(o){var n=b(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h(this,e)});function p(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),s.call(this,e)}return t=p,(n=[{key:"initialize",value:function(){this.alertCollection=new c.M,this.listenTo(l.G.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}},{key:"name",get:function(){return f.P.ALERT}},{key:"defaults",get:function(){return{maxAlerts:3}}},{key:"showAlerts",value:function(){var e=a.Radio.channel(l.G.ALERT),t={collection:this.alertCollection};this.options.alertViewCtor&&(t=i.extend({},t,{ctor:this.options.alertViewCtor})),e.trigger("show:alert",t)}},{key:"removeAlert",value:function(e){this.alertCollection.remove(e),this.showAlerts()}},{key:"createAlert",value:function(e){this.alertCollection.length===this.options.maxAlerts&&this.alertCollection.shift(),e.id||(e=i.extend({},e,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new u.g(e)),this.showAlerts()}},{key:"clearAllAlerts",value:function(){this.alertCollection.reset(null)}},{key:"success",value:function(e){var t=this;return"string"==typeof e?i.bind((function(){return t.createAlert(i.extend({},t.options.defaultSuccessAlert,{message:e}))}),this):e.useXHR?i.bind((function(e,n){return t.createAlert(i.extend({},t.options.defaultSuccessAlert,{message:n}))}),this):i.bind((function(){return t.createAlert(i.extend({},t.options.defaultSuccessAlert,e))}),this)}},{key:"error",value:function(e){var t=this;return"string"==typeof e?i.bind((function(){return t.createAlert(i.extend({},t.options.defaultErrorAlert,{message:e}))}),this):e.useXHR?i.bind((function(e){return t.createAlert(i.extend({},t.options.defaultErrorAlert,{message:e.message}))}),this):i.bind((function(){return t.createAlert(i.extend({},t.options.defaultErrorAlertIL_DEFAULT,e))}),this)}},{key:"generateUniqueAlertId",value:function(){return i.uniqueId("alert_")}}])&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(s.b)},12053:function(e,t,n){"use strict";n.d(t,{B:function(){return b}});var r=n(39479),o=n(48088),i=n(32646),a=n(76648),c=n(11306);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function y(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(b,e);var t,n,i,u,l=(i=b,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(i);if(u){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function b(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),t=l.call(this,e),r.result(d(t),"name")||a.Ry.throw(new c.H("Must provide a name when extending BaseDataService")),r.result(d(t),"channelName")||a.Ry.throw(new c.H("Must provide a channelName for ".concat(r.result(d(t),"name"))));var n=[].concat(s(t.defaultProps),s(t.props||[]));return t.dataRequestSignatures={},t.mergeOptions(e,n),t}return t=b,n=[{key:"defaultProps",get:function(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}},{key:"getCursors",value:function(e){var t=this.cache.get(e);return t?t.cursors:{}}},{key:"clearCacheAndGet",value:function(e){var t=this,n=e.callback,o=e.errorCallback,i=e.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(e){r.isFunction(o)&&t.stopListening(t.getChannel(),u,o),r.isFunction(n)&&n(e)})),void this.listenToOnce(this.getChannel(),u,(function(){r.isFunction(n)&&t.stopListening(t.getChannel(),c,n),r.isFunction(o)&&o()}));this.cache.remove(e.eventPrefix),this.get(e)}},{key:"get",value:function(e){var t=this,n=e.callback,o=e.errorCallback,i=e.eventPrefix,a=e.resource,c=e.formatData,u=e.expiryTime,s=e.successHandler,l=e.errorHandler,f=e.bootstrapName,p=e.invalidateFlight,y=this.getEventNames(i),d=y.syncEvent,h=y.requestEvent,b=y.successEvent,v=y.errorEvent,m=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 w,O=this.cache.get(i);O&&(w=O.data);var S=O&&O.openRequest,C=this.isExpired(i,u);if(S&&(this.listenToOnce(m,d,(function(e){r.isFunction(o)&&t.stopListening(t.getChannel(),v,o),r.isFunction(n)&&n(e)})),this.listenToOnce(m,v,(function(){r.isFunction(n)&&t.stopListening(t.getChannel(),d,n),r.isFunction(o)&&o()}))),this.cache.has(i)&&!C||(m.trigger(h),this.listenToResponse({eventPrefix:i,formatData:c,cacheOptions:{timestamp:g},callback:n,errorCallback:o,successHandler:s,errorHandler:l,invalidateFlight:p}),this.cacheData(i,null,null,{openRequest:!0,timestamp:g}),this.dataProvider.read(a,{channel:this.getTransportChannel(),successEvent:b,errorEvent:v})),w&&r.isFunction(n)&&!C&&n(w),w)return w}},{key:"create",value:function(e){var t=e.eventPrefix,n=e.resource,r=e.data,o=e.formatData,i=e.callback,a=e.errorCallback,c=e.invalidationKeys,u=e.successHandler,s=e.errorHandler,l=e.invalidateFlight,f=this.getEventNames(e.eventPrefix),p=f.requestEvent,y=f.successEvent,d=f.errorEvent,h=this.getChannel(),b=this.getTransportChannel();h.trigger(p),this.listenToResponse({eventPrefix:t,formatData:o,invalidationKeys:c,callback:i,errorCallback:a,successHandler:u,errorHandler:s,invalidateFlight:l}),this.dataProvider.create(n,r,{channel:b,successEvent:y,errorEvent:d})}},{key:"update",value:function(e){var t=e.data,n=e.callback,r=e.errorCallback,o=e.resource,i=e.formatData,a=e.eventPrefix,c=e.invalidationKeys,u=e.errorHandler,s=e.successHandler,l=e.invalidateFlight,f=this.getEventNames(e.eventPrefix),p=f.requestEvent,y=f.successEvent,d=f.errorEvent,h=this.getChannel(),b=this.getTransportChannel();h.trigger(p),this.listenToResponse({eventPrefix:a,formatData:i,invalidationKeys:c,callback:n,errorCallback:r,successHandler:s,errorHandler:u,invalidateFlight:l}),this.dataProvider.update(o,t,{channel:b,successEvent:y,errorEvent:d})}},{key:"delete",value:function(e){var t=e.eventPrefix,n=e.resource,r=e.callback,o=e.errorCallback,i=e.invalidationKeys,a=e.successHandler,c=e.errorHandler,u=e.invalidateFlight,s=this.getEventNames(t),l=s.successEvent,f=s.errorEvent,p=this.getTransportChannel();this.listenToResponse({eventPrefix:t,invalidationKeys:i,callback:r,errorCallback:o,cacheOptions:{noCache:!0,clearCacheKey:!0},successHandler:a,errorHandler:c,invalidateFlight:u}),this.dataProvider.delete(n,{channel:p,successEvent:l,errorEvent:f})}},{key:"listenToResponse",value:function(e){var t=this,n=e.eventPrefix,o=e.formatData,i=e.callback,a=e.errorCallback,c=e.successHandler,u=e.errorHandler,s=e.invalidationKeys,l=e.cacheOptions,f=void 0===l?{}:l,p=e.invalidateFlight,y=this.getEventNames(n),d=y.syncEvent,h=y.successEvent,b=y.errorEvent,v=y.successAlertEvent,m=y.errorAlertEvent,g=this.getChannel(),w=this.getTransportChannel(),O=this.getAlertChannel();r.isFunction(i)&&this.listenToOnce(g,d,i),r.isFunction(a)&&this.listenToOnce(g,b,a),this.stopListening(O,v),this.stopListening(O,m),r.isFunction(c)&&this.listenToOnce(O,v,c),r.isFunction(u)&&this.listenToOnce(O,m,u),!r.isFunction(u)&&!1!==u&&r.isFunction(this.defaultErrorHandler)&&this.listenToOnce(O,m,this.defaultErrorHandler),this.hasRequestSignature(n)||(this.setRequestSignature(n),this.listenTo(w,h,(function(e){t.stopListening(g,b,a);for(var r=arguments.length,i=new Array(r>1?r-1:0),c=1;c<r;c++)i[c-1]=arguments[c];O.trigger.apply(O,[v,e].concat(i));var u=f.noCache?t.formatData(e,o):t.cacheData(n,e,o);f.clearCacheKey&&t.cache.remove(n),g.trigger(d,u),s&&s.length&&t.cache.invalidate(s,(function(e){return g.trigger("".concat(e,":invalidate"))}),p)})),this.listenTo(w,b,(function(){var e;t.stopListening(g,d,i);var r=(e=t.dataProvider).parseError.apply(e,arguments);O.trigger(m,r),g.trigger(b,r),f.noCache||t.cacheData(n,null,null)})))}},{key:"cacheData",value:function(e,t,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(t),u=this.formatData(t,n);return this.cache.set(e,{data:u,timestamp:a,cursors:c,openRequest:i}),u}},{key:"processPagination",value:function(e){if(e){var t=e.pagination;if(t)return t.cursors?t.cursors:r.isUndefined(t.offset)||r.isUndefined(t.pageSize)?t.page?this.convertLegacyPaginationToCursors(t):void 0:this.convertOffsetPaginationToCursors(t)}}},{key:"formatData",value:function(e,t){return r.isFunction(t)?t(e):e}},{key:"chain",value:function(){var e=this,t=[],n=function(e,t){r.isFunction(e)&&e(t)},o=function(r,o){return t.push((function(){var i=r.callback;r.callback=function(e){n(i,e),n(t.shift())},e[o](r)})),i},i={func:function(e){return t.push((function(){e(t.shift()||function(){})})),i},get:function(e){return o(e,"get")},create:function(e){return o(e,"create")},update:function(e){return o(e,"update")},delete:function(e){return o(e,"delete")},run:function(){n(t.shift())}};return i}},{key:"invalidateCache",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e&&e.length&&this.cache.invalidate(e,(function(e){return t.getChannel().trigger("".concat(e,":invalidate"))}),n)}},{key:"currentTimestamp",value:function(){return(new Date).valueOf()}},{key:"isExpired",value:function(e,t){if(!t)return!1;var n=this.cache.get(e);if(!n||!n.timestamp)return!0;var r=1e3*t;return n.timestamp<this.currentTimestamp()-r}},{key:"getEventNames",value:function(e){return{syncEvent:"".concat(e,":sync"),requestEvent:"".concat(e,":request"),successEvent:"".concat(e,":success"),errorEvent:"".concat(e,":error"),successAlertEvent:"".concat(e,":success:alert"),errorAlertEvent:"".concat(e,":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(e){this.dataRequestSignatures[e]=e}},{key:"hasRequestSignature",value:function(e){return!!this.dataRequestSignatures[e]}},{key:"convertOffsetPaginationToCursors",value:function(e){var t=e.offset,n=e.pageSize,o=e.totalItems,i=o>0&&t<o&&t+n,a=o>0&&t>0&&Math.max(t-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(e){var t=e.page,n=e.totalPages,o=r.isNumber(t)&&t>0&&t<n&&t+1,i=r.isNumber(t)&&t>1&&t-1,a={};if(o&&o<=n&&(a.next=o.toString()),i&&(a.previous=i.toString()),!r.isEmpty(a))return a}}],n&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),b}(i.b)},91450:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{h:function(){return o}});var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.variables={}}var t,n,o;return t=e,o=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"name",get:function(){return"EnvironmentVariables"}},{key:"isDevelopment",get:function(){return this.variables.isDevelopment}},{key:"get",value:function(e){return this.variables[e]}},{key:"setUpVariables",value:function(e){this.variables=e}}])&&r(t.prototype,n),o&&r(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}().Instance},21679:function(e,t,n){"use strict";n.d(t,{u:function(){return p}});var r=n(39479),o=n(11306),i=n(32646),a=n(76648);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(d,e);var t,n,i,c,p,y=(c=d,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(c);if(p){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l(this,e)});function d(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(e=y.call(this)).constructors={},e.destructors={},e.instances={},e.singletonInstances={},e.referenceCounts={},e}return t=d,i=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"name",get:function(){return"InstanceManager"}},{key:"registerDataService",value:function(e,t){var n=this;this.validateConstructor(e);var r=e.prototype.name;return this.referenceCounts[r]=0,this.constructors[r]=function(){return new e({dataProvider:n.getInstance(t.dataProvider),cache:n.getInstance(t.cache),bootstrapData:t.bootstrapData,defaultErrorHandler:t.defaultErrorHandler,alertService:t.alertService})},this.destructors[r]=function(){n.instances[r]?n.instances[r].destroy():a.Ry.throw(new o.H("Trying to destroy a ".concat(r," instance that has already been destroyed"))),n.releaseInstance(t.dataProvider),n.releaseInstance(t.cache)},this}},{key:"registerInstance",value:function(e,t){var n=this;this.validateConstructor(e);var o=e.prototype.name;return this.referenceCounts[o]=0,this.constructors[o]=function(){return new e(t)},this.destructors[o]=function(){return r.isFunction(n.instances[o].destroy)&&n.instances[o].destroy()},this}},{key:"registerSingleton",value:function(e){var t=e.name;return this.singletonInstances[t]=e,this}},{key:"getInstance",value:function(e,t){var n=this;return this.singletonInstances[e]?this.singletonInstances[e]:(this.constructors[e]||a.Ry.throw(new o.H("".concat(e," was not registered with ").concat(this.name))),this.referenceCounts[e]++,t&&this.listenTo(t,"destroy",(function(){return n.releaseInstance(e)})),this.instances[e]||(this.instances[e]=this.constructors[e]()),this.instances[e])}},{key:"releaseInstance",value:function(e){var t=this;if(this.instances[e])return window.setTimeout((function(){t.referenceCounts[e]--,t.referenceCounts[e]<1&&(t.destructors[e](),delete t.instances[e])}),0),this}},{key:"validateConstructor",value:function(e){var t=e.prototype.name;t||a.Ry.throw(new o.H("Classes registered with ".concat(this.name," must have a unique name property."))),this.constructors[t]&&a.Ry.throw(new o.H("A class with the name: ".concat(t," has already been registered with ").concat(this.name)))}}])&&u(t.prototype,n),i&&u(t,i),Object.defineProperty(t,"prototype",{writable:!1}),d}(i.b).Instance},57857:function(e,t,n){"use strict";n.d(t,{T:function(){return m}});var r=n(89469),o=n(39479),i=n(32646),a=n(76648),c=n(92159),u=n(11306),s=n(91450),l=n(63151);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(g,e);var t,n,i,f,v,m=(f=g,v=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(f);if(v){var n=b(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h(this,e)});function g(){var e;return p(this,g),(e=m.apply(this,arguments)).initialized=!1,e}return t=g,i=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"name",get:function(){return c.P.LANGUAGE}},{key:"setConfig",value:function(e){this.polyglot=new r({locale:e.locale,phrases:e.phrases.rootElement||e.phrases}),this.cache={},this.initialized=!0}},{key:"isInitialised",value:function(){return this.initialized}},{key:"getPhrase",value:function(e,t,n){var r="".concat(e,".").concat(t);if(this.polyglot||a.Ry.throw(new u.H("LanguageService config must be set.")),!this.polyglot.has(r)){if(!s.h.isDevelopment){var i=window.trackJs;return i&&i.console.error("No phrase set for ".concat(r," in language config")),""}a.Ry.throw(new u.H("No phrase set for ".concat(r," in language config.")))}if(!n||o.isEmpty(n)){var c=this.cache[r];if(c)return c;var f=this.polyglot.t(r);return this.cache[r]=f,f}var p=o.omit(n,"smartCount","escapeText"),y={};for(var d in p){var h=l.m.sanitize(p[d]);n.escapeText&&(h=l.m.escapeExpression(h)),y[d]=h}o.isNumber(n.smartCount)&&(y.smart_count=n.smartCount);var b="".concat(r,":").concat(o.values(Object.assign({},y)).join(":")),v=this.cache[b];if(v)return v;var m=this.polyglot.t(r,y);return this.cache[b]=m,m}},{key:"encloseNamespace",value:function(e){var t=this;return function(n,r){return t.getPhrase(e,n,r)}}}])&&y(t.prototype,n),i&&y(t,i),Object.defineProperty(t,"prototype",{writable:!1}),g}(i.b),m=v.Instance},99249:function(e,t,n){"use strict";n.d(t,{r:function(){return b}});var r=n(39479),o=n(4705),i=n(11306),a=n(32646),c=n(42567),u=n(12121),s=n(76648);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function y(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(v,e);var t,n,a,l,h,b=(l=v,h=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(l);if(h){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function v(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),(e=b.call(this)).viewObjects={},e}return t=v,n=[{key:"name",get:function(){return"ViewModelService"}},{key:"updateViewModel",value:function(e,t){var n=this.mergeData(t,e.toJSON());return e instanceof u.g&&e.set(n,{silent:!0}),e instanceof c.g&&!(e instanceof u.g)&&e.set(n,{silent:!0}),e}},{key:"get",value:function(e){var t=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[e];if(i&&o)return this.updateViewModel(i,t);if(i)return i;var a=this.getLocalData(e,n);return this.set(e,t,a,n)}},{key:"set",value:function(e){var t=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(t,n),u=o?new o(a):new c.g(a);return this.viewObjects[e]=u,i&&!n?(this.setLocalData(e,u,null,r),this.setupChangeListeners(e,u,r)):i&&n&&this.setupChangeListeners(e,u,r),u}},{key:"clear",value:function(e){var t=this.viewObjects[e];return!!t&&(this.stopListening(t),t.trigger("destroy"),delete this.viewObjects[e],!0)}},{key:"getLocalData",value:function(e,t){var n=t.storage;if(n)return this.getStorageHelper(n.type).get(e)}},{key:"setLocalData",value:function(e,t,n,r){var o,i=r.storage;!i||i&&!i.persistProps||("string"==typeof i.persistProps&&(i.persistProps=[i.persistProps]),t instanceof c.g&&(o=t.pick(i.persistProps)),this.getStorageHelper(i.type).set(e,o))}},{key:"setupChangeListeners",value:function(e,t,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(t,"change:".concat(i),r.partial(o.setLocalData,e,r,r,n))})))}},{key:"mergeData",value:function(e,t){return t?r.isObject(e)&&r.isObject(t)?r.extend(e,t):void s.Ry.throw(new i.H("defaultValues and existingData are not of the same datatype and cannot be merged")):e}},{key:"getStorageHelper",value:function(e){switch(e){case o.Z1.LocalStorage:return o.SG;case o.Z1.SessionStorage:return o.qS}}}],a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],n&&f(t.prototype,n),a&&f(t,a),Object.defineProperty(t,"prototype",{writable:!1}),v}(a.b),b=h.Instance},53808:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(39479),o={debounce:function(e,t,n){return r.debounce(e,t,n)},throttle:function(e,t,n){return r.throttle(e,t,n)},isFunction:function(e){return r.isFunction(e)},useIdentity:function(){return r.identity},memoize:function(e,t){return r.memoize(e,t)}}},4705:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var p;n.d(t,{SG:function(){return b},Z1:function(){return p},qS:function(){return v}}),function(e){e.LocalStorage="localStorage",e.SessionStorage="sessionStorage"}(p||(p={}));var y=function(){function e(t){if(s(this,e),this.cachePrefix="_cv:",this.expireTime=3600,this.type=t.type,this.hasSupport=this.hasBrowserSupport(),this.hasSupport)try{this.storage=window[this.type]}catch(e){}}return f(e,[{key:"isAvailable",value:function(){return this.hasSupport}},{key:"get",value:function(e){if(this.hasSupport){var t=this.storage.getItem(e);try{return JSON.parse(t)}catch(e){return t}}}},{key:"set",value:function(e,t){if(this.hasSupport)try{return this.storage.removeItem(e),"string"!=typeof t?(this.storage.setItem(e,JSON.stringify(t)),!0):(this.storage.setItem(e,t),!0)}catch(e){return!1}}},{key:"remove",value:function(e){if(this.hasSupport)return this.storage.removeItem(e)}},{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(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.expireTime;this.cacheClean();var r={time:this.getCurrentTime()+1e3*n,data:null!=t&&t};return this.set("".concat(this.cachePrefix).concat(e),r)}},{key:"cacheGet",value:function(e){var t="".concat(this.cachePrefix).concat(e),n=this.get(t);return n?this.isExpired(n)?(this.remove(t),null):n.data:null}},{key:"cacheExists",value:function(e){var t="".concat(this.cachePrefix).concat(e),n=this.get(t);return!(!n||this.isExpired(n)&&(this.remove(t),1))}},{key:"cacheRemove",value:function(e){return this.remove("".concat(this.cachePrefix).concat(e))}},{key:"cacheFlush",value:function(){this.cacheClean()}},{key:"cacheClean",value:function(){if(this.hasSupport)for(var e=0;e<this.storage.length;e++){var t=this.storage.key(e);if(0===t.indexOf(this.cachePrefix)){var n=this.get(t);n&&n.time&&this.isExpired(n)&&this.remove(t)}}}},{key:"isExpired",value:function(e){return e.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(e){return!1}}}]),e}(),d=function(e){o(n,e);var t=a(n);function n(){return s(this,n),t.apply(this,arguments)}return f(n,null,[{key:"Instance",get:function(){return this.instance||(this.instance=new this({type:p.LocalStorage}))}}]),n}(y),h=function(e){o(n,e);var t=a(n);function n(){return s(this,n),t.apply(this,arguments)}return f(n,null,[{key:"Instance",get:function(){return this.instance||(this.instance=new this({type:p.SessionStorage}))}}]),n}(y),b=d.Instance,v=h.Instance},68003:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(39479),o=/\/$/,i={urlBuilder:function(e,t){var n=r.map(t,(function(e,t){return t&&Array.isArray(e)?e.map((function(e){return"".concat(t,"=").concat(encodeURIComponent(e))})).join("&"):t&&void 0!==e?"".concat(t,"=").concat(encodeURIComponent(e)):""})),o=r.reduce(n,(function(e,t){return t?e?"".concat(e,"&").concat(t):t:e}));return o?"".concat(e,"?").concat(o):e},buildFilter:function(e){var t=[];if(e.limit&&t.push("limit:".concat(e.limit)),e.cursor&&t.push("page:".concat(e.cursor)),e.before&&t.push("dateCreated:...".concat(e.before)),t.length)return t.join(",")},makeHttps:function(e){return r.isString(e)?-1===e.indexOf("http://")?e:e=e.replace("http://","https://"):e},safeUrlConcat:function(e,t){if(e){var n=e;return e.endsWith("/")||(n+="/"),t?n+=t.startsWith("/")?t.slice(1):t:n}},removeTrailingSlash:function(e){if("string"==typeof e)return e.replace(o,"")}}},37360:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{V:function(){return u}});var o={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,tablet:/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i,mobile:/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/},i="Unknown";function a(e,t,n){var o,a,c=(o=t.exec(n)||[],a=1,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(o,a)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(o,a)||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.")}())[0];return c||(c=i),{browser:e,version:c}}function c(e,t,n){if(!t)return{os:e,version:i};var r=t.exec(n);return{os:e,version:r&&r.length?r[0].trim():i}}var u={getDeviceType:function(){var e=window.navigator.userAgent;return o.mobileDevice.test(e)?o.iphone.test(e)?"iPhone":o.ipad.test(e)?"iPad":o.android.test(e)?"Android":o.blackberry.test(e)?"Blackberry":o.windowsPhone.test(e)?"Windows Phone":i:"Desktop"},getOperatingSystem:function(){var e=window.navigator.userAgent;return o.android.test(e)?c("Android",o.androidVersion,e):o.iphone.test(e)||o.ipad.test(e)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1?c("iOS",o.iosVersion,e):o.linux.test(e)?c("Linux",null,e):o.unix.test(e)?c("Unix",null,e):o.mac.test(e)?c("Macintosh",o.osxVersion,e):o.windows.test(e)?function(e,t){var n={os:"Windows"};return o.win2000.test(t)&&(n.version="2000"),o.winXP.test(t)&&(n.version="XP"),o.winVista.test(t)&&(n.version="Vista"),o.win7.test(t)&&(n.version="7"),o.win8.test(t)&&(n.version="8"),o.win81.test(t)&&(n.version="8.1"),o.win10.test(t)&&(n.version="10"),n.version||(n.version=i),n}(0,e):o.blackberry.test(e)?c("BlackBerry",o.blackberryVersion,e):o.windowsPhone.test(e)?c("Windows Phone",o.windowsPhoneVersion,e):{os:i,version:i}},getBrowser:function(){var e=window.navigator.userAgent;return o.chrome.test(e)?a("Chrome",o.generalVersion,e):o.firefox.test(e)?a("Firefox",o.generalVersion,e):o.safari.test(e)?a("Safari",o.generalVersion,e):o.ie.test(e)?a("Internet Explorer",o.ieVersion,e):o.edge.test(e)?a("Edge",o.edgeVersion,e):o.opera.test(e)?a("Opera",o.operaVersion,e):{browser:i,version:i}},isTouchScreen:function(){return!(!("ontouchstart"in window)&&!navigator.maxTouchPoints)},isTabletOrMobile:function(){return!!u.isTouchScreen()&&(o.tablet.test(navigator.userAgent)||o.mobile.test(navigator.userAgent))},isAndroid:function(){return"Android"===u.getOperatingSystem().os},isIOS:function(){return"iOS"===u.getOperatingSystem().os}}},34279:function(e,t,n){"use strict";var r;n.d(t,{B:function(){return r}}),function(e){e.UPDATE="UPDATE_VIEW_MODEL"}(r||(r={}))},64464:function(e,t,n){"use strict";n.d(t,{HG:function(){return O},he:function(){return E},ms:function(){return k},wY:function(){return C},cz:function(){return P},ck:function(){return S},kW:function(){return _},UW:function(){return x},mR:function(){return A},vn:function(){return L},tV:function(){return R},gU:function(){return j},V_:function(){return T}});var r=n(58566);function o(e,t){return e===t}function i(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,n=null,r=null;return function(){return i(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}}function c(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function u(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];var i=0,a=r.pop(),u=c(r),s=e.apply(void 0,[function(){return i++,a.apply(null,arguments)}].concat(n)),l=e((function(){for(var e=[],t=u.length,n=0;n<t;n++)e.push(u[n].apply(null,arguments));return s.apply(null,e)}));return l.resultFunc=a,l.dependencies=u,l.recomputations=function(){return i},l.resetRecomputations=function(){return i=0},l}}var s=u(a),l=n(36911),f=n(85887),p=n(31627),y=n(59166),d=n(55016),h=n(1024);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function v(){v=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=S(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l={};function f(){}function p(){}function y(){}var d={};c(d,o,(function(){return this}));var h=Object.getPrototypeOf,m=h&&h(h(k([])));m&&m!==t&&n.call(m,o)&&(d=m);var g=y.prototype=f.prototype=Object.create(d);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(o,i,a,c){var u=s(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==b(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function k(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:_}}function _(){return{value:void 0,done:!0}}return p.prototype=y,c(g,"constructor",y),c(y,"constructor",p),p.displayName=c(y,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,i,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),c(g,a,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var g=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.status=t.status,this.requestTime=t.requestTime,this.cacheDuration=t.cacheDuration,this.data=t.data,this.statusCode=t.statusCode,this.hasCompleted=t.hasCompleted}var t,n;return t=e,(n=[{key:"shouldFetch",get:function(){return this.status===d.e.None||this.isExpired}},{key:"isExpired",get:function(){return l.k.isExpired(this.requestTime,this.cacheDuration)}},{key:"isFetching",get:function(){return this.status===d.e.Fetching}},{key:"hasError",get:function(){return this.status===d.e.Error}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function w(e,t,n){if(!e||!t)return O();var r=t.response;return!1!==t.request.normalize&&(r=(0,y.c)(t.response,n)),new g({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.expiryTime,hasCompleted:t.hasCompleted,data:r})}function O(){return new g({status:d.e.None})}function S(e,t){return w(t,e.flightData.resources[t],e.flightData.entities)}function C(e){return function(t){t&&E(e,t)}}function P(e){return function(t){if(t)return k(e,t)}}function E(e,t){e({type:p.e.API_REQUEST,request:t})}function k(e,t){return new Promise((function(n,r){var o=t.success,i=t.error;t.success=function(e){null==o||o(e),n(e)},t.error=function(e){null==i||i(e),r(e)},E(e,t)}))}function _(e,t){var n,r,o,i,a=S(e.getState(),null==t?void 0:t.key);if(t&&a.shouldFetch)E(e.dispatch,t);else if(a.isFetching)var c=!1,u=e.subscribe((function(){u(),c||(c=!0,_(e,t))}));else a.hasError?(null===(n=t.error)||void 0===n||n.call(t,{status:a.statusCode,getResponseHeader:null}),null===(r=t.always)||void 0===r||r.call(t)):(null===(o=t.success)||void 0===o||o.call(t,a.data),null===(i=t.always)||void 0===i||i.call(t))}function R(){return C((0,r.useDispatch)())}function j(){return P((0,r.useDispatch)())}function T(e,t){var n=(0,h.useMemo)((function(){return e&&(null==t?void 0:t.optimize)?function(e){return u(a,(function(e,t){var n=["response","request"];return f.t.isEqual(f.t.omit(e,n),f.t.omit(t,n))}))((function(t){return t.flightData.resources[e]}),(function(t){var n=t.flightData.resources[e];return(null==n?void 0:n.entityIds)?n.entityIds.reduce((function(e,n){return e[n]=t.flightData.entities[n],e}),{}):{}}),(function(t,n){return w(e,t,n)}))}(e):function(e){return s((function(t){return t.flightData.resources[e]}),(function(e){return e.flightData.entities}),(function(t,n){return w(e,t,n)}))}(e)}),[e]);return(0,r.useSelector)((function(e){return n(e)}))}function A(e,t){var n=(0,r.useDispatch)(),o=T(e&&e.key,t),i=C(n);return e&&o.shouldFetch&&i(e),o}function L(e){var t=R();return(0,r.useSelector)((function(n){var r=[],o=[];return null==e||e.forEach((function(e){var i=S(n,e.key);i.shouldFetch&&t(e),i.data&&o.push(i.data),r.push(i)})),{data:o,isFetching:r.some((function(e){return e.isFetching})),hasError:r.some((function(e){return e.hasError})),hasCompleted:r.every((function(e){return e.hasCompleted})),responses:r}}))}function x(e,t){return n=this,r=void 0,o=void 0,i=v().mark((function n(){return v().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",new Promise((function(n,r){var o=t.success,i=t.error;t.success=function(e){null==o||o(e),n(e)},t.error=function(e){null==i||i(e),r(e)},_(e,t)})));case 1:case"end":return n.stop()}}),n)})),new(o||(o=Promise))((function(e,t){function a(e){try{u(i.next(e))}catch(e){t(e)}}function c(e){try{u(i.throw(e))}catch(e){t(e)}}function u(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(a,c)}u((i=i.apply(n,r||[])).next())}));var n,r,o,i}},70293:function(e,t,n){"use strict";n.d(t,{J:function(){return s}});var r=n(36911),o=n(2248),i=n(55016),a=n(31627),c=n(59166),u=n(40867);function s(e){var t=e.fetchData,n=e.bootstrappedData,s=e.defaultExpiryTime,l=Object.freeze({key:null,url:null,type:o.k.GET,normalize:!0,formatData:function(e){return e},expiryTime:s});return function(e){return function(o){return function(s){if(s.type===a.e.API_REQUEST){var f=e.getState(),p=Object.assign({},l,s.request),y=p.success,d=p.error,h=p.always,b=p.formatData,v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(p,["success","error","always","formatData"]),m=f.flightData.resources[v.key];if(o(s),!m||m.status!==i.e.Fetching){if(v.bootstrapName&&n&&n[s.request.bootstrapName])return w(n[s.request.bootstrapName]),O(),void delete n[s.request.bootstrapName];var g={resource:v.url,type:v.type,data:v.data,success:w,error:function(t){e.dispatch({type:a.e.API_ERROR,errorResponse:t.responseJSON,request:s.request,timestamp:r.k.currentTimestamp(),xhr:t}),v.invalidationKeys&&e.dispatch({type:a.e.INVALIDATE,keys:v.invalidationKeys,request:v}),d&&d(t)},always:O};return void(u.R.isSimulated(v)?u.R.simulateFetchData(g,v):t(g))}}else o(s);function w(t,n){var o=b(t),i={result:o,entities:{}};if(v.normalize&&(i=(0,c.F)(o,v.normalizeOptions)),e.dispatch({type:a.e.API_RESPONSE,result:i.result,entities:i.entities,request:v,timestamp:r.k.currentTimestamp(),xhr:n}),v.updateState&&(Array.isArray(v.updateState)?v.updateState:[v.updateState]).forEach((function(t){var n,r,o,i;n=t,r=u.S.getMatchingKeyMap(f.flightData,n.keys),o=Object.assign({},Object.keys(f.flightData.resources).filter((function(e){return r[e]})).reduce((function(e,t){var n=f.flightData.resources[t],r=n.response;return n.request.normalize&&(r=(0,c.c)(n.response,f.flightData.entities)),e[t]=r,e}),{})),i=n.updateData(o),Object.keys(i).forEach((function(t){var n=f.flightData.resources[t],r=i[t],o={result:r,entities:{}};n.request.normalize&&(o=(0,c.F)(r,n.request.normalizeOptions)),e.dispatch({type:a.e.UPDATE,result:o.result,entities:o.entities,request:n.request})}))})),v.invalidationKeys&&e.dispatch({type:a.e.INVALIDATE,keys:v.invalidationKeys,request:v}),y){var s=i.result;v.normalize&&(s=(0,c.c)(i.result,Object.assign(Object.assign({},f.flightData.entities),i.entities))),y(s)}}function O(){h&&h()}}}}}},84773:function(e,t,n){"use strict";n.d(t,{d:function(){return d}});var r=n(31627),o=n(55016),i=n(40867);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.assign({},e);return Object.keys(t).forEach((function(r){e[r]?n[r]=Object.assign(Object.assign({},e[r]),t[r]):n[r]=t[r]})),n}function u(e,t){var n=e.resources[t.request.key];return{entities:Object.assign({},e.entities),resources:Object.assign(Object.assign({},e.resources),a({},t.request.key,{request:t.request,status:o.e.Fetching,response:n?n.response:null,entityIds:n?n.entityIds:null,hasCompleted:!!(null==n?void 0:n.hasCompleted)}))}}function s(e,t){var n,r=t.entities?Object.keys(t.entities):[];return{entities:c(e.entities,t.entities),resources:Object.assign(Object.assign({},e.resources),a({},t.request.key,{request:t.request,status:o.e.Success,response:t.result,timestamp:t.timestamp,statusCode:null===(n=t.xhr)||void 0===n?void 0:n.status,entityIds:r,hasCompleted:!0}))}}function l(e,t){var n;return{entities:Object.assign({},e.entities),resources:Object.assign(Object.assign({},e.resources),a({},t.request.key,{request:t.request,status:o.e.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:null===(n=t.xhr)||void 0===n?void 0:n.status,hasCompleted:!0}))}}function f(e,t){var n,r=i.S.getMatchingKeyMap(e,t.keys,null===(n=t.request)||void 0===n?void 0:n.key);return{entities:Object.assign({},e.entities),resources:Object.assign(Object.assign({},e.resources),Object.keys(e.resources).filter((function(e){return r[e]})).reduce((function(t,n){var r=e.resources[n];return t[n]=Object.assign({},r,{status:o.e.None}),t}),{}))}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,t=arguments.length>1?arguments[1]:void 0,n=t.entities?Object.keys(t.entities):[];return{entities:c(e.entities,t.entities),resources:Object.assign(Object.assign({},e.resources),a({},t.request.key,Object.assign(Object.assign({},e.resources[t.request.key]),{request:t.request,response:t.result,entityIds:n})))}}var y={resources:{},entities:{}};function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.e.API_REQUEST:return u(e,t);case r.e.API_RESPONSE:return s(e,t);case r.e.API_ERROR:return l(e,t);case r.e.INVALIDATE:return f(e,t);case r.e.UPDATE:return p(e,t)}return e}},48453:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var r=n(40221),o="id";function i(e,t){return localStorage.setItem(e,JSON.stringify(t)),t}function a(e){var t=localStorage.getItem(e);return t?JSON.parse(t):null}var c={getAll:function(e,t){var n=a(e);return n&&n.length?n:!n&&t?(t.forEach((function(t){return c.create(e,t)})),a(e)):[]},get:function(e,t){var n=c.getAll(e);return n.length?n.find((function(e){return e.id===t})):null},create:function(e,t){var n,r,a,u=c.getAll(e),s=Object.assign(Object.assign({},t),(n={},r=o,a=t.id||(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER)+1).toString(),r in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n.id=a,n));return u.push(s),i(e,u),s},update:function(e,t){var n=c.getAll(e);if(!n.length)return t;var r=n.findIndex((function(e){return e.id===t.id}));return n[r]=t,i(e,n),t},delete:function(e,t){var n=c.getAll(e);n.length&&(Array.isArray(t)||(t=[t]),t.forEach((function(e){var t=n.findIndex((function(t){return t.id===e}));n.splice(t,1)})),i(e,n))},assoc:function(e,t,n,o,a){var u=Array.isArray(a),s=u?a:[a];"string"==typeof r.m.first(s)&&(s=c.getAll(o).filter((function(e){return s.includes(e.id)})));var l=s.map((function(e){return e.id?e:c.create(o,e)})),f=c.getAll(e);if(f.length){var p=f.find((function(e){return e.id===t}));if(p)return l.forEach((function(e){if(p[n])if(Array.isArray(p[n])){if(p[n].find((function(t){return t.id===e.id})))return;p[n].push(e)}else p[n]=e;else p[n]=u?[e]:e})),i(e,f=f.map((function(e){return e.id!==p.id?e:p}))),u?l:r.m.first(l)}},dissoc:function(e,t,n,r){var o=c.getAll(e);if(o.length){var a=o.find((function(e){return e.id===t}));if(a){var u=a[n];if(u)return Array.isArray(r)||(r=[r]),Array.isArray(u)||(u=[u]),r.forEach((function(e){var t=u.findIndex((function(t){return t.id===e}));u.splice(t,1)})),a[n]=u,i(e,o=o.map((function(e){return e.id!==a.id?e:a}))),o}}}}},8345:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});var r={API_REQUEST:"API_REQUEST",API_RESPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"}},31627:function(e,t,n){"use strict";n.d(t,{e:function(){return r.e}});var r=n(8345)},57865:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});var r=n(2248);function o(e){return{getResponseHeader:e.getResponseHeader,responseJSON:e.responseJSON,status:e.status}}var i=[r.k.POST,r.k.PUT];function a(e){var t=e.resource,n=e.type,r=e.headers,a=e.success,c=e.error,u=e.always,s={url:t,method:n};i.includes(n)&&e.data&&(s.data=JSON.stringify(e.data)),r&&(s.headers=r),$.ajax(s).done((function(e,t,n){a&&a(e,o(n))})).fail((function(e){c&&c(o(e))})).always((function(){u&&u()}))}},55016:function(e,t,n){"use strict";var r;n.d(t,{e:function(){return r}}),function(e){e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error"}(r||(r={}))},73386:function(e,t,n){"use strict";n.r(t),n.d(t,{Actions:function(){return r.e},FlightReducer:function(){return p.d},RequestStatus:function(){return o.e},Simulator:function(){return y.X},ajaxRequest:function(){return u.V},createMiddleware:function(){return f.J},denormalize:function(){return s.c},emptyResponse:function(){return l.HG},fetch:function(){return l.he},fetchAsync:function(){return l.ms},getFetch:function(){return l.wY},getFetchAsync:function(){return l.cz},getResponse:function(){return l.ck},hooklessFetch:function(){return l.kW},hooklessFetchAsync:function(){return l.UW},normalize:function(){return s.F},useBasicFetch:function(){return l.mR},useBasicFetchAll:function(){return l.vn},useGetFetch:function(){return l.tV},useGetFetchAsync:function(){return l.gU},useGetResponse:function(){return l.V_}});var r=n(31627),o=n(55016),i=n(10643),a={};for(var c in i)["default","Actions","RequestStatus"].indexOf(c)<0&&(a[c]=function(e){return i[e]}.bind(0,c));n.d(t,a);var u=n(57865),s=n(59166),l=n(64464),f=n(70293),p=n(84773),y=n(48453)},64333:function(){},56389:function(){},81632:function(){},14147:function(){},98288:function(){},33551:function(){},15517:function(){},85894:function(){},479:function(){},10643:function(e,t,n){"use strict";n.r(t);var r=n(15517),o={};for(var i in r)"default"!==i&&(o[i]=function(e){return r[e]}.bind(0,i));n.d(t,o);var a=n(64333);for(var i in o={},a)"default"!==i&&(o[i]=function(e){return a[e]}.bind(0,i));n.d(t,o);var c=n(81632);for(var i in o={},c)"default"!==i&&(o[i]=function(e){return c[e]}.bind(0,i));n.d(t,o);var u=n(14147);for(var i in o={},u)"default"!==i&&(o[i]=function(e){return u[e]}.bind(0,i));n.d(t,o);var s=n(33551);for(var i in o={},s)"default"!==i&&(o[i]=function(e){return s[e]}.bind(0,i));n.d(t,o);var l=n(85894);for(var i in o={},l)"default"!==i&&(o[i]=function(e){return l[e]}.bind(0,i));n.d(t,o);var f=n(98288);for(var i in o={},f)"default"!==i&&(o[i]=function(e){return f[e]}.bind(0,i));n.d(t,o);var p=n(56389);for(var i in o={},p)"default"!==i&&(o[i]=function(e){return p[e]}.bind(0,i));n.d(t,o);var y=n(479);for(var i in o={},y)"default"!==i&&(o[i]=function(e){return y[e]}.bind(0,i));n.d(t,o)},59166:function(e,t,n){"use strict";n.d(t,{c:function(){return h},F:function(){return f}});var r=n(11306),o=n(51092);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a="id";function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.idAttribute,i=void 0===n?a:n,c=t.namespace,u=void 0===c?"":c;return e[i]||o.ErrorHelper.throw(new r.H("There was an issue during normalization. Object did not have an id attribute.")),"".concat(u,"__").concat(e[i])}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.idAttribute,o=void 0===r?a:r,i=[];return e.forEach((function(e){e[o]&&i.push(c(e,n)),l(e,t,n)})),i}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.idAttribute,o=void 0===r?a:r,l=Object.assign({},e);if(Object.keys(e).forEach((function(r){var a=e[r];if(a)if(Array.isArray(a)){var f=u(a,t,n);f.length&&(l[r]=f)}else if("object"===i(a)){var p=s(a,t,n);a[o]?l[r]=c(a,n):l[r]=p}})),e[o]){var f=c(e,n);return t[f]?t[f]=Object.assign(Object.assign({},t[f]),l):t[f]=l,f}return l}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)return Array.isArray(e)?u(e,t,n):"object"===i(e)?s(e,t,n):e}function f(e,t){var n={};return{result:l(e,n,t),entities:n}}var p=n(85887);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function d(e,t,n){if(e){if("string"==typeof e)return function(e,t,n){if(n[e])return n[e];n[e]={};var r=d(t[e],t,n);return Object.assign(n[e],r),p.t.isEmpty(n[e])&&delete n[e],n[e]}(e,t,n);if(Array.isArray(e))return e.map((function(e){return d(e,t,n)}));if("object"===y(e)){var r={};return Object.keys(e).forEach((function(o){r[o]=d(e[o],t,n)||e[o]})),r}return e}}function h(e,t){return d(e,t,{})}},40867:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{R:function(){return a},S:function(){return o}});var o={getMatchingKeyMap:function(e,t,n){var o=Array.isArray(t)?t:[t],i=[];return o.forEach((function(t){var n,o,a=new RegExp(t,"i"),c=Object.keys(e.resources).filter((function(e){return a.test(e)}));(n=i).push.apply(n,function(e){if(Array.isArray(e))return r(e)}(o=c)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(o)||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&&(i=i.filter((function(e){return e!==n}))),i.reduce((function(e,t){return e[t]=!0,e}),{})}},i=n(35656),a={isSimulated:function(e){var t=e;return!!(t.successResponse||t.errorResponse||t.noResponse)},simulateFetchData:function(e,t){var n=e.success,r=e.error,o=e.always,a=t;window.setTimeout((function(){a.noResponse||(a.successResponse?n(a.successResponse(),{status:i.o.Ok,getResponseHeader:function(){return""}}):a.errorResponse&&r(a.errorResponse()),o())}),function(e){var t=e.timeout||300;return t/2+(Math.floor(Math.random()*t/2)+1)}(t))}}},86120:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});var r=n(73386)},40221:function(e,t,n){"use strict";n.d(t,{m:function(){return u}});var r=n(39479),o=n(85887);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u={first:function(e){return r.first(e)},firstFew:function(e,t){return r.first(e,t)},last:function(e){return r.last(e)},lastFew:function(e,t){return r.last(e,t)},max:function(e,t){return r.max(e,t)},cloneAndReplaceAtIdx:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=e&&e.length?e.slice():[];return t+1>o.length&&(o=[].concat(a(o),a(Array(t+1-o.length).fill(r)))),o.splice(t,1,n),o},moveItem:function(e,t,n){var r=e.slice();return r.splice(n,0,r.splice(t,1)[0]),r},isEmpty:function(e){return e&&!e.length},findIndex:function(e,t){return r.findIndex(e,t)},findWhere:function(e,t){return r.findWhere(e,t)},where:function(e,t){return r.where(e,t)},groupBy:function(e,t){return r.groupBy(e,t)},countBy:function(e,t){return r.countBy(e,t)},flatten:function(e,t){return r.flatten(e,t)},intersection:function(){return r.intersection.apply(r,arguments)},addOrRemove:function(e,t){var n=e.indexOf(t);return-1===n?e.push(t):e.splice(n,1),e},addOrRemoveImmutable:function(e,t){var n=e.indexOf(t),r=o.t.deepClone(e);return-1===n?[].concat(a(r),[t]):[].concat(a(r.slice(0,n)),a(r.slice(n+1)))},sortBy:function(e,t){return r.sortBy(e,t)},chunk:function(e,t){return r.chunk(e,t)},uniq:function(e,t){return r.uniq(e,t)},toObject:function(e,t){return e.reduce((function(e,n){return Object.assign(e,o.t.isObject(n)?i({},n[t],n):i({},t,n))}),{})},findIndexById:function(e,t){return e.findIndex((function(e){return e.id===t.id}))},removeItem:function(e,t){var n=this.findIndex(e,t);return[].concat(a(e.slice(0,n)),a(e.slice(n+1)))},findMatchedIdIndex:function(e,t){return e.findIndex((function(e){var n;return(null===(n=e.id)||void 0===n?void 0:n.toString())===t.toString()}))}}},56285:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(33192),o=n.n(r),i={add:function(e,t,n){return o()(e).add(t,n).toDate()},subtract:function(e,t,n){return o()(e).subtract(t,n).toDate()},format:function(e,t){return o()(e).format(t)},isValid:function(e){return o()(e).isValid()},fromNow:function(e){return o()(e).fromNow()},convertUTCToLocal:function(e){var t=new Date(e),n=t.getTimezoneOffset()/60,r=t.getHours();return t.setHours(r-n),t},convertDateToUTC:function(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())},isBefore:function(e,t,n){var r=o()(e);return n?r.isBefore(t,n):r.isBefore(t)},isAfter:function(e,t,n){var r=o()(e);return n?r.isAfter(t,n):r.isAfter(t)},isSame:function(e,t,n){return o()(e).isSame(o()(t),n)},timeSince:function(e,t,n){var r=o()(e);return o()().diff(r,t,n)},diff:function(e,t){var n=o()(e);return o()()[t]()-n[t]()},timeBetween:function(e,t,n){return o()(t).diff(e,n)},startOf:function(e,t){return o()(e).startOf(t).toDate()},endOf:function(e,t){return o()(e).endOf(t).toDate()},getTimezoneOffset:function(){var e=(new Date).getTimezoneOffset();if(0===e)return"00:00:00";var t=Math.floor(Math.abs(e/60)),n=Math.abs(e%60),r=t<10?"0"+t:t.toString(),o=n<10?"0"+n:n.toString(),i="".concat(r,":").concat(o,":00");return e<0?i:"-".concat(i)}}},85887:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(39479);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e,t)||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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a={isEmpty:function(e){return r.isEmpty(e)},values:function(e){return r.values(e)},keys:function(e){return r.keys(e)},deepClone:function(e){return(r.isArray(e)?r.map:r.mapObject)(e,(function(e){return r.isObject(e)||r.isArray(e)?a.deepClone(e):e}))},getEnumKeys:function(e){return Object.keys(e).filter((function(e){return!(parseInt(e)>=0)}))},isObject:function(e){return r.isObject(e)},isEqual:function(e,t){return r.isEqual(e,t)},omit:function(e,t){return r.omit(e,t)},removeEmptyKeys:function(e){return Object.entries(e).filter((function(e){return null!==o(e,2)[1]})).reduce((function(e,t){var n=o(t,2),r=n[0],i=n[1];return Object.assign(Object.assign({},e),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,i))}),{})}}},97874:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});var r={getRandomInt:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e4;return Math.floor(Math.random()*Math.floor(e))}}},63151:function(e,t,n){"use strict";n.d(t,{m:function(){return f}});var r=n(39479),o=n(58176),i=n.n(o),a=n(6231),c=/&/g,u=/[\W]+/g,s=/\s+/g,l={className:"info-link"},f={escapeExpression:function(e){return window.Handlebars.escapeExpression(e)},escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},slugify:function(e){if(e)return e.toLowerCase().replace(c,"and").replace(u," ").trim().replace(s,"-").substr(0,80)},linkifyText:function(e,t){if(e){var n=t?r.extend({},l,t):l;return i()(e,n)}},isEqual:function(e,t){return!!e&&!!t&&e.toString()===t.toString()},toTitleCase:function(e){return e.split(" ").map((function(e){return(e[0]?e[0].toUpperCase():"")+(e.substr(1)?e.substr(1).toLowerCase():"")})).join(" ")},sanitize:function(e){return 0===e?"0":e?a.sanitize(e.toString(),{ADD_ATTR:["target"]}).replace("&","&"):""}}},36911:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e){var t=+e;return isNaN(t)||!t?0:t}n.d(t,{k:function(){return i}});var i={currentTimestamp:function(){return(new Date).valueOf()},isExpired:function(e,t){if(!t)return!1;var n=1e3*t;return e<i.currentTimestamp()-n},currentTimeOfDay:function(e){e||(e=new Date);var t=e.getHours();return t>=12&&t<18?"afternoon":t>=18?"evening":"morning"},convertDurationToSeconds:function(e){var t,n,i=(t=e.split(":"),n=3,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(t,n)||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.")}()),a=i[0],c=i[1],u=i[2];return u||(u=c,c=a,a="0"),60*o(a)*60+60*o(c)+o(u)}}},43129:function(e,t,n){"use strict";n.d(t,{z:function(){return M},Z:function(){return ee}});var r,o=n(31647),i=n(57857),a=n(80758);!function(e){e[e.Notifications=0]="Notifications"}(r||(r={}));var c,u,s,l,f,p=n(21679),y=n(23859),d=(c={},s=function(e){var t={imageUrl:p.u.getInstance(y.C.NOTIFICATIONS).notificationsEmptyStateUrl,heading:e.options.componentOptions.noNotificationsText,customClass:"".concat("geLXk"," ").concat(e.options.componentOptions.customClass),customImageClass:"sm"===e.options.componentOptions.imageSize?"uyZb3":"ZdGxR"};return p.u.releaseInstance(y.C.NOTIFICATIONS),t},(u=r.Notifications)in c?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),h=n(48088),b=n(33192),v=n(63791),m=n(69184),g=n(60519),w=n(62077),O=n(84855),S=n(84975),C=n(39479);!function(e){e.LibraryReview="libraryreview",e.ContentUpdates="newcontent"}(l||(l={})),function(e){e.Video="video",e.Url="url",e.Module="module",e.App="app",e.StaffRequest="staff_request",e.LibraryRequest="library_request",e.Share="share"}(f||(f={}));var P=n(68249),E=n(68003);function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e,t)||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 _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R(){return p.u.getInstance(y.C.NOTIFICATIONS,this)}var j=function(e,t){if(e&&t){var n=k(e.split(":"),2);return r=n[0],o=n[1],r===f.Module?function(e,t){var n=R();return t===l.ContentUpdates?n.appLinks.pastReleases:t===l.LibraryReview?n.appLinks.awaitingReview:void 0}(0,o):r===f.Video?function(e,t){return Object.assign(Object.assign({},R().appLinks.videoDetails),{args:[t,""]})}(0,o):r===f.Share?function(e,t){return Object.assign(Object.assign({},R().appLinks.shareLink),{args:[t]})}(0,o):r===f.StaffRequest?Object.assign(Object.assign({},R().appLinks.editLibraryRequest),{args:[""]}):r===f.LibraryRequest?function(e,t){return Object.assign(Object.assign({},R().appLinks.editLibraryRequest),{args:[t]})}(0,o):void 0}var r,o},T=function(e){return C.contains(R().unsupportedNotificationLinks,e)},A=function(e,t,n){if(!n)return t.get("link");var r,o,i=t.get("notificationType"),a=t.get("appLink");switch(i){case P.k.MyVideosVideoAvailable:case P.k.WorkspaceVideoAvailable:case P.k.ExchangeVideoAvailable:case P.k.CaptionsAvailable:return o=k(a.split(":"),2)[1],r=E._.safeUrlConcat(e,"/videos/".concat(o)),E._.urlBuilder(r,{skipPrompt:!0});case P.k.NewDirectShare:return o=k(a.split(":"),2)[1],r=E._.safeUrlConcat(e,"/share/".concat(o)),E._.urlBuilder(r,{skipPrompt:!0})}return t.get("link")},L={item:"RsRPs",icon:"cpECi",contentContainer:"XMCn4",notificationTime:"CPHQC",actionText:"H01H6"},x=n(7778),V=n.n(x);function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B(e,t){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},B(e,t)}function I(e,t){if(t&&("object"===N(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},U(e)}var M,F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=U(r);if(o){var n=U(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return I(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:notificationStatus",this.updateReadStatus)}},{key:"name",get:function(){return"NotificationItemComponent"}},{key:"template",get:function(){return V()}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){return T(this.model.get("notificationType"))||this.getAppLink()?{}:{href:A(this.options.liteUrl,this.model,this.options.hasLite),target:"_blank"}}},{key:"className",get:function(){return"notification ".concat(L.item," px-1 py-2 ").concat(this.getReadStatus())}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(){return h.Radio.channel(m.GL.NOTIFICATIONS).trigger(O.f.Read,this.model.get("id")),this.model.set("notificationStatus",w.E.Read),!0}},{key:"appLinks",get:function(){var e=this.getAppLink();return e?{"[this]":e}:{}}},{key:"getAppLink",value:function(){if(T(this.model.get("notificationType")))return null;var e=this.model.get("appLink");if(!e)return null;var t,n=this.model.get("notificationType");return t=n,C.contains(R().notificationTypesWithAppLinks,t)?j(e,n):null}},{key:"updateReadStatus",value:function(){this.$el.removeClass("unread read").addClass(this.getReadStatus())}},{key:"getReadStatus",value:function(){switch(this.model.get("notificationStatus")){case w.E.Read:return"read";default:case w.E.Received:return"unread"}}},{key:"shouldShowActionText",value:function(){return!T(this.model.get("notificationType"))&&this.options.showActionText&&this.model.get("alertType")!==S.d.Warning}},{key:"viewOptions",value:function(){var e=g.c.getIconColorByNotificationType(this.model.get("notificationType"))||g.c.getIconColor(this.model.get("alertType")),t=g.c.getIconByNotificationType(this.model.get("notificationType"))||g.c.getIcon(this.model.get("alertType"));return{content:this.model.get("body")||this.model.get("name"),notificationTime:b(this.model.get("dateCreated")).fromNow(),icon:v.Nj.getSvg(t),iconClass:"text-".concat(e),styles:L,showActionText:this.shouldShowActionText(),actionText:g.c.getNotificationAction(this.model.get("notificationType"))}}}])&&D(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.Q.Component),H=n(93949),z=n.n(H);function G(e){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},G(e)}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W(e,t,n){return t&&Q(e.prototype,t),n&&Q(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Z(e,t)}function Z(e,t){return Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Z(e,t)}function K(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=X(e);if(t){var o=X(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $(this,n)}}function $(e,t){if(t&&("object"===G(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function X(e){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},X(e)}!function(e){e[e.Default=0]="Default",e[e.Popover=1]="Popover"}(M||(M={}));var J=function(e){Y(n,e);var t=K(n);function n(e){return q(this,n),t.call(this,e)}return W(n,[{key:"name",get:function(){return"NotificationComponentCollection"}},{key:"className",get:function(){return this.options.isPopover&&"popover-list-body-sm"}},{key:"childView",get:function(){return F}},{key:"childViewOptions",get:function(){return{showActionText:!this.options.isPopover,liteUrl:this.options.liteUrl,hasLite:this.options.hasLite}}}]),n}(o.Q.ComponentCollection),ee=function(e){Y(n,e);var t=K(n);function n(e){return q(this,n),t.call(this,e)}return W(n,[{key:"name",get:function(){return"NotificationListComponent"}},{key:"template",get:function(){return z()}},{key:"lang",get:function(){return"notifications.notificationList"}},{key:"regions",value:function(){return{notifications:{el:".notifications-region",replaceElement:!0}}}},{key:"behaviors",get:function(){return[{behaviorClass:a.o,region:"notifications",type:r.Notifications,componentOptions:this.getEmptyStateComponentOptions(),emptyStateComponents:d}]}},{key:"getEmptyStateComponentOptions",value:function(){return this.options.isPopover?{customClass:"px-0 py-3",imageSize:"sm",noNotificationsText:i.T.getPhrase(this.lang,"noNotifications")}:{noNotificationsText:i.T.getPhrase(this.lang,"noNotifications")}}},{key:"onRender",value:function(){this.showChildView("notifications",new J(this.options))}}]),n}(o.Q.Component)},84855:function(e,t,n){"use strict";var r;n.d(t,{f:function(){return r}}),function(e){e.Read="notification:read"}(r||(r={}))},84975:function(e,t,n){"use strict";var r;n.d(t,{d:function(){return r}}),function(e){e[e.Other=0]="Other",e[e.Alert=1]="Alert",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Success=4]="Success"}(r||(r={}))},62077:function(e,t,n){"use strict";var r;n.d(t,{E:function(){return r}}),function(e){e[e.Received=1]="Received",e[e.Seen=2]="Seen",e[e.Read=3]="Read"}(r||(r={}))},68249:function(e,t,n){"use strict";var r;n.d(t,{k:function(){return r}}),function(e){e.ExchangeVideoAvailable="exchange-video-available",e.WorkspaceVideoAvailable="workspace-video-available",e.Marketing="marketing",e.EditedVideoAvailable="edited-video-available",e.VideoRequestAvailable="pay-tv-video-available",e.VideoRequestDenied="pay-tv-video-denied",e.VideoReviewReminder="term-update-review-reminder",e.VideoReviewAddedToLibrary="term-update-review-videos-added-to-library",e.CustomLibraryVideoAvailable="custom-library-video-available",e.VideoProcessingFailed="video-processing-failed",e.LibraryRequest="new-library-request",e.LibraryRequestFulfilled="library-request-fulfilment",e.LibraryRequestDenied="library-request-denied",e.ChapterMergeSuccess="media-concatenate-success",e.SuggestEdit="suggest-an-edit",e.NewDirectShare="new-direct-share",e.MyVideosVideoAvailable="my-videos-video-available",e.CaptionsAvailable="captions-available",e.StaffRequest="new-staff-request",e.StaffRequestFulfilled="staff-request-fulfilment"}(r||(r={}))},60519:function(e,t,n){"use strict";n.d(t,{c:function(){return s}});var r=n(57857),o=n(63791),i=n(68249),a=n(84975),c="notifications.utils",u=/^marketing-/,s={getIconColor:function(e){switch(e){case a.d.Success:return"success";case a.d.Alert:return"danger";case a.d.Warning:return"warning";case a.d.Info:case a.d.Other:default:return"dark"}},getIcon:function(e){switch(e){case a.d.Success:return o.vn.CheckCircle;case a.d.Alert:case a.d.Warning:return o.vn.Warning;case a.d.Info:case a.d.Other:default:return o.vn.Info}},getIconColorByNotificationType:function(e){return e===i.k.VideoProcessingFailed||e===i.k.VideoRequestDenied?"danger":e.match(u)?"warning":void 0},getIconByNotificationType:function(e){if(e.match(u))return o.vn.Star},getNotificationAction:function(e){switch(e){case i.k.WorkspaceVideoAvailable:case i.k.ExchangeVideoAvailable:case i.k.EditedVideoAvailable:case i.k.MyVideosVideoAvailable:return r.T.getPhrase(c,"viewVideo");case i.k.VideoReviewReminder:return r.T.getPhrase(c,"reviewVideos");case i.k.VideoReviewAddedToLibrary:return r.T.getPhrase(c,"viewNewContent");case i.k.CustomLibraryVideoAvailable:return r.T.getPhrase(c,"viewVideoDetails");case i.k.StaffRequest:case i.k.LibraryRequest:return r.T.getPhrase(c,"reviewVideo");default:return r.T.getPhrase(c,"seeNow")}}}},69548:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});var r={ActivationLength:1,SuggestionLimit:{Min:1,Default:3,Folder:3,Recent:3}}},30644:function(e,t,n){"use strict";var r;n.d(t,{K:function(){return r}}),function(e){e.Sources="libraries",e.Folder="folder",e.Tags="tag",e.Ratings="ratings",e.Interactives="interactives",e.Resources="resources",e.Subtitles="subtitles",e.ProductionYear="productionYear",e.ProducedByClickView="producedByClickView",e.HD="hd",e.Duration="duration",e.Series="series"}(r||(r={}))},58174:function(e,t,n){"use strict";var r;n.d(t,{n:function(){return r}}),function(e){e.Video="videos",e.Folder="categories",e.Series="series",e.Channel="channels",e.Distributors="companies",e.Producers="people",e.Tags="tags",e.Language="languages",e.TagsRaw="tag",e.ChannelRaw="channel",e.Recent="recent",e.Direct="direct",e.ProductionCompanies="companies",e.Directors="people",e.Season="season",e.Subjects="subjects"}(r||(r={}))},80024:function(e,t,n){"use strict";var r,o;n.d(t,{U:function(){return o},a:function(){return r}}),function(e){e.Direct="direct-search",e.Recent="recent-searches"}(r||(r={})),function(e){e[e.Remote=0]="Remote",e[e.Local=1]="Local"}(o||(o={}))},17391:function(e,t,n){"use strict";n.d(t,{J:function(){return S}});var r=n(39479),o=n(48088),i=n(2711),a=n(80024),c=n(69548),u=n(31647),s=n(57857),l=n(63791),f=n(87734),p=n.n(f),y={selectionContainer:"t6GU_",svgContainer:"CnZJe"};function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function v(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(r);if(o){var n=m(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return v(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"name",get:function(){return"ConfirmSelectionComponent"}},{key:"template",get:function(){return p()}},{key:"className",get:function(){return"suggestion-footer empty-suggestion px-2 ".concat(y.selectionContainer," clearfix")}},{key:"viewOptions",value:function(){return{styles:y,confirmSelectionText:s.T.getPhrase("shared.utils","confirmSelection",{svg:'<kbd><span class="'.concat(y.svgContainer,'">').concat(l.Nj.getSvg(l.vn.Enter),"</span></kbd>")})}}}])&&h(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(u.Q.Component);function w(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var S={handleQuery:function(e,t){return function(n,r,o){if(t||(t={}),n&&t.ignoreOnQuery)return r([]);var u=n&&n.length>=c.V.ActivationLength;return t.fetchType!==a.U.Local||u?u?e instanceof i?e.search.call(e,n,r,o):r([{query:n}]):void 0:r(e.index.all())}},getTemplate:function(e){var t=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,w(t));if(a.length&&a.length<c.V.ActivationLength)return o.apply(void 0,w(t));var u=r.extend(n,{templateText:i});return e(u)}},getSearchSources:function(e){return r.map(e,(function(e,t){var n,r=e.typeaheadConfig,o=e.bloodhoundConfig,i=e.name,a=e.options;return o&&(n=S.buildBloodhound(o(i,a))),r({bloodhound:n,name:i},t,a)}))},buildBloodhound:function(e){return new i(e)},selectFirstResult:function(e,t,n){if(n&&!this.$el.find(".tt-cursor").length){var o=r.first(t);if(o&&!r.isEmpty(o)){var i=this.$el.find(".add-new");!i||o.id?(i&&i.hasClass("tt-cursor")&&i.removeClass("tt-cursor"),this.$el.find(".result:first").addClass("tt-cursor")):i.addClass("tt-cursor")}else this.$el.find(".tt-not-found").removeClass("tt-selectable tt-suggestion")}},emitEventOnInput:function(e,t,n,i){if(e)return function(a,c){o.Radio.channel(e).trigger(t,a,n,r.extend({},i,c))}},resetAssociationOnBlur:function(e){return function(t,n){var i=this.model.get(n),a=r.isNumber(this.model.id);return e[n]||a?"string"==typeof i&&i.length?a?void(e.id===this.model.id&&(this.model.set(e),o.Radio.channel(t).trigger("typeahead:set:input",e[n]))):(o.Radio.channel(t).trigger("typeahead:clear:input"),void this.model.set(e)):void 0:(this.model.clear(),void o.Radio.channel(t).trigger("typeahead:clear:input"))}},getConfirmSelectionTemplate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(){return new g(e).render().el}},clearInputOnBlur:function(e){o.Radio.channel(e).trigger("typeahead:clear:input")}}},81937:function(e,t,n){"use strict";n.d(t,{S: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",PROCESSING_FAILED:"processing:failed"}},93322:function(e,t,n){"use strict";var r;n.d(t,{g:function(){return r}}),function(e){e[e.Error=-1]="Error",e[e.Processing=1]="Processing",e[e.Completed=2]="Completed"}(r||(r={}))},88410:function(e,t,n){"use strict";n.d(t,{ky:function(){return ae},L1:function(){return ue},M_:function(){return ce},AJ:function(){return te}});var r,o=n(39479),i=n(48088),a=n(31647),c=n(57857),u=n(21679),s=n(99249),l=n(12053),f=n(19124),p=n(36954),y=n(92159);!function(e){e[e.Permanent=0]="Permanent",e[e.Temporary=1]="Temporary"}(r||(r={}));var d=n(18222),h=n(81937),b=n(85835);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function w(e,t){if(t&&("object"===v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O(r);if(o){var n=O(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return w(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"name",get:function(){return"FileTypeError"}},{key:"lang",get:function(){return"upload.fileType"}},{key:"dialogOptions",get:function(){return{title:c.T.getPhrase(this.lang,"heading"),text:c.T.getPhrase(this.lang,"body"),buttons:[{text:c.T.getPhrase(this.lang,"okay"),className:"btn btn-dark",success:!0},{text:c.T.getPhrase(this.lang,"close"),className:"btn btn-link",close:!0}]}}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(b.S),C=n(53301);function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},k(e,t)}function _(e,t){if(t&&("object"===P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var j="upload.internetConnectivityError",T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&k(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=R(r);if(o){var n=R(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _(this,e)});function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,c.T.getPhrase(j,"title"))}return t=a,(n=[{key:"name",get:function(){return"InternetConnectivityError"}},{key:"dialogOptions",get:function(){return{title:c.T.getPhrase(j,"heading"),text:c.T.getPhrase(j,"body"),buttons:[{text:c.T.getPhrase(j,"okay"),className:"btn",success:!0}]}}}])&&E(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(b.S),A=n(32865);function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V(e,t){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},V(e,t)}function N(e,t){if(t&&("object"===L(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function D(e){return D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},D(e)}var B,I,U=[],M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}(f,e);var t,n,r,u,s,l=(u=f,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=D(u);if(s){var n=D(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return N(this,e)});function f(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),l.call(this,e)}return t=f,n=[{key:"name",get:function(){return"DropzoneWrapper"}},{key:"initialize",value:function(e){var t=this.options.loggingEnabled,n=i.Radio.channel(e.channelName),r=this;this.dropzone=new C(document.createElement("div"),{url:function(e){return e[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 e=this;t&&(o.each(U,(function(t){e.on(t,(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=n[0]instanceof File?n[0].name:n[0];console.info(t,o,n)}))})),this.on("uploadprogress",(function(e,t,o){var i=o/e.size*100;n.trigger("progress",r.getId(e),i,o)})),this.on("success",(function(e){var t=e.upload.chunks,r=o.last(t),i=r.xhr;i||(i=r.file.xhr);var a=JSON.parse(i.response);e.cvUpload.fileId=a.id,n.trigger("upload:success",e,a)})),this.on("error",(function(e,t,n){n&&0===n.status?a.Q.ErrorHelper.throw(new T):"canceled"!==e.status&&a.Q.ErrorHelper.throw(new A.n(c.T.getPhrase("upload.services","uploadError",{fileName:e.name,message:t.message})))})))},params:function(e,t,n){if(n)return{chunk_index:n.index,upload_length:n.file.size}},addedfile:function(){},thumbnail:function(){},uploadprogress:function(){}})}},{key:"getId",value:function(e){return e.upload.uuid}},{key:"addFile",value:function(e){this.dropzone.addFile(e)}},{key:"removeFile",value:function(e){this.dropzone.removeFile(e)}},{key:"start",value:function(){this.dropzone.processQueue()}},{key:"destroy",value:function(){this.dropzone.destroy()}}],r=[{key:"isValidFile",value:function(e,t){return C.isValidFile(e,t)}}],n&&x(t.prototype,n),r&&x(t,r),Object.defineProperty(t,"prototype",{writable:!1}),f}(a.Q.Service),F=n(69184),H=n(11543),z=n(52076),G=n(70065);function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Z(e,t,n){return t&&Y(e.prototype,t),n&&Y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function K(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$(e,t)}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ee(e);if(t){var o=ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return J(this,n)}}function J(e,t){if(t&&("object"===q(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ee(e){return ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ee(e)}var te,ne=function(e){K(n,e);var t=X(n);function n(){return W(this,n),t.call(this,{dataProvider:u.u.getInstance(f.R.Ajax),cache:u.u.getInstance(p.p.Fifo),alertService:u.u.getInstance(y.P.ALERT)})}return Z(n,[{key:"name",get:function(){return"UploadDataService"}},{key:"channelName",get:function(){return"private:upload:data:service"}},{key:"requestUploads",value:function(e,t,n,r){var i=this,a=this.chain();o.each(e,(function(e){a.create({resource:"/api/upload",eventPrefix:"request:upload",data:i.getFileUploadRequest(e,t),callback:function(t){n(e,t)}})})),a.func((function(){r()})).run()}},{key:"cancelUpload",value:function(e,t,n){this.create({resource:"/api/upload/cancel",eventPrefix:"cancel:upload",data:{uploadId:e,ingestUrl:t},callback:n})}},{key:"getFileUploadRequest",value:function(e,t){var n=e.name.split(".");return{name:n.join("."),extension:n.length>1?n.pop():"",fileSize:e.size,fileLifestyle:t}}},{key:"onDestroy",value:function(){u.u.releaseInstance(f.R.Ajax).releaseInstance(p.p.Fifo)}}]),n}(l.B);!function(e){e[e.Video=0]="Video",e[e.LearningResource=1]="LearningResource",e[e.Subtitle=2]="Subtitle"}(te||(te={}));var re=(Q(B={},te.Video,"video/*"),Q(B,te.LearningResource,d.l.RESOURCES),Q(B,te.Subtitle,d.l.SUBTITLES),B),oe=(Q(I={},te.Video,F.Q4.VIDEO_UPLOAD),Q(I,te.LearningResource,F.Q4.RESOURCE_UPLOAD),Q(I,te.Subtitle,F.Q4.SUBTITLE_UPLOAD),I),ie=function(e){K(n,e);var t=X(n);function n(){return W(this,n),t.apply(this,arguments)}return Z(n,[{key:"initialize",value:function(){this.uploadDataService=new ne,this.progressViewModel=s.r.get("upload:progress:".concat(this.uploadType)),this.bindListeners()}},{key:"channelName",get:function(){return oe[this.uploadType]}},{key:"lang",get:function(){return"uploadShared.services"}},{key:"initUploader",value:function(e,t){if(!this.uploader){var n=4194304;e&&n<e&&(n=e),t&&n>t&&(n=t),this.uploader=new M({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(e,t,n){var r=this.collection.get(e);r&&(r.set({progress:t>100?100:t,totalUploaded:n}),this.setOverallProgress())}},{key:"isUploading",value:function(){return!!this.getCollection().length}},{key:"getCollection",value:function(){return this.collection||(this.collection=new a.Q.Collection),this.collection}},{key:"setOverallProgress",value:function(){var e=this,t=0,n=0,r=this.getCollection();if(r.length){r.each((function(e){t+=e.get("totalUploaded")||0,n+=e.get("file").size||0}));var o=t/n*100,i=o>=100,a=function(){e.progressViewModel.set({progress:i?100:o,done:i})};i?window.setTimeout(a,2e3):a()}else this.progressViewModel.set({progress:0})}},{key:"isValidFile",value:function(e){return M.isValidFile(e,this.getAcceptedFiles())}},{key:"addFiles",value:function(e,t){var n=this;o.any(e,(function(e){return!n.isValidFile(e)}))?a.Q.ErrorHelper.throw(new S(c.T.getPhrase(this.lang,"invalidFileType"))):this.requestUploads(e,t)}},{key:"requestUploads",value:function(e,t){var n=this,r=this.isUploading(),o=this.getCollection();this.uploadDataService.requestUploads(e,this.fileLifestyle,(function(e,t){n.initUploader(1024*t.minChunkSize,1024*t.maxChunkSize),e.cvUpload={uploadId:t.uploadId,ingestUrl:t.ingestUrl},n.uploader.addFile(e);var r=e.name;n.uploadType===te.Video&&(r=r.replace(/\.[^/.]+$/,"")),o.add({id:n.uploader.getId(e),file:e,name:r},{at:o.length-1})}),(function(){t&&z.k.logUserAction({uploadCount:e.length},t),i.Radio.channel(n.channelName).trigger(h.S.FILES_ADDED,e,r)}))}},{key:"addFile",value:function(e,t){this.addFiles([e],t)}},{key:"cancelUpload",value:function(e){var t=this,n=this.getCollection(),r=n.get(e);if(r){var o=r.get("file");this.uploader.removeFile(o),n.remove(r),this.uploadDataService.cancelUpload(o.cvUpload.uploadId,o.cvUpload.ingestUrl,(function(){z.k.logUserAction(r.toJSON(),{entity:G.EntityType.Video,actionType:G.UserAction.Upload,workflowPhase:G.WorkflowPhase.Discard,descriptor:G.OperationDescriptor.Single,location:G.LocationContext.MyUploads}),i.Radio.channel(t.channelName).trigger(h.S.UPLOAD_CANCELLED)})),this.setOverallProgress()}}},{key:"onSuccess",value:function(e,t){var n=this.uploader.getId(e),r=this.getCollection().get(n);r.set("fileInfo",t),z.k.logUserAction({id:e.cvUpload.uploadId},{entity:G.EntityType.Video,actionType:G.UserAction.Upload,workflowPhase:G.WorkflowPhase.Complete,descriptor:G.OperationDescriptor.Single,location:G.LocationContext.VideoUpload}),i.Radio.channel(this.channelName).trigger(h.S.UPLOAD_COMPLETE,r)}},{key:"cancelAllUploads",value:function(){var e=this,t=this.getCollection().map((function(e){return e.get("id")}));o.each(t,(function(t){return e.cancelUpload(t)}))}},{key:"getAcceptedFiles",value:function(){return re[this.uploadType]}}]),n}(a.Q.Service),ae=function(e){K(n,e);var t=X(n);function n(){return W(this,n),t.apply(this,arguments)}return Z(n,[{key:"uploadType",get:function(){return te.Video}},{key:"name",get:function(){return H.D.VideoUpload}},{key:"fileLifestyle",get:function(){return r.Temporary}}]),n}(ie),ce=function(e){K(n,e);var t=X(n);function n(){return W(this,n),t.apply(this,arguments)}return Z(n,[{key:"uploadType",get:function(){return te.Subtitle}},{key:"name",get:function(){return H.D.SubtitleUpload}},{key:"fileLifestyle",get:function(){return r.Permanent}}]),n}(ie),ue=function(e){K(n,e);var t=X(n);function n(){return W(this,n),t.apply(this,arguments)}return Z(n,[{key:"uploadType",get:function(){return te.LearningResource}},{key:"name",get:function(){return H.D.ResourceUpload}},{key:"fileLifestyle",get:function(){return r.Permanent}}]),n}(ie)},18222:function(e,t,n){"use strict";n.d(t,{l:function(){return p},v:function(){return y}});var r=n(39479),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(",."))},y={getResourceType:function(e){var t=e.toLowerCase();return r.contains(i,t)?"document":r.contains(c,t)?"excel":r.contains(l,t)?"powerpoint":r.contains(o,t)?"pdf":r.contains(a,t)?"text":r.contains(u,t)?"image":r.contains(s,t)?"archive":r.contains(f,t)?"subtitle":""}}},5854:function(e,t,n){"use strict";n.d(t,{S:function(){return c}});var r=n(33192),o=n(57857),i=n(93322),a="upload.utils",c={getStatus:function(e){if(c.hasError(e))return o.T.getPhrase(a,"videoProcessingError");if(!e.get("foregroundComplete")){var t=c.getProgress(e);return 0===t?o.T.getPhrase(a,"waiting"):o.T.getPhrase(a,"processing",{progress:t})}return c.isDone(e)?o.T.getPhrase(a,"complete"):o.T.getPhrase(a,"readyToWatch")},hasError:function(e){return e.get("pendingProcessStatus")===i.g.Error},isDone:function(e){return 2===e.get("pendingProcessStatus")},getProgress:function(e){return e.get("foregroundProgress")},hasExpired:function(e,t){var n=e.get("timeInitialized");return r().diff(n,"days")>=t}}},54753:function(e,t,n){"use strict";n.d(t,{F:function(){return c}});var r=n(1024),o=n(31647),i=n(51092),a=n(52076);function c(e){var t=e.appLink,n=e.appLinkOptions,c=e.className,u=e.style,s=e.children,l=e.disabled,f=e.tag,p=void 0===f?"a":f;if(!t)return r.createElement("span",{className:c||"",style:u},s);var y=o.Q.AppLinkHelper.getHref(t),d={onClick:function(r){var c;r.preventDefault(),l||(null===(c=e.onClick)||void 0===c||c.call(e,r),e.analyticsData&&e.analyticsOptions&&a.k.logUserAction(Object.assign({href:y},e.analyticsData),e.analyticsOptions),e.openInNewTab?i.LocationUtils.PageLoad(y,!0):o.Q.AppLinkHelper.trigger(t,n))},href:y,className:c,style:u,disabled:l};return e.title&&(d.title=e.title),r.createElement(p,Object.assign({},d),s)}c.defaultProps={appLinkOptions:{}}},39396:function(e,t,n){"use strict";n.d(t,{S:function(){return r},x:function(){return u}});var r,o=n(1024),i=n(53808),a=n(63791),c=n(63946);function u(e){var t=e.svgName,n=e.className,u=void 0===n?"d-inline-block svg-container":n,s=e.tagName,l=void 0===s?"span":s,f=e.size,p=void 0===f?r.Standard:f,y=e.onClick,d=e.title,h=e.tooltipSpanHackClassName,b=e.tooltipPlacement,v=void 0===b?"right":b,m=e.tooltipSpanHack,g=void 0!==m&&m,w=l,O={dangerouslySetInnerHTML:{__html:a.Nj.getSvg(t)},className:"".concat(u," ").concat(p),onClick:i.q.isFunction(y)?y:null};return d?o.createElement(c.u,{title:d,placement:v,spanHack:g,spanHackClassName:h},o.createElement(w,Object.assign({},O))):o.createElement(w,Object.assign({},O))}!function(e){e.Standard="std",e.XXS="xxs",e.ExtraSmall="xs",e.Small="sm",e.Medium="md",e.Large="lg",e.ExtraLarge="xlg",e.XXL="xxlg"}(r||(r={}))},63946:function(e,t,n){"use strict";n.d(t,{u:function(){return a}});var r=n(1024),o=n(99910),i=n(97874);function a(e){var t,n=e.title,a=e.placement,c=e.trigger,u=e.spanHack,s=e.children,l=e.disable;return n?u?r.createElement(o.OverlayTrigger,{placement:a,overlay:r.createElement(o.Tooltip,{id:"".concat(n,"-").concat(i.Y.getRandomInt())},n),trigger:c,delay:l?Number.POSITIVE_INFINITY:void 0},r.createElement("span",{className:"".concat(null!==(t=e.spanHackClassName)&&void 0!==t?t:"d-flex justify-content-center align-items-center")},s)):r.createElement(o.OverlayTrigger,{placement:a,overlay:r.createElement(o.Tooltip,{id:"".concat(n,"-").concat(i.Y.getRandomInt())},n),trigger:c,delay:l?Number.POSITIVE_INFINITY:void 0},r.createElement(r.Fragment,null,s)):r.createElement(r.Fragment,null,s)}a.defaultProps={trigger:["hover","click","focus"],placement:"top"}},23859:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});var r={SEARCH:"search:app:variables",NOTIFICATIONS:"notifications:app:variables",SUBJECTS:"subjects:app:variables"}},95644:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r={LOCALE:"locale",PHRASES:"phrases",VERSION:"version",TOKEN:"token",PERMISSIONS:"permissions",USER:"currentUser"}},85523:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});var r={SHORT:120,STANDARD:600}},33955:function(e,t,n){"use strict";n.d(t,{j: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"}},69184:function(e,t,n){"use strict";n.d(t,{GL:function(){return i},Q4:function(){return o},iK:function(){return r}});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",LIBRARY_STATUS:"status:changed"}},11543:function(e,t,n){"use strict";n.d(t,{D:function(){return o},Z:function(){return r}});var r={Config:"ConfigDataService",User:"UserDataService",Language:"LanguageDataService",Video:"VideoDataService",VideoUpload:"VideoUpload",Library:"LibraryDataService",Search:"SearchDataService",Series:"SeriesDataService",Notification:"NotificationDataService",NotificationSocket:"NotificationSocketService",FlightConfig:"FlightConfigDataService",FlightUser:"FlightUserDataService"},o={ImageUrl:"ImageUrlService",PendingItems:"PendingItemsService",Alerts:"AlertService",VideoUpload:"VideoUploadService",ResourceUpload:"ResourceUploadService",SubtitleUpload:"SubtitleUploadService",VideoMixin:"VideoMixinService",ContextualSearch:"ContextualSearchService",Context:"ContextService",Notification:"NotificationService"}},50028:function(e,t,n){"use strict";var r;n.d(t,{X:function(){return r}}),function(e){e[e.Draft=0]="Draft",e[e.Published=1]="Published",e[e.Archive=2]="Archive",e[e.Pending=3]="Pending",e[e.Rejected=4]="Rejected",e[e.Processing=5]="Processing"}(r||(r={}))},88483:function(e,t,n){"use strict";var r,o,i,a;n.d(t,{__:function(){return o},h2:function(){return r}}),function(e){e.Small="small",e.Medium="medium",e.Large="large"}(r||(r={})),function(e){e[e.Thumbnails=0]="Thumbnails",e[e.Banners=1]="Banners",e[e.Avatars=2]="Avatars",e[e.Logos=3]="Logos",e[e.Covers=4]="Covers",e[e.Posters=5]="Posters",e[e.TallPosters=6]="TallPosters",e[e.HeroBanners=7]="HeroBanners",e[e.Pdf=8]="Pdf",e[e.Link=9]="Link",e[e.None=99999]="None"}(o||(o={})),function(e){e[e.Crop=0]="Crop",e[e.Stretched=1]="Stretched",e[e.Cover=2]="Cover"}(i||(i={})),function(e){e[e.None=0]="None",e[e.ImageAPIv1=1]="ImageAPIv1",e[e.FileAPIv1=2]="FileAPIv1",e[e.ImageAPIv2=3]="ImageAPIv2"}(a||(a={}))},8371:function(e,t,n){"use strict";var r;n.d(t,{b:function(){return r}}),function(e){e.AU="cv-ap-southeast-1",e.NZ="cv-ap-southeast-2",e.UK="cv-eu-west-1",e.US="cv-na-west-1"}(r||(r={}))},75459:function(e,t,n){"use strict";var r;n.d(t,{r:function(){return r}}),function(e){e.Folder="category",e.CategoryTree="category_tree",e.CustomLibrary="custom_library",e.HostedLibrary="hosted_library",e.Exchange="exchange",e.Workspace="workspace",e.Video="video",e.Clip="clip",e.Interactive="interactive"}(r||(r={}))},45837:function(e,t,n){"use strict";var r;n.d(t,{N:function(){return r}}),function(e){e[e.Customer=1]="Customer",e[e.ClickView=2]="ClickView"}(r||(r={}))},70125:function(e,t,n){"use strict";var r;n.d(t,{k:function(){return r}}),function(e){e[e.Component=1]="Component",e[e.ComponentCollection=2]="ComponentCollection"}(r||(r={}))},84868:function(e,t,n){"use strict";var r;n.d(t,{x:function(){return r}}),function(e){e.Analytics="analytics",e.LibraryEditor="manage",e.Online="online",e.OnlineAnalytics="online_analytics",e.Primary="lite"}(r||(r={}))},55636:function(e,t,n){"use strict";var r;n.d(t,{g:function(){return r}}),function(e){e[e.Permanent=0]="Permanent",e[e.Temporary=1]="Temporary"}(r||(r={}))},36357:function(e,t,n){"use strict";var r;n.d(t,{E:function(){return r}}),function(e){e.MustCompleteOnboarding="must_complete_onboarding",e.StudentWorkspaceSharing="student_ws_sharing",e.StudentToStudentMessaging="student_to_student_messaging",e.HideResourcesForStudents="hide_resources_for_students",e.LibraryReview="library_review",e.SchoolMessaging="school_messaging",e.LegacyTvNaming="legacy_tv_naming",e.LegacyAlbertCustomer="legacy_albert_customer",e.HideHostedLibraries="hide_hosted_libraries",e.MaxCustomLibraries="max_custom_libraries",e.AutoCaptioning="auto_captioning",e.Topics="subjects",e.NewDashboards="new_dashboards",e.ShareToGoogleClassroom="share_to_google_classroom",e.ShareToMicrosoftTeams="share_to_microsoft_teams",e.DefaultPlaybackQuality="playback_quality_default",e.DefaultLocalCachePlaybackQuality="playback_quality_local_cache_default",e.EnableSubtitlesDefault="playback_subtitles_enabled_default",e.LTI="lti",e.HasNewClassificationView="new_classification_view",e.PreventScrubbingInteractives="prevent_scrubbing_interactives",e.LiteStudentCustomLibraries="lite_student_custom_libraries",e.HasCompletedOnboarding="has_completed_onboarding",e.BulkOnboardingPreferencesState="bulk_onboarding_preferences_state",e.HasDisplayedPresentationSwitcherSpotlight="has_displayed_presentation_switcher_spotlight",e.LiteUpgradeTime="lite_upgrade_time",e.LiteUpgradeTypeCustomer="lite_upgrade_type_customer",e.LiteUpgradeTypeUser="lite_upgrade_type_user",e.HasCompletedUpgradeOnboarding="has_completed_upgrade_onboarding",e.LiteUpgradeFeedback="lite_upgrade_feedback",e.LiteUpgradeComplete="lite_upgrade_complete"}(r||(r={}))},25692:function(e,t,n){"use strict";var r,o;n.d(t,{b:function(){return o},s:function(){return r}}),function(e){e.AddToPlaylist="115005679748",e.EditSsoAccounts="8202508040345",e.LibraryEditor="360001974533",e.VideoAccess="360000153947",e.AddFromOnline="360011718234",e.UploadToLibraryEditor="360012069334",e.PBTErrorCodes="360012421153",e.ManuelReview="360020004534",e.LibraryReview="360000163788"}(r||(r={})),function(e){e.Integrations="4407268725529",e.Classrooms="4405362551833",e.MakeInteractive="4405370510873",e.EditSsoAccounts="8202605666073",e.UploadToLibraryEditor="10672936659865",e.AddFromLite="10671345281561"}(o||(o={}))},76013:function(e,t,n){"use strict";var r;n.d(t,{s:function(){return r}}),function(e){e.FileSelect="file-select",e.DragDrop="drag-drop"}(r||(r={}))},1268:function(e,t,n){"use strict";var r;n.d(t,{Y:function(){return r}}),function(e){e.Unknown="Unknown",e.Staff="Staff",e.Learner="Learner"}(r||(r={}))},46237:function(e,t,n){"use strict";var r,o;n.d(t,{i:function(){return o}}),function(e){e[e.Unspecified=0]="Unspecified",e[e.Student=1]="Student",e[e.Staff=2]="Staff",e[e.Admin=3]="Admin",e[e.CVAdmin=4]="CVAdmin",e[e.FreeUser=6]="FreeUser",e[e.ReadOnly=8]="ReadOnly"}(r||(r={})),function(e){e.Guest="Guest",e.User="User",e.Admin="Admin",e.SuperAdmin="SuperAdmin"}(o||(o={}))},32865:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}n.d(t,{n:function(){return s}});var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(f,e);var t,n,r,s,l=(r=f,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(r);if(s){var n=u(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return c(this,e)});function f(){return o(this,f),l.apply(this,arguments)}return t=f,(n=[{key:"name",get:function(){return"AlertError"}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(n(31647).Q.SilentError)},85835:function(e,t,n){"use strict";n.d(t,{S:function(){return l}});var r=n(31647),o=n(11306);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(p,e);var t,n,i,l,f=(i=p,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(i);if(l){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=f.call(this,e)).dialogOptions||r.Q.ErrorHelper.throw(new o.H("Please provide DialogOptions for your implementation of DialogError")),t}return t=p,(n=[{key:"name",get:function(){return"DialogError"}},{key:"onDone",value:function(){}},{key:"onFail",value:function(){}}])&&a(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.Q.SilentError)},88070:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}n.d(t,{H:function(){return s}});var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(f,e);var t,n,r,s,l=(r=f,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(r);if(s){var n=u(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return c(this,e)});function f(){return o(this,f),l.apply(this,arguments)}return t=f,(n=[{key:"name",get:function(){return"ErrorPageError"}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(n(31647).Q.SilentError)},15408:function(e,t,n){"use strict";n.d(t,{N:function(){return a}});var r=n(2248),o=n(95644),i=n(68003),a={currentUser:function(e,t){return{url:"/api/currentuser",key:"currentuser",normalizeOptions:{namespace:"currentuser"},bootstrapName:o.h.USER,success:e,error:t}},user:function(e,t,n){return{url:"{gateway}/v1/users/".concat(e),key:"users:".concat(e),success:t,error:n}},groups:function(e){return{url:"{gateway}/v1/objects/".concat(e,"/members?query=groups"),key:"users:".concat(e,":groups")}},usersById:function(e,t,n){return{url:i._.urlBuilder("{gateway}/v1/users",{id:e}),key:"users:list:".concat(e.join(",")),success:t,error:n,formatData:function(t){var n=t.reduce((function(e,t){return e[t.id.toString()]=t,e}),{});return e.map((function(e){return n[e.toString()]}))}}},workspace:function(e,t){return{url:"/api/domain/v2/me/workspace?query=categorytree",key:"workspace",success:e,error:t}},sendVerificationEmail:function(e,t,n,o){return{url:"api/account/email",key:"verify:email",type:r.k.POST,data:{emailAddress:e},success:t,error:n,always:o,invalidationKeys:["verify:email:status"]}},token:function(e,t){return{url:"/api/token",key:"token",bootstrapName:o.h.TOKEN,success:e,error:t}},permissions:function(e,t){return{url:"{gateway}/v1/users/me/permissions",key:"permissions",success:e,error:t,normalize:!1,formatData:function(e){return e.reduce((function(e,t){return e[t]=!0,e}),{})}}},customers:function(e){return{url:"{gateway}/v1/objects/".concat(e,"/customers"),key:"customers"}}}},33755:function(e,t,n){"use strict";n.d(t,{r:function(){return f}});var r=n(58566),o=n(86120),i=n(36357),a=n(15408),c=(n(40221),n(2248));function u(e){return e.reduce((function(e,t){return e[t.name]=t,e}),{})}var s=n(52076),l=n(70065),f=function(e){var t,n,f,p,y,d=o.a.useBasicFetch(a.N.currentUser()),h=o.a.useBasicFetch((null===(t=d.data)||void 0===t?void 0:t.isAuthenticated)&&(f=d.data.customerId,{key:"customer:settings",url:"/api/domain/v3/settings/".concat(f,"?(customerSettings)"),normalizeOptions:{idAttribute:"name"},formatData:u,success:p,error:y})),b=o.a.useBasicFetch((null===(n=d.data)||void 0===n?void 0:n.isAuthenticated)&&function(e,t,n){return{key:"user:settings",url:"/api/domain/v3/settings/".concat(e,"?(userSettings)"),normalizeOptions:{idAttribute:"name"},formatData:u,success:t,error:n}}(d.data.id)),v=(0,r.useDispatch)(),m=!!h.hasCompleted&&!!b.hasCompleted,g=function(e){var t,n;if(!m)return null;if(h.hasError||b.hasError)return null;var r=null===(t=h.data)||void 0===t?void 0:t[e];if(r)return null==r?void 0:r.value;var o=null===(n=b.data)||void 0===n?void 0:n[e];return o?null==o?void 0:o.value:null};return{isLoadingSettings:!m,updateSetting:function(t,n,r,i,a){o.a.fetch(v,function(e,t,n,r,o){return{key:"update:setting:".concat(e,":").concat(t.name),url:"/api/domain/v3/settings/".concat(e),data:t,type:c.k.PUT,formatData:function(){return t},normalizeOptions:{idAttribute:"name"},success:n,error:r,always:o}}(t,n,(function(){s.k.logUserAction({name:n.name,value:n.value},{location:e,entity:l.EntityType.UserSetting,actionType:l.UserAction.Edit}),null==r||r()}),i,a))},shareToGoogleClassroom:g(i.E.ShareToGoogleClassroom),shareToMicrosoftTeams:g(i.E.ShareToMicrosoftTeams),hasLti:g(i.E.LTI),defaultPlaybackQuality:g(i.E.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:g(i.E.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:g(i.E.EnableSubtitlesDefault),hasCompletedOnboarding:g(i.E.HasCompletedOnboarding),liteUpgradeTime:g(i.E.LiteUpgradeTime),liteUpgradeTypeCustomer:g(i.E.LiteUpgradeTypeCustomer),liteUpgradeTypeUser:g(i.E.LiteUpgradeTypeUser),hasCompletedUpgradeOnboarding:g(i.E.HasCompletedUpgradeOnboarding),liteUpgradeFeedback:g(i.E.LiteUpgradeFeedback),liteUpgradeComplete:g(i.E.LiteUpgradeComplete),hasNewClassificationView:g(i.E.HasNewClassificationView),preventScrubbingInteractives:g(i.E.PreventScrubbingInteractives),liteStudentCustomLibraries:g(i.E.LiteStudentCustomLibraries),bulkOnboardingPreferencesState:g(i.E.BulkOnboardingPreferencesState),hasDisplayedPresentationSwitcherSpotlight:g(i.E.HasDisplayedPresentationSwitcherSpotlight)}}},6129:function(e,t,n){"use strict";n.d(t,{X:function(){return c},O:function(){return i}});var r=n(23859);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,(n=[{key:"name",get:function(){return r.C.SEARCH}}])&&o(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,(n=[{key:"name",get:function(){return r.C.NOTIFICATIONS}}])&&a(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},86066:function(){},33209:function(){},94051:function(){},79154:function(){},57324:function(){},34039:function(){},48016:function(){},92351:function(){},42807:function(){},31992:function(){},88002:function(){},60969:function(){},49114:function(){},19825:function(){},58695:function(){},79092:function(){},60756:function(){},40343:function(){},34720:function(){},16710:function(){},67090:function(){},93094:function(){},60811:function(){},67175:function(){},35028:function(){},78373:function(){},3192:function(){},69257:function(){},15585:function(e,t,n){"use strict";var r=n(72510);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}}),n.o(r,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return r.ClassroomGroupColour}});var o=n(33209);n.o(o,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return o.BaseNotificationsAppVariables}}),n.o(o,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return o.BaseSearchAppVariables}}),n.o(o,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return o.ClassroomGroupColour}});var i=n(86066);n.o(i,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return i.BaseNotificationsAppVariables}}),n.o(i,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return i.BaseSearchAppVariables}}),n.o(i,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return i.ClassroomGroupColour}});var a=n(94051);n.o(a,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return a.BaseNotificationsAppVariables}}),n.o(a,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return a.BaseSearchAppVariables}}),n.o(a,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return a.ClassroomGroupColour}});var c=n(60969);n.o(c,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return c.BaseNotificationsAppVariables}}),n.o(c,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return c.BaseSearchAppVariables}}),n.o(c,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return c.ClassroomGroupColour}});var u=n(49114);n.o(u,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return u.BaseNotificationsAppVariables}}),n.o(u,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return u.BaseSearchAppVariables}}),n.o(u,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return u.ClassroomGroupColour}});var s=n(79092);n.o(s,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return s.BaseNotificationsAppVariables}}),n.o(s,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return s.BaseSearchAppVariables}}),n.o(s,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return s.ClassroomGroupColour}});var l=n(40343);n.o(l,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return l.BaseNotificationsAppVariables}}),n.o(l,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return l.BaseSearchAppVariables}}),n.o(l,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return l.ClassroomGroupColour}});var f=n(16710);n.o(f,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return f.BaseNotificationsAppVariables}}),n.o(f,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return f.BaseSearchAppVariables}}),n.o(f,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return f.ClassroomGroupColour}});var p=n(93094);n.o(p,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return p.BaseNotificationsAppVariables}}),n.o(p,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return p.BaseSearchAppVariables}}),n.o(p,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return p.ClassroomGroupColour}});var y=n(67175);n.o(y,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return y.BaseNotificationsAppVariables}}),n.o(y,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return y.BaseSearchAppVariables}}),n.o(y,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return y.ClassroomGroupColour}});var d=n(35028);n.o(d,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return d.BaseNotificationsAppVariables}}),n.o(d,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return d.BaseSearchAppVariables}}),n.o(d,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return d.ClassroomGroupColour}});var h=n(78373);n.o(h,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return h.BaseNotificationsAppVariables}}),n.o(h,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return h.BaseSearchAppVariables}}),n.o(h,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return h.ClassroomGroupColour}});var b=n(3192);n.o(b,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return b.BaseNotificationsAppVariables}}),n.o(b,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return b.BaseSearchAppVariables}}),n.o(b,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return b.ClassroomGroupColour}}),n.o(l,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return l.BaseNotificationsAppVariables}}),n.o(l,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return l.BaseSearchAppVariables}}),n.o(l,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return l.ClassroomGroupColour}});var v=n(34720);n.o(v,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return v.BaseNotificationsAppVariables}}),n.o(v,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return v.BaseSearchAppVariables}}),n.o(v,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return v.ClassroomGroupColour}});var m=n(92351);n.o(m,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return m.BaseNotificationsAppVariables}}),n.o(m,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return m.BaseSearchAppVariables}}),n.o(m,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return m.ClassroomGroupColour}});var g=n(58695);n.o(g,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return g.BaseNotificationsAppVariables}}),n.o(g,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return g.BaseSearchAppVariables}}),n.o(g,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return g.ClassroomGroupColour}});var w=n(19825);n.o(w,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return w.BaseNotificationsAppVariables}}),n.o(w,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return w.BaseSearchAppVariables}}),n.o(w,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return w.ClassroomGroupColour}});var O=n(48016);n.o(O,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return O.BaseNotificationsAppVariables}}),n.o(O,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return O.BaseSearchAppVariables}}),n.o(O,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return O.ClassroomGroupColour}});var S=n(88002);n.o(S,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return S.BaseNotificationsAppVariables}}),n.o(S,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return S.BaseSearchAppVariables}}),n.o(S,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return S.ClassroomGroupColour}});var C=n(42807);n.o(C,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return C.BaseNotificationsAppVariables}}),n.o(C,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return C.BaseSearchAppVariables}}),n.o(C,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return C.ClassroomGroupColour}});var P=n(67090);n.o(P,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return P.BaseNotificationsAppVariables}}),n.o(P,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return P.BaseSearchAppVariables}}),n.o(P,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return P.ClassroomGroupColour}});var E=n(79154);n.o(E,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return E.BaseNotificationsAppVariables}}),n.o(E,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return E.BaseSearchAppVariables}}),n.o(E,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return E.ClassroomGroupColour}});var k=n(57324);n.o(k,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return k.BaseNotificationsAppVariables}}),n.o(k,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return k.BaseSearchAppVariables}}),n.o(k,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return k.ClassroomGroupColour}});var _=n(34039);n.o(_,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return _.BaseNotificationsAppVariables}}),n.o(_,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return _.BaseSearchAppVariables}}),n.o(_,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return _.ClassroomGroupColour}});var R=n(69257);n.o(R,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return R.BaseNotificationsAppVariables}}),n.o(R,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return R.BaseSearchAppVariables}}),n.o(R,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return R.ClassroomGroupColour}});var j=n(31992);n.o(j,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return j.BaseNotificationsAppVariables}}),n.o(j,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return j.BaseSearchAppVariables}}),n.o(j,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return j.ClassroomGroupColour}});var T=n(60756);n.o(T,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return T.BaseNotificationsAppVariables}}),n.o(T,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return T.BaseSearchAppVariables}}),n.o(T,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return T.ClassroomGroupColour}});var A=n(60811);n.o(A,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return A.BaseNotificationsAppVariables}}),n.o(A,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return A.BaseSearchAppVariables}}),n.o(A,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return A.ClassroomGroupColour}})},13478:function(){},72510:function(e,t,n){"use strict";var r=n(13478);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}}),n.o(r,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return r.ClassroomGroupColour}})},16287:function(e,t,n){"use strict";n.d(t,{BaseNotificationsAppVariables:function(){return s.X},BaseSearchAppVariables:function(){return s.O},ClassroomGroupColour:function(){return o.ClassroomGroupColour}});var r=n(15585);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}}),n.o(r,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return r.ClassroomGroupColour}});var o=n(88528);n.o(o,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return o.BaseNotificationsAppVariables}}),n.o(o,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return o.BaseSearchAppVariables}});var i=n(87003);n.o(i,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return i.BaseNotificationsAppVariables}}),n.o(i,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return i.BaseSearchAppVariables}});var a=n(3681);n.o(a,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return a.BaseNotificationsAppVariables}}),n.o(a,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return a.BaseSearchAppVariables}});var c=n(39157);n.o(c,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return c.BaseNotificationsAppVariables}}),n.o(c,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return c.BaseSearchAppVariables}});var u=n(59689);n.o(u,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return u.BaseNotificationsAppVariables}}),n.o(u,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return u.BaseSearchAppVariables}});var s=n(6129)},88834:function(){},20438:function(){},20155:function(){},66324:function(){},41801:function(){},70289:function(){},6938:function(){},63766:function(){},98944:function(){},95101:function(){},95198:function(){},93163:function(){},68622:function(){},65355:function(){},57606:function(){},4934:function(){},35866:function(e,t,n){"use strict";var r;n.d(t,{R:function(){return r}}),function(e){e.Pink="colour:0",e.Orange="colour:1",e.Green="colour:2",e.Blue="colour:3",e.Purple="colour:4",e.Indigo="colour:5"}(r||(r={}))},18156:function(){},12897:function(){},75797:function(){},18849:function(){},8280:function(){},38723:function(){},79500:function(){},53819:function(){},49320:function(){},6967:function(e,t,n){"use strict";var r,o,i;!function(e){e.Any="Any",e.Level_1="Level_1",e.Level_2="Level_2",e.Level_3="Level_3",e.Level_4="Level_4"}(r||(r={})),function(e){e.Any="Any",e.Staff="Staff",e.Learner="Learner"}(o||(o={})),function(e){e.Draft="Draft",e.Published="Published",e.Archived="Archived"}(i||(i={}))},1843:function(){},54786:function(){},47840:function(){},81816:function(){},82014:function(){},75985:function(){},50708:function(){},91263:function(){},94553:function(){},11316:function(){},63322:function(){},84606:function(){},34951:function(){},33038:function(){},68966:function(){},33798:function(){},39434:function(){},69665:function(){},57923:function(){},20300:function(){},27261:function(){},41366:function(){},20487:function(){},45790:function(){},83342:function(){},77317:function(){},3674:function(){},13230:function(){},12126:function(){},88534:function(){},11232:function(){},66874:function(){},29231:function(){},64272:function(){},66475:function(){},28914:function(){},42496:function(){},67854:function(){},27764:function(){},26288:function(){},17683:function(){},22002:function(){},48627:function(){},34938:function(){},78696:function(){},27069:function(){},97643:function(e,t,n){"use strict";var r;!function(e){e[e.Row=0]="Row",e[e.LargeRow=1]="LargeRow",e[e.Hero=2]="Hero",e[e.ResourcesTile=3]="ResourcesTile"}(r||(r={}))},18075:function(){},98628:function(){},90229:function(e,t,n){"use strict";var r;!function(e){e.Video="video",e.Series="series",e.Playlist="playlist",e.Classification="subject"}(r||(r={}))},76826:function(){},78933:function(){},9326:function(e,t,n){"use strict";var r=n(98628);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}}),n.o(r,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return r.ClassroomGroupColour}}),n(90229);var o=n(76826);n.o(o,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return o.BaseNotificationsAppVariables}}),n.o(o,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return o.BaseSearchAppVariables}}),n.o(o,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return o.ClassroomGroupColour}});var i=n(78933);n.o(i,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return i.BaseNotificationsAppVariables}}),n.o(i,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return i.BaseSearchAppVariables}}),n.o(i,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return i.ClassroomGroupColour}})},88528:function(e,t,n){"use strict";n.d(t,{ClassroomGroupColour:function(){return b.R}});var r=n(92430);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}}),n.o(r,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return r.ClassroomGroupColour}});var o=n(96322);n.o(o,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return o.BaseNotificationsAppVariables}}),n.o(o,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return o.BaseSearchAppVariables}}),n.o(o,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return o.ClassroomGroupColour}});var i=n(1611);n.o(i,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return i.BaseNotificationsAppVariables}}),n.o(i,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return i.BaseSearchAppVariables}}),n.o(i,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return i.ClassroomGroupColour}});var a=n(9326);n.o(a,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return a.BaseNotificationsAppVariables}}),n.o(a,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return a.BaseSearchAppVariables}}),n.o(a,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return a.ClassroomGroupColour}});var c=n(88834);n.o(c,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return c.BaseNotificationsAppVariables}}),n.o(c,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return c.BaseSearchAppVariables}}),n.o(c,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return c.ClassroomGroupColour}});var u=n(20155);n.o(u,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return u.BaseNotificationsAppVariables}}),n.o(u,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return u.BaseSearchAppVariables}}),n.o(u,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return u.ClassroomGroupColour}});var s=n(66324);n.o(s,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return s.BaseNotificationsAppVariables}}),n.o(s,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return s.BaseSearchAppVariables}}),n.o(s,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return s.ClassroomGroupColour}});var l=n(41801);n.o(l,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return l.BaseNotificationsAppVariables}}),n.o(l,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return l.BaseSearchAppVariables}}),n.o(l,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return l.ClassroomGroupColour}});var f=n(70289);n.o(f,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return f.BaseNotificationsAppVariables}}),n.o(f,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return f.BaseSearchAppVariables}}),n.o(f,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return f.ClassroomGroupColour}});var p=n(93163);n.o(p,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return p.BaseNotificationsAppVariables}}),n.o(p,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return p.BaseSearchAppVariables}}),n.o(p,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return p.ClassroomGroupColour}});var y=n(68622);n.o(y,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return y.BaseNotificationsAppVariables}}),n.o(y,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return y.BaseSearchAppVariables}}),n.o(y,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return y.ClassroomGroupColour}});var d=n(65355);n.o(d,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return d.BaseNotificationsAppVariables}}),n.o(d,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return d.BaseSearchAppVariables}}),n.o(d,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return d.ClassroomGroupColour}});var h=n(4934);n.o(h,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return h.BaseNotificationsAppVariables}}),n.o(h,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return h.BaseSearchAppVariables}}),n.o(h,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return h.ClassroomGroupColour}});var b=n(35866),v=n(75797);n.o(v,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return v.BaseNotificationsAppVariables}}),n.o(v,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return v.BaseSearchAppVariables}});var m=n(33038);n.o(m,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return m.BaseNotificationsAppVariables}}),n.o(m,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return m.BaseSearchAppVariables}});var g=n(38723);n.o(g,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return g.BaseNotificationsAppVariables}}),n.o(g,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return g.BaseSearchAppVariables}});var w=n(53819);n.o(w,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return w.BaseNotificationsAppVariables}}),n.o(w,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return w.BaseSearchAppVariables}}),n(6967);var O=n(47840);n.o(O,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return O.BaseNotificationsAppVariables}}),n.o(O,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return O.BaseSearchAppVariables}});var S=n(91263);n.o(S,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return S.BaseNotificationsAppVariables}}),n.o(S,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return S.BaseSearchAppVariables}});var C=n(94553);n.o(C,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return C.BaseNotificationsAppVariables}}),n.o(C,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return C.BaseSearchAppVariables}});var P=n(11316);n.o(P,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return P.BaseNotificationsAppVariables}}),n.o(P,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return P.BaseSearchAppVariables}});var E=n(34951);n.o(E,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return E.BaseNotificationsAppVariables}}),n.o(E,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return E.BaseSearchAppVariables}});var k=n(27261);n.o(k,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return k.BaseNotificationsAppVariables}}),n.o(k,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return k.BaseSearchAppVariables}});var _=n(3674);n.o(_,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return _.BaseNotificationsAppVariables}}),n.o(_,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return _.BaseSearchAppVariables}});var R=n(88534);n.o(R,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return R.BaseNotificationsAppVariables}}),n.o(R,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return R.BaseSearchAppVariables}});var j=n(11232);n.o(j,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return j.BaseNotificationsAppVariables}}),n.o(j,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return j.BaseSearchAppVariables}});var T=n(66874);n.o(T,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return T.BaseNotificationsAppVariables}}),n.o(T,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return T.BaseSearchAppVariables}}),n.o(j,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return j.BaseNotificationsAppVariables}}),n.o(j,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return j.BaseSearchAppVariables}});var A=n(28914);n.o(A,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return A.BaseNotificationsAppVariables}}),n.o(A,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return A.BaseSearchAppVariables}});var L=n(67854);n.o(L,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return L.BaseNotificationsAppVariables}}),n.o(L,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return L.BaseSearchAppVariables}});var x=n(26288);n.o(x,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return x.BaseNotificationsAppVariables}}),n.o(x,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return x.BaseSearchAppVariables}});var V=n(17683);n.o(V,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return V.BaseNotificationsAppVariables}}),n.o(V,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return V.BaseSearchAppVariables}});var N=n(48627);n.o(N,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return N.BaseNotificationsAppVariables}}),n.o(N,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return N.BaseSearchAppVariables}});var D=n(78696);n.o(D,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return D.BaseNotificationsAppVariables}}),n.o(D,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return D.BaseSearchAppVariables}}),n(97643);var B=n(57606);n.o(B,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return B.BaseNotificationsAppVariables}}),n.o(B,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return B.BaseSearchAppVariables}});var I=n(45790);n.o(I,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return I.BaseNotificationsAppVariables}}),n.o(I,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return I.BaseSearchAppVariables}});var U=n(83342);n.o(U,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return U.BaseNotificationsAppVariables}}),n.o(U,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return U.BaseSearchAppVariables}});var M=n(20487);n.o(M,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return M.BaseNotificationsAppVariables}}),n.o(M,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return M.BaseSearchAppVariables}});var F=n(13230);n.o(F,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return F.BaseNotificationsAppVariables}}),n.o(F,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return F.BaseSearchAppVariables}});var H=n(57923);n.o(H,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return H.BaseNotificationsAppVariables}}),n.o(H,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return H.BaseSearchAppVariables}});var z=n(12897);n.o(z,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return z.BaseNotificationsAppVariables}}),n.o(z,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return z.BaseSearchAppVariables}});var G=n(84606);n.o(G,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return G.BaseNotificationsAppVariables}}),n.o(G,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return G.BaseSearchAppVariables}});var q=n(18156);n.o(q,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return q.BaseNotificationsAppVariables}}),n.o(q,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return q.BaseSearchAppVariables}});var Q=n(68966);n.o(Q,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return Q.BaseNotificationsAppVariables}}),n.o(Q,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return Q.BaseSearchAppVariables}});var W=n(82014);n.o(W,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return W.BaseNotificationsAppVariables}}),n.o(W,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return W.BaseSearchAppVariables}});var Y=n(50708);n.o(Y,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return Y.BaseNotificationsAppVariables}}),n.o(Y,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return Y.BaseSearchAppVariables}});var Z=n(49320);n.o(Z,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return Z.BaseNotificationsAppVariables}}),n.o(Z,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return Z.BaseSearchAppVariables}});var K=n(18849);n.o(K,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return K.BaseNotificationsAppVariables}}),n.o(K,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return K.BaseSearchAppVariables}});var $=n(69665);n.o($,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return $.BaseNotificationsAppVariables}}),n.o($,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return $.BaseSearchAppVariables}});var X=n(27764);n.o(X,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return X.BaseNotificationsAppVariables}}),n.o(X,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return X.BaseSearchAppVariables}});var J=n(29231);n.o(J,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return J.BaseNotificationsAppVariables}}),n.o(J,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return J.BaseSearchAppVariables}});var ee=n(12126);n.o(ee,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return ee.BaseNotificationsAppVariables}}),n.o(ee,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return ee.BaseSearchAppVariables}}),n.o(D,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return D.BaseNotificationsAppVariables}}),n.o(D,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return D.BaseSearchAppVariables}});var te=n(75985);n.o(te,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return te.BaseNotificationsAppVariables}}),n.o(te,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return te.BaseSearchAppVariables}});var ne=n(34938);n.o(ne,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return ne.BaseNotificationsAppVariables}}),n.o(ne,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return ne.BaseSearchAppVariables}});var re=n(79500);n.o(re,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return re.BaseNotificationsAppVariables}}),n.o(re,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return re.BaseSearchAppVariables}});var oe=n(27069);n.o(oe,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return oe.BaseNotificationsAppVariables}}),n.o(oe,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return oe.BaseSearchAppVariables}}),n.o(O,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return O.BaseNotificationsAppVariables}}),n.o(O,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return O.BaseSearchAppVariables}});var ie=n(42496);n.o(ie,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return ie.BaseNotificationsAppVariables}}),n.o(ie,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return ie.BaseSearchAppVariables}});var ae=n(63322);n.o(ae,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return ae.BaseNotificationsAppVariables}}),n.o(ae,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return ae.BaseSearchAppVariables}});var ce=n(81816);n.o(ce,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return ce.BaseNotificationsAppVariables}}),n.o(ce,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return ce.BaseSearchAppVariables}});var ue=n(20300);n.o(ue,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return ue.BaseNotificationsAppVariables}}),n.o(ue,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return ue.BaseSearchAppVariables}});var se=n(18075);n.o(se,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return se.BaseNotificationsAppVariables}}),n.o(se,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return se.BaseSearchAppVariables}});var le=n(8280);n.o(le,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return le.BaseNotificationsAppVariables}}),n.o(le,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return le.BaseSearchAppVariables}});var fe=n(33798);n.o(fe,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return fe.BaseNotificationsAppVariables}}),n.o(fe,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return fe.BaseSearchAppVariables}});var pe=n(39434);n.o(pe,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return pe.BaseNotificationsAppVariables}}),n.o(pe,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return pe.BaseSearchAppVariables}});var ye=n(64272);n.o(ye,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return ye.BaseNotificationsAppVariables}}),n.o(ye,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return ye.BaseSearchAppVariables}});var de=n(66475);n.o(de,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return de.BaseNotificationsAppVariables}}),n.o(de,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return de.BaseSearchAppVariables}});var he=n(1843);n.o(he,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return he.BaseNotificationsAppVariables}}),n.o(he,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return he.BaseSearchAppVariables}});var be=n(22002);n.o(be,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return be.BaseNotificationsAppVariables}}),n.o(be,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return be.BaseSearchAppVariables}});var ve=n(41366);n.o(ve,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return ve.BaseNotificationsAppVariables}}),n.o(ve,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return ve.BaseSearchAppVariables}});var me=n(77317);n.o(me,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return me.BaseNotificationsAppVariables}}),n.o(me,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return me.BaseSearchAppVariables}});var ge=n(6938);n.o(ge,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return ge.BaseNotificationsAppVariables}}),n.o(ge,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return ge.BaseSearchAppVariables}});var we=n(98944);n.o(we,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return we.BaseNotificationsAppVariables}}),n.o(we,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return we.BaseSearchAppVariables}});var Oe=n(95101);n.o(Oe,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return Oe.BaseNotificationsAppVariables}}),n.o(Oe,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return Oe.BaseSearchAppVariables}});var Se=n(63766);n.o(Se,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return Se.BaseNotificationsAppVariables}}),n.o(Se,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return Se.BaseSearchAppVariables}});var Ce=n(95198);n.o(Ce,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return Ce.BaseNotificationsAppVariables}}),n.o(Ce,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return Ce.BaseSearchAppVariables}});var Pe=n(54786);n.o(Pe,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return Pe.BaseNotificationsAppVariables}}),n.o(Pe,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return Pe.BaseSearchAppVariables}});var Ee=n(20438);n.o(Ee,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return Ee.BaseNotificationsAppVariables}}),n.o(Ee,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return Ee.BaseSearchAppVariables}})},20535:function(){},55592:function(){},33590:function(){},85285:function(){},68545:function(){},1611:function(e,t,n){"use strict";var r=n(55592);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}}),n.o(r,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return r.ClassroomGroupColour}});var o=n(20535);n.o(o,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return o.BaseNotificationsAppVariables}}),n.o(o,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return o.BaseSearchAppVariables}}),n.o(o,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return o.ClassroomGroupColour}});var i=n(33590);n.o(i,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return i.BaseNotificationsAppVariables}}),n.o(i,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return i.BaseSearchAppVariables}}),n.o(i,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return i.ClassroomGroupColour}});var a=n(85285);n.o(a,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return a.BaseNotificationsAppVariables}}),n.o(a,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return a.BaseSearchAppVariables}}),n.o(a,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return a.ClassroomGroupColour}});var c=n(68545);n.o(c,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return c.BaseNotificationsAppVariables}}),n.o(c,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return c.BaseSearchAppVariables}}),n.o(c,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return c.ClassroomGroupColour}})},81427:function(){},5139:function(){},82902:function(e,t,n){"use strict";var r;!function(e){e[e.MultipleChoice=1]="MultipleChoice",e[e.ShortAnswer=2]="ShortAnswer",e[e.TrueOrFalse=3]="TrueOrFalse",e[e.Annotation=4]="Annotation",e[e.Image=5]="Image",e[e.MissingWord=6]="MissingWord"}(r||(r={}))},25409:function(){},36479:function(){},96322:function(e,t,n){"use strict";var r=n(81427);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}}),n.o(r,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return r.ClassroomGroupColour}});var o=n(5139);n.o(o,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return o.BaseNotificationsAppVariables}}),n.o(o,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return o.BaseSearchAppVariables}}),n.o(o,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return o.ClassroomGroupColour}}),n(82902);var i=n(25409);n.o(i,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return i.BaseNotificationsAppVariables}}),n.o(i,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return i.BaseSearchAppVariables}}),n.o(i,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return i.ClassroomGroupColour}});var a=n(36479);n.o(a,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return a.BaseNotificationsAppVariables}}),n.o(a,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return a.BaseSearchAppVariables}}),n.o(a,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return a.ClassroomGroupColour}})},33437:function(){},90703:function(){},67456:function(){},92430:function(e,t,n){"use strict";var r=n(33437);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}}),n.o(r,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return r.ClassroomGroupColour}});var o=n(90703);n.o(o,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return o.BaseNotificationsAppVariables}}),n.o(o,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return o.BaseSearchAppVariables}}),n.o(o,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return o.ClassroomGroupColour}});var i=n(67456);n.o(i,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return i.BaseNotificationsAppVariables}}),n.o(i,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return i.BaseSearchAppVariables}}),n.o(i,"ClassroomGroupColour")&&n.d(t,{ClassroomGroupColour:function(){return i.ClassroomGroupColour}})},30960:function(){},87003:function(e,t,n){"use strict";var r=n(30960);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}})},11847:function(){},39555:function(){},20441:function(){},32829:function(){},73631:function(){},90709:function(){},29812:function(){},80078:function(){},50482:function(){},52637:function(){},53878:function(){},65604:function(){},3681:function(e,t,n){"use strict";var r=n(32829);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}});var o=n(80078);n.o(o,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return o.BaseNotificationsAppVariables}}),n.o(o,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return o.BaseSearchAppVariables}});var i=n(50482);n.o(i,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return i.BaseNotificationsAppVariables}}),n.o(i,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return i.BaseSearchAppVariables}});var a=n(52637);n.o(a,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return a.BaseNotificationsAppVariables}}),n.o(a,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return a.BaseSearchAppVariables}});var c=n(53878);n.o(c,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return c.BaseNotificationsAppVariables}}),n.o(c,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return c.BaseSearchAppVariables}});var u=n(65604);n.o(u,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return u.BaseNotificationsAppVariables}}),n.o(u,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return u.BaseSearchAppVariables}});var s=n(20441);n.o(s,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return s.BaseNotificationsAppVariables}}),n.o(s,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return s.BaseSearchAppVariables}});var l=n(39555);n.o(l,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return l.BaseNotificationsAppVariables}}),n.o(l,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return l.BaseSearchAppVariables}});var f=n(73631);n.o(f,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return f.BaseNotificationsAppVariables}}),n.o(f,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return f.BaseSearchAppVariables}});var p=n(29812);n.o(p,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return p.BaseNotificationsAppVariables}}),n.o(p,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return p.BaseSearchAppVariables}});var y=n(90709);n.o(y,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return y.BaseNotificationsAppVariables}}),n.o(y,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return y.BaseSearchAppVariables}});var d=n(11847);n.o(d,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return d.BaseNotificationsAppVariables}}),n.o(d,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return d.BaseSearchAppVariables}})},77946:function(){},79957:function(){},25485:function(){},39157:function(e,t,n){"use strict";var r=n(79957);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}});var o=n(25485);n.o(o,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return o.BaseNotificationsAppVariables}}),n.o(o,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return o.BaseSearchAppVariables}});var i=n(77946);n.o(i,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return i.BaseNotificationsAppVariables}}),n.o(i,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return i.BaseSearchAppVariables}})},25005:function(){},17471:function(){},87443:function(){},12331:function(){},37654:function(){},66720:function(){},59689:function(e,t,n){"use strict";var r=n(37654);n.o(r,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return r.BaseNotificationsAppVariables}}),n.o(r,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return r.BaseSearchAppVariables}});var o=n(66720);n.o(o,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return o.BaseNotificationsAppVariables}}),n.o(o,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return o.BaseSearchAppVariables}});var i=n(17471);n.o(i,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return i.BaseNotificationsAppVariables}}),n.o(i,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return i.BaseSearchAppVariables}});var a=n(87443);n.o(a,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return a.BaseNotificationsAppVariables}}),n.o(a,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return a.BaseSearchAppVariables}});var c=n(12331);n.o(c,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return c.BaseNotificationsAppVariables}}),n.o(c,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return c.BaseSearchAppVariables}});var u=n(25005);n.o(u,"BaseNotificationsAppVariables")&&n.d(t,{BaseNotificationsAppVariables:function(){return u.BaseNotificationsAppVariables}}),n.o(u,"BaseSearchAppVariables")&&n.d(t,{BaseSearchAppVariables:function(){return u.BaseSearchAppVariables}})},80758:function(e,t,n){"use strict";n.d(t,{o:function(){return w}});var r=n(39479),o=n(31647),i=n(48566),a=n.n(i);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(p,e);var t,n,o,i,c=(o=p,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(o);if(i){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l(this,e)});function p(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),c.call(this,e)}return t=p,(n=[{key:"name",get:function(){return"EmptyStateComponent"}},{key:"className",get:function(){var e="d-flex flex-column justify-content-center align-items-center text-center h-100";return this.options.customClass&&(e+=" ".concat(this.options.customClass)),e}},{key:"template",get:function(){return a()}},{key:"defaults",get:function(){return{imageSize:"lg",paddedContainer:!0}}},{key:"appLinks",get:function(){return this.options.appLink||{}}},{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()}}}])&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(o.Q.Component),y={isCollectionEmpty:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"collection";return e[t]&&!e[t].length}};function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(c,e);var t,n,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(o);if(i){var n=g(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return m(this,e)});function c(){return h(this,c),a.apply(this,arguments)}return t=c,(n=[{key:"defaults",get:function(){return{type:0,shouldRender:y.isCollectionEmpty.bind(null,this.view)}},set:function(e){}},{key:"shouldRender",value:function(){return!!r.isFunction(this.options.shouldRender)&&this.options.shouldRender()}},{key:"getComponent",value:function(){var e=this.options.emptyStateComponents[this.options.type](this);return new p(e)}},{key:"renderEmptyState",value:function(){if(this.shouldRender()){var e=this.getComponent();this.view.showChildView(this.options.region,e)}}},{key:"onRender",value:function(){this.renderEmptyState()}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Q.Behavior)},83162:function(e,t,n){"use strict";n.d(t,{V:function(){return C}});var r=n(31647),o=n(48088),i=n(85835),a=n(57857);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p="shared.tooManyFiles",y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(c,e);var t,n,r,o,i=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(r);if(o){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i.call(this,a.T.getPhrase(p,"title"))}return t=c,(n=[{key:"name",get:function(){return"TooManyFilesError"}},{key:"dialogOptions",get:function(){return{title:a.T.getPhrase(p,"heading"),text:a.T.getPhrase(p,"body"),buttons:[{text:a.T.getPhrase(p,"okay"),className:"btn btn-dark",success:!0}]}}}])&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(i.S),d=n(34429),h=n(76013),b=n(81937);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}function O(e,t){if(t&&("object"===v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(u,e);var t,n,i,a,c=(i=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S(i);if(a){var n=S(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return O(this,e)});function u(){return m(this,u),c.apply(this,arguments)}return t=u,(n=[{key:"initialize",value:function(){var e="file:drop:lock";this.listenTo(e,"lock",this.lock),this.listenTo(e,"unlock",this.unlock),!1!==this.options.acceptMultiple&&(this.options.acceptMultiple=!0)}},{key:"events",get:function(){return{drop:"onDrop",drag:"onDrag"}}},{key:"lock",value:function(){this.locked=!0}},{key:"unlock",value:function(){this.locked=!1}},{key:"onDrop",value:function(e){if(!this.locked){e.preventDefault();var t=e.originalEvent;if(d.M.isFileDrag(e)){var n=[];if(t.dataTransfer.items)for(var i=0;i<t.dataTransfer.items.length;i++)"file"===t.dataTransfer.items[i].kind&&n.push(t.dataTransfer.items[i].getAsFile());else for(var a=0;a<t.dataTransfer.files.length;a++){var c=t.dataTransfer.files[a];n.push(c)}n.length>1&&!this.options.acceptMultiple?r.Q.ErrorHelper.throw(new y):(o.Radio.channel(this.options.channelName).trigger(b.S.FILES_SELECTED,n,h.s.DragDrop),t.dataTransfer.items?t.dataTransfer.items.clear():t.dataTransfer.clearData())}}}}])&&g(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(r.Q.Behavior)},34429:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var r=n(39479),o={isFileDrag:function(e){return e&&e.originalEvent&&e.originalEvent.dataTransfer&&e.originalEvent.dataTransfer.types&&r.any(e.originalEvent.dataTransfer.types,(function(e){return"Files"===e}))}}},57769:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(31647),o=n(48088),i=n(87776),a=n.n(i),c=n(76013),u=n(81937);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(b,e);var t,n,r,i,s=(r=b,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(i){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function b(){return f(this,b),s.apply(this,arguments)}return t=b,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,this.options.eventName,this.onClickSelect)}},{key:"events",value:function(){var e;return l(e={},"click ".concat(this.options.buttonSelector),"onClickSelect"),l(e,"change .file-select","onChangeFileSelect"),e}},{key:"onClickSelect",value:function(){this.view.$el.find(".file-select").val(null),this.view.$el.find(".file-select").click()}},{key:"onChangeFileSelect",value:function(e){var t=e.originalEvent.target.files;t&&t.length&&o.Radio.channel(this.options.channelName).trigger(u.S.FILES_SELECTED,t,c.s.FileSelect)}},{key:"onRender",value:function(){this.$el.find(this.options.buttonSelector).after(a()(this.options))}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),b}(r.Q.Behavior)},56210:function(e,t,n){"use strict";n.d(t,{H:function(){return l}});var r=n(39479);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(p,e);var t,n,o,l,f=(o=p,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(o);if(l){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function p(){return i(this,p),f.apply(this,arguments)}return t=p,(n=[{key:"defaults",get:function(){return{placement:"top"}},set:function(e){}},{key:"ui",get:function(){return this.options.selector?{tooltip:this.options.selector}:{}},set:function(e){var t={};this.view.ui&&(t=r.result(this.view,"ui")),this.view._ui=r.extend({},t,e)}},{key:"getElement",value:function(){return this.options.selector?this.view.getUI("tooltip"):this.view.$el}},{key:"getOptions",value:function(){var e={placement:this.options.placement};return this.options.title&&(e.title=this.options.title),e}},{key:"onRender",value:function(){var e=this.getElement();e.length&&e.tooltip(this.getOptions())}},{key:"onBeforeDetach",value:function(){var e=this.getElement();e instanceof jQuery&&e.tooltip("dispose")}}])&&a(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(n(31647).Q.Behavior)},2772:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(39479),o=n(48088),i=n(31647),a=n(60511),c=n(63791),u=n(87013),s=n(27866),l=n(95706),f=n.n(l),p={thumbnailContainer:"bFrMs",thumbnail:"vdbmi",svgContainer:"sLc4w",playSvgContainer:"DGpNP",playMask:"KjeaS",durationOverlay:"YuZZh"};function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function v(e,t){if(t&&("object"===y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(g,e);var t,n,i,l,y=(i=g,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(i);if(l){var n=m(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return v(this,e)});function g(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),y.call(this,e)}return t=g,n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:thumbnail",this.render)}},{key:"name",get:function(){return"ThumbnailComponent"}},{key:"template",get:function(){return f()}},{key:"tagName",get:function(){return"a"}},{key:"className",get:function(){if(this.options.classNameOverride)return this.options.classNameOverride;var e="".concat(p.thumbnailContainer," responsive-img rounded overflow-hidden");return this.options.onClickHandler&&(e+=" cursor-pointer"),e}},{key:"elements",get:function(){var e;return d(e={},".".concat(p.playSvgContainer),"showPlayIcon"),d(e,"img","img"),e}},{key:"events",value:function(){return{click:"onClick"}}},{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"}}},{key:"onClick",value:function(){var e;if(!this.options.appLink&&r.isFunction(this.options.onClickHandler)){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return(e=this.options.onClickHandler).apply.apply(e,[this].concat(n))}}},{key:"onImageLoad",value:function(){this.options.channelName&&o.Radio.channel(this.options.channelName).trigger("thumbnail:load")}},{key:"viewOptions",value:function(){var e=this.model.get("duration");return{styles:p,url:u.j.legacyCreateThumbnailUrl(this.model.get("thumbnail"),this.options.thumbnailOptions),duration:e&&s.T.ToDisplayDuration(e),playSvg:c.Nj.getSvg(c.vn.Play),playIcon:this.options.playIcon,lazyload:this.options.lazyload}}},{key:"onRender",value:function(){if(o.Radio.channel(a.f.LAZY_LOAD).trigger("update:loader"),this.options.lazyload&&this.options.channelName){var e=this.getUI("img");e.length&&(e[0].onload=r.bind(this.onImageLoad,this))}}}],n&&h(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),g}(i.Q.Component)},77502:function(e,t,n){"use strict";var r;n.d(t,{E:function(){return r}}),function(e){e[e.MostRecent=1]="MostRecent",e[e.AtoZ=2]="AtoZ",e[e.ProductionYear=3]="ProductionYear",e[e.Newest=4]="Newest",e[e.SeriesSort=5]="SeriesSort"}(r||(r={}))},33303:function(e,t,n){"use strict";n.d(t,{J:function(){return f}});var r=n(48318),o=n(77502);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(p,e);var t,n,r,i,f=(r=p,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(r);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function p(){return a(this,p),f.apply(this,arguments)}return t=p,(n=[{key:"getSortTypeParam",value:function(){return o.E[this.sort]}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.BaseCollectionIdentifier)},4039:function(e,t,n){"use strict";n.d(t,{p:function(){return u}}),n(12053);var r=n(11543),o=n(33955),i=n(69184),a=(n(95644),n(85523),n(21679)),c={dataServiceName:r.Z.Config,dataChannelName:i.iK.CONFIG},u={getConfigFetchOptions:function(e,t){return Object.assign(Object.assign({},c),{eventPrefix:o.j.CONFIG,fetchData:function(e){return e.getConfig()},setData:e,onError:t})},config:{dataServiceName:r.Z.Config,eventName:"".concat(o.j.CONFIG,":sync"),getData:function(e){return e.getConfig()},getInstance:function(e){return a.u.getInstance(r.Z.Config,e)},beforeOnBeforeRender:!0}}},47327:function(e,t,n){"use strict";n.d(t,{O:function(){return y}});var r=n(31647),o=n(25417),i=n(11543);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(h,e);var t,n,a,p,y,d=(p=h,y=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(p);if(y){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l(this,e)});function h(){var e;return c(this,h),(e=d.apply(this,arguments)).routeHistory=[],e.contextHistory=[],e}return t=h,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"name",get:function(){return i.D.Context}},{key:"initialize",value:function(){this.listenTo(o.G.SHELL,r.Q.EventNames.ROUTE,this.setContext),this.listenTo(o.G.SHELL,r.Q.EventNames.ROUTE,this.updateRouteHistory)}},{key:"setContext",value:function(e){this.contextHistory.length>=5&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:e})}},{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(e){r.Q.AppLinkHelper.getHref(e)&&(this.routeHistory.length>=3&&this.routeHistory.unshift(),this.routeHistory.push({pageLoad:!this.routeHistory.length,appLink:e}))}},{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:"_forcePushContext",value:function(e){this.setContext(e),this.updateRouteHistory(e)}}])&&u(t.prototype,n),a&&u(t,a),Object.defineProperty(t,"prototype",{writable:!1}),h}(r.Q.Service),y=new p},75432:function(e,t,n){"use strict";n.d(t,{K:function(){return u}}),n(12053);var r=n(21679),o=n(11543),i=n(69184),a=n(33955);n(85523);var c={dataServiceName:o.Z.User,dataChannelName:i.iK.USER},u={getCurrentUserFetchOptions:function(e,t){return Object.assign(Object.assign({},c),{eventPrefix:a.j.CURRENT_USER,fetchData:function(e){return e.getCurrentUser()},setData:e,onError:t})},currentUser:{dataServiceName:o.Z.User,eventName:"".concat(a.j.CURRENT_USER,":sync"),getData:function(e){return e.getCurrentUser()},getInstance:function(e){return r.u.getInstance(o.Z.User,e)},beforeOnBeforeRender:!0}}},98985:function(e,t,n){"use strict";n.d(t,{o:function(){return l}});var r=n(68003),o=n(31647),i=n(11306),a=n(8371),c=n(84868);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,s;return t=e,n=[{key:"initialize",value:function(e){this.initializeUrl(e),this.initializeLocale(e.instanceRegion)}},{key:"initializeUrl",value:function(e){if(e.product){if(this.product=e.product,e.product===c.x.Online)return e.onlineSupportSiteUrl?void(this.supportSiteUrl=e.onlineSupportSiteUrl):void o.Q.ErrorHelper.throw(new i.H("ArticleHelper requires a online support site url"));e.liteSupportSiteUrl?this.supportSiteUrl=e.liteSupportSiteUrl:o.Q.ErrorHelper.throw(new i.H("ArticleHelper requires a lite support site url"))}else o.Q.ErrorHelper.throw(new i.H("ArticleHelper requires a product name"))}},{key:"initializeLocale",value:function(e){switch(e||o.Q.ErrorHelper.throw(new i.H("ArticleHelper requires an instance region")),e){case a.b.AU:this.locale="en-au",this.hash="#au";break;case a.b.UK:this.locale="en-au",this.hash="#gb";break;case a.b.US:this.locale="en-us",this.hash="#us";break;case a.b.NZ:this.locale="en-au",this.hash="#nz";break;default:this.locale="en-us",this.hash=""}}},{key:"validate",value:function(){return!(!this.locale||!this.supportSiteUrl)||(o.Q.ErrorHelper.throw(new i.H("ArticleHelper was not initialized")),!1)}},{key:"getArticle",value:function(e,t){if(!this.validate())return"";var n=e?"hc/".concat(this.locale,"/").concat(t,"/").concat(e):"hc/".concat(this.locale);return r._.safeUrlConcat(this.supportSiteUrl,n+this.hash)}},{key:"getOnlineArticle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"articles";return this.product===c.x.Primary&&o.Q.ErrorHelper.throw(new i.H("ArticleHelper.getOnlineArticle() should not be used in Lite")),this.getArticle(e,t)}},{key:"getLiteArticle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"articles";return this.product===c.x.Online&&o.Q.ErrorHelper.throw(new i.H("ArticleHelper.getLiteArticle() should not be used in Online")),this.getArticle(e,t)}},{key:"getHybridArticle",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"articles";return this.product===c.x.Online?this.getOnlineArticle(e,n):this.getLiteArticle(t,n)}},{key:"getSupportRequestUrl",value:function(){return this.validate()?r._.safeUrlConcat(this.supportSiteUrl,"hc/".concat(this.locale,"/requests/new").concat(this.hash)):""}}],s=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],n&&u(t.prototype,n),s&&u(t,s),Object.defineProperty(t,"prototype",{writable:!1}),e}(),l=s.Instance},27866:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(39479),o=function(e,t,n){var r=t-(e=e.toString()).length;return r<=0?e:new Array(r+1).join(n)+e},i={ToDisplayDuration:function(e){if(!r.isNumber(e))return"";var t=new Date(e),n=t.getUTCHours(),i=o(t.getUTCMinutes(),2,"0"),a=o(t.getUTCSeconds(),2,"0");return n>0?"".concat(n,":").concat(i,":").concat(a):"".concat(i,":").concat(a)}}},87013:function(e,t,n){"use strict";n.d(t,{j:function(){return f}});var r,o,i=n(68003),a=n(85887),c=n(31647),u=n(88483);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.Banner="banner",e.Thumbnail="thumbnail"}(o||(o={}));var l=(s(r={},u.__.Banners,o.Banner),s(r,u.__.Thumbnails,o.Thumbnail),r),f={createUrl:function(e,t){return f._createUrl(e,t)},createBannerUrl:function(e,t,n){return e&&e.url?f._createUrl(e.url,n):f._createCategoryMappedUrl(t,n)},createResourceImage:function(e,t,n){return f._createUrl(e,Object.assign({url:t},n))},Rfc3986EncodeURIComponent:function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)},_createCategoryMappedUrl:function(e,t){var n=e.fallbackBaseUrl,r=e.fallbackCategoryName,o=e.type,a=i._.safeUrlConcat(n,"".concat(function(e){return"/v1/category-map/".concat(e)}(l[o]))),c=Object.assign({name:f.Rfc3986EncodeURIComponent(r)},t);return f._createUrl(a,c)},_createUrl:function(e,t){if(e){if(a.t.isEmpty(t))return e;var n=$.param(t),r=-1===e.indexOf("?")?"?":"&",o=e;return o.endsWith("/")&&(o=o.slice(0,-1)),o+"".concat(r).concat(n)}},legacyCreateThumbnailUrl:function(e,t){if(!e)return"";var n;if(e&&(n=e instanceof c.Q.Model?e.get("url"):"string"==typeof e?e:e.url)){var r=Object.assign({size:u.h2.Small,bgColor:"000"},t);return f._createUrl(n,r)}},getDisplayImageFromObject:function(e){var t,n,r,o,i,a,c,u;return"tallPoster"in e&&(null===(t=e.tallPoster)||void 0===t?void 0:t.url)?e.tallPoster:"cover"in e&&(null===(n=e.cover)||void 0===n?void 0:n.url)?e.cover:"thumbnail"in e&&(null===(r=e.thumbnail)||void 0===r?void 0:r.url)?e.thumbnail:"video"in e&&(null===(i=null===(o=e.video)||void 0===o?void 0:o.thumbnail)||void 0===i?void 0:i.url)?e.video.thumbnail:"clip"in e&&(null===(u=null===(c=null===(a=e.clip)||void 0===a?void 0:a.video)||void 0===c?void 0:c.thumbnail)||void 0===u?void 0:u.url)?e.clip.video.thumbnail:null}}},95819:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(21679),o=n(11543),i={libraries:{dataServiceName:o.Z.Library,eventName:"libraries:sync",getData:function(e){return e.getLibraries()},getInstance:function(e){return r.u.getInstance(o.Z.Library,e)},beforeOnBeforeRender:!0}}},63791:function(e,t,n){"use strict";n.d(t,{Nj:function(){return Ar},vn:function(){return Lr}});var r,o,i,a=n(25194),c=n(39479),u=n(56448),s=n.n(u),l=n(21693),f=n.n(l),p=n(60955),y=n.n(p),d=n(37016),h=n.n(d),b=(n(91856),n(6041)),v=n.n(b),m=n(66168),g=n.n(m),w=n(82232),O=n.n(w),S=n(98722),C=n.n(S),P=n(15735),E=n.n(P),k=n(80749),_=n.n(k),R=n(60839),j=n.n(R),T=n(95821),A=n.n(T),L=n(50274),x=n.n(L),V=n(34736),N=n.n(V),D=n(10314),B=n.n(D),I=n(39422),U=n.n(I),M=n(27250),F=n.n(M),H=n(86763),z=n.n(H),G=n(95176),q=n.n(G),Q=n(86343),W=n.n(Q),Y=n(36735),Z=n.n(Y),K=n(56823),$=n.n(K),X=n(96678),J=n.n(X),ee=n(37157),te=n.n(ee),ne=n(48860),re=n.n(ne),oe=n(1709),ie=n.n(oe),ae=n(21167),ce=n.n(ae),ue=n(24196),se=n.n(ue),le=n(7258),fe=n.n(le),pe=n(4292),ye=n.n(pe),de=n(89336),he=n.n(de),be=n(41229),ve=n.n(be),me=n(11402),ge=n.n(me),we=n(24164),Oe=n.n(we),Se=n(9475),Ce=n.n(Se),Pe=n(1222),Ee=n.n(Pe),ke=n(70628),_e=n.n(ke),Re=(n(46450),n(93469),n(75551)),je=n.n(Re),Te=n(29850),Ae=n.n(Te),Le=n(39807),xe=n.n(Le),Ve=n(89649),Ne=n.n(Ve),De=n(68799),Be=n.n(De),Ie=n(98450),Ue=n.n(Ie),Me=n(72473),Fe=n.n(Me),He=n(55138),ze=n.n(He),Ge=n(65480),qe=n.n(Ge),Qe=(n(64894),n(58009)),We=n.n(Qe),Ye=n(81843),Ze=n.n(Ye),Ke=n(75490),$e=n.n(Ke),Xe=n(8412),Je=n.n(Xe),et=n(28671),tt=n.n(et),nt=n(56515),rt=n.n(nt),ot=n(10609),it=n.n(ot),at=(n(89405),n(3164)),ct=n.n(at),ut=n(24249),st=n.n(ut),lt=n(50312),ft=n.n(lt),pt=n(78817),yt=n.n(pt),dt=n(39200),ht=n.n(dt),bt=n(51557),vt=n.n(bt),mt=n(12081),gt=n.n(mt),wt=n(64620),Ot=n.n(wt),St=n(51190),Ct=n.n(St),Pt=n(41690),Et=n.n(Pt),kt=n(38113),_t=n.n(kt),Rt=n(5604),jt=n.n(Rt),Tt=n(97532),At=n.n(Tt),Lt=n(98862),xt=n.n(Lt),Vt=n(57238),Nt=n.n(Vt),Dt=n(64133),Bt=n.n(Dt),It=n(94343),Ut=n.n(It),Mt=n(59855),Ft=n.n(Mt),Ht=n(54791),zt=n.n(Ht),Gt=n(71406),qt=n.n(Gt),Qt=n(32535),Wt=n.n(Qt),Yt=n(83386),Zt=n.n(Yt),Kt=n(38760),$t=n.n(Kt),Xt=n(33796),Jt=n.n(Xt),en=n(52473),tn=n.n(en),nn=n(70379),rn=n.n(nn),on=n(96038),an=n.n(on),cn=n(65962),un=n.n(cn),sn=n(29378),ln=n.n(sn),fn=n(47090),pn=n.n(fn),yn=n(66064),dn=n.n(yn),hn=n(43692),bn=n.n(hn),vn=n(15118),mn=n.n(vn),gn=n(74080),wn=n.n(gn),On=n(33172),Sn=n.n(On),Cn=n(44667),Pn=n.n(Cn),En=n(57598),kn=n.n(En),_n=n(60574),Rn=n.n(_n),jn=n(27344),Tn=n.n(jn),An=(n(78030),n(44683),n(19071),n(5846)),Ln=n.n(An),xn=n(90689),Vn=n.n(xn),Nn=n(58393),Dn=n.n(Nn),Bn=n(16661),In=n.n(Bn),Un=n(4350),Mn=n.n(Un),Fn=n(30613),Hn=n.n(Fn),zn=n(54694),Gn=n.n(zn),qn=n(45432),Qn=n.n(qn),Wn=n(38635),Yn=n.n(Wn),Zn=n(27188),Kn=n.n(Zn),$n=n(96619),Xn=n.n($n),Jn=n(60432),er=n.n(Jn),tr=n(4621),nr=n.n(tr),rr=n(67159),or=n.n(rr),ir=n(84581),ar=n.n(ir),cr=n(22401),ur=n.n(cr),sr=n(63023),lr=n.n(sr),fr=n(65625),pr=n.n(fr),yr=n(20214),dr=n.n(yr),hr=n(63763),br=n.n(hr),vr=n(38477),mr=n.n(vr),gr=n(36963),wr=n.n(gr),Or=n(89237),Sr=n.n(Or),Cr=n(28409),Pr=n.n(Cr),Er=n(45469),kr=n.n(Er),_r=[s(),y(),h(),v(),O(),_(),j(),A(),x(),E(),g(),f(),N(),B(),U(),F(),z(),C(),q(),W(),Z(),$(),J(),te(),re(),ie(),se(),ge(),Oe(),fe(),ye(),he(),ve(),Ce(),ce(),Be(),$t(),tn(),Jt(),ln(),rn(),an(),un(),Je(),rt(),tt(),Ee(),_e(),Ze(),$e(),We(),je(),Ue(),st(),ft(),Fe(),ze(),qe(),yt(),Ae(),ct(),ht(),vt(),At(),it(),gt(),Ct(),Ot(),pn(),dn(),Et(),_t(),xe(),Ne(),jt(),xt(),Nt(),Bt(),Ut(),Ft(),zt(),qt(),Wt(),Zt(),wn(),mn(),bn(),Sn(),kn(),Pn(),Rn(),Tn(),Vn(),Ln(),Dn(),In(),Mn(),Hn(),Gn(),Qn(),Yn(),Kn(),Xn(),er(),nr(),or(),ar(),ur(),lr(),pr(),dr(),br(),mr(),wr(),Sr(),Pr(),kr()];function Rr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}!function(e){e.AddToPlaylists="add-to-playlist",e.Caret="caret",e.Delete="delete",e.Edit="edit",e.NoEdit="no-edit",e.Close="close",e.Folder="folder",e.Fishbone="fishbone",e.Resources="resources",e.More="more",e.Bell="bell",e.Plus="plus",e.Minus="minus",e.Search="search",e.Share="share",e.Share2="share2",e.Upload="upload",e.Preview="preview",e.CircleCheck="circle-check",e.Down="down",e.Right="right",e.UpDown="up-down",e.ChevronUp="chevron-up",e.ChevronDown="chevron-down",e.ChevronLeft="chevron-left",e.ChevronRight="chevron-right",e.VisibleOff="visible-off",e.VisibleOn="visible-on",e.PublisherArchive="publisher-archive",e.ArrowLeft="arrow-left",e.ArrowRight="arrow-right",e.CheckCircleOutline="check-circle-o",e.CheckCircle="check-circle",e.Check="check",e.Lock="lock",e.Link="link",e.Info="info",e.Question="question",e.Star="star",e.StarOutline="star-o",e.Archive="archive",e.Warning="warning",e.WarningOutline="warning-o",e.NewWindow="new-window",e.File="file",e.FilePDF="file-pdf",e.FileExcel="file-excel",e.FilePowerpoint="file-ppt",e.FileWord="file-word",e.FileImg="file-img",e.FileZip="file-zip",e.Enter="enter",e.Calendar="calendar",e.CloseCaptionBadge="close-caption-badge",e.Playlist="playlist",e.Image="image",e.Handle="handle",e.Subject="subject",e.Series="series",e.EditClickView="edit-clickview",e.Heart="heart",e.HeartOutline="heart-outline",e.WhiteWave="white-wave",e.Cog="cog",e.Video="video",e.Compass="compass",e.History="history",e.Tag="tag",e.Email="email",e.YearLevel="year-level",e.Subjects="subjects",e.Download="download",e.Print="print",e.CreateInteractive="create-interactive",e.Play="play",e.PlayCircle="play-circle",e.Twitter="twitter",e.Facebook="facebook",e.Classrooms="classrooms",e.Group="group",e.Timer="timer",e.CrossCircle="cross-circle",e.CrossCircleFilled="cross-circle-filled",e.Hamburger="hamburger",e.Library="library",e.House="house",e.MonitorPlay="monitor-play",e.MonitorChart="monitor-chart",e.Anonymous="anonymous",e.Retry="retry",e.Chart="chart",e.School="school",e.GraduationCap="graduation-cap",e.Key="key",e.Inbox="inbox",e.PendingCircle="pending-circle",e.WidgetTopic="widget-topic",e.WidgetBlurb="widget-blurb",e.WidgetImage="widget-image",e.WidgetListOfChildrenTopics="widget-list-of-children-topics",e.WidgetPlaylistVideos="widget-playlist-videos",e.WidgetPlaylist="widget-playlist",e.WidgetRecentlyAdded="widget-recently-added",e.WidgetResources="widget-resources",e.WidgetSeries="widget-series",e.WidgetTrending="widget-trending",e.WidgetVideo="widget-video",e.WidgetTemplateBanner="widget-template-banner",e.WidgetTemplateCoverFixedTiles="widget-template-cover-fixed-tiles",e.WidgetTemplateFeaturedSlider="widget-template-featured-slider",e.WidgetTemplateThumbnailFeaturedMedia="widget-template-featured-video",e.WidgetTemplateCoverFixedPillListLarge="widget-template-fixed-pills",e.WidgetTemplatePosterSlidingListLarge="widget-template-large-poster",e.WidgetTemplateThumbnailSlidingListLarge="widget-template-large-slider",e.WidgetTemplatePlayer="widget-template-player",e.WidgetTemplateCoverSlidingPillListSmall="widget-template-playlists",e.WidgetTemplatePosterSlider="widget-template-poster-slide",e.WidgetTemplateThumbnailSlidingListSmall="widget-template-small-slider",e.WidgetTemplateCoverFixedTileList="widget-template-cover-fixed-tiles"}(r||(r={})),c.extend(a.config,{autoReplaceSvg:!1,autoAddCss:!1,familyPrefix:"cv",autoA11y:!0,observeMutations:!1,replacementClass:"cv-svg",keepOriginalSource:!1}),(o=a.library).add.apply(o,function(e){if(Array.isArray(e))return Rr(e)}(i=_r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return Rr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rr(e,t):void 0}}(i)||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.")}());var Tr=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,n=[{key:"getSvg",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.faIconLookup(e,t),r=this.getIcon(n,t);if(r&&(!r||r.html.length))return r.html.pop()}},{key:"getIcon",value:function(e,t){return a.icon(e,t.iconOptions||{})}},{key:"faIconLookup",value:function(e,t){var n=t.prefix,r=void 0===n?"cv":n;return a.findIconDefinition({prefix:r,iconName:e})}}],r=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],n&&jr(t.prototype,n),r&&jr(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Ar=Tr.Instance,Lr=r},83891:function(e,t,n){"use strict";n.d(t,{l:function(){return u}});var r,o,i=n(40221),a=n(1268),c=n(46237);!function(e){e[e.Unknown=0]="Unknown",e[e.Staff=1]="Staff",e[e.Learner=2]="Learner"}(r||(r={})),function(e){e[e.Guest=16]="Guest",e[e.User=32]="User",e[e.Admin=48]="Admin",e[e.SuperAdmin=64]="SuperAdmin"}(o||(o={}));var u={getInitials:function(e,t){var n="";return(null==e?void 0:e.length)&&(n=e[0]),(null==t?void 0:t.length)&&(n+=t[0]),n.toUpperCase()},getInitialsFromFullName:function(e){var t,n=null!==(t=null==e?void 0:e.split(" "))&&void 0!==t?t:[];if(!n.length)return"";var r=n[0],o=n.length>1?n[1]:"";return u.getInitials(r,o)},getFullName:function(e){var t,n;return(null==e?void 0:e.name)?"".concat(null!==(t=null==e?void 0:e.name)&&void 0!==t?t:""," ").concat(null!==(n=null==e?void 0:e.surname)&&void 0!==n?n:""):""},getUserType:function(e){var t=e.userType;if("number"==typeof t)switch(t){case r.Unknown:t=a.Y.Unknown;break;case r.Staff:t=a.Y.Staff;break;case r.Learner:t=a.Y.Learner}return t},getUserRole:function(e){var t=e.role;if("number"==typeof t)switch(t){case o.Guest:t=c.i.Guest;break;case o.User:t=c.i.User;break;case o.Admin:t=c.i.Admin;break;case o.SuperAdmin:t=c.i.SuperAdmin}return t},getDisplayName:function(e){var t,n;return(null===(t=e.metadata)||void 0===t?void 0:t.displayName)?null===(n=e.metadata)||void 0===n?void 0:n.displayName:u.getFullName(e)},getYearGroup:function(e){var t,n,r;return(null===(t=e.masterYearGroup)||void 0===t?void 0:t.id)?e.masterYearGroup:(null===(r=null===(n=e.yearGroups)||void 0===n?void 0:n.data)||void 0===r?void 0:r.length)?i.m.first(e.yearGroups.data):null},hasLegacySso:function(e){var t;return!!(null===(t=null==e?void 0:e.authenticationMethods)||void 0===t?void 0:t.length)&&e.authenticationMethods.some((function(e){return!e.local&&e.isLegacy}))},hasNonLegacySso:function(e){var t;return!!(null===(t=null==e?void 0:e.authenticationMethods)||void 0===t?void 0:t.length)&&e.authenticationMethods.some((function(e){return!e.local&&!e.isLegacy}))},hasSso:function(e){return u.hasLegacySso(e)||u.hasNonLegacySso(e)}}},22430:function(e,t,n){"use strict";n.d(t,{M:function(){return a}});var r=n(57857),o=(n(31647),n(11306),r.T.encloseNamespace("shared.errorMessageHelper")),i={"operation-not-allowed":"operationNotAllowed","library-not-supported":"libraryNotSupported","access-denied":"accessDenied","library-access-denied":"libraryAccessDenied","library-access-denied-create":"libraryAccessDeniedCreate","library-access-denied-fulfil":"libraryAccessDeniedFulfill","library-access-denied-not-authorized":"libraryAccessDeniedNotAuthorized","library-request-access-denied":"accessDenied","library-request-access-denied-create-request":"libraryRequestAccessDeniedCreateRequest","library-request-access-denied-process-comment":"libraryRequestAccessDeniedProcessComment","customer-not-found":"customerNotFound","customer-not-found-current-user":"customerNotFound","customer-not-found-library-owner":"customerNotFoundLibraryOwner","customer-not-found-destination-library-owner":"customerNotFoundLibraryOwner","user-not-found":"userNotFound","library-not-found":"libraryNotFound","video-not-found":"videoNotFound","category-not-found":"categoryNotFound","category-not-found-destination-not-provided":"categoryNotFoundDestinationNotProvided","category-not-found-not-in-library":"categoryNotFoundInLibrary","library-request-not-found":"libraryRequestNotFound","invalid-category-path":"invalidCategoryPath","library-api-error":"somethingWentWrong","content-not-playable":"contentNotPlayable","invalid-object":"invalidObject","same-request-existed":"sameRequestExisted","unknown-error":"somethingWentWrong"},a={libraryApiError:function(e){var t,n=i[null===(t=null==e?void 0:e.responseJSON)||void 0===t?void 0:t.type];return o(n||"somethingWentWrong")}}},57519:function(e,t,n){"use strict";n.d(t,{d:function(){return l}});var r=n(34490);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(p,e);var t,n,o,l,f=(o=p,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(o);if(l){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function p(){return i(this,p),f.apply(this,arguments)}return t=p,(n=[{key:"model",get:function(){return r.x}}])&&a(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(n(31647).Q.Collection)},73616:function(e,t,n){"use strict";var r,o;n.d(t,{g:function(){return r},u:function(){return o}}),function(e){e.Libraries="libraries",e.Subjects="subjects",e.ReleaseDate="release-date"}(r||(r={})),function(e){e.ThisMonth="this-month",e.LastMonth="last-month",e.Last3Months="last-3-months",e.Last6Months="last-6-months"}(o||(o={}))},34490:function(e,t,n){"use strict";n.d(t,{x:function(){return s},z:function(){return v}});var r=n(31647);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(s,e);var t,n,r,o=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(n);if(r){var o=u(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return c(this,e)});function s(){return i(this,s),o.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.Q.Model),l=n(70763);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(r);if(o){var n=b(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h(this,e)});function a(){return p(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"associations",get:function(){return{videos:l.t}}}])&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.NestedModel)},39090:function(e,t,n){"use strict";n.d(t,{tF:function(){return k},JI:function(){return _},hp:function(){return L},HW:function(){return R},U1:function(){return T},RF:function(){return P},US:function(){return j}});var r=n(39479),o=n(33192),i=n(88181),a=n(7170),c=n(5344),u=n(73616),s=(n(57519),n(31647)),l=n(34490);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var v,m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(r);if(o){var n=b(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h(this,e)});function a(){return p(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return l.z}}])&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(s.Q.Collection),g=n(57857);function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var C="contentUpdates.utils",P={getFilterCollection:function(e,t,n){var r=new a.y([{title:g.T.getPhrase(C,"libraryFilter"),type:u.g.Libraries,behavior:c.xF.Inclusive,selectAllWhenNoneSelected:!0,minNumOptions:2,options:c.qr.getSourceOptions(e)},{title:g.T.getPhrase(C,"subjectFilter"),type:u.g.Subjects,behavior:c.xF.Exclusive,defaultOptionLabel:function(){return g.T.getPhrase(C,"subjectFilterLabel")},minNumOptions:0,options:t},{title:g.T.getPhrase(C,"releaseDateFilter"),type:u.g.ReleaseDate,behavior:c.xF.Exclusive,minNumOptions:1,options:j}]);return n&&P.setFilters(r,n),r},getLibraryIds:function(e,t){var n=t.map((function(e){return e.get("id").toString()}));if(!e)return n;var o=[];return e.split(",").forEach((function(e){var t=e.split("-")[1];t&&r.contains(n,t)&&o.push(t)})),o},getSubjectOptions:function(e){var t={};return e.each((function(e){if(t[e.get("name")]){t[e.get("name")].subjectIds.push(e.get("id").toString());var n=[].concat(O(t[e.get("name")].libraryIds),O(e.get("libraryIds").map((function(e){return e.toString()}))));t[e.get("name")].libraryIds=r.uniq(n)}else t[e.get("name")]={subjectIds:[e.get("id").toString()],libraryIds:e.get("libraryIds").map((function(e){return e.toString()}))}})),r.keys(t).sort().map((function(e){return{name:e,value:e,subjectIds:t[e].subjectIds,libraryIds:t[e].libraryIds}}))},setFilters:function(e,t){r.keys(t).forEach((function(n){var r=t[n];if(r){var o=e.findWhere({type:n});o&&(n===u.g.Libraries&&P.setLibraryFilter(r,o),n===u.g.Subjects&&P.setSubjectFilter(r,o),n===u.g.ReleaseDate&&P.setReleaseDateFilter(r,o))}})),e.each((function(e){e.get("selectAllWhenNoneSelected")&&(r.contains(r.keys(t),e.get("type"))||c.qr.selectAllOptions(e))}))},setLibraryFilter:function(e,t){e.split(",").forEach((function(e){var n=e.split("-")[1];if(n){var r=t.options.findWhere({id:+n});r&&r.set("active",!0)}}))},setSubjectFilter:function(e,t){if(-1!==e.indexOf("-")){var n=e.split("-")[1].split(","),o=t.options.find((function(e){return!!r.intersection(e.get("subjectIds"),n).length}));if(o)o.set("active",!0);else{var i=e.split("-")[0];t.options.add({name:i,value:i,subjectIds:n,active:!0})}}},setReleaseDateFilter:function(e,t){c.qr.clearOptions(t);var n=t.options.findWhere({queryString:e});if(n)n.set("active",!0);else{var r=t.options.findWhere({isDefault:!0});r&&r.set("active")}},getSelectedSubjects:function(e){return e.findWhere({type:u.g.Subjects}).options.where({active:!0})},groupVideosByReleaseMonth:function(e){var t=[],n=e.groupBy((function(e){return o(e.get("dateReleased")).format("YYYY-MM")}));return r.each(n,(function(e,n){t.push(new l.z({id:n,videos:e,groupTitle:o(n).format("MMMM YYYY")}))})),new m(r.sortBy(t,"id").reverse())},getFirstDayInMonthNumMonthsAgo:function(e){return o().startOf("month").subtract(e,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo:function(e){return o().endOf("month").subtract(e,"month").format("YYYY-MM-DD")},getSelectedReleaseDate:function(e){return e.findWhere({type:u.g.ReleaseDate}).options.findWhere({active:!0})},getRouteQueryParams:function(e){var t=P.RouteQueryParamGenerators,n={};return e.each((function(e){var o={};r.isFunction(t[e.get("type")])&&(o=t[e.get("type")](e)),n=r.extend(n,o)})),n},RouteQueryParamGenerators:(v={},w(v,u.g.Libraries,(function(e){var t=e.options.where({active:!0});return t.length&&t.length!==e.options.length?w({},u.g.Libraries,t.map((function(e){return"library-".concat(e.id)})).join(",")):{}})),w(v,u.g.Subjects,(function(e){var t=e.options.where({active:!0}),n=e.options.length>1&&e.options.length===t.length;return!t.length||n?{}:w({},u.g.Subjects,t.map((function(e){return"".concat(e.get("name"),"-").concat(e.get("subjectIds").join(","))})).join(","))})),w(v,u.g.ReleaseDate,(function(e){var t=e.options.findWhere({active:!0});if(!t)return{};var n=t.get("queryString");return n?w({},u.g.ReleaseDate,n):{}})),v)},E="contentUpdates.utils",k={AwaitingReview:function(){return g.T.getPhrase(E,"awaitingReview")},PastReleases:function(){return g.T.getPhrase(E,"pastReleases")}},_={AwaitingReview:".awaiting-review-applink",PastReleases:".past-releases-applink"},R=[{name:k.AwaitingReview,link:{selector:_.AwaitingReview,appLink:{application:i.OV.CONTENT_UPDATES,action:i.eX.ContentUpdates.AWAITING_REVIEW}}},{name:k.PastReleases,link:{selector:_.PastReleases,appLink:{application:i.OV.CONTENT_UPDATES,action:i.eX.ContentUpdates.PAST_RELEASES}}}],j=[{id:u.u.ThisMonth,value:u.u.ThisMonth,from:P.getFirstDayInMonthNumMonthsAgo(0),to:o().format("YYYY-MM-DD"),name:function(){return g.T.getPhrase(E,"thisMonth")},queryString:u.u.ThisMonth},{id:u.u.LastMonth,value:u.u.LastMonth,from:P.getFirstDayInMonthNumMonthsAgo(1),to:P.getLastDayInMonthNumMonthsAgo(1),name:function(){return g.T.getPhrase(E,"lastMonth")},queryString:u.u.LastMonth},{id:u.u.Last3Months,value:u.u.Last3Months,from:P.getFirstDayInMonthNumMonthsAgo(2),to:o().format("YYYY-MM-DD"),queryString:u.u.Last3Months,name:function(){return g.T.getPhrase(E,"last3Months")}},{id:u.u.Last6Months,value:u.u.Last6Months,from:P.getFirstDayInMonthNumMonthsAgo(5),to:o().format("YYYY-MM-DD"),queryString:u.u.Last6Months,name:function(){return g.T.getPhrase(E,"last6Months")}}],T=r.last(j),A=n(75459),L={groupVideosByHostedLibrary:function(e){return L.groupVideosByLibrary(e,A.r.HostedLibrary,!0)},groupVideosByLibrary:function(e,t,n){if(!e||!e.length)return new m;var o=[],i=e.groupBy((function(e){var r=e.libraries.findWhere({type:t});return r||n&&(r=e.libraries.first())?r.get("name"):"Unknown Library"}));return r.each(i,(function(e,t){o.push(new l.z({id:t,videos:e,groupTitle:t}))})),new m(r.sortBy(o,"id"))}}},85709:function(){},40622:function(e,t,n){"use strict";n.d(t,{CheckboxTypes:function(){return i},EditVideoBackButtonActionsBlacklist:function(){return s},EditVideoBackButtonKey:function(){return c},LibraryEditorActions:function(){return o},MetadataType:function(){return r},MetadataTypes:function(){return a}});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=(n(85709),{VIDEO_LIST:"video:list"});!function(e){e.VideoTitle="Video title",e.Description="Description",e.Rating="Rating",e.SeriesTitle="Series title",e.Season="Season number",e.EpisodeNumber="Episode number",e.BroadcastDate="Broadcast date",e.Channel="Channel",e.ProductionYear="Production year",e.Distributors="Distributors",e.ProductionCompanies="Production companies",e.Directors="Directors",e.Producers="Producers",e.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="edit:video:back:button",u=n(88181),s=[u.eX.LibraryEditor.EDIT_VIDEO,u.eX.LibraryEditor.EDIT_VIDEO_CHAPTERS,u.eX.LibraryEditor.EDIT_VIDEO_RESOURCES]},26457:function(e,t,n){"use strict";var r,o,i,a;n.d(t,{Um:function(){return r},Dm:function(){return o},zM:function(){return i},x_:function(){return a}}),function(e){e[e.SingleFile=1]="SingleFile",e[e.HasChapters=2]="HasChapters",e[e.Concatenating=3]="Concatenating",e[e.ConcatenationFailed=4]="ConcatenationFailed",e[e.New=5]="New",e[e.MediaNotFound=6]="MediaNotFound"}(r||(r={})),function(e){e[e.Link=1]="Link",e[e.Edit=2]="Edit",e[e.Disabled=3]="Disabled",e[e.Filter=4]="Filter"}(o||(o={})),function(e){e[e.Flex=1]="Flex",e[e.Vertical=2]="Vertical"}(i||(i={})),function(e){e[e.Folder=0]="Folder",e[e.Series=1]="Series"}(a||(a={}))},53854:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(88070),o=n(57857);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(f,e);var t,n,r,i,l=(r=f,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(r);if(i){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),l.call(this,"User does not have access to this video")}return t=f,(n=[{key:"name",get:function(){return"ForbiddenVideoError"}},{key:"heading",get:function(){return o.T.getPhrase("libraryEditor.errors.forbiddenVideo","info")}}])&&a(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(r.H)},56906:function(e,t,n){"use strict";n.d(t,{Xz:function(){return f},al:function(){return k},QH:function(){return m},Zv:function(){return x},gO:function(){return U},aV:function(){return M.a},ZE:function(){return W},YP:function(){return ce},d7:function(){return de},PQ:function(){return Oe},Ag:function(){return J},l1:function(){return ee.l}});var r=n(85835),o=n(57857);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l="libraryEditor.errors.folderEmpty",f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(p,e);var t,n,r,i,f=(r=p,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(r);if(i){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=f.call(this,"Folder is empty")).action=e,t}return t=p,(n=[{key:"name",get:function(){return"FolderEmptyError"}},{key:"dialogOptions",get:function(){return{title:o.T.getPhrase(l,"folderNoVideosTitle"),text:o.T.getPhrase(l,"folderNoVideosBody",{action:this.action}),buttons:[{text:o.T.getPhrase(l,"close"),className:"btn btn-link",close:!0}]}}}])&&a(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.S);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var v="libraryEditor.errors.folderNotEmpty",m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(r);if(i){var n=b(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,"Folder is not empty")}return t=c,(n=[{key:"name",get:function(){return"FolderNotEmptyError"}},{key:"dialogOptions",get:function(){return{title:o.T.getPhrase(v,"title"),text:o.T.getPhrase(v,"instructions"),buttons:[{text:o.T.getPhrase(v,"close"),className:"btn btn-link",close:!0}]}}}])&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(r.S),g=n(88181);function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}function C(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}var E="libraryEditor.errors.folderMaxDepth",k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=P(r);if(i){var n=P(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return C(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,"Subfolder cannot be added")}return t=c,(n=[{key:"name",get:function(){return"FolderMaxDepthError"}},{key:"dialogOptions",get:function(){return{title:o.T.getPhrase(E,"title"),text:o.T.getPhrase(E,"instructions",{maxDepth:g.pA.MAX_FOLDER_DEPTH}),buttons:[{text:o.T.getPhrase(E,"close"),className:"btn btn-link",close:!0}]}}}])&&O(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(r.S),_=n(88070);function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}function A(e,t){if(t&&("object"===R(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},L(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=L(r);if(i){var n=L(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return A(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,"Folder not found")}return t=c,(n=[{key:"name",get:function(){return"FolderNotFoundError"}},{key:"heading",get:function(){return o.T.getPhrase("libraryEditor.errors.folderNotFound","info")}}])&&j(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(_.H);function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},D(e,t)}function B(e,t){if(t&&("object"===V(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}var U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&D(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=I(r);if(i){var n=I(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return B(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,"User does not have access to this folder")}return t=c,(n=[{key:"name",get:function(){return"ForbiddenFolderError"}},{key:"heading",get:function(){return o.T.getPhrase("libraryEditor.errors.forbiddenFolder","info")}}])&&N(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(_.H),M=n(53854);function F(e){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F(e)}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z(e,t){return z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},z(e,t)}function G(e,t){if(t&&("object"===F(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function q(e){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},q(e)}var Q="libraryEditor.errors.imageDimensionsTooSmall",W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=q(r);if(i){var n=q(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return G(this,e)});function c(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(n=a.call(this,"Image too small")).minWidth=e,n.minHeight=t,n}return t=c,(n=[{key:"name",get:function(){return"ImageDimensionsTooSmallError"}},{key:"dialogOptions",get:function(){return{title:o.T.getPhrase(Q,"title"),text:o.T.getPhrase(Q,"body",{minWidth:this.minWidth,minHeight:this.minHeight}),buttons:[{text:o.T.getPhrase(Q,"close"),className:"btn btn-link",close:!0}]}}}])&&H(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(r.S);function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function K(e,t){return K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},K(e,t)}function $(e,t){if(t&&("object"===Y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function X(e){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},X(e)}var J=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&K(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=X(r);if(i){var n=X(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return $(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,"Series not found")}return t=c,(n=[{key:"name",get:function(){return"SeriesNotFound"}},{key:"heading",get:function(){return o.T.getPhrase("libraryEditor.errors.seriesNotFound","title")}}])&&Z(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(_.H),ee=n(75535);function te(e){return te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(e)}function ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function re(e,t){return re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},re(e,t)}function oe(e,t){if(t&&("object"===te(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ie(e)}var ae="libraryEditor.errors.libraryHasSubscribers",ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&re(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ie(r);if(i){var n=ie(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return oe(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,"Library has subscribers so it cannot be deleted")}return t=c,(n=[{key:"name",get:function(){return"LibraryHasSubscribersError"}},{key:"dialogOptions",get:function(){return{title:o.T.getPhrase(ae,"title"),text:o.T.getPhrase(ae,"body"),buttons:[{text:o.T.getPhrase(ae,"close"),className:"btn btn-link",close:!0}]}}}])&&ne(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(r.S);function ue(e){return ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ue(e)}function se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function le(e,t){return le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},le(e,t)}function fe(e,t){if(t&&("object"===ue(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function pe(e){return pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pe(e)}var ye="libraryEditor.errors.libraryNotEmpty",de=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&le(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=pe(r);if(i){var n=pe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return fe(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,"Library is not empty")}return t=c,(n=[{key:"name",get:function(){return"LibraryNotEmptyError"}},{key:"dialogOptions",get:function(){return{title:o.T.getPhrase(ye,"title"),text:o.T.getPhrase(ye,"body"),buttons:[{text:o.T.getPhrase(ye,"close"),className:"btn btn-link",close:!0}]}}}])&&se(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(r.S);function he(e){return he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},he(e)}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ve(e,t){return ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ve(e,t)}function me(e,t){if(t&&("object"===he(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ge(e)}var we="libraryEditor.errors.maxCustomLibraries",Oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ve(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ge(r);if(i){var n=ge(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return me(this,e)});function c(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(n=a.call(this,"Cannot create any more custom libraries.")).libraryCount=e,n.maxCustomLibraries=t,n}return t=c,(n=[{key:"heading",get:function(){return o.T.getPhrase(we,"title")}},{key:"description",get:function(){return o.T.getPhrase(we,"info",{libraryCount:this.pluralise(this.libraryCount),maxCustomLibraries:this.pluralise(this.maxCustomLibraries)})}},{key:"pluralise",value:function(e){return o.T.getPhrase(we,"library",{smartCount:e})}}])&&be(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(_.H)},75535:function(e,t,n){"use strict";n.d(t,{l:function(){return l}});var r=n(88070),o=n(57857);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(f,e);var t,n,r,i,l=(r=f,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(r);if(i){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),l.call(this,"Video not found")}return t=f,(n=[{key:"name",get:function(){return"VideoNotFoundError"}},{key:"heading",get:function(){return o.T.getPhrase("libraryEditor.errors.videoNotFound","heading")}}])&&a(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(r.H)},95061:function(e,t,n){"use strict";n.d(t,{T:function(){return G},x:function(){return z}});var r=n(39479),o=n(48088),i=n(21679),a=n(12053),c=n(95819),u=n(50028),s=n(88181),l=n(60602),f=n(24539),p=n(58880),y=n(39919),d=n(60103),h=n(90680),b=n(22557),v=n(33800),m=n(64234),g=n(14177),w=n(61843),O=n(57857);function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function k(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var R=function(e){return"/api/domain/v2/me/libraries?type=exchange&maxCategoryDepth=".concat(e)},j=function(e){return"/api/domain/v2/objects/".concat(e,"?query=").concat(s.HZ.FOLDER)},T=function(e,t){return"/api/domain/v2/collections/".concat(e,"/categories").concat(t?"?parentCategoryId=".concat(t):"")},A=function(e){return"/api/domain/v2/objects/".concat(e)},L=function(e){return"/api/domain/v2/objects/".concat(e,"/customlibraries")},x=function(e){return"/api/domain/v2/objects/".concat(e)},V=function(e){return"/api/domain/v2/objects/".concat(e,"/banner")},N=function(e,t){return"/api/domain/v2/objects/".concat(e,"/banner/").concat(t)},D=function(e){return"/api/domain/v2/objects/".concat(e,"/thumbnail")},B=function(e,t){return"/api/domain/v2/objects/".concat(e,"/thumbnail/").concat(t)},I=function(e){return"exchange:".concat(e)},U=function(e){return"".concat(s.M_.FOLDER,":").concat(e)},M=function(e){return"library:".concat(e)},F=function(e){return"library:status:".concat(e)},H={libraries:function(e){return new h.q(e,{parse:!0})},folders:function(e){return new d.I(e.data)},folder:function(e){return new l.g(e)},library:function(e){return new f.Z(e)}},z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}(l,e);var t,n,i,a,c=(i=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=_(i);if(a){var n=_(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return k(this,e)});function l(){return C(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"name",get:function(){return v.O.Library}},{key:"channelName",get:function(){return s.Vk.LIBRARY}},{key:"lang",get:function(){return"libraryEditor.services"}},{key:"clearLibrariesCache",value:function(){this.invalidateCache(["libraries"])}},{key:"getLibraries",value:function(e){return this.get({expiryTime:m.f.STANDARD,callback:e,resource:"/api/domain/v2/me/libraries?type=customlibrary&type=unpublishedcustomlibrary",formatData:H.libraries,eventPrefix:"libraries"})}},{key:"getHostedLibraries",value:function(e){return this.get({expiryTime:m.f.STANDARD,callback:e,resource:"/api/domain/v2/me/libraries?type=2",formatData:H.libraries,eventPrefix:"hosted:libraries"})}},{key:"getExchange",value:function(e,t){return this.get({expiryTime:m.f.STANDARD,callback:t,resource:R(e),formatData:H.libraries,eventPrefix:I(e)})}},{key:"getFolder",value:function(e,t){return this.get({callback:t,expiryTime:m.f.STANDARD,resource:j(e),formatData:H.folder,eventPrefix:U(e)})}},{key:"getFolderFromLibraries",value:function(e,t){this.getLibraries((function(n){t(b.P.getModelFromCollection(e,n))}))}},{key:"addFolder",value:function(e,t,n,r){var i,a=this,c=e.pick("name");this.chain().create({expiryTime:m.f.STANDARD,data:c,resource:T(t,n),formatData:H.folder,eventPrefix:U(),callback:function(e){return i=e}}).func((function(){a.invalidateCache([s.M_.FOLDERS]),a.getLibraries((function(e){n?b.P.addFolder(i,n,e):b.P.addFolderToLibrary(i,t,e),o.Radio.channel(a.channelName).trigger("folder:created",i),r(i)}))})).run()}},{key:"updateFolder",value:function(e,t){var n=this,o=e.get("id"),i=e.pick(["id","name"]);this.getFolder(o,(function(a){var c,u,s=a.banner;n.chain().update({resource:(u=o,"/api/domain/v2/objects/".concat(u)),data:i,callback:function(e){(c=e).banner=s},formatData:H.folder,expiryTime:m.f.STANDARD,eventPrefix:U(o)}).func((function(){n.clearLibraryFoldersCache(),n.getLibraries((function(n){b.P.getModelFromCollection(e.get("id"),n).set(i),r.isFunction(t)&&t(c)}))})).run()}))}},{key:"moveFolder",value:function(e,t,n,o){var i,a=this,c="folder:delete:".concat(e);this.chain().create({resource:"/api/domain/v2/objects/move",eventPrefix:c,formatData:H.folder,data:{oldCollectionId:n,newCollectionId:t,assocType:"has",objectIds:[e]},callback:function(e){return i=e},invalidationKeys:[s.M_.FOLDERS],successHandler:this.alertService.success(O.T.getPhrase(this.lang,"folderMoveSuccess"))}).func((function(){a.clearLibraryFoldersCache(),a.getLibraries((function(a){var c=b.P.getModelFromCollection(n,a),u=b.P.getModelFromCollection(t,a),s=b.P.getModelFromCollection(e,a);c&&c.children.remove(s),u?u.children.add(s):a.add(s),r.isFunction(o)&&o(i)}))})).run()}},{key:"deleteFolder",value:function(e,t){var n=this;this.chain().delete({resource:A(e),eventPrefix:"".concat(U(e),":delete")}).func((function(){n.clearLibraryFoldersCache(),n.getLibraries((function(r){var i=b.P.getModelFromCollection(e,r);i&&i.collection&&i.collection.remove(i),o.Radio.channel(n.channelName).trigger("library:deleted"),t()}))})).run()}},{key:"getFolders",value:function(e,t){var n=w.x$.GetFilterFromSort(e.sort),r=function(e,t,n){var r=["query={".concat(t,",limit:100}").concat(s.HZ.FOLDERS)];return n&&r.push("cursor=".concat(n)),"/api/domain/v2/objects/".concat(e,"/categories?").concat(r.join("&"))}(e.id,n,e.cursor);return this.get({resource:r,formatData:H.folders,expiryTime:m.f.STANDARD,eventPrefix:e.toString(),callback:t})}},{key:"clearLibraryFoldersCache",value:function(){this.invalidateCache([s.M_.FOLDERS]),o.Radio.channel(s.Vk.LIBRARY).trigger("clear:library:folder:cache")}},{key:"getFoldersCursors",value:function(e){return this.getCursors(e.toString())}},{key:"createLibrary",value:function(e,t,n){var i=this,a=t.pick(["name"]);a.status=u.X.Draft,this.create({resource:L(e),eventPrefix:M(),formatData:H.library,data:a,callback:function(e){i.getLibraries((function(t){t.add(e),o.Radio.channel(i.channelName).trigger("library:created"),r.isFunction(n)&&n(e)}))},successHandler:this.alertService.success(O.T.getPhrase(this.lang,"libraryCreateSuccess")),errorHandler:this.alertService.error(O.T.getPhrase(this.lang,"libraryCreateError"))})}},{key:"updateLibrary",value:function(e,t){var n=this,o=e.pick(["id","name"]),i=e.get("id");this.update({resource:x(i),eventPrefix:M(i),formatData:H.library,data:o,successHandler:this.alertService.success(O.T.getPhrase(this.lang,"libraryUpdateSuccess")),errorHandler:this.alertService.error(O.T.getPhrase(this.lang,"libraryUpdateError")),callback:function(i){n.getLibraries((function(n){b.P.getModelFromCollection(e.get("id"),n).set(o),r.isFunction(t)&&t(i)}))}})}},{key:"deleteLibrary",value:function(e,t){var n=this;this.chain().delete({resource:A(e),eventPrefix:"".concat(M(e),":delete")}).func((function(){n.getLibraries((function(r){var i=b.P.getModelFromCollection(e,r);i&&i.collection&&i.collection.remove(i),o.Radio.channel(n.channelName).trigger("library:deleted"),t()}))})).run()}},{key:"publishLibrary",value:function(e,t){var n=this,o={status:1};this.update({resource:x(e),eventPrefix:F(e),data:o,successHandler:this.alertService.success(O.T.getPhrase(this.lang,"libraryAvailableSuccess")),errorHandler:this.alertService.error(O.T.getPhrase(this.lang,"libraryAvailableError")),callback:function(){n.getLibraries((function(n){var i=n.get(e);i&&i.set(o),r.isFunction(t)&&t()}))}})}},{key:"addOrUpdateBanner",value:function(e,t){var n=e.folderId,r=e.imageModel,o=e.currentImageId,i={fileId:r.id.toString(),fileIdType:r.get("fileIdType")},a=this.chain();o&&a.delete({resource:N(n,o),eventPrefix:s.M_.DELETE_FOLDER_BANNER}),a.create({resource:V(n),eventPrefix:"".concat(s.M_.UPDATE_FOLDER_BANNER,":").concat(n),data:i,formatData:function(e){return new p.j(e)},invalidationKeys:[U(n)],successHandler:this.alertService.success(O.T.getPhrase(this.lang,"bannerUpdateSuccess")),callback:t}),a.run()}},{key:"deleteBanner",value:function(e,t){this.delete({resource:N(e.folderId,e.imageId),eventPrefix:s.M_.DELETE_FOLDER_BANNER,successHandler:this.alertService.success(O.T.getPhrase(this.lang,"bannerRemoveSuccess")),invalidationKeys:[U(e.folderId)],callback:t})}},{key:"addOrUpdateThumbnail",value:function(e,t){var n=this,r=e.folderId,o=e.imageModel,i=e.currentImageId,a={fileId:o.id.toString(),fileIdType:o.get("fileIdType")},c=this.chain();i&&c.delete({resource:B(r,i),eventPrefix:s.M_.DELETE_FOLDER_THUMBNAIL}),c.create({resource:D(r),eventPrefix:"".concat(s.M_.UPDATE_FOLDER_THUMBNAIL,":").concat(r),data:a,formatData:function(e){return new y.p(e)},invalidationKeys:[U(r)],successHandler:this.alertService.success(O.T.getPhrase(this.lang,"thumbnailUpdateSuccess")),callback:t}),c.func((function(){n.clearLibraryFoldersCache()})),c.run()}},{key:"deleteThumbnail",value:function(e,t){var n=this;this.delete({resource:B(e.folderId,e.imageId),eventPrefix:s.M_.DELETE_FOLDER_THUMBNAIL,successHandler:this.alertService.success(O.T.getPhrase(this.lang,"thumbnailRemoveSuccess")),invalidationKeys:[U(e.folderId)],callback:function(e){n.clearLibraryFoldersCache(),r.isFunction(t)&&t(e)}})}},{key:"deselectAll",value:function(){this.getLibraries((function(e){b.P.deselectAll(g.J.LIBRARY_EDITOR,e)}))}},{key:"setSelected",value:function(e){this.getLibraries((function(t){b.P.setSelected(g.J.LIBRARY_EDITOR,e,t)}))}},{key:"getSelected",value:function(e,t){this.getLibraries((function(e){var n=b.P.getSelected(g.J.LIBRARY_EDITOR,e);t(n)}))}}])&&P(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(a.B),G=Object.assign(Object.assign({},c._),{exchanges:{dataServiceName:v.O.Library,eventName:"".concat(I(0),":sync"),getData:function(e){return e.getExchange(0)},getInstance:function(e){return i.u.getInstance(v.O.Library,e)},beforeOnBeforeRender:!0},getLibrariesFetchOptions:function(e){return{dataServiceName:v.O.Library,dataChannelName:s.Vk.LIBRARY,eventPrefix:"libraries",fetchData:function(e){return e.getLibraries()},setData:e}}})},25796:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var r=n(68003),o=n(2248),i={libraryRequests:function(e,t,n){var o={},i="libraryrequests:pending";return e&&(o.order=e,i+=":".concat(e)),t&&(Array.isArray(t)||(t=[t]),o.status=t,i+=":".concat(t.join(","))),n&&(o.cursor=n,i+=":".concat(n)),{url:r._.urlBuilder("{gateway}/v1/library-requests/received",o),key:i,normalizeOptions:{namespace:"libraryrequests"}}},libraryRequest:function(e){return{url:"{gateway}/v1/library-requests/".concat(e),key:"libraryrequests:".concat(e),normalizeOptions:{namespace:"libraryrequests"}}},comments:function(e,t){var n={};return t&&(n.cursor=t),{url:r._.urlBuilder("{gateway}/v1/library-requests/".concat(e,"/comments"),n),key:"libraryrequests:comments:".concat(e,":").concat(t),normalizeOptions:{namespace:"libraryrequests"}}},pendingRequestsCount:function(){return{url:"{gateway}/v1/library-requests/received/count",key:"libraryrequests:pending:count",normalize:!1}},fulfilRequest:function(e,t,n,r,i){return{url:"{gateway}/v1/library-requests/".concat(e,"/fulfil"),key:"libraryrequests:fulfil",type:o.k.POST,data:t,invalidationKeys:["libraryrequests"],success:n,error:r,always:i}},library:function(e){return{url:"{gateway}/v1/objects/".concat(e),key:"library:".concat(e)}},folder:function(e){return{url:"{gateway}/v1/objects/".concat(e),key:"folder:".concat(e)}},categoryPath:function(e,t){return{url:r._.urlBuilder("{gateway}/v1/libraries/".concat(e,"/category-path"),{categoryId:t}),key:"librarypath:".concat(e,":").concat(t)}},createViewKey:function(e,t,n){return{url:"{gateway}/v1/library-requests/".concat(e,"/create-view-key"),key:"library:request:view:key:".concat(e),type:o.k.POST,expiryTime:28800,success:t,error:n}}}},7170:function(e,t,n){"use strict";n.d(t,{y:function(){return y},q:function(){return w}});var r=n(39479),o=n(31647),i=n(30644),a=n(44937);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function f(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(d,e);var t,n,o,c,y=(o=d,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=p(o);if(c){var n=p(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function d(){return u(this,d),y.apply(this,arguments)}return t=d,(n=[{key:"modelId",value:function(e){return e.type}},{key:"model",get:function(){return a.wn}},{key:"parse",value:function(e){var t=this;return r.map(r.keys(e),(function(n){var o=e[n],i=t.getType(n);return{id:i,type:i,options:r.map(o,(function(e){return{id:e,name:e,value:e}}))}}))}},{key:"getType",value:function(e){return"categories"===e?i.K.Folder:"tags"===e?i.K.Tags:e}}])&&s(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),d}(o.Q.Collection);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(c,e);var t,n,r,o,i=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(r);if(o){var n=g(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return m(this,e)});function c(){return h(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"model",get:function(){return a.Wx}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Q.Collection)},44937:function(e,t,n){"use strict";n.d(t,{wn:function(){return v},Wx:function(){return P},AE:function(){return s}});var r=n(31647);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(s,e);var t,n,r,o=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(n);if(r){var o=u(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return c(this,e)});function s(){return i(this,s),o.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.Q.Model),l=n(7170);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(r);if(o){var n=b(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h(this,e)});function a(){return p(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"idAttribute",get:function(){return"type"}},{key:"associations",get:function(){return{options:l.q}}}])&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.NestedModel);function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},O(e,t)}function S(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&O(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=C(r);if(o){var n=C(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return S(this,e)});function a(){return g(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"idAttribute",get:function(){return"value"}}])&&w(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Model)},5344:function(e,t,n){"use strict";n.d(t,{xF:function(){return i},qr:function(){return j},yf:function(){return T}});var r,o,i,a=n(57857),c="search.utils",u=(new Date).getFullYear(),s={DURATION:[{id:"0",value:"0",start:0,end:599999,name:function(){return a.T.getPhrase(c,"short")},description:function(){return a.T.getPhrase(c,"lessThan10Min")}},{id:"600000",value:"600000",start:6e5,end:2399999,name:function(){return a.T.getPhrase(c,"medium")},description:function(){return a.T.getPhrase(c,"11To40Min")}},{id:"2400000",value:"2400000",start:24e5,end:Number.MAX_VALUE,name:function(){return a.T.getPhrase(c,"long")},description:function(){return a.T.getPhrase(c,"greaterThan40Min")}}],PRODUCTION_YEAR:[{id:"...",from:0,to:0,value:"...",name:function(){return a.T.getPhrase(c,"anyYear")},active:!0,isDefault:!0},{id:"".concat(u,"..."),from:u,to:0,value:"".concat(u,"..."),name:function(){return a.T.getPhrase(c,"thisYear")}},{id:"".concat(u-3,"..."),from:u-3,to:0,value:"".concat(u-3,"..."),name:function(){return a.T.getPhrase(c,"last3Years")}},{id:"".concat(u-10,"..."),from:u-10,to:0,value:"".concat(u-10,"..."),name:function(){return a.T.getPhrase(c,"last10Years")}}]};!function(e){e.Video="video",e.Folder="folder",e.Series="series",e.HostedLibrary="hosted_library",e.CustomLibrary="custom_library"}(r||(r={})),function(e){e.Since="since-",e.Before="before-",e.LongerThan="longer-than-",e.ShorterThan="shorter-than-",e.To="-to-",e.Libraries="libraries",e.Ratings="ratings"}(o||(o={})),function(e){e.Inclusive="inclusive",e.Exclusive="exclusive",e.Boolean="boolean",e.Range="range",e.Tag="tag"}(i||(i={}));var l,f=n(39479),p=n(33192),y=n(30644),d=n(7170),h=n(88181);function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v,m=(b(l={},y.K.Ratings,(function(e){var t=e.options.filter((function(e){return e.get("active")})),n=f.map(t,(function(e){return e.get("value")}));if(!n.length)return null;var r=f.min(n);r===e.options.first().get("value")&&(r=0);var o=f.max(n),i="".concat(r,"...").concat(o);return"rating:".concat(i)})),b(l,y.K.ProductionYear,(function(e){var t=e.options.find((function(e){return e.get("active")}));if(!t)return null;var n=t.get("from")||"",r=t.get("to")||"";if(!n&&!r)return null;var o="".concat(n,"...").concat(r);return"productionYear:".concat(o)})),b(l,y.K.Duration,(function(e){var t=e.options.filter((function(e){return e.get("active")}));if(!t.length)return null;var n=t.map((function(e){return e.get("start")})),r=t.map((function(e){return e.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(e){return e.get("active")?"".concat(e.get("type"),":true"):""})),l);function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w,O=(g(v={},y.K.Sources,(function(e,t){if(e.options.any((function(e){return e.get("dry")}))){var n=[];return e.options.each((function(e){return n.push(e.get("id"))})),{sources:"".concat(n.join(","))}}var r=f.map(e.options.filter((function(e){return e.get("active")})),(function(e){return e.get("id")}));if(r.length||(r=e.options.models),r.length===t.length)return{};var i=[];f.every(j.getLibraries(t),(function(e){return f.contains(r,e.id)}))?i.push(o.Libraries):f.each(j.getLibraries(t),(function(e){f.contains(r,e.id)&&i.push("library-".concat(e.id))}));var a=j.getExchange(t),c=j.getWorkspace(t);return a&&f.contains(r,a.id)&&i.push("exchange"),c&&f.contains(r,c.id)&&i.push("workspace"),{libraries:"".concat(i.join(","))}})),g(v,y.K.Ratings,(function(e){var t=e.options.filter((function(e){return e.get("active")}));if(!f.map(t,(function(e){return e.get("value")})).length)return{};var n=f.min(t,(function(e){return e.get("value")})),r=f.max(t,(function(e){return e.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}})),g(v,y.K.ProductionYear,(function(e){var t=e.options.find((function(e){return e.get("active")}));if(!t)return{};var n=t.get("from"),r=t.get("to");return n||r?{productionYear:n&&!r?"".concat(o.Since).concat(n):r&&!n?"".concat(o.Before).concat(r):"".concat(n).concat(o.To).concat(r)}:{}})),g(v,y.K.Duration,(function(e){var t=e.options.filter((function(e){return e.get("active")}));if(!t.length||t.length===e.options.length)return{};var n=f.min(t,(function(e){return e.get("start")})),r=f.max(t,(function(e){return e.get("end")})),i=j.toISOString(n.get("start")),a=j.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())}})),g(v,y.K.Tags,(function(e){var t=f.map(e.options.filter((function(e){return e.get("active")})),(function(e){return e.get("name")}));if(t.length)return{tag:f.map(t,(function(e){return e}))}})),g(v,"boolean",(function(e){return e.get("active")?g({},e.get("type"),!0):{}})),g(v,"default",(function(e){var t=e.options.find((function(e){return e.get("active")}));return t?g({},e.get("type"),t.get("value")):{}})),v),S=n(73616);function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P="search.utils",E=(C(w={},y.K.Sources,(function(e){var t=f.map(e.options.filter((function(e){return e.get("active")})),(function(e){return e.get("name")}));return 1===t.length?t[0]:a.T.getPhrase(P,"librariesLabel",{count:t.length})})),C(w,y.K.Ratings,(function(e){var t=e.options.filter((function(e){return e.get("active")}));if(!f.map(t,(function(e){return e.get("value")})).length)return"";var n=f.min(t,(function(e){return e.get("value")})),r=f.max(t,(function(e){return e.get("value")})),o="".concat(n.get("name")," to ").concat(r.get("name"));return n.get("name")===r.get("name")&&(o=n.get("name")),a.T.getPhrase(P,"ratingLabel",{ratings:o})})),C(w,y.K.ProductionYear,(function(e){var t=e.options.find((function(e){return e.get("active")}));if(!t)return"";var n=t.get("from"),r=t.get("to");return n||r?n&&!r?a.T.getPhrase(P,"productionYearLabelFrom",{from:n}):r&&!n?a.T.getPhrase(P,"productionYearLabelTo",{to:r}):a.T.getPhrase(P,"productionYearLabelFromTo",{from:n,to:r}):""})),C(w,y.K.Duration,(function(e){var t=e.options.filter((function(e){return e.get("active")}));if(!t.length)return"";var n=f.min(t,(function(e){return e.get("start")})),r=f.max(t,(function(e){return e.get("end")})),o=j.toISOString(n.get("start")),i=j.toISOString(r.get("end"));return o&&!i?a.T.getPhrase(P,"durationLabelLonger",{start:o.toLowerCase()}):i&&!o?a.T.getPhrase(P,"durationLabelShorter",{end:i.toLowerCase()}):a.T.getPhrase(P,"durationLabelFromTo",{start:o.toLowerCase(),end:i.toLowerCase()})})),C(w,y.K.Tags,(function(e){var t=f.map(e.options.filter((function(e){return e.get("active")})),(function(e){return e.get("name")}));return 1===t.length?t[0]:a.T.getPhrase(P,"tagLabel",{count:t.length})})),C(w,S.g.ReleaseDate,(function(e){var t=e.options.find((function(e){return e.get("active")}));return t?t.get("name"):e.get("title")})),w);function k(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var R="search.utils",j={getFilterCollection:function(e,t){return new d.y([{title:a.T.getPhrase(R,"library"),type:y.K.Sources,behavior:i.Inclusive,isDynamic:!1,showInMoreFilters:!1,selectAllWhenNoneSelected:!0,minNumOptions:2,prefixWhenActive:!1,options:j.getSourceOptions(e)},{title:a.T.getPhrase(R,"folder"),type:y.K.Folder,behavior:i.Exclusive,isDynamic:!0,showInMoreFilters:!1,defaultOptionLabel:"All Folders",showWhenOnlyOneOption:!1,minNumOptions:0,prefixWhenActive:!0,options:[]},{title:a.T.getPhrase(R,"series"),type:y.K.Series,behavior:i.Exclusive,isDynamic:!0,showInMoreFilters:!1,defaultOptionLabel:"All Series",showWhenOnlyOneOption:!1,minNumOptions:1,prefixWhenActive:!0,options:[]},{title:a.T.getPhrase(R,"tag"),type:y.K.Tags,behavior:i.Tag,isDynamic:!0,showInMoreFilters:!1,showWhenOnlyOneOption:!0,minNumOptions:0,prefixWhenActive:!0,options:[]},{title:a.T.getPhrase(R,"rating"),type:y.K.Ratings,behavior:i.Range,isDynamic:!1,showInMoreFilters:!1,showWhenOnlyOneOption:!0,minNumOptions:1,prefixWhenActive:!1,options:j.getRatings(t)},{title:a.T.getPhrase(R,"interactives"),description:"Only display videos with interactives",type:y.K.Interactives,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!1,active:!1,prefixWhenActive:!1},{title:a.T.getPhrase(R,"resources"),description:a.T.getPhrase(R,"resourcesDescription"),type:y.K.Resources,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!1,active:!1,prefixWhenActive:!1},{title:a.T.getPhrase(R,"subtitles"),description:a.T.getPhrase(R,"subtitlesDescription"),type:y.K.Subtitles,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!1,active:!1,prefixWhenActive:!1},{title:a.T.getPhrase(R,"productionYear"),type:y.K.ProductionYear,behavior:i.Exclusive,isDynamic:!1,showInMoreFilters:!0,minNumOptions:1,prefixWhenActive:!1,options:s.PRODUCTION_YEAR},{title:a.T.getPhrase(R,"clickViewContent"),description:a.T.getPhrase(R,"clickViewContentDescription"),type:y.K.ProducedByClickView,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!0,active:!1,prefixWhenActive:!1},{title:a.T.getPhrase(R,"hdVideo"),description:a.T.getPhrase(R,"hdVideoDescription"),type:y.K.HD,behavior:i.Boolean,isDynamic:!1,showInMoreFilters:!0,active:!1,prefixWhenActive:!1},{title:a.T.getPhrase(R,"duration"),type:y.K.Duration,behavior:i.Exclusive,showInMoreFilters:!0,minNumOptions:1,isDynamic:!1,prefixWhenActive:!1,options:s.DURATION}])},getSourceOptions:function(e){return e.map((function(e){return{id:e.get("id"),name:e.get("name"),type:e.get("type"),value:e.get("id")}}))},getRatings:function(e){return e.filter((function(e){return!!e.get("value")})).map((function(e){return{value:e.get("value"),name:e.get("code"),fullName:e.get("name")}}))},getDynamicFiltersQueryString:function(e){var t,n=[],r=e.where({isDynamic:!0});return r?(f.each(r,(function(e){(t=e.options.filter((function(e){return e.get("active")}))).length&&t.forEach((function(t){return n.push("".concat(e.get("type"),':"').concat(t.get("value"),'"'))}))})),n.join(" ")):""},getSourceFilterQueryString:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"libraryIds",n=e.get(y.K.Sources),r=n.options.filter((function(e){return e.get("active")}));return r.length||(r=n.options.models),"".concat(t,"=").concat(f.map(r,(function(e){return e.get("id")})).join(","))},getTagFilterQueryString:function(e){var t=e.get(y.K.Tags).options.filter((function(e){return e.get("active")}));return t.length?"".concat(f.map(t,(function(e){return'tags:"'.concat(e.get("name"),'"')})).join(" ")):""},getQueryString:function(e){return e.map((function(e){return j.getFilterQueryString(e)})).filter((function(e){return e})).join(",")},getFilterQueryString:function(e){return j.isBooleanType(e)?m.boolean(e):f.isFunction(m[e.get("type")])?m[e.get("type")](e):""},getRouteQueryParams:function(e,t){var n=O,r={};return e.each((function(e){var o;o=e.get("type")===y.K.Sources?n[y.K.Sources](e,t):f.isFunction(n[e.get("type")])?n[e.get("type")](e):j.isBooleanType(e)?n.boolean(e):n.default(e),r=f.extend(r,o)})),r},getFilterLabel:function(e){var t=j.createLabel(e);return t=j.truncateLabel(t),j.prefixLabel(t,e)},createLabel:function(e){if(e.get("behavior")===i.Boolean)return e.get("title");if(f.isFunction(E[e.get("type")]))return E[e.get("type")](e);var t=e.options.find((function(e){return e.get("active")}));return t?t.get("value"):""},prefixLabel:function(e,t){return t.get("prefixWhenActive")?j.getSelectedOptions(t.get("options")).length>1?e:"".concat(t.get("title"),": ").concat(e):e},truncateLabel:function(e){if(!e||e.length<20)return e;var t=e.slice(0,17);return"".concat(t,"...")},setFilters:function(e,t){f.each(f.keys(e),(function(n){var r=e[n],o=t.findWhere({type:n});o&&(j.isBooleanType(o)&&j.selectBoolean(n,r,t),n===y.K.Sources&&j.selectSources(r,t),n===y.K.Duration&&j.selectDurations(r,t),n===y.K.Folder&&j.selectFolder(r,t),n===y.K.ProductionYear&&j.selectProductionYear(r,t),n===y.K.Ratings&&j.selectRating(r,t),n===y.K.Series&&j.selectSeries(r,t),n===y.K.Tags&&j.selectTags(r,t))})),t.each((function(t){t.get("selectAllWhenNoneSelected")&&(f.contains(f.keys(e),t.get("type"))||j.selectAllOptions(t))}))},selectBoolean:function(e,t,n){n.get(e).set({active:t})},selectSources:function(e,t){var n=e.split(","),i=t.get(y.K.Sources);i.options.length?f.each(n,(function(e){var t=i.options.find((function(t){return t.get("type").toLowerCase()===e.toLowerCase()}));if(t)t.set("active",!0);else if(e!==o.Libraries){var n=e.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(e){return e.set("active",!0)}))}})):f.each(n,(function(e){i.options.add({id:e,name:e,dry:!0,active:!0,type:e})}))},selectDurations:function(e,t){var n,r,i,c=t.get(y.K.Duration),u=0;if(e.indexOf(o.LongerThan)>=0&&(n=e.replace(o.LongerThan,"")),e.indexOf(o.ShorterThan)>=0&&(r=e.replace(o.ShorterThan,"")),e.indexOf(o.To)>=0){var l=e.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(e){var t=e.get("start"),n=e.get("end"),r=1001;i<=t+r&&i>=t-r&&u>=n-r&&u<=n+r&&e.set("active",!0)})),c.options.any((function(e){return e.get("active")}))||c.options.add([{id:"custom",start:i,end:u,name:a.T.getPhrase(R,"custom"),description:"".concat(e.replace(/-/g," ")),active:!0}].concat(k(s.DURATION)))},selectFolder:function(e,t){var n=t.get(y.K.Folder),r=n.options.find((function(t){return t.get("id").toLowerCase()===e.toLowerCase()}));r?r.set("active",!0):n.options.add([].concat(k(n.options.toJSON()),[{id:e,value:e,name:e,active:!0}]))},selectProductionYear:function(e,t){var n,r,i=t.get(y.K.ProductionYear);if(j.clearOptions(i),e.indexOf(o.Since)>=0&&(n=+e.replace(o.Since,"")),e.indexOf(o.Before)>=0&&(r=+e.replace(o.Before,"")),e.indexOf(o.To)>=0){var c=e.split(o.To);n=+c[0],r=+c[1]}i.options.each((function(e){+e.get("from")===n&&e.set("active",!0)})),i.options.any((function(e){return e.get("active")}))||i.options.add([{id:e,from:n,to:r,name:a.T.getPhrase(R,"custom"),value:e,active:!0}].concat(k(s.PRODUCTION_YEAR)))},selectRating:function(e,t){var n=t.get(y.K.Ratings),r=e.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(e){return e.get("name").toLowerCase()===r[0]})),a=n.options.find((function(e){return e.get("name").toLowerCase()===r[1]})),c=i&&i.get("value"),u=a&&a.get("value")||c,s=n.options.filter((function(e){return e.get("value")>=c&&e.get("value")<=u}));f.each(s,(function(e){return e.set("active",!0)}))},selectSeries:function(e,t){t.get(y.K.Series).options.add({id:e,value:e,name:e,count:0,active:!0})},selectTags:function(e,t){var n=t.get(y.K.Tags);if(!n.options.length){var r=f.isArray(e)?e:[e];f.each(r,(function(e){n.options.add({id:e,name:e,value:e,active:!0})}))}},showFilter:function(e){return e.get("behavior")===i.Boolean||e.options.length>=e.get("minNumOptions")},getExchange:function(e){return j.getSource(e,h.m0.Exchange)},getWorkspace:function(e){return j.getSource(e,h.m0.Workspace)},getLibraries:function(e){return[].concat(k(j.getSources(e,h.m0.CustomLibrary)),k(j.getSources(e,h.m0.HostedLibrary)))},getHostedLibraries:function(e){return j.getSources(e,h.m0.HostedLibrary)},getCustomLibraries:function(e){return j.getSources(e,h.m0.CustomLibrary)},getSource:function(e,t){return e.find((function(e){return e.get("type")===t}))},getSources:function(e,t){return e.filter((function(e){return e.get("type")===t}))},hasFilterChanged:function(e,t){return e.get("behavior")===i.Boolean?e.get("active")!==t.get("active"):j.isInclusiveType(e)||j.isTagType(e)?j.haveOptionsChanged(e,t):j.hasOptionChanged(e,t)},haveOptionsChanged:function(e,t){var n=t.options.where({active:!0}),r=e.options.where({active:!0});return!n||!r||n.length!==r.length||!n.every((function(e,t){return e.get("value")===r[t].get("value")}))},hasOptionChanged:function(e,t){var n=j.getSelectedOption(t.options,e.get("behavior")),r=j.getSelectedOption(e.options,e.get("behavior"));return!(!n&&!r||!(!n&&r||n&&!r)&&n.get("value")===r.get("value"))},clearFilters:function(e){e.each((function(e){e.get("selectAllWhenNoneSelected")?j.selectAllOptions(e):e.get("behavior")===i.Boolean?e.set("active",!1):j.clearOptions(e,!0)}))},clearOptions:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.options.each((function(e){t&&e.get("isDefault")?e.set("active",!0):e.set("active",!1)}))},selectAllOptions:function(e){e.options.each((function(e){return e.set("active",!0)}))},getSelectedOption:function(e,t){return t===i.Range?j.getSelectedOptionInRange(e):e.findWhere({active:!0})},getSelectedOptions:function(e){return new d.q(e.filter((function(e){return e.get("active")})))},getSelectedOptionInRange:function(e){var t=e.where({active:!0});return f.last(t)},isInclusiveType:function(e){return e.get("behavior")===i.Inclusive},isBooleanType:function(e){return e.get("behavior")===i.Boolean},isTagType:function(e){return e.get("behavior")===i.Tag},isSelected:function(e){return j.isBooleanType(e)?e.get("active"):j.isInclusiveType(e)?!j.allOptionsSelected(e):j.hasOptionSelected(e)},hasOptionSelected:function(e){return e.options.any((function(e){return!e.get("isDefault")&&e.get("active")}))},allOptionsSelected:function(e){return e.options.every((function(e){return e.get("active")}))},toISOString:function(e){if(!e||e===Number.MAX_VALUE)return"";var t=Math.ceil(e/1e3);return p.duration(1e3*t).toISOString().replace("PT","")},getFilterSelectedOptionsAnalyticsData:function(e){if(j.isBooleanType(e))return e.get("active");if(j.isInclusiveType(e))return j.getInclusiveFilterSelectedOptionsAnalyticsData(e);var t=j.getSelectedOption(e.options,e.get("behavior"));return t&&t.get("name")},getInclusiveFilterSelectedOptionsAnalyticsData:function(e){var t=e.options.where({active:!0});return t.length||(t=e.options.toArray()),e.get("type")===y.K.Sources?t.map((function(e){return e.get("id")})).join(","):t.map((function(e){return e.get("name")})).join(",")}},T={setQueryParams:function(e,t,n){var r=e.query,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["query"]);t.set({query:r,initialQuery:r}),j.setFilters(o,n)},getQueryString:function(e,t,n){var r="",o=T.encodeURL(e.get("query"))||"",i=j.getDynamicFiltersQueryString(t),a=j.getSourceFilterQueryString(t);(o||i)&&(r+="q=".concat(o)),i&&(r+=" ".concat(i)),r&&a&&(r+="&".concat(a));var c=[],u=j.getQueryString(t);return u&&c.push(u),n&&c.push("page:".concat(n)),c.length&&(r+="&filter={".concat(c.join(","),"}")),r},getDynamicFilterQueryString:function(e,t){var n="",r=e.get("query")?T.encodeURL(e.get("query")):"",o=j.getTagFilterQueryString(t),i=j.getSourceFilterQueryString(t,"ids");return(r||o)&&(n+="q=".concat(r)),o&&(n+=" ".concat(o)),i&&(n+="&".concat(i)),n},getRouteQueryParams:function(e,t,n){var r=e.get("query")?{query:e.get("query")}:{};return f.extend(r,j.getRouteQueryParams(t,n))},encodeURL:function(e){return e?e.replace("&","%26").replace("#","%23"):""}}},14611:function(e,t,n){"use strict";n.d(t,{m:function(){return C}});var r=n(48088),o=n(31647),i=n(57857),a=n(5854),c=n(61843),u=n(88181),s=n(88824),l=n.n(s),f={actions:"lswTl",spinner:"qq1bX",cancel:"G7n6H",hiddenCancel:"uMiOp",processProgress:"Qo7U6",errorMargin:"rh5AU"};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}var S=function(e){v(n,e);var t=g(n);function n(e){return d(this,n),t.call(this,e)}return b(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:"name",get:function(){return"ProcessProgressComponent"}},{key:"template",get:function(){return l()}},{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(f.processProgress)}},{key:"attributes",get:function(){return{title:this.model.get("statusMessageHeader")}}},{key:"events",value:function(){var e;return y(e={},"click .".concat(f.cancel),"onClickCancel"),y(e,"click .retry","onClickRetry"),e}},{key:"elements",get:function(){return{progressBar:".progress-bar",progressText:".progress-text"}}},{key:"appLinks",get:function(){return{"[this]":{application:u.OV.LIBRARY_EDITOR,action:u.eX.LibraryEditor.FOLDER,args:[this.model.get("categoryId")]}}}},{key:"onClickCancel",value:function(e){e.preventDefault(),e.stopPropagation();var t=this.model.get("video").get("name");c.Ce.generateDialog(t,this.options.channelName,"clear:pending:item",this.model)}},{key:"onClickRetry",value:function(e){e.preventDefault(),e.stopPropagation(),r.Radio.channel(this.options.channelName).trigger("retry:pending:item",this.model)}},{key:"viewOptions",value:function(){var e=this.model.get("video");return{status:a.S.getStatus(this.model),progress:a.S.getProgress(this.model),name:e?e.get("name"):i.T.getPhrase(this.lang,"videoNotFound"),isDone:a.S.isDone(this.model),hasError:a.S.hasError(this.model),styles:f,spinnerEl:c.Kp.getSpinner({size:c.Ey.Medium,tag:"span",extraClasses:f.spinner})}}},{key:"onRender",value:function(){this.$el.find(".".concat(f.cancel,",.retry")).tooltip({placement:"left"})}},{key:"onDestroy",value:function(){this.$el.find(".".concat(f.cancel,",.retry")).tooltip("dispose")}},{key:"update",value:function(){var e=a.S.getStatus(this.model),t=a.S.getProgress(this.model),n=this.getUI("progressBar");n&&n.get(0)&&$(n.get(0)).css("width","".concat(t,"%")),this.getUI("progressText").html(e)}}]),n}(o.Q.Component),C=function(e){v(n,e);var t=g(n);function n(e){return d(this,n),t.call(this,e)}return b(n,[{key:"name",get:function(){return"ProcessProgressComponentCollection"}},{key:"childView",get:function(){return S}},{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(e){return-e.get("pendingProcessStatus")}}}]),n}(o.Q.ComponentCollection)},33015:function(e,t,n){"use strict";n.d(t,{N:function(){return m}});var r=n(31647),o=n(99249),i=n(63791),a=n(81937),c=n(88181),u=n(61843),s={progressInfo:"wlAsh",svgContainer:"QbG4T",itemCount:"_YBsm"},l=n(9838),f=n.n(l);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function b(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(m,e);var t,n,r,l,p=(r=m,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v(r);if(l){var n=v(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return b(this,e)});function m(){return y(this,m),p.apply(this,arguments)}return t=m,(n=[{key:"initialize",value:function(){this.model=o.r.get("process:progress"),this.listenTo(this.model,"change:progress change:items change:hasErrors",this.render),this.listenTo(c.jr.PENDING_ITEMS,a.S.PENDING_ITEM_STATUS_CHANGE,this.render)}},{key:"name",get:function(){return"ProgressInfoComponent"}},{key:"template",get:function(){return f()}},{key:"className",get:function(){return s.progressInfo}},{key:"viewOptions",value:function(){return{warningSvg:i.Nj.getSvg(i.vn.Warning),spinnerEl:u.Kp.getSpinner({size:u.Ey.Medium,type:u.dR.LightBgDark}),styles:s}}},{key:"onBeforeRender",value:function(){return!!this.model.get("items")}}])&&d(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),m}(r.Q.Component)},29572:function(e,t,n){"use strict";n.d(t,{J:function(){return u}});var r=n(21186),o=n(57857),i=n(88181),a=n(61843),c="shared.alerts",u={updatedVideoAlert:function(e){return{heading:o.T.getPhrase(c,"updateVideoHeading"),message:o.T.getPhrase(c,"updateVideoMessage",{videoName:a.m$.escapeExpression(e)}),type:r.NK.Success}},updatedChaptersAlert:function(e){return{heading:o.T.getPhrase(c,"updateChaptersHeading"),message:o.T.getPhrase(c,"updateChaptersMessage",{videoName:a.m$.escapeExpression(e)}),type:r.NK.Success}},moveVideoAlert:function(e,t,n,u,s){return{heading:o.T.getPhrase(c,"moveVideoHeading",{smartCount:u}),message:o.T.getPhrase(c,"moveVideoMessage",{smartCount:u,sourceFolder:a.m$.escapeExpression(e),destinationFolder:a.m$.escapeExpression(t),videoName:a.m$.escapeExpression(s)}),type:r.NK.Success,appLinkText:o.T.getPhrase(c,"appLink",{destinationFolder:t}),appLink:{application:i.OV.LIBRARY_EDITOR,action:i.eX.LibraryEditor.FOLDER,args:[n]}}},addVideoToLibraryAlert:function(e,t){var n=e.get("name"),u=t.get("name");return{heading:o.T.getPhrase(c,"addVideoHeading"),message:o.T.getPhrase(c,"addVideoMessage",{videoName:a.m$.escapeExpression(n),folderName:a.m$.escapeExpression(u)}),type:r.NK.Success,appLinkText:o.T.getPhrase(c,"appLink",{destinationFolder:u}),appLink:{application:i.OV.LIBRARY_EDITOR,action:i.eX.LibraryEditor.FOLDER,args:[t.get("id")]}}}}},13156:function(e,t,n){"use strict";n.d(t,{J:function(){return r.J}});var r=n(29572)},10101:function(e,t,n){"use strict";n.d(t,{fS:function(){return A},YR:function(){return v},Im:function(){return M},_7:function(){return P},Yw:function(){return re},Bp:function(){return le}});var r=n(48088),o=n(31647),i=n(88181),a=n(61843),c=n(56906),u=n(57769),s=n(81937),l=n(18222);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(g,e);var t,n,f,v,m=(f=g,v=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(f);if(v){var n=b(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h(this,e)});function g(){return p(this,g),m.apply(this,arguments)}return t=g,n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,s.S.FILES_SELECTED,this.onFilesSelected)}},{key:"behaviors",get:function(){return[{behaviorClass:u.Z,buttonSelector:this.options.buttonSelector,channelName:this.options.channelName,acceptMultiple:!1,mimeType:l.l.IMAGES,eventName:this.options.eventName}]}},{key:"onFilesSelected",value:function(e){var t=this;!e&&e.length||(this.reader=new FileReader,this.reader.addEventListener("load",(function(){return t.onReaderLoad()})),this.reader.readAsDataURL(e[0]))}},{key:"onReaderLoad",value:function(){var e=this,t=new Image;t.src=this.reader.result;var n=i.yE[this.options.imageType].width,r=i.yE[this.options.imageType].height;t.addEventListener("load",(function(){e.isImageValid(t)?e.isImageLowQuality(t)?e.onImageLowQuality(t):e.onImageLoad(t):e.onImageTooSmall(n,r)}))}},{key:"onImageLowQuality",value:function(e){var t=this;r.Radio.channel(this.options.channelName).trigger("image:error"),window.setTimeout((function(){var n=i.nq[t.options.imageType];new a.Mr({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-dark",success:!0}]}).render().done((function(){t.onImageLoad(e,!0)}))}),300)}},{key:"onImageTooSmall",value:function(e,t){r.Radio.channel(this.options.channelName).trigger("image:error"),window.setTimeout((function(){o.Q.ErrorHelper.throw(new c.ZE(e,t))}),300)}},{key:"isImageValid",value:function(e){var t=i.yE[this.options.imageType].width,n=i.yE[this.options.imageType].height;return!(t&&e.width<t||n&&e.height<n)}},{key:"isImageLowQuality",value:function(e){var t=i.nq[this.options.imageType];return!!t&&(e.width<t.width||e.height<t.height)}},{key:"onImageLoad",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.options.saveImage(e.src,t),r.Radio.channel(this.options.channelName).trigger("image:load"),this.options.appLink&&o.Q.AppLinkHelper.trigger(this.options.appLink)}}],n&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),g}(o.Q.Behavior);function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},O(e,t)}function S(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&O(e,t)}(c,e);var t,n,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=C(o);if(i){var n=C(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return S(this,e)});function c(){return g(this,c),a.apply(this,arguments)}return t=c,(n=[{key:"initialize",value:function(){this.lockLayoutFileDrop()}},{key:"lockLayoutFileDrop",value:function(){r.Radio.channel("file:drop:lock").trigger("lock")}},{key:"unlockLayoutFileDrop",value:function(){r.Radio.channel("file:drop:lock").trigger("unlock")}},{key:"onDestroy",value:function(){this.unlockLayoutFileDrop()}}])&&w(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Q.Behavior);function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},R(e,t)}function j(e,t){if(t&&("object"===E(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(c,e);var t,n,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=T(o);if(i){var n=T(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return j(this,e)});function c(){return k(this,c),a.apply(this,arguments)}return t=c,(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(),r.Validation.bind(this.view,{model:this.getModel()})}},{key:"onBeforeDestroy",value:function(){r.Validation.unbind(this.view,{model:this.getModel()})}}])&&_(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Q.Behavior),L=n(60511),x=n(11306);function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B(e,t){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},B(e,t)}function I(e,t){if(t&&("object"===V(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},U(e)}var M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B(e,t)}(u,e);var t,n,r,i,c=(r=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=U(r);if(i){var n=U(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return I(this,e)});function u(){return N(this,u),c.apply(this,arguments)}return t=u,(n=[{key:"initialize",value:function(){this.validateOptions(),this.listenTo(L.f.LAZY_LOAD,"update:loader",this.updateLoader)}},{key:"defaults",get:function(){return{loadingClass:"lazyload-loading",attribute:"src"}},set:function(e){}},{key:"updateLoader",value:function(){this.loader&&this.loader.update()}},{key:"onAttach",value:function(){a.Vm.isLazyLoadSupported(this.options.minBrowserSupportVersion)&&(this.loader=new LazyLoad({data_src:this.options.attribute,elements_selector:this.options.selector,class_loading:this.options.loadingClass,callback_loaded:this.options.callback,class_error:"d-none"}))}},{key:"onRender",value:function(){this.updateLoader()}},{key:"onBeforeDestroy",value:function(){this.loader&&(this.loader.destroy(),delete this.loader)}},{key:"validateOptions",value:function(){this.options.selector||o.Q.ErrorHelper.throw(new x.H("Must pass an image selector from ".concat(this.view.name," when using LazyLoadBehaviour.")))}}])&&D(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.Q.Behavior),F=n(39479),H=n(25417),z=n(88172),G=n(87989),q=n(26943),Q=n.n(q),W=n(57857);function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function J(e,t){return J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},J(e,t)}function ee(e,t){if(t&&("object"===Y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function te(e){return te=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},te(e)}var ne={saveEvent:"save",extraButtonClass:"btn-dark",spinnerOptions:{size:G.Ey.Small,type:G.dR.Light,extraClasses:"mx-auto"}},re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&J(e,t)}(u,e);var t,n,i,a,c=(i=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=te(i);if(a){var n=te(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ee(this,e)});function u(){return K(this,u),c.apply(this,arguments)}return t=u,(n=[{key:"initialize",value:function(){this.validateOptions(),this.setUpTemplateWrapper(),this.handleCloseOnRoute(),this.handleRendersDuringTransition()}},{key:"events",get:function(){return{"hidden.bs.modal":"onModalHidden","shown.bs.modal":"onModalShown"}}},{key:"validateOptions",value:function(){this.options.title||o.Q.ErrorHelper.throw(new x.H("Must pass a title from ".concat(this.view.name," when using PopupBehavior.")))}},{key:"handleCloseOnRoute",value:function(){var e=this;!1!==this.options.closeOnRoute&&(this.routeOnHide=!0,this.listenTo(H.G.SHELL,"route",(function(){e.routeOnHide=!1,e.view.$el.modal("hide");var t=$("body");t.hasClass("modal-open")&&t.removeClass("modal-open"),t.css("padding-right","0px")})))}},{key:"handleRendersDuringTransition",value:function(){var e=this,t=this.view.render;this.view.render=function(){var n=e.view.$el.data("bs.modal");return n&&n._isTransitioning?(e.view.$(".modal-dialog").one("bsTransitionEnd",(function(){return t.call(e.view)})),e):t.call(e.view)}}},{key:"onHide",value:function(){this.hide()}},{key:"setUpTemplateWrapper",value:function(){var e=this,t=this.view.getTemplate;this.view.getTemplate=function(){return function(n){var r,o,i,a,c,u=t.call(e.view),s=e.options.hideCloseButton,l=u(n),f=function(e){if(Array.isArray(e))return Z(e)}(c=e.options.buttons||[])||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(c)||function(e,t){if(e){if("string"==typeof e)return Z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(e,t):void 0}}(c)||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.")}();return F.each(f,(function(e){F.isFunction(e.getClassName)&&(e.className=e.getClassName())})),F.some(f,(function(e){return e.close}))||s||f.unshift({text:null!==(o=null===(r=e.options.cancelButtonOptions)||void 0===r?void 0:r.text)&&void 0!==o?o:W.T.getPhrase("shared.popupBehavior","cancel"),className:null!==(a=null===(i=e.options.cancelButtonOptions)||void 0===i?void 0:i.className)&&void 0!==a?a:"btn btn-link",close:!0}),f=F.sortBy(F.map(f,(function(e){return F.extend({type:"button",className:"btn btn-dark"},e)})),"close"),Q()({content:l,size:e.options.size,title:e.getTitle(),buttons:f,spinnerButton:!!e.options.spinnerButtonOptions})}}}},{key:"getTitle",value:function(){return F.isFunction(this.options.title)?this.options.title.apply(this.view):this.options.title}},{key:"getSpinnerButtonOptions",value:function(){return F.isFunction(this.options.spinnerButtonOptions)?this.options.spinnerButtonOptions.apply(this.view):this.options.spinnerButtonOptions}},{key:"renderSpinnerButton",value:function(){var e=this.getSpinnerButtonOptions();e&&!F.isEmpty(e)&&(e=F.extend({},ne,e),this.view.addRegion("spinnerButton",{el:".spinner-button-region",replaceElement:!0}),this.spinnerButtonListenerBound||(this.spinnerButtonListenerBound=!0,this.view.listenTo(e.channelName,e.saveEvent,e.onClick)),this.spinnerComponent=new z.Py(F.omit(e,"onClickSpinnerButton")),this.view.showChildView("spinnerButton",this.spinnerComponent))}},{key:"onRender",value:function(){this.renderSpinnerButton();var e="modal fade";this.options.modalClasses&&(e+=" ".concat(this.options.modalClasses)),this.view.$el.addClass(e),this.view.$el.attr("tabindex","-1"),r.Radio.channel(L.f.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 e=this.options.appLink;this.routeOnHide&&e&&o.Q.AppLinkHelper.trigger(e)}},{key:"onModalShown",value:function(){this.view.$el.find("[autofocus]").focus(),this.spinnerComponent&&this.spinnerComponent.trigger(z.I3.ManageDimensions)}}])&&X(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.Q.Behavior);function oe(e){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(e)}function ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ce(e,t){return ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ce(e,t)}function ue(e,t){if(t&&("object"===oe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},se(e)}var le=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ce(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=se(r);if(o){var n=se(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ue(this,e)});function a(){return ie(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"onRender",value:function(){this.view.stickit(this.options.bindViewModel?this.view.viewModel:this.view.model)}},{key:"onBeforeDestroy",value:function(){this.view.unstickit()}}])&&ae(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.Q.Behavior)},99952:function(e,t,n){"use strict";n.d(t,{q:function(){return f}});var r=n(31647),o=n(74749);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(p,e);var t,n,r,i,f=(r=p,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(r);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function p(){return a(this,p),f.apply(this,arguments)}return t=p,(n=[{key:"model",get:function(){return o.W}},{key:"parse",value:function(e){return e.data||e}},{key:"comparator",get:function(){return"startTime"}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.Q.Collection)},52092:function(e,t,n){"use strict";n.d(t,{A:function(){return b}});var r=n(31647);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(s,e);var t,n,r,o=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(n);if(r){var o=u(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return c(this,e)});function s(){return i(this,s),o.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.Q.Model);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function a(){return f(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return s}},{key:"parse",value:function(e){return e.data||e}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Collection)},84013:function(e,t,n){"use strict";n.d(t,{n:function(){return b}});var r=n(31647);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(s,e);var t,n,r,o=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(n);if(r){var o=u(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return c(this,e)});function s(){return i(this,s),o.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.Q.Model);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function a(){return f(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return s}},{key:"parse",value:function(e){return e.data||e}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Collection)},60103:function(e,t,n){"use strict";n.d(t,{I:function(){return f}});var r=n(31647),o=n(60602);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(p,e);var t,n,r,i,f=(r=p,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(r);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function p(){return a(this,p),f.apply(this,arguments)}return t=p,(n=[{key:"model",get:function(){return o.g}},{key:"parse",value:function(e){return e.data||e}},{key:"comparator",get:function(){return function(e){var t;return null===(t=e.get("name"))||void 0===t?void 0:t.toLowerCase()}}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.Q.Collection)},90680:function(e,t,n){"use strict";n.d(t,{q:function(){return f}});var r=n(31647),o=n(24539);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(p,e);var t,n,r,i,f=(r=p,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(r);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function p(){return a(this,p),f.apply(this,arguments)}return t=p,(n=[{key:"model",get:function(){return o.Z}},{key:"parse",value:function(e){return e.data||e}},{key:"comparator",get:function(){return function(e){var t;return null===(t=e.get("name"))||void 0===t?void 0:t.toLowerCase()}}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.Q.Collection)},53066:function(e,t,n){"use strict";n.d(t,{J:function(){return b}});var r=n(31647);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(s,e);var t,n,r,o=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(n);if(r){var o=u(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return c(this,e)});function s(){return i(this,s),o.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.Q.Model);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function a(){return f(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return s}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Collection)},88922:function(e,t,n){"use strict";n.d(t,{p:function(){return b}});var r=n(31647);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(s,e);var t,n,r,o=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(n);if(r){var o=u(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return c(this,e)});function s(){return i(this,s),o.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.Q.Model);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function a(){return f(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return s}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Collection)},4589:function(e,t,n){"use strict";n.d(t,{T:function(){return b}});var r=n(31647);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(s,e);var t,n,r,o=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(n);if(r){var o=u(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return c(this,e)});function s(){return i(this,s),o.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.Q.Model);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function a(){return f(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return s}},{key:"parse",value:function(e){return e.data||e}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Collection)},4228:function(e,t,n){"use strict";n.d(t,{h:function(){return b}});var r=n(31647);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(s,e);var t,n,r,o=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(n);if(r){var o=u(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return c(this,e)});function s(){return i(this,s),o.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.Q.Model);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function a(){return f(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return s}},{key:"parse",value:function(e){return e.data||e}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Collection)},2214:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{N:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Collection)},29625:function(e,t,n){"use strict";n.d(t,{i:function(){return f}});var r=n(31647),o=n(78571);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(p,e);var t,n,r,i,f=(r=p,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(r);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function p(){return a(this,p),f.apply(this,arguments)}return t=p,(n=[{key:"model",get:function(){return o.y}},{key:"parse",value:function(e){return e.data||e}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.Q.Collection)},58085:function(e,t,n){"use strict";n.d(t,{E:function(){return f}});var r=n(31647),o=n(68619);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(p,e);var t,n,r,i,f=(r=p,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(r);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function p(){return a(this,p),f.apply(this,arguments)}return t=p,(n=[{key:"model",get:function(){return o.V}},{key:"parse",value:function(e){return e.data||e}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.Q.Collection)},70763:function(e,t,n){"use strict";n.d(t,{t:function(){return f}});var r=n(31647),o=n(71192);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(p,e);var t,n,r,i,f=(r=p,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(r);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function p(){return a(this,p),f.apply(this,arguments)}return t=p,(n=[{key:"model",get:function(){return o.n}},{key:"parse",value:function(e){return e.data||e}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.Q.Collection)},55142:function(e,t,n){"use strict";n.d(t,{N:function(){return b}});var r=n(39479),o=n(48088),i=n(31647),a=n(11306),c=n(56210),u=n(99475),s=n.n(u);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(v,e);var t,n,u,l,b=(u=v,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(u);if(l){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function v(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),b.call(this,e)}return t=v,n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"select:option:selected",this.render)}},{key:"template",get:function(){return s()}},{key:"behaviors",get:function(){var e=[];return this.hasTooltip()&&e.push(Object.assign({behaviorClass:c.H},this.getTooltip())),e}},{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 e=this.model.get("classes")||this.options.extraClasses,t="dropdown-item d-flex justify-content-between";return this.model.get("selected")&&(t+=" active"),this.isDisabled()?this.hasTooltip()?t+=" cursor-default":t+=" disabled cursor-default":t+=" cursor-pointer",e&&(t+=" ".concat(e)),t}},{key:"events",value:function(){return{click:"onClick"}}},{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(){var e=this.hasTooltip()?this.getTooltip().title:"";return this.model.get("href")?{href:this.model.get("href"),title:this.options.currentSelectedMessage||e,target:this.model.get("external")?"_blank":""}:{title:e}}},{key:"hasTooltip",value:function(){if(!r.isFunction(this.options.getTooltip))return!1;var e=this.getTooltip();return!!r.isObject(e)&&e.title}},{key:"getTooltip",value:function(){var e;if(r.isFunction(this.options.getTooltip)){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return(e=this.options.getTooltip).apply.apply(e,[this].concat(n))}}},{key:"isDisabled",value:function(){var e;if(this.model.get("divider"))return!0;if(!r.isFunction(this.options.isDisabled))return!1;for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return(e=this.options.isDisabled).apply.apply(e,[this].concat(n))}},{key:"onClick",value:function(e){var t=this.model.get("eventName")||this.options.eventName;this.model.get("stopPropagation")&&e.stopPropagation(),this.isDisabled()?e.stopPropagation():(this.logAction(),t&&o.Radio.channel(this.options.channelName).trigger(t,this.model))}},{key:"logAction",value:function(){var e,t,n=this.model.get("appLink");if((null==n?void 0:n.args)&&this.model.get("analyticsOptions")){var r=(e=n.args,t=1,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e,t)||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.")}())[0];this.options.analyticsHelper.logUserAction({id:r},this.model.get("analyticsOptions"))}}},{key:"buildPrefix",value:function(){if(r.isFunction(this.options.prefixHandler)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.options.prefixHandler.apply(this,t)}}},{key:"getTitle",value:function(){if(!this.model.get("divider")){var e=this.model.get(this.options.titleProperty);return e||i.Q.ErrorHelper.throw(new a.H("titleProperty has not been correctly set. Or the model does not contain the property.")),e}}},{key:"viewOptions",value:function(){return{title:this.getTitle(),prefix:this.buildPrefix(),iconSvg:this.model.get("icon")}}},{key:"onRender",value:function(){this.resetClassName()}}],n&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),v}(i.Q.Component)},88172:function(e,t,n){"use strict";n.d(t,{I3:function(){return d},Py:function(){return b},ZV:function(){return h}});var r=n(39479),o=n(48088),i=n(31647),a=n(61843),c=n(75988),u=n.n(c);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var d={ShowSpinner:"show:spinner",HideSpinner:"hide:spinner",ToggleSpinner:"toggle:spinner",Enable:"enable",Disable:"disable",ManageDimensions:"manage:dimensions",HideButton:"hide:button",ShowButton:"show:button"},h={ShowSpinner:"showSpinner",Disabled:"disabled",Hidden:"hidden"},b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(v,e);var t,n,c,s,b=(c=v,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(c);if(s){var n=y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return p(this,e)});function v(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),b.call(this,e)}return t=v,(n=[{key:"name",get:function(){return"SpinnerButtonComponent"}},{key:"tagName",get:function(){return"button"}},{key:"attributes",get:function(){var e={type:this.options.buttonType};return this.options.disabled&&(e.disabled=!0),e}},{key:"template",get:function(){return u()}},{key:"className",get:function(){var e="btn",t=this.options.extraButtonClass||"";return this.model&&this.model.get("disabled")&&(e="".concat(e," disabled")),this.model&&this.model.get("hidden")&&(e+=" d-none"),"".concat(e," ").concat(t)}},{key:"events",value:function(){return{click:"onClick"}}},{key:"defaults",get:function(){return{showSpinner:!1,detectWidth:!0,detectHeight:!0,buttonText:"Submit",buttonType:"button",preventMultiClick:!0,spinnerOptions:{size:a.Ey.Small,extraClasses:"mx-auto"}}}},{key:"initialize",value:function(){this.model||(this.model=new i.Q.Model({showSpinner:this.options.showSpinner,disabled:this.options.disabled,hidden:this.options.hidden})),this.bindSpinnerListeners(),this.bindDisableListeners(),this.bindHiddenListeners(),this.listenTo(this.model,"change:".concat(h.ShowSpinner),this.render),this.listenTo(this.model,"change:".concat(h.Disabled),this.render),this.listenTo(this.model,"change:".concat(h.Hidden),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:"bindHiddenListeners",value:function(){this.listenTo(this,d.HideButton,this.hideButton),this.listenTo(this,d.ShowButton,this.showButton),this.options.channelName&&(this.listenTo(this.options.channelName,d.HideButton,this.hideButton),this.listenTo(this.options.channelName,d.ShowButton,this.showButton))}},{key:"getButtonText",value:function(){return r.isFunction(this.options.buttonText)?this.options.buttonText():this.options.buttonText}},{key:"getTooltipOptions",value:function(){var e=this.options.tooltip;return r.isFunction(e)?e():e}},{key:"onClick",value:function(e){if(e.preventDefault(),!(this.options.disabled||this.model.get(h.Disabled)||this.model.get(h.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:"hideButton",value:function(){this.model.set("hidden",!0)}},{key:"showButton",value:function(){this.model.set("hidden",!1)}},{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 e=this.getTooltipOptions();r.isUndefined(e)||r.isEmpty(e)?this.$el.tooltip("dispose"):this.$el.tooltip(e)}},{key:"viewOptions",value:function(){var e={buttonText:this.getButtonText()};if(!this.model.get("showSpinner"))return e;var t=this.options.spinnerOptions||{};return r.extend(e,{spinnerEl:a.Kp.getSpinner(t)})}},{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")}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),v}(i.Q.Component)},41934:function(e,t,n){"use strict";n.d(t,{e: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",EDIT_LINK:"edit:link",NEW_SEASON:"new:season",ADD_TO_EXCHANGE:"add:to:exchange",REMOVE_LOGO:"remove:logo",UPDATES:"updates"},VideoAccess:{HOME:"index"},Search:{HOME:"index"},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"},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",SHARE:"share",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"},LibraryRequests:{PENDING_REQUESTS:"pending:requests",PAST_REQUESTS:"past:requests",APPROVE:"approve",REJECT:"reject",LIBRARY_REQUEST_SETTINGS:"library:request:settings",LIBRARY_REQUEST_SETTINGS_LIBRARIES:"library:request:settings:libraries",REMOVE_LIBRARY_SUBSCRIBER:"remove:library:subscriber"}}},85146:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r={CURRENT_USER:"currentUser",CONFIG:"config",VERSION:"version",LOCALE:"locale",PHRASES:"phrases",CUSTOMER_SETTINGS:"customerSettings",USER_SETTINGS:"userSettings"}},64234:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});var r={SHORT:120,STANDARD:600}},21251:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});var r={FOLDER:"folder",FOLDER_VIDEOS:"folder:videos",FOLDERS:"folders",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",CUSTOMER_SETTINGS:"customer:settings",USER_SETTINGS:"user:settings",UPDATE_SETTING:"update:setting",GENERATE_PDF:"generate:pdf",GENERATE_COLLECTION_PDF:"generate:collection:pdf",GENERATE_CUSTOM_PDF:"generate:custom:pdf",CUSTOMER_VIDEO:"customer:video",CUSTOMER_FOLDERS:"customer:folders",CUSTOMER_VIDEOS:"customer:videos",GET_TAGS:"get:tags",CREATE_TAG:"create:tag",ASSOC_TAG:"assoc:tag",DISSOC_TAG:"dissoc:tag",CREATE_SERIES:"create:series",CURRENT_USER:"currentuser",CUSTOMERS:"customers",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",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",LOGO:"logo",CREATE_LOGO:"create:logo",PLAYER_VIEWKEY:"player:viewkey",PRODUCTS:"products"}},63400:function(e,t,n){"use strict";n.d(t,{X:function(){return a},y:function(){return o}});var r=n(57857),o="generic",i="shared.constants",a={generic:function(){return r.T.getPhrase(i,"dataServiceErrorGeneric")},"video_forbidden.rating_access":function(){return r.T.getPhrase(i,"dataServiceErrorForbiddenRatingAccess")}}},14177:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r={LIBRARY_EDITOR:"library:editor"}},56154:function(e,t,n){"use strict";n.d(t,{W:function(){return r}});var r={EmptyStates:{Default:"/images/empty-states/illo-empty@2x.png",TYPEAHEAD_RESULTS:"/images/empty-states/typeahead-results.png",FOLDER:"/images/empty-states/folder.png",SERIES:"/images/empty-states/series.png",AWAITING_REVIEW:"/images/empty-states/awaiting-review.png",LIBRARY:"/images/empty-states/library.png",CONTENT_UPDATES:"/images/empty-states/content-updates.png",SEARCH:"/images/empty-states/search.png",LIBRARY_EDITOR:"/images/empty-states/library-editor.png",NOTIFICATIONS:"/images/empty-states/notifications.png",VIDEO_ACCESS:"/images/empty-states/video-access.png",PENDING_REQUESTS:"/images/empty-states/pending-requests.png",PAST_REQUESTS:"/images/empty-states/past-requests.png"},Errors:{NOT_FOUND:"/images/errors/not-found.png",GENERIC:"/images/errors/generic.png"},Shared:{GENERATE_PDF:"/images/generate-pdf.png",TYPEAHEAD_ERROR:"/images/typeahead-error.png",SUCCESS:"/images/success-tick.png",LOCAL_CACHE:"/images/local-cache.png",UPDATES_BANNER:"/images/updates-banner.png"},Upload:{UPLOAD_VIDEO:"/images/upload/upload-video.png"},Updates:{BANNER:"/images/updates/updates-banner.png",LIBRARY_REQUESTS:"/images/updates/library-requests-update.png",NAVIGATION:"/images/updates/navigation-update.png"}}},49282:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var r={CONTENT:"content",PAGE_HEADER:"pageHeader",LEFT_NAV:"leftNav",POPUP:"popup",ALERT:"alert",PAGE_FOOTER:"pageFooter",HIDDEN:"hidden",TOP_BANNER:"topBanner"};r.ALERT,r.POPUP,r.HIDDEN},54332:function(e,t,n){"use strict";n.d(t,{F:function(){return r}});var r={ManageLayout:"ManageLayout"}},54008:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});var r={MAX_FOLDER_DEPTH:7,POPUP_FADE_TIMEOUT:0}},25094:function(e,t,n){"use strict";n.d(t,{OV:function(){return a},Vk:function(){return o},jr:function(){return i}});var r=n(69184),o={LIBRARY:"library:data:service",VIDEO:"video:data:service",TAG:"tag:data:service",CHAPTER:"chapter:data:service",SERIES:"series:data:service",SEARCH:"search: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",PRODUCT:"product:data:service",PLAYER:"player: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.Q4),a={DEFAULT:"default:application",LIBRARY_EDITOR:"library:editor:application",SEARCH:"search:application",NOTIFICATIONS:"notifications:application",VIDEO_ACCESS:"video:access:application",CONTENT_UPDATES:"content:updates:application",DASHBOARD:"dashboard:application",UPLOAD:"upload:application",LIBRARY_REQUESTS:" library:requests:application"}},33800:function(e,t,n){"use strict";n.d(t,{K:function(){return o},O:function(){return i}});var r=n(11543),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"},r.D),i=Object.assign({Config:"ConfigDataService",User:"UserDataService",Customer:"CustomerDataService",Library:"LibraryDataService",Search:"SearchDataService",Notifications:"NotificationDataService",NotificationsSocket:"NotificationSocketService",Settings:"SettingsDataService",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",Product:"ProductDataService",Player:"PlayerDataService"},r.Z)},34198:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(29457),o="categories[libraries]{libraries.typeid:".concat(r.En.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}",FOLDERS:"thumbnail"}},88181:function(e,t,n){"use strict";n.d(t,{eX:function(){return u.e},OV:function(){return a.OV},h2:function(){return Le.h},fA:function(){return Ne.f},Vk:function(){return a.Vk},M_:function(){return f.M},Or:function(){return he.O},aW:function(){return Ee},Vy:function(){return s},yE:function(){return me},Wn:function(){return we.W},nq:function(){return ge},r_:function(){return de.r},FN:function(){return i.F},v9:function(){return De},m0:function(){return r},TC:function(){return Be},l:function(){return xe},pA:function(){return Te.p},$j:function(){return Ve},r8:function(){return ye},n8:function(){return o},jr:function(){return a.jr},K9:function(){return he.K},_2:function(){return Ae},HZ:function(){return c.H}});var r,o,i=n(54332),a=n(25094),c=n(34198),u=n(41934),s={Filters:{OPTION_SELECTED:"option:selected",APPLY_FILTER:"apply:filter",FILTER_CHANGED:"filter:changed"},ContentUpdates:{DISABLE_REVIEW:"disable:review"}};!function(e){e.Folder="folder",e.Exchange="exchange",e.HostedLibrary="hosted_library",e.CustomLibrary="custom_library",e.Workspace="workspace"}(r||(r={})),function(e){e.Video="videos",e.Folder="categories",e.Series="series",e.Channel="channels",e.Distributors="companies",e.Producers="people",e.Tags="tags",e.Language="languages",e.TagsRaw="tag",e.ChannelRaw="channel",e.Recent="recent",e.Direct="direct",e.ProductionCompanies="companies",e.Directors="people",e.Season="season"}(o||(o={}));var l,f=n(21251),p=n(70125),y=n(29457),d=n(63675),h=n.n(d),b={contentContainerWithBulkActions:"t08Il",thumbnailContainer:"x0GDo",metaContainer:"Xs5dk",titleContainer:"GUS3d"},v=n(97457),m=n.n(v),g=n(89019),w=n.n(g),O=n(21625),S=n(33086),C=n.n(S),P=n(83233),E=n.n(P),k={button:"RjMhk"},_=n(3379),R=n.n(_),j=n(77999),T=n.n(j),A={filterButton:"lI8CS"},L=n(24918),x=n.n(L),V=n(6305),N=n.n(V),D=n(65256),B=n.n(D),I=n(13153),U=n.n(I),M=n(46589),F=n.n(M),H=n(3137),z=n.n(H),G=n(61480),q=n.n(G),Q=n(36322),W=n.n(Q),Y=n(59913),Z=n.n(Y),K=n(31160),$=n.n(K),X=n(29493),J=n.n(X),ee={container:"nMhTn",input:"A22wZ"},te=n(49076),ne=n.n(te),re=n(45288),oe=n.n(re),ie=n(73024),ae=n.n(ie),ce=n(76289),ue=n.n(ce),se=n(22682),le=n.n(se);function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe,ye=(fe(l={},y.LP.VideoList,{component:p.k.ComponentCollection,options:{childOptions:{template:h(),className:"border-bottom position-relative px-3",viewOptions:{styles:b}}}}),fe(l,y.LP.VideoListWithBulkActions,{component:p.k.ComponentCollection,options:{childOptions:{template:h(),className:"".concat(b.contentContainerWithBulkActions," border-bottom position-relative px-3"),viewOptions:{styles:b}}}}),fe(l,y.LP.VideoGroupList,{component:p.k.ComponentCollection,options:{className:"xpI5S",childOptions:{template:h(),className:"".concat(b.partialVideoItem," border-bottom position-relative px-3"),viewOptions:{styles:b}}}}),fe(l,y.LP.SubFolder,{component:p.k.ComponentCollection,options:{collectionLength:5,className:"row p-3 mt-4",noExtraClass:!0,tagName:"div",childOptions:{template:m(),className:"col-2 mb-3"}}}),fe(l,y.LP.NotificationPopover,{component:p.k.ComponentCollection,options:{collectionLength:5,childOptions:{template:w(),className:"px-1 py-2",viewOptions:{styles:{notificationTime:"VFaC5",content:"L3U6v",icon:"eDOhs",contentContainer:"g2hOJ"}}}}}),fe(l,y.LP.Banner,{component:p.k.Component,options:{template:"<div></div>",className:"".concat(O.Z.banner," partial-loading-background")}}),fe(l,y.LP.VideoListHeader,{component:p.k.Component,options:{template:C(),className:"px-3"}}),fe(l,y.LP.VideoListSubheading,{component:p.k.Component,options:{template:E(),className:"px-3 pb-2 clearfix",viewOptions:{styles:k}}}),fe(l,y.LP.SeriesVideoListSubheading,{component:p.k.Component,options:{template:R(),className:"px-3 pb-2 mt-3 clearfix",viewOptions:{styles:k}}}),fe(l,y.LP.SearchFilter,{component:p.k.ComponentCollection,options:{collectionLength:6,childOptions:{template:T(),tagName:"li",className:"d-inline-block rounded m-1 partial-loading-background",viewOptions:{styles:A}}}}),fe(l,y.LP.PastReleasesSearchFilter,{component:p.k.ComponentCollection,options:{collectionLength:3,childOptions:{template:T(),tagName:"li",className:"d-inline-block rounded m-1 partial-loading-background",viewOptions:{styles:A}}}}),fe(l,y.LP.AwaitingReviewHeader,{component:p.k.Component,options:{template:ne(),className:"p-3 border-bottom text-right",viewOptions:{styles:{button:"BYROA"}}}}),fe(l,y.LP.VideoHeader,{component:p.k.Component,options:{template:N(),className:"w-100 p-2",viewOptions:{styles:{videoTitle:"qrpUG",videoAction:"i_3pV"}}}}),fe(l,y.LP.Breadcrumbs,{component:p.k.Component,options:{template:Z(),viewOptions:{styles:{breadcrumb:"mmpM5"}}}}),fe(l,y.LP.VideoBasicInfo,{component:p.k.Component,options:{template:B(),viewOptions:{styles:{text:"n0g7d",subText:"IlREF"}}}}),fe(l,y.LP.VideoSidebarInfo,{component:p.k.Component,options:{template:x(),className:"pt-3 pb-3 pl-2 pr-3",viewOptions:{styles:{video:"BfFVm",text:"xbCtN",subText:"Tpn37",subSubText:"z2CL9"}}}}),fe(l,y.LP.EditVideoTabs,{component:p.k.Component,options:{template:U(),className:"w-100",viewOptions:{styles:{name:"sp8vB",breadcrumb:"VXUha",tabs:"hGKBV"}}}}),fe(l,y.LP.EditVideoDetails,{component:p.k.Component,options:{template:F(),className:"w-100",viewOptions:{styles:{header:"INXSA",subHeader:"wtz1l",thumbnailContainer:"GsMWy",input:"U5TGl",textbox:"Uf5Qn"}}}}),fe(l,y.LP.EditVideoChapterList,{component:p.k.Component,options:{template:z(),className:"w-100",viewOptions:{styles:{header:"LZS19",input:"aZyQz",line:"Had6W"}}}}),fe(l,y.LP.EditVideoChaptersForm,{component:p.k.Component,options:{template:q(),className:"w-100 mt-3",viewOptions:{styles:{header:"tD1nP",input:"Ivhl0",button:"KeqZ2"}}}}),fe(l,y.LP.WebPlayer,{component:p.k.Component,options:{template:W(),className:"w-100",viewOptions:{styles:{player:"wui0w"}}}}),fe(l,y.LP.EditVideoUploadArea,{component:p.k.Component,options:{template:$(),className:"mt-3",viewOptions:{styles:{header:"hHB6J",text:"IzqGg",upload:"qXIot"}}}}),fe(l,y.LP.Share,{component:p.k.Component,options:{template:J(),className:ee.container,viewOptions:{styles:ee}}}),fe(l,y.LP.LeftNav,{component:p.k.Component,options:{template:oe(),viewOptions:{styles:{logo:"mYwqS",row:"PA35s",text:"QKRvG"}}}}),fe(l,y.LP.LibraryFolders,{component:p.k.ComponentCollection,options:{collectionLength:7,className:"row mx-n1 mb-4",noExtraClass:!0,tagName:"div",childOptions:{template:m(),className:"col-2 mb-3"}}}),fe(l,y.LP.VideoItemPreview,{component:p.k.Component,options:{className:"w-100",template:ae(),viewOptions:{styles:{text:"llETB",subText:"cVPKV",multilineSubText:"iudLa",thumbnail:"BOVoF"}}}}),fe(l,y.LP.EditResourcesCVContent,{component:p.k.Component,options:{className:"w-100",template:ue(),viewOptions:{styles:{header:"LnFjm",item:"hc6to"}}}}),fe(l,y.LP.TagFilter,{component:p.k.Component,options:{template:le(),viewOptions:{styles:{tagWidth1:"crQ4v",tagWidth2:"aolKU",tagWidth3:"m4Soc"}}}}),l),de=n(49282),he=n(33800);function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ve,me=(be(pe={},y.__.Thumbnails,{width:640,height:360}),be(pe,y.__.Banners,{width:1200,height:222}),be(pe,y.__.Logos,{width:128,height:128}),pe),ge=be({},y.__.Thumbnails,{width:1280,height:720}),we=n(56154),Oe="yqfkI",Se="b4Rma";function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pe,Ee=(Ce(ve={},y.ub.Default,(function(){return{imageUrl:we.W.EmptyStates.Default,customClass:Oe,customImageClass:Se}})),Ce(ve,y.ub.LibraryEditor,(function(e){return{imageUrl:we.W.EmptyStates.LIBRARY_EDITOR,heading:e.options.componentOptions.heading,description:'<p class="mt-n3">'.concat(e.options.componentOptions.description,'</p><button class="add-library btn btn-outline-dark position-relative ').concat("FAaLS",'">\n <span class="d-inline-block position-absolute ').concat("iRfSI",'">\n ').concat(e.options.componentOptions.plusSvg,"</span> ").concat(e.options.componentOptions.btnText,"</button>"),appLink:{".add-library":{application:a.OV.LIBRARY_EDITOR,action:u.e.LibraryEditor.NEW_LIBRARY}},customClass:"".concat(Oe," bg-white"),customImageClass:Se}})),Ce(ve,y.ub.Library,(function(e){return{imageUrl:we.W.EmptyStates.LIBRARY,heading:e.options.componentOptions.heading,description:e.options.componentOptions.description,appLink:{".add-folder":{application:a.OV.LIBRARY_EDITOR,action:u.e.Shared.NEW_FOLDER,args:[e.options.componentOptions.libraryId]}},customClass:"".concat(Oe," bg-white"),customImageClass:Se}})),Ce(ve,y.ub.Folder,(function(e){return{imageUrl:we.W.EmptyStates.FOLDER,heading:e.options.componentOptions.heading,description:e.options.componentOptions.description,customClass:Oe,customImageClass:Se}})),Ce(ve,y.ub.Series,(function(e){return{imageUrl:we.W.EmptyStates.SERIES,heading:e.options.componentOptions.heading,description:e.options.componentOptions.description,customClass:Oe,customImageClass:Se}})),Ce(ve,y.ub.Search,(function(e){return{imageUrl:we.W.EmptyStates.SEARCH,heading:e.options.componentOptions.heading,description:e.options.componentOptions.description,customClass:Oe,customImageClass:Se}})),Ce(ve,y.ub.AwaitingReview,(function(e){return{imageUrl:we.W.EmptyStates.AWAITING_REVIEW,heading:e.options.componentOptions.heading,description:e.options.componentOptions.description,appLink:{".disable-review":{application:a.OV.CONTENT_UPDATES,action:u.e.ContentUpdates.DISABLE_REVIEW}},customClass:Oe,customImageClass:Se}})),Ce(ve,y.ub.PastReleases,(function(e){return{imageUrl:we.W.EmptyStates.CONTENT_UPDATES,heading:e.options.componentOptions.heading,customClass:Oe,customImageClass:Se}})),Ce(ve,y.ub.VideoAccess,(function(e){return{imageUrl:we.W.EmptyStates.VIDEO_ACCESS,heading:e.options.componentOptions.heading,customClass:Oe,customImageClass:Se}})),ve),ke=n(36357),_e=n(57857);function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var je="shared.constants",Te=(Re(Pe={},ke.E.StudentWorkspaceSharing,(function(){return _e.T.getPhrase(je,"studentWorkspaceSharing")})),Re(Pe,ke.E.StudentToStudentMessaging,(function(){return _e.T.getPhrase(je,"studentMessaging")})),Re(Pe,ke.E.HideResourcesForStudents,(function(){return _e.T.getPhrase(je,"hideResources")})),Re(Pe,ke.E.LibraryReview,(function(){return _e.T.getPhrase(je,"libraryReview")})),Re(Pe,ke.E.SchoolMessaging,(function(){return _e.T.getPhrase(je,"schoolMessaging")})),n(54008)),Ae={NAME:"Webplayer"},Le=n(85146),xe={UploadingUserContent:"terms-and-conditions/#uploading-user-content"},Ve={VERIFY_EMAIL:"/settings/account"},Ne=n(64234),De=(n(63400),{edge:16}),Be={VERIFY_EMAIL:"/settings/account"}},29457:function(e,t,n){"use strict";var r,o,i,a,c,u,s,l,f,p,y,d,h,b,v;function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Zn:function(){return v},Cv:function(){return i},ub:function(){return l},Ei:function(){return r},__:function(){return p},En:function(){return f},LP:function(){return o},lY:function(){return b},F2:function(){return s},K4:function(){return h},i4:function(){return d},lA:function(){return u}}),function(e){e[e.MostRecent=0]="MostRecent",e[e.LeastRecent=1]="LeastRecent",e[e.AtoZ=2]="AtoZ",e[e.ZtoA=3]="ZtoA",e[e.OrderIndex=4]="OrderIndex",e[e.ProductionYear=5]="ProductionYear",e[e.Newest=6]="Newest",e[e.SeriesSort=7]="SeriesSort"}(r||(r={})),function(e){e[e.Banner=0]="Banner",e[e.VideoListHeader=1]="VideoListHeader",e[e.VideoListSubheading=2]="VideoListSubheading",e[e.SeriesVideoListSubheading=3]="SeriesVideoListSubheading",e[e.VideoList=4]="VideoList",e[e.VideoListWithBulkActions=5]="VideoListWithBulkActions",e[e.VideoGroupList=6]="VideoGroupList",e[e.SubFolder=7]="SubFolder",e[e.NotificationPopover=8]="NotificationPopover",e[e.SearchBar=9]="SearchBar",e[e.SearchFilter=10]="SearchFilter",e[e.PastReleasesSearchFilter=11]="PastReleasesSearchFilter",e[e.AwaitingReviewHeader=12]="AwaitingReviewHeader",e[e.VideoSidebarInfo=13]="VideoSidebarInfo",e[e.VideoBasicInfo=14]="VideoBasicInfo",e[e.VideoHeader=15]="VideoHeader",e[e.EditVideoTabs=16]="EditVideoTabs",e[e.EditVideoDetails=17]="EditVideoDetails",e[e.EditVideoChapterList=18]="EditVideoChapterList",e[e.EditVideoChaptersForm=19]="EditVideoChaptersForm",e[e.EditVideoUploadArea=20]="EditVideoUploadArea",e[e.WebPlayer=21]="WebPlayer",e[e.Share=22]="Share",e[e.LeftNav=23]="LeftNav",e[e.LibraryFolders=24]="LibraryFolders",e[e.EditResourcesCVContent=25]="EditResourcesCVContent",e[e.TagFilter=26]="TagFilter",e[e.VideoItemPreview=27]="VideoItemPreview",e[e.Unselected=28]="Unselected",e[e.Breadcrumbs=29]="Breadcrumbs"}(o||(o={})),function(e){e.AU="AU",e.UK="UK",e.NZ="NZ",e.US="US"}(i||(i={})),function(e){e[e.Unclassified=0]="Unclassified",e[e.Primary=1]="Primary",e[e.Secondary=2]="Secondary",e[e.K12=3]="K12",e[e.Tertiary=4]="Tertiary",e[e.NonEducational=5]="NonEducational",e[e.Partners=6]="Partners",e[e.Internal=7]="Internal",e[e.Other=8]="Other",e[e.HostedLibrary=9]="HostedLibrary"}(c||(c={})),m(a={},c.Unclassified,{hasYearGroups:!0}),m(a,c.Primary,{hasYearGroups:!0}),m(a,c.Secondary,{hasYearGroups:!0}),m(a,c.K12,{hasYearGroups:!0}),m(a,c.Tertiary,{hasYearGroups:!1}),m(a,c.NonEducational,{hasYearGroups:!1}),m(a,c.Partners,{hasYearGroups:!0}),m(a,c.Internal,{hasYearGroups:!0}),m(a,c.Other,{hasYearGroups:!0}),m(a,c.HostedLibrary,{hasYearGroups:!0}),function(e){e[e.All=0]="All",e[e.Kindergarten=1]="Kindergarten",e[e.Year1=2]="Year1",e[e.Year2=3]="Year2",e[e.Year3=4]="Year3",e[e.Year4=5]="Year4",e[e.Year5=6]="Year5",e[e.Year6=7]="Year6",e[e.Year7=8]="Year7",e[e.Year8=9]="Year8",e[e.Year9=10]="Year9",e[e.Year10=11]="Year10",e[e.Year11=12]="Year11",e[e.Year12=13]="Year12",e[e.Year13=14]="Year13",e[e.Students=15]="Students",e[e.Staff=16]="Staff"}(u||(u={})),function(e){e[e.Private=1]="Private",e[e.SchoolOnly=2]="SchoolOnly",e[e.Public=3]="Public"}(s||(s={})),function(e){e[e.Default=0]="Default",e[e.LibraryEditor=1]="LibraryEditor",e[e.Library=2]="Library",e[e.Folder=3]="Folder",e[e.Series=4]="Series",e[e.Search=5]="Search",e[e.Notifications=6]="Notifications",e[e.VideoAccess=7]="VideoAccess",e[e.AwaitingReview=8]="AwaitingReview",e[e.PastReleases=9]="PastReleases"}(l||(l={})),function(e){e[e.Video=11]="Video",e[e.CustomMediaObjectCollection=19]="CustomMediaObjectCollection"}(f||(f={})),function(e){e[e.Thumbnails=0]="Thumbnails",e[e.Banners=1]="Banners",e[e.Avatars=2]="Avatars",e[e.Logos=3]="Logos"}(p||(p={})),function(e){e[e.None=0]="None",e[e.ImageAPIv1=1]="ImageAPIv1",e[e.FileAPIv1=2]="FileAPIv1",e[e.ImageApiv2=3]="ImageApiv2"}(y||(y={})),function(e){e.Guest="Guest",e.User="User",e.Admin="Admin",e.SuperAdmin="SuperAdmin",e.System="System"}(d||(d={})),function(e){e.FULL_YEAR="D MMMM YYYY",e.YEAR="YYYY",e.TIME="HH:mm"}(h||(h={})),function(e){e[e.TermUpdate=1]="TermUpdate",e[e.RestrictedByAdmin=2]="RestrictedByAdmin"}(b||(b={})),function(e){e.Producer="producers",e.Director="directors",e.ProductionCompany="productionCompanies",e.Distributor="distributors"}(v||(v={}))},93839:function(e,t,n){"use strict";n.d(t,{bX:function(){return T},XX:function(){return p},HH:function(){return S},U8:function(){return I},dR:function(){return y.d}});var r=n(39479),o=n(88070),i=n(57857);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function s(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f="shared.forbiddenAccess",p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(y,e);var t,n,o,a,p=(o=y,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(o);if(a){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function y(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(n=p.call(this,i.T.getPhrase(f,"title"))).acceptedRoles=e,n.redirectUrl=t,n}return t=y,(n=[{key:"name",get:function(){return"ForbiddenAccessError"}},{key:"heading",get:function(){return i.T.getPhrase(f,"heading",{roles:this.getRolesString()})}},{key:"description",get:function(){var e=i.T.getPhrase(f,"goToClickView");return'<a class="info-link" href="'.concat(this.redirectUrl,'">').concat(e,"</a>")}},{key:"getRolesString",value:function(){if(1===this.acceptedRoles.length)return i.T.getPhrase(f,"acceptedRole",{role:this.acceptedRoles[0]});if(2===this.acceptedRoles.length)return i.T.getPhrase(f,"acceptedRoles",{role1:this.acceptedRoles[0],role2:this.acceptedRoles[1]});var e="";return r.each(this.acceptedRoles.slice(0,this.acceptedRoles.length-1),(function(t){e+=i.T.getPhrase(f,"rolesJoin",{role:t})})),"\n ".concat(e," ").concat(i.T.getPhrase(f,"and")," ").concat(this.acceptedRoles[this.acceptedRoles.length-1]).concat(i.T.getPhrase(f,"s"),"\n ")}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),y}(o.H),y=n(76693),d=n(88181),h=n(85835);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function g(e,t){if(t&&("object"===b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var O="shared.localCacheDeviceNotFound",S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(c,e);var t,n,r,o,a=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(r);if(o){var n=w(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,i.T.getPhrase(O,"title"))}return t=c,(n=[{key:"name",get:function(){return"LocalCacheDeviceNotFoundError"}},{key:"dialogOptions",get:function(){return{title:i.T.getPhrase(O,"heading"),text:i.T.getPhrase(O,"body")}}}])&&v(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(h.S),C=n(89707);function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},k(e,t)}function _(e,t){if(t&&("object"===P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var j="shared.emailNotVerified",T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&k(e,t)}(c,e);var t,n,r,o,a=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=R(r);if(o){var n=R(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _(this,e)});function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this,i.T.getPhrase(j,"title"))).config=e,t}return t=c,(n=[{key:"name",get:function(){return"EmailNotVerifiedError"}},{key:"heading",get:function(){return i.T.getPhrase(j,"heading")}},{key:"description",get:function(){return i.T.getPhrase(j,"verify",{url:C.k.getMainProductUrl(this.config,d.TC.VERIFY_EMAIL,d.$j.VERIFY_EMAIL),linkClasses:"info-link"})}}])&&E(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.H),A=n(75390);function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V(e,t){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},V(e,t)}function N(e,t){if(t&&("object"===L(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function D(e){return D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},D(e)}var B="shared.noBetaAccess",I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}(c,e);var t,n,r,o,a=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=D(r);if(o){var n=D(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return N(this,e)});function c(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(n=a.call(this,i.T.getPhrase(B,"title"))).marketingSiteUrl=e,n.mainProductUrl=t,n}return t=c,(n=[{key:"name",get:function(){return"NoAccessError"}},{key:"heading",get:function(){return i.T.getPhrase(B,"heading")}},{key:"description",get:function(){return i.T.getPhrase(B,"body",{learnMoreUrl:A._.safeUrlConcat(this.marketingSiteUrl,"/library-editor"),mainProductUrl:this.mainProductUrl})}}])&&x(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.H)},76693:function(e,t,n){"use strict";n.d(t,{d:function(){return l}});var r=n(31647),o=n(57857);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(f,e);var t,n,r,i,l=(r=f,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(r);if(i){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),l.call(this,o.T.getPhrase("shared.notFound","title"))}return t=f,(n=[{key:"name",get:function(){return"NotFoundError"}}])&&a(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(r.Q.SilentError)},27633:function(e,t,n){"use strict";n.d(t,{$U:function(){return f},TN:function(){return c}});var r=n(31647),o=n(21679),i=n(88181),a=n(93839);function c(e,t){var n=o.u.getInstance(i.Or.User),c=o.u.getInstance(i.Or.Config);n.getCurrentUser((function(n){o.u.releaseInstance(i.Or.User),n.get("emailVerified")?t(e):c.getConfig((function(e){o.u.releaseInstance(i.Or.Config),r.Q.AppLinkUtility.routingEnded(),r.Q.ErrorHelper.throw(new a.bX(e))}))}))}var u=n(84868),s=n(89707),l=n(29457);function f(e,t){o.u.getInstance(i.Or.Product).getProducts((function(n){if(o.u.releaseInstance(i.Or.Product),n.find((function(e){return e.get("id")===u.x.LibraryEditor})))t(e);else{var c=o.u.getInstance(i.Or.Config);o.u.getInstance(i.Or.User).getCurrentUser((function(e){o.u.releaseInstance(i.Or.User),c.getConfig((function(t){if(o.u.releaseInstance(i.Or.Config),r.Q.AppLinkUtility.routingEnded(),e.get("role")!==l.i4.Admin){var n=s.k.getMainProductUrl(t);r.Q.ErrorHelper.throw(new a.XX([l.i4.Admin],n))}else{var c=s.k.getMainProductUrl(t);r.Q.ErrorHelper.throw(new a.U8(t.get("marketingSiteUrl"),c))}}))}))}}))}},50997:function(e,t,n){"use strict";n.d(t,{$U:function(){return a.$U},eX:function(){return o.eX},OV:function(){return o.OV},Vk:function(){return o.Vk},M_:function(){return o.M_},Or:function(){return o.Or},YR:function(){return r.YR},Wn:function(){return o.Wn},jr:function(){return o.jr},K4:function(){return i.K4},TN:function(){return a.TN}}),n(13156);var r=n(10101),o=n(88181),i=n(29457),a=(n(93839),n(27633));n(3059),n(26776),n(61843)},1091:function(e,t,n){"use strict";n.d(t,{F:function(){return l}});var r=n(33303),o=n(88181);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(l,e);var t,n,r,i=(n=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(n);if(r){var o=s(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return u(this,e)});function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return a(this,l),i.call(this,{collectionPrefix:"".concat(o.M_.VIDEOS,":collection"),id:e,sort:t,cursor:n})}return t=l,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.J)},3059:function(e,t,n){"use strict";n.d(t,{KX:function(){return _},IJ:function(){return h},xw:function(){return O},F7:function(){return r.F}});var r=n(1091),o=n(39479),i=n(33303),a=n(88181),c=n(44937),u=n(39090);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function y(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(h,e);var t,n,r,i,s=(r=h,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(r);if(i){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function h(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),(t=s.call(this,{collectionPrefix:"".concat(a.M_.RECENT_VIDEOS,":collection"),cursor:e.cursor,sort:e.sort})).setAdditionalData(e),t}return t=h,(n=[{key:"setAdditionalData",value:function(e){var t=e.libraryIds,n=e.dateQueryString,r=e.subjects;t&&(this.libraryIds=t),r&&(o.isArray(r)&&r.length&&(this.subjects=r),o.isArray(r)||(this.subjects=[r]));var i=o.findWhere(u.US,{queryString:n})||u.U1;this.dateOption=new c.Wx(i)}},{key:"toString",value:function(){var e,t=this.subjects&&this.subjects.length&&this.subjects.map((function(e){return escape(e.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat((e=t,function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var e={};return this.libraryIds&&(e.libraryIds=this.libraryIds),this.dateOption&&(e.from=this.dateOption.get("from"),e.to=this.dateOption.get("to")),this.subjects&&(e.subjectIds=o.flatten(this.subjects.map((function(e){return e.get("subjectIds")})))),this.cursor&&(e.cursor=this.cursor),e}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),h}(i.J);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function g(e,t){if(t&&("object"===b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(l,e);var t,n,r,i,s=(r=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(r);if(i){var n=w(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=s.call(this,{collectionPrefix:"".concat(a.M_.RECENT_SUBJECTS,":collection"),sort:e.sort})).setAdditionalData(e),t}return t=l,(n=[{key:"setAdditionalData",value:function(e){var t=e.libraryIds,n=e.dateQueryString;t&&(this.libraryIds=t);var r=o.findWhere(u.US,{queryString:n})||u.U1;this.dateOption=new c.Wx(r)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var e={};return this.libraryIds&&(e.libraryIds=this.libraryIds),this.dateOption&&(e.from=this.dateOption.get("from"),e.to=this.dateOption.get("to")),e}}])&&v(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(i.J);function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},P(e,t)}function E(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&P(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=k(n);if(r){var o=k(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return E(this,e)});function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return C(this,i),o.call(this,{collectionPrefix:a.M_.FOLDERS,id:e,sort:t,cursor:n})}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(i.J)},26776:function(e,t,n){"use strict";n.d(t,{O:function(){return si}});var r=n(1024),o=n.n(r),i=n(39479),a=n(31647),c=n(43630),u=n.n(c),s=n(10074),l=n.n(s);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"name",get:function(){return"PageFooterComponent"}},{key:"template",get:function(){return l()}},{key:"lang",get:function(){return"shared.pageFooter"}},{key:"className",get:function(){return"text-center py-3 text-muted"}},{key:"viewOptions",value:function(){return{currentYear:(new Date).getFullYear(),version:this.options.version}}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Q.Component),v=n(88181),m=n(264),g=n(83162),w=n(57857),O=n(34429),S=n(81937),C={dropMask:"jGj5j",dropContent:"vGgOe",dropArea:"ivctm",dragOver:"gTqUS",border:"QeVU_"},P=n(95531),E=n.n(P);function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j(e,t){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},j(e,t)}function T(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var L=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&j(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=A(r);if(o){var n=A(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return T(this,e)});function a(){return _(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,S.S.FILES_SELECTED,this.onDragLeave);var e="file:drop:lock";this.listenTo(e,"lock",this.lock),this.listenTo(e,"unlock",this.unlock)}},{key:"events",get:function(){var e,t,n;return n="onDragLeave",(t="dragleave .".concat(C.dropArea))in(e={drop:"onDrop",dragover:"onDragOver"})?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},{key:"lang",get:function(){return"shared.behaviors.fileDrop"}},{key:"lock",value:function(){this.locked=!0}},{key:"unlock",value:function(){this.locked=!1}},{key:"onDrop",value:function(){this.locked||this.$el.removeClass(C.dragOver)}},{key:"onDragOver",value:function(e){this.locked||O.M.isFileDrag(e)&&(this.$el.addClass(C.dragOver),e.preventDefault())}},{key:"onDragLeave",value:function(){this.locked||this.$el.removeClass(C.dragOver)}},{key:"onRender",value:function(){this.$el.append(E()({styles:C,fileDropText:w.T.getPhrase(this.lang,"fileDrop")}))}}])&&R(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Q.Behavior),x=n(21679),V=n(33800),N=n(30314),D=n.n(N),B=n(58566);function I(e){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}function U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F(){return F="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=H(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},F.apply(this,arguments)}function H(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=q(e)););return e}function z(e,t){return z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},z(e,t)}function G(e,t){if(t&&("object"===I(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function q(e){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},q(e)}var Q=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=q(r);if(i){var n=q(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return G(this,e)});function c(){return U(this,c),a.apply(this,arguments)}return t=c,(n=[{key:"isReactComponent",value:function(e){return o()&&o().isValidElement(e)}},{key:"showChildView",value:function(e,t,n){this.isReactComponent(t)?this.showChildReactComponent(e,t):(this.unmountComponent(e),F(q(c.prototype),"showChildView",this).call(this,e,t,n))}},{key:"showChildReactComponent",value:function(e,t){var n=this;this.isAttached()?this.renderChildReactComponent(e,t):this.listenToOnce(this,"attach",(function(){return n.renderChildReactComponent(e,t)}))}},{key:"renderChildReactComponent",value:function(e,t){var n=this.getRegion(e),r=this.$el.find(n.el);r&&r.length&&(n.trigger("before:show"),D().render(t,r[0],(function(){return n.trigger("show")})),this.listenToOnce(this,"unmount:".concat(e),(function(){return D().unmountComponentAtNode(r[0])})),this.listenToOnce(this,"before:destroy",(function(){return D().unmountComponentAtNode(r[0])})))}},{key:"wrapWithStore",value:function(e){return o().createElement(B.Provider,{store:this.options.store},e)}},{key:"unmountComponent",value:function(e){var t=this.getRegion(e),n=this.$el.find(t.el);n&&n.length&&D().unmountComponentAtNode(n[0])}}])&&M(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(n(97725).s),W=n(99249),Y=n(11543),Z=n(23859),K=n(69184),X=n(33955),J=n(63791),ee=n(34176),te=n.n(ee),ne={notificationIcon:"WHqdt",light:"XtnZx",dark:"gSAyt",unreadCount:"j3umR"};function re(e){return re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(e)}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ie(e,t)}function ae(e,t){if(t&&("object"===re(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ce(e){return ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ce(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ie(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ce(r);if(o){var n=ce(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ae(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"name",get:function(){return"NotificationStatusComponent"}},{key:"className",get:function(){return"notification-status mx-2 ".concat(ne.notificationIcon," ").concat(ne[this.options.color])}},{key:"template",get:function(){return te()}},{key:"initialize",value:function(){this.listenTo(this.model,"change:unreadCount",this.render)}},{key:"viewOptions",value:function(){return{styles:ne,svg:J.Nj.getSvg(J.vn.Bell),unreadCount:this.model.get("unreadCount")}}}])&&oe(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Q.Component),se=n(43129),le=n(70125),fe=n(33303),pe=n(83739),ye=n.n(pe),de=n(24355),he=n.n(de),be=n(58081),ve=n(4039);function me(e){return me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},me(e)}function ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function we(e,t){return we=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},we(e,t)}function Oe(e,t){if(t&&("object"===me(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Se(e){return Se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Se(e)}var Ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&we(e,t)}(c,e);var t,n,r,o,i=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Se(r);if(o){var n=Se(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Oe(this,e)});function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i.call(this,e)}return t=c,(n=[{key:"name",get:function(){return"NotificationPopoverView"}},{key:"title",get:function(){return!1}},{key:"lang",get:function(){return"notifications.notificationsPopover"}},{key:"className",get:function(){return"notifications-container"}},{key:"template",get:function(){return ye()}},{key:"regions",value:function(){return{notifications:{replaceElement:!0,el:".list-region",partialLoading:{component:le.k.ComponentCollection,options:{collectionLength:5,childOptions:{template:he(),className:"px-1 py-2",viewOptions:{styles:be.Z}}}}}}}},{key:"elements",get:function(){return{anchor:".see-all"}}},{key:"appLinks",get:function(){return{"@ui.anchor":this.appVariables.appLinks.notifications}}},{key:"initialize",value:function(){this.notificationService=x.u.getInstance(Y.D.Notification,this),this.appVariables=x.u.getInstance(Z.C.NOTIFICATIONS,this)}},{key:"onData",value:function(e){this.collection=e,this.render()}},{key:"getCollectionIdentifier",value:function(){return this.collectionIdentifier?this.collectionIdentifier:this.collectionIdentifier=new fe.J({collectionPrefix:X.j.NOTIFICATIONS})}},{key:"renderNotificationList",value:function(){var e=new se.Z({collection:this.collection,childType:this.options.childType,isPopover:!0,hasLite:this.options.hasLite,liteUrl:this.config instanceof a.Q.Model?this.config.get("liteUrl"):this.config.liteUrl});this.showChildView("notifications",e)}},{key:"requiredResources",get:function(){return{config:ve.p.config}}},{key:"onBeforeRender",value:function(){var e=this;return this.collection||this.notificationService.getNotifications(null,this.getCollectionIdentifier(),(function(t){return e.onData(t)})),!!this.collection}},{key:"viewOptions",value:function(){return{hasNotifications:this.collection&&this.collection.length}}},{key:"onRender",value:function(){this.renderNotificationList()}}])&&ge(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(a.Q.View),Pe=n(26938),Ee=n.n(Pe),ke={notificationsContainer:"gmcvN",noPopoverArrow:"Xkn0c"};function _e(e){return _e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_e(e)}function Re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function je(e,t){return je=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},je(e,t)}function Te(e,t){if(t&&("object"===_e(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ae(e){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ae(e)}var Le,xe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&je(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ae(r);if(o){var n=Ae(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Te(this,e)});function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e))._markedSeen=!1,t}return t=a,(n=[{key:"initialize",value:function(){this.appVariables=x.u.getInstance(Z.C.NOTIFICATIONS),this.notificationService=x.u.getInstance(Y.D.Notification,this),this.listenTo(K.iK.NOTIFICATIONS_SOCKET,"".concat(X.j.NOTIFICATIONS,":new:sync"),this.onNewNotification)}},{key:"name",get:function(){return"NotificationHeaderView"}},{key:"title",get:function(){return!1}},{key:"className",get:function(){return"d-flex align-items-center position-relative ".concat(ke.noPopoverArrow)}},{key:"template",get:function(){return Ee()}},{key:"regions",value:function(){return{status:{el:".notifications-status-region",replaceElement:!1},notifications:{el:".notifications-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .notifications-status-region":"renderNotificationList","show.bs.dropdown":"triggerSeen"}}},{key:"triggerSeen",value:function(){this._markedSeen||(this._markedSeen=!0,this.notificationService.markNotificationsSeen())}},{key:"onNewNotification",value:function(){this._markedSeen=!1}},{key:"renderNotificationList",value:function(){var e=new Ce({childType:se.z.Popover,hasLite:this.options.hasLite});this.showChildView("notifications",e)}},{key:"renderNotificationStatus",value:function(){var e=x.u.getInstance(Y.D.Notification),t=new ue({model:e.getNotificationsMetadata(),color:this.appVariables.bellIconColor});this.showChildView("status",t)}},{key:"viewOptions",value:function(){return ke}},{key:"onRender",value:function(){this.renderNotificationStatus()}}])&&Re(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Q.View),Ve=n(48088),Ne=n(70065),De=n(52076),Be=n(97779),Ie=n(4705),Ue=n(63151),Me=n(75432),Fe="mask",He="mask-lock",ze={showMask:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.targetSelector,n=e.additionalClasses,r=e.fade,o=void 0===r||r,i=$(".".concat(Fe));if(!i.length){var a=$("<div>",{class:"".concat(Fe," ").concat(n||"")});return o&&a.addClass("fade show"),$(a).appendTo(ze.getTarget(t)),$(ze.getTarget(t)).addClass(He),a}},hideMask:function(e){var t=e||$(".".concat(Fe));t.length&&($(".".concat(He)).removeClass(He),t.remove())},getTarget:function(e){var t=$(e||"#app");if(t.length)return t}},Ge=n(95819),qe=n(80024),Qe=n(58174);!function(e){e[e.HostedLibrary=0]="HostedLibrary",e[e.Exchange=1]="Exchange",e[e.MoviesAndTvLibrary=2]="MoviesAndTvLibrary"}(Le||(Le={}));var We,Ye=n(69548),Ze=Ye.V.SuggestionLimit,Ke={prepareQuery:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.model,o=n.libraryIds,i=n.presentationId;r&&r.get("filterValue")&&(e+=" ".concat(r.get("filterParam"),':"').concat(r.get("filterValue"),'"'));var a="".concat(t.url,"?q=").concat(e);return o&&(a+="&ids=".concat(o)),i&&(a+="&presentationId=".concat(i)),a},bloodhoundConfig:function(e,t){return{datumTokenizer:Bloodhound.tokenizers.obj.nonword("label"),queryTokenizer:Bloodhound.tokenizers.whitespace,remote:{url:"/api/domain/v1/search/instant",prepare:i.partial(Ke.prepareQuery,i,i,t),transform:i.partial(Ke.handleResult,i,e)}}},handleResult:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t===Qe.n.Subjects?Ke.processSubjectResult(e[t]):t===Qe.n.Video?Ke.processVideoResult(e[t]):n.showFolder&&t===Qe.n.Folder?Ke.processFolderResult(e[t]):t===Qe.n.Series?Ke.processSeriesResult(e[t]):t===Qe.n.Tags?Ke.processTagsResult(e[t]):[]},processSubjectResult:function(e){return[]},processVideoResult:function(e){return e?(e=Ke.processCollection(e),i.map(e,(function(e){return e.cached||(e.topics=i.map(e.topics,(function(e){return{name:e}})),e.series={id:e.seriesId,name:e.seriesName},e.thumbnail={url:e.thumbnailUrl},e.cached=!0),e}))):[]},processTagsResult:function(e){if(!e)return[];var t=x.u.getInstance(Z.C.SEARCH,this);return e=Ke.processCollection(e),i.map(e,(function(e){return e.cached||(e.url=a.Q.AppLinkHelper.getHref(Object.assign(Object.assign({},t.appLinks.searchResults),{params:{tag:e.name}})),e.cached=!0),e}))},processSeriesResult:function(e){return e?(e=Ke.processCollection(e),i.map(e,(function(e){var t;return e.series?t=e.series:e.folder&&e.folder.length&&(t=i.first(e.folder)),i.extend({},e,{collectionType:void 0,collection:t})}))):[]},processFolderResult:function(e){return e?(e=Ke.processCollection(e,{limit:Ze.Folder}),i.map(e,(function(e){var t=e.library,n=void 0===t?{}:t;return n.type===Le.Exchange&&(n.name="Exchange"),i.extend({},e,{libraryId:n.id,libraryName:n.name,libraryType:n.type})}))):[]},processCollection:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.limit,r=void 0===n?Ze.Default:n;return e.slice(0,r)}},$e={getRecentSearches:function(e,t){var n=t.cacheGet(e);return i.isArray(n)||(n=[]),n},setRecentSearches:function(e,t,n){i.isArray(t)&&n.cacheSet(e,t)},updateRecentSearches:function(e,t,n){var r=n.add,o=n.remove,a=n.query,c=n.limit,u=void 0===c?5:c,s=$e.getRecentSearches(e,t),l=i.indexOf(s,a);return r&&-1===l&&s.unshift(a),o&&l>-1&&s.splice(l,1),s.length>u&&(s=s.slice(0,u)),$e.setRecentSearches(e,s,t),s}},Xe=n(17391);function Je(e){return Je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Je(e)}function et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nt(e,t){return nt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},nt(e,t)}function rt(e,t){if(t&&("object"===Je(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ot(e){return ot=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ot(e)}!function(e){e.auto="auto",e.top="top",e.bottom="bottom",e.left="left",e.right="right"}(We||(We={}));var it=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nt(e,t)}(c,e);var t,n,r,o,a=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ot(r);if(o){var n=ot(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return rt(this,e)});function c(){return et(this,c),a.apply(this,arguments)}return t=c,(n=[{key:"defaults",get:function(){return{title:"",placement:We.bottom,size:"popover-md"}},set:function(e){}},{key:"ui",get:function(){return{popoverContainer:this.options.containerSelector}},set:function(e){var t={};this.view.ui&&(t=i.result(this.view,"ui")),this.view._ui=i.extend({},t,e)}},{key:"events",value:function(){return{"click .popover":"onClickPopover","inserted.bs.popover":"onPopoverInserted","hidden.bs.popover":"onPopoverHidden"}}},{key:"bindListeners",value:function(){this.options.toggleEventName&&this.listenTo(this.view.channelName,"".concat(this.options.toggleEventName),this.toggle)}},{key:"bindBodyClickListener",value:function(){$("body").one("click.popover".concat(this.view.cid),this.onClickOutside.bind(this))}},{key:"bindDropdownListener",value:function(){$("body").one("show.bs.dropdown.popover".concat(this.view.cid),this.onClickOutside.bind(this))}},{key:"onPopoverInserted",value:function(){this.bindBodyClickListener(),this.bindDropdownListener(),this.view.addRegion("content",{el:".popover-content",replaceElement:!0}),this.options.renderContent("content")}},{key:"onPopoverHidden",value:function(){$("body").off("click.popover".concat(this.view.cid)),$("body").off("show.bs.dropdown.popover".concat(this.view.cid))}},{key:"toggle",value:function(){this.view.$el.popover("toggle")}},{key:"hide",value:function(){this.view.$el.popover("hide")}},{key:"onClickPopover",value:function(e){e.stopPropagation()}},{key:"onClickOutside",value:function(){this.hide()}},{key:"getTrigger",value:function(){return this.options.toggleEventName?"manual":"click"}},{key:"onAttach",value:function(){this.popoverInitialized||(this.bindListeners(),this.view.$el.popover({title:this.options.title,content:'<div class="popover-content"></div>',placement:this.options.placement,trigger:this.getTrigger(),html:!0,container:this.view.getUI("popoverContainer"),boundary:this.options.boundary||"scrollParent",delay:1}),this.options.size&&this.view.getUI("popoverContainer").addClass(this.options.size),this.options.customClasses&&this.view.getUI("popoverContainer").addClass(this.options.customClasses),this.popoverInitialized=!0)}}])&&tt(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(a.Q.Behavior),at=n(14040),ct=n.n(at),ut=n(96171),st=n.n(ut),lt={svgContainer:"sC2CD",tip:"QgdPh",termContainer:"ExyWx",term:"QAQaO"};function ft(e){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ft(e)}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dt(e,t,n){return t&&yt(e.prototype,t),n&&yt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ht(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bt(e,t)}function bt(e,t){return bt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bt(e,t)}function vt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gt(e);if(t){var o=gt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mt(this,n)}}function mt(e,t){if(t&&("object"===ft(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function gt(e){return gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gt(e)}var wt=function(e){ht(n,e);var t=vt(n);function n(){return pt(this,n),t.apply(this,arguments)}return dt(n,[{key:"name",get:function(){return"SearchTipComponentItem"}},{key:"template",get:function(){return st()}},{key:"className",get:function(){return"py-2 ".concat(lt.tip)}},{key:"viewOptions",value:function(){return{styles:lt}}}]),n}(a.Q.Component),Ot=function(e){ht(n,e);var t=vt(n);function n(){return pt(this,n),t.apply(this,arguments)}return dt(n,[{key:"name",get:function(){return"SearchTipComponentCollection"}},{key:"childView",get:function(){return wt}}]),n}(a.Q.ComponentCollection),St=function(e){ht(n,e);var t=vt(n);function n(){return pt(this,n),t.apply(this,arguments)}return dt(n,[{key:"initialize",value:function(){this.collection=new a.Q.Collection([{term:["".concat(w.T.getPhrase(this.lang,"firstTerm"))],description:"".concat(w.T.getPhrase(this.lang,"firstDescription"))},{term:["".concat(w.T.getPhrase(this.lang,"secondTerm"))],description:"".concat(w.T.getPhrase(this.lang,"secondDescription"))},{term:["".concat(w.T.getPhrase(this.lang,"thirdTerm"))],description:"".concat(w.T.getPhrase(this.lang,"thirdDescription"))},{term:["".concat(w.T.getPhrase(this.lang,"fourthTerm1")),"".concat(w.T.getPhrase(this.lang,"fourthTerm2"))],description:"".concat(w.T.getPhrase(this.lang,"fourthDescription"))},{term:["".concat(w.T.getPhrase(this.lang,"fifthTerm"))],description:"".concat(w.T.getPhrase(this.lang,"fifthDescription"))}])}},{key:"name",get:function(){return"SearchTipsComponent"}},{key:"template",get:function(){return ct()}},{key:"lang",get:function(){return"search.searchTips"}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:it,containerSelector:".popover-container",title:w.T.getPhrase(this.lang,"heading"),size:"popover-lg",renderContent:function(t){return e.renderTips(t)}}]}},{key:"renderTips",value:function(e){this.showChildView(e,new Ot({collection:this.collection}))}},{key:"viewOptions",value:function(){return{styles:lt,searchInfoSvg:J.Nj.getSvg(J.vn.Info)}}}]),n}(a.Q.Component),Ct=n(56210),Pt=n(20384),Et=n.n(Pt),kt={svgContainer:"Ipj8Z",searchContextTag:"EE3yr",tagFocus:"Oa4BG",searchContextContainer:"PqqNe"};function _t(e){return _t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_t(e)}function Rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tt(e,t){return Tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Tt(e,t)}function At(e,t){if(t&&("object"===_t(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Lt(e){return Lt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lt(e)}var xt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tt(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Lt(r);if(o){var n=Lt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return At(this,e)});function a(){return Rt(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"initialize",value:function(){this.listenTo(K.Q4.CONTEXTUAL_SEARCH,"typeahead:toggle",this.toggleFocus)}},{key:"name",get:function(){return"SearchContextComponent"}},{key:"template",get:function(){return Et()}},{key:"tagName",get:function(){return"span"}},{key:"className",get:function(){return kt.searchContextContainer}},{key:"behaviors",get:function(){return[{behaviorClass:Ct.H,selector:".tool-tip",placement:"left"}]}},{key:"elements",get:function(){return{contextTag:".".concat(kt.searchContextTag),clearSvg:".".concat(kt.svgContainer)}}},{key:"events",value:function(){return{"click @ui.clearSvg":this.onClick,"mouseenter @ui.clearSvg":this.onMouseEnter,"mouseleave @ui.clearSvg":this.onMouseLeave}}},{key:"onClick",value:function(){Ve.Radio.channel(K.Q4.CONTEXTUAL_SEARCH).trigger("reset:search:context",{focus:!0}),this.model.set("preventTypeaheadClose",!1)}},{key:"onMouseEnter",value:function(){this.model.set("preventTypeaheadClose",!0)}},{key:"onMouseLeave",value:function(){this.model.set("preventTypeaheadClose",!1)}},{key:"toggleFocus",value:function(e){var t=this.getUI("contextTag");t&&t.get&&(e.open?t.addClass(kt.tagFocus):t.removeClass(kt.tagFocus))}},{key:"viewOptions",value:function(){return{styles:kt,closeSvg:J.Nj.getSvg(J.vn.Close)}}},{key:"onBeforeRender",value:function(){return!!this.model.get("searchTag")}}])&&jt(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Q.Component),Vt=n(27604),Nt=n.n(Vt),Dt={removeRecent:"dZFzp"};function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function It(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ut(e,t){return Ut=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ut(e,t)}function Mt(e,t){if(t&&("object"===Bt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ft(e){return Ft=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ft(e)}var Ht=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ut(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ft(r);if(o){var n=Ft(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Mt(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"name",get:function(){return"RecentSearchResultComponent"}},{key:"template",get:function(){return Nt()}},{key:"className",get:function(){return"text-capitalize p-2 container-fluid"}},{key:"events",value:function(){return{"click .remove-recent":"onClick"}}},{key:"viewOptions",value:function(){return{styles:Dt,closeSvg:J.Nj.getSvg(J.vn.Close)}}},{key:"onClick",value:function(e){var t=this;return e.stopPropagation(),setTimeout((function(){Ve.Radio.channel(t.options.channelName).trigger("remove:recent",t.model.get("name"))}),0),this.destroy(),!1}}])&&It(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Q.Component),zt=n(59600),Gt=n.n(zt);function qt(e){return qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qt(e)}function Qt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yt(e,t){return Yt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yt(e,t)}function Zt(e,t){if(t&&("object"===qt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Kt(e){return Kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Kt(e)}var $t=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yt(e,t)}(c,e);var t,n,r,o,i=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Kt(r);if(o){var n=Kt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Zt(this,e)});function c(){return Qt(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"initialize",value:function(){this.appVariables=x.u.getInstance(Z.C.SEARCH,this)}},{key:"name",get:function(){return"SeriesSearchResultComponent"}},{key:"template",get:function(){return Gt()}},{key:"className",get:function(){return"text-capitalize p-2"}},{key:"events",value:function(){return{"click a":"onClick"}}},{key:"onClick",value:function(e){return e.preventDefault(),!0}},{key:"getUrl",value:function(){var e=[this.model.get("id")];return this.appVariables.addSlugs&&e.push(Ue.m.slugify(this.model.get("name"))),a.Q.AppLinkHelper.getHref(Object.assign(Object.assign({},this.appVariables.appLinks.videoDetails),{args:e}))}},{key:"viewOptions",value:function(){return{url:this.getUrl(),name:this.model.get("name")}}}])&&Wt(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(a.Q.Component),Xt=n(42880),Jt=n.n(Xt);function en(e){return en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},en(e)}function tn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rn(e,t){return rn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rn(e,t)}function on(e,t){if(t&&("object"===en(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function an(e){return an=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},an(e)}var cn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rn(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=an(r);if(o){var n=an(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return on(this,e)});function a(){return tn(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return"TagSearchResultComponent"}},{key:"template",get:function(){return Jt()}},{key:"className",get:function(){return"text-capitalize p-2"}},{key:"events",value:function(){return{"click a":"onClick"}}},{key:"onClick",value:function(e){return e.preventDefault(),!0}}])&&nn(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Q.Component),un=n(2772),sn=n(36128),ln=n.n(sn);function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dn(e,t){return dn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dn(e,t)}function hn(e,t){if(t&&("object"===fn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function bn(e){return bn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bn(e)}var vn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dn(e,t)}(c,e);var t,n,r,o,i=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=bn(r);if(o){var n=bn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return hn(this,e)});function c(){return pn(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"initialize",value:function(){this.appVariables=x.u.getInstance(Z.C.SEARCH,this)}},{key:"name",get:function(){return"VideoSearchResultComponent"}},{key:"template",get:function(){return ln()}},{key:"className",get:function(){return"video-result p-2 container-fluid"}},{key:"regions",value:function(){return{thumbnail:{replaceElement:!0,el:".thumbnail-region"}}}},{key:"events",value:function(){return{"click a":"onClick"}}},{key:"onClick",value:function(e){return e.preventDefault(),!0}},{key:"getCollection",value:function(){var e=this.model,t=e.categories,n=e.series;return t&&t.length?{name:t.first().get("name"),type:"Folder"}:n&&n.get("name")?{name:n.get("name"),type:"Series"}:void 0}},{key:"getUrl",value:function(){var e=[this.model.get("id")];return this.appVariables.addSlugs&&e.push(Ue.m.slugify(this.model.get("name"))),a.Q.AppLinkHelper.getHref(Object.assign(Object.assign({},this.appVariables.appLinks.videoDetails),{args:e}))}},{key:"renderThumbnail",value:function(){var e=new un.Z({model:this.model});this.showChildView("thumbnail",e)}},{key:"viewOptions",value:function(){return{collection:this.getCollection(),url:this.getUrl()}}},{key:"onRender",value:function(){this.renderThumbnail()}}])&&yn(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(a.Q.Component),mn={coverImage:"ftaEw",coverContainer:"TnEwG",textContainer:"n57Af"},gn=n(31554),wn=n.n(gn);function On(e){return On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},On(e)}function Sn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pn(e,t){return Pn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pn(e,t)}function En(e,t){if(t&&("object"===On(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kn(e)}var _n=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pn(e,t)}(c,e);var t,n,r,o,i=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=kn(r);if(o){var n=kn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return En(this,e)});function c(){return Sn(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"initialize",value:function(){this.appVariables=x.u.getInstance(Z.C.SEARCH,this)}},{key:"name",get:function(){return"ClassificationSearchResultComponent"}},{key:"template",get:function(){return wn()}},{key:"className",get:function(){return"p-2 container-fluid"}},{key:"regions",value:function(){return{cover:{replaceElement:!0,el:".cover-region"}}}},{key:"events",value:function(){return{"click a":"onClick"}}},{key:"onClick",value:function(e){return e.preventDefault(),!0}},{key:"getUrl",value:function(){return a.Q.AppLinkHelper.getHref(Object.assign(Object.assign({},this.appVariables.appLinks.classification),{args:[this.model.get("id"),Ue.m.slugify(this.model.get("name"))]}))}},{key:"renderThumbnail",value:function(){var e=new un.Z({model:this.model,classNameOverride:"".concat(mn.coverImage," responsive-img")});this.showChildView("cover",e)}},{key:"viewOptions",value:function(){return{url:this.getUrl(),styles:mn}}},{key:"onRender",value:function(){this.renderThumbnail()}}])&&Cn(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(a.Q.Component),Rn=n(23429),jn=n.n(Rn),Tn=n(49545),An=n.n(Tn),Ln=n(17083),xn=n.n(Ln),Vn=n(15064),Nn=n.n(Vn),Dn=n(40683),Bn=n.n(Dn),In=n(50553),Un=n.n(In),Mn=n(20755),Fn=n.n(Mn),Hn=n(75303),zn=n.n(Hn),Gn=n(30330),qn=n.n(Gn),Qn={searchIcons:"kwrhL",searchSvgContainer:"twMuB",searchInput:"Ndqge",searchBar:"QFtd9"},Wn={searchBar:"QPIJh"},Yn=n(58379),Zn=n.n(Yn),Kn=n(53808);function $n(e){return function(e){if(Array.isArray(e))return Xn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Xn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jn(e){return Jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jn(e)}function er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tr(e,t){return tr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tr(e,t)}function nr(e,t){if(t&&("object"===Jn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rr(e)}var or=Ye.V.SuggestionLimit,ir=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tr(e,t)}(u,e);var t,n,r,o,c=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=rr(r);if(o){var n=rr(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return nr(this,e)});function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).viewCache={},t}return t=u,(n=[{key:"initialize",value:function(){this.appVariables=x.u.getInstance(Z.C.SEARCH,this),this.appVariables.useContextualSearch&&(this.contextualSearchService=x.u.getInstance(Y.D.ContextualSearch,this),this.searchContext=this.contextualSearchService.getSearchContext()),this.storageHelper=Ie.SG,this.bindListeners()}},{key:"name",get:function(){return"SearchBarView"}},{key:"title",get:function(){return!1}},{key:"tagName",get:function(){return"form"}},{key:"template",get:function(){return qn()}},{key:"lang",get:function(){return"search.searchBar"}},{key:"channelName",get:function(){return"searchbar:".concat(this.cid)}},{key:"className",get:function(){return"search-query-container position-relative m-0 w-100 form-control p-0 ".concat(Qn.searchBar)}},{key:"defaults",get:function(){return{showRecentSearch:!0}}},{key:"elements",get:function(){return{input:"#search",searchBarContainer:".search-bar-container"}}},{key:"events",value:function(){return{submit:"onSubmit","click .search-btn":"onClickSearch","click .close-btn":"onClickClose","click a":"onTypeaheadSelect",keydown:"onKeydown"}}},{key:"bindings",get:function(){return{"[name=search]":{observe:"query",setOptions:{validate:!0}}}}},{key:"regions",value:function(){return{partial:{el:".search-partial-region",replaceElement:!1,partialLoading:{component:le.k.Component,options:{template:Zn(),className:"w-100",viewOptions:{styles:Wn}}}},searchTips:{el:".search-tips-region",replaceElement:!1},searchContext:{el:".search-context-region",replaceElement:!0}}}},{key:"recentSearchKey",get:function(){return"recent:search:".concat(this.currentUser.id)}},{key:"bindListeners",value:function(){this.listenTo(K.iK.LIBRARY,"library:created library:deleted",this.render),this.options.showRecentSearch&&(this.listenTo(this.channelName,"remove:recent",this.onDeleteRecentSearch),this.appVariables.useContextualSearch&&(this.listenTo(this.searchContext,"change:filterValue",this.renderSearchContext),this.listenTo(K.Q4.CONTEXTUAL_SEARCH,"reset:search:context",this.onResetSearchContext)))}},{key:"getOrCacheView",value:function(e,t){var n=t.ctor,r=t.viewOptions;return this.viewCache[e]?this.viewCache[e]:this.viewCache[e]=new n(r)}},{key:"clearViewCache",value:function(){i.each(this.viewCache,(function(e){return e.destroy()})),this.viewCache={}}},{key:"getDynamicTemplate",value:function(e){var t=this;return e===qe.a.Recent?function(e){return t.getOrCacheView("recent:".concat(e),{ctor:Ht,viewOptions:{model:new a.Q.Model({name:e}),channelName:t.channelName}}).render().el}:e===Qe.n.Subjects?function(e){return t.getOrCacheView(e.id,{ctor:_n,viewOptions:{model:new a.Q.Model(e)}}).render().el}:e===Qe.n.Video?function(e){return t.getOrCacheView(e.id,{ctor:vn,viewOptions:{model:new a.Q.Model(e)}}).render().el}:e===Qe.n.Folder?jn():e===Qe.n.Series?function(e){return t.getOrCacheView(e.id,{ctor:$t,viewOptions:{model:new a.Q.Model(e)}}).render().el}:e===Qe.n.Tags?function(e){return t.getOrCacheView(e.id,{ctor:cn,viewOptions:{model:new a.Q.Model(e)}}).render().el}:void 0}},{key:"getLimits",value:function(e){return Qe.n.Folder,or.Folder}},{key:"updateSearchHistory",value:function(e){var t=e.add,n=e.remove,r=e.query;r=r.trim();var o=$e.updateRecentSearches(this.recentSearchKey,this.storageHelper,{add:t,remove:n,query:r,limit:or.Recent});return this.recentSearchEngine.clear(),this.recentSearchEngine.add(o),o}},{key:"handleRecentSearch",value:function(){if(this.options.showRecentSearch)if(this.getUI("input").typeahead("val"))this.$el.find(".tt-menu").removeClass("hide-results");else{if($e.getRecentSearches(this.recentSearchKey,this.storageHelper).length)return;this.$el.find(".tt-menu").addClass("hide-results")}}},{key:"onDeleteRecentSearch",value:function(e){return this.updateSearchHistory({remove:!0,query:e}).length||(this.$el.find(".tt-dataset-recent-searches").empty(),this.handleRecentSearch()),!1}},{key:"getInstantSearchAppLink",value:function(e,t){if(t===Qe.n.Series){var n=[e.id];return this.appVariables.addSlugs&&n.push(Ue.m.slugify(e.name)),Object.assign(Object.assign({},this.appVariables.appLinks.series),{args:n})}if(t===Qe.n.Video){var r=[e.id];return this.appVariables.addSlugs&&r.push(Ue.m.slugify(e.name)),Object.assign(Object.assign({},this.appVariables.appLinks.videoDetails),{args:r})}return t===Qe.n.Tags?Object.assign(Object.assign({},this.appVariables.appLinks.tagSearch),{params:{tag:e.name}}):t===Qe.n.Subjects?Object.assign(Object.assign({},this.appVariables.appLinks.classification),{args:[e.id,Ue.m.slugify(e.name)]}):void 0}},{key:"onTypeaheadSelect",value:function(e,t,n){if(e.preventDefault(),e.stopImmediatePropagation(),this.clearViewCache(),n="topics"===n?Qe.n.Subjects:n,"object"===Jn(t)&&t.id){var r=this.getInstantSearchAppLink(t,n);if(!r)return!1;var o=De.k.buildInstantSearchEvent(this.model.get("query"),t,n),i=o.data,c=o.action;return Be.c.log(Ne.UserAction.Search,i,c),this.model.clear(),this.getUI("input").typeahead("close"),Ve.Radio.channel(K.Q4.CONTEXTUAL_SEARCH).trigger("reset:search:context"),a.Q.AppLinkHelper.trigger(r),!1}var u="string"==typeof t?t:t.query;this.model.set({query:u});var s=n===qe.a.Recent?Ne.DirectSearchDescriptor.Recent:Ne.DirectSearchDescriptor.ShowAll;return this.submitQuery(s),!1}},{key:"onClickSearch",value:function(e){return e.stopPropagation(),this.submitQuery(Ne.DirectSearchDescriptor.SearchIcon),!1}},{key:"onClickClose",value:function(){Kn.q.isFunction(this.options.onClickClose)&&this.options.onClickClose()}},{key:"onSubmit",value:function(e){return e.preventDefault(),this.submitQuery(Ne.DirectSearchDescriptor.Submit),!1}},{key:"submitQuery",value:function(e){this.updateInitialQuery();var t,n,r,o,i=this.model.get("query");if(i){this.logSearch(i,e),this.updateSearchHistory({add:!0,query:i}),this.preventToggleEvent=!0,this.getUI("input").typeahead("close");var c=(t=this.searchContext)&&t.get("filterParam")?(n={},r=t.get("filterParam"),o=t.get("filterValue"),r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n):{};Ve.Radio.channel(K.Q4.CONTEXTUAL_SEARCH).trigger("reset:search:context"),a.Q.AppLinkHelper.trigger(Object.assign(Object.assign({},this.appVariables.appLinks.searchResults),{params:Object.assign({query:i},c)}))}}},{key:"resetQuery",value:function(){this.model.set({query:this.model.get("initialQuery")})}},{key:"updateInitialQuery",value:function(){this.model.set({initialQuery:this.model.get("query")})}},{key:"logSearch",value:function(e,t){var n=De.k.buildSearchEvent(e,t),r=n.data,o=n.action;Be.c.log(Ne.UserAction.Search,r,o)}},{key:"onTypeaheadOpen",value:function(){this.$(".twitter-typeahead").css({position:"static"}),this.showMask(),Ve.Radio.channel(K.Q4.CONTEXTUAL_SEARCH).trigger("typeahead:toggle",{open:!0});var e=this.model.get("query");e&&e.length>=Ye.V.ActivationLength&&this.getUI("input").typeahead("val",e),this.alignTypeahead()}},{key:"onBeforeTypeaheadClose",value:function(e){this.appVariables.useContextualSearch&&!this.searchContext.get("preventTypeaheadClose")||(e.preventDefault(),this.getUI("input").focus())}},{key:"onTypeaheadClose",value:function(){this.hideMask(),this.handleRecentSearch(),this.preventToggleEvent||Ve.Radio.channel(K.Q4.CONTEXTUAL_SEARCH).trigger("typeahead:toggle",{open:!1})}},{key:"showMask",value:function(){this.options.disableMask||(this.$el.addClass("active"),ze.showMask())}},{key:"hideMask",value:function(){this.options.disableMask||ze.hideMask()}},{key:"alignTypeahead",value:function(){var e=$(".tt-menu");!this.appVariables.useContextualSearch||this.searchContext.get("title")?e.addClass("typeahead-shift"):e.hasClass("typeahead-shift")&&e.removeClass("typeahead-shift")}},{key:"onTypeaheadRender",value:function(e,t,n,r){r===qe.a.Recent&&this.handleRecentSearch()}},{key:"initTypeaheadListeners",value:function(){var e=this.getUI("input");e.on("typeahead:select",i.bind(this.onTypeaheadSelect,this)),e.on("typeahead:render",i.bind(this.onTypeaheadRender,this)),e.on("typeahead:beforeclose",i.bind(this.onBeforeTypeaheadClose,this)),e.on("typeahead:close",i.bind(this.onTypeaheadClose,this)),e.on("typeahead:open",i.bind(this.onTypeaheadOpen,this))}},{key:"initNoLibrariesTypeaheadListeners",value:function(){var e=this,t=this.getUI("input");t.on("typeahead:open",i.bind(this.showMask,this)),t.on("typeahead:close",i.bind(this.hideMask,this)),t.on("typeahead:select",i.bind((function(){a.Q.AppLinkHelper.trigger(e.appVariables.appLinks.newLibrary)}),this))}},{key:"onKeydown",value:function(e){8!==e.keyCode||this.model.get("query")||Ve.Radio.channel(K.Q4.CONTEXTUAL_SEARCH).trigger("reset:search:context")}},{key:"onResetSearchContext",value:function(e){this.appVariables.useContextualSearch&&(e&&e.focus&&this.getUI("input").focus(),$(".tt-menu").removeClass("typeahead-shift"),this.renderSearchContext())}},{key:"getRecentSearchBloodhound",value:function(){var e=$e.getRecentSearches(this.recentSearchKey,this.storageHelper);return new Bloodhound({datumTokenizer:Bloodhound.tokenizers.whitespace,queryTokenizer:Bloodhound.tokenizers.whitespace,local:e})}},{key:"getDynamicBloodhoundConfig",value:function(){return Ke.bloodhoundConfig}},{key:"getDynamicTypeaheadConfig",value:function(){var e=this,t=Xe.J.getTemplate(Un(),{fallbackTemplate:Nn()}),n=Xe.J.getTemplate(xn(),{fallbackTemplate:Nn(),templateText:w.T.getPhrase(this.lang,"findingResults")});return function(r,o){return{name:e.getConfigName(r.name),source:Xe.J.handleQuery(r.bloodhound,{fetchType:qe.U.Remote}),limit:e.getLimits(r.name),display:function(e){return e.name},async:!0,templates:{header:t,pending:0===o?n:Nn(),notFound:Nn(),suggestion:e.getDynamicTemplate(r.name),footer:Bn()}}}}},{key:"getConfigName",value:function(e){switch(e){case Qe.n.Subjects:return w.T.getPhrase(this.lang,"classifications");case Qe.n.Video:return w.T.getPhrase(this.lang,"videos");case Qe.n.Tags:return w.T.getPhrase(this.lang,"tags");case Qe.n.Series:return w.T.getPhrase(this.lang,"series")}return e}},{key:"getDynamicOptions",value:function(){return{libraryIds:this.getLibraryIds().join(","),model:this.searchContext,presentationId:this.options.presentationId}}},{key:"getRecentSearchSources",value:function(){var e=this;return this.recentSearchEngine=this.getRecentSearchBloodhound(),[{name:qe.a.Recent,source:Xe.J.handleQuery(this.recentSearchEngine,{fetchType:qe.U.Local,ignoreOnQuery:!0}),limit:or.Default,templates:{header:function(){return Fn()({templateText:w.T.getPhrase(e.lang,"recentSearches")})},suggestion:this.getDynamicTemplate(qe.a.Recent)}}]}},{key:"getDirectSearchSources",value:function(){return[{name:qe.a.Direct,source:Xe.J.handleQuery(),display:function(e){return e.query},templates:{suggestion:Xe.J.getTemplate(An(),{fallbackTemplate:Nn(),templateText:w.T.getPhrase(this.lang,"allResults")}),footer:Bn()}}]}},{key:"getDynamicSearchSources",value:function(){var e=this.getDynamicBloodhoundConfig(),t=this.getDynamicTypeaheadConfig(),n=this.getDynamicOptions();return Xe.J.getSearchSources([{name:Qe.n.Subjects,bloodhoundConfig:e,typeaheadConfig:t,options:n},{name:Qe.n.Series,bloodhoundConfig:e,typeaheadConfig:t,options:n},{name:Qe.n.Folder,bloodhoundConfig:e,typeaheadConfig:t,options:n},{name:Qe.n.Video,bloodhoundConfig:e,typeaheadConfig:t,options:n},{name:Qe.n.Tags,bloodhoundConfig:e,typeaheadConfig:t,options:n}])}},{key:"getSources",value:function(){var e=[].concat($n(this.getDirectSearchSources()),$n(this.getDynamicSearchSources()));return this.options.showRecentSearch&&e.push.apply(e,$n(this.getRecentSearchSources())),e}},{key:"getNoLibrariesSource",value:function(){return[{name:"NoLibrary",source:Xe.J.handleQuery(),display:function(e){return e.query},templates:{suggestion:Xe.J.getTemplate(zn(),{fallbackTemplate:Nn(),templateText:w.T.getPhrase(this.lang,"noLibraries")})}}]}},{key:"initializeTypeahead",value:function(e){this.searchInput&&(this.searchInput.typeahead("destroy"),this.searchInput.unbind(),this.searchInput=null),this.searchInput=this.getUI("input").typeahead({minLength:0,highlight:!0,hint:!1,classNames:{menu:"tt-menu rounded border"}},e)}},{key:"hasLibraries",value:function(){return!!this.libraryCollection.length}},{key:"getLibraryIds",value:function(){return this.libraryCollection.map((function(e){return e.id}))}},{key:"viewOptions",value:function(){return{styles:Qn,svg:J.Nj.getSvg(J.vn.Search),showPartial:!this.libraryCollection||!this.currentUser||!this.libraryCollection,showCloseButton:this.options.showCloseButton,closeSvg:J.Nj.getSvg(J.vn.Close),libraryText:this.appVariables.searchBarPlaceholder||w.T.getPhrase(this.lang,"placeholder",{smartCount:this.libraryCollection&&this.libraryCollection.length||1})}}},{key:"requiredResources",get:function(){return{currentUser:Me.K.currentUser,libraryCollection:Ge._.libraries}}},{key:"renderSearchTips",value:function(){this.appVariables.showSearchTips&&this.showChildView("searchTips",new St)}},{key:"renderSearch",value:function(){this.stickit(),this.initializeTypeahead(this.getSources()),this.initTypeaheadListeners(),Ve.Validation.bind(this)}},{key:"renderPartialSearch",value:function(){this.initializeTypeahead(this.getNoLibrariesSource()),this.initNoLibrariesTypeaheadListeners()}},{key:"renderSearchContext",value:function(){this.appVariables.useContextualSearch&&this.isRendered()&&this.showChildView("searchContext",new xt({model:this.searchContext}))}},{key:"onRender",value:function(){this.hasLibraries()?(this.renderSearchTips(),this.renderSearch(),this.renderSearchContext()):this.renderPartialSearch()}},{key:"onClose",value:function(){this.getUI("input").off(),this.unstickit(),Ve.Validation.unbind(this)}}])&&er(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(a.Q.View),ar=n(44937),cr=n(98985),ur=n(84868),sr=n(35846),lr=n.n(sr),fr={avatar:"lQ3BA",noPopoverArrow:"Ska2i",productItem:"KLlBp"},pr=n(48404),yr=n(19226),dr=n(61843),hr=n(55142),br=n(51092),vr=n(17852),mr=n.n(vr),gr=n(13601),wr=n.n(gr);function Or(e){return Or="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Or(e)}function Sr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pr(e,t,n){return t&&Cr(e.prototype,t),n&&Cr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Er(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kr(e,t)}function kr(e,t){return kr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kr(e,t)}function _r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=jr(e);if(t){var o=jr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Rr(this,n)}}function Rr(e,t){if(t&&("object"===Or(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jr(e)}var Tr=function(e){Er(n,e);var t=_r(n);function n(){return Sr(this,n),t.apply(this,arguments)}return Pr(n,[{key:"name",get:function(){return"CustomerItemComponent"}},{key:"tagName",get:function(){return"li"}},{key:"className",get:function(){return this.isCurrentCustomer()?"dropdown-item disabled":"dropdown-item"}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(){this.isCurrentCustomer()||br.LocationUtils.PageLoad(this.getHref())}},{key:"getHref",value:function(){return this.isCurrentCustomer()?"":"/change-customer?customerId=".concat(this.model.get("id"))}},{key:"isCurrentCustomer",value:function(){return this.model.get("id")===this.options.currentCustomerId}},{key:"template",get:function(){return mr()}}]),n}(a.Q.Component),Ar=function(e){Er(n,e);var t=_r(n);function n(e){return Sr(this,n),t.call(this,e)}return Pr(n,[{key:"name",get:function(){return"CustomerItemComponentCollection"}},{key:"childView",get:function(){return Tr}},{key:"className",get:function(){return"dropdown-menu"}},{key:"childViewOptions",get:function(){return this.options}}]),n}(a.Q.ComponentCollection),Lr=function(e){Er(n,e);var t=_r(n);function n(e){var r;return Sr(this,n),(r=t.call(this,e)).showSubMenu=!1,r}return Pr(n,[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"user:options:closed",this.onParentClosed)}},{key:"name",get:function(){return"CustomerSelectorComponent"}},{key:"tagName",get:function(){return"li"}},{key:"className",get:function(){return"dropdown-item dropleft"}},{key:"template",get:function(){return wr()}},{key:"lang",get:function(){return"shared.customerSelector"}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(e){this.showCustomerList()?(e.stopPropagation(),this.showSubMenu=!this.showSubMenu,this.toggleMenu()):br.LocationUtils.PageLoad("/change-customer")}},{key:"onParentClosed",value:function(){this.showSubMenu=!1,this.toggleMenu()}},{key:"showCustomerList",value:function(){return this.collection.length<=4}},{key:"toggleMenu",value:function(){this.showSubMenu?this.$(".dropdown-menu").addClass("show"):this.$(".dropdown-menu").removeClass("show")}},{key:"regions",value:function(){return{items:{el:".items-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{svg:J.Nj.getSvg(J.vn.House)}}},{key:"onRender",value:function(){this.showCustomerList()&&this.showChildView("items",new Ar({collection:this.collection,currentCustomerId:this.options.currentCustomerId}))}}]),n}(a.Q.Component),xr={heading:"gcuAT",displayName:"hYZHj"},Vr=n(93364),Nr=n.n(Vr);function Dr(e){return Dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dr(e)}function Br(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ir(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ur(e,t,n){return t&&Ir(e.prototype,t),n&&Ir(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Mr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fr(e,t)}function Fr(e,t){return Fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fr(e,t)}function Hr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Gr(e);if(t){var o=Gr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zr(this,n)}}function zr(e,t){if(t&&("object"===Dr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Gr(e)}var qr=function(e){Mr(n,e);var t=Hr(n);function n(e){return Br(this,n),t.call(this,e)}return Ur(n,[{key:"name",get:function(){return"UserOptionsDropdownComponent"}},{key:"className",get:function(){return"dropdown-menu dropdown-arrow ".concat(this.getExtraClasses(this.options.displayOptions))}},{key:"template",get:function(){return Nr()}},{key:"regions",value:function(){return{items:{el:".items-region",replaceElement:!0},customers:{el:".customer-selector-region",replaceElement:!0}}}},{key:"getExtraClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?"left":t,r=e.extraClasses,o="dropdown-menu-".concat(n);return r&&(o="".concat(o," ").concat(r)),o}},{key:"viewOptions",value:function(){return xr}},{key:"onRender",value:function(){this.showChildView("items",new Qr({collection:this.collection,childOptions:this.options.childOptions})),this.options.customers.length>1&&this.showChildView("customers",new Lr({collection:this.options.customers,currentCustomerId:this.options.currentCustomerId,channelName:this.options.channelName}))}}]),n}(a.Q.Component),Qr=function(e){Mr(n,e);var t=Hr(n);function n(e){return Br(this,n),t.call(this,e)}return Ur(n,[{key:"name",get:function(){return"UserOptionsDropdownComponentCollection"}},{key:"childView",get:function(){return hr.N}},{key:"childViewOptions",get:function(){return this.options.childOptions}}]),n}(a.Q.ComponentCollection),Wr=n(64649),Yr=n(89707),Zr=n(95061),Kr=n(88483),$r=n(25692);function Xr(e){return Xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xr(e)}function Jr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function eo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function to(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function no(e,t){return no=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},no(e,t)}function ro(e,t){if(t&&("object"===Xr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oo(e)}var io=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&no(e,t)}(c,e);var t,n,r,o,i=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=oo(r);if(o){var n=oo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ro(this,e)});function c(){return eo(this,c),i.apply(this,arguments)}return t=c,n=[{key:"initialize",value:function(){this.userDataService=x.u.getInstance(v.Or.User),this.listenTo(v.Vk.USER,"".concat(v.M_.CUSTOMERS,":sync"),this.render)}},{key:"fetchData",value:function(){this.currentUser&&(this.customers=this.userDataService.getCustomers(this.currentUser.get("id")))}},{key:"name",get:function(){return"UserOptionsView"}},{key:"title",get:function(){return!1}},{key:"template",get:function(){return lr()}},{key:"lang",get:function(){return"shared.libraryEditorUserOptions"}},{key:"className",get:function(){return"d-inline-flex align-items-center position-relative position-relative ".concat(fr.noPopoverArrow)}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"events",value:function(){return{"hide.bs.dropdown":"onHide"}}},{key:"onHide",value:function(){Ve.Radio.channel(this.channelName).trigger("user:options:closed")}},{key:"getSettingsUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Yr.k.getMainProductUrl(this.config,e,e)}},{key:"onlyHasLibraryEditorProduct",value:function(){return 1===this.products.length&&this.products.first().get("id")===ur.x.LibraryEditor}},{key:"getProductDropdownOptions",value:function(){var e=this;if(!this.products.length)return[];var t=this.products.filter((function(e){return!(e.get("id")===ur.x.LibraryEditor||e.get("id")===ur.x.Online&&m.g.hasLite||e.get("id")===ur.x.Primary&&!m.g.hasLite)})).map((function(t){var n=t.get("name");return t.get("id")!==ur.x.Primary&&t.get("id")!==ur.x.Online||(n=w.T.getPhrase(e.lang,"staffView")),{title:n,href:t.get("url"),external:!0,prefix:'<img src="'.concat(t.get("imageUrl"),'" />'),classes:"py-1 align-items-center ".concat(fr.productItem)}}));return t.push({divider:!0}),t}},{key:"getDropdownItemPrefix",value:function(){return this.model.get("prefix")}},{key:"getUserOptions",value:function(){var e,t=this.onlyHasLibraryEditorProduct(),n=[];return m.g.hasLite||(n.push({title:w.T.getPhrase(this.lang,"contentUpdates"),appLink:{application:v.OV.CONTENT_UPDATES,action:v.eX.ContentUpdates.HOME}}),n.push({title:w.T.getPhrase(this.lang,"videoAccess"),appLink:{application:v.OV.VIDEO_ACCESS,action:v.eX.VideoAccess.HOME}})),n.push({title:w.T.getPhrase(this.lang,"libraryRequestSettings"),appLink:this.customLibraries.length>1?{application:v.OV.LIBRARY_REQUESTS,action:v.eX.LibraryRequests.LIBRARY_REQUEST_SETTINGS_LIBRARIES}:{application:v.OV.LIBRARY_REQUESTS,action:v.eX.LibraryRequests.LIBRARY_REQUEST_SETTINGS,args:[this.customLibraries.first().get("id")]},external:!1}),t||n.push({title:w.T.getPhrase(this.lang,"settings"),href:this.getSettingsUrl("/settings"),external:!0,icon:J.Nj.getSvg(J.vn.NewWindow)}),n.push({title:w.T.getPhrase(this.lang,"helpCentre"),href:m.g.hasLite?cr.o.getLiteArticle(null):cr.o.getOnlineArticle($r.s.LibraryEditor,"sections"),external:!0,icon:J.Nj.getSvg(J.vn.NewWindow)},{divider:!0}),t||n.push.apply(n,function(e){if(Array.isArray(e))return Jr(e)}(e=this.getProductDropdownOptions())||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Jr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jr(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n.push({title:w.T.getPhrase(this.lang,"signOut"),href:"/logout"}),new a.Q.Collection(n)}},{key:"renderOptions",value:function(){this.showChildView("options",new qr({model:this.currentUser,collection:this.getUserOptions(),displayOptions:{alignment:"right"},childOptions:{channelName:this.channelName,prefixHandler:this.getDropdownItemPrefix},customers:this.customers,currentCustomerId:this.currentUser.get("customerId"),channelName:this.channelName}))}},{key:"onBeforeRender",value:function(){return this.fetchData(),!!this.customers}},{key:"viewOptions",value:function(){return this.currentUser?(this.currentUser.avatar&&(e=dr.jw.createUrl(this.currentUser.avatar.get("url"),{size:Kr.h2.Small})),{styles:fr,avatar:e}):{};var e}},{key:"requiredResources",get:function(){return{config:pr.p.config,currentUser:yr.K.currentUser,products:Wr.s.products,customLibraries:Zr.T.libraries}}},{key:"onRender",value:function(){this.renderOptions()}}],n&&to(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(a.Q.View),ao=n(29457),co=n(14611),uo=n(52421),so=n.n(uo);function lo(e){return lo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lo(e)}function fo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yo(e,t){return yo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yo(e,t)}function ho(e,t){if(t&&("object"===lo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bo(e)}var vo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yo(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=bo(r);if(o){var n=bo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ho(this,e)});function a(){return fo(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"initialize",value:function(){this.pendingItemsService=x.u.getInstance(v.K9.PendingItems,this),this.listenTo(K.Q4.PENDING_ITEMS,S.S.PENDING_ITEM_STATUS_CHANGE,this.render),this.listenTo(this.channelName,"clear:pending:item",this.onClearPendingItem),this.listenTo(this.channelName,"retry:pending:item",this.onRetryPendingItem)}},{key:"name",get:function(){return"ProgressSummaryView"}},{key:"title",get:function(){return!1}},{key:"template",get:function(){return so()}},{key:"lang",get:function(){return"upload.progressSummary"}},{key:"className",get:function(){return"progress-summary"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"regions",value:function(){return{processingProgress:{el:".processing-progress-region",replaceElement:!0,partialLoading:ao.LP.NotificationPopover},uploading:{el:".upload-progress-region",replaceElement:!0}}}},{key:"onClearPendingItem",value:function(e){var t=this;this.pendingItemsService.clearPendingItem(e,(function(){t.render()}))}},{key:"onRetryPendingItem",value:function(e){var t=this;this.pendingItemsService.retryPendingItem(e,(function(){t.render()}))}},{key:"onBeforeRender",value:function(){return this.pendingItems=this.pendingItemsService.getPendingItems(),!!this.pendingItems}},{key:"onRender",value:function(){this.showChildView("processingProgress",new co.m({collection:this.pendingItems,channelName:this.channelName}))}}])&&po(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Q.View),mo={progressDropdown:"qqJW0",upload:"p5mK_",uploadButtonSvg:"OAs8C"},go=n(31573),wo=n.n(go),Oo=n(33015);function So(e){return So="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},So(e)}function Co(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Po(e,t){return Po=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Po(e,t)}function Eo(e,t){if(t&&("object"===So(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ko(e)}var _o=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Po(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ko(r);if(o){var n=ko(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Eo(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){var e=this;this.pendingItemsService=x.u.getInstance(v.K9.PendingItems,this),this.listenTo(v.Vk.LIBRARY,"library:created library:deleted",this.render),this.model=W.r.get("process:progress"),this.listenTo(this.model,"change:items",(function(){e.model.get("items")||e.render()}))}},{key:"lang",get:function(){return"upload.uploadButton"}},{key:"appLinks",get:function(){return e={},t=".".concat(mo.upload),n={application:v.OV.UPLOAD,action:v.eX.Upload.FILE_SELECTION},t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"channelName",get:function(){return v.jr.VIDEO_UPLOAD}},{key:"name",get:function(){return"UploadButtonView"}},{key:"title",get:function(){return!1}},{key:"className",get:function(){return"d-flex align-items-center position-relative h-100"}},{key:"template",get:function(){return wo()}},{key:"regions",value:function(){return{progressInfo:{el:".progress-info-region",replaceElement:!1},progressSummary:{el:".progress-summary-region",replaceElement:!1}}}},{key:"hasLibraries",value:function(){return!!this.libraries.length}},{key:"renderProgressInfo",value:function(){this.hasLibraries()&&this.showChildView("progressInfo",new Oo.N)}},{key:"renderProgressSummary",value:function(){this.hasLibraries()&&this.showChildView("progressSummary",new vo)}},{key:"requiredResources",get:function(){return{libraries:Zr.T.libraries}}},{key:"viewOptions",value:function(){return{styles:mo,uploadSvg:J.Nj.getSvg(J.vn.Upload),hasLibraries:this.hasLibraries()}}},{key:"onRender",value:function(){this.pendingItemsService.getPendingItems(),this.renderProgressInfo(),this.renderProgressSummary()}}])&&Co(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Q.View),Ro=n(86120),jo=n(39396),To=n(50997),Ao=n(54753),Lo=n(25796);function xo(){var e,t=Ro.a.useBasicFetch(Lo.y.pendingRequestsCount()),n={application:To.OV.LIBRARY_REQUESTS,action:To.eX.LibraryRequests.PENDING_REQUESTS,args:[""]};return o().createElement(Ao.F,{appLink:n,className:"mx-2 position-relative text-white"},o().createElement(jo.x,{svgName:J.vn.Inbox,size:jo.S.Large}),!!(null===(e=t.data)||void 0===e?void 0:e.count)&&o().createElement("span",{className:"badge badge-danger badge-pill ".concat("H6FDs")},t.data.count))}var Vo=n(30354),No=n.n(Vo),Do={logoContainer:"l7tgG",upload:"jfACd",uploadButtonSvg:"nexFe",searchBar:"l70to",actionButtons:"In3tG"};function Bo(e){return Bo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bo(e)}function Io(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Uo(e,t){return Uo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Uo(e,t)}function Mo(e,t){if(t&&("object"===Bo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Fo(e)}var Ho=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Uo(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Fo(r);if(i){var n=Fo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Mo(this,e)});function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return t=c,(n=[{key:"name",get:function(){return"PageHeaderComponent"}},{key:"template",get:function(){return No()}},{key:"title",get:function(){return!1}},{key:"tagName",get:function(){return"nav"}},{key:"className",get:function(){return"navbar navbar-expand navbar-dark bg-dark"}},{key:"regions",value:function(){return{search:{el:".search-bar-region",replaceElement:!1},notifications:{el:".notifications-region",replaceElement:!0},upload:{el:".upload-region",replaceElement:!1},userOptions:{el:".user-options-region",replaceElement:!0},libraryRequests:{el:".library-requests-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .navbar-brand":"onClick"}}},{key:"onClick",value:function(){this.logAction()}},{key:"logAction",value:function(){var e={actionType:Ne.UserAction.Click,descriptor:Ne.ClickDescriptor.NavigateHome,location:Ne.LocationContext.TopNav,entity:Ne.EntityType.Logo},t={currentLocation:De.k.buildCurrentLocation()};De.k.logUserAction(t,e)}},{key:"getSearchModel",value:function(){return W.r.get("search",{ctor:ar.AE})}},{key:"renderSearchBar",value:function(){var e=new ir({model:this.getSearchModel()});this.showChildView("search",e)}},{key:"renderLibraryRequestsIcon",value:function(){this.showChildView("libraryRequests",this.wrapWithStore(o().createElement(xo,null)))}},{key:"renderUpload",value:function(){if(!this.options.onlyShowProfile){var e=new _o;this.showChildView("upload",e)}}},{key:"renderNotificationsStatus",value:function(){var e=new xe({hasLite:m.g.hasLite});this.showChildView("notifications",e)}},{key:"renderUserDropdown",value:function(){this.showChildView("userOptions",new io)}},{key:"viewOptions",value:function(){return{styles:Do}}},{key:"onRender",value:function(){this.renderUserDropdown(),this.options.onlyShowProfile||(this.renderSearchBar(),this.renderLibraryRequestsIcon(),this.renderUpload(),this.renderNotificationsStatus())}}])&&Io(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(Q),zo=n(25417),Go=n(50028),qo={banner:"jkc7x"},Qo=n(10802),Wo=n.n(Qo);function Yo(e){return Yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yo(e)}function Zo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ko(e,t){return Ko=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ko(e,t)}function $o(e,t){if(t&&("object"===Yo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xo(e)}var Jo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ko(e,t)}(c,e);var t,n,r,o,i=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Xo(r);if(o){var n=Xo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return $o(this,e)});function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"name",get:function(){return"PublishLibraryBannerView"}},{key:"title",get:function(){return!1}},{key:"template",get:function(){return Wo()}},{key:"behaviors",get:function(){return[{behaviorClass:Ct.H,selector:".make-available"}]}},{key:"lang",get:function(){return"migrationWizard.publishLibraryBanner"}},{key:"elements",get:function(){return{makeAvailable:".make-available"}}},{key:"appLinks",get:function(){return{".make-available":{application:this.options.application,action:v.eX.Shared.MAKE_LIBRARY_AVAILABLE}}}},{key:"bindListeners",value:function(){this.listenTo(v.Vk.LIBRARY,"library:created",this.render),this.listenTo(v.Vk.LIBRARY,"library:deleted",this.onLibraryDeted),this.listenTo(K.GL.LIBRARY_STATUS,"status:changed",this.destroy),this.listenTo(zo.G.SHELL,a.Q.EventNames.ROUTE,this.onRoute)}},{key:"onLibraryDeted",value:function(){this.libraries.length||this.$el.empty()}},{key:"requiredResources",get:function(){return{libraries:Zr.T.libraries}}},{key:"onRoute",value:function(){this.render()}},{key:"clearTooltip",value:function(){if(this.isAttached()){var e=this.getUI("makeAvailable");e instanceof jQuery&&e.tooltip("dispose")}}},{key:"onBeforeRender",value:function(){return this.clearTooltip(),!!this.libraries.length&&!this.libraries.any((function(e){return e.get("status")!==Go.X.Draft}))}},{key:"viewOptions",value:function(){return{styles:qo,disabled:!1}}}])&&Zo(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(a.Q.View),ei={leftNav:"Yb3zo",contentBox:"lmCo_",leftNavContentBox:"kexsS",sizingBox:"U8FNp",sizingBoxSansNav:"vSxhX",alertBox:"HLSpU",lockedWidth:"kXfJE"};function ti(e){return ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ti(e)}function ni(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ri(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oi(){return oi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=ii(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},oi.apply(this,arguments)}function ii(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ui(e)););return e}function ai(e,t){return ai=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ai(e,t)}function ci(e,t){if(t&&("object"===ti(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ui(e)}var si=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ai(e,t)}(f,e);var t,n,r,c,s,l=(c=f,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ui(c);if(s){var n=ui(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ci(this,e)});function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=l.call(this,e)).preventScrollTop=!1,t}return t=f,n=[{key:"initialize",value:function(){var e=this;this.listenTo(v.Vk.CONFIG,"version:sync",this.renderFooter),this.listenTo(this.channelName,S.S.FILES_SELECTED,this.onFilesSelected),this.listenTo(v.jr.VIDEO_UPLOAD,S.S.FILES_ADDED,this.onFilesAdded),this.listenTo(zo.G.SHELL,"prevent:scroll:top",(function(){return e.preventScrollTop=!0})),this.configDataService=x.u.getInstance(V.O.Config,this),this.videoUploadService=x.u.getInstance(V.K.VideoUpload,this)}},{key:"name",get:function(){return"ManageLayoutView"}},{key:"title",get:function(){return!1}},{key:"template",get:function(){return u()}},{key:"className",get:function(){return ei.lockedWidth}},{key:"channelName",get:function(){return this.name}},{key:"defaults",get:function(){return{showFullHeader:!0,allowBanner:!0,allowFileDrop:!0}}},{key:"elements",get:function(){return{alertRegion:".alert-region"}}},{key:"regions",value:function(){var e;return ni(e={},v.r_.TOP_BANNER,".top-banner-region"),ni(e,v.r_.POPUP,".popup-region"),ni(e,v.r_.CONTENT,".content-region"),ni(e,v.r_.LEFT_NAV,".left-nav-region"),ni(e,v.r_.PAGE_HEADER,".page-header-region"),ni(e,v.r_.ALERT,".alert-region"),ni(e,v.r_.PAGE_FOOTER,".page-footer-region"),ni(e,v.r_.HIDDEN,".hidden-region"),e}},{key:"onFilesSelected",value:function(e,t){this.videoUploadService.addFiles(e),this.logAction(e,t)}},{key:"logAction",value:function(e,t){var n={actionType:Ne.UserAction.Upload,entity:Ne.EntityType.Video,location:Ne.LocationContext.VideoUpload,workflowPhase:Ne.WorkflowPhase.Start,descriptor:De.k.mapInteractionType(t)};De.k.logUserAction(e,n)}},{key:"onFilesAdded",value:function(e,t){if(!t){var n=a.Q.AppLinkHelper.getCurrentAppLink(),r=n.application===v.OV.LIBRARY_EDITOR&&n.action===v.eX.LibraryEditor.FOLDER,o={application:v.OV.UPLOAD,action:v.eX.Upload.UPLOAD_DETAILS};r&&(o.params={folderId:n.args[0]}),a.Q.AppLinkHelper.trigger(o)}}},{key:"behaviors",get:function(){if(this.options.allowFileDrop)return[{behaviorClass:g.V,channelName:this.channelName},{behaviorClass:L,channelName:this.channelName}]}},{key:"getContentBoxClassName",value:function(){var e=ei.contentBox;return this.options.showLeftNav&&(e+=" ".concat(ei.leftNavContentBox)),e}},{key:"getContentContainerClassName",value:function(){return this.options.centredContent?"d-flex justify-content-center":""}},{key:"onLayoutRequested",value:function(e){this.options=i.extend({},this.defaults,e)}},{key:"onPopupRegionEmpty",value:function(){var e=this.getRegion(v.r_.CONTENT).currentView;e?e.setTitle():this.setTitle()}},{key:"renderTopBanner",value:function(){this.options.allowBanner&&this.showChildView(v.r_.TOP_BANNER,new Jo({application:this.options.application}))}},{key:"renderHeader",value:function(){this.showChildView(v.r_.PAGE_HEADER,new Ho({onlyShowProfile:!this.options.showFullHeader,store:this.options.store}))}},{key:"renderFooter",value:function(){var e=this.configDataService.getVersion();e&&this.showChildView(v.r_.PAGE_FOOTER,new b({version:e}))}},{key:"closePopup",value:function(){this.showChildView(v.r_.POPUP,o().createElement(o().Fragment,null))}},{key:"showChildView",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e===v.r_.CONTENT&&(this.preventScrollTop||n.preventScrollTop||$(window).scrollTop(0),this.preventScrollTop=!1),this.isReactComponent(t)?oi(ui(f.prototype),"showChildView",this).call(this,e,this.wrapWithStore(t)):oi(ui(f.prototype),"showChildView",this).call(this,e,t,n)}},{key:"viewOptions",value:function(){return{styles:ei,sizingBox:m.g.hasLite?ei.sizingBoxSansNav:ei.sizingBox,showLeftNav:this.options.showLeftNav,contentBoxClassName:this.getContentBoxClassName(),contentContainerClassName:this.getContentContainerClassName()}}},{key:"onRender",value:function(){this.renderTopBanner(),this.renderHeader(),this.renderFooter(),this.listenTo(this.getRegion(v.r_.POPUP),"empty",this.onPopupRegionEmpty)}}],r=[{key:"getCacheKey",value:function(e){var t="".concat(this.name),n=i.omit(e,["application"]),r=[];return i.each(i.keys(n),(function(e){r.push("".concat(e,":").concat(n[e]))})),r.length&&(r.sort(),t+=":".concat(r.join(":"))),t}}],n&&ri(t.prototype,n),r&&ri(t,r),Object.defineProperty(t,"prototype",{writable:!1}),f}(Q)},58880:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{j:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},33469:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{$:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},74749:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{W:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},98270:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{O:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},60602:function(e,t,n){"use strict";n.d(t,{g:function(){return h}});var r=n(31647),o=n(70763),i=n(60103),a=n(90680),c=n(58880),u=n(39919);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function y(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(b,e);var t,n,r,s,h=(r=b,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(r);if(s){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function b(){return l(this,b),h.apply(this,arguments)}return t=b,(n=[{key:"associations",get:function(){return{banner:c.j,thumbnail:u.p,children:i.I,videos:o.t,libraries:a.q}}},{key:"parse",value:function(e){if(!e.data)return e;var t=e.data;return t.children=e.children,t}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),b}(r.Q.NestedModel)},18375:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{E:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},24539:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(31647),o=n(60103);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(y,e);var t,n,i,f,p=(i=y,f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(i);if(f){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function y(){return a(this,y),p.apply(this,arguments)}return t=y,(n=[{key:"defaults",value:function(){return{children:[],categoryTree:{}}}},{key:"associations",get:function(){return{children:o.I,categoryTree:r.Q.Model}}},{key:"parse",value:function(e){if(!e.data)return e;var t=e.data;return t.children=e.children,t}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),y}(r.Q.NestedModel)},13823:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{r:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},87403:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{T:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},68893:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{y:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},13102:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{i:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},14327:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{_:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},13052:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{g:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},78571:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{y:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},11594:function(e,t,n){"use strict";n.d(t,{F:function(){return f}});var r=n(31647),o=n(29625);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(p,e);var t,n,r,i,f=(r=p,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(r);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function p(){return a(this,p),f.apply(this,arguments)}return t=p,(n=[{key:"associations",get:function(){return{seasons:o.i}}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.Q.NestedModel)},79823:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{Q:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},68619:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{V:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.NestedModel)},39919:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}n.d(t,{p:function(){return u}});var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(s,e);var t,n,r,u=(n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=c(n);if(r){var o=c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return a(this,e)});function s(){return o(this,s),u.apply(this,arguments)}return t=s,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model)},71192:function(e,t,n){"use strict";n.d(t,{n:function(){return Ve}});var r=n(31647),o=n(39919),i=n(11594),a=n(13102),c=n(33469);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function f(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=p(n);if(r){var o=p(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return f(this,e)});function i(){return s(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.Q.Model);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function v(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(n);if(r){var o=m(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return v(this,e)});function i(){return h(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.Q.Model),w=n(78571),O=n(60103),S=n(90680),C=n(4589),P=n(84013),E=n(4228),k=n(52092),_=n(14327);function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function A(e,t){return A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},A(e,t)}function L(e,t){if(t&&("object"===R(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var V=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&A(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=x(r);if(o){var n=x(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return L(this,e)});function a(){return j(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return _._}},{key:"parse",value:function(e){return e.data||e}}])&&T(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Collection);function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},B(e,t)}function I(e,t){if(t&&("object"===N(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},U(e)}var M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=U(n);if(r){var o=U(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return I(this,e)});function i(){return D(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(r.Q.Model);function F(e){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F(e)}function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G(e,t){return G=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},G(e,t)}function q(e,t){if(t&&("object"===F(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Q(e)}var W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&G(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Q(r);if(o){var n=Q(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return q(this,e)});function a(){return H(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return M}},{key:"parse",value:function(e){return e.data||e}}])&&z(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Collection),Y=n(99952),Z=n(58085),K=n(79823);function $(e){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$(e)}function X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ee(e,t){return ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ee(e,t)}function te(e,t){if(t&&("object"===$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ne(e){return ne=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ne(e)}var re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ee(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ne(r);if(o){var n=ne(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return te(this,e)});function a(){return X(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return K.Q}},{key:"parse",value:function(e){return e.data||e}}])&&J(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Collection),oe=n(13052);function ie(e){return ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ie(e)}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ue(e,t){return ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ue(e,t)}function se(e,t){if(t&&("object"===ie(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function le(e){return le=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},le(e)}var fe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ue(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=le(r);if(o){var n=le(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return se(this,e)});function a(){return ae(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return oe.g}}])&&ce(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Collection),pe=n(88922);function ye(e){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(e)}function de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function be(e,t){return be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},be(e,t)}function ve(e,t){if(t&&("object"===ye(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function me(e){return me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},me(e)}var ge=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&be(e,t)}(c,e);var t,n,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=me(o);if(i){var n=me(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ve(this,e)});function c(){return de(this,c),a.apply(this,arguments)}return t=c,(n=[{key:"parse",value:function(e){return e.data||e}},{key:"model",get:function(){return r.Q.Model}}])&&he(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(r.Q.Collection),we=n(13823);function Oe(e){return Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oe(e)}function Se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(e,t){return Pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pe(e,t)}function Ee(e,t){if(t&&("object"===Oe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ke(e)}var _e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pe(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ke(r);if(o){var n=ke(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ee(this,e)});function a(){return Se(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return we.r}},{key:"parse",value:function(e){return e.data||e}}])&&Ce(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Q.Collection);function Re(e){return Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Re(e)}function je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ae(e,t){return Ae=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ae(e,t)}function Le(e,t){if(t&&("object"===Re(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},xe(e)}var Ve=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ae(e,t)}(l,e);var t,n,r,u,s=(r=l,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=xe(r);if(u){var n=xe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Le(this,e)});function l(){return je(this,l),s.apply(this,arguments)}return t=l,(n=[{key:"associations",get:function(){return{rating:a.i,series:i.F,season:w.y,categories:O.I,libraries:S.q,resources:V,interactives:W,chapters:Y.q,thumbnail:o.p,producers:C.T,distributors:P.n,productionCompanies:E.h,directors:k.A,channel:c.$,tags:Z.E,subtitles:re,restrictions:fe,localCacheDownloads:pe.p,owner:y,playlist:g,fields:ge,links:_e}}}])&&Te(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(r.Q.NestedModel)},48404:function(e,t,n){"use strict";n.d(t,{o:function(){return S},p:function(){return C}});var r=n(12053),o=n(21679),i=n(88181),a=n(29457);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(n);if(r){var o=f(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return l(this,e)});function i(){return u(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(n(31647).Q.Model),y=n(33800),d=n(85146),h=n(64234);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function w(e,t){if(t&&("object"===b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(u,e);var t,n,r,o,c=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O(r);if(o){var n=O(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return w(this,e)});function u(){return v(this,u),c.apply(this,arguments)}return t=u,(n=[{key:"name",get:function(){return y.O.Config}},{key:"channelName",get:function(){return i.Vk.CONFIG}},{key:"getConfig",value:function(e){return this.get({resource:"/api/config",formatData:function(e){return new p(e)},eventPrefix:"config",bootstrapName:d.h.CONFIG,callback:e,expiryTime:h.f.STANDARD})}},{key:"getVersion",value:function(e){return this.get({resource:"/api/version",eventPrefix:"version",bootstrapName:d.h.VERSION,callback:e,expiryTime:h.f.STANDARD})}},{key:"getCustomerYearGroups",value:function(e){var t=[a.lA.Year1,a.lA.Year2,a.lA.Year3,a.lA.Year4,a.lA.Year5,a.lA.Year6,a.lA.Year7,a.lA.Year8,a.lA.Year9,a.lA.Year10,a.lA.Year11,a.lA.Year12];switch(e){case a.Cv.AU:case a.Cv.US:return[a.lA.Kindergarten].concat(t);case a.Cv.UK:case a.Cv.NZ:return[].concat(t,[a.lA.Year13]);default:return t}}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(r.B),C={config:{dataServiceName:i.Vk.CONFIG,eventName:"config:sync",getData:function(e){return e.getConfig()},getInstance:function(e){return o.u.getInstance(y.O.Config,e)},beforeOnBeforeRender:!0},getConfigFetchOptions:function(e,t){return{dataServiceName:y.O.Config,dataChannelName:i.Vk.CONFIG,eventPrefix:"config",fetchData:function(e){return e.getConfig()},setData:e,onError:t}}}},64649:function(e,t,n){"use strict";n.d(t,{f:function(){return j},s:function(){return T}});var r=n(12053),o=n(21679),i=n(85523),a=n(25094),c=n(33800),u=n(31647);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(n);if(r){var o=y(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return p(this,e)});function i(){return l(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(u.Q.Model);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function g(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(r);if(o){var n=w(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g(this,e)});function a(){return b(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return d}},{key:"comparator",get:function(){return"order"}}])&&v(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(u.Q.Collection),S=n(88181);function C(e){return C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C(e)}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},k(e,t)}function _(e,t){if(t&&("object"===C(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&k(e,t)}(s,e);var t,n,r,o,u=(r=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=R(r);if(o){var n=R(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _(this,e)});function s(){return P(this,s),u.apply(this,arguments)}return t=s,(n=[{key:"name",get:function(){return c.O.Product}},{key:"channelName",get:function(){return a.Vk.PRODUCT}},{key:"getProducts",value:function(e){return this.get({resource:"/api/products",bootstrapName:"products",callback:e,formatData:function(e){return new O(e)},eventPrefix:S.M_.PRODUCTS,expiryTime:i.f.STANDARD})}}])&&E(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(r.B),T={products:{dataServiceName:c.O.Product,eventName:"".concat(S.M_.PRODUCTS,":sync"),getData:function(e){return e.getProducts()},getInstance:function(e){return o.u.getInstance(c.O.Product,e)},beforeOnBeforeRender:!0}}},19226:function(e,t,n){"use strict";n.d(t,{M:function(){return U},K:function(){return M}});var r=n(21679),o=n(12053),i=n(39479),a=n(31647);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(n);if(r){var o=f(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return l(this,e)});function i(){return u(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(a.Q.Model),y=n(87403);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(c,e);var t,n,r,o,a=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(r);if(o){var n=g(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return m(this,e)});function c(){return h(this,c),a.apply(this,arguments)}return t=c,(n=[{key:"associations",get:function(){return{avatar:p,customerLogo:y.T}}},{key:"parse",value:function(e){var t=["avatar","customerLogo"],n=i.omit(e,t);return i.each(t,(function(t){i.isObject(e[t])?n[t]=e[t]:e[t]&&(n[t]={url:e[t]})})),n}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(a.Q.NestedModel),O=n(33800),S=n(88181),C=n(85146),P=n(64234),E=n(98270);function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j(e,t){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},j(e,t)}function T(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var L=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&j(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=A(r);if(o){var n=A(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return T(this,e)});function a(){return _(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return E.O}},{key:"parse",value:function(e){return e.data||e}}])&&R(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Q.Collection);function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function V(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},D(e,t)}function B(e,t){if(t&&("object"===x(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}var U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&D(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=I(r);if(o){var n=I(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return B(this,e)});function a(){return V(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return O.O.User}},{key:"channelName",get:function(){return S.Vk.USER}},{key:"getCurrentUser",value:function(e,t){return this.get({resource:"/api/currentuser",formatData:function(e){return new w(e,{parse:!0})},eventPrefix:S.M_.CURRENT_USER,bootstrapName:C.h.CURRENT_USER,expiryTime:P.f.STANDARD,callback:e,errorCallback:t})}},{key:"getCustomers",value:function(e,t,n){return this.get({resource:"/api/gateway/v1/objects/".concat(e,"/customers"),formatData:function(e){return new L(e,{parse:!0})},eventPrefix:S.M_.CUSTOMERS,expiryTime:P.f.STANDARD,callback:t,errorCallback:n})}}])&&N(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.B),M={currentUser:{dataServiceName:O.O.User,eventName:"".concat(S.M_.CURRENT_USER,":sync"),getData:function(e){return e.getCurrentUser()},getInstance:function(e){return r.u.getInstance(O.O.User,e)},beforeOnBeforeRender:!0},getCurrentUserFetchOptions:function(e,t){return{dataServiceName:O.O.User,dataChannelName:S.Vk.USER,eventPrefix:S.M_.CURRENT_USER,fetchData:function(e){return e.getCurrentUser()},setData:e,onError:t}}}},54758:function(e,t,n){"use strict";n.d(t,{M:function(){return S}});var r=n(48088),o=n(31647),i=n(25417),a=n(39479),c=n(10101),u=n(96846),s=n.n(u);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function y(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(u,e);var t,n,r,o,i=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(r);if(o){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,e)}return t=u,(n=[{key:"template",get:function(){return s()}},{key:"name",get:function(){return"DialogView"}},{key:"title",get:function(){return!1}},{key:"events",value:function(){this.createClickHandlers();var e={};return a.each(this.options.buttons,(function(t,n){e["click .dialog-button-".concat(n)]="onClickButton".concat(n)})),e}},{key:"behaviors",get:function(){var e=a.map(this.options.buttons,(function(e,t){var n=a.pick(e,["text","type","className","close"]);return n.className+=" dialog-button-".concat(t),n}));return[{behaviorClass:c.Yw,title:this.options.title,buttons:e}]}},{key:"createClickHandlers",value:function(){var e=this;this.clickHandlersCreated||(a.each(this.options.buttons,(function(t,n){e["onClickButton".concat(n)]=t.success?function(){return e.onDone(t)}:function(){return e.onFail()}})),this.clickHandlersCreated=!0)}},{key:"reject",value:function(){"pending"===this.options.result.state()&&this.options.result.reject()}},{key:"onDone",value:function(e){this.options.result.resolve(e)}},{key:"onFail",value:function(){this.reject()}},{key:"onDestroy",value:function(){this.reject()}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.Q.View),b=n(88181);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function w(e,t){if(t&&("object"===v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(s,e);var t,n,a,c,u=(a=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O(a);if(c){var n=O(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return w(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=u.call(this)).dialogOptions=e,t.dialogOptions.result||(t.dialogOptions.result=$.Deferred()),t}return t=s,(n=[{key:"name",get:function(){return b.K9.DialogHelper}},{key:"render",value:function(){var e=this,t=this.dialogOptions.result,n=new h(this.dialogOptions);return r.Radio.channel(i.G.POPUP).trigger(o.Q.EventNames.SHOW_POPUP,n),t.always((function(){n.triggerMethod("hide"),e.destroy()}))}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(o.Q.Service)},89707:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(68003),o=n(264),i={getMainProductUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=o.g.hasLite,c=e.get(a?"liteUrl":"onlineUrl"),u=a?{skipPrompt:!0}:{loginPrompt:!1},s=a?t:n,l=r._.safeUrlConcat(c,s);return r._.urlBuilder(l,Object.assign(Object.assign({},u),i))}}},22557:function(e,t,n){"use strict";n.d(t,{P:function(){return u}});var r=n(31647),o=n(60103),i=n(60602),a=n(75459),c=n(99249),u={isSelected:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=u.getSelectedViewModel(e),r=n.get("selected")||"";return r.toString()===t.toString()},isParent:function(e,t){var n=u.getSelectedViewModel(e).get("parents");return!!n&&!!n[t]},getSelectedViewModel:function(e){return c.r.get("foldertreehelper:".concat(e))},deselectAll:function(e,t){t&&u.getSelectedViewModel(e).clear()},setSelected:function(e,t,n,o){if(n&&(t instanceof r.Q.Model||(t=u.getModelFromCollection(t,n)),t)){var i=u.getSelectedViewModel(e);o||(u.deselectAll(e,n),i.set("selected",t.get("id")));var a={};t.collection&&function e(t){if(t){var n=t.get("id");n!==i.get("id")&&(a[n]=!0),t.collection&&e(t.collection.parent)}}(t),i.set("parents",a)}},getSelected:function(e,t){var n=u.getSelectedViewModel(e).get("selected");return n?u.getModelFromCollection(n,t):null},newFolder:function(){return new i.g},getModelFromCollection:function(e,t){if(!t)return null;for(var n=function t(n){if(n.get("id")&&e&&n.get("id").toString()===e.toString())return n;var r=n.children;if(!r||!r.length)return null;for(var o=0;o<r.length;o++){var i=t(r.at(o));if(i)return i}},r=0;r<t.length;r++){var o=n(t.at(r));if(o)return o}return null},getParent:function(e,t){var n=u.getModelFromCollection(e,t);if(!n||!n.collection||!n.collection.parent)return null;var r=n.collection.parent;return r.get("type")===a.r.CategoryTree?r.collection.parent:r},addFolder:function(e,t,n){var r,o=n;t&&(r=u.getModelFromCollection(t,o)),r&&(r.children||r.set("children",[]),o=r.children),o.add(e.toJSON())},addFolderToLibrary:function(e,t,n){var r=n.get(t);r&&u.addFolder(e,r.get("id"),n)},flatten:function(e){var t=new o.I(e.toJSON()),n=new r.Q.Collection,i=-1;return t.each((function e(t){var r=t.get("type")===a.r.Folder||t.get("type")===a.r.CustomLibrary;r&&(n.add(t),t.set("depth",++i)),t.children&&t.children.length&&t.children.each(e),r&&i--})),n},getFirstType:function(e,t){var n;return e.find((function e(r){return r.get("type")===t?(n=r,!0):!(!r.children||!r.children.length||!r.children.find(e))})),n},getLibrary:function(e,t){var n,r=u.getModelFromCollection(e,t);return r?(function e(t){return t.get("type")===a.r.CustomLibrary?(n=t,!0):!(!t.collection||!t.collection.parent)&&e(t.collection.parent)}(r),n):null},isSubFolder:function(e){return!!(e&&e.collection&&e.collection.parent)&&e.collection.parent.get("type")===a.r.Folder},getFolderDepth:function(e,t){for(var n=u.getModelFromCollection(e,t),r=-1;n;)n=n.collection&&n.collection.parent,r++;return r},getFolderChord:function(e){var t=e,n=[];do{n.unshift(t.get("name")),t=t.collection?t.collection.parent:null}while(t);return n.join("->")},getDepthOfChildren:function(e){var t=0;if(!e.children||!e.children.length)return t;t++;for(var n=0,r=0;r<e.children.length;r++){var o=e.children.models[r],i=u.getDepthOfChildren(o);i>n&&(n=i)}return t+n},calculateDestinationFolderDepth:function(e,t,n){var r=e&&u.getDepthOfChildren(e)||0;return(n&&u.getFolderDepth(t,n)||0)+1+r}}},264:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(11306),o=n(31647),i=void 0,a={initialize:function(e){i=e.hasLite},get hasLite(){return void 0===i&&o.Q.ErrorHelper.throw(new r.H("Product Setup has not been initialized")),i}}},87989:function(e,t,n){"use strict";n.d(t,{Ey:function(){return r},Kp:function(){return u},dR:function(){return o}});var r,o,i=n(39479);function a(e,t){var n="spinner";return e===r.Small&&(n="".concat(n,"-sm")),e===r.Medium&&(n="".concat(n,"-md")),e===r.Large&&(n="".concat(n,"-lg")),t===o.Standard&&(n="".concat(n,"-std")),t===o.Light&&(n="".concat(n,"-light")),t===o.LightBgDark&&(n="".concat(n,"-light-bg-dark")),n}!function(e){e.Small="sm",e.Medium="md",e.Large="lg"}(r||(r={})),function(e){e.Standard="std",e.Light="light",e.LightBgDark="light-bg-dark"}(o||(o={}));var c={size:r.Medium,type:o.Standard,tag:"div"},u={getSpinner:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=i.extend({},c,e),n=t.tag,r=t.size,o=t.type,u=t.extraClasses,s=a(r,o);return u&&(s="".concat(s," ").concat(u)),"<".concat(n,' class="spinner ').concat(s,'"></').concat(n,">")}}},43875:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(39479),o=n(63151),i={wordsHighlighter:function(e,t){if(!e||!t||!t.length)return e;var n=i.escapeRegExp(t.join("%&%")).split("%&%");return e.replace(new RegExp("\\b("+n.join("|")+")\\b","gi"),'<span class="highlight">$&</span>')},escapeExpression:function(e){return o.m.escapeExpression(e)},escapeRegExp:function(e){return o.m.escapeRegExp(e)},slugify:function(e){return o.m.slugify(e)},linkifyText:function(e,t){return o.m.linkifyText(e,t)},extractKeyPhrases:function(e,t,n,o){if(!e||!t||!t.length)return[];var i,a=e.toLowerCase(),c=[],u=function(t,r){var o=t-Math.floor(n/2-r),i=o;if(i<=0)return 0;for(;" "!==e[i-1]&&i<t;)i++;if(i<t)return i;for(i=o;" "!==e[i-1]&&i>0;)i--;return i},s=function(t,r){var o=e.length,i=t+Math.floor(n/2-r),a=i;if(a>=o)return o;for(;" "!==e[a+1]&&a>t;)a--;if(a>t)return a+1;for(a=i;" "!==e[a+1]&&a<o;)a++;return a+1};r.each(t,(function(e){for(var t=e.toLowerCase(),n=a.indexOf(t);-1!==n;)c.push([u(n,e.length),s(n+e.length,e.length)]),n=a.indexOf(t,n+1)})),c=r.uniq(r.sortBy(c,(function(e){return e[0]})),!0,(function(e){return"".concat(e[0],":").concat(e[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(t){var n=e.slice(t[0],t[1]).trim();t[0]>0&&(n="...".concat(n)),t[1]<e.length&&(n="".concat(n,"...")),f.push(n)})),f.filter((function(e){return r.some(t,(function(t){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}))}))}}},61843:function(e,t,n){"use strict";n.d(t,{S0:function(){return a},Ce:function(){return ne},yV:function(){return re},Mr:function(){return r.M},T:function(){return q},PU:function(){return O.P},jw:function(){return U},Vm:function(){return ie},o8:function(){return H},BK:function(){return T},N0:function(){return z},hD:function(){return M},MK:function(){return Y.M},mU:function(){return ce},S9:function(){return b},xN:function(){return w},x$:function(){return y},Kp:function(){return ae.Kp},Ey:function(){return ae.Ey},dR:function(){return ae.dR},AJ:function(){return W},Si:function(){return J},m$:function(){return S.m},X4:function(){return v},M2:function(){return ee}});var r=n(54758),o=n(99249),i=n(39479),a={GetViewModel:function(e,t){var n=o.r.get("current:bulkactions");return n.get(t)!==e&&o.r.clear(e),n.set(t,e),o.r.get(e)},GetSelectedIds:function(e){return i.map(a.GetSelectedModels(e),(function(e){return e.get("id")}))},GetSelectedModels:function(e){var t=a.GetViewModel(e.key,e.type).toJSON(),n={};if(i.isFunction(e.excludePredicate)&&(n=i.groupBy(e.collection.filter(e.excludePredicate),(function(e){return e.id}))),t.all){var r=e.collection.filter((function(e){return!1!==t[e.id]}));return i.filter(r,(function(e){return!n[e.id]}))}var o=e.collection.filter((function(e){return!0===t[e.id]}));return i.filter(o,(function(e){return!n[e.id]}))}},c=n(31647),u=n(57857),s=n(4705),l=n(77502),f=n(29457),p="shared.utils",y={GetCurrentSortType:function(){var e=y.GetSortViewModel();return y.GetSortTypeFromName(e.get("sortName"))},GetSortViewModel:function(){return o.r.get("video:sorting",y.GetDefaultSort(),{storage:{type:s.Z1.LocalStorage,persistProps:["sortName","name"]}})},GetFilterFromSort:function(e){switch(e){case l.E.MostRecent:return"orderbydesc:timestamp";case l.E.AtoZ:return"orderby:name";case l.E.ProductionYear:return"orderbydesc:productionyear";case l.E.Newest:return"orderbydesc:datecreated";case l.E.SeriesSort:return"orderby:seriessort";default:return""}},GetDefaultSort:function(){return y.CreateSortObject(l.E.MostRecent)},CreateSortObject:function(e){return{sortType:e,name:y.GetSortName(e),sortName:l.E[e].toLowerCase()}},CreateSortCollection:function(){var e=new c.Q.Collection;for(var t in l.E)"number"==typeof l.E[t]&&e.push(new c.Q.Model(y.CreateSortObject(l.E[t])));return e},GetSortName:function(e){switch(e){case l.E.MostRecent:return u.T.getPhrase(p,"recentlyAdded");case l.E.AtoZ:return u.T.getPhrase(p,"atoz");case l.E.ProductionYear:return u.T.getPhrase(p,"productionYear");case l.E.Newest:return u.T.getPhrase(p,"newest");case l.E.SeriesSort:return u.T.getPhrase(p,"seriesTitle");default:return""}},GetSortTypeFromName:function(e){switch(e){case"mostrecent":default:return l.E.MostRecent;case"atoz":return l.E.AtoZ;case"productionyear":return l.E.ProductionYear;case"newest":return l.E.Newest;case"seriessort":return l.E.SeriesSort}},MapSortTypeToExportServiceSortType:function(e){switch(e){case l.E.MostRecent:return f.Ei.MostRecent;case l.E.AtoZ:return f.Ei.AtoZ;case l.E.ProductionYear:return f.Ei.ProductionYear;case l.E.Newest:return f.Ei.Newest;case l.E.SeriesSort:return f.Ei.SeriesSort;default:return f.Ei.MostRecent}}},d=n(33192),h="shared.utils",b={mapYearGroupToName:function(e){var t=f.lA[e],n=t.split(/(\d+)/);return n[1]?"".concat(n[0]," ").concat(n[1]," ").concat(u.T.getPhrase(h,"andBelow")):e===f.lA.All?u.T.getPhrase(h,"studentsAndStaff"):t},hasRestriction:function(e){return!i.isUndefined(e.get("restrictions"))},hasAdminRestriction:function(e){var t=e.restrictions;return!!t&&!t.last().get("expiresOn")},isAwaitingReview:function(e){var t=e.restrictions;return!!t&&!!t.last().get("expiresOn")},getRestrictionMessage:function(e){return e.includes("Year")||e.includes("Kindergarten")?u.T.getPhrase(h,"students",{yearGroup:e}):u.T.getPhrase(h,"nonStudents",{group:e})},getReviewBadgeClassName:function(e,t,n){if(!e.restrictions||!e.restrictions.length)return"";var r=d().add(7,"days"),o=e.restrictions.first().get("expiresOn");return d(o).isSameOrBefore(r)?n:t},getRestrictionTooltipMessage:function(e){if(!e.restrictions)return"";if(b.isAwaitingReview(e))return b.getReviewTimeMessage(e);var t=e.restrictions.last(),n=b.mapYearGroupToName(t.get("groupId"));return b.getRestrictionMessage(n)},getReviewTimeMessage:function(e){var t=e.restrictions.first().get("expiresOn"),n=d(t).fromNow(!0);return"".concat(n," ").concat(u.T.getPhrase(h,"leftToReview"))}},v={trimToMinutes:function(e){for(;("0"===e.charAt(0)||":"===e.charAt(0))&&e.length>5;)e=e.substr(1);return e},toSeconds:function(e){return d.duration(e).asSeconds()},secondsToHoursFormatted:function(e){return d.utc(1e3*e).format("HH:mm:ss")},getHoursComponent:function(e){return d.duration(e,"seconds").hours()},getMinutesComponent:function(e){return d.duration(e,"seconds").minutes()},getSecondsComponent:function(e){return d.duration(e,"seconds").seconds()},millisecondsToSeconds:function(e){return e/1e3},parseTime:function(e){var t=v.validateRawTime(e),n=t.hours,r=t.minutes,o=t.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:v.toSeconds("".concat(a,":").concat(c,":").concat(u)):-1},validateRawTime:function(e){var t=e.hours,n=e.minutes,r=e.seconds;return(i.isUndefined(t)||i.isNaN(t))&&(t=0),(i.isUndefined(n)||i.isNaN(t))&&(n=0),(i.isUndefined(r)||i.isNaN(t))&&(r=0),{hours:t,minutes:n,seconds:r}}},m=n(55636),g=n(36357),w={getLibraryReviewOptions:function(e){return{kind:m.g.Permanent,name:g.E.LibraryReview,value:e}}},O=n(22557),S=n(43875),C=n(75459),P=n(50028),E=n(88181),k=n(45837),_="shared.utils";function R(e){return e.libraries&&e.libraries.every((function(e){return e.get("type")===C.r.CustomLibrary}))}var j,T={canEditVideo:function(e){return R(e)},canPublicShare:function(e){var t;return!(null===(t=e.get("metadata"))||void 0===t?void 0:t.royaltyReportingId)&&R(e)},canDownloadVideo:function(e){return e.libraries&&e.libraries.every((function(e){return e.get("type")!==C.r.HostedLibrary}))},canAddToExchange:function(e){return e.libraries&&e.libraries.every((function(e){return e.get("type")!==C.r.HostedLibrary&&e.get("type")!==C.r.Exchange}))},canShareVideo:function(e,t){return t===E.OV.CONTENT_UPDATES||e.libraries&&!!e.libraries.where({type:C.r.CustomLibrary,status:P.X.Published}).length},getSuggestAnEditPermissionsMessage:function(e){if(!T.canEditVideo(e))return u.T.getPhrase(_,"suggestEdit")},getSharePermissionsMessage:function(e,t){if(!T.canShareVideo(e,t))return t===E.OV.LIBRARY_EDITOR?u.T.getPhrase(_,"share"):""},filterObjectsByOwnerType:function(e,t,n){var r=e.filter((function(e){var r=e.get("customer")&&e.get("customer").id;return!r&&t===k.N.ClickView||r===n&&t===k.N.Customer}));return new c.Q.Collection(r)}},A=n(39919),L=n(58880),x=n(88483);function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N,D={size:x.h2.Small,bgColor:"000"},B={size:x.h2.Medium};!function(e){e.Avatar="avatar",e.Banner="banner",e.Thumbnail="thumbnail"}(N||(N={}));var I=(V(j={},f.__.Avatars,N.Avatar),V(j,f.__.Banners,N.Banner),V(j,f.__.Thumbnails,N.Thumbnail),j),U={createUrl:function(e,t){return U._createUrl(e,t)},Rfc3986EncodeURIComponent:function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)},createThumbnailUrl:function(e,t){var n=e instanceof A.p?e.get("url"):e;if(n){var r=i.extend({},D,t);return U._createUrl(n,r)}},createBannerUrl:function(e,t){var n=e instanceof L.j?e.get("url"):e,r=i.extend({},B,t);return n?U._createUrl(n,r):null},createFolderThumbnailUrl:function(e){return"string"==typeof e||e instanceof A.p&&e.get("url")?U.createThumbnailUrl(e):null},_createCategoryMappedUrl:function(e,t){var n=e.fallbackBaseUrl,r=e.fallbackCategoryName,o=e.type,a="".concat(n).concat(function(e){return"v1/category-map/".concat(e)}(I[o])),c=i.extend({name:U.Rfc3986EncodeURIComponent(r)},t);return U._createUrl(a,c)},_createUrl:function(e,t){if(e){if(i.isEmpty(t))return e;var n=$.param(t),r=-1===e.indexOf("?")?"?":"&";return"".concat(e).concat(r).concat(n)}}},M={setRating:function(e,t){if(t)if(e&&e.id){var n=t.findWhere({selected:!0}),r=t.findWhere({id:e.id});re.deselectAll(t,{silent:!1}),(n||r)&&(n?r.id!==n.id&&r.set("selected",!0):r.set("selected",!0))}else re.deselectAll(t)}},F=n(53066),H={getDevicesUserCanManage:function(e,t){return e&&new F.J(e.where({customerId:t}))},getNewestDeviceUserCanManage:function(e,t){var n=H.getDevicesUserCanManage(e,t);if(n||n.length)return n.max((function(e){return new Date(e.get("dateCreated"))}))},customerHasLocalCache:function(e,t){return e&&!!H.getDevicesUserCanManage(e,t).length}},z={generateUniqueChannelName:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"customCid",n=e[t]||e.cid||(e[t]=i.uniqueId("custom"));return"".concat(e.name).concat(n)}},G=function(e,t,n){var r=t-(e=e.toString()).length;return r<=0?e:new Array(r+1).join(n)+e},q={ToDisplayDuration:function(e){if(!i.isNumber(e))return"";var t=new Date(e),n=t.getUTCHours(),r=G(t.getUTCMinutes(),2,"0"),o=G(t.getUTCSeconds(),2,"0");return n>0?"".concat(n,":").concat(r,":").concat(o):"".concat(r,":").concat(o)}},Q=n(48088),W=(n(25417),{name:[{required:!0,msg:function(){return u.T.getPhrase("shared.utils","selectLanguage")}}]}),Y=n(3974),Z=n(47327),K=n(40622),X="shared.utils",J={getEditVideoTabs:function(e,t){return[{name:function(){return u.T.getPhrase(X,"videoDetails")},link:{selector:".edit-video-applink",appLink:{application:E.OV.LIBRARY_EDITOR,action:E.eX.LibraryEditor.EDIT_VIDEO,args:[e]}}},{name:function(){return u.T.getPhrase(X,"chapters")},link:{selector:".edit-chapters-applink",appLink:{application:E.OV.LIBRARY_EDITOR,action:E.eX.LibraryEditor.EDIT_VIDEO_CHAPTERS,args:[e]}},hide:!t},{name:function(){return u.T.getPhrase(X,"resourcesSubtitlesLinks")},link:{selector:".edit-resources-subtitles-applink",appLink:{application:E.OV.LIBRARY_EDITOR,action:E.eX.LibraryEditor.EDIT_VIDEO_RESOURCES,args:[e]}}}]},initBackButton:function(){var e=Z.O.getPreviousRoute();e&&!i.contains(K.EditVideoBackButtonActionsBlacklist,e.appLink.action)&&o.r.get(K.EditVideoBackButtonKey).set({appLink:e.appLink})},getBackButton:function(e){var t={application:E.OV.LIBRARY_EDITOR,action:E.eX.LibraryEditor.VIDEO_DETAILS,args:[e]},n=o.r.get(K.EditVideoBackButtonKey).get("appLink")||t;return{name:this.getBackButtonText(n),link:{selector:".go-back-applink",appLink:n}}},getBackButtonText:function(e){if(!e)return u.T.getPhrase(X,"backToVideoDetails");switch(e.action){case E.eX.LibraryEditor.FOLDER:return u.T.getPhrase(X,"backFolder");case E.eX.LibraryEditor.SERIES:return u.T.getPhrase(X,"backSeries");case E.eX.Search.HOME:return u.T.getPhrase(X,"backSearch");case E.eX.ContentUpdates.PAST_RELEASES:return u.T.getPhrase(X,"backPastReleases");case E.eX.LibraryEditor.VIDEO_DETAILS:return u.T.getPhrase(X,"backDetails");default:return u.T.getPhrase(X,"back")}}},ee={hasLibraryOfType:function(e,t){var n=e.libraries;return!(!n||!n.length)&&n.any((function(e){return e.get("type")===t}))},hasCustomLibrary:function(e){return ee.hasLibraryOfType(e,C.r.CustomLibrary)},getSourceTypes:function(e){return e.libraries?e.libraries.map((function(e){return e.get("type")})):[]},isExchangeVideo:function(e){return e.libraries&&e.libraries.any((function(e){return e.get("type")===C.r.Exchange}))}},te="shared.utils",ne={generateDialog:function(e,t,n,o){new r.M({title:u.T.getPhrase(te,"cancelProcessingHeading"),text:u.T.getPhrase(te,"cancelProcessingBody",{videoTitle:e}),buttons:[{text:u.T.getPhrase(te,"yes"),className:"btn btn-dark",success:!0},{text:u.T.getPhrase(te,"no"),className:"btn btn-link",close:!0}]}).render().done((function(){return Q.Radio.channel(t).trigger(n,o)}))}},re={setSelected:function(e,t){if(t&&e){re.deselectAll(t);var n=t.findWhere({id:e});n&&n.set("selected",!0)}},getSelected:function(e){return e.findWhere({selected:!0})},deselectAll:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.silent,r=void 0===n||n;e.each((function(e){return e.set("selected",!1,{silent:r})}))},findModelByName:function(e,t){return t.find((function(t){return t.get("name").toLowerCase()===e.toLowerCase()}))},getIds:function(e){return e.map((function(e){return e.get("id")}))}},oe=n(37360),ie={isLazyLoadSupported:function(e){if(!e)return!1;var t=oe.V.getBrowser(),n=t.browser&&t.browser.toLowerCase(),r=t.version&&parseInt(t.version);return!(n&&r&&i.isNumber(r)&&i.has(e,n))||r>=e[n]}},ae=n(87989),ce={isInInstanceRegion:function(e,t){return e.toLowerCase()===t},isInContentRegion:function(e,t){return e.toLowerCase()===t}}},3974:function(e,t,n){"use strict";n.d(t,{M:function(){return b}});var r=n(39479),o=n(2711),i=n(31647),a=n(11306),c=n(68003),u=n(80024),s=n(58174),l=n(19249),f=n(63791),p=n(57857),y={svgContainer:"YE4DL"},d=n(31247),h=n.n(d),b={handleQuery:function(e,t){return function(n,i,a){if(n&&e instanceof o)return e.search.call(e,n,i,(function(e){var o=[];if("empty-suggestion"===t.name)return a.call(this,[{}]);if("add-new"===t.name){var i=r.find(e,(function(e){return e.name.toLowerCase()===n.toLowerCase()}));i||(i={name:n}),i.type=t.newType,o.push(i)}else o=e;a.call(this,o)}))}},getSuggestionTemplate:function(e){return"add-new"===e?function(e){return function(e){var t=r.extend({},e,{options:{styles:y,svg:f.Nj.getSvg(f.vn.Plus),createText:p.T.getPhrase("shared.utils","create")}});return h()(t)}(e)}:"empty-suggestion"===e?l.HY:l.ou},getPendingTemplate:function(e){return"add-new"===e||"empty-suggestion"===e?l.HY:l.gb},getNotFoundTemplate:function(e,t){return"add-new"===e||t?l.HY:l.TX},getFooterTemplate:function(e){return r.isFunction(e)?e:null},prepareQuery:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={q:e};return"boolean"==typeof(null==n?void 0:n.filterEmptySeries)&&(r.filterEmptySeries=n.filterEmptySeries),n.libraryIds&&(r.libraryIds=n.libraryIds),c._.urlBuilder(t.url,r)},prepareUrl:function(e,t){var n=b.mapRawSearchType(e,t);return"/api/domain/v1/search/".concat(n,"/instant/raw")},mapRawSearchType:function(e,t){switch(e){case s.n.TagsRaw:return s.n.TagsRaw;case s.n.Series:return s.n.Series;case s.n.Producers:return s.n.Producers;case s.n.Distributors:return s.n.Distributors;case s.n.ChannelRaw:return s.n.ChannelRaw;case s.n.Directors:return s.n.Directors;case s.n.ProductionCompanies:return s.n.ProductionCompanies;case s.n.Season:return s.n.Season;case"add-new":case"empty-suggestion":return t.newType;default:i.Q.ErrorHelper.throw(new a.H("Raw search type ".concat(e," is not supported.")))}},getBloodhoundConfig:function(){return function(e,t){return{datumTokenizer:o.tokenizers.obj.whitespace("name"),queryTokenizer:o.tokenizers.whitespace,remote:{url:b.prepareUrl(e,t),prepare:r.partial(b.prepareQuery,r,r,t),cache:!1}}}},getTypeaheadConfig:function(){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{name:e.name,source:b.handleQuery(e.bloodhound,Object.assign({fetchType:u.U.Remote,name:e.name},n)),async:!0,limit:5,display:function(e){return e.name},templates:{suggestion:b.getSuggestionTemplate(e.name),pending:b.getPendingTemplate(e.name),notFound:b.getNotFoundTemplate(e.name,n.hideEmptyResults),footer:b.getFooterTemplate(n.footerTemplate)}}}}}},19249:function(e,t,n){"use strict";n.d(t,{HY:function(){return l.a},TX:function(){return u.a},gb:function(){return a.a},ou:function(){return o.a}});var r=n(14187),o=n.n(r),i=n(59975),a=n.n(i),c=n(59841),u=n.n(c),s=n(9199),l=n.n(s)},53301:function(e,t,n){"use strict";e=n.nmd(e);var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){i(this,e)}return r(e,[{key:"on",value:function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this}},{key:"emit",value:function(e){this._callbacks=this._callbacks||{};var t=this._callbacks[e];if(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=t,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(e,t){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[e];if(!n)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(var r=0;r<n.length;r++){var o=n[r];if(o===t){n.splice(r,1);break}}return this}}]),e}(),c=function(e){function t(e,n){i(this,t);var r,a=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),c=void 0;if(a.element=e,a.version=t.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.");t.instances.push(a),a.element.dropzone=a;var u,s=null!=(r=t.optionsForElement(a.element))?r:{};if(a.options=t.extend({},a.defaultOptions,s,null!=n?n:{}),a.options.forceFallback||!t.isBrowserSupported())return u=a.options.fallback.call(a),o(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(e){return a.options.renameFilename.call(a,e.name,e)}),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=t.getElement(a.options.previewsContainer,"previewsContainer"):a.previewsContainer=a.element),a.options.clickable&&(!0===a.options.clickable?a.clickableElements=[a.element]:a.clickableElements=t.getElements(a.options.clickable,"clickable")),a.init(),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"initClass",value:function(){this.prototype.Emitter=a,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(e,t,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(e,t){return t()},chunksUploaded:function(e,t){t()},fallback:function(){var e=void 0;this.element.className=this.element.className+" dz-browser-not-supported";for(var n=0,r=r=this.element.getElementsByTagName("div");!(n>=r.length);){var o=r[n++];if(/(^| )dz-message($| )/.test(o.className)){e=o,o.className="dz-message";break}}e||(e=t.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(e));var i=e.getElementsByTagName("span")[0];return i&&(null!=i.textContent?i.textContent=this.options.dictFallbackMessage:null!=i.innerText&&(i.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e,t,n,r){var o={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},i=e.width/e.height;null==t&&null==n?(t=o.srcWidth,n=o.srcHeight):null==t?t=n*i:null==n&&(n=t/i);var a=(t=Math.min(t,o.srcWidth))/(n=Math.min(n,o.srcHeight));if(o.srcWidth>t||o.srcHeight>n)if("crop"===r)i>a?(o.srcHeight=e.height,o.srcWidth=o.srcHeight*a):(o.srcWidth=e.width,o.srcHeight=o.srcWidth/a);else{if("contain"!==r)throw new Error("Unknown resizeMethod '"+r+"'");i>a?n=t/i:t=n*i}return o.srcX=(e.width-o.srcWidth)/2,o.srcY=(e.height-o.srcHeight)/2,o.trgWidth=t,o.trgHeight=n,o},transformFile:function(e,t){return(this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)?this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t):t(e)},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(e){return this.element.classList.remove("dz-drag-hover")},dragstart:function(e){},dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:function(e){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){e.previewElement=t.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement);for(var r=0,o=o=e.previewElement.querySelectorAll("[data-dz-name]");!(r>=o.length);){var i=o[r++];i.textContent=e.name}for(var a=0,c=c=e.previewElement.querySelectorAll("[data-dz-size]");!(a>=c.length);)(i=c[a++]).innerHTML=this.filesize(e.size);this.options.addRemoveLinks&&(e._removeLink=t.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),e.previewElement.appendChild(e._removeLink));for(var u=function(r){return r.preventDefault(),r.stopPropagation(),e.status===t.UPLOADING?t.confirm(n.options.dictCancelUploadConfirmation,(function(){return n.removeFile(e)})):n.options.dictRemoveFileConfirmation?t.confirm(n.options.dictRemoveFileConfirmation,(function(){return n.removeFile(e)})):n.removeFile(e)},s=0,l=l=e.previewElement.querySelectorAll("[data-dz-remove]");!(s>=l.length);)l[s++].addEventListener("click",u)}},removedfile:function(e){return null!=e.previewElement&&null!=e.previewElement.parentNode&&e.previewElement.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");for(var n=0,r=r=e.previewElement.querySelectorAll("[data-dz-thumbnail]");!(n>=r.length);){var o=r[n++];o.alt=e.name,o.src=t}return setTimeout((function(){return e.previewElement.classList.add("dz-image-preview")}),1)}},error:function(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error);for(var n=0,r=r=e.previewElement.querySelectorAll("[data-dz-errormessage]");!(n>=r.length);)r[n++].textContent=t}},errormultiple:function(){},processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(e,t,n){if(e.previewElement)for(var r=0,o=o=e.previewElement.querySelectorAll("[data-dz-uploadprogress]");!(r>=o.length);){var i=o[r++];"PROGRESS"===i.nodeName?i.value=t:i.style.width=t+"%"}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(e){if(e._removeLink&&(e._removeLink.innerHTML=this.options.dictRemoveFile),e.previewElement)return e.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(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;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];e[s]=l}}return e}}]),r(t,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(e){return e.accepted})).map((function(e){return e}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(e){return!e.accepted})).map((function(e){return e}))}},{key:"getFilesWithStatus",value:function(e){return this.files.filter((function(t){return t.status===e})).map((function(e){return e}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(t.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(t.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(t.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(e){return e.status===t.UPLOADING||e.status===t.QUEUED})).map((function(e){return e}))}},{key:"init",value:function(){var e=this;"form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(t.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length&&function n(){return e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null===e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!==e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!==e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",t.getElement(e.options.hiddenInputContainer,"hiddenInputContainer").appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",(function(){var t=e.hiddenFileInput.files;if(t.length)for(var r=0,o=o=t;!(r>=o.length);){var i=o[r++];e.addFile(i)}return e.emit("addedfiles",t),n()}))}(),this.URL=null!==window.URL?window.URL:window.webkitURL;for(var n=0,r=r=this.events;!(n>=r.length);){var o=r[n++];this.on(o,this.options[o])}this.on("uploadprogress",(function(){return e.updateTotalUploadProgress()})),this.on("removedfile",(function(){return e.updateTotalUploadProgress()})),this.on("canceled",(function(t){return e.emit("complete",t)})),this.on("complete",(function(t){if(0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length)return setTimeout((function(){return e.emit("queuecomplete")}),0)}));var i=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(t){return e.emit("dragstart",t)},dragenter:function(t){return i(t),e.emit("dragenter",t)},dragover:function(t){var n=void 0;try{n=t.dataTransfer.effectAllowed}catch(e){}return t.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",i(t),e.emit("dragover",t)},dragleave:function(t){return e.emit("dragleave",t)},drop:function(t){return i(t),e.drop(t)},dragend:function(t){return e.emit("dragend",t)}}}],this.clickableElements.forEach((function(n){return e.listeners.push({element:n,events:{click:function(r){return(n!==e.element||r.target===e.element||t.elementInside(r.target,e.element.querySelector(".dz-message")))&&e.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,t.instances.splice(t.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var e=void 0,t=0,n=0;if(this.getActiveFiles().length){for(var r=0,o=o=this.getActiveFiles();!(r>=o.length);){var i=o[r++];t+=i.upload.bytesSent,n+=i.upload.total}e=100*t/n}else e=100;return this.emit("totaluploadprogress",e,n,t)}},{key:"_getParamName",value:function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")}},{key:"_renameFile",value:function(e){return"function"!=typeof this.options.renameFile?e.name:this.options.renameFile(e)}},{key:"getFallbackForm",value:function(){var e,n=void 0;if(e=this.getExistingFallback())return e;var r='<div class="dz-fallback">';this.options.dictFallbackText&&(r+="<p>"+this.options.dictFallbackText+"</p>"),r+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>';var o=t.createElement(r);return"FORM"!==this.element.tagName?(n=t.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>')).appendChild(o):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=n?n:o}},{key:"getExistingFallback",value:function(){for(var e=function(e){for(var t=0,n=n=e;!(t>=n.length);){var r=n[t++];if(/(^| )fallback($| )/.test(r.className))return r}},t=["div","form"],n=0;n<t.length;n++){var r,o=t[n];if(r=e(this.element.getElementsByTagName(o)))return r}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(e){return function(){var t=[];for(var n in e.events){var r=e.events[n];t.push(e.element.addEventListener(n,r,!1))}return t}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(e){return function(){var t=[];for(var n in e.events){var r=e.events[n];t.push(e.element.removeEventListener(n,r,!1))}return t}()}))}},{key:"disable",value:function(){var e=this;return this.clickableElements.forEach((function(e){return e.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(t){return e.cancelUpload(t)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(e){return e.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(e){var t=0,n="b";if(e>0){for(var r=["tb","gb","mb","kb","b"],o=0;o<r.length;o++){var i=r[o];if(e>=Math.pow(this.options.filesizeBase,4-o)/10){t=e/Math.pow(this.options.filesizeBase,4-o),n=i;break}}t=Math.round(10*t)/10}return"<strong>"+t+"</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(e){if(e.dataTransfer){this.emit("drop",e);for(var t=[],n=0;n<e.dataTransfer.files.length;n++)t[n]=e.dataTransfer.files[n];if(this.emit("addedfiles",t),t.length){var r=e.dataTransfer.items;r&&r.length&&null!=r[0].webkitGetAsEntry?this._addFilesFromItems(r):this.handleFiles(t)}}}},{key:"paste",value:function(e){if(null!=(null!=(t=null!=e?e.clipboardData:void 0)?function(e){return e.items}(t):void 0)){var t;this.emit("paste",e);var n=e.clipboardData.items;return n.length?this._addFilesFromItems(n):void 0}}},{key:"handleFiles",value:function(e){for(var t=0,n=n=e;!(t>=n.length);){var r=n[t++];this.addFile(r)}}},{key:"_addFilesFromItems",value:function(e){var t=this;return function(){for(var n=[],r=0,o=o=e;!(r>=o.length);){var i,a=o[r++];null!=a.webkitGetAsEntry&&(i=a.webkitGetAsEntry())?i.isFile?n.push(t.addFile(a.getAsFile())):i.isDirectory?n.push(t._addFilesFromDirectory(i,i.name)):n.push(void 0):null==a.getAsFile||null!=a.kind&&"file"!==a.kind?n.push(void 0):n.push(t.addFile(a.getAsFile()))}return n}()}},{key:"_addFilesFromDirectory",value:function(e,t){var n=this,r=e.createReader(),o=function(e){return"log",n=function(t){return t.log(e)},null!=(t=console)&&"function"==typeof t.log?n(t):void 0;var t,n};return function e(){return r.readEntries((function(r){if(r.length>0){for(var o=0,i=i=r;!(o>=i.length);){var a=i[o++];a.isFile?a.file((function(e){if(!n.options.ignoreHiddenFiles||"."!==e.name.substring(0,1))return e.fullPath=t+"/"+e.name,n.addFile(e)})):a.isDirectory&&n._addFilesFromDirectory(a,t+"/"+a.name)}e()}return null}),o)}()}},{key:"accept",value:function(e,n){return this.options.maxFilesize&&e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)}},{key:"addFile",value:function(e){var n=this;return e.upload={uuid:t.uuidv4(),progress:0,total:e.size,bytesSent:0,filename:this._renameFile(e),chunked:this.options.chunking&&(this.options.forceChunking||e.size>this.options.chunkSize),totalChunkCount:Math.ceil(e.size/this.options.chunkSize)},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,(function(t){return t?(e.accepted=!1,n._errorProcessing([e],t)):(e.accepted=!0,n.options.autoQueue&&n.enqueueFile(e)),n._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(e){for(var t=0,n=n=e;!(t>=n.length);){var r=n[t++];this.enqueueFile(r)}return null}},{key:"enqueueFile",value:function(e){var n=this;if(e.status!==t.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=t.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return n.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(e){var t=this;if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(e),setTimeout((function(){return t._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var e=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return e.emit("thumbnail",t,n),e._processingThumbnail=!1,e._processThumbnailQueue()}))}}},{key:"removeFile",value:function(e){if(e.status===t.UPLOADING&&this.cancelUpload(e),this.files=u(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(e){null==e&&(e=!1);for(var n=0,r=r=this.files.slice();!(n>=r.length);){var o=r[n++];(o.status!==t.UPLOADING||e)&&this.removeFile(o)}return null}},{key:"resizeImage",value:function(e,n,r,o,i){var a=this;return this.createThumbnail(e,n,r,o,!0,(function(n,r){if(null==r)return i(e);var o=a.options.resizeMimeType;null==o&&(o=e.type);var c=r.toDataURL(o,a.options.resizeQuality);return"image/jpeg"!==o&&"image/jpg"!==o||(c=f.restore(e.dataURL,c)),i(t.dataURItoBlob(c))}))}},{key:"createThumbnail",value:function(e,t,n,r,o,i){var a=this,c=new FileReader;return c.onload=function(){if(e.dataURL=c.result,"image/svg+xml"!==e.type)return a.createThumbnailFromUrl(e,t,n,r,o,i);null!=i&&i(c.result)},c.readAsDataURL(e)}},{key:"createThumbnailFromUrl",value:function(e,t,n,r,o,i,a){var c=this,u=document.createElement("img");return a&&(u.crossOrigin=a),u.onload=function(){var a=function(e){return e(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&o&&(a=function(e){return EXIF.getData(u,(function(){return e(EXIF.getTag(this,"Orientation"))}))}),a((function(o){e.width=u.width,e.height=u.height;var a=c.options.resize.call(c,e,t,n,r),s=document.createElement("canvas"),f=s.getContext("2d");switch(s.width=a.trgWidth,s.height=a.trgHeight,o>4&&(s.width=a.trgHeight,s.height=a.trgWidth),o){case 2:f.translate(s.width,0),f.scale(-1,1);break;case 3:f.translate(s.width,s.height),f.rotate(Math.PI);break;case 4:f.translate(0,s.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,-s.width);break;case 7:f.rotate(.5*Math.PI),f.translate(s.height,-s.width),f.scale(-1,1);break;case 8:f.rotate(-.5*Math.PI),f.translate(-s.height,0)}l(f,u,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=s.toDataURL("image/png");if(null!=i)return i(p,s)}))},null!=i&&(u.onerror=i),u.src=e.dataURL}},{key:"processQueue",value:function(){var e=this.options.parallelUploads,t=this.getUploadingFiles().length,n=t;if(!(t>=e)){var r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,e-t));for(;n<e;){if(!r.length)return;this.processFile(r.shift()),n++}}}}},{key:"processFile",value:function(e){return this.processFiles([e])}},{key:"processFiles",value:function(e){for(var n=0,r=r=e;!(n>=r.length);){var o=r[n++];o.processing=!0,o.status=t.UPLOADING,this.emit("processing",o)}return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)}},{key:"_getFilesWithXhr",value:function(e){return this.files.filter((function(t){return t.xhr===e})).map((function(e){return e}))}},{key:"cancelUpload",value:function(e){if(e.status===t.UPLOADING){for(var n=this._getFilesWithXhr(e.xhr),r=0,o=o=n;!(r>=o.length);)o[r++].status=t.CANCELED;void 0!==e.xhr&&e.xhr.abort();for(var i=0,a=a=n;!(i>=a.length);){var c=a[i++];this.emit("canceled",c)}this.options.uploadMultiple&&this.emit("canceledmultiple",n)}else e.status!==t.ADDED&&e.status!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(e){if("function"==typeof e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(this,n)}return e}},{key:"uploadFile",value:function(e){return this.uploadFiles([e])}},{key:"uploadFiles",value:function(e){var n=this;this._transformFiles(e,(function(r){if(e[0].upload.chunked){var o=e[0],i=r[0];o.upload.chunks=[];var a=function(){for(var r=0;void 0!==o.upload.chunks[r];)r++;if(!(r>=o.upload.totalChunkCount)){var a=r*n.options.chunkSize,c=Math.min(a+n.options.chunkSize,o.size),u={name:n._getParamName(0),data:i.webkitSlice?i.webkitSlice(a,c):i.slice(a,c),filename:o.upload.filename,chunkIndex:r};o.upload.chunks[r]={file:o,index:r,dataBlock:u,status:t.UPLOADING,progress:0,retries:0},n._uploadData(e,[u])}};if(o.upload.finishedChunkUpload=function(r){var i=!0;r.status=t.SUCCESS,r.dataBlock=null,r.xhr=null;for(var c=0;c<o.upload.totalChunkCount;c++){if(void 0===o.upload.chunks[c])return a();o.upload.chunks[c].status!==t.SUCCESS&&(i=!1)}i&&n.options.chunksUploaded(o,(function(){n._finished(e,"",null)}))},n.options.parallelChunkUploads)for(var c=0;c<o.upload.totalChunkCount;c++)a();else a()}else{for(var u=[],s=0;s<e.length;s++)u[s]={name:n._getParamName(s),data:r[s],filename:e[s].upload.filename};n._uploadData(e,u)}}))}},{key:"_getChunk",value:function(e,t){for(var n=0;n<e.upload.totalChunkCount;n++)if(void 0!==e.upload.chunks[n]&&e.upload.chunks[n].xhr===t)return e.upload.chunks[n]}},{key:"_uploadData",value:function(e,n){for(var r=this,o=new XMLHttpRequest,i=0,a=a=e;!(i>=a.length);)a[i++].xhr=o;e[0].upload.chunked&&(e[0].upload.chunks[n[0].chunkIndex].xhr=o);var c=this.resolveOption(this.options.method,e),u=this.resolveOption(this.options.url,e);o.open(c,u,!0),o.timeout=this.resolveOption(this.options.timeout,e),o.withCredentials=!!this.options.withCredentials,o.onload=function(t){r._finishedUploading(e,o,t)},o.onerror=function(){r._handleUploadError(e,o)},(null!=o.upload?o.upload:o).onprogress=function(t){return r._updateFilesUploadProgress(e,o,t)};var s={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var l in this.options.headers&&t.extend(s,this.options.headers),s){var f=s[l];f&&o.setRequestHeader(l,f)}var p=new FormData;if(this.options.params){var y=this.options.params;for(var d in"function"==typeof y&&(y=y.call(this,e,o,e[0].upload.chunked?this._getChunk(e[0],o):null)),y){var h=y[d];p.append(d,h)}}for(var b=0,v=v=e;!(b>=v.length);){var m=v[b++];this.emit("sending",m,o,p)}this.options.uploadMultiple&&this.emit("sendingmultiple",e,o,p),this._addFormElementData(p);for(var g=0;g<n.length;g++){var w=n[g];p.append(w.name,w.data,w.filename)}this.submitRequest(o,p,e)}},{key:"_transformFiles",value:function(e,t){for(var n=this,r=[],o=0,i=function(i){n.options.transformFile.call(n,e[i],(function(n){r[i]=n,++o===e.length&&t(r)}))},a=0;a<e.length;a++)i(a)}},{key:"_addFormElementData",value:function(e){if("FORM"===this.element.tagName)for(var t=0,n=n=this.element.querySelectorAll("input, textarea, select, button");!(t>=n.length);){var r=n[t++],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;!(a>=c.length);){var u=c[a++];u.selected&&e.append(o,u.value)}else(!i||"checkbox"!==i&&"radio"!==i||r.checked)&&e.append(o,r.value)}}},{key:"_updateFilesUploadProgress",value:function(e,t,n){var r=void 0;if(void 0!==n){if(r=100*n.loaded/n.total,e[0].upload.chunked){var o=e[0],i=this._getChunk(o,t);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=e;!(c>=u.length);){var s=u[c++];s.upload.progress=r,s.upload.total=n.total,s.upload.bytesSent=n.loaded}for(var l=0,f=f=e;!(l>=f.length);){var p=f[l++];this.emit("uploadprogress",p,p.upload.progress,p.upload.bytesSent)}}else{var y=!0;r=100;for(var d=0,h=h=e;!(d>=h.length);){var b=h[d++];100===b.upload.progress&&b.upload.bytesSent===b.upload.total||(y=!1),b.upload.progress=r,b.upload.bytesSent=b.upload.total}if(y)return;for(var v=0,m=m=e;!(v>=m.length);){var g=m[v++];this.emit("uploadprogress",g,r,g.upload.bytesSent)}}}},{key:"_finishedUploading",value:function(e,n,r){var o=void 0;if(e[0].status!==t.CANCELED&&4===n.readyState){if("arraybuffer"!==n.responseType&&"blob"!==n.responseType&&(o=n.responseText,n.getResponseHeader("content-type")&&~n.getResponseHeader("content-type").indexOf("application/json")))try{o=JSON.parse(o)}catch(e){r=e,o="Invalid JSON response from server."}this._updateFilesUploadProgress(e),200<=n.status&&n.status<300?e[0].upload.chunked?e[0].upload.finishedChunkUpload(this._getChunk(e[0],n)):this._finished(e,o,r):this._handleUploadError(e,n,o)}}},{key:"_handleUploadError",value:function(e,n,r){if(e[0].status!==t.CANCELED){if(e[0].upload.chunked&&this.options.retryChunks){var o=this._getChunk(e[0],n);if(o.retries++<this.options.retryChunksLimit)return void this._uploadData(e,[o.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}for(var i=0,a=a=e;!(i>=a.length);)a[i++],this._errorProcessing(e,r||this.options.dictResponseError.replace("{{statusCode}}",n.status),n)}}},{key:"submitRequest",value:function(e,t,n){e.send(t)}},{key:"_finished",value:function(e,n,r){for(var o=0,i=i=e;!(o>=i.length);){var a=i[o++];a.status=t.SUCCESS,this.emit("success",a,n,r),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("successmultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(e,n,r){for(var o=0,i=i=e;!(o>=i.length);){var a=i[o++];a.status=t.ERROR,this.emit("error",a,n,r),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("errormultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}}]),t}(a);c.initClass(),c.version="5.5.1",c.options={},c.optionsForElement=function(e){return e.getAttribute("id")?c.options[s(e.getAttribute("id"))]:void 0},c.instances=[],c.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.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 e.dropzone},c.autoDiscover=!0,c.discover=function(){var e=void 0;if(document.querySelectorAll)e=document.querySelectorAll(".dropzone");else{e=[];var t=function(t){return function(){for(var n=[],r=0,o=o=t;!(r>=o.length);){var i=o[r++];/(^| )dropzone($| )/.test(i.className)?n.push(e.push(i)):n.push(void 0)}return n}()};t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))}return function(){for(var t=[],n=0,r=r=e;!(n>=r.length);){var o=r[n++];!1!==c.optionsForElement(o)?t.push(new c(o)):t.push(void 0)}return t}()},c.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],c.isBrowserSupported=function(){var e=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(var t=0,n=n=c.blacklistedBrowsers;!(t>=n.length);)n[t++].test(navigator.userAgent)&&(e=!1);else e=!1;else e=!1;return e},c.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(t.length),o=new Uint8Array(r),i=0,a=t.length,c=0<=a;c?i<=a:i>=a;c?i++:i--)o[i]=t.charCodeAt(i);return new Blob([r],{type:n})};var u=function(e,t){return e.filter((function(e){return e!==t})).map((function(e){return e}))},s=function(e){return e.replace(/[\-_](\w)/g,(function(e){return e.charAt(1).toUpperCase()}))};c.createElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.childNodes[0]},c.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},c.getElement=function(e,t){var n=void 0;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},c.getElements=function(e,t){var n=void 0,r=void 0;if(e instanceof Array){r=[];try{for(var o=0,i=i=e;!(o>=i.length);)n=i[o++],r.push(this.getElement(n,t))}catch(e){r=null}}else if("string"==typeof e){r=[];for(var a=0,c=c=document.querySelectorAll(e);!(a>=c.length);)n=c[a++],r.push(n)}else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},c.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},c.isValidFile=function(e,t){if(!t)return!0;t=t.split(",");for(var n=e.type,r=n.replace(/\/.*$/,""),o=0,i=i=t;!(o>=i.length);){var a=i[o++];if("."===(a=a.trim()).charAt(0)){if(-1!==e.name.toLowerCase().indexOf(a.toLowerCase(),e.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(e){return this.each((function(){return new c(this,e)}))}),null!==e?e.exports=c:window.Dropzone=c,c.ADDED="added",c.QUEUED="queued",c.ACCEPTED=c.QUEUED,c.UPLOADING="uploading",c.PROCESSING=c.UPLOADING,c.CANCELED="canceled",c.ERROR="error",c.SUCCESS="success";var l=function(e,t,n,r,o,i,a,c,u,s){var l=function(e){e.naturalWidth;var t=e.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=t;var r=n.getContext("2d");r.drawImage(e,0,0);for(var o=r.getImageData(1,0,1,t).data,i=0,a=t,c=t;c>i;)0===o[4*(c-1)+3]?a=c:i=c,c=a+i>>1;var u=c/t;return 0===u?1:u}(t);return e.drawImage(t,n,r,o,i,a,c,u,s/l)},f=function(){function e(){i(this,e)}return r(e,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(e){for(var t="",n=void 0,r=void 0,o="",i=void 0,a=void 0,c=void 0,u="",s=0;i=(n=e[s++])>>2,a=(3&n)<<4|(r=e[s++])>>4,c=(15&r)<<2|(o=e[s++])>>6,u=63&o,isNaN(r)?c=u=64:isNaN(o)&&(u=64),t=t+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<e.length;);return t}},{key:"restore",value:function(e,t){if(!e.match("data:image/jpeg;base64,"))return t;var n=this.decode64(e.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(n),o=this.exifManipulation(t,r);return"data:image/jpeg;base64,"+this.encode64(o)}},{key:"exifManipulation",value:function(e,t){var n=this.getExifArray(t),r=this.insertExif(e,n);return new Uint8Array(r)}},{key:"getExifArray",value:function(e){for(var t=void 0,n=0;n<e.length;){if(255===(t=e[n])[0]&225===t[1])return t;n++}return[]}},{key:"insertExif",value:function(e,t){var n=e.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.concat(t)).concat(a)}},{key:"slice2Segments",value:function(e){for(var t=0,n=[];!(255===e[t]&218===e[t+1]);){if(255===e[t]&216===e[t+1])t+=2;else{var r=t+(256*e[t+2]+e[t+3])+2,o=e.slice(t,r);n.push(o),t=r}if(t>e.length)break}return n}},{key:"decode64",value:function(e){var t=void 0,n=void 0,r="",o=void 0,i=void 0,a="",c=0,u=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(e)&&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."),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");t=this.KEY_STR.indexOf(e.charAt(c++))<<2|(o=this.KEY_STR.indexOf(e.charAt(c++)))>>4,n=(15&o)<<4|(i=this.KEY_STR.indexOf(e.charAt(c++)))>>2,r=(3&i)<<6|(a=this.KEY_STR.indexOf(e.charAt(c++))),u.push(t),64!==i&&u.push(n),64!==a&&u.push(r),t=n=r="",o=i=a="",c<e.length;);return u}}]),e}();f.initClass(),c._autoDiscoverFunction=function(){if(c.autoDiscover)return c.discover()},function(e,t){var n=!1,r=!0,o=e.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?e:o)[c](u+i.type,r,!1),!n&&(n=!0)?t.call(e,i.type||i):void 0};if("complete"!==o.readyState){if(o.createEventObject&&i.doScroll){try{r=!e.frameElement}catch(e){}r&&function e(){try{i.doScroll("left")}catch(t){return void setTimeout(e,50)}return s("poll")}()}o[a](u+"DOMContentLoaded",s,!1),o[a](u+"readystatechange",s,!1),e[a](u+"load",s,!1)}}(window,c._autoDiscoverFunction)},7778:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return' <span class="text-right pl-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.actionText:i,t))+'">'+c(a(null!=(i=null!=t?t.options:t)?i.actionText:i,t))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.icon:i,t))+" "+c(a(null!=(i=null!=t?t.options:t)?i.iconClass:i,t))+'">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.icon:i,t))?i:"")+'</div><div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.contentContainer:i,t))+'">\r\n <div class="clamp-2 pl-1">'+c(a(null!=(i=null!=t?t.options:t)?i.content:i,t))+"</div>\r\n"+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.showActionText:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+' <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.notificationTime:i,t))+' pl-1">'+c(a(null!=(i=null!=t?t.options:t)?i.notificationTime:i,t))+"</div>\r\n</div>"},useData:!0})},24355:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.icon:i,t))+' partial-loading-background"></div><div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.contentContainer:i,t))+'">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.content:i,t))+' partial-loading-background ml-1 mt-1"></div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.notificationTime:i,t))+' partial-loading-background ml-1 mt-1"></div>\r\n</div>'},useData:!0})},93949:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="notifications-region"></div>'},useData:!0})},34176:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<span class="badge badge-danger badge-pill '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.unreadCount:i,t))+'">'+c(a(null!=(i=null!=t?t.options:t)?i.unreadCount:i,t))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.svg:i,t))?i:"")+"\r\n"+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.unreadCount:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")},useData:!0})},26938:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div id="notificationsDropdown" class="notifications-status-region" data-toggle="dropdown"></div>\r\n<div aria-labelledby="notificationsDropdown" class="notifications-region dropdown-menu dropdown-menu-right dropdown-arrow p-0 '+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.notificationsContainer:i,t))+'"></div>'},useData:!0})},83739:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){return e.propertyIsEnumerable,'<div class="py-2 border-top text-right px-2">\r\n <a class="see-all">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"seeAll",{name:"lang",hash:{},data:o}))+"</div>\r\n</div>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{};return'<h5 class="header p-2 m-0 border-bottom">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(a,"notifications",{name:"lang",hash:{},data:o}))+'</h5>\r\n<div class="list-region"></div>\r\n'+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasNotifications:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")},useData:!0})},87734:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<span class="float-right">\r\n '+(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.confirmSelectionText:i,t))?i:"")+"\r\n</span> "},useData:!0})},31554:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=e.lambda,u=e.escapeExpression;return'<a class="row" href="'+u(c(null!=(i=null!=t?t.options:t)?i.url:i,t))+'">\r\n <div class="'+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.coverContainer:i,t))+' px-2">\r\n <div class="cover-region"></div>\r\n </div>\r\n <div class="'+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.textContainer:i,t))+' px-2">\r\n <div class="result-title text-capitalize">'+u("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):a)+"</div>\r\n </div>\r\n</a>"},useData:!0})},27604:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=e.escapeExpression,u=e.lambda;return'<div class="row">\r\n <div class="recent-text col-11 recent">'+c("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):a)+'</div>\r\n <div class="col-1 text-center">\r\n <span aria-hidden="true" class="remove-recent '+c(u(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.removeRecent:i,t))+'">'+(null!=(i=u(null!=(i=null!=t?t.options:t)?i.closeSvg:i,t))?i:"")+"</span>\r\n </div>\r\n</div>"},useData:!0})},59600:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,u="function",s=e.escapeExpression;return'<a href="'+s(typeof(i=null!=(i=n.url||(null!=t?t.url:t))?i:c)===u?i.call(a,{name:"url",hash:{},data:o}):i)+'">'+s(typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:c)===u?i.call(a,{name:"name",hash:{},data:o}):i)+"</a>"},useData:!0})},42880:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,u="function",s=e.escapeExpression;return'<a href="'+s(typeof(i=null!=(i=n.url||(null!=t?t.url:t))?i:c)===u?i.call(a,{name:"url",hash:{},data:o}):i)+'">\r\n <span class="text-capitalize badge-pill tag py-1 px-2 my-1 mr-1">'+s(typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:c)===u?i.call(a,{name:"name",hash:{},data:o}):i)+"</span>\r\n</a>"},useData:!0})},36128:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){return"aligned"},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return' <div class="result-title collection"> '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.collection:i)?i.type:i,t))+": "+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.collection:i)?i.name:i,t))+" </div>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=e.escapeExpression,u=null!=t?t:e.nullContext||{};return'<a class="row" href="'+c(e.lambda(null!=(i=null!=t?t.options:t)?i.url:i,t))+'">\r\n <div class="video-img col-2">\r\n <div class="thumbnail-region"></div>\r\n </div>\r\n <div class="col-10">\r\n <div class="result-title text-capitalize '+(null!=(i=n.unless.call(u,null!=(i=null!=t?t.options:t)?i.collection:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'">'+c("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(u,{name:"name",hash:{},data:o}):a)+"</div>\r\n"+(null!=(i=n.if.call(u,null!=(i=null!=(i=null!=t?t.options:t)?i.collection:i)?i.name:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+" </div>\r\n</a>"},useData:!0})},20384:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=e.lambda,u=e.escapeExpression,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,f="function";return'<span class="d-inline-block tool-tip '+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.searchContextTag:i,t))+'" title="'+u(typeof(a=null!=(a=n.title||(null!=t?t.title:t))?a:l)===f?a.call(s,{name:"title",hash:{},data:o}):a)+'">\r\n <span>'+u(typeof(a=null!=(a=n.searchTag||(null!=t?t.searchTag:t))?a:l)===f?a.call(s,{name:"searchTag",hash:{},data:o}):a)+'</span>\r\n <span class="'+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=c(null!=(i=null!=t?t.options:t)?i.closeSvg:i,t))?i:"")+"</span>\r\n</span>"},useData:!0})},96171:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o,i,a){e.propertyIsEnumerable;var c,u=e.lambda,s=e.escapeExpression;return' <span class="border rounded align-middle '+s(u(null!=(c=null!=(c=null!=a[1]?a[1].options:a[1])?c.styles:c)?c.term:c,t))+'">'+s(u(t,t))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o,i,a){e.propertyIsEnumerable;var c,u,s=e.escapeExpression,l=null!=t?t:e.nullContext||{};return'<span class="d-inline-block '+s(e.lambda(null!=(c=null!=(c=null!=t?t.options:t)?c.styles:c)?c.termContainer:c,t))+'">\r\n'+(null!=(c=n.each.call(l,null!=t?t.term:t,{name:"each",hash:{},fn:e.program(1,o,0,i,a),inverse:e.noop,data:o}))?c:"")+"</span>\r\n<span>"+s("function"==typeof(u=null!=(u=n.description||(null!=t?t.description:t))?u:e.hooks.helperMissing)?u.call(l,{name:"description",hash:{},data:o}):u)+"</span>"},useData:!0,useDepths:!0})},14040:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda;return'<div class="cursor-pointer svg-container '+e.escapeExpression(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'" data-toggle="popover">\r\n '+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.searchInfoSvg:i,t))?i:"")+'\r\n</div>\r\n<div class="popover-container"></div>'},useData:!0})},30330:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="w-100 h-100 d-flex align-items-center search-bar-container">\r\n <span class="search-context-region"></span>\r\n <input name="search" type="text" class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.searchInput:i,t))+'" id="search" autocomplete="off" type="Search within your libraries..." placeholder="'+c(a(null!=(i=null!=t?t.options:t)?i.libraryText:i,t))+'" aria-label="Search">\r\n</div>\r\n<div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.searchIcons:i,t))+'">\r\n <span class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.searchSvgContainer:i,t))+' search-btn">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.svg:i,t))?i:"")+'</span>\r\n <button type="submit" tabindex="-1" style="display:none"></button>\r\n <span class="search-tips-region"></span>\r\n'+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.showCloseButton:i,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o}))?i:"")+"</div>\r\n"},2:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda;return' <span class="'+e.escapeExpression(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.searchSvgContainer:i,t))+' close-btn">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.closeSvg:i,t))?i:"")+"</span>\r\n"},4:function(e,t,n,r,o){return'<div class="search-partial-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.showPartial:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(4,o,0),data:o}))?i:""},useData:!0})},58379:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="'+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.searchBar:i,t))+' partial-loading-background dark-partial"></div>'},useData:!0})},49545:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,u="function",s=e.escapeExpression;return'<div class="direct-search-suggestion p-2"><span class="ignore-highlighting">'+s(typeof(i=null!=(i=n.templateText||(null!=t?t.templateText:t))?i:c)===u?i.call(a,{name:"templateText",hash:{},data:o}):i)+'</span>\r\n <span class="query-text">'+s(typeof(i=null!=(i=n.query||(null!=t?t.query:t))?i:c)===u?i.call(a,{name:"query",hash:{},data:o}):i)+"</span>\r\n</div>"},useData:!0})},23429:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,u="function",s=e.escapeExpression;return'<div class="p-2"><a href="'+s(typeof(i=null!=(i=n.url||(null!=t?t.url:t))?i:c)===u?i.call(a,{name:"url",hash:{},data:o}):i)+'">'+s(typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:c)===u?i.call(a,{name:"name",hash:{},data:o}):i)+" - "+s(typeof(i=null!=(i=n.libraryName||(null!=t?t.libraryName:t))?i:c)===u?i.call(a,{name:"libraryName",hash:{},data:o}):i)+"</a></div>"},useData:!0})},17083:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="tt-pending p-2">\r\n <div class="partial-text">'+e.escapeExpression("function"==typeof(i=null!=(i=n.templateText||(null!=t?t.templateText:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"templateText",hash:{},data:o}):i)+"</div>\r\n</div>"},useData:!0})},75303:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="no-libraries-suggestion p-2">\r\n <div class="ignore-highlighting">'+e.escapeExpression("function"==typeof(i=null!=(i=n.templateText||(null!=t?t.templateText:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"templateText",hash:{},data:o}):i)+"</div>\r\n</div>"},useData:!0})},15064:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="tt-not-found"></div>'},useData:!0})},20755:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="suggestion-header text-uppercase font-weight-bold p-2">'+e.escapeExpression("function"==typeof(i=null!=(i=n.templateText||(null!=t?t.templateText:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"templateText",hash:{},data:o}):i)+"</div>"},useData:!0})},40683:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="suggestion-seperator border-bottom"></div>\r\n'},useData:!0})},50553:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="suggestion-header text-uppercase font-weight-bold px-2 pt-2 pb-1">'+e.escapeExpression("function"==typeof(i=null!=(i=n.dataset||(null!=t?t.dataset:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"dataset",hash:{},data:o}):i)+"</div>"},useData:!0})},95531:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=e.lambda,u=e.escapeExpression;return'<div class="drop-area-container">\r\n <div class="'+u(c(null!=(i=null!=t?t.styles:t)?i.dropMask:i,t))+'"></div>\r\n <div class="'+u(c(null!=(i=null!=t?t.styles:t)?i.dropContent:i,t))+'">\r\n <div class="'+u(c(null!=(i=null!=t?t.styles:t)?i.border:i,t))+'">\r\n <h1>'+u("function"==typeof(a=null!=(a=n.fileDropText||(null!=t?t.fileDropText:t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"fileDropText",hash:{},data:o}):a)+'</h1>\r\n </div>\r\n </div>\r\n <div class="'+u(c(null!=(i=null!=t?t.styles:t)?i.dropArea:i,t))+'"></div>\r\n</div>\r\n'},useData:!0})},87776:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){return"multiple"},3:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'accept="'+e.escapeExpression("function"==typeof(i=null!=(i=n.mimeType||(null!=t?t.mimeType:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"mimeType",hash:{},data:o}):i)+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{};return'<input type="file" autocomplete="off" class="file-select d-none" '+(null!=(i=n.if.call(a,null!=t?t.acceptMultiple:t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+" "+(null!=(i=n.if.call(a,null!=t?t.mimeType:t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+" />"},useData:!0})},48566:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<h2 class="mt-3 h6">'+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.heading:i,t))+"</h2>\r\n"},3:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<p class="w-75">'+(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.description:i,t))?i:"")+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression,u=null!=t?t:e.nullContext||{};return'<img src="'+c(a(null!=(i=null!=t?t.options:t)?i.imageUrl:i,t))+'" class="'+c(a(null!=(i=null!=t?t.options:t)?i.imageClass:i,t))+'"/>\r\n'+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.heading:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.description:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")},useData:!0})},95706:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},c=e.lambda,u=e.escapeExpression;return"<img "+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.lazyload:i,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o}))?i:"")+'src="'+u(c(null!=(i=null!=t?t.options:t)?i.url:i,t))+'" class="img-fluid lazy-img w-100 '+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.thumbnail:i,t))+'" />\r\n'+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.playIcon:i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o}))?i:"")},2:function(e,t,n,r,o){return"data-"},4:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.playSvgContainer:i,t))+'">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.playSvg:i,t))?i:"")+'</div>\r\n<div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.playMask:i,t))+'"></div>\r\n'},6:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<span class="badge float-right '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.durationOverlay:i,t))+'">'+c(a(null!=(i=null!=t?t.options:t)?i.duration:i,t))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},c=e.lambda;return(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.url:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'<div class="'+e.escapeExpression(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=c(null!=(i=null!=t?t.options:t)?i.playSvg:i,t))?i:"")+"</div>\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.duration:i,{name:"if",hash:{},fn:e.program(6,o,0),inverse:e.noop,data:o}))?i:"")},useData:!0})},49076:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<button class="btn partial-loading-background '+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+'" type="button"> </button>'},useData:!0})},61480:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="row">\r\n <div class="col-6">\r\n <div class="partial-loading-background mb-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.input:i,t))+'"></div>\r\n </div>\r\n <div class="col-6">\r\n <div class="partial-loading-background mb-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.input:i,t))+'"></div>\r\n </div>\r\n</div>\r\n<div class="row">\r\n <div class="col-3">\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+'"></div>\r\n </div>\r\n</div>'},useData:!0})},13153:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.name:i,t))+"\"></div>\r\n\r\n<ol class='breadcrumb m-0 p-0 d-flex align-items-center'>\r\n <li class='"+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.breadcrumb:i,t))+" partial-loading-background mr-3'>\r\n </li>\r\n <li class='"+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.breadcrumb:i,t))+" partial-loading-background mr-3'>\r\n </li>\r\n <li class='"+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.breadcrumb:i,t))+' partial-loading-background mr-3\'>\r\n </li>\r\n</ol>\r\n\r\n<div class="py-3 border-bottom mb-3">\r\n <div class="d-flex rounded '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.tabs:i,t))+' partial-loading-background">\r\n </div>\r\n</div>\r\n\r\n<div class="mb-3"></div>'},useData:!0})},46589:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="row mt-3">\r\n <div class="col-4">\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 w-100 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.thumbnailContainer:i,t))+'"></div>\r\n <button class="btn my-3 w-100 partial-loading-background"> </button>\r\n\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.input:i,t))+'"></div>\r\n </div>\r\n <div class="col-8">\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+'"></div>\r\n\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subHeader:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.input:i,t))+'"></div>\r\n\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subHeader:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.textbox:i,t))+'"></div>\r\n\r\n <div class="partial-loading-background mb-2 mt-3 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subHeader:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.input:i,t))+'"></div>\r\n\r\n <div class="partial-loading-background mb-2 mt-3 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subHeader:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.input:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subHeader:i,t))+'"></div>\r\n <div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.input:i,t))+'"></div>\r\n </div>\r\n</div>'},useData:!0})},97457:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="partial-loading-background rounded-top" style="padding-bottom: 56.25%;" />\r\n<div class="partial-loading-background rounded-bottom" style="height: 2.3rem;">\r\n \r\n</div>'},useData:!0})},6305:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="partial-loading-background align-middle d-inline-block mx-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.videoTitle:i,t))+'"></div>\r\n<div class="partial-loading-background align-middle float-right d-inline-block mx-2 rounded '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.videoAction:i,t))+'"></div>\r\n<div class="partial-loading-background align-middle float-right d-inline-block mx-2 rounded '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.videoAction:i,t))+'"></div>'},useData:!0})},33086:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="py-4 border-bottom"></div>'},useData:!0})},3379:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="btn partial-loading-background float-right '+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+'" type="button"> </div>'},useData:!0})},83233:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="partial-loading-background rounded mb-2" style="height: 1.6rem; width: 7em;"></div>\r\n<div class="mt-3">\r\n <div class="partial-loading-background rounded float-left" style="height: 2.5rem; width: 5.625rem; margin-left: 2.625rem;"></div>\r\n <div class="btn partial-loading-background float-right '+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+'" type="button"> </div>\r\n</div>'},useData:!0})},24918:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.video:i,t))+' partial-loading-background responsive-img mb-3"></div>\r\n<div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+' partial-loading-background"></div>\r\n<div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+' partial-loading-background mt-1"></div>\r\n<div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subSubText:i,t))+' partial-loading-background mt-1"></div>'},useData:!0})},3137:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="partial-loading-background mb-3 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+'"></div>\r\n\r\n<div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.input:i,t))+'"></div>\r\n<div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.line:i,t))+'"></div>\r\n<div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.line:i,t))+'"></div>'},useData:!0})},76289:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+'"></div>\r\n<div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.item:i,t))+'"></div>\r\n<div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.item:i,t))+'"></div>\r\n<div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.item:i,t))+'"></div>'},useData:!0})},31160:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+'"></div>\r\n<div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+'"></div>\r\n<div class="partial-loading-background mb-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.upload:i,t))+'"></div>'},useData:!0})},45288:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.row:i,t))+'">\r\n <div class="partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+'"></div>\r\n</div>\r\n<div class="partial-loading-background pl-3 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.row:i,t))+'">\r\n <div class="partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+'"></div>\r\n</div>\r\n<div class="partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.row:i,t))+'">\r\n <div class="partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+'"></div>\r\n</div>\r\n<div class="partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.row:i,t))+'">\r\n <div class="partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+'"></div>\r\n</div>\r\n<div class="partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.row:i,t))+'">\r\n <div class="partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+'"></div>\r\n</div>\r\n<div class="partial-loading-background pl-3 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.row:i,t))+'">\r\n <div class="partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+'"></div>\r\n</div>'},useData:!0})},89019:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.icon:i,t))+' partial-loading-background"></div><div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.contentContainer:i,t))+'">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.content:i,t))+' partial-loading-background ml-1 mt-1"></div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.notificationTime:i,t))+' partial-loading-background ml-1 mt-1"></div>\r\n</div>'},useData:!0})},77999:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="'+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.filterButton:i,t))+'"></div>'},useData:!0})},22682:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="tags d-flex flex-wrap">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.tagWidth1:i,t))+' badge-pill tag py-1 px-2 my-1 mr-1 partial-loading-background"> </div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.tagWidth2:i,t))+' badge-pill tag py-1 px-2 my-1 mr-1 partial-loading-background"> </div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.tagWidth3:i,t))+' badge-pill tag py-1 px-2 my-1 mr-1 partial-loading-background"> </div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.tagWidth2:i,t))+' badge-pill tag py-1 px-2 my-1 mr-1 partial-loading-background"> </div>\r\n</div>'},useData:!0})},88824:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,"text-danger "+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.errorMargin:i,t))},3:function(e,t,n,r,o){return"mr-3"},5:function(e,t,n,r,o){return"text-danger"},7:function(e,t,n,r,o){return"text-muted"},9:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="progress mt-1" style="height: 5px;">\r\n <div class="progress-bar bg-info" style="width: '+c(a(null!=(i=null!=t?t.options:t)?i.progress:i,t))+'%" aria-valuenow="'+c(a(null!=(i=null!=t?t.options:t)?i.progress:i,t))+'" aria-valuemin="0" aria-valuemax="100"></div>\r\n</div>\r\n'},11:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},c=e.lambda,u=e.escapeExpression;return(null!=(i=n.unless.call(a,null!=(i=null!=t?t.options:t)?i.isDone:i,{name:"unless",hash:{},fn:e.program(12,o,0),inverse:e.noop,data:o}))?i:"")+' <span class="'+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.cancel:i,t))+" "+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.hiddenCancel:i,t))+'" title="'+u((n.lang||t&&t.lang||e.hooks.helperMissing).call(a,"cancel",{name:"lang",hash:{},data:o}))+'">×</span>\r\n'},12:function(e,t,n,r,o){var i;return e.propertyIsEnumerable," "+(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},14:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,u=e.escapeExpression;return' <span class="align-middle text-underline cursor-pointer retry" title="'+u((n.lang||t&&t.lang||c).call(a,"retryProcessing",{name:"lang",hash:{},data:o}))+'">'+u((n.lang||t&&t.lang||c).call(a,"retry",{name:"lang",hash:{},data:o}))+'</span>\r\n <span class="'+u(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.cancel:i,t))+' align-middle" title="'+u((n.lang||t&&t.lang||c).call(a,"cancel",{name:"lang",hash:{},data:o}))+'">×</span>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},c=e.lambda,u=e.escapeExpression;return'<div class="h6 mb-0 '+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasError:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:"")+'">\r\n '+u(c(null!=(i=null!=t?t.options:t)?i.name:i,t))+'\r\n</div>\r\n<div class="'+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasError:i,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.program(7,o,0),data:o}))?i:"")+' progress-text">'+u(c(null!=(i=null!=t?t.options:t)?i.status:i,t))+"</div>\r\n"+(null!=(i=n.unless.call(a,null!=(i=null!=t?t.options:t)?i.hasError:i,{name:"unless",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o}))?i:"")+'<div class="'+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.actions:i,t))+'">\r\n'+(null!=(i=n.unless.call(a,null!=(i=null!=t?t.options:t)?i.hasError:i,{name:"unless",hash:{},fn:e.program(11,o,0),inverse:e.program(14,o,0),data:o}))?i:"")+"</div>"},useData:!0})},9838:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="mr-2 pr-1">\r\n '+(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n</div>\r\n"+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.items:t,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o}))?i:"")},2:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=e.escapeExpression;return'<span class="badge badge-danger badge-pill '+c(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.itemCount:i,t))+'">'+c("function"==typeof(a=null!=(a=n.items||(null!=t?t.items:t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"items",hash:{},data:o}):a)+"</span>\r\n"},4:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda;return' <span class="'+e.escapeExpression(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+' mx-2 text-danger">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.warningSvg:i,t))?i:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=t?t.hasErrors:t,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(4,o,0),data:o}))?i:""},useData:!0})},52421:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return e.propertyIsEnumerable,'<h5 class="header p-2 m-0 border-bottom">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"uploadProgress",{name:"lang",hash:{},data:o}))+'</h5>\r\n<div class="upload-progress-region"></div>\r\n<div class="processing-progress-region"></div>'},useData:!0})},31573:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<span class="d-inline-block h-100 position-relative pb-1">\r\n <div class="progress-info-region" data-toggle="dropdown"></div>\r\n <div class="progress-summary-region dropdown-menu dropdown-menu-right dropdown-arrow '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressDropdown:i,t))+'"></div>\r\n</span>\r\n<a class="btn btn-outline-dark mx-2 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.upload:i,t))+'"><span class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.uploadButtonSvg:i,t))+' d-inline-block">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.uploadSvg:i,t))?i:"")+"</span>"+c((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"upload",{name:"lang",hash:{},data:o}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.hasLibraries:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:""},useData:!0})},26943:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{};return(null!=(i=n.each.call(a,null!=t?t.buttons:t,{name:"each",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=n.if.call(a,null!=t?t.spinnerButton:t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?i:"")},2:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,s="function",l=e.escapeExpression;return' <button type="'+l(typeof(a=null!=(a=n.type||(null!=t?t.type:t))?a:u)===s?a.call(c,{name:"type",hash:{},data:o}):a)+'" class="'+l(typeof(a=null!=(a=n.className||(null!=t?t.className:t))?a:u)===s?a.call(c,{name:"className",hash:{},data:o}):a)+'" '+(null!=(i=n.if.call(c,null!=t?t.close:t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+">"+l(typeof(a=null!=(a=n.text||(null!=t?t.text:t))?a:u)===s?a.call(c,{name:"text",hash:{},data:o}):a)+"</button>\r\n"},3:function(e,t,n,r,o){return'data-dismiss="modal"'},5:function(e,t,n,r,o){return' <div class="spinner-button-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,s="function",l=e.escapeExpression;return'<div class="modal-dialog '+l(typeof(a=null!=(a=n.size||(null!=t?t.size:t))?a:u)===s?a.call(c,{name:"size",hash:{},data:o}):a)+'" role="document">\r\n <div class="modal-content">\r\n <div class="modal-header d-flex align-items-center">\r\n <h4 class="modal-title text-truncate">'+l(typeof(a=null!=(a=n.title||(null!=t?t.title:t))?a:u)===s?a.call(c,{name:"title",hash:{},data:o}):a)+'</h4>\r\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\r\n <span aria-hidden="true">×</span>\r\n </button>\r\n </div>\r\n <div class="modal-body">\r\n '+(null!=(i=typeof(a=null!=(a=n.content||(null!=t?t.content:t))?a:u)===s?a.call(c,{name:"content",hash:{},data:o}):a)?i:"")+'\r\n </div>\r\n\r\n <div class="modal-footer">\r\n'+(null!=(i=n.if.call(c,null!=t?t.buttons:t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+" </div>\r\n\r\n </div>\r\n</div>"},useData:!0})},16187:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=e.escapeExpression;return' <a class="info-link d-inline-block pt-1 '+c(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.link:i,t))+'">'+c("function"==typeof(a=null!=(a=n.appLinkText||(null!=t?t.appLinkText:t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"appLinkText",hash:{},data:o}):a)+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=e.lambda,u=e.escapeExpression,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,f="function";return'<div class="d-inline-block '+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.icon:i,t))+'">\r\n <span class=" d-inline-block '+u(c(null!=(i=null!=t?t.options:t)?i.svgClass:i,t))+" "+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=c(null!=(i=null!=t?t.options:t)?i.typeSvg:i,t))?i:"")+'</span>\r\n</div>\r\n<div class="pl-2 d-inline-block '+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.alertContent:i,t))+'">\r\n <p class="p-0 m-0 pb-1 '+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.heading:i,t))+'">'+u(typeof(a=null!=(a=n.heading||(null!=t?t.heading:t))?a:l)===f?a.call(s,{name:"heading",hash:{},data:o}):a)+'</p>\r\n <p class="p-0 m-0 '+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.message:i,t))+'">'+(null!=(i=typeof(a=null!=(a=n.message||(null!=t?t.message:t))?a:l)===f?a.call(s,{name:"message",hash:{},data:o}):a)?i:"")+"</p>\r\n"+(null!=(i=n.if.call(s,null!=t?t.appLink:t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\r\n<div class="close d-inline-block" aria-hidden="true">×</div>'},useData:!0})},59913:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return"<ol class='breadcrumb m-0 p-0 d-flex align-items-center'>\r\n <li class='"+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.breadcrumb:i,t))+" partial-loading-background mr-3'>\r\n </li>\r\n <li class='"+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.breadcrumb:i,t))+" partial-loading-background mr-3'>\r\n </li>\r\n <li class='"+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.breadcrumb:i,t))+" partial-loading-background mr-3'>\r\n </li>\r\n</ol>"},useData:!0})},17852:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,e.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):i)},useData:!0})},13601:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.escapeExpression;return' <a href="'+a(e.lambda(null!=(i=null!=t?t.options:t)?i.href:i,t))+'" class="text-reset text-decoration-none">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"title",{name:"lang",hash:{},data:o}))+"</a>\r\n"},3:function(e,t,n,r,o){return e.propertyIsEnumerable," "+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"title",{name:"lang",hash:{},data:o}))+"\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="d-flex justify-content-between cursor-pointer">\r\n'+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.href:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:"")+' <div class="svg-container text-muted">'+(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.svg:i,t))?i:"")+'</div>\r\n <div class="items-region"></div>\r\n</div>'},useData:!0})},96846:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.text:i,t))?i:""},useData:!0})},99475:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<span class="svg-container d-inline-block text-muted ml-2">'+(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.iconSvg:i,t))?i:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda;return(null!=(i=a(null!=(i=null!=t?t.options:t)?i.prefix:i,t))?i:"")+e.escapeExpression(a(null!=(i=null!=t?t.options:t)?i.title:i,t))+"\r\n"+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.iconSvg:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")},useData:!0})},10074:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.escapeExpression,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return"ClickView "+a(e.lambda(null!=(i=null!=t?t.options:t)?i.currentYear:i,t))+" | "+a((n.lang||t&&t.lang||u).call(c,"footer",{name:"lang",hash:{},data:o}))+" | "+a((n.lang||t&&t.lang||u).call(c,"version",{name:"lang",hash:{version:null!=(i=null!=t?t.options:t)?i.version:i},data:o}))},useData:!0})},30354:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<a class="navbar-brand text-hide align-top '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.logoContainer:i,t))+' d-inline-block" href="/">\r\n <svg viewBox="0 0 434 71">\r\n <g>\r\n <path fill="#FFFFFF" d="M114.44 56.57l3.5 3.5a32.87 32.87 0 0 1-25.16 11.26c-19.63 0-33.62-15.54-33.62-35.16C59.16 16.55 73.16 1 92.78 1a32.31 32.31 0 0 1 24.19 10.4l-3.6 3.3a27.32 27.32 0 0 0-20.59-8.74c-16.91 0-28.39 13.5-28.39 30.21s11.48 30.21 28.39 30.21a28.08 28.08 0 0 0 21.66-9.81zM126.64 1h4.55v70.22h-4.73L126.64 1zm17.3 10.6a3.7 3.7 0 1 1 0 7.4 3.7 3.7 0 0 1 0-7.4zm-2.41 15.07h4.81v44.56h-4.81V26.67zm48 33.15l3.33 3.15a21.8 21.8 0 0 1-17.31 8.61c-12.59 0-21.76-10-21.76-22.22 0-12.22 9.17-22.22 21.76-22.22a21.84 21.84 0 0 1 16.85 8l-3.43 3.06a17.15 17.15 0 0 0-13.42-6.3c-10.09 0-16.76 8.15-16.76 17.5s6.67 17.5 16.76 17.5a17.38 17.38 0 0 0 13.98-7.08zm14.99-9.33v20.74h-4.73V1.01h4.73v47.75l20.74-19.02h6.64l-21.56 19.84L234 71.23h-7.01l-22.47-20.74z"/>\r\n <path fill="#F8981D" d="M304.09 19.4a5.56 5.56 0 1 1 0-11.12 5.56 5.56 0 0 1 0 11.12zm-5.56 7.27h11.11v44.56h-11.11V26.67zm61.42 22.15c0 .81 0 2.42-.09 4h-31.75c.8 3.77 5.2 8.61 11.93 8.61a17.11 17.11 0 0 0 11.66-4.31l5.38 8.16a27.23 27.23 0 0 1-17 6.1c-12.92 0-22.88-9.87-22.88-22.34s9.06-22.33 21.35-22.33c11.62-.04 21.4 9.02 21.4 22.11zm-10.77-3.76c-.18-3.68-3.58-8.62-10.67-8.62-6.91 0-10.05 4.85-10.4 8.62h21.07zM385.92 71h-6.42l-19.64-44.37h13.97l9.16 23.98 9.72-23.98h8.31l9.63 23.98 9.16-23.98h13.97L414.24 71h-6.52l-10.85-23.7L385.92 71zm-120.22.35h-6L226.11 1.01h17.01l19.42 44.18 18.08-44.18h16.91L265.7 71.35zM0 1l41 35L0 71V1z"/>\r\n </g>\r\n </svg>\r\n</a>\r\n<div class="w-100 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.searchBarContainer:i,t))+'">\r\n <div class="search-bar-region container '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.searchBar:i,t))+'"></div>\r\n</div>\r\n<div class="d-flex align-items-center pr-1 position-absolute '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.actionButtons:i,t))+'">\r\n <div class="upload-region"></div>\r\n <div class="library-requests-region"></div>\r\n <div class="notifications-region"></div>\r\n <div class="user-options-region"></div>\r\n</div>\r\n\r\n'},useData:!0})},75988:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.buttonText:i,t))+"\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.spinnerEl:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},93364:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=e.lambda,u=e.escapeExpression,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,f="function";return'<div class="dropdown-item '+u(c(null!=(i=null!=t?t.options:t)?i.heading:i,t))+'">\r\n <div class="m-0 '+u(c(null!=(i=null!=t?t.options:t)?i.displayName:i,t))+'"><strong>'+u(typeof(a=null!=(a=n.displayName||(null!=t?t.displayName:t))?a:l)===f?a.call(s,{name:"displayName",hash:{},data:o}):a)+'</strong></div>\r\n <div class="m-0 text-muted">'+u(typeof(a=null!=(a=n.customerName||(null!=t?t.customerName:t))?a:l)===f?a.call(s,{name:"customerName",hash:{},data:o}):a)+'</div>\r\n</div>\r\n<dic class="customer-selector-region"></dic>\r\n<div class="dropdown-divider"></div>\r\n<div class="items-region"></div>'},useData:!0})},65256:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="row">\r\n\r\n <div class="d-block w-100">\r\n <div class="m-1 partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+'"></div>\r\n </div>\r\n\r\n\r\n <div class="col-3 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-6 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n <div class="col-3 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-6 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n <div class="col-3 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-6 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n <div class="col-3 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-6 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n <div class="col-3 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-6 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n <div class="col-3 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-6 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n <div class="col-3 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-6 partial-loading-background m-1 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n</div>\r\n'},useData:!0})},73024:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="row w-100 mt-0">\r\n <div class="col-8 border-right p-3">\r\n <div class="mb-3 partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+'"></div>\r\n <div class="my-2 w-80 h-20 partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.multilineSubText:i,t))+'"></div>\r\n <div class="my-2 partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.thumbnail:i,t))+'"></div>\r\n </div>\r\n\r\n <div class="col-4">\r\n <div class="partial-loading-background ml-2 my-3 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+'"></div>\r\n\r\n <div class="row ml-2">\r\n <div class="col-5 partial-loading-background mr-4 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-5 partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n <div class="col-5 partial-loading-background mr-4 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-5 partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n <div class="col-5 partial-loading-background mr-4 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-5 partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n <div class="col-5 partial-loading-background mr-4 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-5 partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n <div class="col-5 partial-loading-background mr-4 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-5 partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n <div class="col-5 partial-loading-background mr-4 '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n <div class="col-5 partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n\r\n </div>\r\n <div class="my-3 ml-2 partial-loading-background '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.subText:i,t))+'"></div>\r\n </div>\r\n</div>\r\n'},useData:!0})},63675:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="row mx-0">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.thumbnailContainer:i,t))+' partial-loading-background pr-0 my-3 rounded"></div>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.metaContainer:i,t))+' pl-3 my-3">\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.titleContainer:i,t))+' partial-loading-background rounded"></div>\r\n </div>\r\n</div>'},useData:!0})},36322:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="partial-loading-background d-block '+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.player:i,t))+'"></div>'},useData:!0})},43630:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,' <div class="left-nav-region '+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.leftNav:i,t))+'"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div class="top-banner-region"></div>\r\n<div class="page-header-region"></div>\r\n<div class="container-fluid clearfix px-0 '+c(a(null!=(i=null!=t?t.options:t)?i.sizingBox:i,t))+'">\r\n'+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.showLeftNav:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+' <div class="'+c(a(null!=(i=null!=t?t.options:t)?i.contentBoxClassName:i,t))+'">\r\n <div class="content-region container px-0 '+c(a(null!=(i=null!=t?t.options:t)?i.contentContainerClassName:i,t))+'"></div>\r\n <div class="container page-footer-region"></div>\r\n </div>\r\n</div>\r\n\r\n<div class="popup-region"></div>\r\n<div class="alert-region '+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.alertBox:i,t))+'"></div>\r\n<div class="hidden-region d-none"></div>\r\n<div id="dialog-region"></div>'},useData:!0})},31247:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,c=e.lambda,u=e.escapeExpression,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,f="function";return'<div class="add-new px-2 py-1 border-top">\r\n <span class="add-tag ignore-highlighting">\r\n <span class="'+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=c(null!=(i=null!=t?t.options:t)?i.svg:i,t))?i:"")+"</span> "+u(c(null!=(i=null!=t?t.options:t)?i.createText:i,t))+" "+u(typeof(a=null!=(a=n.type||(null!=t?t.type:t))?a:l)===f?a.call(s,{name:"type",hash:{},data:o}):a)+': \r\n </span>\r\n <span class="query-text">'+u(typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:l)===f?a.call(s,{name:"name",hash:{},data:o}):a)+"</span>\r\n</div>>"},useData:!0})},9199:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="tt-not-found empty"></div>'},useData:!0})},59975:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="tt-pending p-2"><div class="partial-text">Searching...</div></div>'},useData:!0})},59841:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="tt-not-found p-2">Could not find any matches</div>'},useData:!0})},14187:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<div class="result px-2 py-1"><span class="query-text">'+e.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):i)+"</span></div>>"},useData:!0})},10802:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){return"disabled"},3:function(e,t,n,r,o){return e.propertyIsEnumerable,'title="'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"cannotMakeAvailable",{name:"lang",hash:{},data:o}))+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.escapeExpression,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return'<div class="py-2 '+a(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.banner:i,t))+'">\r\n '+a((n.lang||t&&t.lang||u).call(c,"previewingNew",{name:"lang",hash:{},data:o}))+' <button class="btn btn-outline-dark ml-2 make-available '+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'" '+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+">"+a((n.lang||t&&t.lang||u).call(c,"makeAvailable",{name:"lang",hash:{},data:o}))+"</button>\r\n</div>"},useData:!0})},29493:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<label class="mb-0 h6">Share link</label>\r\n<div class="partial-loading-background border rounded '+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.input:i,t))+'"></div>'},useData:!0})},35846:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,c=e.escapeExpression;return'<div\r\n class="cursor-pointer mx-2"\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n>\r\n <div class="'+c(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.avatar:i,t))+'" style="background-image: url(\''+c(a(null!=(i=null!=t?t.options:t)?i.avatar:i,t))+'\')">\r\n  \r\n </div>\r\n</div>\r\n<div class="options-region"></div>'},useData:!0})},46922:function(e,t,n){"use strict";var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(21994)),o=r.tokenize,i=r.options.Options;function a(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function c(e){return e.replace(/"/g,""")}function u(e){if(!e)return"";var t=[];for(var n in e){var r=e[n]+"";t.push(n+'="'+c(r)+'"')}return t.join(" ")}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=new i(t);for(var n=o(e),r=[],s=0;s<n.length;s++){var l=n[s];if("nl"===l.type&&t.nl2br)r.push("<br>\n");else if(l.isLink&&t.check(l)){var f=t.resolve(l),p=f.formatted,y=f.formattedHref,d=f.tagName,h=f.className,b=f.target,v=f.attributes,m="<"+d+' href="'+c(y)+'"';h&&(m+=' class="'+c(h)+'"'),b&&(m+=' target="'+c(b)+'"'),v&&(m+=" "+u(v)),m+=">"+a(p)+"</"+d+">",r.push(m)}else r.push(a(l.toString()))}return r.join("")}if(!String.prototype.linkify)try{Object.defineProperty(String.prototype,"linkify",{set:function(){},get:function(){return function(e){return s(this,e)}}})}catch(e){String.prototype.linkify||(String.prototype.linkify=function(e){return s(this,e)})}t.default=s},21994:function(e,t,n){"use strict";t.__esModule=!0,t.tokenize=t.test=t.scanner=t.parser=t.options=t.inherits=t.find=void 0;var r=n(22460),o=c(n(17359)),i=c(n(67304)),a=c(n(32752));function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var u=function(e){return a.run(i.run(e))};t.find=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=u(e),r=[],o=0;o<n.length;o++){var i=n[o];!i.isLink||t&&i.type!==t||r.push(i.toObject())}return r},t.inherits=r.inherits,t.options=o,t.parser=a,t.scanner=i,t.test=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=u(e);return 1===n.length&&n[0].isLink&&(!t||n[0].type===t)},t.tokenize=u},32752:function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n(97801),o=n(8270),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o),a=n(69578),c=function(e){return new r.TokenState(e)},u=c(),s=c(),l=c(),f=c(),p=c(),y=c(),d=c(),h=c(o.URL),b=c(),v=c(o.URL),m=c(o.URL),g=c(),w=c(),O=c(),S=c(),C=c(),P=c(o.URL),E=c(o.URL),k=c(o.URL),_=c(o.URL),R=c(),j=c(),T=c(),A=c(),L=c(),x=c(),V=c(o.EMAIL),N=c(),D=c(o.EMAIL),B=c(o.MAILTOEMAIL),I=c(),U=c(),M=c(),F=c(),H=c(o.NL);u.on(a.NL,H).on(a.PROTOCOL,s).on(a.MAILTO,l).on(a.SLASH,f),s.on(a.SLASH,f),f.on(a.SLASH,p),u.on(a.TLD,y).on(a.DOMAIN,y).on(a.LOCALHOST,h).on(a.NUM,y),p.on(a.TLD,m).on(a.DOMAIN,m).on(a.NUM,m).on(a.LOCALHOST,m),y.on(a.DOT,d),L.on(a.DOT,x),d.on(a.TLD,h).on(a.DOMAIN,y).on(a.NUM,y).on(a.LOCALHOST,y),x.on(a.TLD,V).on(a.DOMAIN,L).on(a.NUM,L).on(a.LOCALHOST,L),h.on(a.DOT,d),V.on(a.DOT,x),h.on(a.COLON,b).on(a.SLASH,m),b.on(a.NUM,v),v.on(a.SLASH,m),V.on(a.COLON,N),N.on(a.NUM,D);var z=[a.DOMAIN,a.AT,a.LOCALHOST,a.NUM,a.PLUS,a.POUND,a.PROTOCOL,a.SLASH,a.TLD,a.UNDERSCORE,a.SYM,a.AMPERSAND],G=[a.COLON,a.DOT,a.QUERY,a.PUNCTUATION,a.CLOSEBRACE,a.CLOSEBRACKET,a.CLOSEANGLEBRACKET,a.CLOSEPAREN,a.OPENBRACE,a.OPENBRACKET,a.OPENANGLEBRACKET,a.OPENPAREN];m.on(a.OPENBRACE,w).on(a.OPENBRACKET,O).on(a.OPENANGLEBRACKET,S).on(a.OPENPAREN,C),g.on(a.OPENBRACE,w).on(a.OPENBRACKET,O).on(a.OPENANGLEBRACKET,S).on(a.OPENPAREN,C),w.on(a.CLOSEBRACE,m),O.on(a.CLOSEBRACKET,m),S.on(a.CLOSEANGLEBRACKET,m),C.on(a.CLOSEPAREN,m),P.on(a.CLOSEBRACE,m),E.on(a.CLOSEBRACKET,m),k.on(a.CLOSEANGLEBRACKET,m),_.on(a.CLOSEPAREN,m),R.on(a.CLOSEBRACE,m),j.on(a.CLOSEBRACKET,m),T.on(a.CLOSEANGLEBRACKET,m),A.on(a.CLOSEPAREN,m),w.on(z,P),O.on(z,E),S.on(z,k),C.on(z,_),w.on(G,R),O.on(G,j),S.on(G,T),C.on(G,A),P.on(z,P),E.on(z,E),k.on(z,k),_.on(z,_),P.on(G,P),E.on(G,E),k.on(G,k),_.on(G,_),R.on(z,P),j.on(z,E),T.on(z,k),A.on(z,_),R.on(G,R),j.on(G,j),T.on(G,T),A.on(G,A),m.on(z,m),g.on(z,m),m.on(G,g),g.on(G,g),l.on(a.TLD,B).on(a.DOMAIN,B).on(a.NUM,B).on(a.LOCALHOST,B),B.on(z,B).on(G,I),I.on(z,B).on(G,I);var q=[a.DOMAIN,a.NUM,a.PLUS,a.POUND,a.QUERY,a.UNDERSCORE,a.SYM,a.AMPERSAND,a.TLD];y.on(q,U).on(a.AT,M),h.on(q,U).on(a.AT,M),d.on(q,U),U.on(q,U).on(a.AT,M).on(a.DOT,F),F.on(q,U),M.on(a.TLD,L).on(a.DOMAIN,L).on(a.LOCALHOST,V),t.State=r.TokenState,t.TOKENS=i,t.run=function(e){for(var t=e.length,n=0,r=[],i=[];n<t;){for(var a=u,c=null,s=null,l=0,f=null,p=-1;n<t&&!(c=a.next(e[n]));)i.push(e[n++]);for(;n<t&&(s=c||a.next(e[n]));)c=null,(a=s).accepts()?(p=0,f=a):p>=0&&p++,n++,l++;if(p<0)for(var y=n-l;y<n;y++)i.push(e[y]);else{i.length>0&&(r.push(new o.TEXT(i)),i=[]),n-=p,l-=p;var d=f.emit();r.push(new d(e.slice(n-l,n)))}}return i.length>0&&r.push(new o.TEXT(i)),r},t.start=u},67304:function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n(97801),o=n(69578),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o),a="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),c="0123456789".split(""),u="0123456789abcdefghijklmnopqrstuvwxyz".split(""),s=[" ","\f","\r","\t","\v"," "," ",""],l=[],f=function(e){return new r.CharacterState(e)},p=f(),y=f(o.NUM),d=f(o.DOMAIN),h=f(),b=f(o.WS);p.on("@",f(o.AT)).on(".",f(o.DOT)).on("+",f(o.PLUS)).on("#",f(o.POUND)).on("?",f(o.QUERY)).on("/",f(o.SLASH)).on("_",f(o.UNDERSCORE)).on(":",f(o.COLON)).on("{",f(o.OPENBRACE)).on("[",f(o.OPENBRACKET)).on("<",f(o.OPENANGLEBRACKET)).on("(",f(o.OPENPAREN)).on("}",f(o.CLOSEBRACE)).on("]",f(o.CLOSEBRACKET)).on(">",f(o.CLOSEANGLEBRACKET)).on(")",f(o.CLOSEPAREN)).on("&",f(o.AMPERSAND)).on([",",";","!",'"',"'"],f(o.PUNCTUATION)),p.on("\n",f(o.NL)).on(s,b),b.on(s,b);for(var v=0;v<a.length;v++){var m=(0,r.stateify)(a[v],p,o.TLD,o.DOMAIN);l.push.apply(l,m)}var g=(0,r.stateify)("file",p,o.DOMAIN,o.DOMAIN),w=(0,r.stateify)("ftp",p,o.DOMAIN,o.DOMAIN),O=(0,r.stateify)("http",p,o.DOMAIN,o.DOMAIN),S=(0,r.stateify)("mailto",p,o.DOMAIN,o.DOMAIN);l.push.apply(l,g),l.push.apply(l,w),l.push.apply(l,O),l.push.apply(l,S);var C=g.pop(),P=w.pop(),E=O.pop(),k=S.pop(),_=f(o.DOMAIN),R=f(o.PROTOCOL),j=f(o.MAILTO);P.on("s",_).on(":",R),E.on("s",_).on(":",R),l.push(_),C.on(":",R),_.on(":",R),k.on(":",j);var T=(0,r.stateify)("localhost",p,o.LOCALHOST,o.DOMAIN);l.push.apply(l,T),p.on(c,y),y.on("-",h).on(c,y).on(u,d),d.on("-",h).on(u,d);for(var A=0;A<l.length;A++)l[A].on("-",h).on(u,d);h.on("-",h).on(c,d).on(u,d),p.defaultTransition=f(o.SYM);var L=p;t.State=r.CharacterState,t.TOKENS=i,t.run=function(e){for(var t=e.replace(/[A-Z]/g,(function(e){return e.toLowerCase()})),n=e.length,r=[],o=0;o<n;){for(var i=p,a=null,c=0,u=null,s=-1;o<n&&(a=i.next(t[o]));)(i=a).accepts()?(s=0,u=i):s>=0&&s++,c++,o++;if(!(s<0)){o-=s,c-=s;var l=u.emit();r.push(new l(e.substr(o-c,c)))}}return r},t.start=L},97801:function(e,t,n){"use strict";t.__esModule=!0,t.stateify=t.TokenState=t.CharacterState=void 0;var r=n(22460),o=function(e){this.j=[],this.T=e||null};o.prototype={defaultTransition:!1,on:function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)this.j.push([e[n],t]);return this}return this.j.push([e,t]),this},next:function(e){for(var t=0;t<this.j.length;t++){var n=this.j[t],r=n[0],o=n[1];if(this.test(e,r))return o}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var i=(0,r.inherits)(o,(function(e){this.j=[],this.T=e||null}),{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),a=(0,r.inherits)(o,(function(e){this.j=[],this.T=e||null}),{jump:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new e(""));return n===this.defaultTransition?(n=new this.constructor(t),this.on(e,n)):t&&(n.T=t),n},test:function(e,t){return e instanceof t}});t.CharacterState=i,t.TokenState=a,t.stateify=function(e,t,n,r){for(var o=0,a=e.length,c=t,u=[],s=void 0;o<a&&(s=c.next(e[o]));)c=s,o++;if(o>=a)return[];for(;o<a-1;)s=new i(r),u.push(s),c.on(e[o],s),c=s,o++;return s=new i(n),u.push(s),c.on(e[a-1],s),u}},65826:function(e,t){"use strict";t.__esModule=!0,t.createTokenClass=function(){return function(e){e&&(this.v=e)}}},8270:function(e,t,n){"use strict";t.__esModule=!0,t.URL=t.TEXT=t.NL=t.EMAIL=t.MAILTOEMAIL=t.Base=void 0;var r=n(65826),o=n(22460),i=n(69578);function a(e){return e instanceof i.DOMAIN||e instanceof i.TLD}var c=(0,r.createTokenClass)();c.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],t=0;t<this.v.length;t++)e.push(this.v[t].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var u=(0,o.inherits)(c,(0,r.createTokenClass)(),{type:"email",isLink:!0}),s=(0,o.inherits)(c,(0,r.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),l=(0,o.inherits)(c,(0,r.createTokenClass)(),{type:"text"}),f=(0,o.inherits)(c,(0,r.createTokenClass)(),{type:"nl"}),p=(0,o.inherits)(c,(0,r.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",t=!1,n=!1,r=this.v,o=[],c=0;r[c]instanceof i.PROTOCOL;)t=!0,o.push(r[c].toString().toLowerCase()),c++;for(;r[c]instanceof i.SLASH;)n=!0,o.push(r[c].toString()),c++;for(;a(r[c]);)o.push(r[c].toString().toLowerCase()),c++;for(;c<r.length;c++)o.push(r[c].toString());return o=o.join(""),t||n||(o=e+"://"+o),o},hasProtocol:function(){return this.v[0]instanceof i.PROTOCOL}});t.Base=c,t.MAILTOEMAIL=u,t.EMAIL=s,t.NL=f,t.TEXT=l,t.URL=p},69578:function(e,t,n){"use strict";t.__esModule=!0,t.AMPERSAND=t.CLOSEPAREN=t.CLOSEANGLEBRACKET=t.CLOSEBRACKET=t.CLOSEBRACE=t.OPENPAREN=t.OPENANGLEBRACKET=t.OPENBRACKET=t.OPENBRACE=t.WS=t.TLD=t.SYM=t.UNDERSCORE=t.SLASH=t.MAILTO=t.PROTOCOL=t.QUERY=t.POUND=t.PLUS=t.NUM=t.NL=t.LOCALHOST=t.PUNCTUATION=t.DOT=t.COLON=t.AT=t.DOMAIN=t.Base=void 0;var r=n(65826),o=n(22460),i=(0,r.createTokenClass)();function a(e){var t=e?{v:e}:{};return(0,o.inherits)(i,(0,r.createTokenClass)(),t)}i.prototype={toString:function(){return this.v+""}};var c=a(),u=a("@"),s=a(":"),l=a("."),f=a(),p=a(),y=a("\n"),d=a(),h=a("+"),b=a("#"),v=a(),m=a("mailto:"),g=a("?"),w=a("/"),O=a("_"),S=a(),C=a(),P=a(),E=a("{"),k=a("["),_=a("<"),R=a("("),j=a("}"),T=a("]"),A=a(">"),L=a(")"),x=a("&");t.Base=i,t.DOMAIN=c,t.AT=u,t.COLON=s,t.DOT=l,t.PUNCTUATION=f,t.LOCALHOST=p,t.NL=y,t.NUM=d,t.PLUS=h,t.POUND=b,t.QUERY=g,t.PROTOCOL=v,t.MAILTO=m,t.SLASH=w,t.UNDERSCORE=O,t.SYM=S,t.TLD=C,t.WS=P,t.OPENBRACE=E,t.OPENBRACKET=k,t.OPENANGLEBRACKET=_,t.OPENPAREN=R,t.CLOSEBRACE=j,t.CLOSEBRACKET=T,t.CLOSEANGLEBRACKET=A,t.CLOSEPAREN=L,t.AMPERSAND=x},22460:function(e,t){"use strict";t.__esModule=!0,t.inherits=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(e.prototype);for(var o in n)r[o]=n[o];return r.constructor=t,t.prototype=r,t}},17359:function(e,t){"use strict";t.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r={defaultProtocol:"http",events:null,format:i,formatHref:i,nl2br:!1,tagName:"a",target:function(e,t){return"url"===t?"_blank":null},validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function o(e){e=e||{},this.defaultProtocol=e.hasOwnProperty("defaultProtocol")?e.defaultProtocol:r.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:r.events,this.format=e.hasOwnProperty("format")?e.format:r.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:r.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:r.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:r.tagName,this.target=e.hasOwnProperty("target")?e.target:r.target,this.validate=e.hasOwnProperty("validate")?e.validate:r.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||r.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||r.className;for(var t=e.hasOwnProperty("ignoreTags")?e.ignoreTags:r.ignoreTags,n=0;n<t.length;n++)this.ignoreTags.push(t[n].toUpperCase())}function i(e){return e}t.defaults=r,t.Options=o,t.contains=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1},o.prototype={resolve:function(e){var t=e.toHref(this.defaultProtocol);return{formatted:this.get("format",e.toString(),e),formattedHref:this.get("formatHref",t,e),tagName:this.get("tagName",t,e),className:this.get("className",t,e),target:this.get("target",t,e),events:this.getObject("events",t,e),attributes:this.getObject("attributes",t,e)}},check:function(e){return this.get("validate",e.toString(),e)},get:function(e,t,o){var i=void 0,a=this[e];if(!a)return a;switch(void 0===a?"undefined":n(a)){case"function":return a(t,o.type);case"object":return"function"==typeof(i=a.hasOwnProperty(o.type)?a[o.type]:r[e])?i(t,o.type):i}return a},getObject:function(e,t,n){var r=this[e];return"function"==typeof r?r(t,n.type):r}}},58176:function(e,t,n){e.exports=n(46922).default},58081:function(e,t){"use strict";t.Z={icon:"UoQsd",contentContainer:"xp3ZY",content:"beq9x",notificationTime:"mclWy"}},10454:function(e,t){"use strict";t.Z={droppable:"yMCwU",hover:"jKXAL"}},21625:function(e,t){"use strict";t.Z={banner:"PTHtm",actions:"XLE3S"}},48088:function(t){"use strict";t.exports=e},2711:function(e){"use strict";e.exports=t},60810:function(e){"use strict";e.exports=n},61050:function(e){"use strict";e.exports=r},6231:function(e){"use strict";e.exports=o},25194:function(e){"use strict";e.exports=i},32227:function(e){"use strict";e.exports=a},76909:function(e){"use strict";e.exports=c},89469:function(e){"use strict";e.exports=u},1024:function(e){"use strict";e.exports=s},99910:function(e){"use strict";e.exports=l},30314:function(e){"use strict";e.exports=f},64038:function(e){"use strict";e.exports=p},58566:function(e){"use strict";e.exports=y},24894:function(e){"use strict";e.exports=d},39479:function(e){"use strict";e.exports=h},33192:function(e){"use strict";e.exports=b}},S={};function C(e){var t=S[e];if(void 0!==t)return t.exports;var n=S[e]={id:e,loaded:!1,exports:{}};return O[e].call(n.exports,n,n.exports,C),n.loaded=!0,n.exports}C.m=O,C.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return C.d(t,{a:t}),t},C.d=function(e,t){for(var n in t)C.o(t,n)&&!C.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},C.f={},C.e=function(e){return Promise.all(Object.keys(C.f).reduce((function(t,n){return C.f[n](e,t),t}),[]))},C.u=function(e){return"scripts/"+e+"-"+{58:"843e7d0559",101:"2cc3ff8d10",243:"aad803b582",259:"962c7919c1",299:"9441b30e23",514:"1cf3235a5b",546:"f3cbb33611",627:"05ff44de8c",708:"20c405d691",1010:"db874c3e6e",1086:"b673ebd9ae",1203:"a58109bd25",1216:"d2eaa054d9",1269:"5cffbcb252",1364:"829c593162",1409:"143f4dbe22",1601:"8de9a1268a",1832:"fd5b7686ca",1887:"94b401e383",1911:"300b8f6723",1934:"2a68903c81",2692:"48302690ca",2802:"8e6b167d04",2803:"89f9a2f7e2",2888:"84785fdaab",3096:"f3dab15729",3400:"af8bc305c4",3639:"81854e5c72",3746:"eb8689b8aa",3763:"362fec49af",3969:"943c9420c5",4e3:"90c2c6b3b7",4177:"7bcd7d8f58",4201:"252f427930",4245:"8cf0fd9f7c",4353:"31aea0c397",4591:"4cce5ce693",4830:"d257ad6495",4860:"a61fc07da6",4885:"c57cc4967d",5173:"8a6910db27",5235:"be21559a4b",5412:"4974685490",5418:"9aa54c0e13",5424:"8fdd5fb503",5745:"3212b59a8b",5747:"7775fd8e3c",5891:"6f61310f41",5970:"dff014e4ff",6093:"04325272eb",6220:"76eb94f15b",6732:"e0a01b8de1",6774:"9a047cb158",6788:"8e09f3bd44",6963:"62f3f0be14",6995:"01a680bb84",6999:"b438eaa494",7002:"2b3d79cee4",7053:"cdc82e2481",7136:"944e4ccce7",7190:"3632c1b97b",7295:"8fc4b6b822",7376:"feb982bf08",7634:"63f4333ed0",8362:"7fc63cfe1b",8495:"84aa8f4c80",8726:"4cbbe381ff",8727:"81c92d12d3",8762:"09cceb364b",8906:"ca7d93a242",9040:"70b08a74ae",9268:"a215d62098",9357:"e68056eb1e",9379:"c2470a6ab7",9383:"8090ded7fd",9695:"9896cd36aa",9770:"15c287afb4",9927:"9c5b52fd04",9976:"3c47299575"}[e]+".chunk.js"},C.miniCssF=function(e){return"css/"+e+"-library-editor-"+{58:"d7f24abcd2",101:"389fe4dd5e",243:"decee8d957",514:"ff3ae710cc",627:"29076e38d6",708:"54b890f687",1086:"cc4b3d990e",1203:"016463a9e3",1409:"bc215e1152",1601:"f2f7a579a7",1832:"e123877850",1887:"cca972c080",1911:"689507eb58",2692:"cc4b3d990e",3746:"2c6240c06c",3969:"30997910e2",4e3:"4c9381e16c",4177:"4a82cc89e1",4353:"7a8f34cf74",4830:"a1247bffda",4860:"f5eddb2400",5424:"1e43443d6a",5747:"de4ea80bfc",5891:"2c6240c06c",5970:"be87afcf0c",6093:"446ee2e049",6220:"cfb71135bb",6732:"6d33677430",6963:"2c6240c06c",6999:"d855c3a356",7053:"cbe896c46a",7136:"bd1f6e2ee3",7295:"cdf829452c",7634:"154066beaa",8762:"cc4b3d990e",8906:"cc4b3d990e",9379:"2c6240c06c",9383:"c6a9216107",9695:"c5004a1fec",9927:"a11669ad9d",9976:"36adaf7380"}[e]+".chunk.css"},C.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),C.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},v={},m="@clickview/library-editor:",C.l=function(e,t,n,r){if(v[e])v[e].push(t);else{var o,i;if(void 0!==n)for(var a=document.getElementsByTagName("script"),c=0;c<a.length;c++){var u=a[c];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==m+n){o=u;break}}o||(i=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,C.nc&&o.setAttribute("nonce",C.nc),o.setAttribute("data-webpack",m+n),o.src=e),v[e]=[t];var s=function(t,n){o.onerror=o.onload=null,clearTimeout(l);var r=v[e];if(delete v[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach((function(e){return e(n)})),t)return t(n)},l=setTimeout(s.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=s.bind(null,o.onerror),o.onload=s.bind(null,o.onload),i&&document.head.appendChild(o)}},C.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},C.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},C.p="/",g=function(e){return new Promise((function(t,n){var r=C.miniCssF(e),o=C.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){var a;if((o=(a=i[r]).getAttribute("data-href"))===e||o===t)return a}}(r,o))return t();!function(e,t,n,r){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=function(i){if(o.onerror=o.onload=null,"load"===i.type)n();else{var a=i&&("load"===i.type?"missing":i.type),c=i&&i.target&&i.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=c,o.parentNode.removeChild(o),r(u)}},o.href=t,document.head.appendChild(o)}(e,o,t,n)}))},w={4296:0},C.f.miniCss=function(e,t){w[e]?t.push(w[e]):0!==w[e]&&{58:1,101:1,243:1,514:1,627:1,708:1,1086:1,1203:1,1409:1,1601:1,1832:1,1887:1,1911:1,2692:1,3746:1,3969:1,4e3:1,4177:1,4353:1,4830:1,4860:1,5424:1,5747:1,5891:1,5970:1,6093:1,6220:1,6732:1,6963:1,6999:1,7053:1,7136:1,7295:1,7634:1,8762:1,8906:1,9379:1,9383:1,9695:1,9927:1,9976:1}[e]&&t.push(w[e]=g(e).then((function(){w[e]=0}),(function(t){throw delete w[e],t})))},function(){var e={4296:0};C.f.j=function(t,n){var r=C.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=o);var i=C.p+C.u(t),a=new Error;C.l(i,(function(n){if(C.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=function(t,n){var r,o,i=n[0],a=n[1],c=n[2],u=0;if(i.some((function(t){return 0!==e[t]}))){for(r in a)C.o(a,r)&&(C.m[r]=a[r]);c&&c(C)}for(t&&t(n);u<i.length;u++)o=i[u],C.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var P={};return function(){"use strict";C.r(P);var e=C(31647),t=C(48088),n=C(39479),r=".form-feedback",o=".form-group",i="invalid-feedback",a="is-invalid",c=C(88181);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(d,e);var r,o,i,a,u=(i=d,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(i);if(a){var n=y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return p(this,e)});function d(){return s(this,d),u.apply(this,arguments)}return r=d,(o=[{key:"initialize",value:function(){this.detectVisibilityApi(),this.bindEventListeners()}},{key:"detectVisibilityApi",value:function(){var e=document;void 0!==document.hidden?(this.hiddenPropertyName="hidden",this.visibilityChangeEventName="visibilitychange"):void 0!==e.msHidden?(this.hiddenPropertyName="msHidden",this.visibilityChangeEventName="msvisibilitychange"):void 0!==e.webkitHidden&&(this.hiddenPropertyName="webkitHidden",this.visibilityChangeEventName="webkitvisibilitychange")}},{key:"name",get:function(){return c.K9.PageVisibility}},{key:"channelName",get:function(){return c.jr.PAGE_VISIBILITY}},{key:"bindEventListeners",value:function(){void 0!==document.addEventListener&&void 0!==this.hiddenPropertyName&&(this.onVisibilityChange=n.bind(this.onVisibilityChange,this),document.addEventListener(this.visibilityChangeEventName,this.onVisibilityChange,!1))}},{key:"onVisibilityChange",value:function(){t.Radio.channel(this.channelName).trigger("visbility:change",document[this.hiddenPropertyName])}},{key:"addVisibilityChangeListener",value:function(e){this.listenTo(this.channelName,"visbility:change",e)}},{key:"removeVisibilityChangeListener",value:function(e){this.stopListening(t.Radio.channel(this.channelName),"visbility:change",e)}},{key:"onDestroy",value:function(){document.removeEventListener(this.visibilityChangeEventName,this.onVisibilityChange)}}])&&l(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),d}(e.Q.Service),h=C(49282),b=C(21679),v=C(19124),m=C(85835),g=C(57857);function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}function E(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}var _="shared.oldVersion",R=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}(c,t);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=k(o);if(i){var n=k(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return E(this,e)});function c(e,t,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(r=a.call(this,g.T.getPhrase(_,"title",{oldVersion:e,newVersion:t}))).btnVariant=n,r}return n=c,(r=[{key:"name",get:function(){return"OldVersionError"}},{key:"dialogOptions",get:function(){return{title:g.T.getPhrase(_,"heading"),text:g.T.getPhrase(_,"body"),buttons:[{text:g.T.getPhrase(_,"reload"),className:"btn btn-".concat(this.btnVariant),success:!0}]}}},{key:"onDone",value:function(){e.Q.LocationUtils.Reload()}}])&&O(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(m.S);function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function L(e,t,n){return t&&A(e.prototype,t),n&&A(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function x(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}function V(e,t){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},V(e,t)}function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=B(e);if(t){var o=B(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D(this,n)}}function D(e,t){if(t&&("object"===j(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function B(e){return B=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},B(e)}var I="shared.authentication",U=function(t){x(r,t);var n=N(r);function r(e){var t;return T(this,r),(t=n.call(this,g.T.getPhrase(I,"title"))).btnVariant=e,t}return L(r,[{key:"name",get:function(){return"AuthenticationError"}},{key:"dialogOptions",get:function(){return{title:g.T.getPhrase(I,"heading"),text:g.T.getPhrase(I,"body"),buttons:[{text:g.T.getPhrase(I,"reload"),className:"btn btn-".concat(this.btnVariant),success:!0}]}}},{key:"onDone",value:function(){e.Q.LocationUtils.Reload()}}]),r}(m.S),M=function(t){x(r,t);var n=N(r);function r(){return T(this,r),n.apply(this,arguments)}return L(r,[{key:"onDone",value:function(){e.Q.LocationUtils.PageLoad("/login?returnUrl=".concat(encodeURIComponent(e.Q.LocationUtils.GetCurrentUrl())))}}]),r}(U),F=C(33800);function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var z=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.value=t}var t,n;return t=e,(n=[{key:"increment",value:function(){this.value+=1}},{key:"decrement",value:function(){this.value-=1}},{key:"getValue",value:function(){return this.value}}])&&H(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),G=C(11306),q=C(25417),Q=C(99249),W=C(53808),Y=C(20940),Z=C(18499),K=C(74537),X="application:options",J=C(52076);function ee(e){return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(e)}function te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ne(e,t){return ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ne(e,t)}function re(e,t){if(t&&("object"===ee(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function oe(e){return oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oe(e)}var ie=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ne(e,t)}(u,t);var r,o,i,a,c=(i=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=oe(i);if(a){var n=oe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return re(this,e)});function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this)).clients={},t.enrichers={},Q.r.get(X).set(null!=e?e:{}),t.bindNavigationListener(),t}return r=u,(o=[{key:"name",get:function(){return K.K.Analytics}},{key:"registerTransport",value:function(e,t){return this.transport=new e(t),this.bindTransportListeners(),this}},{key:"bindTransportListeners",value:function(){this.listenTo(Z.B.ANALYTICS,Y.f.Inlet,this.onEvent)}},{key:"registerClient",value:function(e,t){return this.validateConstructor(e),this.clients[e.prototype.name]=e.prototype.name,this.transport.subscribe(new e(t)),this}},{key:"registerEnricher",value:function(e,t){this.validateConstructor(e);var r=new e(t);return this.enrichers[r.name]=r,this.registerMiddleware(n.bind(r.enrich,r)),this}},{key:"hasEnricher",value:function(e){return!!this.enrichers[e.prototype.name]}},{key:"onEvent",value:function(e){var t=this;this.executeMiddleware(e,(function(e){t.transport.publish(e)}))}},{key:"validateConstructor",value:function(t){var n=t.prototype.name;n||e.Q.ErrorHelper.throw(new G.H("Classes registered with ".concat(this.name," must have a unique name property.")));var r=function(e){return W.q.isFunction(t.prototype.isType)&&t.prototype.isType(e)};(r("BaseAnalyticsClient")||"CollectionApiClient"===n)&&this.clients[n]&&e.Q.ErrorHelper.throw(new G.H("A client class with the name: ".concat(n," has already been registered with ").concat(this.name))),r("BaseAnalyticsEnricher")&&this.enrichers[n]&&e.Q.ErrorHelper.throw(new G.H("An enricher class named: ".concat(n," has already been registered with ").concat(this.name)))}},{key:"registerMiddleware",value:function(e){var t;this.executeMiddleware=(t=this.executeMiddleware,function(n,r){return t(n,(function(){return e(n,r)}))})}},{key:"executeMiddleware",value:function(e,t){t(e)}},{key:"bindNavigationListener",value:function(){this.listenTo(q.G.SHELL,e.Q.EventNames.URL_CHANGE,this.logNavigate)}},{key:"logNavigate",value:function(e,t){J.k.logNavigate(e,t)}}])&&te(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),u}(e.Q.Service),ae=C(76909);function ce(e){return ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ce(e)}function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function se(e,t,n){return t&&ue(e.prototype,t),n&&ue(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pe(e,t)}function pe(e,t){return pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pe(e,t)}function ye(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=he(e);if(t){var o=he(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return de(this,n)}}function de(e,t){if(t&&("object"===ce(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function he(e){return he=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},he(e)}var be=function(e){fe(n,e);var t=ye(n);function n(){return le(this,n),t.apply(this,arguments)}return se(n)}(ae.Object),ve=function(e){fe(r,e);var t=ye(r);function r(){return le(this,r),t.apply(this,arguments)}return se(r,[{key:"name",get:function(){return"EventTransport"}},{key:"channelName",get:function(){return"event:transport"}},{key:"publish",value:function(e){this.getChannel().trigger(Y.f.Outlet,e)}},{key:"subscribe",value:function(e){var t=e,r=function(n){W.q.isFunction(t.shouldLog)&&!t.shouldLog(n)||e.log(n)};n.isFunction(t.listenTo)?t.listenTo(this.getChannel(),Y.f.Outlet,r):this.listenTo(this.getChannel(),Y.f.Outlet,r)}}]),r}(be);function me(e){return me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},me(e)}function ge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Oe(e,t){return Oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oe(e,t)}function Se(e,t){if(t&&("object"===me(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ce(e)}var Pe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oe(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ce(r);if(o){var n=Ce(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Se(this,e)});function a(){return ge(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"enrich",value:function(e,t){}},{key:"isType",value:function(e){return e===a.type}}])&&we(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(e.Q.Service);function Ee(e){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Re(e,t){return Re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Re(e,t)}function je(e,t){if(t&&("object"===Ee(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Te(e)}Pe.type="BaseAnalyticsEnricher";var Ae=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Re(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Te(r);if(o){var n=Te(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return je(this,e)});function a(){return ke(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return"UserDataEnricher"}},{key:"initialize",value:function(){this.user=Q.r.get(X).get("user")}},{key:"shouldEnrich",value:function(e){return!0}},{key:"enrich",value:function(e,t){this.shouldEnrich(e)||t(e),e.enrich("user",this.getUser(this.user)),t(e)}},{key:"getUser",value:function(e){return{country:e.countryCode,customerId:e.customerId,id:e.id,role:e.role}}}])&&_e(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Pe),Le=C(464),xe=C(91450);function Ve(e){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ve(e)}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function De(e,t){return De=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},De(e,t)}function Be(e,t){if(t&&("object"===Ve(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ie(e){return Ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ie(e)}var Ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&De(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ie(r);if(o){var n=Ie(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Be(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"shouldLog",value:function(e){return!0}},{key:"log",value:function(e){}},{key:"isType",value:function(e){return e===a.type}}])&&Ne(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(e.Q.Service);function Me(e){return Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me(e)}function Fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ze(e,t){return ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ze(e,t)}function Ge(e,t){if(t&&("object"===Me(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qe(e)}Ue.type="BaseAnalyticsClient";var Qe=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ze(e,t)}(u,t);var r,o,i,a,c=(i=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=qe(i);if(a){var n=qe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ge(this,e)});function u(){return Fe(this,u),c.apply(this,arguments)}return r=u,(o=[{key:"name",get:function(){return"DebuggerClient"}},{key:"shouldLog",value:function(){return xe.h.isDevelopment}},{key:"log",value:function(t){var r=n.clone(t);for(var o in t){var i=r[o];(i instanceof e.Q.Model||i instanceof e.Q.Collection)&&(r[o]=i.toJSON())}console.log("Event Debugger: ",r)}}])&&He(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),u}(Ue),We=C(33192),Ye=C(37360);function Ze(e){return Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ze(e)}function Ke(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $e(e,t){return $e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$e(e,t)}function Xe(e,t){if(t&&("object"===Ze(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Je(e)}var et=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$e(e,t)}(c,t);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Je(o);if(i){var n=Je(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Xe(this,e)});function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this,e)).productName=e.productName,t.productVersion=e.productVersion,t}return n=c,(r=[{key:"name",get:function(){return"CoreContextEnricher"}},{key:"shouldEnrich",value:function(e){return!0}},{key:"enrich",value:function(e,t){this.shouldEnrich(e)||t(e),e.enrich("coreContext",this.getCoreContext()),t(e)}},{key:"getCoreContext",value:function(){return{timestamp:this.getTimestamp(),product:this.getProductInfo(),request:this.getRequestInfo(),client:this.getClientInfo()}}},{key:"getTimestamp",value:function(){return We.utc().toISOString()}},{key:"getProductInfo",value:function(){return{name:this.productName,version:this.productVersion}}},{key:"getRequestInfo",value:function(){return{referrer:e.Q.LocationUtils.GetCurrentReferrer(),requestUrl:e.Q.LocationUtils.GetCurrentUrl()}}},{key:"getClientInfo",value:function(){var e=Ye.V.getOperatingSystem(),t=Ye.V.getBrowser();return{os:e.os,osVersion:e.version,browser:t.browser,browserVersion:t.version,screenResolution:"".concat(window.screen.width,"x").concat(window.screen.height)}}}])&&Ke(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(Pe),tt=C(35490),nt=C(86120),rt=C(1268),ot=C(15408),it=C(2248),at=C(83891),ct={getUser:function(e){return new Promise((function(t){nt.a.hooklessFetch(e.store,ot.N.currentUser((function(n){var r,o,i,a,c;if(n.isAuthenticated){var u=new z(2),s=function(){u.decrement(),u.getValue()>0||t(ct.mapCurrentUserToAnalyticsUser(n,r,o))};nt.a.hooklessFetch(e.store,ot.N.user(n.id,(function(e){r=e,s()}))),nt.a.hooklessFetch(e.store,(i=n.customerId,a=function(e){o=e,s()},{url:"{gateway}/v1/objects/".concat(i),key:"customers:".concat(i),success:a,error:c}))}else t(null)})))}))},mapCurrentUserToAnalyticsUser:function(e,t,n){var r,o=at.l.getUserType(t);return{id:null==e?void 0:e.id,countryCode:null==e?void 0:e.countryCode,contentRegion:null==e?void 0:e.contentRegion,instanceRegion:null==e?void 0:e.instanceRegion,customerId:null==e?void 0:e.customerId,customerGuid:null==n?void 0:n.customerGuid,customerName:null==e?void 0:e.customerName,crmId:null==n?void 0:n.crmId,role:null==e?void 0:e.role,userGroup:o,yearGroup:o===rt.Y.Staff?"staff":null===(r=null==t?void 0:t.masterYearGroup)||void 0===r?void 0:r.name}}},ut={logError:function(e){W.q.isFunction(null===trackJs||void 0===trackJs?void 0:trackJs.track)&&trackJs.track(e)}};function st(){var e=b.u.getInstance(F.O.User),t=b.u.getInstance(F.O.Customer);return new Promise((function(n){var r=function(e,t){return ct.mapCurrentUserToAnalyticsUser(e.toJSON(),{userType:rt.Y.Staff},null==t?void 0:t.toJSON())};e.getCurrentUser((function(e){b.u.releaseInstance(F.O.User),t.getCustomer(e.get("customerId"),(function(t){b.u.releaseInstance(F.O.Customer),n(r(e,t))}),(function(){b.u.releaseInstance(F.O.Customer),n(r(e))}))}),(function(){b.u.releaseInstance(F.O.User)}))}))}var lt=C(1024),ft=C.n(lt);function pt(e){return pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pt(e)}function yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ht(){return ht="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=bt(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},ht.apply(this,arguments)}function bt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=gt(e)););return e}function vt(e,t){return vt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vt(e,t)}function mt(e,t){if(t&&("object"===pt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function gt(e){return gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gt(e)}var wt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vt(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=gt(o);if(i){var n=gt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return mt(this,e)});function c(){return yt(this,c),a.apply(this,arguments)}return n=c,r=[{key:"onShowAlert",value:function(e){if(!this.layoutOptions.options.alertRegion)return ht(gt(c.prototype),"onShowAlert",this).call(this,e);var n=e.ctor,r=e.collection,o=r?r.toJSON():[];this.layout.showChildView(this.layoutOptions.options.alertRegion,lt.createElement(n,{alerts:o,removeAlert:function(e){return t.Radio.channel(q.G.ALERT).trigger("remove:alert",e)}}))}}],r&&dt(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(C(73806).J),Ot=C(93839);function St(e){return St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},St(e)}function Ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Et(e,t,n){return t&&Pt(e.prototype,t),n&&Pt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function kt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_t(e,t)}function _t(e,t){return _t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_t(e,t)}function Rt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Tt(e);if(t){var o=Tt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return jt(this,n)}}function jt(e,t){if(t&&("object"===St(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Tt(e)}var At=function(e){kt(n,e);var t=Rt(n);function n(){return Ct(this,n),t.apply(this,arguments)}return Et(n,[{key:"channelName",get:function(){return c.OV.DEFAULT}},{key:"appRoutes",get:function(){return{"":"index","*path":"catchAllRoutes"}}},{key:"appLinks",get:function(){return["devError","error","notFound"]}},{key:"externalRoutes",get:function(){return{logout:"logOut"}}}]),n}(e.Q.AppRouter),Lt=function(t){kt(r,t);var n=Rt(r);function r(){return Ct(this,r),n.apply(this,arguments)}return Et(r,[{key:"name",get:function(){return"Default Application"}},{key:"layoutOptions",get:function(){return{name:c.FN.ManageLayout,options:{application:c.OV.DEFAULT,showFullHeader:!1,allowBanner:!0}}}},{key:"channelName",get:function(){return c.OV.DEFAULT}},{key:"index",value:function(){e.Q.AppLinkHelper.trigger({application:c.OV.LIBRARY_EDITOR,action:c.eX.LibraryEditor.HOME},{replace:!0})}},{key:"catchAllRoutes",value:function(){e.Q.ErrorHelper.throw(new Ot.dR)}},{key:"notFound",value:function(){var e=this;C.e(4860).then(C.bind(C,44860)).then((function(t){var n=t.NotFoundView;e.layout.showChildView(c.r_.CONTENT,new n)}))}},{key:"error",value:function(){var e=this;C.e(6093).then(C.bind(C,36093)).then((function(t){var n=t.ErrorView;e.layout.showChildView(c.r_.CONTENT,new n)}))}},{key:"devError",value:function(){var e=this;C.e(3400).then(C.bind(C,3400)).then((function(t){var n=t.DevErrorView;e.layout.showChildView(c.r_.CONTENT,new n)}))}}],[{key:"router",get:function(){return At}}]),r}(wt),xt=C(47327),Vt=C(70065),Nt=C(61843),Dt=C(1091),Bt=C(27633),It=C(22557),Ut=function(){var e=docCookies.getItem("clear-video-cache");e&&(b.u.getInstance(c.Or.Video).clearVideoCache(),b.u.releaseInstance(c.Or.Video),docCookies.removeItem("clear-video-cache","/",e))};function Mt(e){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mt(e)}function Ft(){Ft=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l={};function f(){}function p(){}function y(){}var d={};c(d,o,(function(){return this}));var h=Object.getPrototypeOf,b=h&&h(h(P([])));b&&b!==t&&n.call(b,o)&&(d=b);var v=y.prototype=f.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){function r(o,i,a,c){var u=s(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Mt(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=y,c(v,"constructor",y),c(y,"constructor",p),p.displayName=c(y,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,a,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},m(g.prototype),c(g.prototype,i,(function(){return this})),e.AsyncIterator=g,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new g(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,a,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}function Ht(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gt(e,t,n){return t&&zt(e.prototype,t),n&&zt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function qt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qt(e,t)}function Qt(e,t){return Qt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qt(e,t)}function Wt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Zt(e);if(t){var o=Zt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Yt(this,n)}}function Yt(e,t){if(t&&("object"===Mt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Zt(e){return Zt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zt(e)}var Kt=function(e){qt(n,e);var t=Wt(n);function n(){return Ht(this,n),t.apply(this,arguments)}return Gt(n,[{key:"channelName",get:function(){return c.OV.LIBRARY_EDITOR}},{key:"appRoutes",get:function(){return{"manage/libraries(/)":"index","manage/libraries/:id(/)":"library","manage/libraries/folders/:id(/)":"folder","manage/libraries/series/:id(/)":"series","manage/libraries/videos/:id(/)":"videoDetails","manage/libraries/videos/:id/edit(/)":"editVideo","manage/libraries/videos/:id/edit/chapters(/)":"editVideoChapters","manage/libraries/videos/:id/edit/resources(/)":"editVideoResources"}}},{key:"appLinks",get:function(){return["newFolder","newSubFolder","renameFolder","moveFolder","deleteFolder","shareVideo","share","deleteVideos","moveVideos","manageVideoAccess","newLibrary","renameLibrary","deleteLibrary","editResource","uploadThumbnail","uploadBanner","downloadVideo","generatePdf","makeLibraryAvailable","downloadToLocalCache","suggestAnEdit","editFolderImages","editLink","addToExchange","removeLogo","updates"]}},{key:"filters",get:function(){return[Bt.$U,Bt.TN]}}]),n}(e.Q.AppRouter),$t=function(t){qt(r,t);var n=Wt(r);function r(){return Ht(this,r),n.apply(this,arguments)}return Gt(r,[{key:"initialize",value:function(){this.libraryDataService=b.u.getInstance(F.O.Library,this),b.u.getInstance(F.K.VideoDragDrop,this),b.u.getInstance(F.K.FolderDragDrop,this),this.pageVisibilityService=b.u.getInstance(F.K.PageVisibility,this),this.pageVisibilityService.addVisibilityChangeListener((function(e){e||Ut()})),Ut()}},{key:"name",get:function(){return"Library Editor Application"}},{key:"layoutOptions",get:function(){return{name:c.FN.ManageLayout,options:{application:c.OV.LIBRARY_EDITOR,showLeftNav:!0}}}},{key:"channelName",get:function(){return c.OV.LIBRARY_EDITOR}},{key:"index",value:function(){var t=this;this.libraryDataService.deselectAll(),this.libraryDataService.getLibraries((function(n){var r=n.first();r?(t.renderLeftNav(r.id),e.Q.AppLinkHelper.trigger({application:t.channelName,action:c.eX.LibraryEditor.LIBRARY,args:[r.id]},{replace:!0})):(t.renderLeftNav(),C.e(6788).then(C.bind(C,36788)).then((function(e){var n=new(0,e.NoLibraryView);t.layout.showChildView(c.r_.CONTENT,n)})))}))}},{key:"library",value:function(e){var t=this;this.libraryDataService.deselectAll(),this.renderLeftNav(e),Promise.all([C.e(7002),C.e(4e3)]).then(C.bind(C,23800)).then((function(n){var r=new(0,n.LibraryView)({libraryId:e});t.layout.showChildView(c.r_.CONTENT,r)}))}},{key:"folder",value:function(e,t){var n=this,r=t.sort||Nt.x$.GetSortViewModel().get("sortName");this.setDefaultQueryParams({sort:r}),this.libraryDataService.setSelected(e),Promise.all([C.e(5745),C.e(7190),C.e(5970),C.e(1364),C.e(3096),C.e(7002),C.e(1911)]).then(C.bind(C,27719)).then((function(o){var i=new(0,o.FolderView)({collectionIdentifier:new Dt.F(e,Nt.x$.GetSortTypeFromName(r),t.cursor),analyticsOptions:{entity:Vt.EntityType.Folder}});n.layout.showChildView(c.r_.CONTENT,i)})),this.libraryDataService.getLibraries((function(t){var r=It.P.getLibrary(e,t);n.renderLeftNav(r.id)}))}},{key:"renameFolder",value:function(e){var t=this;Promise.all([C.e(299),C.e(5418),C.e(2692)]).then(C.bind(C,87221)).then((function(n){var r=new(0,n.RenameFolderView)({folderId:e,analyticsOptions:{location:Vt.LocationContext.Popup,actionType:Vt.UserAction.Rename,entity:Vt.EntityType.Folder,workflowPhase:Vt.WorkflowPhase.Complete}});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"moveFolder",value:function(e){var t=this;Promise.all([C.e(299),C.e(5418),C.e(1086)]).then(C.bind(C,36537)).then((function(n){var r=new(0,n.MoveFolderView)({folderId:e,analyticsOptions:{location:Vt.LocationContext.Popup,actionType:Vt.UserAction.Move,entity:Vt.EntityType.Folder,workflowPhase:Vt.WorkflowPhase.Complete}});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"newFolder",value:function(e){var t=this;Promise.all([C.e(299),C.e(5418),C.e(8762)]).then(C.bind(C,23380)).then((function(n){var r=new(0,n.NewFolderView)({libraryId:e,routeToFolderOnCreate:!0,analyticsOptions:{location:Vt.LocationContext.Popup,actionType:Vt.UserAction.Create,entity:Vt.EntityType.Folder,workflowPhase:Vt.WorkflowPhase.Complete}});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"newSubFolder",value:function(e){var t=this;Promise.all([C.e(299),C.e(5418),C.e(8762)]).then(C.bind(C,23380)).then((function(n){var r=new(0,n.NewFolderView)({parentId:e,routeToFolderOnCreate:!0,analyticsOptions:{location:Vt.LocationContext.Popup,actionType:Vt.UserAction.Create,entity:Vt.EntityType.Folder,workflowPhase:Vt.WorkflowPhase.Complete}});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"deleteFolder",value:function(e){var t=this;C.e(2803).then(C.bind(C,2803)).then((function(n){var r=new(0,n.DeleteFolderView)({folderId:e,analyticsOptions:{location:Vt.LocationContext.Popup,actionType:Vt.UserAction.Delete,entity:Vt.EntityType.Folder,workflowPhase:Vt.WorkflowPhase.Complete}});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"series",value:function(e,t){var n=this,r=t.sort||Nt.x$.GetSortViewModel().get("sortName");this.setDefaultQueryParams({sort:r});var o=new Dt.F(e,Nt.x$.GetSortTypeFromName(r),t.cursor);Promise.all([C.e(5745),C.e(7190),C.e(5970),C.e(1364),C.e(3096),C.e(7002),C.e(1911)]).then(C.bind(C,27719)).then((function(e){var t=new(0,e.SeriesView)({collectionIdentifier:o,analyticsOptions:{entity:Vt.EntityType.Series}});n.layout.showChildView(c.r_.CONTENT,t)})),this.renderLeftNav()}},{key:"moveVideos",value:function(e,t){var n=this,r=e.split(",");Promise.all([C.e(299),C.e(1269),C.e(5424)]).then(C.bind(C,21771)).then((function(e){var o=new(0,e.MoveVideoView)({videoIds:r,folderId:t,analyticsOptions:{descriptor:r.length>1?Vt.OperationDescriptor.Bulk:Vt.OperationDescriptor.Single,location:Vt.LocationContext.Popup,actionType:Vt.UserAction.Move,entity:Vt.EntityType.Video,workflowPhase:Vt.WorkflowPhase.Complete}});n.layout.showChildView(c.r_.POPUP,o)}))}},{key:"deleteVideos",value:function(e,t,n){var r=this;C.e(5412).then(C.bind(C,95412)).then((function(o){var i=new(0,o.DeleteVideosView)({folderId:e,videoIds:t.split(","),routeToFolderOnDelete:n&&n.routeToFolderOnDelete,analyticsOptions:{descriptor:t.length>1?Vt.OperationDescriptor.Bulk:Vt.OperationDescriptor.Single,location:Vt.LocationContext.Popup,actionType:Vt.UserAction.Delete,entity:Vt.EntityType.Video,workflowPhase:Vt.WorkflowPhase.Complete}});r.layout.showChildView(c.r_.POPUP,i)}))}},{key:"videoDetails",value:function(e){var t=this;Promise.all([C.e(5745),C.e(7190),C.e(5970),C.e(1364),C.e(1216),C.e(259),C.e(9976)]).then(C.bind(C,5236)).then((function(n){var r=new(0,n.VideoDetailsView)({videoId:e});t.layout.showChildView(c.r_.CONTENT,r)})),this.renderLeftNav()}},{key:"shareVideo",value:function(e){var t=this;C.e(514).then(C.bind(C,40514)).then((function(n){var r=new(0,n.ShareView)({videoId:e.toString()});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"share",value:function(e,t){var n=this;Promise.all([C.e(2802),C.e(5173),C.e(8495),C.e(9770),C.e(5235),C.e(7136)]).then(C.bind(C,10766)).then((function(r){var o=r.ShareView;n.layout.showChildView(c.r_.POPUP,ft().createElement(o,{entityId:e,entityType:t.entityType,closePopup:function(){return n.layout.closePopup()},emptyStateImageUrl:c.Wn.EmptyStates.TYPEAHEAD_RESULTS,errorStateImageUrl:c.Wn.Shared.TYPEAHEAD_ERROR,gatewayApiUrl:"/api/gateway"}))}))}},{key:"manageVideoAccess",value:function(e){var t=this;C.e(1409).then(C.bind(C,31409)).then((function(n){var r=n.RestrictAccessView;t.layout.showChildView(c.r_.POPUP,new r({videoId:e}))}))}},{key:"editVideo",value:function(e){var t=this;xt.O.fromPageLoad()&&this.logEditPageLoad({id:+e},Vt.LocationContext.EditVideoDetails),Promise.all([C.e(7190),C.e(7376),C.e(8726),C.e(6995),C.e(7634)]).then(C.bind(C,29613)).then((function(n){var r=new(0,n.EditVideoView)({videoId:e});t.layout.showChildView(c.r_.CONTENT,r)})),this.renderLeftNav()}},{key:"editVideoChapters",value:function(e){var t=this;xt.O.fromPageLoad()&&this.logEditPageLoad({id:+e},Vt.LocationContext.EditVideoChapters),Promise.all([C.e(5745),C.e(7190),C.e(5970),C.e(7376),C.e(1216),C.e(1601)]).then(C.bind(C,16704)).then((function(n){var r=new(0,n.EditChaptersView)({videoId:e});t.layout.showChildView(c.r_.CONTENT,r)})),this.renderLeftNav()}},{key:"editVideoResources",value:function(e){var t=this;xt.O.fromPageLoad()&&this.logEditPageLoad({id:+e},Vt.LocationContext.EditVideoResources),Promise.all([C.e(7190),C.e(7376),C.e(259),C.e(7295)]).then(C.bind(C,82407)).then((function(n){var r=new(0,n.EditResourcesView)({videoId:e});t.layout.showChildView(c.r_.CONTENT,r)})),this.renderLeftNav()}},{key:"editResource",value:function(e,t){var n=this;Promise.all([C.e(7190),C.e(2888)]).then(C.bind(C,12888)).then((function(r){var o=new(0,r.EditResourceView)({videoId:e,resourceId:t,analyticsOptions:{location:Vt.LocationContext.Popup,actionType:Vt.UserAction.Edit,entity:Vt.EntityType.Resource,workflowPhase:Vt.WorkflowPhase.Complete}});n.layout.showChildView(c.r_.POPUP,o)}))}},{key:"newLibrary",value:function(){var e=this;Promise.all([C.e(7190),C.e(4201)]).then(C.bind(C,74201)).then((function(t){var n=new(0,t.NewLibraryView)({});e.layout.showChildView(c.r_.POPUP,n)}))}},{key:"renameLibrary",value:function(e){var t=this;C.e(4591).then(C.bind(C,4591)).then((function(n){var r=new(0,n.RenameLibraryView)({libraryId:e,analyticsOptions:{location:Vt.LocationContext.Popup,actionType:Vt.UserAction.Rename,entity:Vt.EntityType.Library,workflowPhase:Vt.WorkflowPhase.Complete}});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"deleteLibrary",value:function(e){var t=this;C.e(3639).then(C.bind(C,63639)).then((function(n){var r=new(0,n.DeleteLibraryView)({libraryId:e,analyticsOptions:{location:Vt.LocationContext.Popup,actionType:Vt.UserAction.Delete,entity:Vt.EntityType.Library,workflowPhase:Vt.WorkflowPhase.Complete}});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"generatePdf",value:function(e,t){var n=this,r=t.sort||Nt.x$.GetSortViewModel().get("sortName");C.e(1832).then(C.bind(C,21832)).then((function(t){var o=new(0,t.GeneratePdfView)({collectionIdentifier:new Dt.F(e,Nt.x$.GetSortTypeFromName(r))});n.layout.showChildView(c.r_.POPUP,o)}))}},{key:"uploadThumbnail",value:function(e){var t=this;Promise.all([C.e(1934),C.e(9357)]).then(C.bind(C,39357)).then((function(n){var r=new(0,n.ThumbnailUploadView)({videoId:e});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"uploadBanner",value:function(e){var t=this;Promise.all([C.e(1934),C.e(3763)]).then(C.bind(C,33763)).then((function(n){var r=new(0,n.BannerUploadView)({folderId:e});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"downloadVideo",value:function(e){var t=this;C.e(546).then(C.bind(C,40546)).then((function(n){var r=new(0,n.DownloadVideoView)({videoId:e});t.layout.showChildView(c.r_.HIDDEN,r)}))}},{key:"makeLibraryAvailable",value:function(){var e=this;C.e(6774).then(C.bind(C,86774)).then((function(t){var n=new(0,t.PublishLibraryView);e.layout.showChildView(c.r_.POPUP,n)}))}},{key:"downloadToLocalCache",value:function(e){var t=this;C.e(9927).then(C.bind(C,79927)).then((function(n){var r=new(0,n.DownloadToLocalCacheView)({videoId:e});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"editFolderImages",value:function(e){var t=this;Promise.all([C.e(1934),C.e(243)]).then(C.bind(C,50243)).then((function(n){var r=new(0,n.EditFolderImagesView)({folderId:e});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"renderLeftNav",value:function(e){var t=this;Promise.all([C.e(299),C.e(708)]).then(C.bind(C,43)).then((function(n){var r=new(0,n.LeftNavigationView)({libraryId:e});t.layout.showChildView(c.r_.LEFT_NAV,r)}))}},{key:"suggestAnEdit",value:function(e,t){var n=this;Promise.all([C.e(7190),C.e(8726),C.e(4353)]).then(C.bind(C,18068)).then((function(r){var o=new(0,r.SuggestAnEditView)({videoId:e,metadata:t.metadata});n.layout.showChildView(c.r_.POPUP,o)}))}},{key:"editLink",value:function(e,t){var n=this;Promise.all([C.e(7190),C.e(8362)]).then(C.bind(C,38362)).then((function(r){var o=new(0,r.EditLinkView)({videoId:e,linkId:t,analyticsOptions:{location:Vt.LocationContext.Popup,actionType:Vt.UserAction.Edit,entity:Vt.EntityType.Link,workflowPhase:Vt.WorkflowPhase.Complete}});n.layout.showChildView(c.r_.POPUP,o)}))}},{key:"addToExchange",value:function(e){var t=this;Promise.all([C.e(299),C.e(8906)]).then(C.bind(C,11224)).then((function(n){var r=new(0,n.AddToExchangeView)({videoId:e});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"removeLogo",value:function(e,t){var n=this;Promise.all([C.e(2802),C.e(5235),C.e(3746)]).then(C.bind(C,17942)).then((function(r){var o=r.RemoveLogoView;n.layout.showChildView(c.r_.POPUP,ft().createElement(o,{logoId:e,customerId:t,closePopup:function(){return n.layout.closePopup()}}))}))}},{key:"updates",value:function(){return e=this,t=void 0,n=void 0,r=Ft().mark((function e(){var t,n,r=this;return Ft().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([C.e(2802),C.e(5235),C.e(9379)]).then(C.bind(C,83814));case 2:t=e.sent,n=t.UpdatesView,this.layout.showChildView(c.r_.POPUP,ft().createElement(n,{closePopup:function(){return r.layout.closePopup()}}));case 5:case"end":return e.stop()}}),e,this)})),new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}));var e,t,n,r}},{key:"logEditPageLoad",value:function(e,t){J.k.logUserAction(e,{actionType:Vt.UserAction.Edit,location:t,entity:Vt.EntityType.Video,descriptor:Vt.PageDescriptor.PageLoad,workflowPhase:Vt.WorkflowPhase.Start})}}],[{key:"router",get:function(){return Kt}}]),r}(wt),Xt=C(97779);function Jt(e){return Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jt(e)}function en(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nn(e,t,n){return t&&tn(e.prototype,t),n&&tn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function rn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&on(e,t)}function on(e,t){return on=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},on(e,t)}function an(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=un(e);if(t){var o=un(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cn(this,n)}}function cn(e,t){if(t&&("object"===Jt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},un(e)}var sn=function(e){rn(n,e);var t=an(n);function n(){return en(this,n),t.apply(this,arguments)}return nn(n,[{key:"channelName",get:function(){return c.OV.SEARCH}},{key:"appRoutes",get:function(){return{"manage/search(/)":"index"}}},{key:"appLinks",get:function(){return["shareVideo","share","manageVideoAccess","downloadVideo","makeLibraryAvailable","addToExchange"]}},{key:"filters",get:function(){return[Bt.$U,Bt.TN]}}]),n}(e.Q.AppRouter),ln=function(e){rn(n,e);var t=an(n);function n(){return en(this,n),t.apply(this,arguments)}return nn(n,[{key:"name",get:function(){return"Search Application"}},{key:"layoutOptions",get:function(){return{name:c.FN.ManageLayout,options:{application:c.OV.SEARCH}}}},{key:"channelName",get:function(){return c.OV.SEARCH}},{key:"index",value:function(e){var t=this;if(xt.O.fromPageLoad()){var n=e&&e.query;this.logSearch(n)}Promise.all([C.e(5745),C.e(7190),C.e(5970),C.e(1364),C.e(3096),C.e(4885),C.e(1887)]).then(C.bind(C,61519)).then((function(n){var r=new(0,n.SearchView)({queryParams:e});t.layout.showChildView(c.r_.CONTENT,r)}))}},{key:"shareVideo",value:function(e){var t=this;C.e(514).then(C.bind(C,40514)).then((function(n){var r=new(0,n.ShareView)({videoId:e.toString()});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"share",value:function(e,t){var n=this;Promise.all([C.e(2802),C.e(5173),C.e(8495),C.e(9770),C.e(5235),C.e(7136)]).then(C.bind(C,10766)).then((function(r){var o=r.ShareView;n.layout.showChildView(c.r_.POPUP,ft().createElement(o,{entityId:e,entityType:t.entityType,closePopup:function(){return n.layout.closePopup()},emptyStateImageUrl:c.Wn.EmptyStates.TYPEAHEAD_RESULTS,errorStateImageUrl:c.Wn.Shared.TYPEAHEAD_ERROR,gatewayApiUrl:"/api/gateway"}))}))}},{key:"manageVideoAccess",value:function(e){var t=this;C.e(1409).then(C.bind(C,31409)).then((function(n){var r=n.RestrictAccessView;t.layout.showChildView(c.r_.POPUP,new r({videoId:e}))}))}},{key:"downloadVideo",value:function(e){var t=this;C.e(546).then(C.bind(C,40546)).then((function(n){var r=new(0,n.DownloadVideoView)({videoId:e});t.layout.showChildView(c.r_.HIDDEN,r)}))}},{key:"logSearch",value:function(e){if(e){var t=J.k.buildSearchEvent(e,Vt.PageDescriptor.PageLoad),n=t.data,r=t.action;Xt.c.log(Vt.UserAction.Search,n,r)}}},{key:"makeLibraryAvailable",value:function(){var e=this;C.e(6774).then(C.bind(C,86774)).then((function(t){var n=new(0,t.PublishLibraryView);e.layout.showChildView(c.r_.POPUP,n)}))}},{key:"addToExchange",value:function(e){var t=this;Promise.all([C.e(299),C.e(8906)]).then(C.bind(C,11224)).then((function(n){var r=new(0,n.AddToExchangeView)({videoId:e});t.layout.showChildView(c.r_.POPUP,r)}))}}],[{key:"router",get:function(){return sn}}]),n}(wt);function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dn(e,t,n){return t&&yn(e.prototype,t),n&&yn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function hn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bn(e,t)}function bn(e,t){return bn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bn(e,t)}function vn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gn(e);if(t){var o=gn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mn(this,n)}}function mn(e,t){if(t&&("object"===fn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gn(e)}var wn=function(e){hn(n,e);var t=vn(n);function n(){return pn(this,n),t.apply(this,arguments)}return dn(n,[{key:"channelName",get:function(){return c.OV.VIDEO_ACCESS}},{key:"appRoutes",get:function(){return{"manage/video-access(/)":"index"}}},{key:"appLinks",get:function(){return["manageVideoAccess","makeLibraryAvailable"]}},{key:"filters",get:function(){return[Bt.$U,Bt.TN]}}]),n}(e.Q.AppRouter),On=function(e){hn(r,e);var t=vn(r);function r(){return pn(this,r),t.apply(this,arguments)}return dn(r,[{key:"name",get:function(){return"VideoAccessApplication"}},{key:"layoutOptions",get:function(){return{name:c.FN.ManageLayout,options:{application:c.OV.VIDEO_ACCESS}}}},{key:"channelName",get:function(){return c.OV.VIDEO_ACCESS}},{key:"index",value:function(e){var t=this,r=n.isNaN(+e.page)?"1":e.page;Promise.all([C.e(5745),C.e(7190),C.e(5970),C.e(1364),C.e(3096),C.e(4177)]).then(C.bind(C,4113)).then((function(e){var n=e.RestrictedVideoListView;t.layout.showChildView(h.r.CONTENT,new n({page:r}))}))}},{key:"manageVideoAccess",value:function(e){var t=this;C.e(1409).then(C.bind(C,31409)).then((function(n){var r=n.RestrictAccessView;t.layout.showChildView(h.r.POPUP,new r({videoId:e}))}))}},{key:"makeLibraryAvailable",value:function(){var e=this;C.e(6774).then(C.bind(C,86774)).then((function(t){var n=new(0,t.PublishLibraryView);e.layout.showChildView(h.r.POPUP,n)}))}}],[{key:"router",get:function(){return wn}}]),r}(wt),Sn=C(39090),Cn=C(73616);function Pn(e){return Pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pn(e)}function En(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _n(e,t,n){return t&&kn(e.prototype,t),n&&kn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Rn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jn(e,t)}function jn(e,t){return jn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jn(e,t)}function Tn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ln(e);if(t){var o=Ln(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return An(this,n)}}function An(e,t){if(t&&("object"===Pn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ln(e){return Ln=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ln(e)}var xn=function(e){Rn(n,e);var t=Tn(n);function n(){return En(this,n),t.apply(this,arguments)}return _n(n,[{key:"channelName",get:function(){return c.OV.CONTENT_UPDATES}},{key:"appRoutes",get:function(){return{"manage/content-updates(/)":"index","manage/content-updates/awaiting-review(/)":"awaitingReview","manage/content-updates/past-releases(/)":"pastReleases"}}},{key:"appLinks",get:function(){return["shareVideo","share","disableReview","generatePdf","manageVideoAccess","addToLibrary","makeLibraryAvailable"]}},{key:"filters",get:function(){return[Bt.$U,Bt.TN]}}]),n}(e.Q.AppRouter),Vn=function(t){Rn(o,t);var r=Tn(o);function o(){return En(this,o),r.apply(this,arguments)}return _n(o,[{key:"name",get:function(){return"ContentUpdatesApplication"}},{key:"layoutOptions",get:function(){return{name:c.FN.ManageLayout,options:{application:c.OV.CONTENT_UPDATES}}}},{key:"channelName",get:function(){return c.OV.CONTENT_UPDATES}},{key:"index",value:function(){e.Q.AppLinkHelper.trigger({application:this.channelName,action:c.eX.ContentUpdates.AWAITING_REVIEW},{replace:!0})}},{key:"awaitingReview",value:function(){var e=this;Promise.all([C.e(5745),C.e(7190),C.e(5970),C.e(1364),C.e(3096),C.e(7376),C.e(8727),C.e(6220)]).then(C.bind(C,26328)).then((function(t){var n=t.AwaitingReviewView;e.layout.showChildView(c.r_.CONTENT,new n)}))}},{key:"pastReleases",value:function(e){var t,r,o,i=this,a=(t={},o=e[Cn.g.ReleaseDate]||Sn.U1.queryString,(r=Cn.g.ReleaseDate)in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o,t);this.setDefaultQueryParams(a),Promise.all([C.e(5745),C.e(7190),C.e(5970),C.e(1364),C.e(3096),C.e(7376),C.e(4885),C.e(8727),C.e(6999)]).then(C.bind(C,46814)).then((function(t){var r=t.PastReleasesView;i.layout.showChildView(c.r_.CONTENT,new r({queryParams:n.extend({},e,a)}))}))}},{key:"generatePdf",value:function(e){var t=this;C.e(7053).then(C.bind(C,87053)).then((function(n){var r=n.GeneratePastReleasesPdfView;t.layout.showChildView(c.r_.POPUP,new r({librariesQueryString:e[Cn.g.Libraries],dateQueryString:e[Cn.g.ReleaseDate],subjectQueryString:e[Cn.g.Subjects]}))}))}},{key:"shareVideo",value:function(e){var t=this;C.e(514).then(C.bind(C,40514)).then((function(n){var r=n.ShareView;t.layout.showChildView(c.r_.POPUP,new r({videoId:e}))}))}},{key:"share",value:function(e,t){var n=this;Promise.all([C.e(2802),C.e(5173),C.e(8495),C.e(9770),C.e(5235),C.e(7136)]).then(C.bind(C,10766)).then((function(r){var o=r.ShareView;n.layout.showChildView(c.r_.POPUP,ft().createElement(o,{entityId:e,entityType:t.entityType,closePopup:function(){return n.layout.closePopup()},emptyStateImageUrl:c.Wn.EmptyStates.TYPEAHEAD_RESULTS,errorStateImageUrl:c.Wn.Shared.TYPEAHEAD_ERROR,gatewayApiUrl:"/api/gateway"}))}))}},{key:"disableReview",value:function(){var e=this;C.e(1010).then(C.bind(C,51010)).then((function(t){var n=t.DisableReviewView;e.layout.showChildView(c.r_.POPUP,new n)}))}},{key:"manageVideoAccess",value:function(e){var t=this;C.e(1409).then(C.bind(C,31409)).then((function(n){var r=n.RestrictAccessView;t.layout.showChildView(c.r_.POPUP,new r({videoId:e}))}))}},{key:"addToLibrary",value:function(e){var t=this;Promise.all([C.e(299),C.e(1269),C.e(6732)]).then(C.bind(C,57733)).then((function(n){var r=n.AddToLibraryView;t.layout.showChildView(c.r_.POPUP,new r({videoId:e}))}))}},{key:"makeLibraryAvailable",value:function(){var e=this;C.e(6774).then(C.bind(C,86774)).then((function(t){var n=t.PublishLibraryView;e.layout.showChildView(c.r_.POPUP,new n)}))}}],[{key:"router",get:function(){return xn}}]),o}(wt),Nn=C(264);function Dn(e){return Dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dn(e)}function Bn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function In(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Un(e,t,n){return t&&In(e.prototype,t),n&&In(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Mn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fn(e,t)}function Fn(e,t){return Fn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fn(e,t)}function Hn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Gn(e);if(t){var o=Gn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zn(this,n)}}function zn(e,t){if(t&&("object"===Dn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Gn(e)}var qn=function(e){Mn(n,e);var t=Hn(n);function n(){return Bn(this,n),t.apply(this,arguments)}return Un(n,[{key:"channelName",get:function(){return c.OV.NOTIFICATIONS}},{key:"appRoutes",get:function(){return{"manage/notifications(/)":"index"}}},{key:"appLinks",get:function(){return["makeLibraryAvailable"]}},{key:"filters",get:function(){return[Bt.$U,Bt.TN]}}]),n}(e.Q.AppRouter),Qn=function(e){Mn(n,e);var t=Hn(n);function n(){return Bn(this,n),t.apply(this,arguments)}return Un(n,[{key:"name",get:function(){return"Notifications Application"}},{key:"layoutOptions",get:function(){return{name:c.FN.ManageLayout,options:{application:c.OV.NOTIFICATIONS}}}},{key:"channelName",get:function(){return c.OV.NOTIFICATIONS}},{key:"index",value:function(e){var t=this;C.e(4245).then(C.bind(C,34245)).then((function(n){var r=n.NotificationsView;t.layout.showChildView(c.r_.CONTENT,new r({params:e,hasLite:Nn.g.hasLite}))}))}},{key:"makeLibraryAvailable",value:function(){var e=this;C.e(6774).then(C.bind(C,86774)).then((function(t){var n=new(0,t.PublishLibraryView);e.layout.showChildView(c.r_.POPUP,n)}))}}],[{key:"router",get:function(){return qn}}]),n}(wt),Wn=C(50997);function Yn(e){return Yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yn(e)}function Zn(){Zn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l={};function f(){}function p(){}function y(){}var d={};c(d,o,(function(){return this}));var h=Object.getPrototypeOf,b=h&&h(h(P([])));b&&b!==t&&n.call(b,o)&&(d=b);var v=y.prototype=f.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){function r(o,i,a,c){var u=s(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Yn(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=y,c(v,"constructor",y),c(y,"constructor",p),p.displayName=c(y,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,a,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},m(g.prototype),c(g.prototype,i,(function(){return this})),e.AsyncIterator=g,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new g(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,a,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}function Kn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xn(e,t,n){return t&&$n(e.prototype,t),n&&$n(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Jn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&er(e,t)}function er(e,t){return er=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},er(e,t)}function tr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=rr(e);if(t){var o=rr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return nr(this,n)}}function nr(e,t){if(t&&("object"===Yn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rr(e)}var or=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}))},ir=function(e){Jn(n,e);var t=tr(n);function n(){return Kn(this,n),t.apply(this,arguments)}return Xn(n,[{key:"channelName",get:function(){return c.OV.LIBRARY_REQUESTS}},{key:"appRoutes",get:function(){return{"manage/requests/settings(/)":"libraryRequestSettingsLibraries","manage/requests/settings/:libraryId(/)":"libraryRequestSettings","manage/requests(/:id)(/)":"pendingRequests","manage/past-requests(/:id)(/)":"pastRequests","manage/staff-requests(/:id)(/)":"legacyRedirect"}}},{key:"appLinks",get:function(){return["approve","reject","removeLibrarySubscriber","newFolder","makeLibraryAvailable"]}},{key:"filters",get:function(){return[Wn.$U,Wn.TN]}}]),n}(e.Q.AppRouter),ar=function(t){Jn(r,t);var n=tr(r);function r(){return Kn(this,r),n.apply(this,arguments)}return Xn(r,[{key:"name",get:function(){return"LibraryRequestsApplication"}},{key:"layoutOptions",get:function(){return{name:c.FN.ManageLayout,options:{application:c.OV.LIBRARY_REQUESTS}}}},{key:"channelName",get:function(){return c.OV.DEFAULT}},{key:"pendingRequests",value:function(e,t){return or(this,void 0,void 0,Zn().mark((function n(){var r,o;return Zn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([C.e(5745),C.e(2802),C.e(5173),C.e(8495),C.e(5970),C.e(9268),C.e(9040),C.e(58)]).then(C.bind(C,7378));case 2:r=n.sent,o=r.PendingRequestsView,this.layout.showChildView(c.r_.CONTENT,ft().createElement(o,{id:e,queryParams:t}));case 5:case"end":return n.stop()}}),n,this)})))}},{key:"pastRequests",value:function(e,t){return or(this,void 0,void 0,Zn().mark((function n(){var r,o;return Zn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([C.e(5745),C.e(8495),C.e(5970),C.e(9268),C.e(9040),C.e(627)]).then(C.bind(C,72141));case 2:r=n.sent,o=r.PastRequestsView,this.layout.showChildView(c.r_.CONTENT,ft().createElement(o,{id:e,queryParams:t}));case 5:case"end":return n.stop()}}),n,this)})))}},{key:"approve",value:function(e,t){return or(this,void 0,void 0,Zn().mark((function n(){var r,o,i=this;return Zn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([C.e(2802),C.e(5235),C.e(5891)]).then(C.bind(C,31170));case 2:r=n.sent,o=r.ApproveLibraryRequestView,this.layout.showChildView(c.r_.POPUP,ft().createElement(o,{libraryRequestId:e,libraryId:t.libraryId,folderId:t.folderId,closePopup:function(){return i.layout.closePopup()},queryParams:t.queryParams}));case 5:case"end":return n.stop()}}),n,this)})))}},{key:"reject",value:function(e,t){return or(this,void 0,void 0,Zn().mark((function n(){var r,o,i=this;return Zn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([C.e(2802),C.e(5173),C.e(5235),C.e(101)]).then(C.bind(C,41228));case 2:r=n.sent,o=r.RejectLibraryRequestView,this.layout.showChildView(c.r_.POPUP,ft().createElement(o,{libraryRequestId:e,closePopup:function(){return i.layout.closePopup()},queryParams:t}));case 5:case"end":return n.stop()}}),n,this)})))}},{key:"libraryRequestSettings",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return or(this,void 0,void 0,Zn().mark((function n(){var r,o,i;return Zn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.cursor,n.next=3,Promise.all([C.e(9268),C.e(4830)]).then(C.bind(C,4830));case 3:o=n.sent,i=o.LibraryRequestSettingsView,this.layout.showChildView(c.r_.CONTENT,ft().createElement(i,{libraryId:e,cursor:r}));case 6:case"end":return n.stop()}}),n,this)})))}},{key:"libraryRequestSettingsLibraries",value:function(){return or(this,void 0,void 0,Zn().mark((function e(){var t,n;return Zn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C.e(3969).then(C.bind(C,23969));case 2:t=e.sent,n=t.LibraryRequestSettingsLibrariesView,this.layout.showChildView(c.r_.CONTENT,ft().createElement(n,null));case 5:case"end":return e.stop()}}),e,this)})))}},{key:"removeLibrarySubscriber",value:function(e,t){return or(this,void 0,void 0,Zn().mark((function n(){var r,o,i=this;return Zn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([C.e(2802),C.e(5235),C.e(6963)]).then(C.bind(C,91021));case 2:r=n.sent,o=r.RemoveLibrarySubscriberView,this.layout.showChildView(c.r_.POPUP,ft().createElement(o,{libraryId:e,customerId:t,closePopup:function(){return i.layout.closePopup()}}));case 5:case"end":return n.stop()}}),n,this)})))}},{key:"newFolder",value:function(e){var t=this;Promise.all([C.e(299),C.e(5418),C.e(8762)]).then(C.bind(C,23380)).then((function(n){var r=new(0,n.NewFolderView)({libraryId:e,routeToFolderOnCreate:!1});t.layout.showChildView(c.r_.POPUP,r)}))}},{key:"makeLibraryAvailable",value:function(){var e=this;C.e(6774).then(C.bind(C,86774)).then((function(t){var n=new(0,t.PublishLibraryView);e.layout.showChildView(c.r_.POPUP,n)}))}},{key:"legacyRedirect",value:function(){e.Q.AppLinkHelper.trigger({application:c.OV.LIBRARY_REQUESTS,action:c.eX.LibraryRequests.PENDING_REQUESTS,args:[""]},{replace:!0})}}],[{key:"router",get:function(){return ir}}]),r}(wt);function cr(e){return cr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cr(e)}function ur(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lr(e,t,n){return t&&sr(e.prototype,t),n&&sr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function fr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pr(e,t)}function pr(e,t){return pr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pr(e,t)}function yr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=hr(e);if(t){var o=hr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dr(this,n)}}function dr(e,t){if(t&&("object"===cr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hr(e)}var br=function(e){fr(n,e);var t=yr(n);function n(){return ur(this,n),t.apply(this,arguments)}return lr(n,[{key:"channelName",get:function(){return c.OV.UPLOAD}},{key:"appRoutes",get:function(){return{"manage/upload(/)":"fileSelection","manage/upload/details(/)":"uploadDetails","manage/upload/complete(/)":"uploadComplete"}}},{key:"appLinks",get:function(){return["newFolder","makeLibraryAvailable"]}},{key:"filters",get:function(){return[Bt.$U,Bt.TN]}}]),n}(e.Q.AppRouter),vr=function(e){fr(n,e);var t=yr(n);function n(){return ur(this,n),t.apply(this,arguments)}return lr(n,[{key:"layoutOptions",get:function(){return{name:c.FN.ManageLayout,options:{application:c.OV.UPLOAD}}}},{key:"initialize",value:function(){this.videoUploadService=b.u.getInstance(c.K9.VideoUpload,this)}},{key:"name",get:function(){return"Upload Application"}},{key:"channelName",get:function(){return c.OV.UPLOAD}},{key:"fileSelection",value:function(){var e=this;C.e(5747).then(C.bind(C,95747)).then((function(t){var n=new(0,t.FileSelectView);e.layout.showChildView(h.r.CONTENT,n)}))}},{key:"uploadDetails",value:function(e){var t=this;this.videoUploadService.isUploading()?Promise.all([C.e(7190),C.e(299),C.e(8726),C.e(6995),C.e(9383)]).then(C.bind(C,80732)).then((function(n){var r=new(0,n.UploadVideosView)({folderId:e.folderId,analyticsOptions:{actionType:Vt.UserAction.Upload,entity:Vt.EntityType.Video,location:Vt.LocationContext.VideoUpload}});t.layout.showChildView(h.r.CONTENT,r)})):this.fileSelection()}},{key:"uploadComplete",value:function(){var e=this;this.videoUploadService.isUploading()?C.e(9695).then(C.bind(C,49695)).then((function(t){var n=new(0,t.UploadCompleteView);e.layout.showChildView(h.r.CONTENT,n)})):this.fileSelection()}},{key:"newFolder",value:function(e){var t=this;Promise.all([C.e(299),C.e(5418),C.e(8762)]).then(C.bind(C,23380)).then((function(n){var r=new(0,n.NewFolderView)({libraryId:e,routeToFolderOnCreate:!1});t.layout.showChildView(h.r.POPUP,r)}))}},{key:"makeLibraryAvailable",value:function(){var e=this;C.e(6774).then(C.bind(C,86774)).then((function(t){var n=new(0,t.PublishLibraryView);e.layout.showChildView(h.r.POPUP,n)}))}}],[{key:"router",get:function(){return br}}]),n}(wt),mr=C(36954),gr=C(32646),wr=C(76648),Or=C(73386);function Sr(e){return Sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sr(e)}function Cr(e){return function(e){if(Array.isArray(e))return Pr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Pr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pr(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kr(e,t){return kr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kr(e,t)}function _r(e,t){if(t&&("object"===Sr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Rr(e)}var jr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kr(e,t)}(c,e);var t,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Rr(o);if(i){var n=Rr(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _r(this,e)});function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).size=e.size,t.cache={},t.cachedkeys=[],t.store=e.store,t}return t=c,r=[{key:"name",get:function(){return mr.p.Fifo}},{key:"removeCacheKey",value:function(e){this.cachedkeys=n.without(this.cachedkeys,e)}},{key:"has",value:function(e){return!!this.cache[e]}},{key:"get",value:function(e){return this.cache[e]}},{key:"set",value:function(e,t){e&&t||wr.Ry.throw(new G.H("Must provide a cache key and a value to cache in FifoMemoryCache.")),this.has(e)&&this.removeCacheKey(e),this.cachedkeys.push(e),this.cache[e]=t,this.cachedkeys.length>this.size&&delete this.cache[this.cachedkeys.shift()]}},{key:"getOrSet",value:function(e,t){if(this.has(e))return this.get(e);var n=t();return this.set(e,n),n}},{key:"remove",value:function(e){return!!this.has(e)&&(delete this.cache[e],this.removeCacheKey(e),!0)}},{key:"invalidate",value:function(e,t){var r=this,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=n.object(this.cachedkeys,this.cachedkeys),a=[];n.each(e,(function(e){var t;i[e]&&a.push(e);var r=new RegExp(e,"i"),o=n.filter(i,(function(e){return r.test(e)}));(t=a).push.apply(t,Cr(o))})),a.length&&(a=n.uniq(a),n.each(a,(function(e){delete r.cache[e],n.isFunction(t)&&t(e)})),this.cachedkeys=n.without.apply(n,[this.cachedkeys].concat(Cr(a)))),this.store&&o&&this.store.dispatch({type:Or.Actions.INVALIDATE,keys:e})}}],r&&Er(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),c}(gr.b),Tr=C(76912),Ar=C(99748);function Lr(e){return Lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lr(e)}function xr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vr(e,t){return Vr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vr(e,t)}function Nr(e,t){if(t&&("object"===Lr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dr(e)}var Br=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vr(e,t)}(c,e);var t,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Dr(o);if(i){var n=Dr(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Nr(this,e)});function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),t=a.call(this,e),$.ajaxSetup({cache:!1,contentType:"application/json; charset=utf-8"}),t.successMiddleware={},t.errorMiddleware={},t.dataServiceErrorMessageMappings=e.dataServiceErrorMessageMappings,t.defaultErrorMessageKey=e.defaultErrorMessageKey,t}return t=c,r=[{key:"name",get:function(){return v.R.Ajax}},{key:"parseUrl",value:function(e){var t=document.createElement("a");return t.href=e,""===t.host&&(t.href=t.href),t}},{key:"makeHttps",value:function(e){var t=this.parseUrl(e);return"http:"===t.protocol&&(t.protocol="https:"),t.href}},{key:"base",value:function(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};r||(r=it.k.GET);var i=n.defaults(o,{forceHttps:!1}),a={url:e,method:r,type:r};t&&(a.data=r===it.k.POST||r===it.k.PUT?JSON.stringify(t):t),i.forceHttps&&(a.url=this.makeHttps(a.url)),i.traditional&&(a.traditional=i.traditional);var c=$.ajax(a);return n.keys(this.successMiddleware).length&&c.done(n.values(this.successMiddleware)),n.keys(this.errorMiddleware).length&&c.fail(n.values(this.errorMiddleware)),c}},{key:"create",value:function(e,t,n){var r=n.channel,o=n.successEvent,i=n.errorEvent;this.base(e,t,it.k.POST).done((function(e,t,n){return r.trigger(o,e,t,n)})).fail((function(e,t,n){return r.trigger(i,e,t,n)}))}},{key:"read",value:function(e,t){var n=t.channel,r=t.successEvent,o=t.errorEvent;this.base(e,null,it.k.GET).done((function(e,t,o){n.trigger(r,e,t,o)})).fail((function(e,t,r){n.trigger(o,e,t,r)}))}},{key:"update",value:function(e,t,n){var r=n.channel,o=n.successEvent,i=n.errorEvent;this.base(e,t,it.k.PUT).done((function(e,t,n){return r.trigger(o,e,t,n)})).fail((function(e,t,n){return r.trigger(i,e,t,n)}))}},{key:"delete",value:function(e,t){var n=t.channel,r=t.successEvent,o=t.errorEvent;this.base(e,null,it.k.DELETE).done((function(e,t,o){return n.trigger(r,e,t,o)})).fail((function(e,t,r){return n.trigger(o,e,t,r)}))}},{key:"useMiddleware",value:function(e,t){this.successMiddleware[e]||(this.successMiddleware[e]=t)}},{key:"useErrorMiddleware",value:function(e,t){this.errorMiddleware[e]||(this.errorMiddleware[e]=t)}},{key:"parseError",value:function(e){var t=e.responseJSON,n=Tr.N;switch(n.code=e.status,n.message=function(e,t,n){if(!n||!n.errorCode)return e[t];var r="".concat(n.errorCode);return n.errorSubCode&&(r+=".".concat(n.errorSubCode)),e[r]||e[t]}(this.dataServiceErrorMessageMappings,this.defaultErrorMessageKey,t),e.status){case 400:n.type=Ar.h.BadRequest;break;case 401:n.type=Ar.h.Unauthorized;break;case 403:n.type=Ar.h.Forbidden;break;case 404:n.type=Ar.h.NotFound;break;case 500:n.type=Ar.h.InternalServer}return n}}],r&&xr(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),c}(ae.Object),Ir=C(63400),Ur=C(21186),Mr=C(12053),Fr=C(33955),Hr=C(69184),zr=C(11543);function Gr(e){return Gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gr(e)}function qr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qr(e,t){return Qr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qr(e,t)}function Wr(e,t){if(t&&("object"===Gr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yr(e)}var Zr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qr(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Yr(n);if(r){var o=Yr(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Wr(this,e)});function i(){return qr(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(e.Q.Model);function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function $r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jr(e,t){return Jr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Jr(e,t)}function eo(e,t){if(t&&("object"===Kr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},to(e)}var no=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jr(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=to(r);if(o){var n=to(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return eo(this,e)});function a(){return $r(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return zr.Z.NotificationSocket}},{key:"channelName",get:function(){return Hr.iK.NOTIFICATIONS_SOCKET}},{key:"receiveLatestNotifications",value:function(e){return this.get({callback:e,formatData:function(e){return new Zr(e)},resource:"notify",eventPrefix:"".concat(Fr.j.NOTIFICATIONS,":new")})}},{key:"receiveUnreadNotificationCount",value:function(e){return this.get({callback:e,resource:"notifyCount",eventPrefix:"".concat(Fr.j.NOTIFICATIONS,":count")})}}])&&Xr(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B),ro=C(68003),oo=C(62077);function io(e){return io="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},io(e)}function ao(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function co(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function uo(e,t){return uo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uo(e,t)}function so(e,t){if(t&&("object"===io(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lo(e)}var fo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uo(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=lo(r);if(o){var n=lo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return so(this,e)});function a(){return ao(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return Zr}},{key:"parse",value:function(e){return e.data||e}}])&&co(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(e.Q.Collection),po=C(85523);function yo(e){return yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yo(e)}function ho(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vo(e,t){return vo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vo(e,t)}function mo(e,t){if(t&&("object"===yo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},go(e)}var wo=function(e,t){var n="/api/domain/v2/objects/".concat(e,"/notifications?query={orderbydesc:datecreated}");if(!t)return n;var r=t.limit,o=t.cursor,i=t.before,a=[],c=ro._.buildFilter({limit:r,before:i});return c&&a.push("filter=".concat(c)),o&&a.push("cursor=".concat(o)),a.length?"".concat(n,"&").concat(a.join("&")):n},Oo=function(e){return"/api/notifications/v1/notifications/".concat(e)},So=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vo(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=go(r);if(o){var n=go(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return mo(this,e)});function a(){return ho(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return zr.Z.Notification}},{key:"channelName",get:function(){return Hr.iK.NOTIFICATIONS}},{key:"lang",get:function(){return"notifications.services"}},{key:"getNotifications",value:function(e,t,n,r){return this.get({resource:wo(e,t),expiryTime:po.f.STANDARD,eventPrefix:n,formatData:function(e){return new fo(e,{parse:!0})},callback:r})}},{key:"markRead",value:function(e,t){return this.update({callback:t,data:{notificationStatus:oo.E.Read},resource:Oo(e),eventPrefix:"".concat(Fr.j.NOTIFICATIONS,":read")})}},{key:"markSeen",value:function(e){var t=We().utc().toISOString();return this.update({callback:e,data:{notificationStatus:oo.E.Seen},resource:"".concat("/api/notifications/v1/notifications","?to=").concat(t,"¬ificationStatus=").concat(oo.E.Received),eventPrefix:"".concat(Fr.j.NOTIFICATIONS,":seen")})}},{key:"getNotificationsCursors",value:function(e){return this.getCursors(e)}},{key:"suggestEdit",value:function(e,t){return this.create({resource:"".concat("/api/domain/v1/notifications"),eventPrefix:"".concat(Fr.j.SUGGEST_EDIT),callback:t,data:e,successHandler:this.alertService.success(g.T.getPhrase(this.lang,"suggestEditSubmit")),errorHandler:this.alertService.error({useXHR:!0})})}}])&&bo(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B),Co=C(95644);function Po(e){return Po="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Po(e)}function Eo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ko(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _o(e,t){return _o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_o(e,t)}function Ro(e,t){if(t&&("object"===Po(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jo(e)}var To=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_o(e,t)}(c,e);var t,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=jo(o);if(i){var n=jo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ro(this,e)});function c(){return Eo(this,c),a.apply(this,arguments)}return t=c,(r=[{key:"name",get:function(){return zr.Z.Language}},{key:"channelName",get:function(){return Hr.iK.LANGUAGE}},{key:"getLanguageConfig",value:function(e){var t={locale:"",phrases:null};this.get({resource:"/api/locale",eventPrefix:Fr.j.LOCALE,expiryTime:po.f.STANDARD,bootstrapName:Co.h.LOCALE,callback:function(r){t.locale=r,t.phrases&&n.isFunction(e)&&e(t)}}),this.get({resource:"/api/phrases",eventPrefix:Fr.j.PHRASES,expiryTime:po.f.STANDARD,bootstrapName:Co.h.PHRASES,callback:function(r){t.phrases=r,t.locale&&n.isFunction(e)&&e(t)}})}}])&&ko(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),c}(Mr.B),Ao=C(63791),Lo={alertItem:"Ulwbh",fadeIn:"xVZjP",icon:"_mM63",alertContent:"peQzJ",heading:"KBy8D",message:"YqCaz",link:"hpfvW",svgContainer:"aRSoD",alertList:"LAiCW",removing:"f3Nvd",fadeOut:"AlHTX",removed:"MRE6o"},xo=C(16187),Vo=C.n(xo);function No(e){return No="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},No(e)}function Do(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bo(e,t){return Bo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bo(e,t)}function Io(e,t){if(t&&("object"===No(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Uo(e)}var Mo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bo(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Uo(o);if(i){var n=Uo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Io(this,e)});function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return n=c,(r=[{key:"name",get:function(){return"AlertItemComponent"}},{key:"tagName",get:function(){return"li"}},{key:"className",get:function(){return"bg-white mt-2 p-2 ".concat(Lo.alertItem," show clearfix")}},{key:"template",get:function(){return Vo()}},{key:"events",value:function(){return{"click .close":"onClickClose","click a":"onClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave"}}},{key:"defaults",get:function(){return{timeout:5e3}}},{key:"appLinks",get:function(){if(this.model.get("appLink"))return{a:this.model.get("appLink")}}},{key:"onClick",value:function(){return this.forceFade=!0,this.triggerRemoval(),!0}},{key:"onClickClose",value:function(e){return e.stopPropagation(),this.forceFade=!0,this.triggerRemoval(),!1}},{key:"onMouseEnter",value:function(){this.forceFade||this.clearTimeout()}},{key:"onMouseLeave",value:function(){this.forceFade||this.startTimeout()}},{key:"removeAlert",value:function(){this.clearingTimeout&&t.Radio.channel(this.options.channelName).trigger("remove:alert",this.model.get("id"))}},{key:"triggerRemoval",value:function(){var e=this;return this.$el.addClass(Lo.removing),this.$el.addClass(Lo.removed),this.clearingTimeout=!0,window.setTimeout((function(){return e.removeAlert()}),1e3),!1}},{key:"startTimeout",value:function(){var e=this,t=this.model.get("timeout")||this.options.timeout;t&&(this.currentTimeoutIndex&&this.clearTimeout(),this.currentTimeoutIndex=window.setTimeout((function(){return e.triggerRemoval()}),t))}},{key:"clearTimeout",value:function(){window.clearTimeout(this.currentTimeoutIndex),this.removeAlertFadeClasses()}},{key:"removeAlertFadeClasses",value:function(){this.$el.removeClass(Lo.removing),this.$el.removeClass(Lo.removed),this.clearingTimeout=!1}},{key:"getTypeSvg",value:function(){switch(this.model.get("type")){case Ur.NK.Success:return Ao.Nj.getSvg(Ao.vn.CheckCircleOutline);case Ur.NK.Fail:case Ur.NK.Warning:return Ao.Nj.getSvg(Ao.vn.Warning);case Ur.NK.Info:default:return Ao.Nj.getSvg(Ao.vn.Info)}}},{key:"getTypeClass",value:function(){var e=this.model.get("type").toLowerCase();return"text-".concat(e)}},{key:"viewOptions",value:function(){return{styles:Lo,typeSvg:this.getTypeSvg(),svgClass:this.getTypeClass()}}},{key:"onRender",value:function(){this.resetClassName(),this.startTimeout()}},{key:"onBeforeDestroy",value:function(){this.removeAlertFadeClasses()}}])&&Do(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.Q.Component);function Fo(e){return Fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fo(e)}function Ho(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Go(e,t){return Go=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Go(e,t)}function qo(e,t){if(t&&("object"===Fo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qo(e)}var Wo,Yo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Go(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Qo(r);if(o){var n=Qo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return qo(this,e)});function a(){return Ho(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return"AlertComponentCollection"}},{key:"tagName",get:function(){return"ul"}},{key:"className",get:function(){return"".concat(Lo.alertList," alert-list")}},{key:"channelName",get:function(){return q.G.ALERT}},{key:"childView",get:function(){return Mo}},{key:"childViewOptions",get:function(){return{channelName:this.channelName}}}])&&zo(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(e.Q.ComponentCollection);function Zo(e){return Zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zo(e)}function Ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xo(){return Xo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=Jo(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Xo.apply(this,arguments)}function Jo(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ni(e)););return e}function ei(e,t){return ei=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ei(e,t)}function ti(e,t){if(t&&("object"===Zo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ni(e)}!function(e){e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI"}(Wo||(Wo={}));var ri=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ei(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ni(r);if(o){var n=ni(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ti(this,e)});function a(){return Ko(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return c.K9.Alerts}},{key:"success",value:function(e){return Xo(ni(a.prototype),"success",this).call(this,e)}},{key:"error",value:function(e){return Xo(ni(a.prototype),"error",this).call(this,e)}}])&&$o(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Ur.O1),oi=C(48404),ii=C(19226),ai=C(98270),ci=C(64234),ui=C(87403);function si(e){return si="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},si(e)}function li(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pi(e,t){return pi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pi(e,t)}function yi(e,t){if(t&&("object"===si(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},di(e)}var hi="shared.services",bi=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pi(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=di(r);if(o){var n=di(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return yi(this,e)});function a(){return li(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return c.Or.Customer}},{key:"channelName",get:function(){return c.Vk.CUSTOMER}},{key:"getCustomer",value:function(e,t,n){return this.get({resource:"/api/domain/v2/objects/".concat(e),formatData:function(e){return new ai.O(e)},eventPrefix:c.M_.CUSTOMER,expiryTime:ci.f.STANDARD,callback:t,errorCallback:n})}},{key:"getLogo",value:function(e){return this.get({resource:"/api/gateway/v1/objects/".concat(e,"/logo"),eventPrefix:c.M_.LOGO,expiryTime:ci.f.STANDARD,formatData:function(e){return new ui.T(e)},errorHandler:function(){}})}},{key:"invalidateLogoCache",value:function(){this.invalidateCache([c.M_.LOGO])}},{key:"createLogo",value:function(e,t,n,r){this.create({resource:"/api/domain/v2/objects/".concat(e,"/logo"),eventPrefix:c.M_.CREATE_LOGO,data:{fileId:t.toString(),fileIdType:n},formatData:function(e){return new ui.T(e)},invalidationKeys:[c.M_.LOGO],successHandler:this.alertService.success(g.T.getPhrase(hi,"createLogoSuccess")),errorHandler:this.alertService.error(g.T.getPhrase(hi,"createLogoError")),callback:r})}}])&&fi(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B),vi=C(55636),mi=C(36357);function gi(e){return gi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gi(e)}function wi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oi(e,t){return Oi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oi(e,t)}function Si(e,t){if(t&&("object"===gi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ci(e)}var Pi=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oi(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ci(n);if(r){var o=Ci(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Si(this,e)});function i(){return wi(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(e.Q.Model);function Ei(e){return Ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ei(e)}function ki(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ri(e,t){return Ri=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ri(e,t)}function ji(e,t){if(t&&("object"===Ei(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ti(e)}var Ai=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ri(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ti(r);if(o){var n=Ti(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ji(this,e)});function a(){return ki(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return Pi}}])&&_i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(e.Q.Collection);function Li(e){return Li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Li(e)}function xi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ni(e,t){return Ni=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ni(e,t)}function Di(e,t){if(t&&("object"===Li(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bi(e)}var Ii=function(e,t){var n="/api/domain/v3/settings/".concat(e);return vi.g[t]&&(n+="?kind=".concat(t)),n},Ui=function(e){return"/api/domain/v3/settings/".concat(e)},Mi=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ni(e,t)}(u,e);var t,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Bi(o);if(i){var n=Bi(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Di(this,e)});function u(){return xi(this,u),a.apply(this,arguments)}return t=u,(r=[{key:"name",get:function(){return F.O.Settings}},{key:"channelName",get:function(){return c.Vk.SETTINGS}},{key:"getSetting",value:function(e,t,r){var o=n.isFunction(r)?function(e){var o=e.findWhere({name:t});n.isFunction(r)&&r(o)}:null,i=this.getCustomerSettings(e,null,o);if(i){var a=i.findWhere({name:t});if(a)return a}var c=this.getUserSettings(e,null,o);if(c){var u=c.findWhere({name:t});if(u)return u}return null}},{key:"getCustomerSettings",value:function(e,t,n){return this.get({callback:n,resource:Ii(e,t),formatData:function(e){return new Ai(e)},eventPrefix:c.M_.CUSTOMER_SETTINGS,expiryTime:po.f.SHORT,bootstrapName:c.h2.CUSTOMER_SETTINGS})}},{key:"getUserSettings",value:function(e,t,n){return this.get({callback:n,resource:Ii(e,t),formatData:function(e){return new Ai(e)},eventPrefix:c.M_.USER_SETTINGS,expiryTime:po.f.SHORT,bootstrapName:c.h2.USER_SETTINGS})}},{key:"updateSetting",value:function(e,t,n,r){return this.update({callback:r,resource:Ui(e),eventPrefix:"".concat(c.M_.UPDATE_SETTING,":").concat(mi.E.LibraryReview),invalidationKeys:[c.M_.CUSTOMER_SETTINGS,c.M_.USER_SETTINGS],data:t,successHandler:n?this.alertService.success(n):null})}}])&&Vi(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(Mr.B),Fi=C(64649),Hi=C(95061),zi=C(71192),Gi=C(39919);function qi(e){return qi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qi(e)}function Qi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wi(e,t){return Wi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Wi(e,t)}function Yi(e,t){if(t&&("object"===qi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zi(e)}var Ki=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wi(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Zi(n);if(r){var o=Zi(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Yi(this,e)});function i(){return Qi(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(e.Q.Model),$i=C(34198),Xi=C(70763),Ji=C(90680),ea=C(21251),ta=C(13156);function na(e){return na="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},na(e)}function ra(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ia(e,t){return ia=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ia(e,t)}function aa(e,t){if(t&&("object"===na(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ca(e)}var ua=function(e,t,n){var r=["query={status:[1,5],".concat(t,"}").concat($i.H.VIDEO_COLLECTION)];return n&&r.push("cursor=".concat(n)),"/api/domain/v2/objects/".concat(e,"/videos?").concat(r.join("&"))},sa=function(e){return"/api/domain/v2/objects/".concat(e,"?query=").concat($i.H.VIDEO)},la=function(e){return"/api/domain/v1/videos?ids=".concat(e.join(","),"&with=categories")},fa=function(e,t,n){var r=n.map((function(e){return"videoIds=".concat(e)}));return"/api/domain/v1/libraries/".concat(e,"/videos?categoryId=").concat(t,"&").concat(r.join("&"))},pa=function(e){return"/api/domain/v2/objects/".concat(e,"/thumbnail")},ya=function(e,t){return"/api/domain/v2/objects/".concat(e,"/thumbnail/").concat(t)},da=function(e,t,n){return"/api/domain/v2/objects/".concat(e,"/").concat(t,"?").concat(ma.getDissocIds(n))},ha=function(e){return"/api/domain/v2/videos/".concat(e,"/copy")},ba=function(e){return"/api/domain/v2/objects/".concat(e,"/libraries")},va=function(r){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ia(e,t)}(l,r);var o,i,a,u,s=(a=l,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ca(a);if(u){var n=ca(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return aa(this,e)});function l(){return ra(this,l),s.apply(this,arguments)}return o=l,(i=[{key:"initialize",value:function(){this.videoMixinService=b.u.getInstance(F.K.VideoMixin,this)}},{key:"name",get:function(){return F.O.Video}},{key:"channelName",get:function(){return c.Vk.VIDEO}},{key:"lang",get:function(){return"libraryEditor.services"}},{key:"getVideoCollectionCursors",value:function(e){return this.getCursors(e.toString())}},{key:"clearVideoCache",value:function(){this.invalidateCache(["video"]),t.Radio.channel(this.channelName).trigger("cache:cleared")}},{key:"clearPhysicialChaptersCache",value:function(){this.invalidateCache([ea.M.VIDEO_HAS_PHYSICAL_CHAPTERS])}},{key:"getCollectionVideos",value:function(e,t){var n=this,r=Nt.x$.GetFilterFromSort(e.sort),o=ua(e.id,r,e.cursor);return this.get({resource:o,formatData:function(e){return new Xi.t(e,{parse:!0})},callback:function(r){return n.videoMixinService.mixinVideoCollectionData(r,e,t)},expiryTime:ci.f.STANDARD,eventPrefix:e.toString()})}},{key:"getSeriesVideos",value:function(e,t,n){var r=this,o=Nt.x$.GetFilterFromSort(e.sort),i="libraries.id:[".concat(t.join(","),"]"),a="".concat(o,",").concat(i),c=ua(e.id,a,e.cursor);return this.get({resource:c,formatData:function(e){return new Xi.t(e,{parse:!0})},callback:function(t){return r.videoMixinService.mixinVideoCollectionData(t,e,n)},expiryTime:ci.f.STANDARD,eventPrefix:e.toString()})}},{key:"getVideo",value:function(e,t){var n=this;return this.get({resource:sa(e),formatData:function(e){return new zi.n(e,{parse:!0})},callback:function(e){return n.videoMixinService.mixinVideoData(e,t)},expiryTime:ci.f.STANDARD,eventPrefix:"".concat(ea.M.VIDEOS,":").concat(e)})}},{key:"clearCacheAndGetVideo",value:function(e,t,n){var r=this;return this.clearCacheAndGet({resource:sa(e),formatData:function(e){return new zi.n(e,{parse:!0})},callback:function(e){return r.videoMixinService.mixinVideoData(e,t)},expiryTime:ci.f.STANDARD,eventPrefix:"".concat(ea.M.VIDEOS,":").concat(e),errorHandler:n})}},{key:"getVideos",value:function(e,t){var n=this;return this.get({resource:la(e),formatData:function(e){return new Xi.t(e,{parse:!0})},callback:function(e){return n.videoMixinService.mixinVideoCollectionData(e,null,t)},expiryTime:ci.f.STANDARD,eventPrefix:"".concat(ea.M.VIDEOS_BY_ID,":").concat(e.join(","))})}},{key:"hasPhysicalChapters",value:function(t,n){return this.get({resource:"/legacy/videos/".concat(t,"/hasphysicalchapters"),formatData:function(t){return new e.Q.Model(t)},callback:n,expiryTime:ci.f.STANDARD,eventPrefix:"".concat(ea.M.VIDEO_HAS_PHYSICAL_CHAPTERS,":").concat(t)})}},{key:"updateVideo",value:function(e,t,n,r){var o,i=["".concat(e)];return t&&i.push("".concat(t)),this.update({resource:(o=e,"/api/domain/v2/objects/".concat(o)),eventPrefix:"".concat(ea.M.UPDATE_VIDEO,":").concat(e),data:n,invalidationKeys:i,callback:r})}},{key:"addOrUpdateThumbnail",value:function(e,t,n,r){var o={fileId:t.id.toString(),fileIdType:t.get("fileIdType")},i=this.chain();n&&i.delete({resource:ya(e,n),eventPrefix:ea.M.DELETE_VIDEO_THUMBNAIL}),i.create({resource:pa(e),eventPrefix:"".concat(ea.M.UPDATE_VIDEO_THUMBNAIL,":").concat(e),data:o,formatData:function(e){return new Gi.p(e)},invalidationKeys:[ea.M.VIDEOS],successHandler:this.alertService.success(g.T.getPhrase(this.lang,"thumbnailUpdateSuccess")),callback:r}),i.run()}},{key:"moveVideos",value:function(e,t,r,o,i){var a=this;this.create({resource:"/api/domain/v2/objects/move",eventPrefix:"".concat(ea.M.MOVE_VIDEOS,":").concat(e.join(",")),formatData:function(e){return new Xi.t(e,{parse:!0})},callback:function(){a.clearVideoCache(),n.isFunction(o)&&o()},data:{oldCollectionId:r,newCollectionId:t,assocType:"has",objectIds:e},invalidationKeys:["".concat(ea.M.VIDEOS,":collection:").concat(r),"".concat(ea.M.VIDEOS,":collection:").concat(t)],successHandler:this.alertService.success(i)})}},{key:"deleteVideosFromLibrary",value:function(e,t,r,o){var i=this;this.delete({resource:fa(e,t,r),eventPrefix:ea.M.DELETE_VIDEO,invalidationKeys:[ea.M.VIDEOS],successHandler:this.alertService.success(g.T.getPhrase(this.lang,"videoRemoveSuccess",{smartCount:r.length})),callback:function(){i.clearVideoCache(),n.isFunction(o)&&o()}})}},{key:"getSharedResource",value:function(e,t,n){var r={id:e,privacy:t};return this.create({data:r,resource:"/api/domain/v1/share",formatData:function(e){return new Ki(e)},expiryTime:ci.f.STANDARD,eventPrefix:"".concat(ea.M.SHARED_RESOURCE),callback:n})}},{key:"addVideoToCustomLibrary",value:function(e,t,n,r){var o=ta.J.addVideoToLibraryAlert(t,n);this.create({resource:"/api/gateway/v1/library-requests",eventPrefix:"add:to:library",callback:r,data:e,invalidationKeys:["".concat(ea.M.VIDEOS)],successHandler:this.alertService.success(o)})}},{key:"bulkDissoc",value:function(e,t,r){if(e&&t){var o=new z(n.keys(t).length),i=function(){o.decrement(),0===o.getValue()&&r()},a=this.chain();n.each(n.keys(t),(function(n){a.delete({resource:da(e,n.toLowerCase(),t[n]),eventPrefix:"".concat(ea.M.BULK_DISSOC,":").concat(n.toLowerCase()),callback:i})})),a.run()}}},{key:"copyVideo",value:function(e,t,n,r){this.create({resource:ha(e),data:{libraryId:t,categoryId:n},eventPrefix:"copy:video",callback:r})}},{key:"getLibraries",value:function(e,t){this.get({resource:ba(e),eventPrefix:"video:libraries:".concat(e),formatData:function(e){return new Ji.q(e.data)},callback:t})}},{key:"invalidateCollectionVideos",value:function(e){this.invalidateCache([e.toString()])}}])&&oa(o.prototype,i),Object.defineProperty(o,"prototype",{writable:!1}),l}(Mr.B),ma={videoCollection:function(e){return{dataServiceName:F.O.Video,eventName:"".concat(e.toString,":sync"),getData:function(t){return t.getCollectionVideos(e)},getInstance:function(e){return b.u.getInstance(F.O.Video,e)},beforeOnBeforeRender:!0}},getDissocIds:function(e){return"string"==typeof e?"id=".concat(e):e.map((function(e){return"id=".concat(e)})).join("&")}},ga=C(7170);function wa(e){return wa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wa(e)}function Oa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ca(e,t){return Ca=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ca(e,t)}function Pa(e,t){if(t&&("object"===wa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ea(e)}var ka,_a,Ra=function(e){return"/api/domain/v2/search/videos?".concat(e,"&with=").concat(c.HZ.VIDEO_COLLECTION)},ja=function(e){return"/api/domain/v1/search/nav?".concat(e)},Ta=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ca(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ea(r);if(o){var n=Ea(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Pa(this,e)});function a(){return Oa(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"initialize",value:function(){this.videoMixinService=b.u.getInstance(c.K9.VideoMixin,this)}},{key:"name",get:function(){return zr.Z.Search}},{key:"channelName",get:function(){return Hr.iK.SEARCH}},{key:"searchVideos",value:function(e,t,n){var r=this;return this.clearCacheAndGet({callback:function(e){return r.videoMixinService.mixinVideoCollectionData(e,null,n)},resource:Ra(e),formatData:function(e){return new Xi.t(e.data)},eventPrefix:t.toString()})}},{key:"getDynamicFilters",value:function(e,t){return this.clearCacheAndGet({callback:t,resource:ja(e),formatData:function(e){return new ga.y(e,{parse:!0})},eventPrefix:c.M_.SEARCH_FILTERS})}}])&&Sa(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B);function Aa(e){return Aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Aa(e)}function La(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Va(e,t){return Va=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Va(e,t)}function Na(e,t){if(t&&("object"===Aa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Da(e)}!function(e){e[e.IosApp=1]="IosApp",e[e.AndroidApp=2]="AndroidApp",e[e.WinApp=3]="WinApp",e[e.LibraryPublisher=4]="LibraryPublisher",e[e.ExchangeClient=5]="ExchangeClient",e[e.Online=6]="Online",e[e.Tinder=7]="Tinder",e[e.Cloud247=8]="Cloud247",e[e.Livestream=9]="Livestream",e[e.Curator=10]="Curator",e[e.LibraryEditor=11]="LibraryEditor",e[e.Lite=12]="Lite"}(ka||(ka={})),function(e){e[e.ExternalOnly=0]="ExternalOnly",e[e.EmbeddedOnly=1]="EmbeddedOnly"}(_a||(_a={}));var Ba=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Va(e,t)}(s,t);var r,o,i,a,u=(i=s,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Da(i);if(a){var n=Da(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Na(this,e)});function s(){return La(this,s),u.apply(this,arguments)}return r=s,(o=[{key:"name",get:function(){return c.Or.VideoUpload}},{key:"channelName",get:function(){return c.Vk.VIDEO_UPLOAD}},{key:"lang",get:function(){return"upload.services"}},{key:"getPendingItem",value:function(t,n){this.clearCacheAndGet({resource:"/api/domain/v2/process/".concat(t),eventPrefix:"pending:item:".concat(t),formatData:function(t){return new e.Q.Model(t)},callback:n})}},{key:"getPendingItems",value:function(e){this.clearCacheAndGet({resource:"/api/domain/v2/process?destination=1&status=1&status=-1",eventPrefix:"pending",callback:e})}},{key:"clearPendingItems",value:function(e,t){this.delete({resource:"/api/domain/v2/process?".concat(n.map(e,(function(e){return"pendingProcessId=".concat(e)}))),eventPrefix:"clear:pending:".concat(e.join(",")),callback:t})}},{key:"cancelPendingItems",value:function(e,t){this.delete({resource:"/api/domain/v2/process/cancel?".concat(n.map(e,(function(e){return"pendingProcessId=".concat(e)}))),eventPrefix:"cancel:pending:".concat(e.join(",")),callback:t})}},{key:"retryPendingItems",value:function(e,t){this.create({resource:"/api/domain/v2/process/retry?".concat(n.map(e,(function(e){return"pendingProcessId=".concat(e)}))),eventPrefix:"retry:pending:".concat(e.join(",")),callback:t,data:null})}},{key:"completeVideoUploads",value:function(e,t,r,o){var i=this,a=this.chain();n.each(r,(function(n){a.create({resource:"/api/upload/complete",eventPrefix:"upload",data:{userId:e,customerId:t,libraryId:n.get("libraryId"),categoryId:n.get("folderId"),origin:ka.Curator,fileId:n.get("fileId"),video:i.toVideoUploadMetadata(n),subtitleOptions:{subtitleExtractOptions:_a.EmbeddedOnly},autoCaption:n.get("autoCaption")},errorHandler:i.alertService.error(g.T.getPhrase(i.lang,"processingError",{videoName:Nt.m$.escapeExpression(n.get("name"))}))})})),n.isFunction(o)&&a.func(o),a.run()}},{key:"toVideoUploadMetadata",value:function(e){var t=this,r=e.pick(["name","description","dateBroadcast","productionYear","episodeNumber"]);return n.extend(r,{origin:ka.Curator}),n.each(["rating","series","channel","producers","distributors","productionCompanies","directors","season"],(function(n){return t.setAssoc(n,r,e)})),r}},{key:"setAssoc",value:function(t,n,r){var o=r[t];if(o instanceof e.Q.Collection){if(!o.length||1===o.length&&!o.first().id)return;n[t]=o.map((function(e){return e.id}))}else{if(!o||!o.get("id")&&!o.get("name"))return;n[t]=o.get("id")?{id:o.get("id")}:o.pick(["name"])}}}])&&xa(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(Mr.B),Ia=C(18375);function Ua(e){return Ua="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ua(e)}function Ma(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ha(e,t){return Ha=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ha(e,t)}function za(e,t){if(t&&("object"===Ua(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ga(e)}var qa=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ha(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ga(r);if(o){var n=Ga(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return za(this,e)});function a(){return Ma(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return c.Or.ImageUpload}},{key:"channelName",get:function(){return c.Vk.IMAGE_UPLOAD}},{key:"uploadBase64Image",value:function(e,t,n){return this.create({resource:"/api/image/upload?type=".concat(t),eventPrefix:c.M_.UPLOAD_IMAGE,data:e,formatData:function(e){return new Ia.E(e)},callback:n})}}])&&Fa(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B),Qa=C(68619);function Wa(e){return Wa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wa(e)}function Ya(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Za(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ka(e,t){return Ka=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ka(e,t)}function $a(e,t){if(t&&("object"===Wa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xa(e)}var Ja=function(e){return"/api/domain/v2/objects/".concat(e,"/tags")},ec=function(e,t){return"/api/domain/v2/objects/".concat(t,"/videos/").concat(e)},tc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ka(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Xa(r);if(o){var n=Xa(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return $a(this,e)});function a(){return Ya(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return c.Or.Tags}},{key:"channelName",get:function(){return c.Vk.TAG}},{key:"createTag",value:function(e,t,n){if(e&&t)return this.create({resource:Ja(t),eventPrefix:"".concat(c.M_.CREATE_TAG,":").concat(Nt.m$.slugify(e)),formatData:function(e){return new Qa.V(e)},invalidationKeys:["".concat(t)],data:{name:e},callback:n})}},{key:"dissociateTag",value:function(e,t,n){if(e&&t)return this.delete({resource:ec(t,e),eventPrefix:"".concat(c.M_.DISSOC_TAG,":").concat(e),invalidationKeys:["".concat(t)],callback:n})}}])&&Za(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B),nc=C(11594),rc=C(78571);function oc(e){return oc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oc(e)}function ic(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ac(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cc(e,t){return cc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cc(e,t)}function uc(e,t){if(t&&("object"===oc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sc(e)}var lc=function(e){return"/api/domain/v2/objects/".concat(e,"?query=").concat(c.HZ.SERIES)},fc=function(e){return"/api/domain/v2/objects/".concat(e,"/seasons")},pc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cc(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=sc(r);if(o){var n=sc(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return uc(this,e)});function a(){return ic(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return c.Or.Series}},{key:"channelName",get:function(){return c.Vk.SERIES}},{key:"createSeries",value:function(e,t){if(e){var n=Nt.m$.slugify(e);return this.create({resource:"/api/domain/v1/series",eventPrefix:"".concat(c.M_.CREATE_SERIES,":").concat(n),formatData:function(e){return new nc.F(e)},invalidationKeys:["".concat(n)],data:{name:e},callback:t})}}},{key:"getSeries",value:function(e,t){return this.get({callback:t,expiryTime:c.fA.STANDARD,resource:lc(e),formatData:function(e){return new nc.F(e)},eventPrefix:"".concat(c.M_.SERIES,":").concat(e)})}},{key:"createSeason",value:function(e,t,n){if(e.number&&t)return this.create({data:e,resource:fc(t),eventPrefix:"".concat(c.M_.CREATE_SEASON,":").concat(t),formatData:function(e){return new rc.y(e)},invalidationKeys:["".concat(c.M_.SERIES,":").concat(t)],callback:n})}}])&&ac(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B),yc=C(2214);function dc(e){return dc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dc(e)}function hc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vc(e,t){return vc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vc(e,t)}function mc(e,t){if(t&&("object"===dc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gc(e)}var wc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vc(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=gc(r);if(o){var n=gc(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return mc(this,e)});function a(){return hc(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return F.O.Ratings}},{key:"channelName",get:function(){return c.Vk.RATINGS}},{key:"getAllRatings",value:function(e){return this.get({resource:"/api/domain/v2/me/ratings",formatData:function(e){return new yc.N(e)},expiryTime:ci.f.STANDARD,eventPrefix:"".concat(c.M_.RATINGS),callback:e})}}])&&bc(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B),Oc=C(74749);function Sc(e){return Sc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sc(e)}function Cc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pc(e,t){return Pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pc(e,t)}function Ec(e,t){if(t&&("object"===Sc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kc(e)}var _c=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pc(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=kc(n);if(r){var o=kc(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Ec(this,e)});function i(){return Cc(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(e.Q.Model),Rc=C(26457);function jc(e){return jc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jc(e)}function Tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ac(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lc(e,t){return Lc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lc(e,t)}function xc(e,t){if(t&&("object"===jc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vc(e)}var Nc,Dc=function(e){return"/api/domain/v2/objects/".concat(e,"/chapters")},Bc=function(e){return"/api/domain/v2/objects/".concat(e)},Ic=function(e){return"/api/domain/v2/objects/".concat(e)},Uc=function(e){return"/api/domain/v1/concatenate?masterId=".concat(e)},Mc=function(e){return"/api/domain/v1/concatenate?masterId=".concat(e)},Fc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lc(e,t)}(u,e);var t,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Vc(o);if(i){var n=Vc(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return xc(this,e)});function u(){return Tc(this,u),a.apply(this,arguments)}return t=u,(r=[{key:"name",get:function(){return c.Or.Chapter}},{key:"channelName",get:function(){return c.Vk.CHAPTER}},{key:"lang",get:function(){return"libraryEditor.services"}},{key:"clearVideoCache",value:function(e){this.invalidateCache(["".concat(e)])}},{key:"createChapter",value:function(e,t,r,o){if(e&&t&&n.isNumber(r))return this.create({resource:Dc(e),eventPrefix:"".concat(c.M_.CREATE_CHAPTER,":").concat(Nt.m$.slugify(t)),formatData:function(e){return new Oc.W(e)},invalidationKeys:["".concat(e)],data:{name:t,startTime:r},callback:o})}},{key:"updateChapter",value:function(e,t,r,o,i){if(e&&t&&n.isNumber(r))return this.update({resource:Bc(e),eventPrefix:"".concat(c.M_.UPDATE_CHAPTER,":").concat(e),formatData:function(e){return new Oc.W(e)},invalidationKeys:["".concat(e),"".concat(Nt.m$.slugify(t))],data:{name:t,startTime:r},successHandler:this.alertService.success(i||g.T.getPhrase(this.lang,"chapterUpdated")),callback:o})}},{key:"deleteChapter",value:function(e,t){if(e)return this.delete({resource:Ic(e),eventPrefix:"".concat(c.M_.DELETE_CHAPTER),invalidationKeys:["".concat(e)],callback:t})}},{key:"getConcatenateRequest",value:function(e,t){var r=this;return this.clearCacheAndGet({resource:Uc(e),eventPrefix:"".concat(c.M_.CONCATENATE_STATUS,":").concat(e),formatData:function(e){return new _c(e,{parse:!0})},callback:function(o){o.get("status")===Rc.Um.SingleFile&&r.clearVideoCache(e),n.isFunction(t)&&t(o)},errorHandler:!1})}},{key:"addConcatenateRequest",value:function(e,t){return this.create({resource:Mc(e),formatData:function(e){return new _c(e)},eventPrefix:"".concat(c.M_.CONCATENATE_CHAPTERS,":").concat(e),invalidationKeys:["".concat(c.M_.CONCATENATE_STATUS,":").concat(e)],data:null,callback:t})}}])&&Ac(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(Mr.B);function Hc(e){return Hc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hc(e)}function zc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qc(e,t){return qc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qc(e,t)}function Qc(e,t){if(t&&("object"===Hc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wc(e)}!function(e){e.CollectionPdf="collection_pdf",e.CustomListPdf="custom_list_pdf"}(Nc||(Nc={}));var Yc=function(e){return"/api/domain/v2/export/formats/pdf/types/".concat(e)},Zc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qc(e,t)}(u,e);var t,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Wc(o);if(i){var n=Wc(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Qc(this,e)});function u(){return zc(this,u),a.apply(this,arguments)}return t=u,(r=[{key:"name",get:function(){return c.Or.Export}},{key:"channelName",get:function(){return c.Vk.EXPORT}},{key:"lang",get:function(){return"libraryEditor.services"}},{key:"generateCollectionPdf",value:function(e,t,r,o,i){var a=n.extend({},this.getBaseExportData(r),{libraryId:e,collectionId:t});return o&&(a=n.extend({},a,{sortType:Nt.x$.MapSortTypeToExportServiceSortType(o)})),this.create({callback:i,resource:Yc(Nc.CollectionPdf),data:a,eventPrefix:"".concat(c.M_.GENERATE_COLLECTION_PDF,":").concat(t),successHandler:this.alertService.success(g.T.getPhrase(this.lang,"generatePdfSuccess")),errorHandler:this.alertService.error(g.T.getPhrase(this.lang,"generatePdfError"))})}},{key:"generateCustomListPdf",value:function(e,t,r,o,i){var a=n.extend({},this.getBaseExportData(o),{title:e,header:t,videoIds:r});return this.create({callback:i,resource:Yc(Nc.CustomListPdf),data:a,eventPrefix:c.M_.GENERATE_CUSTOM_PDF,successHandler:this.alertService.success(g.T.getPhrase(this.lang,"generatePdfSuccess")),errorHandler:this.alertService.error(g.T.getPhrase(this.lang,"generatePdfError"))})}},{key:"getBaseExportData",value:function(e){return{firstName:e.get("givenName"),lastName:e.get("familyName"),countryCode:e.get("countryCode"),instanceRegion:e.get("instanceRegion"),userId:e.id,customerId:e.get("customerId"),userEmail:e.get("email")}}}])&&Gc(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(Mr.B),Kc=C(53066),$c=C(88922);function Xc(e){return Xc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xc(e)}function Jc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tu(e,t){return tu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tu(e,t)}function nu(e,t){if(t&&("object"===Xc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ru(e)}var ou,iu="/api/localcache",au=function(e){return"".concat("/api/domain","/v1/localcaches/videos?videoId=").concat(e.join("&videoId="))},cu=function(e){return"".concat(iu,"/v1/customers/").concat(e,"/devices")};!function(e){e[e.MasterObject=0]="MasterObject",e[e.TrackingCode=1]="TrackingCode"}(ou||(ou={}));var uu=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tu(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ru(r);if(o){var n=ru(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return nu(this,e)});function a(){return Jc(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return c.Or.LocalCache}},{key:"channelName",get:function(){return c.Vk.LOCAL_CACHE}},{key:"lang",get:function(){return"shared.services"}},{key:"getDownloadsForVideos",value:function(e,t){return this.get({resource:au(e),formatData:function(e){return new $c.p(e)},eventPrefix:"".concat(c.M_.LOCAL_CACHE_DOWNLOADS,":").concat(e.join(",")),expiryTime:ci.f.STANDARD,callback:t})}},{key:"getDevices",value:function(e,t){return this.get({resource:cu(e),formatData:function(e){return new Kc.J(e)},eventPrefix:c.M_.LOCAL_CACHE_DEVICES,expiryTime:ci.f.STANDARD,callback:t})}},{key:"downloadVideoToLocalCache",value:function(e,t,n){this.create({resource:"".concat(iu,"/v1/downloads/videos"),data:this.getDownloadVideoData(e,t),eventPrefix:c.M_.ADD_VIDEO_TO_LOCAL_CACHE,invalidationKeys:[c.M_.LOCAL_CACHE_DOWNLOADS],callback:n,successHandler:this.alertService.success(g.T.getPhrase(this.lang,"localCacheAddSuccess")),errorHandler:this.alertService.error({useXHR:!0})})}},{key:"getDownloadVideoData",value:function(e,t){return{deviceId:e,videoId:t,videoIdType:ou.MasterObject,expiresOn:We().add(14,"days")}}}])&&eu(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B);function su(e){return su="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},su(e)}function lu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fu(e,t){return fu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fu(e,t)}function pu(e,t){if(t&&("object"===su(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yu(e)}var du=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fu(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=yu(n);if(r){var o=yu(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return pu(this,e)});function i(){return lu(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(e.Q.Model);function hu(e){return hu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hu(e)}function bu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mu(e,t){return mu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mu(e,t)}function gu(e,t){if(t&&("object"===hu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wu(e)}var Ou=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mu(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=wu(r);if(o){var n=wu(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return gu(this,e)});function a(){return bu(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"model",get:function(){return du}}])&&vu(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(e.Q.Collection),Su=C(29457);function Cu(e){return Cu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cu(e)}function Pu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ku(e,t){return ku=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ku(e,t)}function _u(e,t){if(t&&("object"===Cu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ru(e)}var ju=function(e){var t=["type=".concat(Su.lY.RestrictedByAdmin),"objectTypeId=".concat(Su.En.Video),"with=".concat(c.HZ.VIDEO_COLLECTION)];return e&&t.push("page=".concat(e)),"/api/domain/v1/restrictedobjects?".concat(t.join("&"))},Tu=function(e){var t=["type=".concat(Su.lY.RestrictedByAdmin),"objectTypeId=".concat(Su.En.Video)],n="";return e&&e.forEach((function(e){return n+="&objectId=".concat(e)})),"/api/domain/v1/restrictedobjects?".concat(t.join("&")).concat(n)},Au=function(e){return"/api/domain/v1/restrictedobjects?objectId=".concat(e,"&objectTypeId=").concat(Su.En.Video)},Lu=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ku(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ru(r);if(o){var n=Ru(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _u(this,e)});function a(){return Pu(this,a),i.apply(this,arguments)}return t=a,n=[{key:"name",get:function(){return c.Or.RestrictedVideo}},{key:"channelName",get:function(){return c.Vk.RESTRICTED_VIDEO}},{key:"lang",get:function(){return"shared.services"}},{key:"getPaginationCursors",value:function(e){return this.getCursors("".concat(c.M_.RESTRICTED_VIDEOS,":").concat(e))}},{key:"getRestrictedVideos",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"1",t=arguments.length>1?arguments[1]:void 0;return this.get({callback:t,resource:ju(e),formatData:function(e){return new Xi.t(e,{parse:!0})},expiryTime:ci.f.STANDARD,eventPrefix:"".concat(c.M_.RESTRICTED_VIDEOS,":").concat(e)})}},{key:"getVideoRestrictions",value:function(e,t,n){var r=t?"".concat(c.M_.RESTRICTED_OBJECTS,":").concat(t.toString()):"".concat(c.M_.RESTRICTED_OBJECTS,":").concat(e.join(","));return this.get({callback:n,resource:Tu(e),formatData:function(e){return new Ou(e)},expiryTime:ci.f.STANDARD,eventPrefix:r})}},{key:"updateVideoRestriction",value:function(e,t,n,r,o){var i={groupId:t,objectId:e,objectTypeId:11,type:2,metadata:null,customerId:n,restrictedBy:r,restrictedByCustomerId:n};this.create({callback:o,resource:"/api/domain/v1/restrictedobjects",eventPrefix:c.M_.UPDATE_VIDEO_RESTRICTION,data:i,invalidationKeys:[c.M_.RESTRICTED_VIDEOS,c.M_.VIDEOS_TO_REVIEW,c.M_.RESTRICTED_OBJECTS],successHandler:this.alertService.success(g.T.getPhrase(this.lang,"restrictionUpdated")),errorHandler:this.alertService.error(g.T.getPhrase(this.lang,"restrictionUpdateError"))})}},{key:"deleteVideoRestriction",value:function(e,t){this.delete({callback:t,resource:Au(e),eventPrefix:c.M_.UPDATE_VIDEO_RESTRICTION,invalidationKeys:["".concat(c.M_.VIDEOS,":restricted"),c.M_.RESTRICTED_VIDEOS,c.M_.RESTRICTED_OBJECTS,c.M_.VIDEOS_TO_REVIEW],successHandler:this.alertService.success(g.T.getPhrase(this.lang,"restrictionRemoved"))})}}],n&&Eu(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B),xu=C(57519);function Vu(e){return Vu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vu(e)}function Nu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Du(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bu(e,t){return Bu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bu(e,t)}function Iu(e,t){if(t&&("object"===Vu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Uu(e)}function Mu(e){return function(e){if(Array.isArray(e))return Fu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Fu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fu(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Hu=function(e,t,n,r,o){var i=e.map((function(e){return"libraryId=".concat(e)})),a=[].concat(Mu(i),["from=".concat(t),"to=".concat(n)]);o&&a.push("offset=".concat(o));var u=c.HZ.HOSTED_VIDEO_COLLECTION;return r&&a.push.apply(a,Mu(r.map((function(e){return"categoryId=".concat(e)})))),"/api/domain/v2/videos/recent?query=".concat(u,"&").concat(a.join("&"))},zu=function(e,t,n){var r=e.map((function(e){return"libraryId=".concat(e)})),o=[].concat(Mu(r),["from=".concat(t),"to=".concat(n)]);return"/api/domain/v2/categories/recent?".concat(o.join("&"))},Gu=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bu(e,t)}(u,e);var t,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Uu(o);if(i){var n=Uu(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Iu(this,e)});function u(){return Nu(this,u),a.apply(this,arguments)}return t=u,(r=[{key:"initialize",value:function(){this.videoMixinService=b.u.getInstance(c.K9.VideoMixin,this)}},{key:"name",get:function(){return c.Or.ContentUpdates}},{key:"channelName",get:function(){return c.Vk.CONTENT_UPDATES}},{key:"lang",get:function(){return"contentUpdates.services"}},{key:"getVideoCollectionCursors",value:function(e){return this.getCursors(e.toString())}},{key:"getRecentVideos",value:function(e,t){var n=this,r=e.toParams();return this.get({resource:Hu(r.libraryIds,r.from,r.to,r.subjectIds,r.cursor),formatData:function(e){return new Xi.t(e,{parse:!0})},expiryTime:ci.f.STANDARD,eventPrefix:e.toString(),callback:function(r){return n.videoMixinService.mixinVideoCollectionData(r,e,t)}})}},{key:"getRecentVideosAllPages",value:function(e,t){var r,o=this,i=e.toParams(),a=new Xi.t;this.get({resource:Hu(i.libraryIds,i.from,i.to,i.subjectIds),formatData:function(e){return new Xi.t(e,{parse:!0})},expiryTime:ci.f.STANDARD,eventPrefix:"".concat(c.M_.RECENT_VIDEOS_ALL_PAGES,":").concat(e.toString()),callback:function u(s){a.add(s.models);var l="".concat(c.M_.RECENT_VIDEOS_ALL_PAGES,":").concat(e.toString());r&&r.next&&(l+=":".concat(r.next)),(r=o.getCursors(l))&&r.next?o.get({resource:Hu(i.libraryIds,i.from,i.to,i.subjectIds,r.next),formatData:function(e){return new Xi.t(e,{parse:!0})},expiryTime:ci.f.STANDARD,eventPrefix:"".concat(c.M_.RECENT_VIDEOS_ALL_PAGES,":").concat(e.toString(),":").concat(r.next),callback:u}):n.isFunction(t)&&t(a)}})}},{key:"getRecentVideoSubjects",value:function(e,t){var n=e.toParams();return this.get({resource:zu(n.libraryIds,n.from,n.to),formatData:function(e){return new xu.d(e)},expiryTime:ci.f.STANDARD,eventPrefix:e.toString(),callback:t})}},{key:"getVideosToReview",value:function(e){return this.get({callback:e,resource:(t=["type=".concat(Su.lY.TermUpdate),"objectTypeId=".concat(Su.En.Video),"with=".concat(c.HZ.VIDEO_COLLECTION)],"/api/domain/v1/restrictedobjects/all?".concat(t.join("&"))),formatData:function(e){return new Xi.t(e)},expiryTime:ci.f.STANDARD,eventPrefix:c.M_.VIDEOS_TO_REVIEW});var t}},{key:"approveAllVideos",value:function(e){return this.delete({callback:e,resource:(t=["type=".concat(Su.lY.TermUpdate),"objectTypeId=".concat(Su.En.Video)],"/api/domain/v1/restrictedobjects?".concat(t.join("&"))),eventPrefix:"".concat(c.M_.VIDEOS_TO_REVIEW,":approve:all"),invalidationKeys:[c.M_.VIDEOS_TO_REVIEW],successHandler:this.alertService.success(g.T.getPhrase(this.lang,"approveAllVideosSuccess"))});var t}}])&&Du(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(Mr.B);function qu(e){return qu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qu(e)}function Qu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yu(e,t){return Yu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yu(e,t)}function Zu(e,t){if(t&&("object"===qu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ku(e)}var $u=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yu(e,t)}(u,t);var n,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ku(o);if(i){var n=Ku(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Zu(this,e)});function u(){return Qu(this,u),a.apply(this,arguments)}return n=u,(r=[{key:"name",get:function(){return c.Or.DownloadProxy}},{key:"channelName",get:function(){return c.Vk.DOWNLOAD_PROXY}},{key:"lang",get:function(){return"shared.services"}},{key:"createDownloadToken",value:function(t,n){this.create({data:{objectId:t},resource:"/api/downloadproxy/api/tokens",formatData:function(t){return new e.Q.Model(t)},eventPrefix:"token:".concat(t),expiryTime:c.fA.STANDARD,errorHandler:this.alertService.error(g.T.getPhrase(this.lang,"linkRetrievalError")),callback:n})}}])&&Wu(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),u}(Mr.B),Xu=C(14327);function Ju(e){return Ju="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ju(e)}function es(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ts(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ns(e,t){return ns=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ns(e,t)}function rs(e,t){if(t&&("object"===Ju(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},os(e)}var is=function(e){return"/api/domain/v2/objects/".concat(e,"/resources")},as=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ns(e,t)}(u,e);var t,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=os(o);if(i){var n=os(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return rs(this,e)});function u(){return es(this,u),a.apply(this,arguments)}return t=u,(r=[{key:"name",get:function(){return c.Or.Resource}},{key:"channelName",get:function(){return c.Vk.RESOURCE}},{key:"lang",get:function(){return"libraryEditor.services"}},{key:"addResource",value:function(e,t,r){var o=this,i=this.chain();n.each(t,(function(n,a){i.create({resource:is(e),eventPrefix:"".concat(c.M_.CREATE_RESOURCE),formatData:function(e){return new Xu._(e)},callback:r,data:n,successHandler:a+1===t.length&&o.alertService.success(g.T.getPhrase(o.lang,"resourceUploadSuccess"))})})),i.run()}},{key:"getResource",value:function(e,t){return this.get({resource:(n=e,"/api/domain/v2/objects/".concat(n)),formatData:function(e){return new Xu._(e)},eventPrefix:"".concat(c.M_.RESOURCE,":").concat(e),callback:t});var n}},{key:"updateResource",value:function(e,t,n){var r,o=this,i=t.pick(["id","name"]);this.update({resource:(r=i.id,"/api/domain/v2/objects/".concat(r)),data:i,eventPrefix:"".concat(c.M_.UPDATE_RESOURCE,":").concat(i.id),callback:function(t){o.invalidateCache(["".concat(c.M_.VIDEOS,":").concat(e)]),n&&n(t)},successHandler:this.alertService.success(g.T.getPhrase(this.lang,"resourceUpdateSuccess"))})}},{key:"deleteResource",value:function(e,t,n){var r,o=this;this.delete({resource:(r=t,"/api/domain/v2/objects/".concat(r)),eventPrefix:"".concat(c.M_.DELETE_RESOURCE,":").concat(t),callback:function(){o.invalidateCache(["".concat(c.M_.VIDEOS,":").concat(e)]),n&&n()},successHandler:this.alertService.success(g.T.getPhrase(this.lang,"resourceRemoveSuccess"))})}}])&&ts(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(Mr.B),cs=C(79823);function us(e){return us="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},us(e)}function ss(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ls(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fs(e,t){return fs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fs(e,t)}function ps(e,t){if(t&&("object"===us(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ys(e)}var ds=function(e){return"/api/domain/v2/objects/".concat(e,"/subtitles")},hs=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fs(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ys(r);if(o){var n=ys(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ps(this,e)});function a(){return ss(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return c.Or.Subtitle}},{key:"channelName",get:function(){return c.Vk.SUBTITLE}},{key:"lang",get:function(){return"libraryEditor.services"}},{key:"addSubtitle",value:function(e,t,n){this.create({resource:ds(e),eventPrefix:"".concat(c.M_.CREATE_SUBTITLE),formatData:function(e){return new cs.Q(e)},callback:n,data:t,successHandler:this.alertService.success(g.T.getPhrase(this.lang,"subtitleUploadSuccess"))})}},{key:"deleteSubtitle",value:function(e,t,n){var r,o=this;this.delete({resource:(r=t,"/api/domain/v2/objects/".concat(r)),eventPrefix:"".concat(c.M_.DELETE_SUBTITLE,":").concat(t),callback:function(){o.invalidateCache(["".concat(c.M_.VIDEOS,":").concat(e)]),n&&n()},successHandler:this.alertService.success(g.T.getPhrase(this.lang,"subtitleRemoveSuccess"))})}}])&&ls(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B),bs=C(13823);function vs(e){return vs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vs(e)}function ms(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ws(e,t){return ws=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ws(e,t)}function Os(e,t){if(t&&("object"===vs(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ss(e)}var Cs=function(e){return"/api/domain/v2/objects/".concat(e,"/links")},Ps=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ws(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ss(r);if(o){var n=Ss(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Os(this,e)});function a(){return ms(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return c.Or.Link}},{key:"channelName",get:function(){return c.Vk.LINK}},{key:"lang",get:function(){return"libraryEditor.services"}},{key:"addLink",value:function(e,t,n){this.create({resource:Cs(e),eventPrefix:c.M_.CREATE_LINK,formatData:function(e){return new bs.r(e)},callback:n,data:t,successHandler:this.alertService.success(g.T.getPhrase(this.lang,"linkUploadSuccess")),errorHandler:this.alertService.error(g.T.getPhrase(this.lang,"linkUploadError"))})}},{key:"getLink",value:function(e,t){return this.get({resource:(n=e,"/api/domain/v2/objects/".concat(n)),formatData:function(e){return new bs.r(e)},eventPrefix:"".concat(c.M_.LINK,":").concat(e),callback:t});var n}},{key:"updateLink",value:function(e,t,n){var r,o=this,i=t.pick(["id","name"]);this.update({resource:(r=i.id,"/api/domain/v2/objects/".concat(r)),data:i,eventPrefix:"".concat(c.M_.UPDATE_LINK,":").concat(i.id),callback:function(t){o.invalidateCache(["".concat(c.M_.VIDEOS,":").concat(e)]),n&&n(t)},successHandler:this.alertService.success(g.T.getPhrase(this.lang,"linkUpdateSuccess")),errorHandler:this.alertService.error(g.T.getPhrase(this.lang,"linkUpdateError"))})}},{key:"deleteLink",value:function(e,t,n){var r,o=this;this.delete({resource:(r=t,"/api/domain/v2/objects/".concat(r)),eventPrefix:"".concat(c.M_.DELETE_LINK,":").concat(t),callback:function(){o.invalidateCache(["".concat(c.M_.VIDEOS,":").concat(e)]),n&&n()},successHandler:this.alertService.success(g.T.getPhrase(this.lang,"linkRemoveSuccess")),errorHandler:this.alertService.error(g.T.getPhrase(this.lang,"linkRemoveError"))})}}])&&gs(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B);function Es(e){return Es="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Es(e)}function ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _s(e,t){return _s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_s(e,t)}function Rs(e,t){if(t&&("object"===Es(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},js(e)}var Ts=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_s(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=js(n);if(r){var o=js(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Rs(this,e)});function i(){return ks(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(e.Q.Model);function As(e){return As="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},As(e)}function Ls(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vs(e,t){return Vs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vs(e,t)}function Ns(e,t){if(t&&("object"===As(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ds(e)}var Bs=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vs(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ds(r);if(o){var n=Ds(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ns(this,e)});function a(){return Ls(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return c.Or.Person}},{key:"channelName",get:function(){return c.Vk.PERSON}},{key:"createPerson",value:function(e,t){if(e)return this.create({resource:"/api/domain/v2/people",eventPrefix:c.M_.CREATE_PERSON,formatData:function(e){return new Ts(e)},data:{name:e},callback:t})}}])&&xs(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B);function Is(e){return Is="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Is(e)}function Us(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ms(e,t){return Ms=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ms(e,t)}function Fs(e,t){if(t&&("object"===Is(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hs(e)}var zs=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ms(e,t)}(i,e);var t,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Hs(n);if(r){var o=Hs(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Fs(this,e)});function i(){return Us(this,i),o.apply(this,arguments)}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(e.Q.Model);function Gs(e){return Gs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gs(e)}function qs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ws(e,t){return Ws=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ws(e,t)}function Ys(e,t){if(t&&("object"===Gs(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zs(e)}var Ks=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ws(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Zs(r);if(o){var n=Zs(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ys(this,e)});function a(){return qs(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return c.Or.Company}},{key:"channelName",get:function(){return c.Vk.COMPANY}},{key:"createCompany",value:function(e,t){if(e)return this.create({resource:"/api/domain/v2/companies",eventPrefix:c.M_.CREATE_COMPANY,formatData:function(e){return new zs(e)},data:{name:e},callback:t})}}])&&Qs(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B);function $s(e){return $s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$s(e)}function Xs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Js(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function el(e,t){return el=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},el(e,t)}function tl(e,t){if(t&&("object"===$s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nl(e)}var rl=function(e){return"/api/domain/v2/objects/".concat(e,"/fields")},ol=function(e){return"/api/domain/v2/objects/".concat(e)},il=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&el(e,t)}(u,e);var t,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=nl(o);if(i){var n=nl(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return tl(this,e)});function u(){return Xs(this,u),a.apply(this,arguments)}return t=u,(r=[{key:"name",get:function(){return c.Or.Fields}},{key:"channelName",get:function(){return c.Vk.FIELDS}},{key:"updateField",value:function(e,t){var n;this.update({resource:(n=e.id,"/api/domain/v2/objects/".concat(n)),eventPrefix:"".concat(c.M_.UPDATE_FIELD,":").concat(e.id),data:e,callback:t})}},{key:"addField",value:function(e,t,r){var o=n.omit(t,"id");this.create({resource:rl(e),eventPrefix:c.M_.ADD_FIELD,data:o,callback:r})}},{key:"deleteField",value:function(e,t){this.delete({resource:ol(e),eventPrefix:c.M_.DELETE_FIELD,callback:t})}}])&&Js(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(Mr.B),al=C(68893);function cl(e){return cl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cl(e)}function ul(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ll(e,t){return ll=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ll(e,t)}function fl(e,t){if(t&&("object"===cl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pl(e)}var yl=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ll(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=pl(r);if(o){var n=pl(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return fl(this,e)});function a(){return ul(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return c.Or.Player}},{key:"channelName",get:function(){return c.Vk.PLAYER}},{key:"createViewKey",value:function(e,t,n){var r={mediaId:e.toString(),mediaIdType:t};return this.create({resource:"/api/player/create-view-key",callback:n,formatData:function(e){return new al.y(e)},eventPrefix:"".concat(c.M_.PLAYER_VIEWKEY,":").concat(e,":").concat(t),expiryTime:28800,data:r})}}])&&sl(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Mr.B),dl=C(54332),hl=C(26776),bl=C(23859);function vl(e){return vl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vl(e)}function ml(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wl(e,t){return wl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wl(e,t)}function Ol(e,t){if(t&&("object"===vl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Sl(e)}var Cl=function(r){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wl(e,t)}(s,r);var o,i,a,c,u=(a=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Sl(a);if(c){var n=Sl(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ol(this,e)});function s(){return ml(this,s),u.apply(this,arguments)}return o=s,i=[{key:"initialize",value:function(){this.listenTo(q.G.SHELL,e.Q.EventNames.ROUTE,this.onRouteChange),this.listenTo(Hr.Q4.CONTEXTUAL_SEARCH,"typeahead:toggle",this.onTypeaheadToggle),this.listenTo(Hr.Q4.CONTEXTUAL_SEARCH,"reset:search:context",this.resetSearchContext),this.searchContext=new e.Q.Model}},{key:"name",get:function(){return zr.D.ContextualSearch}},{key:"lang",get:function(){return"search.services"}},{key:"getSearchContext",value:function(){return this.searchContext}},{key:"onRouteChange",value:function(e,t){t.isAppRoute&&this.setSearchContext(e)}},{key:"onTypeaheadToggle",value:function(e){if(!e.open&&!this.searchContext.get("filterValue")){var t=xt.O.getCurrentContext().appLink;this.setSearchContext(t)}}},{key:"setSearchContext",value:function(e){var n=this.isValidSearchContext(e);n?this.updateSearchContext(n,e.args):this.inSearchView(e)||t.Radio.channel(Hr.Q4.CONTEXTUAL_SEARCH).trigger("reset:search:context")}},{key:"updateSearchContext",value:function(e,t){e.appLink.args=t,this.searchContext.set(e),e.setFilterValue(e,this)}},{key:"setFilterValue",value:function(e){var t={filterValue:e,title:e};this.searchContext.set(t)}},{key:"resetSearchContext",value:function(){this.searchContext.clear({silent:!0})}},{key:"isValidSearchContext",value:function(t){return this.appVariables||(this.appVariables=b.u.getInstance(bl.C.SEARCH,this)),n.find(function(t,r){var o=[];return r.folder&&o.push({appLink:r.folder,searchTag:g.T.getPhrase(t,"folderTag"),filterParam:"folder",setFilterValue:function(e,t){b.u.getInstance(zr.Z.Library,t).getFolder(n.first(e.appLink.args).toString(),(function(e){t.setFilterValue(e.get("name")),b.u.releaseInstance(zr.Z.Library)}))}}),r.series&&o.push({appLink:r.series,searchTag:g.T.getPhrase(t,"seriesTag"),filterParam:"series",setFilterValue:function(t,r){b.u.getInstance(zr.Z.Series,r).getSeries(n.first(t.appLink.args).toString(),(function(t){var n=t instanceof e.Q.Model?t.get("name"):t.name;r.setFilterValue(n),b.u.releaseInstance(zr.Z.Series)}))}}),o}(this.lang,this.appVariables.appLinks),(function(e){return t.application===e.appLink.application&&t.action===e.appLink.action}))}},{key:"inSearchView",value:function(e){var t=this.appVariables.appLinks.searchResults;return e.application===t.application&&e.action===t.action}}],i&&gl(o.prototype,i),Object.defineProperty(o,"prototype",{writable:!1}),s}(e.Q.Service),Pl=C(84855);function El(e){return El="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},El(e)}function kl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _l(e,t){return _l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_l(e,t)}function Rl(e,t){if(t&&("object"===El(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jl(e)}var Tl,Al,Ll=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_l(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=jl(r);if(o){var n=jl(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Rl(this,e)});function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this)}return t=a,n=[{key:"name",get:function(){return zr.D.Notification}},{key:"initDataServices",value:function(){this.notificationDataService=b.u.getInstance(zr.Z.Notification,this),this.notificationSocketService=b.u.getInstance(zr.Z.NotificationSocket,this),this.userDataService=b.u.getInstance(zr.Z.User,this),this.bindSocketListeners(),this.bindAppListeners()}},{key:"bindSocketListeners",value:function(){var e=Fr.j.NOTIFICATIONS;this.listenTo(Hr.iK.NOTIFICATIONS_SOCKET,"".concat(e,":new:sync"),this.addNewNotification),this.listenTo(Hr.iK.NOTIFICATIONS_SOCKET,"".concat(e,":count:sync"),this.updateUnreadCount),this.listenTo(Hr.iK.NOTIFICATIONS,"".concat(e,":seen"),this.updateUnreadCount)}},{key:"bindAppListeners",value:function(){this.listenTo(Hr.GL.NOTIFICATIONS,Pl.f.Read,this.markNotificationRead)}},{key:"getDataServices",value:function(){this.dataServicesExist()||this.initDataServices()}},{key:"dataServicesExist",value:function(){return!!this.notificationSocketService&&!!this.notificationDataService}},{key:"addNewNotification",value:function(e){var t=this;this.userDataService.getCurrentUser((function(n){t.notificationDataService.getNotifications(n.id,null,Fr.j.NOTIFICATIONS,(function(t){t.add(e,{at:0})}))}))}},{key:"updateUnreadCount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=Q.r.get(Fr.j.NOTIFICATIONS);t.set("unreadCount",e)}},{key:"getNotifications",value:function(e,t,n){var r=this;this.getDataServices(),this.notificationSocketService.receiveLatestNotifications(),this.userDataService.getCurrentUser((function(o){r.notificationDataService.getNotifications(o.id,e,t.toString(),n)}))}},{key:"getNotificationsMetadata",value:function(){return this.getDataServices(),this.notificationSocketService.receiveUnreadNotificationCount(),Q.r.get(Fr.j.NOTIFICATIONS)}},{key:"markNotificationsSeen",value:function(){this.notificationDataService.markSeen()}},{key:"markNotificationRead",value:function(e){this.notificationDataService.markRead(e)}},{key:"getNotificationsCursors",value:function(e){return this.notificationDataService.getNotificationsCursors(e.toString())}}],n&&kl(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(e.Q.Service),xl=(Tl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}Tl(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Vl=function(e){function t(t,n){var r=this,o=this.constructor.prototype;return(r=e.call(this,t)||this).statusCode=n,r.__proto__=o,r}return xl(t,e),t}(Error),Nl=function(e){function t(t){void 0===t&&(t="A timeout occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return xl(t,e),t}(Error),Dl=function(e){function t(t){void 0===t&&(t="An abort occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return xl(t,e),t}(Error),Bl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Il=function(e,t,n){this.statusCode=e,this.statusText=t,this.content=n},Ul=function(){function e(){}return e.prototype.get=function(e,t){return this.send(Bl({},t,{method:"GET",url:e}))},e.prototype.post=function(e,t){return this.send(Bl({},t,{method:"POST",url:e}))},e.prototype.delete=function(e,t){return this.send(Bl({},t,{method:"DELETE",url:e}))},e.prototype.getCookieString=function(e){return""},e}();!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Information=2]="Information",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.None=6]="None"}(Al||(Al={}));var Ml=function(){function e(){}return e.prototype.log=function(e,t){},e.instance=new e,e}(),Fl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Hl=function(){function e(){}return e.isRequired=function(e,t){if(null==e)throw new Error("The '"+t+"' argument is required.")},e.isNotEmpty=function(e,t){if(!e||e.match(/^\s*$/))throw new Error("The '"+t+"' argument should not be empty.")},e.isIn=function(e,t,n){if(!(e in t))throw new Error("Unknown "+n+" value: "+e+".")},e}(),zl=function(){function e(){}return Object.defineProperty(e,"isBrowser",{get:function(){return"object"==typeof window},enumerable:!0,configurable:!0}),Object.defineProperty(e,"isWebWorker",{get:function(){return"object"==typeof self&&"importScripts"in self},enumerable:!0,configurable:!0}),Object.defineProperty(e,"isNode",{get:function(){return!this.isBrowser&&!this.isWebWorker},enumerable:!0,configurable:!0}),e}();function Gl(e,t){var n="";return ql(e)?(n="Binary data of length "+e.byteLength,t&&(n+=". Content: '"+function(e){var t=new Uint8Array(e),n="";return t.forEach((function(e){n+="0x"+(e<16?"0":"")+e.toString(16)+" "})),n.substr(0,n.length-1)}(e)+"'")):"string"==typeof e&&(n="String data of length "+e.length,t&&(n+=". Content: '"+e+"'")),n}function ql(e){return e&&"undefined"!=typeof ArrayBuffer&&(e instanceof ArrayBuffer||e.constructor&&"ArrayBuffer"===e.constructor.name)}function Ql(e,t,n,r,o,i,a,c,u){return s=this,l=void 0,p=function(){var s,l,f,p,y,d,h,b;return function(e,t){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=(o=a.trys).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=t.call(e,a)}catch(e){i=[6,e],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])}}}(this,(function(v){switch(v.label){case 0:return l={},o?[4,o()]:[3,2];case 1:(f=v.sent())&&((s={}).Authorization="Bearer "+f,l=s),v.label=2;case 2:return p=Zl(),y=p[0],d=p[1],l[y]=d,e.log(Al.Trace,"("+t+" transport) sending data. "+Gl(i,a)+"."),h=ql(i)?"arraybuffer":"text",[4,n.post(r,{content:i,headers:Fl({},l,u),responseType:h,withCredentials:c})];case 3:return b=v.sent(),e.log(Al.Trace,"("+t+" transport) request complete. Response status: "+b.statusCode+"."),[2]}}))},new((f=void 0)||(f=Promise))((function(e,t){function n(e){try{o(p.next(e))}catch(e){t(e)}}function r(e){try{o(p.throw(e))}catch(e){t(e)}}function o(t){t.done?e(t.value):new f((function(e){e(t.value)})).then(n,r)}o((p=p.apply(s,l||[])).next())}));var s,l,f,p}var Wl=function(){function e(e,t){this.subject=e,this.observer=t}return e.prototype.dispose=function(){var e=this.subject.observers.indexOf(this.observer);e>-1&&this.subject.observers.splice(e,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch((function(e){}))},e}(),Yl=function(){function e(e){this.minimumLogLevel=e,this.outputConsole=console}return e.prototype.log=function(e,t){if(e>=this.minimumLogLevel)switch(e){case Al.Critical:case Al.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+Al[e]+": "+t);break;case Al.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+Al[e]+": "+t);break;case Al.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+Al[e]+": "+t);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+Al[e]+": "+t)}},e}();function Zl(){var e,t,n,r,o,i,a="X-SignalR-User-Agent";return zl.isNode&&(a="User-Agent"),[a,(e="5.0.2",t=Kl(),n=zl.isNode?"NodeJS":"Browser",r=$l(),o="Microsoft SignalR/",i=e.split("."),o+=i[0]+"."+i[1],o+=" ("+e+"; ",o+=t&&""!==t?t+"; ":"Unknown OS; ",o+=""+n,o+=r?"; "+r:"; Unknown Runtime Version",o+=")")]}function Kl(){if(!zl.isNode)return"";switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}}function $l(){if(zl.isNode)return process.versions.node}var Xl,Jl=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ef=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},tf=function(e){function t(t){var n=e.call(this)||this;if(n.logger=t,"undefined"==typeof fetch){var r=require;n.jar=new(r("tough-cookie").CookieJar),n.fetchType=r("node-fetch"),n.fetchType=r("fetch-cookie")(n.fetchType,n.jar),n.abortControllerType=r("abort-controller")}else n.fetchType=fetch.bind(self),n.abortControllerType=AbortController;return n}return Jl(t,e),t.prototype.send=function(e){return t=this,n=void 0,o=function(){var t,n,r,o,i,a,c,u,s=this;return function(e,t){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=(o=a.trys).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=t.call(e,a)}catch(e){i=[6,e],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])}}}(this,(function(l){switch(l.label){case 0:if(e.abortSignal&&e.abortSignal.aborted)throw new Dl;if(!e.method)throw new Error("No method defined.");if(!e.url)throw new Error("No url defined.");t=new this.abortControllerType,e.abortSignal&&(e.abortSignal.onabort=function(){t.abort(),n=new Dl}),r=null,e.timeout&&(o=e.timeout,r=setTimeout((function(){t.abort(),s.logger.log(Al.Warning,"Timeout from HTTP request."),n=new Nl}),o)),l.label=1;case 1:return l.trys.push([1,3,4,5]),[4,this.fetchType(e.url,{body:e.content,cache:"no-cache",credentials:!0===e.withCredentials?"include":"same-origin",headers:ef({"Content-Type":"text/plain;charset=UTF-8","X-Requested-With":"XMLHttpRequest"},e.headers),method:e.method,mode:"cors",redirect:"manual",signal:t.signal})];case 2:return i=l.sent(),[3,5];case 3:if(a=l.sent(),n)throw n;throw this.logger.log(Al.Warning,"Error from HTTP request. "+a+"."),a;case 4:return r&&clearTimeout(r),e.abortSignal&&(e.abortSignal.onabort=null),[7];case 5:if(!i.ok)throw new Vl(i.statusText,i.status);return c=function(e,t){var n;switch(t){case"arraybuffer":n=e.arrayBuffer();break;case"text":default:n=e.text();break;case"blob":case"document":case"json":throw new Error(t+" is not supported.")}return n}(i,e.responseType),[4,c];case 6:return u=l.sent(),[2,new Il(i.status,i.statusText,u)]}}))},new((r=void 0)||(r=Promise))((function(e,i){function a(e){try{u(o.next(e))}catch(e){i(e)}}function c(e){try{u(o.throw(e))}catch(e){i(e)}}function u(t){t.done?e(t.value):new r((function(e){e(t.value)})).then(a,c)}u((o=o.apply(t,n||[])).next())}));var t,n,r,o},t.prototype.getCookieString=function(e){var t="";return zl.isNode&&this.jar&&this.jar.getCookies(e,(function(e,n){return t=n.join("; ")})),t},t}(Ul),nf=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),rf=function(e){function t(t){var n=e.call(this)||this;return n.logger=t,n}return nf(t,e),t.prototype.send=function(e){var t=this;return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new Dl):e.method?e.url?new Promise((function(n,r){var o=new XMLHttpRequest;o.open(e.method,e.url,!0),o.withCredentials=void 0===e.withCredentials||e.withCredentials,o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.setRequestHeader("Content-Type","text/plain;charset=UTF-8");var i=e.headers;i&&Object.keys(i).forEach((function(e){o.setRequestHeader(e,i[e])})),e.responseType&&(o.responseType=e.responseType),e.abortSignal&&(e.abortSignal.onabort=function(){o.abort(),r(new Dl)}),e.timeout&&(o.timeout=e.timeout),o.onload=function(){e.abortSignal&&(e.abortSignal.onabort=null),o.status>=200&&o.status<300?n(new Il(o.status,o.statusText,o.response||o.responseText)):r(new Vl(o.statusText,o.status))},o.onerror=function(){t.logger.log(Al.Warning,"Error from HTTP request. "+o.status+": "+o.statusText+"."),r(new Vl(o.statusText,o.status))},o.ontimeout=function(){t.logger.log(Al.Warning,"Timeout from HTTP request."),r(new Nl)},o.send(e.content||"")})):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},t}(Ul),of=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),af=function(e){function t(t){var n=e.call(this)||this;if("undefined"!=typeof fetch||zl.isNode)n.httpClient=new tf(t);else{if("undefined"==typeof XMLHttpRequest)throw new Error("No usable HttpClient found.");n.httpClient=new rf(t)}return n}return of(t,e),t.prototype.send=function(e){return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new Dl):e.method?e.url?this.httpClient.send(e):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},t.prototype.getCookieString=function(e){return this.httpClient.getCookieString(e)},t}(Ul),cf=function(){function e(){}return e.write=function(t){return""+t+e.RecordSeparator},e.parse=function(t){if(t[t.length-1]!==e.RecordSeparator)throw new Error("Message is incomplete.");var n=t.split(e.RecordSeparator);return n.pop(),n},e.RecordSeparatorCode=30,e.RecordSeparator=String.fromCharCode(e.RecordSeparatorCode),e}(),uf=function(){function e(){}return e.prototype.writeHandshakeRequest=function(e){return cf.write(JSON.stringify(e))},e.prototype.parseHandshakeResponse=function(e){var t,n;if(ql(e)||"undefined"!=typeof Buffer&&e instanceof Buffer){var r=new Uint8Array(e);if(-1===(i=r.indexOf(cf.RecordSeparatorCode)))throw new Error("Message is incomplete.");var o=i+1;t=String.fromCharCode.apply(null,r.slice(0,o)),n=r.byteLength>o?r.slice(o).buffer:null}else{var i,a=e;if(-1===(i=a.indexOf(cf.RecordSeparator)))throw new Error("Message is incomplete.");o=i+1,t=a.substring(0,o),n=a.length>o?a.substring(o):null}var c=cf.parse(t),u=JSON.parse(c[0]);if(u.type)throw new Error("Expected a handshake response from the server.");return[n,u]},e}();!function(e){e[e.Invocation=1]="Invocation",e[e.StreamItem=2]="StreamItem",e[e.Completion=3]="Completion",e[e.StreamInvocation=4]="StreamInvocation",e[e.CancelInvocation=5]="CancelInvocation",e[e.Ping=6]="Ping",e[e.Close=7]="Close"}(Xl||(Xl={}));var sf,lf=function(){function e(){this.observers=[]}return e.prototype.next=function(e){for(var t=0,n=this.observers;t<n.length;t++)n[t].next(e)},e.prototype.error=function(e){for(var t=0,n=this.observers;t<n.length;t++){var r=n[t];r.error&&r.error(e)}},e.prototype.complete=function(){for(var e=0,t=this.observers;e<t.length;e++){var n=t[e];n.complete&&n.complete()}},e.prototype.subscribe=function(e){return this.observers.push(e),new Wl(this,e)},e}(),ff=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,c)}u((r=r.apply(e,t||[])).next())}))},pf=function(e,t){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=(o=a.trys).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=t.call(e,a)}catch(e){i=[6,e],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])}}};!function(e){e.Disconnected="Disconnected",e.Connecting="Connecting",e.Connected="Connected",e.Disconnecting="Disconnecting",e.Reconnecting="Reconnecting"}(sf||(sf={}));var yf,df,hf=function(){function e(e,t,n,r){var o=this;Hl.isRequired(e,"connection"),Hl.isRequired(t,"logger"),Hl.isRequired(n,"protocol"),this.serverTimeoutInMilliseconds=3e4,this.keepAliveIntervalInMilliseconds=15e3,this.logger=t,this.protocol=n,this.connection=e,this.reconnectPolicy=r,this.handshakeProtocol=new uf,this.connection.onreceive=function(e){return o.processIncomingData(e)},this.connection.onclose=function(e){return o.connectionClosed(e)},this.callbacks={},this.methods={},this.closedCallbacks=[],this.reconnectingCallbacks=[],this.reconnectedCallbacks=[],this.invocationId=0,this.receivedHandshakeResponse=!1,this.connectionState=sf.Disconnected,this.connectionStarted=!1,this.cachedPingMessage=this.protocol.writeMessage({type:Xl.Ping})}return e.create=function(t,n,r,o){return new e(t,n,r,o)},Object.defineProperty(e.prototype,"state",{get:function(){return this.connectionState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"connectionId",{get:function(){return this.connection&&this.connection.connectionId||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseUrl",{get:function(){return this.connection.baseUrl||""},set:function(e){if(this.connectionState!==sf.Disconnected&&this.connectionState!==sf.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!e)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=e},enumerable:!0,configurable:!0}),e.prototype.start=function(){return this.startPromise=this.startWithStateTransitions(),this.startPromise},e.prototype.startWithStateTransitions=function(){return ff(this,void 0,void 0,(function(){var e;return pf(this,(function(t){switch(t.label){case 0:if(this.connectionState!==sf.Disconnected)return[2,Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."))];this.connectionState=sf.Connecting,this.logger.log(Al.Debug,"Starting HubConnection."),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.startInternal()];case 2:return t.sent(),this.connectionState=sf.Connected,this.connectionStarted=!0,this.logger.log(Al.Debug,"HubConnection connected successfully."),[3,4];case 3:return e=t.sent(),this.connectionState=sf.Disconnected,this.logger.log(Al.Debug,"HubConnection failed to start successfully because of error '"+e+"'."),[2,Promise.reject(e)];case 4:return[2]}}))}))},e.prototype.startInternal=function(){return ff(this,void 0,void 0,(function(){var e,t,n,r=this;return pf(this,(function(o){switch(o.label){case 0:return this.stopDuringStartError=void 0,this.receivedHandshakeResponse=!1,e=new Promise((function(e,t){r.handshakeResolver=e,r.handshakeRejecter=t})),[4,this.connection.start(this.protocol.transferFormat)];case 1:o.sent(),o.label=2;case 2:return o.trys.push([2,5,,7]),t={protocol:this.protocol.name,version:this.protocol.version},this.logger.log(Al.Debug,"Sending handshake request."),[4,this.sendMessage(this.handshakeProtocol.writeHandshakeRequest(t))];case 3:return o.sent(),this.logger.log(Al.Information,"Using HubProtocol '"+this.protocol.name+"'."),this.cleanupTimeout(),this.resetTimeoutPeriod(),this.resetKeepAliveInterval(),[4,e];case 4:if(o.sent(),this.stopDuringStartError)throw this.stopDuringStartError;return[3,7];case 5:return n=o.sent(),this.logger.log(Al.Debug,"Hub handshake failed with error '"+n+"' during start(). Stopping HubConnection."),this.cleanupTimeout(),this.cleanupPingTimer(),[4,this.connection.stop(n)];case 6:throw o.sent(),n;case 7:return[2]}}))}))},e.prototype.stop=function(){return ff(this,void 0,void 0,(function(){var e;return pf(this,(function(t){switch(t.label){case 0:return e=this.startPromise,this.stopPromise=this.stopInternal(),[4,this.stopPromise];case 1:t.sent(),t.label=2;case 2:return t.trys.push([2,4,,5]),[4,e];case 3:case 4:return t.sent(),[3,5];case 5:return[2]}}))}))},e.prototype.stopInternal=function(e){return this.connectionState===sf.Disconnected?(this.logger.log(Al.Debug,"Call to HubConnection.stop("+e+") ignored because it is already in the disconnected state."),Promise.resolve()):this.connectionState===sf.Disconnecting?(this.logger.log(Al.Debug,"Call to HttpConnection.stop("+e+") ignored because the connection is already in the disconnecting state."),this.stopPromise):(this.connectionState=sf.Disconnecting,this.logger.log(Al.Debug,"Stopping HubConnection."),this.reconnectDelayHandle?(this.logger.log(Al.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this.reconnectDelayHandle),this.reconnectDelayHandle=void 0,this.completeClose(),Promise.resolve()):(this.cleanupTimeout(),this.cleanupPingTimer(),this.stopDuringStartError=e||new Error("The connection was stopped before the hub handshake could complete."),this.connection.stop(e)))},e.prototype.stream=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o,i=this.replaceStreamingParams(n),a=i[0],c=i[1],u=this.createStreamInvocation(e,n,c),s=new lf;return s.cancelCallback=function(){var e=t.createCancelInvocation(u.invocationId);return delete t.callbacks[u.invocationId],o.then((function(){return t.sendWithProtocol(e)}))},this.callbacks[u.invocationId]=function(e,t){t?s.error(t):e&&(e.type===Xl.Completion?e.error?s.error(new Error(e.error)):s.complete():s.next(e.item))},o=this.sendWithProtocol(u).catch((function(e){s.error(e),delete t.callbacks[u.invocationId]})),this.launchStreams(a,o),s},e.prototype.sendMessage=function(e){return this.resetKeepAliveInterval(),this.connection.send(e)},e.prototype.sendWithProtocol=function(e){return this.sendMessage(this.protocol.writeMessage(e))},e.prototype.send=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.replaceStreamingParams(t),o=r[0],i=r[1],a=this.sendWithProtocol(this.createInvocation(e,t,!0,i));return this.launchStreams(o,a),a},e.prototype.invoke=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this.replaceStreamingParams(n),i=o[0],a=o[1],c=this.createInvocation(e,n,!1,a),u=new Promise((function(e,n){t.callbacks[c.invocationId]=function(t,r){r?n(r):t&&(t.type===Xl.Completion?t.error?n(new Error(t.error)):e(t.result):n(new Error("Unexpected message type: "+t.type)))};var r=t.sendWithProtocol(c).catch((function(e){n(e),delete t.callbacks[c.invocationId]}));t.launchStreams(i,r)}));return u},e.prototype.on=function(e,t){e&&t&&(e=e.toLowerCase(),this.methods[e]||(this.methods[e]=[]),-1===this.methods[e].indexOf(t)&&this.methods[e].push(t))},e.prototype.off=function(e,t){if(e){e=e.toLowerCase();var n=this.methods[e];if(n)if(t){var r=n.indexOf(t);-1!==r&&(n.splice(r,1),0===n.length&&delete this.methods[e])}else delete this.methods[e]}},e.prototype.onclose=function(e){e&&this.closedCallbacks.push(e)},e.prototype.onreconnecting=function(e){e&&this.reconnectingCallbacks.push(e)},e.prototype.onreconnected=function(e){e&&this.reconnectedCallbacks.push(e)},e.prototype.processIncomingData=function(e){if(this.cleanupTimeout(),this.receivedHandshakeResponse||(e=this.processHandshakeResponse(e),this.receivedHandshakeResponse=!0),e)for(var t=0,n=this.protocol.parseMessages(e,this.logger);t<n.length;t++){var r=n[t];switch(r.type){case Xl.Invocation:this.invokeClientMethod(r);break;case Xl.StreamItem:case Xl.Completion:var o=this.callbacks[r.invocationId];o&&(r.type===Xl.Completion&&delete this.callbacks[r.invocationId],o(r));break;case Xl.Ping:break;case Xl.Close:this.logger.log(Al.Information,"Close message received from server.");var i=r.error?new Error("Server returned an error on close: "+r.error):void 0;!0===r.allowReconnect?this.connection.stop(i):this.stopPromise=this.stopInternal(i);break;default:this.logger.log(Al.Warning,"Invalid message type: "+r.type+".")}}this.resetTimeoutPeriod()},e.prototype.processHandshakeResponse=function(e){var t,n,r;try{r=(t=this.handshakeProtocol.parseHandshakeResponse(e))[0],n=t[1]}catch(e){var o="Error parsing handshake response: "+e;this.logger.log(Al.Error,o);var i=new Error(o);throw this.handshakeRejecter(i),i}if(n.error)throw o="Server returned handshake error: "+n.error,this.logger.log(Al.Error,o),i=new Error(o),this.handshakeRejecter(i),i;return this.logger.log(Al.Debug,"Server handshake complete."),this.handshakeResolver(),r},e.prototype.resetKeepAliveInterval=function(){var e=this;this.connection.features.inherentKeepAlive||(this.cleanupPingTimer(),this.pingServerHandle=setTimeout((function(){return ff(e,void 0,void 0,(function(){return pf(this,(function(e){switch(e.label){case 0:if(this.connectionState!==sf.Connected)return[3,4];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.sendMessage(this.cachedPingMessage)];case 2:return e.sent(),[3,4];case 3:return e.sent(),this.cleanupPingTimer(),[3,4];case 4:return[2]}}))}))}),this.keepAliveIntervalInMilliseconds))},e.prototype.resetTimeoutPeriod=function(){var e=this;this.connection.features&&this.connection.features.inherentKeepAlive||(this.timeoutHandle=setTimeout((function(){return e.serverTimeout()}),this.serverTimeoutInMilliseconds))},e.prototype.serverTimeout=function(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))},e.prototype.invokeClientMethod=function(e){var t=this,n=this.methods[e.target.toLowerCase()];if(n){try{n.forEach((function(n){return n.apply(t,e.arguments)}))}catch(t){this.logger.log(Al.Error,"A callback for the method "+e.target.toLowerCase()+" threw error '"+t+"'.")}if(e.invocationId){var r="Server requested a response, which is not supported in this version of the client.";this.logger.log(Al.Error,r),this.stopPromise=this.stopInternal(new Error(r))}}else this.logger.log(Al.Warning,"No client method with the name '"+e.target+"' found.")},e.prototype.connectionClosed=function(e){this.logger.log(Al.Debug,"HubConnection.connectionClosed("+e+") called while in state "+this.connectionState+"."),this.stopDuringStartError=this.stopDuringStartError||e||new Error("The underlying connection was closed before the hub handshake could complete."),this.handshakeResolver&&this.handshakeResolver(),this.cancelCallbacksWithError(e||new Error("Invocation canceled due to the underlying connection being closed.")),this.cleanupTimeout(),this.cleanupPingTimer(),this.connectionState===sf.Disconnecting?this.completeClose(e):this.connectionState===sf.Connected&&this.reconnectPolicy?this.reconnect(e):this.connectionState===sf.Connected&&this.completeClose(e)},e.prototype.completeClose=function(e){var t=this;if(this.connectionStarted){this.connectionState=sf.Disconnected,this.connectionStarted=!1;try{this.closedCallbacks.forEach((function(n){return n.apply(t,[e])}))}catch(t){this.logger.log(Al.Error,"An onclose callback called with error '"+e+"' threw error '"+t+"'.")}}},e.prototype.reconnect=function(e){return ff(this,void 0,void 0,(function(){var t,n,r,o,i,a=this;return pf(this,(function(c){switch(c.label){case 0:if(t=Date.now(),n=0,r=void 0!==e?e:new Error("Attempting to reconnect due to a unknown error."),null===(o=this.getNextRetryDelay(n++,0,r)))return this.logger.log(Al.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),this.completeClose(e),[2];if(this.connectionState=sf.Reconnecting,e?this.logger.log(Al.Information,"Connection reconnecting because of error '"+e+"'."):this.logger.log(Al.Information,"Connection reconnecting."),this.onreconnecting){try{this.reconnectingCallbacks.forEach((function(t){return t.apply(a,[e])}))}catch(t){this.logger.log(Al.Error,"An onreconnecting callback called with error '"+e+"' threw error '"+t+"'.")}if(this.connectionState!==sf.Reconnecting)return this.logger.log(Al.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting."),[2]}c.label=1;case 1:return null===o?[3,7]:(this.logger.log(Al.Information,"Reconnect attempt number "+n+" will start in "+o+" ms."),[4,new Promise((function(e){a.reconnectDelayHandle=setTimeout(e,o)}))]);case 2:if(c.sent(),this.reconnectDelayHandle=void 0,this.connectionState!==sf.Reconnecting)return this.logger.log(Al.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting."),[2];c.label=3;case 3:return c.trys.push([3,5,,6]),[4,this.startInternal()];case 4:if(c.sent(),this.connectionState=sf.Connected,this.logger.log(Al.Information,"HubConnection reconnected successfully."),this.onreconnected)try{this.reconnectedCallbacks.forEach((function(e){return e.apply(a,[a.connection.connectionId])}))}catch(e){this.logger.log(Al.Error,"An onreconnected callback called with connectionId '"+this.connection.connectionId+"; threw error '"+e+"'.")}return[2];case 5:return i=c.sent(),this.logger.log(Al.Information,"Reconnect attempt failed because of error '"+i+"'."),this.connectionState!==sf.Reconnecting?(this.logger.log(Al.Debug,"Connection left the reconnecting state during reconnect attempt. Done reconnecting."),[2]):(r=i instanceof Error?i:new Error(i.toString()),o=this.getNextRetryDelay(n++,Date.now()-t,r),[3,6]);case 6:return[3,1];case 7:return this.logger.log(Al.Information,"Reconnect retries have been exhausted after "+(Date.now()-t)+" ms and "+n+" failed attempts. Connection disconnecting."),this.completeClose(),[2]}}))}))},e.prototype.getNextRetryDelay=function(e,t,n){try{return this.reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:t,previousRetryCount:e,retryReason:n})}catch(n){return this.logger.log(Al.Error,"IRetryPolicy.nextRetryDelayInMilliseconds("+e+", "+t+") threw error '"+n+"'."),null}},e.prototype.cancelCallbacksWithError=function(e){var t=this.callbacks;this.callbacks={},Object.keys(t).forEach((function(n){(0,t[n])(null,e)}))},e.prototype.cleanupPingTimer=function(){this.pingServerHandle&&clearTimeout(this.pingServerHandle)},e.prototype.cleanupTimeout=function(){this.timeoutHandle&&clearTimeout(this.timeoutHandle)},e.prototype.createInvocation=function(e,t,n,r){if(n)return 0!==r.length?{arguments:t,streamIds:r,target:e,type:Xl.Invocation}:{arguments:t,target:e,type:Xl.Invocation};var o=this.invocationId;return this.invocationId++,0!==r.length?{arguments:t,invocationId:o.toString(),streamIds:r,target:e,type:Xl.Invocation}:{arguments:t,invocationId:o.toString(),target:e,type:Xl.Invocation}},e.prototype.launchStreams=function(e,t){var n=this;if(0!==e.length){t||(t=Promise.resolve());var r=function(r){e[r].subscribe({complete:function(){t=t.then((function(){return n.sendWithProtocol(n.createCompletionMessage(r))}))},error:function(e){var o;o=e instanceof Error?e.message:e&&e.toString?e.toString():"Unknown error",t=t.then((function(){return n.sendWithProtocol(n.createCompletionMessage(r,o))}))},next:function(e){t=t.then((function(){return n.sendWithProtocol(n.createStreamItemMessage(r,e))}))}})};for(var o in e)r(o)}},e.prototype.replaceStreamingParams=function(e){for(var t=[],n=[],r=0;r<e.length;r++){var o=e[r];if(this.isObservable(o)){var i=this.invocationId;this.invocationId++,t[i]=o,n.push(i.toString()),e.splice(r,1)}}return[t,n]},e.prototype.isObservable=function(e){return e&&e.subscribe&&"function"==typeof e.subscribe},e.prototype.createStreamInvocation=function(e,t,n){var r=this.invocationId;return this.invocationId++,0!==n.length?{arguments:t,invocationId:r.toString(),streamIds:n,target:e,type:Xl.StreamInvocation}:{arguments:t,invocationId:r.toString(),target:e,type:Xl.StreamInvocation}},e.prototype.createCancelInvocation=function(e){return{invocationId:e,type:Xl.CancelInvocation}},e.prototype.createStreamItemMessage=function(e,t){return{invocationId:e,item:t,type:Xl.StreamItem}},e.prototype.createCompletionMessage=function(e,t,n){return t?{error:t,invocationId:e,type:Xl.Completion}:{invocationId:e,result:n,type:Xl.Completion}},e}(),bf=[0,2e3,1e4,3e4,null],vf=function(){function e(e){this.retryDelays=void 0!==e?e.concat([null]):bf}return e.prototype.nextRetryDelayInMilliseconds=function(e){return this.retryDelays[e.previousRetryCount]},e}();!function(e){e[e.None=0]="None",e[e.WebSockets=1]="WebSockets",e[e.ServerSentEvents=2]="ServerSentEvents",e[e.LongPolling=4]="LongPolling"}(yf||(yf={})),function(e){e[e.Text=1]="Text",e[e.Binary=2]="Binary"}(df||(df={}));var mf=function(){function e(){this.isAborted=!1,this.onabort=null}return e.prototype.abort=function(){this.isAborted||(this.isAborted=!0,this.onabort&&this.onabort())},Object.defineProperty(e.prototype,"signal",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"aborted",{get:function(){return this.isAborted},enumerable:!0,configurable:!0}),e}(),gf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},wf=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,c)}u((r=r.apply(e,t||[])).next())}))},Of=function(e,t){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=(o=a.trys).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=t.call(e,a)}catch(e){i=[6,e],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])}}},Sf=function(){function e(e,t,n,r,o,i){this.httpClient=e,this.accessTokenFactory=t,this.logger=n,this.pollAbort=new mf,this.logMessageContent=r,this.withCredentials=o,this.headers=i,this.running=!1,this.onreceive=null,this.onclose=null}return Object.defineProperty(e.prototype,"pollAborted",{get:function(){return this.pollAbort.aborted},enumerable:!0,configurable:!0}),e.prototype.connect=function(e,t){return wf(this,void 0,void 0,(function(){var n,r,o,i,a,c,u,s,l;return Of(this,(function(f){switch(f.label){case 0:if(Hl.isRequired(e,"url"),Hl.isRequired(t,"transferFormat"),Hl.isIn(t,df,"transferFormat"),this.url=e,this.logger.log(Al.Trace,"(LongPolling transport) Connecting."),t===df.Binary&&"undefined"!=typeof XMLHttpRequest&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");return r=Zl(),o=r[0],i=r[1],a=gf(((n={})[o]=i,n),this.headers),c={abortSignal:this.pollAbort.signal,headers:a,timeout:1e5,withCredentials:this.withCredentials},t===df.Binary&&(c.responseType="arraybuffer"),[4,this.getAccessToken()];case 1:return u=f.sent(),this.updateHeaderToken(c,u),s=e+"&_="+Date.now(),this.logger.log(Al.Trace,"(LongPolling transport) polling: "+s+"."),[4,this.httpClient.get(s,c)];case 2:return 200!==(l=f.sent()).statusCode?(this.logger.log(Al.Error,"(LongPolling transport) Unexpected response code: "+l.statusCode+"."),this.closeError=new Vl(l.statusText||"",l.statusCode),this.running=!1):this.running=!0,this.receiving=this.poll(this.url,c),[2]}}))}))},e.prototype.getAccessToken=function(){return wf(this,void 0,void 0,(function(){return Of(this,(function(e){switch(e.label){case 0:return this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:return[2,e.sent()];case 2:return[2,null]}}))}))},e.prototype.updateHeaderToken=function(e,t){e.headers||(e.headers={}),t?e.headers.Authorization="Bearer "+t:e.headers.Authorization&&delete e.headers.Authorization},e.prototype.poll=function(e,t){return wf(this,void 0,void 0,(function(){var n,r,o,i;return Of(this,(function(a){switch(a.label){case 0:a.trys.push([0,,8,9]),a.label=1;case 1:return this.running?[4,this.getAccessToken()]:[3,7];case 2:n=a.sent(),this.updateHeaderToken(t,n),a.label=3;case 3:return a.trys.push([3,5,,6]),r=e+"&_="+Date.now(),this.logger.log(Al.Trace,"(LongPolling transport) polling: "+r+"."),[4,this.httpClient.get(r,t)];case 4:return 204===(o=a.sent()).statusCode?(this.logger.log(Al.Information,"(LongPolling transport) Poll terminated by server."),this.running=!1):200!==o.statusCode?(this.logger.log(Al.Error,"(LongPolling transport) Unexpected response code: "+o.statusCode+"."),this.closeError=new Vl(o.statusText||"",o.statusCode),this.running=!1):o.content?(this.logger.log(Al.Trace,"(LongPolling transport) data received. "+Gl(o.content,this.logMessageContent)+"."),this.onreceive&&this.onreceive(o.content)):this.logger.log(Al.Trace,"(LongPolling transport) Poll timed out, reissuing."),[3,6];case 5:return i=a.sent(),this.running?i instanceof Nl?this.logger.log(Al.Trace,"(LongPolling transport) Poll timed out, reissuing."):(this.closeError=i,this.running=!1):this.logger.log(Al.Trace,"(LongPolling transport) Poll errored after shutdown: "+i.message),[3,6];case 6:return[3,1];case 7:return[3,9];case 8:return this.logger.log(Al.Trace,"(LongPolling transport) Polling complete."),this.pollAborted||this.raiseOnClose(),[7];case 9:return[2]}}))}))},e.prototype.send=function(e){return wf(this,void 0,void 0,(function(){return Of(this,(function(t){return this.running?[2,Ql(this.logger,"LongPolling",this.httpClient,this.url,this.accessTokenFactory,e,this.logMessageContent,this.withCredentials,this.headers)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]}))}))},e.prototype.stop=function(){return wf(this,void 0,void 0,(function(){var e,t,n,r,o,i;return Of(this,(function(a){switch(a.label){case 0:this.logger.log(Al.Trace,"(LongPolling transport) Stopping polling."),this.running=!1,this.pollAbort.abort(),a.label=1;case 1:return a.trys.push([1,,5,6]),[4,this.receiving];case 2:return a.sent(),this.logger.log(Al.Trace,"(LongPolling transport) sending DELETE request to "+this.url+"."),e={},t=Zl(),n=t[0],r=t[1],e[n]=r,o={headers:gf({},e,this.headers),withCredentials:this.withCredentials},[4,this.getAccessToken()];case 3:return i=a.sent(),this.updateHeaderToken(o,i),[4,this.httpClient.delete(this.url,o)];case 4:return a.sent(),this.logger.log(Al.Trace,"(LongPolling transport) DELETE request sent."),[3,6];case 5:return this.logger.log(Al.Trace,"(LongPolling transport) Stop finished."),this.raiseOnClose(),[7];case 6:return[2]}}))}))},e.prototype.raiseOnClose=function(){if(this.onclose){var e="(LongPolling transport) Firing onclose event.";this.closeError&&(e+=" Error: "+this.closeError),this.logger.log(Al.Trace,e),this.onclose(this.closeError)}},e}(),Cf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Pf=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,c)}u((r=r.apply(e,t||[])).next())}))},Ef=function(e,t){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=(o=a.trys).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=t.call(e,a)}catch(e){i=[6,e],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])}}},kf=function(){function e(e,t,n,r,o,i,a){this.httpClient=e,this.accessTokenFactory=t,this.logger=n,this.logMessageContent=r,this.withCredentials=i,this.eventSourceConstructor=o,this.headers=a,this.onreceive=null,this.onclose=null}return e.prototype.connect=function(e,t){return Pf(this,void 0,void 0,(function(){var n,r=this;return Ef(this,(function(o){switch(o.label){case 0:return Hl.isRequired(e,"url"),Hl.isRequired(t,"transferFormat"),Hl.isIn(t,df,"transferFormat"),this.logger.log(Al.Trace,"(SSE transport) Connecting."),this.url=e,this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(n=o.sent())&&(e+=(e.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(n)),o.label=2;case 2:return[2,new Promise((function(n,o){var i=!1;if(t===df.Text){var a;if(zl.isBrowser||zl.isWebWorker)a=new r.eventSourceConstructor(e,{withCredentials:r.withCredentials});else{var c=r.httpClient.getCookieString(e),u={};u.Cookie=c;var s=Zl(),l=s[0],f=s[1];u[l]=f,a=new r.eventSourceConstructor(e,{withCredentials:r.withCredentials,headers:Cf({},u,r.headers)})}try{a.onmessage=function(e){if(r.onreceive)try{r.logger.log(Al.Trace,"(SSE transport) data received. "+Gl(e.data,r.logMessageContent)+"."),r.onreceive(e.data)}catch(e){return void r.close(e)}},a.onerror=function(e){var t=new Error(e.data||"Error occurred");i?r.close(t):o(t)},a.onopen=function(){r.logger.log(Al.Information,"SSE connected to "+r.url),r.eventSource=a,i=!0,n()}}catch(e){return void o(e)}}else o(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))}))]}}))}))},e.prototype.send=function(e){return Pf(this,void 0,void 0,(function(){return Ef(this,(function(t){return this.eventSource?[2,Ql(this.logger,"SSE",this.httpClient,this.url,this.accessTokenFactory,e,this.logMessageContent,this.withCredentials,this.headers)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]}))}))},e.prototype.stop=function(){return this.close(),Promise.resolve()},e.prototype.close=function(e){this.eventSource&&(this.eventSource.close(),this.eventSource=void 0,this.onclose&&this.onclose(e))},e}(),_f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Rf=function(){function e(e,t,n,r,o,i){this.logger=n,this.accessTokenFactory=t,this.logMessageContent=r,this.webSocketConstructor=o,this.httpClient=e,this.onreceive=null,this.onclose=null,this.headers=i}return e.prototype.connect=function(e,t){return n=this,r=void 0,i=function(){var n,r=this;return function(e,t){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=(o=a.trys).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=t.call(e,a)}catch(e){i=[6,e],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])}}}(this,(function(o){switch(o.label){case 0:return Hl.isRequired(e,"url"),Hl.isRequired(t,"transferFormat"),Hl.isIn(t,df,"transferFormat"),this.logger.log(Al.Trace,"(WebSockets transport) Connecting."),this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(n=o.sent())&&(e+=(e.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(n)),o.label=2;case 2:return[2,new Promise((function(n,o){var i;e=e.replace(/^http/,"ws");var a=r.httpClient.getCookieString(e),c=!1;if(zl.isNode){var u={},s=Zl(),l=s[0],f=s[1];u[l]=f,a&&(u.Cookie=""+a),i=new r.webSocketConstructor(e,void 0,{headers:_f({},u,r.headers)})}i||(i=new r.webSocketConstructor(e)),t===df.Binary&&(i.binaryType="arraybuffer"),i.onopen=function(t){r.logger.log(Al.Information,"WebSocket connected to "+e+"."),r.webSocket=i,c=!0,n()},i.onerror=function(e){var t;t="undefined"!=typeof ErrorEvent&&e instanceof ErrorEvent?e.error:new Error("There was an error with the transport."),o(t)},i.onmessage=function(e){if(r.logger.log(Al.Trace,"(WebSockets transport) data received. "+Gl(e.data,r.logMessageContent)+"."),r.onreceive)try{r.onreceive(e.data)}catch(e){return void r.close(e)}},i.onclose=function(e){var t;c?r.close(e):(t="undefined"!=typeof ErrorEvent&&e instanceof ErrorEvent?e.error:new Error("There was an error with the transport."),o(t))}}))]}}))},new((o=void 0)||(o=Promise))((function(e,t){function a(e){try{u(i.next(e))}catch(e){t(e)}}function c(e){try{u(i.throw(e))}catch(e){t(e)}}function u(t){t.done?e(t.value):new o((function(e){e(t.value)})).then(a,c)}u((i=i.apply(n,r||[])).next())}));var n,r,o,i},e.prototype.send=function(e){return this.webSocket&&this.webSocket.readyState===this.webSocketConstructor.OPEN?(this.logger.log(Al.Trace,"(WebSockets transport) sending data. "+Gl(e,this.logMessageContent)+"."),this.webSocket.send(e),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")},e.prototype.stop=function(){return this.webSocket&&this.close(void 0),Promise.resolve()},e.prototype.close=function(e){this.webSocket&&(this.webSocket.onclose=function(){},this.webSocket.onmessage=function(){},this.webSocket.onerror=function(){},this.webSocket.close(),this.webSocket=void 0),this.logger.log(Al.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!this.isCloseEvent(e)||!1!==e.wasClean&&1e3===e.code?e instanceof Error?this.onclose(e):this.onclose():this.onclose(new Error("WebSocket closed with status code: "+e.code+" ("+e.reason+").")))},e.prototype.isCloseEvent=function(e){return e&&"boolean"==typeof e.wasClean&&"number"==typeof e.code},e}(),jf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Tf=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,c)}u((r=r.apply(e,t||[])).next())}))},Af=function(e,t){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=(o=a.trys).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=t.call(e,a)}catch(e){i=[6,e],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])}}},Lf=function(){function e(e,t){var n;if(void 0===t&&(t={}),this.features={},this.negotiateVersion=1,Hl.isRequired(e,"url"),this.logger=void 0===(n=t.logger)?new Yl(Al.Information):null===n?Ml.instance:n.log?n:new Yl(n),this.baseUrl=this.resolveUrl(e),(t=t||{}).logMessageContent=void 0!==t.logMessageContent&&t.logMessageContent,"boolean"!=typeof t.withCredentials&&void 0!==t.withCredentials)throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");t.withCredentials=void 0===t.withCredentials||t.withCredentials;var r=null,o=null;if(zl.isNode){var i=require;r=i("ws"),o=i("eventsource")}zl.isNode||"undefined"==typeof WebSocket||t.WebSocket?zl.isNode&&!t.WebSocket&&r&&(t.WebSocket=r):t.WebSocket=WebSocket,zl.isNode||"undefined"==typeof EventSource||t.EventSource?zl.isNode&&!t.EventSource&&void 0!==o&&(t.EventSource=o):t.EventSource=EventSource,this.httpClient=t.httpClient||new af(this.logger),this.connectionState="Disconnected",this.connectionStarted=!1,this.options=t,this.onreceive=null,this.onclose=null}return e.prototype.start=function(e){return Tf(this,void 0,void 0,(function(){var t;return Af(this,(function(n){switch(n.label){case 0:return e=e||df.Binary,Hl.isIn(e,df,"transferFormat"),this.logger.log(Al.Debug,"Starting connection with transfer format '"+df[e]+"'."),"Disconnected"!==this.connectionState?[2,Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."))]:(this.connectionState="Connecting",this.startInternalPromise=this.startInternal(e),[4,this.startInternalPromise]);case 1:return n.sent(),"Disconnecting"!==this.connectionState?[3,3]:(t="Failed to start the HttpConnection before stop() was called.",this.logger.log(Al.Error,t),[4,this.stopPromise]);case 2:return n.sent(),[2,Promise.reject(new Error(t))];case 3:if("Connected"!==this.connectionState)return t="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!",this.logger.log(Al.Error,t),[2,Promise.reject(new Error(t))];n.label=4;case 4:return this.connectionStarted=!0,[2]}}))}))},e.prototype.send=function(e){return"Connected"!==this.connectionState?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this.sendQueue||(this.sendQueue=new xf(this.transport)),this.sendQueue.send(e))},e.prototype.stop=function(e){return Tf(this,void 0,void 0,(function(){var t=this;return Af(this,(function(n){switch(n.label){case 0:return"Disconnected"===this.connectionState?(this.logger.log(Al.Debug,"Call to HttpConnection.stop("+e+") ignored because the connection is already in the disconnected state."),[2,Promise.resolve()]):"Disconnecting"===this.connectionState?(this.logger.log(Al.Debug,"Call to HttpConnection.stop("+e+") ignored because the connection is already in the disconnecting state."),[2,this.stopPromise]):(this.connectionState="Disconnecting",this.stopPromise=new Promise((function(e){t.stopPromiseResolver=e})),[4,this.stopInternal(e)]);case 1:return n.sent(),[4,this.stopPromise];case 2:return n.sent(),[2]}}))}))},e.prototype.stopInternal=function(e){return Tf(this,void 0,void 0,(function(){var t;return Af(this,(function(n){switch(n.label){case 0:this.stopError=e,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.startInternalPromise];case 2:case 3:return n.sent(),[3,4];case 4:if(!this.transport)return[3,9];n.label=5;case 5:return n.trys.push([5,7,,8]),[4,this.transport.stop()];case 6:return n.sent(),[3,8];case 7:return t=n.sent(),this.logger.log(Al.Error,"HttpConnection.transport.stop() threw error '"+t+"'."),this.stopConnection(),[3,8];case 8:return this.transport=void 0,[3,10];case 9:this.logger.log(Al.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed."),this.stopConnection(),n.label=10;case 10:return[2]}}))}))},e.prototype.startInternal=function(e){return Tf(this,void 0,void 0,(function(){var t,n,r,o,i,a;return Af(this,(function(c){switch(c.label){case 0:t=this.baseUrl,this.accessTokenFactory=this.options.accessTokenFactory,c.label=1;case 1:return c.trys.push([1,12,,13]),this.options.skipNegotiation?this.options.transport!==yf.WebSockets?[3,3]:(this.transport=this.constructTransport(yf.WebSockets),[4,this.startTransport(t,e)]):[3,5];case 2:return c.sent(),[3,4];case 3:throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");case 4:return[3,11];case 5:n=null,r=0,o=function(){var e;return Af(this,(function(o){switch(o.label){case 0:return[4,i.getNegotiationResponse(t)];case 1:if(n=o.sent(),"Disconnecting"===i.connectionState||"Disconnected"===i.connectionState)throw new Error("The connection was stopped during negotiation.");if(n.error)throw new Error(n.error);if(n.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");return n.url&&(t=n.url),n.accessToken&&(e=n.accessToken,i.accessTokenFactory=function(){return e}),r++,[2]}}))},i=this,c.label=6;case 6:return[5,o()];case 7:c.sent(),c.label=8;case 8:if(n.url&&r<100)return[3,6];c.label=9;case 9:if(100===r&&n.url)throw new Error("Negotiate redirection limit exceeded.");return[4,this.createTransport(t,this.options.transport,n,e)];case 10:c.sent(),c.label=11;case 11:return this.transport instanceof Sf&&(this.features.inherentKeepAlive=!0),"Connecting"===this.connectionState&&(this.logger.log(Al.Debug,"The HttpConnection connected successfully."),this.connectionState="Connected"),[3,13];case 12:return a=c.sent(),this.logger.log(Al.Error,"Failed to start the connection: "+a),this.connectionState="Disconnected",this.transport=void 0,[2,Promise.reject(a)];case 13:return[2]}}))}))},e.prototype.getNegotiationResponse=function(e){return Tf(this,void 0,void 0,(function(){var t,n,r,o,i,a,c,u,s;return Af(this,(function(l){switch(l.label){case 0:return t={},this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(n=l.sent())&&(t.Authorization="Bearer "+n),l.label=2;case 2:r=Zl(),o=r[0],i=r[1],t[o]=i,a=this.resolveNegotiateUrl(e),this.logger.log(Al.Debug,"Sending negotiation request: "+a+"."),l.label=3;case 3:return l.trys.push([3,5,,6]),[4,this.httpClient.post(a,{content:"",headers:jf({},t,this.options.headers),withCredentials:this.options.withCredentials})];case 4:return 200!==(c=l.sent()).statusCode?[2,Promise.reject(new Error("Unexpected status code returned from negotiate '"+c.statusCode+"'"))]:((!(u=JSON.parse(c.content)).negotiateVersion||u.negotiateVersion<1)&&(u.connectionToken=u.connectionId),[2,u]);case 5:return s=l.sent(),this.logger.log(Al.Error,"Failed to complete negotiation with the server: "+s),[2,Promise.reject(s)];case 6:return[2]}}))}))},e.prototype.createConnectUrl=function(e,t){return t?e+(-1===e.indexOf("?")?"?":"&")+"id="+t:e},e.prototype.createTransport=function(e,t,n,r){return Tf(this,void 0,void 0,(function(){var o,i,a,c,u,s,l,f,p,y,d;return Af(this,(function(h){switch(h.label){case 0:return o=this.createConnectUrl(e,n.connectionToken),this.isITransport(t)?(this.logger.log(Al.Debug,"Connection was provided an instance of ITransport, using that directly."),this.transport=t,[4,this.startTransport(o,r)]):[3,2];case 1:return h.sent(),this.connectionId=n.connectionId,[2];case 2:i=[],a=n.availableTransports||[],c=n,u=0,s=a,h.label=3;case 3:return u<s.length?(l=s[u],(f=this.resolveTransportOrError(l,t,r))instanceof Error?(i.push(l.transport+" failed: "+f),[3,12]):[3,4]):[3,13];case 4:if(!this.isITransport(f))return[3,12];if(this.transport=f,c)return[3,9];h.label=5;case 5:return h.trys.push([5,7,,8]),[4,this.getNegotiationResponse(e)];case 6:return c=h.sent(),[3,8];case 7:return p=h.sent(),[2,Promise.reject(p)];case 8:o=this.createConnectUrl(e,c.connectionToken),h.label=9;case 9:return h.trys.push([9,11,,12]),[4,this.startTransport(o,r)];case 10:return h.sent(),this.connectionId=c.connectionId,[2];case 11:return y=h.sent(),this.logger.log(Al.Error,"Failed to start the transport '"+l.transport+"': "+y),c=void 0,i.push(l.transport+" failed: "+y),"Connecting"!==this.connectionState?(d="Failed to select transport before stop() was called.",this.logger.log(Al.Debug,d),[2,Promise.reject(new Error(d))]):[3,12];case 12:return u++,[3,3];case 13:return i.length>0?[2,Promise.reject(new Error("Unable to connect to the server with any of the available transports. "+i.join(" ")))]:[2,Promise.reject(new Error("None of the transports supported by the client are supported by the server."))]}}))}))},e.prototype.constructTransport=function(e){switch(e){case yf.WebSockets:if(!this.options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new Rf(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.WebSocket,this.options.headers||{});case yf.ServerSentEvents:if(!this.options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new kf(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.EventSource,this.options.withCredentials,this.options.headers||{});case yf.LongPolling:return new Sf(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.withCredentials,this.options.headers||{});default:throw new Error("Unknown transport: "+e+".")}},e.prototype.startTransport=function(e,t){var n=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=function(e){return n.stopConnection(e)},this.transport.connect(e,t)},e.prototype.resolveTransportOrError=function(e,t,n){var r=yf[e.transport];if(null==r)return this.logger.log(Al.Debug,"Skipping transport '"+e.transport+"' because it is not supported by this client."),new Error("Skipping transport '"+e.transport+"' because it is not supported by this client.");if(!function(e,t){return!e||0!=(t&e)}(t,r))return this.logger.log(Al.Debug,"Skipping transport '"+yf[r]+"' because it was disabled by the client."),new Error("'"+yf[r]+"' is disabled by the client.");if(!(e.transferFormats.map((function(e){return df[e]})).indexOf(n)>=0))return this.logger.log(Al.Debug,"Skipping transport '"+yf[r]+"' because it does not support the requested transfer format '"+df[n]+"'."),new Error("'"+yf[r]+"' does not support "+df[n]+".");if(r===yf.WebSockets&&!this.options.WebSocket||r===yf.ServerSentEvents&&!this.options.EventSource)return this.logger.log(Al.Debug,"Skipping transport '"+yf[r]+"' because it is not supported in your environment.'"),new Error("'"+yf[r]+"' is not supported in your environment.");this.logger.log(Al.Debug,"Selecting transport '"+yf[r]+"'.");try{return this.constructTransport(r)}catch(e){return e}},e.prototype.isITransport=function(e){return e&&"object"==typeof e&&"connect"in e},e.prototype.stopConnection=function(e){var t=this;if(this.logger.log(Al.Debug,"HttpConnection.stopConnection("+e+") called while in state "+this.connectionState+"."),this.transport=void 0,e=this.stopError||e,this.stopError=void 0,"Disconnected"!==this.connectionState){if("Connecting"===this.connectionState)throw this.logger.log(Al.Warning,"Call to HttpConnection.stopConnection("+e+") was ignored because the connection is still in the connecting state."),new Error("HttpConnection.stopConnection("+e+") was called while the connection is still in the connecting state.");if("Disconnecting"===this.connectionState&&this.stopPromiseResolver(),e?this.logger.log(Al.Error,"Connection disconnected with error '"+e+"'."):this.logger.log(Al.Information,"Connection disconnected."),this.sendQueue&&(this.sendQueue.stop().catch((function(e){t.logger.log(Al.Error,"TransportSendQueue.stop() threw error '"+e+"'.")})),this.sendQueue=void 0),this.connectionId=void 0,this.connectionState="Disconnected",this.connectionStarted){this.connectionStarted=!1;try{this.onclose&&this.onclose(e)}catch(t){this.logger.log(Al.Error,"HttpConnection.onclose("+e+") threw error '"+t+"'.")}}}else this.logger.log(Al.Debug,"Call to HttpConnection.stopConnection("+e+") was ignored because the connection is already in the disconnected state.")},e.prototype.resolveUrl=function(e){if(0===e.lastIndexOf("https://",0)||0===e.lastIndexOf("http://",0))return e;if(!zl.isBrowser||!window.document)throw new Error("Cannot resolve '"+e+"'.");var t=window.document.createElement("a");return t.href=e,this.logger.log(Al.Information,"Normalizing '"+e+"' to '"+t.href+"'."),t.href},e.prototype.resolveNegotiateUrl=function(e){var t=e.indexOf("?"),n=e.substring(0,-1===t?e.length:t);return"/"!==n[n.length-1]&&(n+="/"),n+="negotiate",-1===(n+=-1===t?"":e.substring(t)).indexOf("negotiateVersion")&&(n+=-1===t?"?":"&",n+="negotiateVersion="+this.negotiateVersion),n},e}(),xf=function(){function e(e){this.transport=e,this.buffer=[],this.executing=!0,this.sendBufferedData=new Vf,this.transportResult=new Vf,this.sendLoopPromise=this.sendLoop()}return e.prototype.send=function(e){return this.bufferData(e),this.transportResult||(this.transportResult=new Vf),this.transportResult.promise},e.prototype.stop=function(){return this.executing=!1,this.sendBufferedData.resolve(),this.sendLoopPromise},e.prototype.bufferData=function(e){if(this.buffer.length&&typeof this.buffer[0]!=typeof e)throw new Error("Expected data to be of type "+typeof this.buffer+" but was of type "+typeof e);this.buffer.push(e),this.sendBufferedData.resolve()},e.prototype.sendLoop=function(){return Tf(this,void 0,void 0,(function(){var t,n,r;return Af(this,(function(o){switch(o.label){case 0:return[4,this.sendBufferedData.promise];case 1:if(o.sent(),!this.executing)return this.transportResult&&this.transportResult.reject("Connection stopped."),[3,6];this.sendBufferedData=new Vf,t=this.transportResult,this.transportResult=void 0,n="string"==typeof this.buffer[0]?this.buffer.join(""):e.concatBuffers(this.buffer),this.buffer.length=0,o.label=2;case 2:return o.trys.push([2,4,,5]),[4,this.transport.send(n)];case 3:return o.sent(),t.resolve(),[3,5];case 4:return r=o.sent(),t.reject(r),[3,5];case 5:return[3,0];case 6:return[2]}}))}))},e.concatBuffers=function(e){for(var t=e.map((function(e){return e.byteLength})).reduce((function(e,t){return e+t})),n=new Uint8Array(t),r=0,o=0,i=e;o<i.length;o++){var a=i[o];n.set(new Uint8Array(a),r),r+=a.byteLength}return n.buffer},e}(),Vf=function(){function e(){var e=this;this.promise=new Promise((function(t,n){var r;return r=[t,n],e.resolver=r[0],e.rejecter=r[1],r}))}return e.prototype.resolve=function(){this.resolver()},e.prototype.reject=function(e){this.rejecter(e)},e}(),Nf=function(){function e(){this.name="json",this.version=1,this.transferFormat=df.Text}return e.prototype.parseMessages=function(e,t){if("string"!=typeof e)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!e)return[];null===t&&(t=Ml.instance);for(var n=[],r=0,o=cf.parse(e);r<o.length;r++){var i=o[r],a=JSON.parse(i);if("number"!=typeof a.type)throw new Error("Invalid payload.");switch(a.type){case Xl.Invocation:this.isInvocationMessage(a);break;case Xl.StreamItem:this.isStreamItemMessage(a);break;case Xl.Completion:this.isCompletionMessage(a);break;case Xl.Ping:case Xl.Close:break;default:t.log(Al.Information,"Unknown message type '"+a.type+"' ignored.");continue}n.push(a)}return n},e.prototype.writeMessage=function(e){return cf.write(JSON.stringify(e))},e.prototype.isInvocationMessage=function(e){this.assertNotEmptyString(e.target,"Invalid payload for Invocation message."),void 0!==e.invocationId&&this.assertNotEmptyString(e.invocationId,"Invalid payload for Invocation message.")},e.prototype.isStreamItemMessage=function(e){if(this.assertNotEmptyString(e.invocationId,"Invalid payload for StreamItem message."),void 0===e.item)throw new Error("Invalid payload for StreamItem message.")},e.prototype.isCompletionMessage=function(e){if(e.result&&e.error)throw new Error("Invalid payload for Completion message.");!e.result&&e.error&&this.assertNotEmptyString(e.error,"Invalid payload for Completion message."),this.assertNotEmptyString(e.invocationId,"Invalid payload for Completion message.")},e.prototype.assertNotEmptyString=function(e,t){if("string"!=typeof e||""===e)throw new Error(t)},e}(),Df=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Bf={trace:Al.Trace,debug:Al.Debug,info:Al.Information,information:Al.Information,warn:Al.Warning,warning:Al.Warning,error:Al.Error,critical:Al.Critical,none:Al.None},If=function(){function e(){}return e.prototype.configureLogging=function(e){if(Hl.isRequired(e,"logging"),void 0!==e.log)this.logger=e;else if("string"==typeof e){var t=function(e){var t=Bf[e.toLowerCase()];if(void 0!==t)return t;throw new Error("Unknown log level: "+e)}(e);this.logger=new Yl(t)}else this.logger=new Yl(e);return this},e.prototype.withUrl=function(e,t){return Hl.isRequired(e,"url"),Hl.isNotEmpty(e,"url"),this.url=e,this.httpConnectionOptions=Df({},this.httpConnectionOptions,"object"==typeof t?t:{transport:t}),this},e.prototype.withHubProtocol=function(e){return Hl.isRequired(e,"protocol"),this.protocol=e,this},e.prototype.withAutomaticReconnect=function(e){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return e?Array.isArray(e)?this.reconnectPolicy=new vf(e):this.reconnectPolicy=e:this.reconnectPolicy=new vf,this},e.prototype.build=function(){var e=this.httpConnectionOptions||{};if(void 0===e.logger&&(e.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");var t=new Lf(this.url,e);return hf.create(t,this.logger||Ml.instance,this.protocol||new Nf,this.reconnectPolicy)},e}();function Uf(e){return Uf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uf(e)}function Mf(e){return function(e){if(Array.isArray(e))return Ff(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ff(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ff(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ff(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Hf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zf(e,t){return zf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zf(e,t)}function Gf(e,t){if(t&&("object"===Uf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qf(e)}var Qf=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zf(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=qf(r);if(o){var n=qf(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Gf(this,e)});function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).subscribeEvent="subscribe",t.reconnectTimeout=5e3,t.reconnectAttempts=100,t.reconnectTries=0,t.connection=t.createConnection(e),t.authEndpoint=e.authEndpoint,t.setProviderOptions(e),t.attachSocketEvents(),!1===e.lazy&&t.openConnection(),t}return t=a,n=[{key:"setProviderOptions",value:function(e){e.subscribeEvent&&(this.subscribeEvent=e.subscribeEvent),e.reconnectTimeout&&(this.reconnectTimeout=e.reconnectTimeout),e.reconnectAttempts&&(this.reconnectAttempts=e.reconnectAttempts)}},{key:"openConnection",value:function(){if(!this.isConnectedOrConnecting())return this.setConnectionState(sf.Connecting),this.connect()}},{key:"connect",value:function(){var e=this;return $.when(this.getConnectionToken(),this.connection.start()).then((function(t){return e.start.apply(e,t)}),(function(t){return e.onConnectionError.apply(e,t)}))}},{key:"start",value:function(e){var t=this;return this.connection.invoke(this.subscribeEvent,e.token).then((function(){return t.setConnectionState(sf.Connected)})).catch((function(e){return t.onConnectionError(e)}))}},{key:"stop",value:function(){if(this.isConnectedOrConnecting())return this.connection.stop()}},{key:"attachSocketEvents",value:function(){var e=this;this.connection.onclose((function(){return e.onConnectionError})),this.connection.onreconnected((function(){return e.onReconnect}))}},{key:"onReconnect",value:function(){this.reconnectTries=0}},{key:"onConnectionError",value:function(e){var t=this;e?console.log("Connection Error. Reason: ".concat(e)):console.log("Connection Error."),this.setConnectionState(sf.Disconnected),!this.reconnectAttempts||this.reconnectTries>=this.reconnectAttempts||setTimeout((function(){return t.reconnectTries++,t.openConnection()}),this.reconnectTimeout||5e3)}},{key:"createConnection",value:function(e){var t=new If,n=ro._.removeTrailingSlash(e.endpoint),r="".concat(n,"/hubs/").concat(e.hubName),o={logger:Al.Error};return e.logging&&(o.logger=Al.Debug),t.withUrl(r,o).build()}},{key:"getConnectionToken",value:function(){var e={url:this.authEndpoint,method:"POST",type:"POST"};return $.ajax(e)}},{key:"setConnectionState",value:function(e){e===sf.Connected&&console.log("Connected!"),e===sf.Disconnected&&console.log("Disconnected!"),this.connectionState=e}},{key:"isConnectedOrConnecting",value:function(){return this.connectionState===sf.Connecting||this.connectionState===sf.Connected||this.connectionState===sf.Reconnecting}},{key:"create",value:function(e,t,n){this.openConnection(),this.rpc(e,t,n)}},{key:"read",value:function(e,t){this.openConnection(),this.subscribe(e,t)}},{key:"update",value:function(e,t,n){this.openConnection(),this.rpc(e,t,n)}},{key:"delete",value:function(e,t){this.openConnection(),this.rpc(e,null,t)}},{key:"parseError",value:function(){return Tr.N}},{key:"rpc",value:function(e,t,n){var r=n.channel,o=n.successEvent,i=n.errorEvent;this.connection.invoke(e,t).then((function(e){return r.trigger.apply(r,[o].concat(Mf(e)))})).catch((function(e){return r.trigger.apply(r,[i].concat(Mf(e)))}))}},{key:"subscribe",value:function(e,t){var n=t.channel,r=t.successEvent;this.connection.on(e,(function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];n.trigger.apply(n,[r].concat(t))}))}}],n&&Hf(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(ae.Object);function Wf(e){return Wf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wf(e)}function Yf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Kf(e,t){return Kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kf(e,t)}function $f(e,t){if(t&&("object"===Wf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xf(e)}var Jf=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kf(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Xf(r);if(o){var n=Xf(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return $f(this,e)});function a(){return Yf(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"name",get:function(){return v.R.Notifications}}])&&Zf(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Qf),ep=(C(22430),C(88410));function tp(e){return tp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tp(e)}function np(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rp(e,t){return rp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rp(e,t)}function op(e,t){if(t&&("object"===tp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ip(e){return ip=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ip(e)}var ap="upload.errors.noLibrariesUpload",cp=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rp(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ip(r);if(o){var n=ip(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return op(this,e)});function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,g.T.getPhrase(ap,"title"))}return t=a,(n=[{key:"name",get:function(){return"NoLibrariesUploadError"}},{key:"dialogOptions",get:function(){return{title:g.T.getPhrase(ap,"heading"),text:g.T.getPhrase(ap,"body"),buttons:[{text:g.T.getPhrase(ap,"okay"),className:"btn btn-dark",close:!0}]}}}])&&np(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(m.S);function up(e){return up="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},up(e)}function sp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fp(){return fp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=pp(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},fp.apply(this,arguments)}function pp(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=hp(e)););return e}function yp(e,t){return yp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yp(e,t)}function dp(e,t){if(t&&("object"===up(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function hp(e){return hp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hp(e)}var bp=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yp(e,t)}(u,t);var n,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=hp(o);if(i){var n=hp(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return dp(this,e)});function u(){return sp(this,u),a.apply(this,arguments)}return n=u,(r=[{key:"addFiles",value:function(t){var n=this;b.u.getInstance(c.Or.Library).getLibraries((function(r){b.u.releaseInstance(c.Or.Library),r&&r.length?fp(hp(u.prototype),"addFiles",n).call(n,t):e.Q.ErrorHelper.throw(new cp)}))}}])&&lp(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),u}(ep.ky);function vp(e){return vp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vp(e)}function mp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wp(e,t,n){return t&&gp(e.prototype,t),n&&gp(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Op(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sp(e,t)}function Sp(e,t){return Sp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sp(e,t)}function Cp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ep(e);if(t){var o=Ep(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Pp(this,n)}}function Pp(e,t){if(t&&("object"===vp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ep(e){return Ep=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ep(e)}var kp,_p=function(e){Op(n,e);var t=Cp(n);function n(){return mp(this,n),t.apply(this,arguments)}return wp(n,[{key:"idAttribute",get:function(){return"masterVideoId"}}]),n}(e.Q.Model),Rp=function(e){Op(n,e);var t=Cp(n);function n(){return mp(this,n),t.apply(this,arguments)}return wp(n,[{key:"model",get:function(){return _p}}]),n}(e.Q.Collection),jp=C(93322),Tp=C(50028),Ap=C(81937);function Lp(e){return Lp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lp(e)}function xp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Np(e,t){return Np=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Np(e,t)}function Dp(e,t){if(t&&("object"===Lp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Bp(e){return Bp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bp(e)}var Ip=function(r){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Np(e,t)}(s,r);var o,i,a,c,u=(a=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Bp(a);if(c){var n=Bp(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Dp(this,e)});function s(){return xp(this,s),u.apply(this,arguments)}return o=s,i=[{key:"name",get:function(){return zr.D.PendingItems}},{key:"channelName",get:function(){return Hr.Q4.PENDING_ITEMS}},{key:"initialize",value:function(){this.videoDataService=b.u.getInstance(zr.Z.Video,this),this.videoUploadDataService=b.u.getInstance(zr.Z.VideoUpload,this)}},{key:"clearPendingItem",value:function(e,t){var r=this;switch(e.get("pendingProcessStatus")){case jp.g.Completed:case jp.g.Error:this.videoUploadDataService.clearPendingItems([e.get("pendingProcessId")],(function(){e.set("clearing",!0),e.collection.remove(e),r.updateViewModel(),r.videoDataService.clearVideoCache(),n.isFunction(t)&&t()}));break;case jp.g.Processing:this.videoUploadDataService.cancelPendingItems([e.get("pendingProcessId")],(function(){e.set("clearing",!0),e.collection.remove(e),r.videoDataService.clearVideoCache(),r.updateViewModel(),n.isFunction(t)&&t()}))}}},{key:"forceFetchPendingItems",value:function(e){this.fetchPendingItems(e)}},{key:"retryPendingItem",value:function(e,t){var n=this;this.videoUploadDataService.retryPendingItems([e.get("pendingProcessId")],(function(){n.fetchPendingItems({resetTimeout:!1,callback:t})}))}},{key:"itemStatusChanged",value:function(){t.Radio.channel(this.channelName).trigger(Ap.S.PENDING_ITEM_STATUS_CHANGE),this.videoDataService.clearVideoCache()}},{key:"getPendingItems",value:function(){var e=this;return this.pendingItems||(this.pendingItems=new Rp,this.listenTo(this.pendingItems,"change:foregroundComplete",(function(n){n.get("foregroundComplete")&&(e.itemStatusChanged(),n.get("video")&&t.Radio.channel(e.channelName).trigger(Ap.S.PENDING_ITEM_READY_TO_WATCH,n))})),this.listenTo(this.pendingItems,"remove",(function(t){t.get("clearing")||e.videoUploadDataService.getPendingItem(t.get("pendingProcessId"),(function(t){t.get("status")===jp.g.Completed&&e.itemStatusChanged()}))})),window.setTimeout((function(){e.fetchPendingItems()}),200)),this.pendingItems}},{key:"fetchPendingItems",value:function(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{resetTimeout:!0};this.isDestroyed()||this.videoUploadDataService.getPendingItems((function(o){var i=n.map(o,(function(e){return e.masterVideoId.toString()})),a=function(e){n.each(o,(function(t){var n=e.get(t.masterVideoId);n&&(t.video=n,t.foregroundProgress>=100&&n.get("status")===Tp.X.Processing&&n.set("status",Tp.X.Published))})),t.pendingItems.set(o),t.updateViewModel(),r.resetTimeout&&(window.clearTimeout(kp),kp=window.setTimeout((function(){return t.fetchPendingItems()}),t.getTimeoutLength())),n.isFunction(r.callback)&&r.callback()};i.length?t.videoDataService.getVideos(i,a):a(new e.Q.Collection)}))}},{key:"updateViewModel",value:function(){var e=Q.r.get("process:progress");if(this.pendingItems&&this.pendingItems.length){var t=this.pendingItems.where((function(e){return e.get("pendingProcessStatus")>=0})),r=0;n.each(t,(function(e){return r+=e.get("foregroundProgress")}));var o=100*t.length;e.set({progress:Math.round(r/o*100),items:this.pendingItems.length,hasErrors:this.pendingItems.length!==t.length})}else e.set({progress:0,items:0})}},{key:"getTimeoutLength",value:function(){return this.pendingItems.any((function(e){return e.get("pendingProcessStatus")===jp.g.Processing}))?5e3:3e4}}],i&&Vp(o.prototype,i),Object.defineProperty(o,"prototype",{writable:!1}),s}(e.Q.Service),Up=C(5854);function Mp(e){return Mp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mp(e)}function Fp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zp(){return zp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=Gp(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},zp.apply(this,arguments)}function Gp(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Wp(e)););return e}function qp(e,t){return qp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qp(e,t)}function Qp(e,t){if(t&&("object"===Mp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Wp(e){return Wp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wp(e)}var Yp=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qp(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Wp(r);if(o){var n=Wp(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Qp(this,e)});function a(){return Fp(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"initialize",value:function(){zp(Wp(a.prototype),"initialize",this).call(this),this.alertService=b.u.getInstance(c.K9.Alerts,this),this.listenTo(this.channelName,Ap.S.PENDING_ITEM_READY_TO_WATCH,this.onReadyToWatch)}},{key:"lang",get:function(){return"upload.services"}},{key:"onReadyToWatch",value:function(e){var t=e.get("video");if(t){var n=g.T.getPhrase(this.lang,"readyToWatch",{videoName:Nt.m$.escapeExpression(t.get("name"))});Up.S.isDone(e)||(n+=g.T.getPhrase(this.lang,"processingResolutions"));var r={heading:g.T.getPhrase(this.lang,"readyToWatchHeading",{videoName:t.get("name")}),message:n,type:Ur.NK.Success,appLinkText:g.T.getPhrase(this.lang,"goToVideo",{videoName:t.get("name")}),appLink:{application:c.OV.LIBRARY_EDITOR,action:c.eX.LibraryEditor.VIDEO_DETAILS,args:[t.get("id")]}};this.alertService.createAlert(r)}}}])&&Hp(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Ip),Zp=C(10454),Kp=C(29572);function $p(e){return $p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$p(e)}function Xp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ey(e,t){return ey=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ey(e,t)}function ty(e,t){if(t&&("object"===$p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ny(e)}var ry=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ey(e,t)}(s,e);var r,o,i,a,u=(i=s,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ny(i);if(a){var n=ny(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ty(this,e)});function s(){var e;return Xp(this,s),(e=u.apply(this,arguments)).disabledLibraryIds=[],e}return r=s,(o=[{key:"initialize",value:function(){var e=this;this.videoDataService=b.u.getInstance(c.Or.Video,this),this.libraryDataService=b.u.getInstance(c.Or.Library,this),this.listenTo(this.channelName,"drag:start",this.onDragStart),this.listenTo(this.channelName,"drag:drop",this.onDragDrop),this.listenTo(this.channelName,"drag:stop",this.onDragStop),this.libraryDataService.getLibraries((function(t){return e.customLibraries=t}))}},{key:"radioRequests",get:function(){return{accept:"accept"}}},{key:"name",get:function(){return c.K9.VideoDragDrop}},{key:"channelName",get:function(){return c.jr.VIDEO_DRAG_DROP}},{key:"onDragStart",value:function(e,t){var n;this.videos=e,this.collectionIdentifier=t,$("body").addClass(Zp.Z.dragging),(null===(n=this.customLibraries)||void 0===n?void 0:n.length)>1&&this.setDisabledLibraries()}},{key:"accept",value:function(e){return!!this.videos&&!n.any(this.videos,(function(t){return t.categories.any((function(t){return t.id===e.id}))}))}},{key:"onDragDrop",value:function(e,t){var r=this;if(this.videos&&this.collectionIdentifier){var o,i;n.each(this.videos,(function(e){o||(o=e.categories.find((function(e){return e.get("id")===+r.collectionIdentifier.id})),i=e)}));var a=this.videos,c=this.videos.map((function(e){return e.get("id")})),u=1===c.length?i.get("name"):"",s=Kp.J.moveVideoAlert(o.get("name"),e.get("name"),e.get("id"),c.length,u);this.videoDataService.moveVideos(c,e.get("id"),this.collectionIdentifier.id,(function(){n.each(a,(function(e){return e.collection.remove(e)})),r.logAction(n.map(c,(function(t){return{id:t,newParentId:e.get("id"),oldParentId:o.get("id"),count:c.length}})),t)}),s),this.triggerNavRender()}}},{key:"onDragStop",value:function(){$("body").removeClass(Zp.Z.dragging),delete this.videos,delete this.collectionIdentifier,this.triggerNavRender()}},{key:"setDisabledLibraries",value:function(){var e=this,t=this.customLibraries.find((function(t){return!!Nt.PU.getModelFromCollection(e.collectionIdentifier.id,t.get("children"))})),r=[];this.videos.forEach((function(e){e.get("libraries").forEach((function(e){e.get("id").toString()!==t.get("id").toString()&&r.push(e.get("id"))}))})),this.disabledLibraryIds=n.uniq(r)}},{key:"getDisabledLibraryIds",value:function(){return this.disabledLibraryIds}},{key:"triggerNavRender",value:function(){t.Radio.channel(c.jr.FOLDER_DRAG_DROP).trigger("re:render:left:nav")}},{key:"logAction",value:function(e,t){var n=J.k.mergeOptions({actionType:Vt.UserAction.Move,entity:Vt.EntityType.Video,descriptor:Vt.InteractionTypeDescriptor.DragDrop},t);J.k.logUserAction(e,n)}}])&&Jp(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.Q.Service),oy=C(54008),iy=C(14177),ay=C(56906);function cy(e){return cy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cy(e)}function uy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ly(e,t){return ly=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ly(e,t)}function fy(e,t){if(t&&("object"===cy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function py(e){return py=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},py(e)}var yy=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ly(e,t)}(s,n);var r,o,i,a,u=(i=s,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=py(i);if(a){var n=py(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return fy(this,e)});function s(){return uy(this,s),u.apply(this,arguments)}return r=s,(o=[{key:"initialize",value:function(){this.libraryDataService=b.u.getInstance(c.Or.Library,this),this.listenTo(this.channelName,"drag:start",this.onDragStart),this.listenTo(this.channelName,"drag:drop",this.onDragDrop),this.listenTo(this.channelName,"drag:stop",this.onDragStop),this.listenTo(this.libraryDataService.channelName,"libraries:sync",this.onLibrarySync),this.libraries=this.libraryDataService.getLibraries()}},{key:"radioRequests",get:function(){return{accept:"accept"}}},{key:"name",get:function(){return c.K9.FolderDragDrop}},{key:"channelName",get:function(){return c.jr.FOLDER_DRAG_DROP}},{key:"onLibrarySync",value:function(e){this.libraries=e}},{key:"accept",value:function(e){return!(!this.folder||this.isSameFolder(e)||!this.isSameLibrary(e)||this.isParentFolder(e)||this.isChildFolder(e))}},{key:"isSameFolder",value:function(e){return this.folder.id===e.id}},{key:"isSameLibrary",value:function(e){var t=Nt.PU.getLibrary(this.folder.id,this.libraries),n=Nt.PU.getLibrary(e.id,this.libraries);return!(!t||!n)&&t.id===n.id}},{key:"isParentFolder",value:function(e){var t=Nt.PU.getParent(this.folder.id,this.libraries);return!!t&&t.id===e.id}},{key:"isChildFolder",value:function(e){for(var t=Nt.PU.getModelFromCollection(e.id,this.libraries);t&&t.collection&&t.collection.parent;)if((t=t.collection.parent).id===this.folder.id)return!0;return!1}},{key:"exceedsMaximumDepth",value:function(e){return Nt.PU.calculateDestinationFolderDepth(this.folder,e.id,this.libraries)>oy.p.MAX_FOLDER_DEPTH}},{key:"onDragStart",value:function(e){this.folder=e,$("body").addClass(Zp.Z.dragging)}},{key:"onDragDrop",value:function(t,n){var r=this;if(this.folder){var o=this.folder;this.libraryDataService.getLibraries((function(i){if(r.exceedsMaximumDepth(t))window.setTimeout((function(){e.Q.ErrorHelper.throw(new ay.al)}),oy.p.POPUP_FADE_TIMEOUT);else{var a=Nt.PU.getSelected(iy.J.LIBRARY_EDITOR,i),c=Nt.PU.getParent(o.id,i);r.libraryDataService.moveFolder(o.id,t.id,c.id,(function(){a&&Nt.PU.setSelected(iy.J.LIBRARY_EDITOR,a.id,i),r.triggerNavRender(),r.logAction({id:o.id,newParentId:t.id,oldParentId:c.id},n)}))}}))}}},{key:"onDragStop",value:function(){$("body").removeClass(Zp.Z.dragging),delete this.folder,this.triggerNavRender()}},{key:"triggerNavRender",value:function(){t.Radio.channel(this.channelName).trigger("re:render:left:nav")}},{key:"logAction",value:function(e,t){var n=J.k.mergeOptions({actionType:Vt.UserAction.Move,entity:Vt.EntityType.Folder,descriptor:Vt.InteractionTypeDescriptor.DragDrop},t);J.k.logUserAction(e,n)}}])&&sy(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.Q.Service);function dy(e){return dy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dy(e)}function hy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function by(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vy(e,t){return vy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vy(e,t)}function my(e,t){if(t&&("object"===dy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function gy(e){return gy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gy(e)}var wy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vy(e,t)}(u,e);var t,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=gy(o);if(i){var n=gy(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return my(this,e)});function u(){return hy(this,u),a.apply(this,arguments)}return t=u,(r=[{key:"initialize",value:function(){this.restrictedVideoDataService=b.u.getInstance(c.Or.RestrictedVideo,this)}},{key:"name",get:function(){return c.K9.VideoMixin}},{key:"channelName",get:function(){return c.jr.VIDEO_MIXIN}},{key:"mixinVideoCollectionData",value:function(e,t,n){this.getAndMixinVideoCollectionRestrictions(e,t,n)}},{key:"mixinVideoData",value:function(e,t){this.getAndMixinVideoRestriction(e,t)}},{key:"getAndMixinVideoCollectionRestrictions",value:function(e,t,r){var o=this;if(e&&e.length){var i=e.map((function(e){return e.id.toString()}));this.restrictedVideoDataService.getVideoRestrictions(i,t,(function(t){e.forEach((function(e){return o.mixinVideoRestriction(e,t)})),n.isFunction(r)&&r(e)}))}else n.isFunction(r)&&r(e)}},{key:"getAndMixinVideoRestriction",value:function(e,t){var r=this;this.restrictedVideoDataService.getVideoRestrictions([e.id],null,(function(o){r.mixinVideoRestriction(e,o),n.isFunction(t)&&t(e)}))}},{key:"mixinLocalCacheDownloads",value:function(e,t){e.unset("localCacheDownloads"),t&&t.findWhere({objectId:e.get("id").toString()})&&e.set("localCacheDownloads",t)}},{key:"mixinVideoRestriction",value:function(e,t){if(e.unset("restrictions"),t){var n=t.findWhere({objectId:e.get("id")});n&&e.set("restrictions",n.get("restrictedObjects"))}}}])&&by(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(e.Q.Service),Oy=C(70125);function Sy(e){return Sy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sy(e)}function Cy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Py(e,t){return Py=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Py(e,t)}function Ey(e,t){if(t&&("object"===Sy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ky(e){return ky=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ky(e)}var _y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Py(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ky(r);if(o){var n=ky(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ey(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"name",get:function(){return"PartialLoadingComponent"}},{key:"tagName",get:function(){return this.options.tagName||"div"}},{key:"className",get:function(){return this.options.className}},{key:"viewOptions",value:function(){return this.options.viewOptions}}])&&Cy(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(e.Q.Component);function Ry(e){return Ry="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ry(e)}function jy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ty(e,t){return Ty=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ty(e,t)}function Ay(e,t){if(t&&("object"===Ry(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ly(e){return Ly=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ly(e)}var xy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ty(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ly(r);if(o){var n=Ly(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ay(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){var e=b.u.getInstance(c.K9.PartialLoading,this);this.collection=e.getCollection(this.options.collectionLength)}},{key:"name",get:function(){return"PartialLoadingComponentCollection"}},{key:"tagName",get:function(){return this.options.tagName||"ul"}},{key:"className",get:function(){var e=this.options.noExtraClass?"":"m-0 p-0 ";return this.options.className&&(e+=this.options.className),e}},{key:"childView",get:function(){return _y}},{key:"childViewOptions",get:function(){return this.options.childOptions}}])&&jy(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(e.Q.ComponentCollection);function Vy(e){return Vy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vy(e)}function Ny(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function By(e,t){return By=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},By(e,t)}function Iy(e,t){if(t&&("object"===Vy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Uy(e){return Uy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Uy(e)}var My=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&By(e,t)}(s,t);var r,o,i,a,u=(i=s,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Uy(i);if(a){var n=Uy(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Iy(this,e)});function s(){return Ny(this,s),u.apply(this,arguments)}return r=s,o=[{key:"name",get:function(){return c.K9.PartialLoading}},{key:"initialize",value:function(){this.listenTo(q.G.SHELL,"render:partial:loading",this.renderPartialLoading)}},{key:"renderPartialLoading",value:function(e,t){var r=this,o=this.getPartialLoadingRegions(e);n.each(n.keys(o),(function(n){if(!t||n===t){var i=o[n],a=r.getComponent(i.partialLoading);e.showChildView(n,a)}}))}},{key:"getComponent",value:function(t){var n="number"==typeof t?c.r8[t]:t;return"number"!=typeof t&&(t=Su.LP.Unselected),n||e.Q.ErrorHelper.throw(new G.H("Must define PartialLoading type: ".concat(Su.LP[t],"."))),n.component||e.Q.ErrorHelper.throw(new G.H("Must select a component for PartialLoading type: ".concat(Su.LP[t],"."))),n.options||e.Q.ErrorHelper.throw(new G.H("Must provide options for PartialLoading type: ".concat(Su.LP[t],"."))),new(this.getCtor(n.component))(n.options)}},{key:"getCtor",value:function(e){switch(e){case Oy.k.ComponentCollection:return xy;case Oy.k.Component:default:return _y}}},{key:"getPartialLoadingRegions",value:function(e){return n.pick(e.regions,(function(e){return n.has(e,"partialLoading")}))}},{key:"getCollection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25,n=new Array(t);return new e.Q.Collection(n)}}],o&&Dy(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.Q.Service);function Fy(e){return Fy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fy(e)}function Hy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gy(e,t){return Gy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Gy(e,t)}function qy(e,t){if(t&&("object"===Fy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Qy(e){return Qy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qy(e)}var Wy=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gy(e,t)}(s,n);var r,o,i,a,u=(i=s,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Qy(i);if(a){var n=Qy(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return qy(this,e)});function s(){return Hy(this,s),u.apply(this,arguments)}return r=s,o=[{key:"name",get:function(){return c.K9.NavLock}},{key:"lang",get:function(){return"shared.services"}},{key:"initialize",value:function(){this.listenTo(q.G.SHELL,e.Q.EventNames.NAV_IS_LOCKED,this.renderDialog)}},{key:"lock",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.text;this.lockOptions=n,t.Radio.channel(q.G.SHELL).trigger(e.Q.EventNames.LOCK_NAV),$(window).on("beforeunload",(function(e){return e.returnValue=r,r}))}},{key:"unlock",value:function(){this.lockOptions=null,t.Radio.channel(q.G.SHELL).trigger(e.Q.EventNames.UNLOCK_NAV),$(window).off("beforeunload")}},{key:"isLocked",value:function(){return!!this.lockOptions}},{key:"renderDialog",value:function(n){var r=this;new Nt.Mr(this.getNavLockOptions()).render().done((function(){t.Radio.channel(q.G.SHELL).trigger(e.Q.EventNames.NAV_UNLOCKED_BY_USER),r.unlock(),e.Q.AppLinkHelper.trigger(n)}))}},{key:"getNavLockOptions",value:function(){var e=this.lockOptions,t=e.title,n=e.text;return{title:t||g.T.getPhrase(this.lang,"discardChanges"),text:n||g.T.getPhrase(this.lang,"discardCheck"),buttons:[{text:g.T.getPhrase(this.lang,"discard"),className:"btn btn-danger",success:!0},{text:g.T.getPhrase(this.lang,"cancel"),className:"btn btn-link",close:!0}]}}}],o&&zy(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.Q.Service);function Yy(e){return Yy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yy(e)}function Zy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ky(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $y(e,t){return $y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$y(e,t)}function Xy(e,t){if(t&&("object"===Yy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Jy(e){return Jy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Jy(e)}var ed=" - ClickView",td=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$y(e,t)}(u,t);var n,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Jy(o);if(i){var n=Jy(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Xy(this,e)});function u(){return Zy(this,u),a.apply(this,arguments)}return n=u,(r=[{key:"initialize",value:function(){this.listenTo(q.G.SHELL,"set:page:title",this.setPageTitle)}},{key:"name",get:function(){return c.K9.PageTitle}},{key:"channelName",get:function(){return c.jr.PAGE_TITLE}},{key:"setPageTitle",value:function(t){t&&e.Q.LocationUtils.SetPageTitle(this.trimTitle(t))}},{key:"trimTitle",value:function(e){return e?e.length+ed.length<=60?e+ed:e.substring(0,57)+"..."+ed:""}}])&&Ky(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),u}(e.Q.Service),nd=C(32865),rd=C(88070),od=C(54758),id=C(25094),ad=C(41934),cd=C(76693);function ud(e){var t=Q.r.get("informational:error:handler");t.get("rendered")||(t.set("rendered",!0),new od.M(Object.assign(Object.assign({},e.dialogOptions),{channelName:"informational:error"})).render().done((function(){return e.onDone()})).fail((function(){return e.onFail()})).always((function(){return t.clear()})))}function sd(e){b.u.getInstance(F.K.Alerts).createAlert({heading:Ur.R6.Fail,type:Ur.NK.Fail,message:e.message})}function ld(){e.Q.AppLinkHelper.trigger({application:id.OV.DEFAULT,action:ad.e.Default.NOT_FOUND})}function fd(n){t.Radio.channel("error:view").replyOnce("current:error",(function(){return n})),e.Q.AppLinkHelper.trigger({application:id.OV.DEFAULT,action:ad.e.Default.ERROR})}var pd=C(32227);function yd(e){return yd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yd(e)}var dd={register:function(){var e=this;pd.registerHelper("lang",(function(t,n){if(e.isValid(t,n)){var r=n.data.root.languageNamespace;return g.T.getPhrase(r,t,n.hash)}}))},isValid:function(t,r){return"string"!=typeof t?(e.Q.ErrorHelper.throw(new G.H("No language key provided.")),!1):"object"!==yd(r)?(e.Q.ErrorHelper.throw(new G.H("All options must be key-value pairs, e.g. `smartCount=options.videoCount`")),!1):!n.isUndefined(r.data.root.languageNamespace)||(e.Q.ErrorHelper.throw(new G.H("No `lang` property provided.")),!1)}},hd=C(16287);function bd(e){return bd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bd(e)}function vd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function md(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gd(e,t){return gd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gd(e,t)}function wd(e,t){if(t&&("object"===bd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Od(e){return Od=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Od(e)}var Sd=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gd(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Od(r);if(o){var n=Od(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return wd(this,e)});function a(){return vd(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"appLinks",get:function(){return{searchResults:{application:c.OV.SEARCH,action:c.eX.Search.HOME},videoDetails:{application:c.OV.LIBRARY_EDITOR,action:c.eX.LibraryEditor.VIDEO_DETAILS},series:{application:c.OV.LIBRARY_EDITOR,action:c.eX.LibraryEditor.SERIES},tagSearch:{application:c.OV.SEARCH,action:c.eX.Search.HOME},newLibrary:{application:c.OV.LIBRARY_EDITOR,action:c.eX.LibraryEditor.NEW_LIBRARY},folder:{application:c.OV.LIBRARY_EDITOR,action:c.eX.LibraryEditor.FOLDER}}}},{key:"addSlugs",get:function(){return!1}},{key:"searchBarPlaceholder",get:function(){return null}},{key:"showSearchTips",get:function(){return!0}},{key:"useContextualSearch",get:function(){return!0}}])&&md(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(hd.BaseSearchAppVariables),Cd=C(68249);function Pd(e){return Pd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pd(e)}function Ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _d(e,t){return _d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_d(e,t)}function Rd(e,t){if(t&&("object"===Pd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function jd(e){return jd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jd(e)}var Td,Ad=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_d(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=jd(r);if(o){var n=jd(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Rd(this,e)});function a(){return Ed(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"appLinks",get:function(){return{videoDetails:{application:c.OV.LIBRARY_EDITOR,action:c.eX.LibraryEditor.VIDEO_DETAILS},notifications:{application:c.OV.NOTIFICATIONS,action:c.eX.Notifications.HOME},pastReleases:{application:c.OV.CONTENT_UPDATES,action:c.eX.ContentUpdates.PAST_RELEASES},awaitingReview:{application:c.OV.CONTENT_UPDATES,action:c.eX.ContentUpdates.AWAITING_REVIEW},editLibraryRequest:{application:c.OV.LIBRARY_REQUESTS,action:c.eX.LibraryRequests.PENDING_REQUESTS},shareLink:null}}},{key:"notificationTypesWithAppLinks",get:function(){return[Cd.k.VideoReviewReminder,Cd.k.VideoReviewAddedToLibrary,Cd.k.CustomLibraryVideoAvailable,Cd.k.ChapterMergeSuccess,Cd.k.StaffRequest,Cd.k.LibraryRequest]}},{key:"unsupportedNotificationLinks",get:function(){var e=[Cd.k.StaffRequestFulfilled,Cd.k.LibraryRequestFulfilled,Cd.k.LibraryRequestDenied];return Nn.g.hasLite?e:[].concat(e,[Cd.k.NewDirectShare])}},{key:"notificationsEmptyStateUrl",get:function(){return c.Wn.EmptyStates.NOTIFICATIONS}},{key:"bellIconColor",get:function(){return"light"}},{key:"notificationsViewClassNames",get:function(){return"container-fluid bg-white rounded p-3 ".concat("kivSL")}}])&&kd(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(hd.BaseNotificationsAppVariables),Ld=C(84868);C(56285),C(33755),function(e){e.Launch="launch",e.Lite="lite",e.Online="online"}(Td||(Td={}));var xd=C(24894),Vd=C(85887),Nd=C(8345);function Dd(e,t){return Vd.t.isObject(t.xhr)?Object.assign(Object.assign({},e),{version:t.xhr.getResponseHeader("X-App-Version")}):e}var Bd={version:null};function Id(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bd,t=arguments.length>1?arguments[1]:void 0;return t.type===Nd.e.API_RESPONSE?Dd(e,t):e}var Ud=C(34279);function Md(e){return Md="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Md(e)}function Fd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hd(e,t){return"string"==typeof t.payload.dataOrKey&&void 0!==t.payload.keyData?Object.assign(Object.assign({},e),Fd({},t.payload.viewModelKey,Object.assign(Object.assign({},e[t.payload.viewModelKey]),Fd({},t.payload.dataOrKey,t.payload.keyData)))):("object"===Md(t.payload.dataOrKey)&&Array.isArray(t.payload.dataOrKey),Object.assign(Object.assign({},e),Fd({},t.payload.viewModelKey,t.payload.dataOrKey)))}function zd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===Ud.B.UPDATE?Hd(e,t):e}var Gd=C(35656),qd=/\(([^()]*)\)/g;var Qd=[mi.E.ShareToGoogleClassroom,mi.E.ShareToMicrosoftTeams],Wd=[],Yd={"(customerSettings)":("(customerSettings)",function(e,t){var n=Qd.map((function(e){return"type=".concat(e)})).join("&"),r=e.resource.replace("(customerSettings)",n);t(Object.assign(Object.assign({},e),{resource:r}))}),"(userSettings)":function(e,t){var n=Wd.map((function(e){return"type=".concat(e)})).join("&"),r=e.resource.replace("(userSettings)",n);t(Object.assign(Object.assign({},e),{resource:r}))}};function Zd(){return function(e){return function(t){var n;if(t.type===Or.Actions.INVALIDATE){var r=t.request;if((null===(n=null==r?void 0:r.dataServices)||void 0===n?void 0:n.length)&&(null==r?void 0:r.invalidationKeys)){var o=Array.isArray(r.invalidationKeys)?r.invalidationKeys:[r.invalidationKeys];r.dataServices.forEach((function(e){var t=b.u.getInstance(e);t&&(t.invalidateCache(o),b.u.releaseInstance(e))})),e(t)}else e(t)}else e(t)}}}var Kd=C(98985);function $d(e){return $d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$d(e)}function Xd(){Xd=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l={};function f(){}function p(){}function y(){}var d={};c(d,o,(function(){return this}));var h=Object.getPrototypeOf,b=h&&h(h(P([])));b&&b!==t&&n.call(b,o)&&(d=b);var v=y.prototype=f.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){function r(o,i,a,c){var u=s(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==$d(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=y,c(v,"constructor",y),c(y,"constructor",p),p.displayName=c(y,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,a,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},m(g.prototype),c(g.prototype,i,(function(){return this})),e.AsyncIterator=g,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new g(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,a,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}new d,t.Validation.configure({forceUpdate:!0}),n.extend(t.Validation.callbacks,{valid:function(e,t){var n=e.$("[name="+t+"]"),c=n.closest(o);n.removeClass(a),c.find(r).removeClass(i).html("")},invalid:function(e,t,n){var c=e.$("[name="+t+"]"),u=c.closest(o);c.addClass(a),u.find(r).addClass(i).html(n)}});var Jd=new e.Q.Shell({region:"#app",layoutService:new e.Q.LayoutService({requiredRegions:[h.r.ALERT,h.r.POPUP,h.r.HIDDEN]})});Jd.addInitializationStep((function(e,t){e.registerLayout(dl.F.ManageLayout,hl.O),t(e)})).addInitializationStep((function(e,t){b.u.registerInstance(Sd).registerInstance(Ad),t(e)})).addInitializationStep((function(t,n){var r,o,i,a,c=(0,xd.combineReducers)({flightData:nt.a.FlightReducer,applicationData:Id,viewModelData:zd}),u=nt.a.createMiddleware({fetchData:function(n){var r=new e.Q.Middleware;r.use((function(e,t){e.resource.startsWith("{gateway}")?t(Object.assign(Object.assign({},e),{resource:ro._.safeUrlConcat("/api/gateway",e.resource.split("{gateway}/")[1])})):t(e)})),r.use(function(t,n){return function(r,o){var i=new e.Q.Middleware;decodeURIComponent(r.resource).replace(qd,(function(e){var t=n[e];if("string"!=typeof t)return t?void i.use(t):e;i.use(function(e,t){return function(n,r){r(Object.assign(Object.assign({},n),{resource:n.resource.replace(e,t)}))}}(e,t))}));var a={resource:r.resource,store:t};i.go(a,(function(e){o(Object.assign(Object.assign({},r),{resource:e.resource}))}))}}(t.store,Yd)),r.go(n,(function(e){nt.a.ajaxRequest(e)}))},bootstrappedData:window.bootstrapData||{},defaultExpiryTime:po.f.STANDARD}),s=(o=(r={oldVersionError:R,authenticationError:M}).oldVersionError,i=r.authenticationError,function(t){return function(n){return function(r){var a,c,u=r;if(r.type===Or.Actions.API_ERROR&&i&&(null===(a=null==u?void 0:u.xhr)||void 0===a?void 0:a.status)===Gd.o.Unauthorized)return wr.Ry.throw(new i("dark"));if(r.type===Or.Actions.API_RESPONSE){var s=t.getState().applicationData.version,l=null===(c=null==u?void 0:u.xhr)||void 0===c?void 0:c.getResponseHeader("X-App-Version");o&&s&&l&&l!==s&&e.Q.ErrorHelper.delayedThrow("old-version-error",new o(s,l,"dark"),18e4),n(r)}else n(r)}}});a=(0,xd.createStore)(c,(0,xd.applyMiddleware)(u,s,Zd)),t.registerStore(a),n(),delete window.bootstrapData})).addInitializationStep((function(e,t){b.u.registerInstance(jr,{size:100,store:e.store}),t(e)})).addInitializationStep((function(e,t){b.u.registerInstance(Br,{dataServiceErrorMessageMappings:Ir.X,defaultErrorMessageKey:Ir.y}),t(e)})).addInitializationStep((function(e,t){var n={maxAlerts:3,defaultSuccessAlert:{heading:Ur.R6.Success,type:Ur.NK.Success},defaultErrorAlert:{heading:Ur.R6.Fail,type:Ur.NK.Fail},alertViewCtor:Yo};b.u.registerSingleton(new ri(n));var r=b.u.getInstance(F.K.Alerts),o={cache:mr.p.Fifo,dataProvider:v.R.Ajax,bootstrapData:window.bootstrapData,defaultErrorHandler:r.error({useXHR:!0}),alertService:r};b.u.registerDataService(oi.o,o).registerDataService(ii.M,o).registerDataService(bi,o).registerDataService(Mi,o).registerDataService(Hi.x,o).registerDataService(va,o).registerDataService(Ta,o).registerDataService(Ba,o).registerDataService(qa,o).registerDataService(So,o).registerDataService(tc,o).registerDataService(pc,o).registerDataService(wc,o).registerDataService(Fc,o).registerDataService(Zc,o).registerDataService(uu,o).registerDataService(Lu,o).registerDataService(To,o).registerDataService(Gu,o).registerDataService($u,o).registerDataService(as,o).registerDataService(hs,o).registerDataService(Ps,o).registerDataService(Bs,o).registerDataService(Ks,o).registerDataService(il,o).registerDataService(Fi.f,o).registerDataService(yl,o);var i={cache:mr.p.Fifo,dataProvider:v.R.Notifications,alertService:r};b.u.registerDataService(no,i),t(e),delete window.bootstrapData})).addInitializationStep((function(t,n){b.u.getInstance(F.O.Config).getVersion((function(r){var o=b.u.getInstance(v.R.Ajax);o.useMiddleware("versionInvalidation",(function(t,n,o){var i=o.getResponseHeader("X-App-Version");i!==r&&e.Q.ErrorHelper.delayedThrow("old-version-error",new R(r,i,"primary"),18e4)})),o.useErrorMiddleware("authenticatonCheck",(function(t){401===t.status&&e.Q.ErrorHelper.throw(new U("dark"))})),n(t),b.u.releaseInstance(v.R.Ajax),b.u.releaseInstance(F.O.Config)}))})).addInitializationStep((function(e,t){b.u.registerInstance(bp).registerInstance(Yp).registerInstance(ry).registerInstance(yy).registerInstance(Ll).registerInstance(wy).registerInstance(d),b.u.registerSingleton(new Cl).registerSingleton(new My).registerSingleton(new Wy).registerSingleton(new td),b.u.getInstance(F.O.Config).getConfig((function(n){b.u.registerInstance(Jf,{endpoint:n.get("notificationServiceUrl"),authEndpoint:"/api/notifications/v1/tokens",hubName:"notification",logging:!0}),b.u.getInstance(F.O.Language).getLanguageConfig((function(e){g.T.setConfig(e),b.u.releaseInstance(F.O.Language)})),t(e),b.u.releaseInstance(F.O.Config)}))})).addInitializationStep((function(e,t){var n=b.u.getInstance(c.Or.User),r=b.u.getInstance(c.Or.Product),o=b.u.getInstance(c.Or.Settings);n.getCurrentUser((function(n){r.getProducts((function(r){var i,a,c,u=!!r.findWhere({id:Ld.x.Primary}),s=!!r.findWhere({id:Ld.x.Online});if(!u||!s)return Nn.g.initialize({hasLite:r.some((function(e){return e.get("id")===Ld.x.Primary}))}),t(e);var l=3;function f(){if(0===l){var n=(null==a?void 0:a.get("value"))||(null==i?void 0:i.get("value"));if(!n||(null==c?void 0:c.get("value")))return Nn.g.initialize({hasLite:u}),t(e);Nn.g.initialize({hasLite:n===Td.Lite}),t(e)}}o.getSetting(n.get("customerId"),mi.E.LiteUpgradeTypeCustomer,(function(e){i=e,l--,f()})),o.getSetting(n.get("id"),mi.E.LiteUpgradeTypeUser,(function(e){a=e,l--,f()})),o.getSetting(n.get("customerId"),mi.E.LiteUpgradeComplete,(function(e){c=e,l--,f()}))}))}))})).addInitializationStep((function(e,t){var n,r,o,i=b.u.getInstance(F.O.Config),a=b.u.getInstance(F.O.User),c=new z(3),u=function(){if(c.decrement(),!(c.getValue()>0)){var i=new ie({user:r.toJSON(),config:n.toJSON()});b.u.registerSingleton(i),i.registerTransport(ve),i.registerClient(Qe),i.registerClient(Le.q,{productName:"cloud.web",productVersion:o,regionName:r.get("instanceRegion"),collectionApiUrls:n.get("collectionApiUrls"),collectionApiClientId:n.get("collectionApiClientId"),getUser:st,shouldLog:tt.k.shouldLog,formatData:tt.k.formatData,logError:ut.logError}),i.registerEnricher(et,{productName:"ClickView Library Editor",productVersion:o}),i.registerEnricher(Ae),b.u.releaseInstance(F.O.Config),b.u.releaseInstance(F.O.User),t(e)}};i.getVersion((function(e){o=e,u()})),i.getConfig((function(e){n=e,u()})),a.getCurrentUser((function(e){r=e,u()}))})).addInitializationStep((function(e,t){e.registerApplication(Lt).registerApplication($t).registerApplication(ln).registerApplication(Qn).registerApplication(vr).registerApplication(ar),Nn.g.hasLite||e.registerApplication(On).registerApplication(Vn),t(e)})).addInitializationStep((function(t,r){e.Q.View.AddViewDataExtension((function(e){return{languageNamespace:n.result(e,"lang")}})),r(t)})).addInitializationStep((function(e,t){dd.register(),t(e)})).addInitializationStep((function(e,t){e.registerErrorHandler(rd.H,fd).registerErrorHandler(m.S,ud).registerErrorHandler(nd.n,sd).registerErrorHandler(cd.d,ld),t()})).addInitializationStep((function(e,t){return n=this,r=void 0,o=void 0,i=Xd().mark((function n(){var r,o,i,a,c,u,s,l;return Xd().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:a=b.u.getInstance(Wn.Or.Config),c=b.u.getInstance(Wn.Or.User),u=b.u.getInstance(Wn.Or.Product),s=new z(3),l=function(){if(s.decrement(),!(s.getValue()>0)){if(i.any((function(e){return e.get("id")===Ld.x.Primary})))return Kd.o.initialize({product:Ld.x.Primary,liteSupportSiteUrl:r.get("liteSupportSiteUrl"),instanceRegion:o.get("instanceRegion")}),void t(e);Kd.o.initialize({product:Ld.x.Online,onlineSupportSiteUrl:r.get("onlineSupportSiteUrl"),instanceRegion:o.get("instanceRegion")}),t(e)}},a.getConfig((function(e){r=e,l()})),c.getCurrentUser((function(e){o=e,l()})),u.getProducts((function(e){i=e,l()}));case 8:case"end":return n.stop()}}),n)})),new(o||(o=Promise))((function(e,t){function a(e){try{u(i.next(e))}catch(e){t(e)}}function c(e){try{u(i.throw(e))}catch(e){t(e)}}function u(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(a,c)}u((i=i.apply(n,r||[])).next())}));var n,r,o,i})),Jd.addStartUpStep((function(e,t,n){var r=b.u.getInstance(F.O.Config);r.getConfig((function(){r.getVersion((function(r){t.environment="DEVELOPMENT",t.version=r,xe.h.setUpVariables({isDevelopment:!1}),n(e,t),b.u.releaseInstance(F.O.Config)}))}))})).addStartUpStep((function(e,t,n){b.u.getInstance(F.O.Config).getConfig((function(r){console.log("%cWelcome to the new %c▶%cClick%cView%c! 🔥🎉🙏","color: grey; font-size:24px","color:#f8981d; font-size:24px","color:#f8981d; font-size:24px","color:black; font-size:24px","color: grey; font-size:24px"),console.log("%cIf you have any issues or need any help with anything, please contact our friendly product support team. ".concat(r.get("supportSiteUrl")),"color: black; font-size:14px"),n(e,t),b.u.releaseInstance(F.O.Config)}))})),Jd.start()}(),P}()}));
|