web/static-dist/audioactivity/js/create/index.js
(开头部分) 51KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
!function(e){function t(a,i){if(n[a])return n[a].exports;var o={i:a,l:!1,exports:{}};return 0!=i&&(n[a]=o),e[a].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/static-dist/",t(t.s="06e4ca893307d76ef486")}({0:function(e,t){e.exports=jQuery},"06e4ca893307d76ef486":function(e,t,n){"use strict";var a=n("b89384f06ad1b460f60a");new(function(e){return e&&e.__esModule?e:{default:e}}(a).default)},"07a3448be5f694cdee04":function(e,t,n){e.exports=!n("457939c2e15065e32401")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"0b694393054432e469b8":function(e,t,n){n("9f5e733705cd16698cdf"),n("bdf846462d003d52f301"),e.exports=n("d774351f3de1bfcb23b1").f("iterator")},"0b7e406830a62ea861ca":function(e,t,n){var a=n("d30516674aade65150d3");a(a.S+a.F,"Object",{assign:n("73d9129a636d63c0b81a")})},"0c548c58e5c2525997c4":function(e,t,n){var a=n("dfa76e0e7e55e0febf1e"),i=n("25264dbf4ec8cd0a39ef").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return a(e,i)}},"0e6d1c03aac99b65ccb1":function(e,t){t.f={}.propertyIsEnumerable},"10f5bc3e6ad5971b57b0":function(e,t,n){var a=n("26b2cb950fcc43474957"),i=Math.min;e.exports=function(e){return e>0?i(a(e),9007199254740991):0}},"11f30f0d206e0327acdc":function(e,t){var n=0,a=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+a).toString(36))}},"14126b102a8a946146ae":function(e,t,n){var a=n("6c3dda553b2c45fd2161"),i=n("636e90758df583c6551d"),o=n("25264dbf4ec8cd0a39ef"),r=n("6b7c061c8481ac422c8d")("IE_PROTO"),c=function(){},s=function(){var e,t=n("1b58d36ee38e47f1c490")("iframe"),a=o.length;for(t.style.display="none",n("b24a8b38059690cfe907").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;a--;)delete s.prototype[o[a]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=a(e),n=new c,c.prototype=null,n[r]=e):n=s(),void 0===t?n:i(n,t)}},"14f78623669da6cd31fb":function(e,t,n){e.exports={default:n("d20d203b1afbc1b63c60"),__esModule:!0}},"17c25dd7d9d2615bc1d9":function(e,t){function n(e){if(e)return a(e)}function a(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}e.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=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 a,i=0;i<n.length;i++)if((a=n[i])===t||a.fn===t){n.splice(i,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n){n=n.slice(0);for(var a=0,i=n.length;a<i;++a)n[a].apply(this,t)}return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},"1b58d36ee38e47f1c490":function(e,t,n){var a=n("f31cab22762bc6afaacb"),i=n("f27a607058b9cc8c5827").document,o=a(i)&&a(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"1ff717687cc04d94af8f":function(e,t,n){"use strict";t.__esModule=!0;var a=n("4dd0dc4a22e4189b3c4e"),i=function(e){return e&&e.__esModule?e:{default:e}}(a);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},"25264dbf4ec8cd0a39ef":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"26b2cb950fcc43474957":function(e,t){var n=Math.ceil,a=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?a:n)(e)}},"28961578f2ab360128a8":function(e,t,n){var a=n("f27a607058b9cc8c5827"),i=n("99ec8b6ce9e8b820539a"),o=n("dff9362b82bd4eafdef8"),r=n("d774351f3de1bfcb23b1"),c=n("30373b8543ac2ca8f199").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:a.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:r.f(e)})}},"2be1a6d982f843e91a8a":function(e,t,n){var a=n("99ec8b6ce9e8b820539a"),i=n("f27a607058b9cc8c5827"),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:a.version,mode:n("dff9362b82bd4eafdef8")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"2becabd90e65528fbb02":function(e,t,n){var a=n("d30516674aade65150d3");a(a.S+a.F*!n("07a3448be5f694cdee04"),"Object",{defineProperty:n("30373b8543ac2ca8f199").f})},"30373b8543ac2ca8f199":function(e,t,n){var a=n("6c3dda553b2c45fd2161"),i=n("bb82a2b96f436781c23d"),o=n("5a32a62db759afe4c196"),r=Object.defineProperty;t.f=n("07a3448be5f694cdee04")?Object.defineProperty:function(e,t,n){if(a(e),t=o(t,!0),a(n),i)try{return r(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"366bb7cb002c95738a25":function(e,t,n){e.exports={default:n("0b694393054432e469b8"),__esModule:!0}},"373811bb5ca99f7bf840":function(e,t){t.f=Object.getOwnPropertySymbols},"3b1883fc74dc0f9509af":function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n("6d9fdbdb2252f19cbf17"),o=a(i),r=n("14f78623669da6cd31fb"),c=a(r),s=n("4dd0dc4a22e4189b3c4e"),f=a(s);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,f.default)(t)));e.prototype=(0,c.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o.default?(0,o.default)(e,t):e.__proto__=t)}},"4373c1ac6d15a5b2dd1f":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"44cc46f02a04db587394":function(e,t,n){"use strict";var a=n("dff9362b82bd4eafdef8"),i=n("d30516674aade65150d3"),o=n("98e158dcbb7a6f824611"),r=n("f9e595817d8b54ee32b8"),c=n("ed94c6ffbb2bc6323c97"),s=n("d6e9c43d4248c3dfedec"),f=n("cb274a31409742acdaf8"),d=n("b96d3c311cc0f6a5337c"),l=n("79f39f38b3e53642baf4")("iterator"),u=!([].keys&&"next"in[].keys()),b=function(){return this};e.exports=function(e,t,n,p,h,v,g){s(n,t,p);var y,m,_,w=function(e){if(!u&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},$=t+" Iterator",k="values"==h,x=!1,S=e.prototype,O=S[l]||S["@@iterator"]||h&&S[h],j=O||w(h),C=h?k?w("entries"):j:void 0,P="Array"==t?S.entries||O:O;if(P&&(_=d(P.call(new e)))!==Object.prototype&&_.next&&(f(_,$,!0),a||"function"==typeof _[l]||r(_,l,b)),k&&O&&"values"!==O.name&&(x=!0,j=function(){return O.call(this)}),a&&!g||!u&&!x&&S[l]||r(S,l,j),c[t]=j,c[$]=b,h)if(y={values:k?j:w("values"),keys:v?j:w("keys"),entries:C},g)for(m in y)m in S||o(S,m,y[m]);else i(i.P+i.F*(u||x),t,y);return y}},"457939c2e15065e32401":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"4602c3f5fe7ad9e3e91d":function(e,t,n){"use strict";t.__esModule=!0;var a=n("90ee69f654d94afb7eca"),i=function(e){return e&&e.__esModule?e:{default:e}}(a);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),(0,i.default)(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}()},"4dd0dc4a22e4189b3c4e":function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n("366bb7cb002c95738a25"),o=a(i),r=n("5707022a76d3dc604d97"),c=a(r),s="function"==typeof c.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof c.default&&e.constructor===c.default&&e!==c.default.prototype?"symbol":typeof e};t.default="function"==typeof c.default&&"symbol"===s(o.default)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof c.default&&e.constructor===c.default&&e!==c.default.prototype?"symbol":void 0===e?"undefined":s(e)}},"50253127b2524d51f717":function(e,t,n){var a=n("26b2cb950fcc43474957"),i=n("60adac73113c6fc50379");e.exports=function(e){return function(t,n){var o,r,c=String(i(t)),s=a(n),f=c.length;return s<0||s>=f?e?"":void 0:(o=c.charCodeAt(s),o<55296||o>56319||s+1===f||(r=c.charCodeAt(s+1))<56320||r>57343?e?c.charAt(s):o:e?c.slice(s,s+2):r-56320+(o-55296<<10)+65536)}}},"5215c23e1e023df7d12a":function(e,t,n){var a=n("d30516674aade65150d3");a(a.S,"Object",{setPrototypeOf:n("75060a6f08ea73217b35").set})},"5707022a76d3dc604d97":function(e,t,n){e.exports={default:n("5d7a8b5116718b70a142"),__esModule:!0}},"5a32a62db759afe4c196":function(e,t,n){var a=n("f31cab22762bc6afaacb");e.exports=function(e,t){if(!a(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!a(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!a(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!a(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"5c3d798502a5031fd948":function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("cc2d3198fedcb28c0d05"),o=a(i),r=n("cd078759ac479d74803f"),c=a(r),s=n("7ab4a89ebadbfdecc2bf"),f=a(s),d=n("4602c3f5fe7ad9e3e91d"),l=a(d),u=n("1ff717687cc04d94af8f"),b=a(u),p=n("3b1883fc74dc0f9509af"),h=a(p),v=n("c3acbe1ebedceb4976a7"),g=a(v),y=function(e){function t(e){(0,f.default)(this,t);var n=(0,b.default)(this,(t.__proto__||(0,c.default)(t)).call(this));return n.container=e,n.loadShareingContacts=!1,n._init(),n._initEvent(),n}return(0,h.default)(t,e),(0,l.default)(t,[{key:"_init",value:function(){this._loadList()}},{key:"_initEvent",value:function(){$(this.container).on("click",".js-material-type",this._switchFileSource.bind(this)),$(this.container).on("change",".js-file-owner",this._filterByFileOwner),$(this.container).on("click",".js-browser-search",this._filterByFileName.bind(this)),$(this.container).on("click",".pagination a",this._paginationList.bind(this)),$(this.container).on("click",".file-browser-item",this._onSelectFile.bind(this))}},{key:"_loadList",value:function(){var e=this,t=$(".js-browser-search").data("url");$.get(t,this._getParams(),function(t){e.container.find(".js-material-list").html(t)})}},{key:"_getParams",value:function(){var e={};return $(".js-material-lib-search-form input[type=hidden]").each(function(t){e[$(this).attr("name")]=$(this).val()}),e}},{key:"_paginationList",value:function(e){e.stopImmediatePropagation(),e.preventDefault();var t=this._getUrlParameter($(e.currentTarget).attr("href"),"page");$("input[name=page]").val(t),this._loadList()}},{key:"_switchFileSource",value:function(e){var t=e.currentTarget,n=$(t).data("type");switch($(t).addClass("active").siblings().removeClass("active"),$("input[name=sourceFrom]").val(n),$("input[name=page]").val(1),n){case"my":$(".js-file-name-group").removeClass("hidden"),$(".js-file-owner-group").addClass("hidden");break;case"sharing":this._loadSharingContacts.call(this,$(t).data("sharingContactsUrl")),$(".js-file-name-group").removeClass("hidden"),$(".js-file-owner-group").addClass("hidden");break;default:$(".js-file-name-group").removeClass("hidden"),$(".js-file-owner-group").addClass("hidden")}this._loadList()}},{key:"_loadSharingContacts",value:function(e){1!=this.loadShareingContacts&&($.get(e,function(e){if((0,o.default)(e).length>0){var t="<option value=''>"+Translator.trans("activity.manage.choose_teacher_hint")+"</option>";$.each(e,function(e,n){t+="<option value='"+n.id+"'>"+n.nickname+" </option>"}),$(".js-file-owner",self.element).html(t)}},"json"),this.loadShareingContacts=!0)}},{key:"_filterByFileName",value:function(){$("input[name=keyword]").val($(".js-file-name").val()),this._loadList()}},{key:"_filterByFileOwner",value:function(){}},{key:"_onSelectFile",value:function(e){$(".file-browser-item").removeClass("active");var t=$(e.currentTarget).addClass("active"),n=t.data();$('[data-role="placeholder"]').html(n.name),this.emit("select",n)}}]),t}(g.default);t.default=y},"5d7a8b5116718b70a142":function(e,t,n){n("b26ef43e3b0a112838e5"),n("c4f9ccf6d4f9090cfe1b"),n("c8da16b8457310a67d5f"),n("f7003d2bec1128e00440"),e.exports=n("99ec8b6ce9e8b820539a").Symbol},"5f49a2718ac22ba53d59":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"60adac73113c6fc50379":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"62736036366c94deb030":function(e,t,n){n("6bbab4abc2dff856380d"),e.exports=n("99ec8b6ce9e8b820539a").Object.getPrototypeOf},"62dae69a96284841f01d":function(e,t,n){var a=n("11f30f0d206e0327acdc")("meta"),i=n("f31cab22762bc6afaacb"),o=n("d1c7bd6e35e95c182000"),r=n("30373b8543ac2ca8f199").f,c=0,s=Object.isExtensible||function(){return!0},f=!n("457939c2e15065e32401")(function(){return s(Object.preventExtensions({}))}),d=function(e){r(e,a,{value:{i:"O"+ ++c,w:{}}})},l=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,a)){if(!s(e))return"F";if(!t)return"E";d(e)}return e[a].i},u=function(e,t){if(!o(e,a)){if(!s(e))return!0;if(!t)return!1;d(e)}return e[a].w},b=function(e){return f&&p.NEED&&s(e)&&!o(e,a)&&d(e),e},p=e.exports={KEY:a,NEED:!1,fastKey:l,getWeak:u,onFreeze:b}},"636e90758df583c6551d":function(e,t,n){var a=n("30373b8543ac2ca8f199"),i=n("6c3dda553b2c45fd2161"),o=n("d137ba7e6a11667e9035");e.exports=n("07a3448be5f694cdee04")?Object.defineProperties:function(e,t){i(e);for(var n,r=o(t),c=r.length,s=0;c>s;)a.f(e,n=r[s++],t[n]);return e}},"6415c664294d747ee392":function(e,t,n){e.exports={default:n("fc9b03a61a6efe5b71ae"),__esModule:!0}},"68a72f4f57d2a9459710":function(e,t,n){var a=n("9e0642ad0826b9d4cd08"),i=n("10f5bc3e6ad5971b57b0"),o=n("e2544e9d164d5ae98195");e.exports=function(e){return function(t,n,r){var c,s=a(t),f=i(s.length),d=o(r,f);if(e&&n!=n){for(;f>d;)if((c=s[d++])!=c)return!0}else for(;f>d;d++)if((e||d in s)&&s[d]===n)return e||d||0;return!e&&-1}}},"68be1979658d3a49fbce":function(e,t,n){var a=n("60adac73113c6fc50379");e.exports=function(e){return Object(a(e))}},"6b7c061c8481ac422c8d":function(e,t,n){var a=n("2be1a6d982f843e91a8a")("keys"),i=n("11f30f0d206e0327acdc");e.exports=function(e){return a[e]||(a[e]=i(e))}},"6bbab4abc2dff856380d":function(e,t,n){var a=n("68be1979658d3a49fbce"),i=n("b96d3c311cc0f6a5337c");n("7f73bb1f2e15175ec304")("getPrototypeOf",function(){return function(e){return i(a(e))}})},"6c3dda553b2c45fd2161":function(e,t,n){var a=n("f31cab22762bc6afaacb");e.exports=function(e){if(!a(e))throw TypeError(e+" is not an object!");return e}},"6d9fdbdb2252f19cbf17":function(e,t,n){e.exports={default:n("fcc1a721a3c3e47bc8e8"),__esModule:!0}},"6e94838746c10cdde934":function(e,t,n){var a=n("5f49a2718ac22ba53d59");e.exports=Array.isArray||function(e){return"Array"==a(e)}},"6ff75de42f89cafb6c75":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.initEditor=function(e,t){var n=CKEDITOR.replace("text-content-field",{toolbar:"Task",fileSingleSizeLimit:app.fileSingleSizeLimit,filebrowserImageUploadUrl:$("#text-content-field").data("imageUploadUrl"),filebrowserFlashUploadUrl:$("#text-content-field").data("flashUploadUrl"),allowedContent:!0,height:300});return n.on("change",function(){e.val(n.getData()),t&&t.form()}),n.on("blur",function(){e.val(n.getData()),t&&t.form()}),n}},"73d9129a636d63c0b81a":function(e,t,n){"use strict";var a=n("d137ba7e6a11667e9035"),i=n("373811bb5ca99f7bf840"),o=n("0e6d1c03aac99b65ccb1"),r=n("68be1979658d3a49fbce"),c=n("7d2b62f436fd0fdb95d0"),s=Object.assign;e.exports=!s||n("457939c2e15065e32401")(function(){var e={},t={},n=Symbol(),a="abcdefghijklmnopqrst";return e[n]=7,a.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=a})?function(e,t){for(var n=r(e),s=arguments.length,f=1,d=i.f,l=o.f;s>f;)for(var u,b=c(arguments[f++]),p=d?a(b).concat(d(b)):a(b),h=p.length,v=0;h>v;)l.call(b,u=p[v++])&&(n[u]=b[u]);return n}:s},"75060a6f08ea73217b35":function(e,t,n){var a=n("f31cab22762bc6afaacb"),i=n("6c3dda553b2c45fd2161"),o=function(e,t){if(i(e),!a(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,a){try{a=n("a0ce7130a92293994282")(Function.call,n("7f917e4ff98127054bf8").f(Object.prototype,"__proto__").set,2),a(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:a(e,n),e}}({},!1):void 0),check:o}},"79f39f38b3e53642baf4":function(e,t,n){var a=n("2be1a6d982f843e91a8a")("wks"),i=n("11f30f0d206e0327acdc"),o=n("f27a607058b9cc8c5827").Symbol,r="function"==typeof o;(e.exports=function(e){return a[e]||(a[e]=r&&o[e]||(r?o:i)("Symbol."+e))}).store=a},"7ab4a89ebadbfdecc2bf":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},"7d2b62f436fd0fdb95d0":function(e,t,n){var a=n("5f49a2718ac22ba53d59");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==a(e)?e.split(""):Object(e)}},"7f73bb1f2e15175ec304":function(e,t,n){var a=n("d30516674aade65150d3"),i=n("99ec8b6ce9e8b820539a"),o=n("457939c2e15065e32401");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],r={};r[e]=t(n),a(a.S+a.F*o(function(){n(1)}),"Object",r)}},"7f917e4ff98127054bf8":function(e,t,n){var a=n("0e6d1c03aac99b65ccb1"),i=n("4373c1ac6d15a5b2dd1f"),o=n("9e0642ad0826b9d4cd08"),r=n("5a32a62db759afe4c196"),c=n("d1c7bd6e35e95c182000"),s=n("bb82a2b96f436781c23d"),f=Object.getOwnPropertyDescriptor;t.f=n("07a3448be5f694cdee04")?f:function(e,t){if(e=o(e),t=r(t,!0),s)try{return f(e,t)}catch(e){}if(c(e,t))return i(!a.f.call(e,t),e[t])}},"89e54618173d9b4f84cf":function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("6415c664294d747ee392"),o=a(i),r=n("cd078759ac479d74803f"),c=a(r),s=n("7ab4a89ebadbfdecc2bf"),f=a(s),d=n("4602c3f5fe7ad9e3e91d"),l=a(d),u=n("1ff717687cc04d94af8f"),b=a(u),p=n("3b1883fc74dc0f9509af"),h=a(p),v=n("c3acbe1ebedceb4976a7"),g=a(v),y=function(e){function t(e){(0,f.default)(this,t);var n=(0,b.default)(this,(t.__proto__||(0,c.default)(t)).call(this));return n.container=e,n.initEvent(),n}return(0,h.default)(t,e),(0,l.default)(t,[{key:"initEvent",value:function(){$(this.container).on("click",".js-video-import",this._onImport.bind(this))}},{key:"_onImport",value:function(e){var t=this,n=$(e.currentTarget),a=n.parent().siblings("input"),i=a.val();return 0==i.length?void alert(Translator.trans("activity.video_manage.video_address_validate_error_hint")):/^<iframe[\s\S]*$/.test(i)||/^[a-zA-z]+:\/\/[^\s]*$/.test(i)?(n.button("loading"),void $.get(n.data("url"),{url:i},function(e){var n={status:"none",type:e.type,source:e.source,name:e.name,uri:e.files[0].url};t._onChange(n),a.val("")},"json").always(function(){n.button("reset")})):void alert(Translator.trans("activity.video_manage.true_address_input"))}},{key:"_onChange",value:function(e){e&&(0,o.default)(e);this.emit("file.select",e),$('[data-role="placeholder"]').html(e.name)}}]),t}(g.default);t.default=y},"8c98b383d1b7325374e9":function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("6415c664294d747ee392"),o=a(i),r=n("cd078759ac479d74803f"),c=a(r),s=n("7ab4a89ebadbfdecc2bf"),f=a(s),d=n("4602c3f5fe7ad9e3e91d"),l=a(d),u=n("1ff717687cc04d94af8f"),b=a(u),p=n("3b1883fc74dc0f9509af"),h=a(p),v=n("c3acbe1ebedceb4976a7"),g=a(v),y=function(e){function t(e){(0,f.default)(this,t);var n=(0,b.default)(this,(t.__proto__||(0,c.default)(t)).call(this));return n.container=e,n._init(),n._initEvent(),n}return(0,h.default)(t,e),(0,l.default)(t,[{key:"_init",value:function(){this._loadList()}},{key:"_initEvent",value:function(){$(this.container).on("click",".pagination a",this._paginationList.bind(this)),$(this.container).on("click",".file-browser-item",this._onSelectFile.bind(this)),$(this.container).on("click",".js-course-browser-search",this._filterByFileName.bind(this))}},{key:"_loadList",value:function(){var e=$(".course-file-browser"),t=e.data("url");$.get(t,this._getParams(),function(t){e.html(t)})}},{key:"_getParams",value:function(){var e={};return $(".js-course-file-search-form").find("input[type=hidden]").each(function(){e[$(this).attr("name")]=$(this).val()}),e}},{key:"_paginationList",value:function(e){e.stopImmediatePropagation(),e.preventDefault();var t=this._getUrlParameter($(e.currentTarget).attr("href"),"page");$(".js-course-file-search-form").find("input[name=page]").val(t),this._loadList()}},{key:"_filterByFileName",value:function(){$(".js-course-file-search-form").find("input[name=keyword]").val($(".js-course-file-name").val()),$(".js-course-file-search-form").find("input[name=page]").val(1),this._loadList()}},{key:"_onSelectFile",value:function(e){$(".file-browser-item").removeClass("active"),$(e.currentTarget).addClass("active");var t=$(e.currentTarget),n=t.data();this._onChange(n)}},{key:"_onChange",value:function(e){e&&(0,o.default)(e);this.emit("select",e),$('[data-role="placeholder"]').html(e.name),this._fillMinuteAndSecond(e.length)}},{key:"_fillMinuteAndSecond",value:function(e){var t=parseInt(e/60),n=Math.round(e%60);$("#minute").val(t),$("#second").val(n)}}]),t}(g.default);t.default=y},"90ee69f654d94afb7eca":function(e,t,n){e.exports={default:n("bc1908f480b427a8a004"),__esModule:!0}},"92d357b9cf7bd3019423":function(e,t,n){var a=n("68be1979658d3a49fbce"),i=n("d137ba7e6a11667e9035");n("7f73bb1f2e15175ec304")("keys",function(){return function(e){return i(a(e))}})},"9328fd1f89bb53ea7f18":function(e,t,n){var a=n("9e0642ad0826b9d4cd08"),i=n("0c548c58e5c2525997c4").f,o={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return i(e)}catch(e){return r.slice()}};e.exports.f=function(e){return r&&"[object Window]"==o.call(e)?c(e):i(a(e))}},"98e158dcbb7a6f824611":function(e,t,n){e.exports=n("f9e595817d8b54ee32b8")},"99661fb1527348ee5def":function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("6415c664294d747ee392"),o=a(i),r=n("cd078759ac479d74803f"),c=a(r),s=n("7ab4a89ebadbfdecc2bf"),f=a(s),d=n("4602c3f5fe7ad9e3e91d"),l=a(d),u=n("1ff717687cc04d94af8f"),b=a(u),p=n("3b1883fc74dc0f9509af"),h=a(p),v=n("c3acbe1ebedceb4976a7"),g=a(v),y=n("b334fd7e4c5a19234db2"),m=a(y),_=function(e){function t(e){(0,f.default)(this,t);var n=(0,b.default)(this,(t.__proto__||(0,c.default)(t)).call(this));return n.element=$(e),n._sdk=void 0,n._initSdk()._bindEvent(),n}return(0,h.default)(t,e),(0,l.default)(t,[{key:"_initSdk",value:function(){if(void 0!==this._sdk)return this;var e=this.element.find("#uploader-container");return this._sdk=new UploaderSDK({id:e.attr("id"),sdkBaseUri:app.cloudSdkBaseUri,disableDataUpload:app.cloudDisableLogReport,disableSentry:app.cloudDisableLogReport,initUrl:e.data("initUrl"),finishUrl:e.data("finishUrl"),accept:e.data("accept"),process:this._getUploadProcess(),ui:"single",locale:document.documentElement.lang}),this}},{key:"_bindEvent",value:function(){var e=this;return this.element.on("change",".js-upload-params",function(t){e._sdk.setProcess(e._getUploadProcess())}),this._sdk.on("file.finish",function(t){return e._onFileUploadFinish(t)}),this._sdk.on("error",function(e){(0,m.default)("danger",e.message)}),this}},{key:"_getUploadProcess",value:function(){var e=this.element.find(".js-upload-params").get().reduce(function(e,t){return e[$(t).attr("name")]=$(t).find("option:selected").val(),e},{}),t={video:e,document:{type:"html"}},n=this.element.find("[name=support_mobile]");return n.length>0&&(t.common={supportMobile:n.val()}),t}},{key:"_onFileUploadFinish",value:function(e){e.source="self";this.emit("select",e);!function(e){$('[data-role="placeholder"]').html(e)}(e.name),function(e){if(0!==e.length&&void 0!==e.length){var t=$("#minute"),n=$("#second"),a=parseInt(e.length),i=parseInt(a/60),r=a%60;t.val(i),n.val(r),e.minute=i,e.second=r}$('[name="media"]').val((0,o.default)(e))}(e)}}]),t}(g.default);t.default=_},"99ec8b6ce9e8b820539a":function(e,t){var n=e.exports={version:"2.5.6"};"number"==typeof __e&&(__e=n)},"9c6c4fa4308ec8214c5e":function(e,t,n){n("92d357b9cf7bd3019423"),e.exports=n("99ec8b6ce9e8b820539a").Object.keys},"9e0642ad0826b9d4cd08":function(e,t,n){var a=n("7d2b62f436fd0fdb95d0"),i=n("60adac73113c6fc50379");e.exports=function(e){return a(i(e))}},"9f5e733705cd16698cdf":function(e,t,n){"use strict";var a=n("50253127b2524d51f717")(!0);n("44cc46f02a04db587394")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=a(t,n),this._i+=e.length,{value:e,done:!1})})},a0ce7130a92293994282:function(e,t,n){var a=n("e82b6e3d752b3eb55e42");e.exports=function(e,t,n){if(a(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,a){return e.call(t,n,a)};case 3:return function(n,a,i){return e.call(t,n,a,i)}}return function(){return e.apply(t,arguments)}}},a25cd36d0cf21bc7df34:function(e,t,n){(function(){(function(){(function(){(function(){(function(){(function(){(function(){(function(){(function(){(function(){(function(){(function(){(function(){(function(){(function(){(function(){var e=!1;(function(){!function(t){"function"==typeof e&&e.amd?e(["jquery"],t):t(jQuery)}(function(e){function t(t,a,i){var a={content:{message:"object"==typeof a?a.message:a,title:a.title?a.title:"",icon:a.icon?a.icon:"",url:a.url?a.url:"#",target:a.target?a.target:"-"}};i=e.extend(!0,{},a,i),this.settings=e.extend(!0,{},n,i),this._defaults=n,"-"==this.settings.content.target&&(this.settings.content.target=this.settings.url_target),this.animations={start:"webkitAnimationStart oanimationstart MSAnimationStart animationstart",end:"webkitAnimationEnd oanimationend MSAnimationEnd animationend"},"number"==typeof this.settings.offset&&(this.settings.offset={x:this.settings.offset,y:this.settings.offset}),this.init()}var n={element:"body",position:null,type:"info",allow_dismiss:!0,newest_on_top:!1,showProgressbar:!1,placement:{from:"top",align:"right"},offset:20,spacing:10,z_index:1031,delay:5e3,timer:1e3,url_target:"_blank",mouse_over:null,animate:{enter:"animated fadeInDown",exit:"animated fadeOutUp"},onShow:null,onShown:null,onClose:null,onClosed:null,icon_type:"class",template:'<div data-notify="container" class="col-xs-11 col-sm-4 alert alert-{0}" role="alert"><button type="button" aria-hidden="true" class="close" data-notify="dismiss">×</button><span data-notify="icon"></span> <span data-notify="title">{1}</span> <span data-notify="message">{2}</span><div class="progress" data-notify="progressbar"><div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div></div><a href="{3}" target="{4}" data-notify="url"></a></div>'};String.format=function(){for(var e=arguments[0],t=1;t<arguments.length;t++)e=e.replace(RegExp("\\{"+(t-1)+"\\}","gm"),arguments[t]);return e},e.extend(t.prototype,{init:function(){var e=this;this.buildNotify(),this.settings.content.icon&&this.setIcon(),"#"!=this.settings.content.url&&this.styleURL(),this.styleDismiss(),this.placement(),this.bind(),this.notify={$ele:this.$ele,update:function(t,n){var a={};"string"==typeof t?a[t]=n:a=t;for(var t in a)switch(t){case"type":this.$ele.removeClass("alert-"+e.settings.type),this.$ele.find('[data-notify="progressbar"] > .progress-bar').removeClass("progress-bar-"+e.settings.type),e.settings.type=a[t],this.$ele.addClass("alert-"+a[t]).find('[data-notify="progressbar"] > .progress-bar').addClass("progress-bar-"+a[t]);break;case"icon":var i=this.$ele.find('[data-notify="icon"]');"class"==e.settings.icon_type.toLowerCase()?i.removeClass(e.settings.content.icon).addClass(a[t]):(i.is("img")||i.find("img"),i.attr("src",a[t]));break;case"progress":var o=e.settings.delay-e.settings.delay*(a[t]/100);this.$ele.data("notify-delay",o),this.$ele.find('[data-notify="progressbar"] > div').attr("aria-valuenow",a[t]).css("width",a[t]+"%");break;case"url":this.$ele.find('[data-notify="url"]').attr("href",a[t]);break;case"target":this.$ele.find('[data-notify="url"]').attr("target",a[t]);break;default:this.$ele.find('[data-notify="'+t+'"]').html(a[t])}var r=this.$ele.outerHeight()+parseInt(e.settings.spacing)+parseInt(e.settings.offset.y);e.reposition(r)},close:function(){e.close()}}},buildNotify:function(){var t=this.settings.content;this.$ele=e(String.format(this.settings.template,this.settings.type,t.title,t.message,t.url,t.target)),this.$ele.attr("data-notify-position",this.settings.placement.from+"-"+this.settings.placement.align),this.settings.allow_dismiss||this.$ele.find('[data-notify="dismiss"]').css("display","none"),(this.settings.delay<=0&&!this.settings.showProgressbar||!this.settings.showProgressbar)&&this.$ele.find('[data-notify="progressbar"]').remove()},setIcon:function(){"class"==this.settings.icon_type.toLowerCase()?this.$ele.find('[data-notify="icon"]').addClass(this.settings.content.icon):this.$ele.find('[data-notify="icon"]').is("img")?this.$ele.find('[data-notify="icon"]').attr("src",this.settings.content.icon):this.$ele.find('[data-notify="icon"]').append('<img src="'+this.settings.content.icon+'" alt="Notify Icon" />')},styleDismiss:function(){this.$ele.find('[data-notify="dismiss"]').css({position:"absolute",right:"10px",top:"5px",zIndex:this.settings.z_index+2})},styleURL:function(){this.$ele.find('[data-notify="url"]').css({backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)",height:"100%",left:"0px",position:"absolute",top:"0px",width:"100%",zIndex:this.settings.z_index+1})},placement:function(){var t=this,n=this.settings.offset.y,a={display:"inline-block",margin:"0px auto",position:this.settings.position?this.settings.position:"body"===this.settings.element?"fixed":"absolute",transition:"all .5s ease-in-out",zIndex:this.settings.z_index},i=!1,o=this.settings;switch(e('[data-notify-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]:not([data-closing="true"])').each(function(){return n=Math.max(n,parseInt(e(this).css(o.placement.from))+parseInt(e(this).outerHeight())+parseInt(o.spacing))}),1==this.settings.newest_on_top&&(n=this.settings.offset.y),a[this.settings.placement.from]=n+"px",this.settings.placement.align){case"left":case"right":a[this.settings.placement.align]=this.settings.offset.x+"px";break;case"center":a.left=0,a.right=0}this.$ele.css(a).addClass(this.settings.animate.enter),e.each(Array("webkit-","moz-","o-","ms-",""),function(e,n){t.$ele[0].style[n+"AnimationIterationCount"]=1}),e(this.settings.element).append(this.$ele),1==this.settings.newest_on_top&&(n=parseInt(n)+parseInt(this.settings.spacing)+this.$ele.outerHeight(),this.reposition(n)),e.isFunction(t.settings.onShow)&&t.settings.onShow.call(this.$ele),this.$ele.one(this.animations.start,function(e){i=!0}).one(this.animations.end,function(n){e.isFunction(t.settings.onShown)&&t.settings.onShown.call(this)}),setTimeout(function(){i||e.isFunction(t.settings.onShown)&&t.settings.onShown.call(this)},600)},bind:function(){var t=this;if(this.$ele.find('[data-notify="dismiss"]').on("click",function(){t.close()}),this.$ele.mouseover(function(t){e(this).data("data-hover","true")}).mouseout(function(t){e(this).data("data-hover","false")}),this.$ele.data("data-hover","false"),this.settings.delay>0){t.$ele.data("notify-delay",t.settings.delay);var n=setInterval(function(){var e=parseInt(t.$ele.data("notify-delay"))-t.settings.timer;if("false"===t.$ele.data("data-hover")&&"pause"==t.settings.mouse_over||"pause"!=t.settings.mouse_over){var a=(t.settings.delay-e)/t.settings.delay*100;t.$ele.data("notify-delay",e),t.$ele.find('[data-notify="progressbar"] > div').attr("aria-valuenow",a).css("width",a+"%")}e<=-t.settings.timer&&(clearInterval(n),t.close())},t.settings.timer)}},close:function(){var t=this,n=parseInt(this.$ele.css(this.settings.placement.from)),a=!1;this.$ele.data("closing","true").addClass(this.settings.animate.exit),t.reposition(n),e.isFunction(t.settings.onClose)&&t.settings.onClose.call(this.$ele),this.$ele.one(this.animations.start,function(e){a=!0}).one(this.animations.end,function(n){e(this).remove(),e.isFunction(t.settings.onClosed)&&t.settings.onClosed.call(this)}),setTimeout(function(){a||(t.$ele.remove(),t.settings.onClosed&&t.settings.onClosed(t.$ele))},600)},reposition:function(t){var n=this,a='[data-notify-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]:not([data-closing="true"])',i=this.$ele.nextAll(a);1==this.settings.newest_on_top&&(i=this.$ele.prevAll(a)),i.each(function(){e(this).css(n.settings.placement.from,t),t=parseInt(t)+parseInt(n.settings.spacing)+e(this).outerHeight()})}}),e.notify=function(e,n){return new t(this,e,n).notify},e.notifyDefaults=function(t){return n=e.extend(!0,{},n,t)},e.notifyClose=function(t){void 0===t||"all"==t?e("[data-notify]").find('[data-notify="dismiss"]').trigger("click"):e('[data-notify-position="'+t+'"]').find('[data-notify="dismiss"]').trigger("click")}})}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)}).call(window)},adc6e7d88332518aa1ec:function(e,t,n){e.exports={default:n("ce462d99a45ae2207993"),__esModule:!0}},aee4f37def9a6f093691:function(e,t,n){var a=n("d137ba7e6a11667e9035"),i=n("373811bb5ca99f7bf840"),o=n("0e6d1c03aac99b65ccb1");e.exports=function(e){var t=a(e),n=i.f;if(n)for(var r,c=n(e),s=o.f,f=0;c.length>f;)s.call(e,r=c[f++])&&t.push(r);return t}},b24a8b38059690cfe907:function(e,t,n){var a=n("f27a607058b9cc8c5827").document;e.exports=a&&a.documentElement},b26ef43e3b0a112838e5:function(e,t,n){"use strict";var a=n("f27a607058b9cc8c5827"),i=n("d1c7bd6e35e95c182000"),o=n("07a3448be5f694cdee04"),r=n("d30516674aade65150d3"),c=n("98e158dcbb7a6f824611"),s=n("62dae69a96284841f01d").KEY,f=n("457939c2e15065e32401"),d=n("2be1a6d982f843e91a8a"),l=n("cb274a31409742acdaf8"),u=n("11f30f0d206e0327acdc"),b=n("79f39f38b3e53642baf4"),p=n("d774351f3de1bfcb23b1"),h=n("28961578f2ab360128a8"),v=n("aee4f37def9a6f093691"),g=n("6e94838746c10cdde934"),y=n("6c3dda553b2c45fd2161"),m=n("f31cab22762bc6afaacb"),_=n("9e0642ad0826b9d4cd08"),w=n("5a32a62db759afe4c196"),$=n("4373c1ac6d15a5b2dd1f"),k=n("14126b102a8a946146ae"),x=n("9328fd1f89bb53ea7f18"),S=n("7f917e4ff98127054bf8"),O=n("30373b8543ac2ca8f199"),j=n("d137ba7e6a11667e9035"),C=S.f,P=O.f,M=x.f,A=a.Symbol,L=a.JSON,I=L&&L.stringify,T=b("_hidden"),E=b("toPrimitive"),F={}.propertyIsEnumerable,U=d("symbol-registry"),D=d("symbols"),N=d("op-symbols"),R=Object.prototype,z="function"==typeof A,B=a.QObject,G=!B||!B.prototype||!B.prototype.findChild,V=o&&f(function(){return 7!=k(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,t,n){var a=C(R,t);a&&delete R[t],P(e,t,n),a&&e!==R&&P(R,t,a)}:P,q=function(e){var t=D[e]=k(A.prototype);return t._k=e,t},H=z&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},J=function(e,t,n){return e===R&&J(N,t,n),y(e),t=w(t,!0),y(n),i(D,t)?(n.enumerable?(i(e,T)&&e[T][t]&&(e[T][t]=!1),n=k(n,{enumerable:$(0,!1)})):(i(e,T)||P(e,T,$(1,{})),e[T][t]=!0),V(e,t,n)):P(e,t,n)},K=function(e,t){y(e);for(var n,a=v(t=_(t)),i=0,o=a.length;o>i;)J(e,n=a[i++],t[n]);return e},W=function(e,t){return void 0===t?k(e):K(k(e),t)},Q=function(e){var t=F.call(this,e=w(e,!0));return!(this===R&&i(D,e)&&!i(N,e))&&(!(t||!i(this,e)||!i(D,e)||i(this,T)&&this[T][e])||t)},Y=function(e,t){if(e=_(e),t=w(t,!0),e!==R||!i(D,t)||i(N,t)){var n=C(e,t);return!n||!i(D,t)||i(e,T)&&e[T][t]||(n.enumerable=!0),n}},X=function(e){for(var t,n=M(_(e)),a=[],o=0;n.length>o;)i(D,t=n[o++])||t==T||t==s||a.push(t);return a},Z=function(e){for(var t,n=e===R,a=M(n?N:_(e)),o=[],r=0;a.length>r;)!i(D,t=a[r++])||n&&!i(R,t)||o.push(D[t]);return o};z||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=u(arguments.length>0?arguments[0]:void 0),t=function(n){this===R&&t.call(N,n),i(this,T)&&i(this[T],e)&&(this[T][e]=!1),V(this,e,$(1,n))};return o&&G&&V(R,e,{configurable:!0,set:t}),q(e)},c(A.prototype,"toString",function(){return this._k}),S.f=Y,O.f=J,n("0c548c58e5c2525997c4").f=x.f=X,n("0e6d1c03aac99b65ccb1").f=Q,n("373811bb5ca99f7bf840").f=Z,o&&!n("dff9362b82bd4eafdef8")&&c(R,"propertyIsEnumerable",Q,!0),p.f=function(e){return q(b(e))}),r(r.G+r.W+r.F*!z,{Symbol:A});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)b(ee[te++]);for(var ne=j(b.store),ae=0;ne.length>ae;)h(ne[ae++]);r(r.S+r.F*!z,"Symbol",{for:function(e){return i(U,e+="")?U[e]:U[e]=A(e)},keyFor:function(e){if(!H(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),r(r.S+r.F*!z,"Object",{create:W,defineProperty:J,defineProperties:K,getOwnPropertyDescriptor:Y,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),L&&r(r.S+r.F*(!z||f(function(){var e=A();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){for(var t,n,a=[e],i=1;arguments.length>i;)a.push(arguments[i++]);if(n=t=a[1],(m(t)||void 0!==e)&&!H(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!H(t))return t}),a[1]=t,I.apply(L,a)}}),A.prototype[E]||n("f9e595817d8b54ee32b8")(A.prototype,E,A.prototype.valueOf),l(A,"Symbol"),l(Math,"Math",!0),l(a.JSON,"JSON",!0)},b334fd7e4c5a19234db2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("adc6e7d88332518aa1ec"),i=function(e){return e&&e.__esModule?e:{default:e}}(a);n("a25cd36d0cf21bc7df34");var o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};$('[data-notify="container"]').remove();var o="";switch(e){case"info":o="cd-icon cd-icon-info-o color-info mrm";break;case"success":o="cd-icon cd-icon-success-o color-success mrm";break;case"danger":o="cd-icon cd-icon-danger-o color-danger mrm";break;case"warning":o="cd-icon cd-icon-warning-o color-warning mrm"}var r={message:t,icon:o},c={type:e,delay:3e3,placement:{from:"top",align:"center"},animate:{enter:"animated fadeInDownSmall",exit:"animated fadeOutUp"},offset:80,z_index:1051,timer:100,template:'<div data-notify="container" class="notify-content"><div class="notify notify-{0}"><span data-notify="icon"></span><span data-notify="title">{1}</span><span data-notify="message">{2}</span><div class="progress" data-notify="progressbar"><div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div></div><a href="{3}" target="{4}" data-notify="url"></a></div></div>'};$.notify((0,i.default)(r,a),(0,i.default)(c,n))};t.default=o},b4d807bdde03c46203ec:function(e,t,n){var a=n("d30516674aade65150d3");a(a.S,"Object",{create:n("14126b102a8a946146ae")})},b89384f06ad1b460f60a:function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("6415c664294d747ee392"),o=a(i),r=n("7ab4a89ebadbfdecc2bf"),c=a(r),s=n("4602c3f5fe7ad9e3e91d"),f=a(s),d=n("eca7a2561fa47d3f75f6"),l=a(d),u=(n("6ff75de42f89cafb6c75"),n("f324dbdea53170d5000f")),b=function(){function e(){(0,c.default)(this,e);var t=$("#step2-form").data("mediaId");(0,u.showChooserType)(t),this.initStep2Form(),this.autoValidatorLength(),this.initFileChooser(),this.initEvent(),this.initCkeditor(this.validate)}return(0,f.default)(e,[{key:"initEvent",value:function(){var e=this;window.ltc.on("getActivity",function(t){window.ltc.emit("returnActivity",{valid:e.validate.form(),data:window.ltc.getFormSerializeObject($("#step2-form"))})}),window.ltc.on("getValidate",function(t){window.ltc.emit("returnValidate",{valid:e.validate.form()})}),$('input[name="hasText"]').on("change",function(e){var t=$(e.currentTarget);0==t.val()&&$(".js-content").hide(),1==t.val()&&$(".js-content").show()})}},{key:"initCkeditor",value:function(e){var t=CKEDITOR.replace("audio-content-field",{toolbar:"Simple",fileSingleSizeLimit:app.fileSingleSizeLimit,filebrowserImageUploadUrl:$("#audio-content-field").data("imageUploadUrl")});t.on("change",function(){$("#audio-content-field").val(t.getData()),e.form()}),t.on("blur",function(){$("#audio-content-field").val(t.getData()),e.form()})}},{key:"initStep2Form",value:function(){var e=$("#step2-form");this.validate=e.validate({groups:{nameGroup:"minute second"},rules:{title:{required:!0,maxlength:50,trim:!0,course_title:!0},minute:"required unsigned_integer unsigned_integer",second:"required second_range unsigned_integer"},messages:{minute:{required:Translator.trans("activity.audio_manage.length_required_error_hint"),unsigned_integer:Translator.trans("activity.audio_manage.length_unsigned_integer_error_hint")},second:{required:Translator.trans("activity.audio_manage.length_required_error_hint"),second_range:Translator.trans("activity.audio_manage.second_range_error_hint"),unsigned_integer:Translator.trans("activity.audio_manage.length_unsigned_integer_error_hint")}}})}},{key:"autoValidatorLength",value:function(){var e=this;$(".js-length").blur(function(){if(e.validate.form()){var t=0|parseInt($("#minute").val()),n=0|parseInt($("#second").val());$("#length").val(60*t+n)}})}},{key:"initFileChooser",value:function(){var e=new l.default,t=function(e){(0,u.chooserUiClose)();!function(e){if(0!==e.length&&void 0!==e.length){var t=$("#minute"),n=$("#second"),a=$("#length"),i=parseInt(e.length),r=parseInt(i/60),c=i%60;t.val(r),n.val(c),a.val(i),e.minute=r,e.second=c}$('[name="media"]').val((0,o.default)(e))}(e),$("#step2-form").valid()};e.on("select",t)}}]),e}();t.default=b},b96d3c311cc0f6a5337c:function(e,t,n){var a=n("d1c7bd6e35e95c182000"),i=n("68be1979658d3a49fbce"),o=n("6b7c061c8481ac422c8d")("IE_PROTO"),r=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),a(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?r:null}},bb82a2b96f436781c23d:function(e,t,n){e.exports=!n("07a3448be5f694cdee04")&&!n("457939c2e15065e32401")(function(){return 7!=Object.defineProperty(n("1b58d36ee38e47f1c490")("div"),"a",{get:function(){return 7}}).a})},bc1908f480b427a8a004:function(e,t,n){n("2becabd90e65528fbb02");var a=n("99ec8b6ce9e8b820539a").Object;e.exports=function(e,t,n){return a.defineProperty(e,t,n)}},bdf846462d003d52f301:function(e,t,n){n("ef9f5790dc2f994efcb7");for(var a=n("f27a607058b9cc8c5827"),i=n("f9e595817d8b54ee32b8"),o=n("ed94c6ffbb2bc6323c97"),r=n("79f39f38b3e53642baf4")("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<c.length;s++){var f=c[s],d=a[f],l=d&&d.prototype;l&&!l[r]&&i(l,r,f),o[f]=o.Array}},c3acbe1ebedceb4976a7:function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("cd078759ac479d74803f"),o=a(i),r=n("7ab4a89ebadbfdecc2bf"),c=a(r),s=n("4602c3f5fe7ad9e3e91d"),f=a(s),d=n("1ff717687cc04d94af8f"),l=a(d),u=n("3b1883fc74dc0f9509af"),b=a(u),p=n("17c25dd7d9d2615bc1d9"),h=a(p),v=function(e){function t(){return(0,c.default)(this,t),(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this))}return(0,b.default)(t,e),(0,f.default)(t,[{key:"_open",value:function(){$(".file-chooser-bar").addClass("hidden"),$(".file-chooser-main").removeClass("hidden")}},{key:"_close",value:function(){$(".file-chooser-main").addClass("hidden"),$(".file-chooser-bar").removeClass("hidden")}},{key:"_getUrlParameter",value:function(e,t){var n=e.split("?");if(n&&2==n.length)for(var a=decodeURIComponent(n[1]),i=a.split("&"),o=0;o<i.length;o++){var r=i[o].split("=");if(r[0]===t)return void 0===r[1]?null:r[1]}return null}}]),t}(h.default);t.default=v},c4bfa6afe83d45b63fe7:function(e,t){e.exports=function(){}},c4f9ccf6d4f9090cfe1b:function(e,t){},c8da16b8457310a67d5f:function(e,t,n){n("28961578f2ab360128a8")("asyncIterator")},cb0e5c13ab671db35a76:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},cb274a31409742acdaf8:function(e,t,n){var a=n("30373b8543ac2ca8f199").f,i=n("d1c7bd6e35e95c182000"),o=n("79f39f38b3e53642baf4")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&a(e,o,{configurable:!0,value:t})}},cc2d3198fedcb28c0d05:function(e,t,n){e.exports={default:n("9c6c4fa4308ec8214c5e"),__esModule:!0}},cd078759ac479d74803f:function(e,t,n){e.exports={default:n("62736036366c94deb030"),__esModule:!0}},ce462d99a45ae2207993:function(e,t,n){n("0b7e406830a62ea861ca"),e.exports=n("99ec8b6ce9e8b820539a").Object.assign},d137ba7e6a11667e9035:function(e,t,n){var a=n("dfa76e0e7e55e0febf1e"),i=n("25264dbf4ec8cd0a39ef");e.exports=Object.keys||function(e){return a(e,i)}},d1c7bd6e35e95c182000:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},d20d203b1afbc1b63c60:function(e,t,n){n("b4d807bdde03c46203ec");var a=n("99ec8b6ce9e8b820539a").Object;e.exports=function(e,t){return a.create(e,t)}},d30516674aade65150d3:function(e,t,n){var a=n("f27a607058b9cc8c5827"),i=n("99ec8b6ce9e8b820539a"),o=n("a0ce7130a92293994282"),r=n("f9e595817d8b54ee32b8"),c=n("d1c7bd6e35e95c182000"),s=function(e,t,n){var f,d,l,u=e&s.F,b=e&s.G,p=e&s.S,h=e&s.P,v=e&s.B,g=e&s.W,y=b?i:i[t]||(i[t]={}),m=y.prototype,_=b?a:p?a[t]:(a[t]||{}).prototype;b&&(n=t);for(f in n)(d=!u&&_&&void 0!==_[f])&&c(y,f)||(l=d?_[f]:n[f],y[f]=b&&"function"!=typeof _[f]?n[f]:v&&d?o(l,a):g&&_[f]==l?function(e){var t=function(t,n,a){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,a)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):h&&"function"==typeof l?o(Function.call,l):l,h&&((y.virtual||(y.virtual={}))[f]=l,e&s.R&&m&&!m[f]&&r(m,f,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},d6e9c43d4248c3dfedec:function(e,t,n){"use strict";var a=n("14126b102a8a946146ae"),i=n("4373c1ac6d15a5b2dd1f"),o=n("cb274a31409742acdaf8"),r={};n("f9e595817d8b54ee32b8")(r,n("79f39f38b3e53642baf4")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=a(r,{next:i(1,n)}),o(e,t+" Iterator")}},d774351f3de1bfcb23b1:function(e,t,n){t.f=n("79f39f38b3e53642baf4")},dfa76e0e7e55e0febf1e:function(e,t,n){var a=n("d1c7bd6e35e95c182000"),i=n("9e0642ad0826b9d4cd08"),o=n("68a72f4f57d2a9459710")(!1),r=n("6b7c061c8481ac422c8d")("IE_PROTO");e.exports=function(e,t){var n,c=i(e),s=0,f=[];for(n in c)n!=r&&a(c,n)&&f.push(n);for(;t.length>s;)a(c,n=t[s++])&&(~o(f,n)||f.push(n));return f}},dff9362b82bd4eafdef8:function(e,t){e.exports=!0},e2544e9d164d5ae98195:function(e,t,n){var a=n("26b2cb950fcc43474957"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=a(e),e<0?i(e+t,0):o(e,t)}},e82b6e3d752b3eb55e42:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},eca7a2561fa47d3f75f6:function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("cd078759ac479d74803f"),o=a(i),r=n("7ab4a89ebadbfdecc2bf"),c=a(r),s=n("4602c3f5fe7ad9e3e91d"),f=a(s),d=n("1ff717687cc04d94af8f"),l=a(d),u=n("3b1883fc74dc0f9509af"),b=a(u),p=n("5c3d798502a5031fd948"),h=a(p),v=n("89e54618173d9b4f84cf"),g=a(v),y=n("8c98b383d1b7325374e9"),m=a(y),_=n("99661fb1527348ee5def"),w=a(_),k=n("17c25dd7d9d2615bc1d9"),x=a(k),S=function(e){function t(e){(0,c.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this));return n.init(),n}return(0,b.default)(t,e),(0,f.default)(t,[{key:"init",value:function(){this.initTab(),this.initFileChooser()}},{key:"initTab",value:function(){$("#material a").click(function(e){e.preventDefault();var t=$(this);t.find('[type="radio"]').prop("checked","checked"),t.closest("li").siblings("li").find('[type="radio"]').prop("checked",!1),t.tab("show")}),$(".js-import-video").data("link")&&$(".js-import-video").click()}},{key:"initFileChooser",value:function(){var e=this,t=new h.default($("#chooser-material-panel")),n=new m.default($("#chooser-course-panel")),a=new g.default($("#import-video-panel")),i=new w.default($("#chooser-upload-panel"));t.on("select",function(t){return e.fileSelect(t)}),n.on("select",function(t){return e.fileSelect(t)}),a.on("file.select",function(t){return e.fileSelect(t)}),i.on("select",function(t){return e.fileSelect(t)})}},{key:"fileSelect",value:function(e){this.fillTitle(e),this.emit("select",e)}},{key:"fillTitle",value:function(e){var t=$("#title");if(t.length>0&&""==t.val()){var n=e.name.substring(0,e.name.lastIndexOf("."));t.val(n)}}}],[{key:"openUI",value:function(){$(".file-chooser-bar").addClass("hidden"),$(".file-chooser-main").removeClass("hidden")}},{key:"closeUI",value:function(){$(".file-chooser-main").addClass("hidden"),$(".file-chooser-bar").removeClass("hidden")}}]),t}(x.default);t.default=S},ed94c6ffbb2bc6323c97:function(e,t){e.exports={}},ef9f5790dc2f994efcb7:function(e,t,n){"use strict";var a=n("c4bfa6afe83d45b63fe7"),i=n("cb0e5c13ab671db35a76"),o=n("ed94c6ffbb2bc6323c97"),r=n("9e0642ad0826b9d4cd08");e.exports=n("44cc46f02a04db587394")(Array,"Array",function(e,t){this._t=r(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,a("keys"),a("values"),a("entries")},f27a607058b9cc8c5827:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},f31cab22762bc6afaacb:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},f324dbdea53170d5000f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=t.chooserUiOpen=function(){$(".file-chooser-bar").addClass("hidden"),$(".file-chooser-main").removeClass("hidden")};t.chooserUiClose=function(){$(".file-chooser-main").addClass("hidden"),$(".file-chooser-bar").removeClass("hidden")},t.showChooserType=function(e){$("#iframe-content").on("click",".js-choose-trigger",function(){a()})}},f7003d2bec1128e00440:function(e,t,n){n("28961578f2ab360128a8")("observable")},f9e595817d8b54ee32b8:function(e,t,n){var a=n("30373b8543ac2ca8f199"),i=n("4373c1ac6d15a5b2dd1f");e.exports=n("07a3448be5f694cdee04")?function(e,t,n){return a.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},fc9b03a61a6efe5b71ae:function(e,t,n){var a=n("99ec8b6ce9e8b820539a"),i=a.JSON||(a.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},fcc1a721a3c3e47bc8e8:function(e,t,n){n("5215c23e1e023df7d12a"),e.exports=n("99ec8b6ce9e8b820539a").Object.setPrototypeOf}});
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。