1 line
18 KiB
JavaScript
1 line
18 KiB
JavaScript
|
var requirejs,require,define;(function(global){var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.2.0",commentRegExp=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,isBrowser=!!(typeof window!=="undefined"&&typeof navigator!=="undefined"&&window.document),isWebWorker=!isBrowser&&typeof importScripts!=="undefined",readyRegExp=isBrowser&&navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera=typeof opera!=="undefined"&&opera.toString()==="[object Opera]",contexts={},cfg={},globalDefQueue=[],useInteractive=false;function commentReplace(A,_,$,B){return B||""}function isFunction($){return ostring.call($)==="[object Function]"}function isArray($){return ostring.call($)==="[object Array]"}function each(_,$){if(_){var A;for(A=0;A<_.length;A+=1)if(_[A]&&$(_[A],A,_))break}}function eachReverse(_,$){if(_){var A;for(A=_.length-1;A>-1;A-=1)if(_[A]&&$(_[A],A,_))break}}function hasProp(_,$){return hasOwn.call(_,$)}function getOwn(_,$){return hasProp(_,$)&&_[$]}function eachProp(A,_){var $;for($ in A)if(hasProp(A,$))if(_(A[$],$))break}function mixin(_,$,A,B){if($)eachProp($,function(C,$){if(A||!hasProp(_,$))if(B&&typeof C==="object"&&C&&!isArray(C)&&!isFunction(C)&&!(C instanceof RegExp)){if(!_[$])_[$]={};mixin(_[$],C,A,B)}else _[$]=C});return _}function bind($,_){return function(){return _.apply($,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError($){throw $}function getGlobal(_){if(!_)return _;var $=global;each(_.split("."),function(_){$=$[_]});return $}function makeError($,C,B,A){var _=new Error(C+"\nhttp://requirejs.org/docs/errors.html#"+$);_.requireType=$;_.requireModules=A;if(B)_.originalError=B;return _}if(typeof define!=="undefined")return;if(typeof requirejs!=="undefined"){if(isFunction(requirejs))return;cfg=requirejs;requirejs=undefined}if(typeof require!=="undefined"&&!isFunction(require)){cfg=require;require=undefined}function newContext(O){var H,D,b,E,R,M={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},c={},N={},L={},J=[],Q={},Y={},S={},X=1,G=1;function B(_){var A,$;for(A=0;A<_.length;A++){$=_[A];if($==="."){_.splice(A,1);A-=1}else if($==="..")if(A===0||(A===1&&_[2]==="..")||_[A-1]==="..")continue;else if(A>0){_.splice(A-1,2);A-=2}}}function F(K,O,I){var P,E,J,F,D,R,G,$,N,H,_,Q,C=(O&&O.split("/")),L=M.map,A=L&&L["*"];if(K){K=K.split("/");G=K.length-1;if(M.nodeIdCompat&&jsSuffixRegExp.test(K[G]))K[G]=K[G].replace(jsSuffixRegExp,"");if(K[0].charAt(0)==="."&&C){Q=C.slice(0,C.length-1);K=Q.concat(K)}B(K);K=K.join("/")}if(I&&L&&(C||A)){J=K.split("/");$:for(F=J.length;F>0;F-=1){R=J.slice(0,F).join("/");if(C)for(D=C.length;D>0;D-=1){E=getOwn(L,C.slice(0,D).join("/"));if(E){E=getOwn(E,R);if(E){$=E;N=F;break $}}}if(!H&&A&&getOwn(A,R)){H=getOwn(A,R);_=F}}if(!$&&H){$=H;N=_}if($){J.splice(0,N,$);K=J.join("/")}}P=getOwn(M.pkgs,K);return P?P:K}function C($){if(isBrowser)each(scripts(),function(_){if(_.getAttribute("data-requiremodule")===$&&_.getAttribute("data-requirecontext")===b.contextName){_.parentNode.removeChild(_);return true}})}function V($){var _=getOwn(M.paths,$);if(_&&isArray(_)&&_.length>1){_.shift();b.require.undef($);b.makeRequire(null,{skipMap:true})([$]);return true}}function P(A){var _,$=A?A.indexOf("!"):-1;if($>-1){_=A.substring(0,$);A=A.substring($+1,A.length)}return[_,A]}function W(J,$,E,D){var C,I,A,H,K=null,M=$?$.name:null,_=J,B=true,L="";if(!J){B=false;J="_@r"+(X+=1)}H=P(J);K=H[0];J=H[1];if(K){K=F(K,M,D);I=getOwn(Q,K)}if(J)if(K){if(I&&I.normalize)L=I.normalize(J,function($){return F($,M,D)});else L=J.indexOf("!")===-1?F(J,M,D):J}else{L=F(J,M,D);H=P(L);K=H[0];L=H[1];E=true;C=b.nameToUrl(L)}A=K&&!I&&!E?"_unnormalized"+(G+=1):"";return{prefix:K,name:L,parentMap:$,unnormalized:!!A,url:C,originalName:_,isDefine:B,id:(K?K+"!"+L:L)+A}}function Z(_){var $=_.id,A=getOwn(c,$)
|