text: /*!
  betajs-media-components - v0.0.304 - 2022-06-08
  Copyright (c) Ziggeo,Oliver Friedmann,Rashad Aliyev
  Apache-2.0 Software License.
  */
  (function () {
  
  var Scoped = this.subScope();
  
  Scoped.binding("browser", "global:BetaJS.Browser");
  Scoped.binding("dynamics", "global:BetaJS.Dynamics");
  Scoped.binding("module", "global:BetaJS.MediaComponents");
  
  Scoped.extend("module:Assets.playerthemes", [
      "browser:Info",
      "dynamics:Parser"
  ], function(Info, Parser) {
      var ie8 = Info.isInternetExplorer() && Info.internetExplorerVersion() <= 8;
      Parser.registerFunctions({
          /**/"csstheme": function (obj) { return obj.csstheme; }, "activitydelta > hidebarafter && hideoninactivity ? (cssplayer + '-dashboard-hidden') : ''": function (obj) { return obj.activitydelta > obj.hidebarafter && obj.hideoninactivity ? (obj.cssplayer + '-dashboard-hidden') : ''; }, "title": function (obj) { return obj.title; }, "submit()": function (obj) { return obj.submit(); }, "submittable": function (obj) { return obj.submittable; }, "string('submit-video')": function (obj) { return obj.string('submit-video'); }, "rerecord()": function (obj) { return obj.rerecord(); }, "rerecordable": function (obj) { return obj.rerecordable; }, "string('rerecord-video')": function (obj) { return obj.string('rerecord-video'); }, "csscommon": function (obj) { return obj.csscommon; }, "skipinitial ? 0 : 1": function (obj) { return obj.skipinitial ? 0 : 1; }, "play()": function (obj) { return obj.play(); }, "tab_index_move(domEvent, null, 'button-icon-pause')": function (obj) { return obj.tab_index_move(obj.domEvent, null, 'button-icon-pause'); }, "!playing": function (obj) { return !obj.playing; }, "string('play-video')": function (obj) { return obj.string('play-video'); }, "pause()": function (obj) { return obj.pause(); }, "tab_index_move(domEvent, null, 'button-icon-play')": function (obj) { return obj.tab_index_move(obj.domEvent, null, 'button-icon-play'); }, "disablepause ? cssplayer + '-disabled' : ''": function (obj) { return obj.disablepause ? obj.cssplayer + '-disabled' : ''; }, "playing": function (obj) { return obj.playing; }, "disablepause ? string('pause-video-disabled') : string('pause-video')": function (obj) { return obj.disablepause ? obj.string('pause-video-disabled') : obj.string('pause-video'); }, "toggle_position_info()": function (obj) { return obj.toggle_position_info(); }, "revertposition ? string('remaining-time') : string('elapsed-time')": function (obj) { return obj.revertposition ? obj.string('remaining-time') : obj.string('elapsed-time'); }, "(revertposition && duration > 0) ? \"-\" : \"\"": function (obj) { return (obj.revertposition && obj.duration > 0) ? "-" : ""; }, "(revertposition && duration > 0) ? formatTime(duration - position) : formatTime(position)": function (obj) { return (obj.revertposition && obj.duration > 0) ? obj.formatTime(obj.duration - obj.position) : obj.formatTime(obj.position); }, "formatTime(duration || position)": function (obj) { return obj.formatTime(obj.duration || obj.position); }, "trimmingmode": function (obj) { return obj.trimmingmode; }, "trim()": function (obj) { return obj.trim(); }, "string('trim-video')": function (obj) { return obj.string('trim-video'); }, "frameselectionmode": function (obj) { return obj.frameselectionmode; }, "select_frame()": function (obj) { return obj.select_frame(); }, "string('select-frame')": function (obj) { return obj.string('select-frame'); }, "toggle_settings_menu()": function (obj) { return obj.toggle_settings_menu(); }, "cssplayer": function (obj) { return obj.cssplayer; }, "settingsmenuactive ? 'active' : 'inactive'": function (obj) { return obj.settingsmenuactive ? 'active' : 'inactive'; }, "settingsmenubutton": function (obj) { return obj.settingsmenubutton; }, "string('settings')": function (obj) { return obj.string('settings'); }, "tab_index_move(domEvent)": function (obj) { return obj.tab_index_move(obj.domEvent); }, "toggle_tracks()": function (obj) { return obj.toggle_tracks(); }, "(tracktags.length > 0 && showsubtitlebutton) || allowtexttrackupload": function (obj) { return (obj.tracktags.length > 0 && obj.showsubtitlebutton) || obj.allowtexttrackupload; }, "tracktextvisible ? 'active' : 'inactive'": function (obj) { return obj.tracktextvisible ? 'active' : 'inactive'; }, "tracktextvisible ? string('close-tracks') : string('show-tracks')": function (obj) { return obj.tracktextvisible ? obj.string('close-tracks') : obj.string('show-tracks'); }, "hover_cc(true)": function (obj) { return obj.hover_cc(true); }, "hover_cc(false)": function (obj) { return obj.hover_cc(false); }, "toggle_fullscreen()": function (obj) { return obj.toggle_fullscreen(); }, "fullscreen": function (obj) { return obj.fullscreen; }, "fullscreened ? string('exit-fullscreen-video') : string('fullscreen-video')": function (obj) { return obj.fullscreened ? obj.string('exit-fullscreen-video') : obj.string('fullscreen-video'); }, "fullscreened ? 'small' : 'full'": function (obj) { return obj.fullscreened ? 'small' : 'full'; }, "show_airplay_devices()": function (obj) { return obj.show_airplay_devices(); }, "airplaybuttonvisible": function (obj) { return obj.airplaybuttonvisible; }, "castbuttonvisble": function (obj) { return obj.castbuttonvisble; }, "toggle_stream()": function (obj) { return obj.toggle_stream(); }, "streams.length > 1 && currentstream": function (obj) { return obj.streams.length > 1 && obj.currentstream; }, "string('change-resolution')": function (obj) { return obj.string('change-resolution'); }, "currentstream_label": function (obj) { return obj.currentstream_label; }, "!hidevolumebar": function (obj) { return !obj.hidevolumebar; }, "set_volume(volume + 0.1)": function (obj) { return obj.set_volume(obj.volume + 0.1); }, "set_volume(volume - 0.1)": function (obj) { return obj.set_volume(obj.volume - 0.1); }, "startUpdateVolume(domEvent)": function (obj) { return obj.startUpdateVolume(obj.domEvent); }, "progressUpdateVolume(domEvent)": function (obj) { return obj.progressUpdateVolume(obj.domEvent); }, "stopUpdateVolume(domEvent); this.blur()": function (obj) { return obj.stopUpdateVolume(obj.domEvent); this.blur(); }, "stopUpdateVolume(domEvent)": function (obj) { return obj.stopUpdateVolume(obj.domEvent); }, "{width: Math.ceil(1+Math.min(99, Math.round(volume * 100))) + '%'}": function (obj) { return {width: Math.ceil(1+Math.min(99, Math.round(obj.volume * 100))) + '%'}; }, "string('volume-button')": function (obj) { return obj.string('volume-button'); }, "toggle_volume()": function (obj) { return obj.toggle_volume(); }, "string(volume > 0 ? 'volume-mute' : 'volume-unmute')": function (obj) { return obj.string(obj.volume > 0 ? 'volume-mute' : 'volume-unmute'); }, "csscommon + '-icon-volume-' + (volume >= 0.5 ? 'up' : (volume > 0 ? 'down' : 'off'))": function (obj) { return obj.csscommon + '-icon-volume-' + (obj.volume >= 0.5 ? 'up' : (obj.volume > 0 ? 'down' : 'off')); }, "disableseeking ? cssplayer + '-disabled' : ''": function (obj) { return obj.disableseeking ? obj.cssplayer + '-disabled' : ''; }, "seek(position + skipseconds)": function (obj) { return obj.seek(obj.position + obj.skipseconds); }, "seek(position - skipseconds)": function (obj) { return obj.seek(obj.position - obj.skipseconds); }, "startUpdatePosition(domEvent)": function (obj) { return obj.startUpdatePosition(obj.domEvent); }, "{width: Math.round(duration ? cached / duration * 100 : 0) + '%'}": function (obj) { return {width: Math.round(obj.duration ? obj.cached / obj.duration * 100 : 0) + '%'}; }, "{width: Math.round(duration ? position / duration * 100 : 0) + '%'}": function (obj) { return {width: Math.round(obj.duration ? obj.position / obj.duration * 100 : 0) + '%'}; }, "string('video-progress')": function (obj) { return obj.string('video-progress'); }, "css": function (obj) { return obj.css; }, "{left: Math.round(duration && trimstart ? trimstart / duration * 100 : 0) + '%'}": function (obj) { return {left: Math.round(obj.duration && obj.trimstart ? obj.trimstart / obj.duration * 100 : 0) + '%'}; }, "{left: 'auto', right: 100 - Math.round(duration && trimend ? trimend / duration * 100 : 100) + '%'}": function (obj) { return {left: 'auto', right: 100 - Math.round(obj.duration && obj.trimend ? obj.trimend / obj.duration * 100 : 100) + '%'}; }/**/
      });
      Parser.registerFunctions({
          /**/"play()": function (obj) { return obj.play(); }, "tab_index_move(domEvent, null, 'player-toggle-overlay')": function (obj) { return obj.tab_index_move(obj.domEvent, null, 'player-toggle-overlay'); }, "cssplayer": function (obj) { return obj.cssplayer; }, "string('tooltip')": function (obj) { return obj.string('tooltip'); }, "showduration && (duration != 0 && duration != undefined)": function (obj) { return obj.showduration && (obj.duration != 0 && obj.duration != undefined); }, "css": function (obj) { return obj.css; }, "formatTime(duration)": function (obj) { return obj.formatTime(obj.duration); }, "rerecordable || submittable": function (obj) { return obj.rerecordable || obj.submittable; }, "submittable && !trimmingmode": function (obj) { return obj.submittable && !obj.trimmingmode; }, "submit()": function (obj) { return obj.submit(); }, "string('submit-video')": function (obj) { return obj.string('submit-video'); }, "rerecordable && !trimmingmode": function (obj) { return obj.rerecordable && !obj.trimmingmode; }, "rerecord()": function (obj) { return obj.rerecord(); }, "string('rerecord')": function (obj) { return obj.string('rerecord'); }, "trimmingmode": function (obj) { return obj.trimmingmode; }, "string('trim')": function (obj) { return obj.string('trim'); }, "skip()": function (obj) { return obj.skip(); }, "string('skip')": function (obj) { return obj.string('skip'); }/**/
      });
      return {
          "modern": {
              css: "ba-videoplayer",
              csstheme: "ba-player-theme-modern",
              cssplayer: "ba-player",
              tmplcontrolbar: "<div data-selector=\"video-title-block\" class=\"{{csstheme}}-title-container {{activitydelta > hidebarafter && hideoninactivity ? (cssplayer + '-dashboard-hidden') : ''}}\" ba-if=\"{{title}}\">\n\t<p class=\"{{csstheme}}-title\">\n\t\t{{title}}\n\t</p>\n</div>\n\n<div class=\"{{csstheme}}-dashboard {{activitydelta > hidebarafter && hideoninactivity ? (cssplayer + '-dashboard-hidden') : ''}}\">\n\n\t<div tabindex=\"0\" data-selector=\"submit-video-button\"\n\t\t ba-hotkey:space^enter=\"{{submit()}}\" onmouseout=\"this.blur()\"\n\t\t class=\"{{csstheme}}-leftbutton-container\"\n\t\t ba-if=\"{{submittable}}\" ba-click=\"{{submit()}}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner\">\n\t\t\t{{string('submit-video')}}\n\t\t</div>\n\t</div>\n\n\t<div tabindex=\"0\" data-selector=\"button-icon-ccw\"\n\t\t ba-hotkey:space^enter=\"{{rerecord()}}\" onmouseout=\"this.blur()\"\n\t\t class=\"{{csstheme}}-leftbutton-container\"\n\t\t ba-if=\"{{rerecordable}}\" ba-click=\"{{rerecord()}}\" title=\"{{string('rerecord-video')}}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner\">\n\t\t\t<i class=\"{{csscommon}}-icon-ccw\"></i>\n\t\t</div>\n\t</div>\n\n\t<div tabindex=\"{{skipinitial ? 0 : 1}}\" data-selector=\"button-icon-play\"\n\t\t ba-hotkey:space^enter=\"{{play()}}\" onmouseout=\"this.blur()\"\n\t\t onkeydown=\"{{tab_index_move(domEvent, null, 'button-icon-pause')}}\"\n\t\t class=\"{{csstheme}}-leftbutton-container\"\n\t\t ba-if=\"{{!playing}}\" ba-click=\"{{play()}}\" title=\"{{string('play-video')}}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner\">\n\t\t\t<i class=\"{{csscommon}}-icon-play\"></i>\n\t\t</div>\n\t</div>\n\n\t<div tabindex=\"{{skipinitial ? 0 : 1}}\" data-selector=\"button-icon-pause\"\n\t\t ba-hotkey:space^enter=\"{{pause()}}\" onmouseout=\"this.blur()\"\n\t\t onkeydown=\"{{tab_index_move(domEvent, null, 'button-icon-play')}}\"\n\t\t class=\"{{csstheme}}-leftbutton-container {{disablepause ? cssplayer + '-disabled' : ''}}\"\n\t\t ba-if=\"{{playing}}\" ba-click=\"{{pause()}}\" title=\"{{disablepause ? string('pause-video-disabled') : string('pause-video')}}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner\">\n\t\t\t<i class=\"{{csscommon}}-icon-pause\"></i>\n\t\t</div>\n\t</div>\n\t<div class=\"{{csstheme}}-time-container\">\n\t\t<div class=\"{{csstheme}}-time-value {{csscommon}}-clickable\" ba-click=\"{{toggle_position_info()}}\"\n\t\t\t title=\"{{revertposition ? string('remaining-time') : string('elapsed-time')}}\"\n\t\t>\n\t\t\t<span class=\"{{csstheme}}-time-position\">\n                {{(revertposition && duration > 0) ? \"-\" : \"\"}}\n\t\t\t\t{{(revertposition && duration > 0) ? formatTime(duration - position) : formatTime(position)}} /\n\t\t\t</span>{{formatTime(duration || position)}}\n\t\t</div>\n\t</div>\n\n\t<div tabindex=\"11\" class=\"{{csstheme}}-primary-button-container {{csstheme}}-rightbutton-container\" ba-if=\"{{trimmingmode}}\">\n\t\t<div data-selector=\"trim-button\"\n\t\t\t onmouseout=\"this.blur()\"\n\t\t\t ba-click=\"{{trim()}}\"\n\t\t\t class=\"{{csstheme}}-primary-button {{csstheme}}-button-inner\">\n\t\t\t {{string('trim-video')}}\n\t\t</div>\n\t</div>\n\n\t<div tabindex=\"11\" class=\"{{csstheme}}-primary-button-container {{csstheme}}-rightbutton-container\" ba-if=\"{{frameselectionmode}}\">\n\t\t<div data-selector=\"select-frame-button\"\n\t\t\t onmouseout=\"this.blur()\"\n\t\t\t ba-click=\"{{select_frame()}}\"\n\t\t\t class=\"{{csstheme}}-primary-button {{csstheme}}-button-inner\">\n\t\t\t {{string('select-frame')}}\n\t\t</div>\n\t</div>\n\n\t<div tabindex=\"10\" data-selector=\"button-icon-settings\"\n\t\t ba-hotkey:space^enter=\"{{toggle_settings_menu()}}\" onmouseout=\"this.blur()\"\n\t\t class=\"{{csstheme}}-rightbutton-container {{cssplayer}}-button-{{settingsmenuactive ? 'active' : 'inactive'}}\"\n\t\t ba-if=\"{{settingsmenubutton}}\" ba-click=\"{{toggle_settings_menu()}}\"\n\t\t title=\"{{string('settings')}}\"\n\t\t onkeydown=\"{{tab_index_move(domEvent)}}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner {{csstheme}}-settings-button\">\n\t\t\t<i class=\"{{csscommon}}-icon-cog\"></i>\n\t\t</div>\n\t</div>\n\n\t<div tabindex=\"9\" data-selector=\"cc-button-container\"\n\t\t ba-hotkey:space^enter=\"{{toggle_tracks()}}\" onmouseout=\"this.blur()\"\n\t\t ba-if=\"{{(tracktags.length > 0 && showsubtitlebutton) || allowtexttrackupload}}\"\n\t\t class=\"{{csstheme}}-rightbutton-container  {{cssplayer}}-button-{{tracktextvisible ? 'active' : 'inactive'}}\"\n\t\t title=\"{{tracktextvisible ? string('close-tracks') : string('show-tracks')}}\"\n\t\t ba-click=\"{{toggle_tracks()}}\"\n\t\t onmouseover=\"{{hover_cc(true)}}\"\n\t\t onmouseleave=\"{{hover_cc(false)}}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner {{csstheme}}-subtitle-button-inner\">\n\t\t\t<i class=\"{{csscommon}}-icon-subtitle\"></i>\n\t\t</div>\n\t</div>\n\n\n\t<div tabindex=\"8\" data-selector=\"button-icon-resize-full\"\n\t\t ba-hotkey:space^enter=\"{{toggle_fullscreen()}}\" onmouseout=\"this.blur()\"\n\t\t onkeydown=\"{{tab_index_move(domEvent)}}\"\n\t\t class=\"{{csstheme}}-rightbutton-container\"\n\t\t ba-if=\"{{fullscreen}}\" ba-click=\"{{toggle_fullscreen()}}\" title=\"{{ fullscreened ? string('exit-fullscreen-video') : string('fullscreen-video') }}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner {{csstheme}}-full-screen-btn-inner\">\n\t\t\t<i class=\"{{csscommon}}-icon-resize-{{fullscreened ? 'small' : 'full'}}\"></i>\n\t\t</div>\n\t</div>\n\n\t<div tabindex=\"7\" data-selector=\"button-airplay\"\n\t\t ba-hotkey:space^enter=\"{{show_airplay_devices()}}\" onmouseout=\"this.blur()\"\n\t\t class=\"{{csstheme}}-rightbutton-container {{cssplayer}}-airplay-container\" ba-show=\"{{airplaybuttonvisible}}\"\n\t\t ba-click=\"{{show_airplay_devices()}}\"\n\t>\n\t\t<svg width=\"16px\" height=\"11px\" viewBox=\"0 0 16 11\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n\t\t\t\n\t\t\t<title>Airplay</title>\n\t\t\t<desc>Airplay icon.</desc>\n\t\t\t<defs></defs>\n\t\t\t<g stroke=\"none\" stroke-width=\"1\" fill-rule=\"evenodd\" sketch:type=\"MSPage\">\n\t\t\t\t<path d=\"M4,11 L12,11 L8,7 L4,11 Z M14.5454545,0 L1.45454545,0 C0.654545455,0 0,0.5625 0,1.25 L0,8.75 C0,9.4375 0.654545455,10 1.45454545,10 L4.36363636,10 L4.36363636,8.75 L1.45454545,8.75 L1.45454545,1.25 L14.5454545,1.25 L14.5454545,8.75 L11.6363636,8.75 L11.6363636,10 L14.5454545,10 C15.3454545,10 16,9.4375 16,8.75 L16,1.25 C16,0.5625 15.3454545,0 14.5454545,0 L14.5454545,0 Z\" sketch:type=\"MSShapeGroup\"></path>\n\t\t\t</g>\n\t\t</svg>\n\t</div>\n\n\t<div data-selector=\"button-chromecast\" class=\"{{csstheme}}-rightbutton-container {{csstheme}}-cast-button-container\" ba-show=\"{{castbuttonvisble}}\">\n\t\t<button tabindex=\"6\" class=\"{{csstheme}}-gcast-button\" is=\"google-cast-button\"></button>\n\t</div>\n\n\t<div tabindex=\"5\" data-selector=\"button-stream-label\"\n\t\t ba-hotkey:space^enter=\"{{toggle_stream()}}\" onmouseout=\"this.blur()\"\n\t\t class=\"{{csstheme}}-rightbutton-container\" ba-if=\"{{streams.length > 1 && currentstream}}\"\n\t\t ba-click=\"{{toggle_stream()}}\" title=\"{{string('change-resolution')}}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner\">\n\t\t\t<span class=\"{{csstheme}}-button-text\">{{currentstream_label}}</span>\n\t\t</div>\n\t</div>\n\n\t<div class=\"{{csstheme}}-volumebar\" ba-show=\"{{!hidevolumebar}}\">\n\t\t<div tabindex=\"4\" data-selector=\"button-volume-bar\"\n\t\t\t ba-hotkey:right=\"{{set_volume(volume + 0.1)}}\"\n\t\t\t ba-hotkey:left=\"{{set_volume(volume - 0.1)}}\"\n\t\t\t onmouseout=\"this.blur()\"\n\t\t\t class=\"{{csstheme}}-volumebar-inner\"\n\t\t\t ontouchstart=\"{{startUpdateVolume(domEvent)}}\"\n\t\t\t ontouchmove=\"{{progressUpdateVolume(domEvent)}}\"\n\t\t\t ontouchend=\"{{stopUpdateVolume(domEvent); this.blur()}};\"\n\t\t\t onmousedown=\"{{startUpdateVolume(domEvent)}}\"\n\t\t\t onmouseup=\"{{stopUpdateVolume(domEvent)}}\"\n\t\t\t onmouseleave=\"{{stopUpdateVolume(domEvent)}}\"\n\t\t\t onmousemove=\"{{progressUpdateVolume(domEvent)}}\"\n\t\t>\n\t\t\t<div class=\"{{csstheme}}-volumebar-position\" ba-styles=\"{{{width: Math.ceil(1+Math.min(99, Math.round(volume * 100))) + '%'}}}\" title=\"{{string('volume-button')}}\"></div>\n\t\t</div>\n\t</div>\n\n\t<div tabindex=\"3\" data-selector=\"button-icon-volume\"\n\t\t ba-hotkey:space^enter=\"{{toggle_volume()}}\" onmouseout=\"this.blur()\"\n\t\t class=\"{{csstheme}}-rightbutton-container {{csstheme}}-volume-button-container\"\n\t\t ba-click=\"{{toggle_volume()}}\" title=\"{{string(volume > 0 ? 'volume-mute' : 'volume-unmute')}}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner\">\n\t\t\t<i class=\"{{csscommon + '-icon-volume-' + (volume >= 0.5 ? 'up' : (volume > 0 ? 'down' : 'off')) }}\"></i>\n\t\t</div>\n\t</div>\n\n\t<div class=\"{{csstheme}}-progressbar {{disableseeking ? cssplayer + '-disabled' : ''}}\">\n\t\t<div tabindex=\"2\" data-selector=\"progress-bar-inner\"\n\t\t\t ba-hotkey:right=\"{{seek(position + skipseconds)}}\"\n\t\t\t ba-hotkey:left=\"{{seek(position - skipseconds)}}\"\n\t\t\t onmouseout=\"this.blur()\"\n\t\t\t class=\"{{csstheme}}-progressbar-inner\"\n\t\t\t ontouchstart=\"{{startUpdatePosition(domEvent)}}\"\n\t\t\t onmousedown=\"{{startUpdatePosition(domEvent)}}\"\n\t\t>\n\t\t\t<div class=\"{{csstheme}}-progressbar-cache\" ba-styles=\"{{{width: Math.round(duration ? cached / duration * 100 : 0) + '%'}}}\"></div>\n\t\t\t<div class=\"{{csstheme}}-progressbar-position\" ba-styles=\"{{{width: Math.round(duration ? position / duration * 100 : 0) + '%'}}}\" title=\"{{string('video-progress')}}\"></div>\n\t\t\t<div class=\"{{css}}-progressbar-marker\"\n\t\t\t\tdata-selector=\"trim-start-marker\"\n\t\t\t\tba-if=\"{{trimmingmode}}\"\n\t\t\t\tba-styles=\"{{{left: Math.round(duration && trimstart ? trimstart / duration * 100 : 0) + '%'}}}\"\n\t\t\t></div>\n\t\t\t<div class=\"{{css}}-progressbar-marker\"\n\t\t\t\tdata-selector=\"trim-end-marker\"\n\t\t\t\tba-if=\"{{trimmingmode}}\"\n\t\t\t\tba-styles=\"{{{left: 'auto', right: 100 - Math.round(duration && trimend ? trimend / duration * 100 : 100) + '%'}}}\"\n\t\t\t></div>\n\t\t</div>\n\t</div>\n",
              tmplplaybutton: "\n<div tabindex=\"0\" data-selector=\"play-button\"\n     ba-hotkey:space^enter=\"{{play()}}\" onmouseout=\"this.blur()\"\n     onkeydown=\"{{tab_index_move(domEvent, null, 'player-toggle-overlay')}}\"\n     class=\"{{cssplayer}}-playbutton-container\" ba-click=\"{{play()}}\" title=\"{{string('tooltip')}}\"\n>\n\t<div class=\"{{cssplayer}}-playbutton-button\"></div>\n</div>\n<div ba-show=\"{{showduration && (duration != 0 && duration != undefined)}}\" class=\"{{css}}-playbutton-duration\">\n    {{formatTime(duration)}}\n</div>\n\n<div class=\"{{cssplayer}}-rerecord-bar\" ba-if=\"{{rerecordable || submittable}}\">\n\t<div class=\"{{cssplayer}}-rerecord-backbar\"></div>\n\t<div class=\"{{cssplayer}}-rerecord-frontbar\">\n        <div class=\"{{cssplayer}}-rerecord-button-container\" ba-if=\"{{submittable && !trimmingmode}}\">\n            <div tabindex=\"0\" data-selector=\"player-submit-button\"\n                 ba-hotkey:space^enter=\"{{submit()}}\" onmouseout=\"this.blur()\"\n                 class=\"{{cssplayer}}-rerecord-button\" onclick=\"{{submit()}}\">\n                {{string('submit-video')}}\n            </div>\n        </div>\n        <div class=\"{{cssplayer}}-rerecord-button-container\" ba-if=\"{{rerecordable && !trimmingmode}}\">\n        \t<div tabindex=\"0\" data-selector=\"player-rerecord-button\"\n                 ba-hotkey:space^enter=\"{{rerecord()}}\" onmouseout=\"this.blur()\"\n                 class=\"{{cssplayer}}-rerecord-button\" onclick=\"{{rerecord()}}\">\n        \t\t{{string('rerecord')}}\n        \t</div>\n        </div>\n        <div class=\"{{cssplayer}}-rerecord-button-container\" ba-if=\"{{trimmingmode}}\">\n        \t<div tabindex=\"0\" data-selector=\"player-trim-button\"\n                 ba-hotkey:space^enter=\"{{play()}}\" onmouseout=\"this.blur()\"\n                 class=\"{{cssplayer}}-rerecord-button\" onclick=\"{{play()}}\">\n        \t\t{{string('trim')}}\n        \t</div>\n        </div>\n        <div class=\"{{cssplayer}}-rerecord-button-container\" ba-if=\"{{trimmingmode}}\">\n        \t<div tabindex=\"0\" data-selector=\"player-skip-button\"\n                 ba-hotkey:space^enter=\"{{skip()}}\" onmouseout=\"this.blur()\"\n                 class=\"{{cssplayer}}-rerecord-button\" onclick=\"{{skip()}}\">\n        \t\t{{string('skip')}}\n        \t</div>\n        </div>\n\t</div>\n</div>\n",
              cssloader: ie8 ? "ba-videoplayer" : "",
              cssmessage: "ba-videoplayer",
              cssplaybutton: ie8 ? "ba-videoplayer" : ""
          }
      };
  });
  Scoped.extend("module:Assets.recorderthemes", [
      "dynamics:Parser"
  ], function(Parser) {
      Parser.registerFunctions({
          /**/"css": function (obj) { return obj.css; }, "initialmessages.length > 0": function (obj) { return obj.initialmessages.length > 0; }, "csscommon": function (obj) { return obj.csscommon; }, "initialmessages": function (obj) { return obj.initialmessages; }, "initialmessage.message": function (obj) { return obj.initialmessage.message; }, "initialmessage.type ? initialmessage.type : 'default'": function (obj) { return obj.initialmessage.type ? obj.initialmessage.type : 'default'; }, "initialmessage.id": function (obj) { return obj.initialmessage.id; }, "actions.first().get('icon')": function (obj) { return obj.actions.first().get('icon'); }, "actions": function (obj) { return obj.actions; }, "click_action(action)": function (obj) { return obj.click_action(obj.action); }, "action.index": function (obj) { return obj.action.index; }, "action.select && action.capture": function (obj) { return obj.action.select && obj.action.capture; }, "select_file_action(action, domEvent)": function (obj) { return obj.select_file_action(obj.action, obj.domEvent); }, "action.accept": function (obj) { return obj.action.accept; }, "action.select && !action.capture": function (obj) { return obj.action.select && !obj.action.capture; }, "action.label": function (obj) { return obj.action.label; }/**/
      });
      return {
          "modern": {
              css: "ba-videorecorder",
              csstheme: "ba-recorder-theme-modern",
              cssrecorder: "ba-recorder",
              cssloader: "ba-videorecorder",
              tmplchooser: "<div class=\"{{css}}-chooser-container\">\n\t<div ba-if=\"{{initialmessages.length > 0}}\" class=\"{{csscommon}}-message-container\">\n\t\t<ul ba-repeat=\"{{initialmessage :: initialmessages}}\">\n\t\t\t<li ba-if=\"{{initialmessage.message}}\"\n\t\t\t\tclass=\"{{csscommon}}-message-text {{csscommon}}-message-{{initialmessage.type ? initialmessage.type : 'default'}}\"\n\t\t\t>\n\t\t\t\t{{ initialmessage.message }}\n\t\t\t\t<span ba-if=\"{{initialmessage.id}}\"\n\t\t\t\t\t  class=\"{{csscommon}}-action-button\"\n\t\t\t\t\t  ba-click=\"close_message(initialmessage.id)\"\n\t\t\t\t>\n\t\t\t\t\t<i class=\"{{csscommon}}-icon-cancel\"></i>\n\t\t\t\t</span>\n\t\t\t</li>\n\t\t</ul>\n\t</div>\n\n\t<div class=\"{{css}}-chooser-button-container\">\n\n\t\t<div class=\"{{css}}-chooser-icon-container\">\n\t\t\t<i class=\"{{csscommon}}-icon-{{actions.first().get('icon')}}\"></i>\n\t\t</div>\n\t\t<div ba-repeat=\"{{action :: actions}}\">\n\t\t\t<div tabindex=\"0\"\n\t\t\t\tba-hotkey:space^enter=\"{{click_action(action)}}\" onmouseout=\"this.blur()\"\n\t\t\t\t class=\"{{css}}-chooser-button-{{action.index}}\"\n\t\t\t\t ba-click=\"{{click_action(action)}}\"\n\t\t\t>\n\t\t\t\t<input ba-if=\"{{action.select && action.capture}}\"\n\t\t\t\t\t   type=\"file\"\n\t\t\t\t\t   class=\"{{css}}-chooser-file\"\n\t\t\t\t\t   onchange=\"{{select_file_action(action, domEvent)}}\"\n\t\t\t\t\t   accept=\"{{action.accept}}\"\n\t\t\t\t\t   capture />\n\t\t\t\t<input ba-if=\"{{action.select && !action.capture}}\"\n\t\t\t\t\t   type=\"file\"\n\t\t\t\t\t   class=\"{{css}}-chooser-file\"\n\t\t\t\t\t   onchange=\"{{select_file_action(action, domEvent)}}\"\n\t\t\t\t\t   accept=\"{{action.accept}}\"\n\t\t\t\t/>\n\t\t\t\t<span>\n\t\t\t\t\t{{action.label}}\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n"
          }
      };
  });
  Scoped.extend("module:Assets.imageviewerthemes", [
      "browser:Info",
      "dynamics:Parser"
  ], function(Info, Parser) {
      var ie8 = Info.isInternetExplorer() && Info.internetExplorerVersion() <= 8;
      Parser.registerFunctions({
          /**/"css": function (obj) { return obj.css; }, "activitydelta > 5000 && hideoninactivity ? (css + '-dashboard-hidden') : ''": function (obj) { return obj.activitydelta > 5000 && obj.hideoninactivity ? (obj.css + '-dashboard-hidden') : ''; }, "title": function (obj) { return obj.title; }, "submit()": function (obj) { return obj.submit(); }, "submittable": function (obj) { return obj.submittable; }, "string('submit-image')": function (obj) { return obj.string('submit-image'); }, "rerecord()": function (obj) { return obj.rerecord(); }, "rerecordable": function (obj) { return obj.rerecordable; }, "string('rerecord-image')": function (obj) { return obj.string('rerecord-image'); }, "csscommon": function (obj) { return obj.csscommon; }, "toggle_fullscreen()": function (obj) { return obj.toggle_fullscreen(); }, "tab_index_move(domEvent)": function (obj) { return obj.tab_index_move(obj.domEvent); }, "fullscreen": function (obj) { return obj.fullscreen; }, "fullscreened ? string('exit-fullscreen-image') : string('fullscreen-image')": function (obj) { return obj.fullscreened ? obj.string('exit-fullscreen-image') : obj.string('fullscreen-image'); }, "fullscreened ? 'small' : 'full'": function (obj) { return obj.fullscreened ? 'small' : 'full'; }/**/
      });
      return {
          "modern": {
              css: "ba-imageviewer",
              csstheme: "ba-imageviewer-theme-modern",
              tmplcontrolbar: "<div data-selector=\"image-title-block\" class=\"{{css}}-image-title-container {{activitydelta > 5000 && hideoninactivity ? (css + '-dashboard-hidden') : ''}}\" ba-if=\"{{title}}\">\n\t<p class=\"{{css}}-image-title\">\n\t\t{{title}}\n\t</p>\n</div>\n\n<div class=\"{{css}}-dashboard {{activitydelta > 5000 && hideoninactivity ? (css + '-dashboard-hidden') : ''}}\">\n\n    <div tabindex=\"0\" data-selector=\"submit-image-button\"\n\t\t ba-hotkey:space^enter=\"{{submit()}}\" onmouseout=\"this.blur()\"\n\t\t class=\"{{css}}-leftbutton-container\"\n\t\t ba-if=\"{{submittable}}\" ba-click=\"{{submit()}}\"\n\t>\n        <div class=\"{{css}}-button-inner\">\n        \t{{string('submit-image')}}\n        </div>\n    </div>\n\n    <div tabindex=\"0\" data-selector=\"button-icon-ccw\"\n\t\t ba-hotkey:space^enter=\"{{rerecord()}}\" onmouseout=\"this.blur()\"\n\t\t class=\"{{css}}-leftbutton-container\"\n\t\t ba-if=\"{{rerecordable}}\" ba-click=\"{{rerecord()}}\" title=\"{{string('rerecord-image')}}\"\n\t>\n    \t<div class=\"{{css}}-button-inner\">\n    \t\t<i class=\"{{csscommon}}-icon-ccw\"></i>\n    \t</div>\n    </div>\n\n\t<div tabindex=\"8\" data-selector=\"button-icon-resize-full\"\n\t\t ba-hotkey:space^enter=\"{{toggle_fullscreen()}}\" onmouseout=\"this.blur()\"\n\t\t onkeydown=\"{{tab_index_move(domEvent)}}\"\n\t\t class=\"{{css}}-rightbutton-container\"\n\t\tba-if=\"{{fullscreen}}\" ba-click=\"{{toggle_fullscreen()}}\" title=\"{{ fullscreened ? string('exit-fullscreen-image') : string('fullscreen-image') }}\"\n\t>\n\t\t<div class=\"{{css}}-button-inner {{css}}-full-screen-btn-inner\">\n\t\t\t<i class=\"{{csscommon}}-icon-resize-{{fullscreened ? 'small' : 'full'}}\"></i>\n\t\t</div>\n\t</div>\n\n\n</div>\n",
              cssloader: ie8 ? "ba-imageviewer" : "",
              cssmessage: "ba-imageviewer"
          }
      };
  });
  Scoped.extend("module:Assets.audioplayerthemes", [
      "browser:Info",
      "dynamics:Parser"
  ], function(Info, Parser) {
      var ie8 = Info.isInternetExplorer() && Info.internetExplorerVersion() <= 8;
      Parser.registerFunctions({
          /**/"csstheme": function (obj) { return obj.csstheme; }, "title": function (obj) { return obj.title; }, "submit()": function (obj) { return obj.submit(); }, "submittable": function (obj) { return obj.submittable; }, "string('submit-audio')": function (obj) { return obj.string('submit-audio'); }, "rerecord()": function (obj) { return obj.rerecord(); }, "rerecordable": function (obj) { return obj.rerecordable; }, "string('rerecord-audio')": function (obj) { return obj.string('rerecord-audio'); }, "csscommon": function (obj) { return obj.csscommon; }, "play()": function (obj) { return obj.play(); }, "tab_index_move(domEvent, null, 'button-icon-pause')": function (obj) { return obj.tab_index_move(obj.domEvent, null, 'button-icon-pause'); }, "!playing": function (obj) { return !obj.playing; }, "string('play-audio')": function (obj) { return obj.string('play-audio'); }, "pause()": function (obj) { return obj.pause(); }, "tab_index_move(domEvent, null, 'button-icon-play')": function (obj) { return obj.tab_index_move(obj.domEvent, null, 'button-icon-play'); }, "disablepause ? cssplayer + '-disabled' : ''": function (obj) { return obj.disablepause ? obj.cssplayer + '-disabled' : ''; }, "playing": function (obj) { return obj.playing; }, "disablepause ? string('pause-audio-disabled') : string('pause-audio')": function (obj) { return obj.disablepause ? obj.string('pause-audio-disabled') : obj.string('pause-audio'); }, "string('elapsed-time')": function (obj) { return obj.string('elapsed-time'); }, "formatTime(position)": function (obj) { return obj.formatTime(obj.position); }, "formatTime(duration || position)": function (obj) { return obj.formatTime(obj.duration || obj.position); }, "set_volume(volume + 0.1)": function (obj) { return obj.set_volume(obj.volume + 0.1); }, "set_volume(volume - 0.1)": function (obj) { return obj.set_volume(obj.volume - 0.1); }, "startUpdateVolume(domEvent)": function (obj) { return obj.startUpdateVolume(obj.domEvent); }, "stopUpdateVolume(domEvent)": function (obj) { return obj.stopUpdateVolume(obj.domEvent); }, "progressUpdateVolume(domEvent)": function (obj) { return obj.progressUpdateVolume(obj.domEvent); }, "{width: Math.ceil(1+Math.min(99, Math.round(volume * 100))) + '%'}": function (obj) { return {width: Math.ceil(1+Math.min(99, Math.round(obj.volume * 100))) + '%'}; }, "string('volume-button')": function (obj) { return obj.string('volume-button'); }, "toggle_volume()": function (obj) { return obj.toggle_volume(); }, "string(volume > 0 ? 'volume-mute' : 'volume-unmute')": function (obj) { return obj.string(obj.volume > 0 ? 'volume-mute' : 'volume-unmute'); }, "csscommon + '-icon-volume-' + (volume >= 0.5 ? 'up' : (volume > 0 ? 'down' : 'off'))": function (obj) { return obj.csscommon + '-icon-volume-' + (obj.volume >= 0.5 ? 'up' : (obj.volume > 0 ? 'down' : 'off')); }, "disableseeking ? cssplayer + '-disabled' : ''": function (obj) { return obj.disableseeking ? obj.cssplayer + '-disabled' : ''; }, "seek(position + skipseconds)": function (obj) { return obj.seek(obj.position + obj.skipseconds); }, "seek(position - skipseconds)": function (obj) { return obj.seek(obj.position - obj.skipseconds); }, "startUpdatePosition(domEvent)": function (obj) { return obj.startUpdatePosition(obj.domEvent); }, "stopUpdatePosition(domEvent)": function (obj) { return obj.stopUpdatePosition(obj.domEvent); }, "progressUpdatePosition(domEvent)": function (obj) { return obj.progressUpdatePosition(obj.domEvent); }, "{width: Math.round(duration ? cached / duration * 100 : 0) + '%'}": function (obj) { return {width: Math.round(obj.duration ? obj.cached / obj.duration * 100 : 0) + '%'}; }, "{width: Math.round(duration ? position / duration * 100 : 0) + '%'}": function (obj) { return {width: Math.round(obj.duration ? obj.position / obj.duration * 100 : 0) + '%'}; }, "string('audio-progress')": function (obj) { return obj.string('audio-progress'); }/**/
      });
      return {
          "modern": {
              css: "ba-audioplayer",
              csstheme: "ba-player-theme-modern",
              tmplcontrolbar: "<div data-selector=\"audio-title-block\" class=\"{{csstheme}}-title-container \" ba-if=\"{{title}}\">\n\t<p class=\"{{csstheme}}-title\">\n\t\t{{title}}\n\t</p>\n</div>\n\n<div class=\"{{csstheme}}-dashboard \">\n\n    <div tabindex=\"0\" data-selector=\"submit-audio-button\"\n\t\t ba-hotkey:space^enter=\"{{submit()}}\" onmouseout=\"this.blur()\"\n\t\t class=\"{{csstheme}}-leftbutton-container\"\n\t\t ba-if=\"{{submittable}}\" ba-click=\"{{submit()}}\"\n\t>\n        <div class=\"{{csstheme}}-button-inner\">\n        \t{{string('submit-audio')}}\n        </div>\n    </div>\n\n    <div tabindex=\"0\" data-selector=\"button-icon-ccw\"\n\t\t ba-hotkey:space^enter=\"{{rerecord()}}\" onmouseout=\"this.blur()\"\n\t\t class=\"{{csstheme}}-leftbutton-container\"\n\t\t ba-if=\"{{rerecordable}}\" ba-click=\"{{rerecord()}}\" title=\"{{string('rerecord-audio')}}\"\n\t>\n    \t<div class=\"{{csstheme}}-button-inner\">\n    \t\t<i class=\"{{csscommon}}-icon-ccw\"></i>\n    \t</div>\n    </div>\n\n\t<div tabindex=\"0\" data-selector=\"button-icon-play\"\n\t\t ba-hotkey:space^enter=\"{{play()}}\" onmouseout=\"this.blur()\"\n\t\t onkeydown=\"{{tab_index_move(domEvent, null, 'button-icon-pause')}}\"\n\t\t class=\"{{csstheme}}-leftbutton-container\"\n\t\t ba-if=\"{{!playing}}\" ba-click=\"{{play()}}\" title=\"{{string('play-audio')}}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner\">\n\t\t\t<i class=\"{{csscommon}}-icon-play\"></i>\n\t\t</div>\n\t</div>\n\n\t<div tabindex=\"0\" data-selector=\"button-icon-pause\"\n\t\t ba-hotkey:space^enter=\"{{pause()}}\" onmouseout=\"this.blur()\"\n\t\t onkeydown=\"{{tab_index_move(domEvent, null, 'button-icon-play')}}\"\n\t\t class=\"{{csstheme}}-leftbutton-container {{disablepause ? cssplayer + '-disabled' : ''}}\"\n\t\t ba-if=\"{{playing}}\" ba-click=\"{{pause()}}\" title=\"{{disablepause ? string('pause-audio-disabled') : string('pause-audio')}}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner\">\n\t\t\t<i class=\"{{csscommon}}-icon-pause\"></i>\n\t\t</div>\n\t</div>\n\t<div class=\"{{csstheme}}-time-container\">\n\t\t<div class=\"{{csstheme}}-time-value\" title=\"{{string('elapsed-time')}}\">{{formatTime(position)}}/{{formatTime(duration || position)}}</div>\n\t</div>\n\n\n\t<div class=\"{{csstheme}}-volumebar\">\n\t\t<div tabindex=\"4\" data-selector=\"button-volume-bar\"\n\t\t\t ba-hotkey:right=\"{{set_volume(volume + 0.1)}}\"\n\t\t\t ba-hotkey:left=\"{{set_volume(volume - 0.1)}}\"\n\t\t\t onmouseout=\"this.blur()\"\n\t\t\t class=\"{{csstheme}}-volumebar-inner\"\n\t\t\t onmousedown=\"{{startUpdateVolume(domEvent)}}\"\n\t\t\t onmouseup=\"{{stopUpdateVolume(domEvent)}}\"\n\t\t\t onmouseleave=\"{{stopUpdateVolume(domEvent)}}\"\n\t\t\t onmousemove=\"{{progressUpdateVolume(domEvent)}}\"\n\t\t>\n\t\t\t<div class=\"{{csstheme}}-volumebar-position\" ba-styles=\"{{{width: Math.ceil(1+Math.min(99, Math.round(volume * 100))) + '%'}}}\" title=\"{{string('volume-button')}}\"></div>\n\t\t</div>\n\t</div>\n\n\t<div tabindex=\"3\" data-selector=\"button-icon-volume\"\n\t\t ba-hotkey:space^enter=\"{{toggle_volume()}}\" onmouseout=\"this.blur()\"\n\t\t class=\"{{csstheme}}-rightbutton-container {{csstheme}}-volume-button-container\"\n\t\t ba-click=\"{{toggle_volume()}}\" title=\"{{string(volume > 0 ? 'volume-mute' : 'volume-unmute')}}\"\n\t>\n\t\t<div class=\"{{csstheme}}-button-inner\">\n\t\t\t<i class=\"{{csscommon + '-icon-volume-' + (volume >= 0.5 ? 'up' : (volume > 0 ? 'down' : 'off')) }}\"></i>\n\t\t</div>\n\t</div>\n\n\t<div class=\"{{csstheme}}-progressbar {{disableseeking ? cssplayer + '-disabled' : ''}}\">\n\t\t<div tabindex=\"2\" data-selector=\"progress-bar-inner\"\n\t\t\t ba-hotkey:right=\"{{seek(position + skipseconds)}}\"\n\t\t\t ba-hotkey:left=\"{{seek(position - skipseconds)}}\"\n\t\t\t onmouseout=\"this.blur()\"\n\t\t\t class=\"{{csstheme}}-progressbar-inner\"\n\t\t     onmousedown=\"{{startUpdatePosition(domEvent)}}\"\n\t\t     onmouseup=\"{{stopUpdatePosition(domEvent)}}\"\n\t\t     onmouseleave=\"{{stopUpdatePosition(domEvent)}}\"\n\t\t     onmousemove=\"{{progressUpdatePosition(domEvent)}}\"\n\t\t>\n\t\t<div class=\"{{csstheme}}-progressbar-cache\" ba-styles=\"{{{width: Math.round(duration ? cached / duration * 100 : 0) + '%'}}}\"></div>\n\t\t<div class=\"{{csstheme}}-progressbar-position\" ba-styles=\"{{{width: Math.round(duration ? position / duration * 100 : 0) + '%'}}}\" title=\"{{string('audio-progress')}}\"></div>\n\t</div>\n</div>\n",
              cssloader: ie8 ? "ba-audioplayer" : "",
              cssmessage: "ba-audioplayer",
              cssplaybutton: ie8 ? "ba-audioplayer" : ""
          }
      };
  });
  Scoped.extend("module:Assets.audiorecorderthemes", [
      "dynamics:Parser"
  ], function(Parser) {
      Parser.registerFunctions({
          /**/"css": function (obj) { return obj.css; }, "csscommon": function (obj) { return obj.csscommon; }, "actions.first().get('icon')": function (obj) { return obj.actions.first().get('icon'); }, "actions": function (obj) { return obj.actions; }, "click_action(action)": function (obj) { return obj.click_action(obj.action); }, "action.index": function (obj) { return obj.action.index; }, "action.select && action.capture": function (obj) { return obj.action.select && obj.action.capture; }, "select_file_action(action, domEvent)": function (obj) { return obj.select_file_action(obj.action, obj.domEvent); }, "action.accept": function (obj) { return obj.action.accept; }, "action.select && !action.capture": function (obj) { return obj.action.select && !obj.action.capture; }, "action.label": function (obj) { return obj.action.label; }/**/
      });
      return {
          "modern": {
              css: "ba-audiorecorder",
              csstheme: "ba-audiorecorder-theme-modern",
              cssrecorder: "ba-recorder",
              //            cssmessage: "ba-audiorecorder",
              cssloader: "ba-audiorecorder",
              tmplchooser: "<div class=\"{{css}}-chooser-container\">\n\n\t<div class=\"{{css}}-chooser-button-container\">\n\n\t\t<div class=\"{{css}}-chooser-icon-container\">\n\t\t\t<i class=\"{{csscommon}}-icon-{{actions.first().get('icon')}}\"></i>\n\t\t</div>\n\t\t<div ba-repeat=\"{{action :: actions}}\">\n\t\t\t<div tabindex=\"0\"\n\t\t\t\tba-hotkey:space^enter=\"{{click_action(action)}}\" onmouseout=\"this.blur()\"\n\t\t\t\t class=\"{{css}}-chooser-button-{{action.index}}\"\n\t\t\t\t ba-click=\"{{click_action(action)}}\"\n\t\t\t>\n\t\t\t\t<input ba-if=\"{{action.select && action.capture}}\"\n\t\t\t\t\t   type=\"file\"\n\t\t\t\t\t   class=\"{{css}}-chooser-file\"\n\t\t\t\t\t   onchange=\"{{select_file_action(action, domEvent)}}\"\n\t\t\t\t\t   accept=\"{{action.accept}}\"\n\t\t\t\t\t   capture />\n\t\t\t\t<input ba-if=\"{{action.select && !action.capture}}\"\n\t\t\t\t\t   type=\"file\"\n\t\t\t\t\t   class=\"{{css}}-chooser-file\"\n\t\t\t\t\t   onchange=\"{{select_file_action(action, domEvent)}}\"\n\t\t\t\t\t   accept=\"{{action.accept}}\"\n\t\t\t\t/>\n\t\t\t\t<span>\n\t\t\t\t\t{{action.label}}\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n"
          }
      };
  });
  }).call(Scoped);