var window = $global;var cc = window.cc = window.cc || {};var b2 = window.b2 = window.b2 || {};var sp = window.sp = window.sp || {};var dragonBones = window.dragonBones = window.dragonBones || {};var __globalAdapter = window.__globalAdapter = window.__globalAdapter || {};var __cocos_require__ = window.__cocos_require__;var Image = window.Image;var HTMLCanvasElement = window.HTMLCanvasElement;var HTMLImageElement = window.HTMLImageElement;var ImageBitmap = window.ImageBitmap;var document = window.document;var DOMParser = window.DOMParser;var performance = window.performance;var XMLHttpRequest = window.XMLHttpRequest;var WebSocket = window.WebSocket;var __extends = window.__extends;var __assign = window.__assign;var __rest = window.__rest;var __decorate = window.__decorate;var __param = window.__param;var __metadata = window.__metadata;var __awaiter = window.__awaiter;var __generator = window.__generator;var __exportStar = window.__exportStar;var __createBinding = window.__createBinding;var __values = window.__values;var __read = window.__read;var __spread = window.__spread;var __spreadArrays = window.__spreadArrays;var __await = window.__await;var __asyncGenerator = window.__asyncGenerator;var __asyncDelegator = window.__asyncDelegator;var __asyncValues = window.__asyncValues;var __makeTemplateObject = window.__makeTemplateObject;var __importStar = window.__importStar;var __importDefault = window.__importDefault;var __classPrivateFieldGet = window.__classPrivateFieldGet;var __classPrivateFieldSet = window.__classPrivateFieldSet;
"use strict";

import cloud from '@tbmp/mp-cloud-sdk';

require('./ccRequire');
require('./adapter-min.js');
__globalAdapter.init();
require('./cocos/cocos2d-js-min.js');
__globalAdapter.adaptEngine();
require('./src/settings');
// Introduce Cocos Service here
require('./main'); // TODO: move to common

// Adjust devicePixelRatio
cc.view._maxPixelRatio = 4;

// Release Image objects after uploaded gl texture
cc.macro.CLEANUP_IMAGE_CACHE = true;
cloud.init({
  //test、online
  env: 'test'
});
window['cloud'] = cloud;
window.boot();