UNPKG

@opedu/app

Version:

오피유커스 e-Learning HTML5 콘텐츠 라이브러리

2 lines 9.62 kB
/*! OpEduApp v1.2.7 (build 20210628.43577) */ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(self,(function(){return function(){"use strict";var t={233:function(t){t.exports=JSON.parse('{"global":{"namespace":"OpEduKR","version":"1.2.7 (build 20210628.43577)"},"loader":{"namespace":"loader","name":"OpEduLoader"},"app":{"namespace":"app","name":"OpEduApp","audio":{"baseDir":"../common/sounds"}},"course":{"namespace":"course","dataPath":"../course.toml"},"events":{"namespace":"events"},"lms":{"namespace":"lms"},"import":{"styles":["core.min.css","bundle2.min.css"],"scripts":["bundle1.min.js","bundle2.min.js","core.min.js"],"polyfills":"polyfills.min.js"}}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,r),a.exports}r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return function(){r.r(n);var t=Array.isArray,e="object"==typeof global&&global&&global.Object===Object&&global,o="object"==typeof self&&self&&self.Object===Object&&self,a=e||o||Function("return this")(),i=a.Symbol,c=Object.prototype,s=c.hasOwnProperty,u=c.toString,l=i?i.toStringTag:void 0;var p=function(t){var e=s.call(t,l),r=t[l];try{t[l]=void 0;var n=!0}catch(t){}var o=u.call(t);return n&&(e?t[l]=r:delete t[l]),o},v=Object.prototype.toString;var f=function(t){return v.call(t)},d=i?i.toStringTag:void 0;var h=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":d&&d in Object(t)?p(t):f(t)};var m=function(t){return null!=t&&"object"==typeof t};var y=function(t){return"symbol"==typeof t||m(t)&&"[object Symbol]"==h(t)},b=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g=/^\w*$/;var _=function(e,r){if(t(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!y(e))||(g.test(e)||!b.test(e)||null!=r&&e in Object(r))};var w=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var j,k=function(t){if(!w(t))return!1;var e=h(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},O=a["__core-js_shared__"],x=(j=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+j:"";var z=function(t){return!!x&&x in t},S=Function.prototype.toString;var P=function(t){if(null!=t){try{return S.call(t)}catch(t){}try{return t+""}catch(t){}}return""},E=/^\[object .+?Constructor\]$/,$=Function.prototype,A=Object.prototype,C=$.toString,F=A.hasOwnProperty,T=RegExp("^"+C.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var q=function(t){return!(!w(t)||z(t))&&(k(t)?T:E).test(P(t))};var M=function(t,e){return null==t?void 0:t[e]};var R=function(t,e){var r=M(t,e);return q(r)?r:void 0},I=R(Object,"create");var U=function(){this.__data__=I?I(null):{},this.size=0};var L=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},N=Object.prototype.hasOwnProperty;var D=function(t){var e=this.__data__;if(I){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return N.call(e,t)?e[t]:void 0},G=Object.prototype.hasOwnProperty;var J=function(t){var e=this.__data__;return I?void 0!==e[t]:G.call(e,t)};var K=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=I&&void 0===e?"__lodash_hash_undefined__":e,this};function B(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}B.prototype.clear=U,B.prototype.delete=L,B.prototype.get=D,B.prototype.has=J,B.prototype.set=K;var H=B;var Q=function(){this.__data__=[],this.size=0};var V=function(t,e){return t===e||t!=t&&e!=e};var W=function(t,e){for(var r=t.length;r--;)if(V(t[r][0],e))return r;return-1},X=Array.prototype.splice;var Y=function(t){var e=this.__data__,r=W(e,t);return!(r<0)&&(r==e.length-1?e.pop():X.call(e,r,1),--this.size,!0)};var Z=function(t){var e=this.__data__,r=W(e,t);return r<0?void 0:e[r][1]};var tt=function(t){return W(this.__data__,t)>-1};var et=function(t,e){var r=this.__data__,n=W(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function rt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}rt.prototype.clear=Q,rt.prototype.delete=Y,rt.prototype.get=Z,rt.prototype.has=tt,rt.prototype.set=et;var nt=rt,ot=R(a,"Map");var at=function(){this.size=0,this.__data__={hash:new H,map:new(ot||nt),string:new H}};var it=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var ct=function(t,e){var r=t.__data__;return it(e)?r["string"==typeof e?"string":"hash"]:r.map};var st=function(t){var e=ct(this,t).delete(t);return this.size-=e?1:0,e};var ut=function(t){return ct(this,t).get(t)};var lt=function(t){return ct(this,t).has(t)};var pt=function(t,e){var r=ct(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function vt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}vt.prototype.clear=at,vt.prototype.delete=st,vt.prototype.get=ut,vt.prototype.has=lt,vt.prototype.set=pt;var ft=vt;function dt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(dt.Cache||ft),r}dt.Cache=ft;var ht=dt;var mt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yt=/\\(\\)?/g,bt=function(t){var e=ht(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(mt,(function(t,r,n,o){e.push(n?o.replace(yt,"$1"):r||t)})),e}));var gt=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},_t=i?i.prototype:void 0,wt=_t?_t.toString:void 0;var jt=function e(r){if("string"==typeof r)return r;if(t(r))return gt(r,e)+"";if(y(r))return wt?wt.call(r):"";var n=r+"";return"0"==n&&1/r==-Infinity?"-0":n};var kt=function(t){return null==t?"":jt(t)};var Ot=function(e,r){return t(e)?e:_(e,r)?[e]:bt(kt(e))};var xt=function(t){if("string"==typeof t||y(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var zt=function(t,e){for(var r=0,n=(e=Ot(e,t)).length;null!=t&&r<n;)t=t[xt(e[r++])];return r&&r==n?t:void 0};var St=function(t,e,r){var n=null==t?void 0:zt(t,e);return void 0===n?r:n};var Pt,Et,$t=r(233);$t.isMobile=function(t){return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)}(Et=(Pt=window.navigator).userAgent||Pt.vendor||window.opera)||function(t){return/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t.substr(0,4))}(Et);var At=$t,Ct="namespace";function Ft(t,e){var r=function(t){var e=St(At,"".concat(t,".").concat(Ct));if(null!=e)return[St(At,"global.".concat(Ct)),e].join(".")}(t);if(null!=r)return null!=e&&(r=[r,e].join(".")),St(window,r)}var Tt=St(At,"import"),qt=Tt.styles,Mt=Tt.scripts,Rt=Tt.polyfills;!function(t){if(null!=t){"Promise"in window&&"assign"in Object&&"keys"in Object&&"fetch"in window&&"URLSearchParams"in window||Mt.unshift(Rt);var e=At.isMobile?"mobile":"general";qt.push("style-".concat(e,".min.css"));for(var r=0;r<qt.length;r+=1){var n=document.createElement("link");n.rel="stylesheet",n.href=[t,qt[r]].join("/"),document.head.appendChild(n)}for(var o=0;o<Mt.length;o+=1){var a=document.createElement("script");a.src=[t,Mt[o]].join("/"),a.async=!1,document.body.appendChild(a)}}}(Ft("loader","baseURI"))}(),n}()}));