/* RequireJS 2.1.11 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved. Available via the MIT or new BSD license. see: http://github.com/jrburke/requirejs for details */ var requirejs,require,define; (function(ca){function G(b){return"[object Function]"===M.call(b)}function H(b){return"[object Array]"===M.call(b)}function v(b,c){if(b){var d;for(d=0;dthis.depCount&&!this.defined){if(G(c)){if(this.events.error&&this.map.isDefine||h.onError!==da)try{f=i.execCb(b,c,e,f)}catch(d){a=d}else f=i.execCb(b,c,e,f);this.map.isDefine&&void 0===f&&((e=this.module)?f=e.exports:this.usingExports&& (f=this.exports));if(a)return a.requireMap=this.map,a.requireModules=this.map.isDefine?[this.map.id]:null,a.requireType=this.map.isDefine?"define":"require",w(this.error=a)}else f=c;this.exports=f;if(this.map.isDefine&&!this.ignore&&(p[b]=f,h.onResourceLoad))h.onResourceLoad(i,this.map,this.depMaps);y(b);this.defined=!0}this.defining=!1;this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else this.fetch()}},callPlugin:function(){var a= this.map,b=a.id,d=m(a.prefix);this.depMaps.push(d);r(d,"defined",t(this,function(f){var d,g;g=j(ba,this.map.id);var J=this.map.name,u=this.map.parentMap?this.map.parentMap.name:null,p=i.makeRequire(a.parentMap,{enableBuildCallback:!0});if(this.map.unnormalized){if(f.normalize&&(J=f.normalize(J,function(a){return c(a,u,!0)})||""),f=m(a.prefix+"!"+J,this.map.parentMap),r(f,"defined",t(this,function(a){this.init([],function(){return a},null,{enabled:!0,ignore:!0})})),g=j(k,f.id)){this.depMaps.push(f); if(this.events.error)g.on("error",t(this,function(a){this.emit("error",a)}));g.enable()}}else g?(this.map.url=i.nameToUrl(g),this.load()):(d=t(this,function(a){this.init([],function(){return a},null,{enabled:!0})}),d.error=t(this,function(a){this.inited=!0;this.error=a;a.requireModules=[b];B(k,function(a){0===a.map.id.indexOf(b+"_unnormalized")&&y(a.map.id)});w(a)}),d.fromText=t(this,function(f,c){var g=a.name,J=m(g),k=O;c&&(f=c);k&&(O=!1);q(J);s(l.config,b)&&(l.config[g]=l.config[b]);try{h.exec(f)}catch(j){return w(C("fromtexteval", "fromText eval for "+b+" failed: "+j,j,[b]))}k&&(O=!0);this.depMaps.push(J);i.completeLoad(g);p([g],d)}),f.load(a.name,p,d,l))}));i.enable(d,this);this.pluginMaps[d.id]=d},enable:function(){W[this.map.id]=this;this.enabling=this.enabled=!0;v(this.depMaps,t(this,function(a,b){var c,f;if("string"===typeof a){a=m(a,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap);this.depMaps[b]=a;if(c=j(N,a.id)){this.depExports[b]=c(this);return}this.depCount+=1;r(a,"defined",t(this,function(a){this.defineDep(b, a);this.check()}));this.errback&&r(a,"error",t(this,this.errback))}c=a.id;f=k[c];!s(N,c)&&(f&&!f.enabled)&&i.enable(a,this)}));B(this.pluginMaps,t(this,function(a){var b=j(k,a.id);b&&!b.enabled&&i.enable(a,this)}));this.enabling=!1;this.check()},on:function(a,b){var c=this.events[a];c||(c=this.events[a]=[]);c.push(b)},emit:function(a,b){v(this.events[a],function(a){a(b)});"error"===a&&delete this.events[a]}};i={config:l,contextName:b,registry:k,defined:p,urlFetched:T,defQueue:A,Module:$,makeModuleMap:m, nextTick:h.nextTick,onError:w,configure:function(a){a.baseUrl&&"/"!==a.baseUrl.charAt(a.baseUrl.length-1)&&(a.baseUrl+="/");var b=l.shim,c={paths:!0,bundles:!0,config:!0,map:!0};B(a,function(a,b){c[b]?(l[b]||(l[b]={}),V(l[b],a,!0,!0)):l[b]=a});a.bundles&&B(a.bundles,function(a,b){v(a,function(a){a!==b&&(ba[a]=b)})});a.shim&&(B(a.shim,function(a,c){H(a)&&(a={deps:a});if((a.exports||a.init)&&!a.exportsFn)a.exportsFn=i.makeShimExports(a);b[c]=a}),l.shim=b);a.packages&&v(a.packages,function(a){var b, a="string"===typeof a?{name:a}:a;b=a.name;a.location&&(l.paths[b]=a.location);l.pkgs[b]=a.name+"/"+(a.main||"main").replace(ja,"").replace(R,"")});B(k,function(a,b){!a.inited&&!a.map.unnormalized&&(a.map=m(b))});if(a.deps||a.callback)i.require(a.deps||[],a.callback)},makeShimExports:function(a){return function(){var b;a.init&&(b=a.init.apply(ca,arguments));return b||a.exports&&ea(a.exports)}},makeRequire:function(a,e){function g(f,c,d){var j,l;e.enableBuildCallback&&(c&&G(c))&&(c.__requireJsBuild= !0);if("string"===typeof f){if(G(c))return w(C("requireargs","Invalid require call"),d);if(a&&s(N,f))return N[f](k[a.id]);if(h.get)return h.get(i,f,a,g);j=m(f,a,!1,!0);j=j.id;return!s(p,j)?w(C("notloaded",'Module name "'+j+'" has not been loaded yet for context: '+b+(a?"":". Use require([])"))):p[j]}L();i.nextTick(function(){L();l=q(m(null,a));l.skipMap=e.skipMap;l.init(f,c,d,{enabled:!0});D()});return g}e=e||{};V(g,{isBrowser:z,toUrl:function(b){var e,d=b.lastIndexOf("."),g=b.split("/")[0];if(-1!== d&&(!("."===g||".."===g)||1g.attachEvent.toString().indexOf("[native code"))&&!Z?(O=!0,g.attachEvent("onreadystatechange",b.onScriptLoad)): (g.addEventListener("load",b.onScriptLoad,!1),g.addEventListener("error",b.onScriptError,!1)),g.src=d,L=g,D?y.insertBefore(g,D):y.appendChild(g),L=null,g;if(fa)try{importScripts(d),b.completeLoad(c)}catch(j){b.onError(C("importscripts","importScripts failed for "+c+" at "+d,j,[c]))}};z&&!r.skipDataMain&&U(document.getElementsByTagName("script"),function(b){y||(y=b.parentNode);if(K=b.getAttribute("data-main"))return q=K,r.baseUrl||(E=q.split("/"),q=E.pop(),Q=E.length?E.join("/")+"/":"./",r.baseUrl= Q),q=q.replace(R,""),h.jsExtRegExp.test(q)&&(q=K),r.deps=r.deps?r.deps.concat(q):[q],!0});define=function(b,c,d){var g,h;"string"!==typeof b&&(d=c,c=b,b=null);H(c)||(d=c,c=null);!c&&G(d)&&(c=[],d.length&&(d.toString().replace(la,"").replace(ma,function(b,d){c.push(d)}),c=(1===d.length?["require"]:["require","exports","module"]).concat(c)));if(O){if(!(g=L))P&&"interactive"===P.readyState||U(document.getElementsByTagName("script"),function(b){if("interactive"===b.readyState)return P=b}),g=P;g&&(b|| (b=g.getAttribute("data-requiremodule")),h=F[g.getAttribute("data-requirecontext")])}(h?h.defQueue:S).push([b,c,d])};define.amd={jQuery:!0};h.exec=function(b){return eval(b)};h(r)}})(this);if(window.sysinfo.family == "v"){try{if(window.console&&window.console.log){console.log("\x25\x63\u6b22\u8fce\u4f7f\u7528\u5fae\u64ce\u516c\u4f17\u5e73\u53f0\u7ba1\u7406\u7cfb\u7edf\x20\x5e\x5f\x5e\x20\uff1a","\x68\x65\x69\x67\x68\x74\x3a\x32\x35\x70\x78\x3b\x20\x6c\x69\x6e\x65\x2d\x68\x65\x69\x67\x68\x74\x3a\x32\x35\x70\x78\x3b");console.log("\x25\x63\x31\uff0c\u4e00\u6b3e\u514d\u8d39\u5f00\u6e90\u7684\u516c\u4f17\u5e73\u53f0\u7ba1\u7406\u7cfb\u7edf\n\x32\uff0c\u57fa\u4e8e\u76ee\u524d\u6700\u6d41\u884c\u7684\x57\x45\x42\x32\x2e\x30\u7684\u67b6\u6784\uff08\x70\x68\x70\x2b\x6d\x79\x73\x71\x6c\uff09\n\x33\uff0c\u6e90\u7801\u900f\u660e\u3001\u5f00\u653e\uff0c\u4fdd\u8bc1\u72ec\u7acb\u6027\u3001\u5b89\u5168\u6027\u53ca\u53ef\u63a7\u6027\n\x34\uff0c\u62e5\u6709\u8d85\u5f3a\u7684\u6269\u5c55\u6027\u80fd\u548c\u6d3b\u8dc3\u7684\u7b2c\u4e09\u65b9\u5f00\u53d1\u8005\n\x35\uff0c\u826f\u597d\u7684\u5f00\u53d1\u6846\u67b6\u3001\u6587\u6863\uff0c\u8f7b\u677e\u6269\u5c55\u3001\u5b9a\u5236\u79c1\u6709\u529f\u80fd\n","\x63\x6f\x6c\x6f\x72\x3a\x67\x72\x65\x65\x6e\x3b\x6c\x69\x6e\x65\x2d\x68\x65\x69\x67\x68\x74\x3a\x32\x35\x70\x78\x3b");console.log("\x25\x63\u5fae\u64ce\u5b98\u65b9\u7f51\u7ad9\uff1a\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\x77\x2e\x77\x65\x37\x2e\x63\x63","\x63\x6f\x6c\x6f\x72\x3a\x72\x65\x64");console.log("\x25\x63\u5fae\u64ce\u5b98\u65b9\u8bba\u575b\uff1a\x68\x74\x74\x70\x3a\x2f\x2f\x62\x62\x73\x2e\x77\x65\x37\x2e\x63\x63","\x63\x6f\x6c\x6f\x72\x3a\x62\x6c\x75\x65")}}catch(e){}; } var requireConfig = { baseUrl: 'resource/js/app', paths: { 'datetimepicker': '../../components/datetimepicker/jquery.datetimepicker', 'daterangepicker': '../../components/daterangepicker/daterangepicker', 'colorpicker': '../../components/colorpicker/spectrum', 'map': 'https://api.map.baidu.com/getscript?v=2.0&ak=F51571495f717ff1194de02366bb8da9&services=&t=20140530104353', 'qqmap': 'https://map.qq.com/api/js?v=2.exp', 'webuploader' : '../../components/webuploader/webuploader.min', 'fileUploader' : '../../components/fileuploader/fileuploader.min', 'clockpicker': '../../components/clockpicker/clockpicker.min', 'district' : '../lib/district', 'moment': '../lib/moment', 'emoji' : '../../components/emoji/emoji', 'fontawesome' : '../../components/fontawesome/fontawesome', 'material' : '../../components/fileuploader/fileuploader.min', 'trade' : '../../components/trade/trade', 'hammer' : '../lib/hammer.min', 'bootstrap.switch': '../../components/switch/bootstrap-switch.min', 'filestyle': '../lib/bootstrap-filestyle.min', 'validator': '../lib/bootstrapValidator.min', 'jquery.ui': '../lib/jquery-ui-1.10.3.min', 'jquery.caret': '../lib/jquery.caret', 'jquery.jplayer': '../../components/jplayer/jquery.jplayer.min', 'jquery.zclip': '../../components/zclip/jquery.zclip.min', 'jquery.wookmark': '../lib/jquery.wookmark.min', 'jquery.qrcode': '../lib/jquery.qrcode.min', 'underscore': '../lib/underscore-min', 'biz': '../lib/biz', 'swiper' : '../../components/swiper/swiper.min', 'echarts': '../lib/echarts.min', // 滚动条 'slimscroll': '../lib/jquery.slimscroll.min', //兼容 'util' : '../app/util', 'ueditor': '../../components/ueditor/ueditor.all.min', 'angular': '../lib/angular.min', 'angular.sanitize': '../lib/angular-sanitize.min', 'angular.hotkeys': '../lib/angular.hotkeys', 'loadcss': '../lib/loadcss.min', //加载CSS 'css': '../lib/css.min', //加载CSS /*复制组件(部分浏览器不兼容flash)*/ 'clipboard' : '../lib/clipboard.min', /*单选多选组件 待完善*/ 'we7.check' : '../lib/we7.check', 'loadjs': '../lib/loadjs', //加载CSS 'jszip' : '//cdn.bootcss.com/jszip/3.1.5/jszip', 'fileSaver' : '//cdn.bootcss.com/FileSaver.js/2014-11-29/FileSaver' }, shim:{ 'ueditor': { deps: ['./resource/components/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js', './resource/components/ueditor/ueditor.config.js'], exports: 'UE', init:function(ZeroClipboard){ //导出到全局变量,供ueditor使用 window.ZeroClipboard = ZeroClipboard; } }, 'util' : { exports: 'util', }, 'daterangepicker': { deps: ['moment', 'loadcss!../../components/daterangepicker/daterangepicker.css'] }, 'datetimepicker' : { deps: ['loadcss!../../components/datetimepicker/jquery.datetimepicker.css'] }, 'colorpicker': { deps: ['loadcss!../../components/colorpicker/spectrum.css'] }, 'map': { exports: 'BMap' }, 'jquery.wookmark': { exports: "$", }, 'jquery.ui': { exports: "$", }, 'jquery.caret': { exports: "$", }, 'bootstrap': { exports: "$", }, 'bootstrap.switch': { deps: ['loadcss!../../components/switch/bootstrap-switch.min.css'], exports: "$", }, // 'fileUploader': { // deps: ['webuploader', 'jquery.jplayer', 'loadcss!../../components/webuploader/webuploader.css', 'loadcss!../../components/webuploader/style.css'] // }, 'clockpicker': { exports: '$', deps: ['loadcss!../../components/clockpicker/clockpicker.min.css'] }, 'district' : { exports : '$' }, 'jquery.toast': { deps: ['loadcss!../../components/toast/toastr.min.css'] }, 'emoji': { deps: ['loadcss!../../components/emoji/emotions.css'] }, 'fontawesome': { deps: ['loadcss!../../components/fontawesome/style.css'] }, 'angular': { exports: 'angular', deps: ['jquery'] }, 'angular.sanitize': { exports: 'angular', deps: ['angular'] }, 'angular.hotkeys': { exports: "angular", deps: ['angular'] }, 'chart': { exports: 'Chart' }, 'swiper': { deps: ['loadcss!../../components/swiper/swiper.min.css'], }, } }; if (!jQuery.fn.modal) { requireConfig['paths']['bootstrap'] = '../lib/bootstrap.min'; } else { define('bootstrap', [], function() {if (typeof jQuery.fn.modal == 'undefined') {var $ = require(['../lib/bootstrap.min']);return jQuery;}return jQuery;}); } require.config(requireConfig); define('jquery', [], function() { return jQuery; });